Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Captive Portal» Include XML code in HTTP request for WISPr compliance
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Include XML code in HTTP request for WISPr compliance  (Read 1566 times)
0 Members and 1 Guest are viewing this topic.
guus77
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: July 20, 2012, 02:58:08 am »

Hi all,
I'm realizing an hot spot with captive portal + radius and, in order to allow access to roaming partners, I need to include the following XML code

<?xml version="1.0" encoding="utf-8"?>
<WISPAccessGatewayParam
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://login.linkem.com/smaccd/gis/WISPAccessGatewayParam.xsd">

  <Redirect>
    <AccessProcedure>1.0</AccessProcedure>
    <AccessLocation>SomeLocationId</AccessLocation>
    <LocationName>SomeLocationName</LocationName>
    <LoginURL>https://login................</LoginURL>
    <AbortLoginURL>https://login.l.....................</AbortLoginURL>
    <MessageType>100</MessageType>
    <ResponseCode>0</ResponseCode>
  </Redirect>
</WISPAccessGatewayParam>


in HTTP request.
Roaming partner client (having stored the right credentials) has to bypass the login page and access Internet but without including XML code this operation is not possible.
How can I do?

Thanx in advance for your support
Logged
ermal
Administrator
Hero Member
*****
Offline Offline

Posts: 3097


View Profile
« Reply #1 on: July 20, 2012, 10:00:11 am »

This means adding a new feature to CP.
For this you have to look at the code of CP depending on the version you are doing this.
Logged
Lee Sharp
Jr. Member
**
Offline Offline

Posts: 51


View Profile
« Reply #2 on: July 23, 2012, 11:18:52 am »

It was a few years back, but Jonathan and I spent a BUNCH of time making the m0n0wall implementation of CP wispr compliant.  And to my knowledge, no one broke anything in the series of ports since. Smiley  (Of course, they could have changed wispr a bit since then.)  Now some of the features are passed by the html of your login page...  How are you doing yours and what is failing?
Logged
guus77
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #3 on: July 25, 2012, 10:09:05 am »

Thanx for your reply.
Sincerely I don't have idea about to solve my problem.
The scenario is:
- user (roaming partner of the company that offers wireless services) launch a client on his pc. This client has stored the right credentials and bypass the login page of pfsense captive portal offering direct access to Internet
- In order to work is necessary that the config xml file that I've posted is sent during the POST

Some ideas?
Logged
ermal
Administrator
Hero Member
*****
Offline Offline

Posts: 3097


View Profile
« Reply #4 on: July 25, 2012, 12:31:10 pm »

guus77 the only way is to extend CP to handle this.
Only development will make that work.

Logged
guus77
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #5 on: July 26, 2012, 09:10:06 am »

Thanx for your help.
Do you have any idea about how I can modify the source code?
Logged
dhatz
Hero Member
*****
Online Online

Posts: 931


View Profile
« Reply #6 on: July 26, 2012, 12:18:01 pm »

Do you have any idea about how I can modify the source code?

guus, with all due respect, if you have to ask this, then you should consider subcontracting this feature to the pfSense core developers, who are intimately familiar with the CP code. Especially if you want to use this feature in a production setup, not just for testing.
Logged
Lee Sharp
Jr. Member
**
Offline Offline

Posts: 51


View Profile
« Reply #7 on: July 30, 2012, 12:57:13 am »

I would need to see some other working code, but you might be able to put that in your login page html and still have it work.  Ping me directly if I loose track of this again. Smiley
Logged
guus77
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #8 on: August 06, 2012, 02:53:43 am »

You are saying that there is a chance to obtain this wispr compliance without asking help to pfsense developers? If yes do you have a suggest for me?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.032 seconds with 20 queries.