Captive Portal seems broken



  • hi there,
    i just upgraded my pfsense 1.2.3 to 2.0-beta2. The function is so cool but i must say there seems some problems in the Captive Portal. The problem would cause webAdmin started faild. It told me that no function named filter_load_ipfw() found in /etc/inc/captiveportal.inc (maybe the names are not exactly correct) . This function is defined in filter.inc so I must add require_once("filter.inc") into /etc/inc/captiveportal.inc .I hope you can fix this problem soon ;)

    BTW:There is another problem in my system. While I edit a user which added into system in 1.2.3, a warnning will shown.

    
    Warning: chown(): Unable to find uid for *** in /etc/inc/auth.inc on line 315 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/auth.inc:315) in /etc/inc/functions.inc on line 69 
    
    


  • I committed the first thank you.

    Can you show please the user part on config.xml of 1.2.3 that seems to not have upgrade correctly?
    If possible include all the part.



  • hi,
    i can give you the file of course ;)
    but I have to remove all passwords and usernames

    <system><optimization>normal</optimization>
      <hostname>pfsense</hostname>
      <domain>whitebear.lan</domain>
      <timezone>Asia/Shanghai</timezone>
      <timeupdateinterval><timeservers>0.pfsense.pool.ntp.org</timeservers>
    <webgui><protocol>http</protocol>
      <port><auth_method>session</auth_method>
      <backing_method>htpasswd</backing_method></port></webgui>
      <disablenatreflection>yes</disablenatreflection>
      <dnsserver>8.8.8.8</dnsserver>
      <dnsserver>4.4.4.4</dnsserver>
    <firmware><alturl><enable><firmwareurl>http://snapshots.pfsense.org/FreeBSD_RELENG_8_1/i386/pfSense_HEAD/.updaters</firmwareurl></enable></alturl></firmware>
    <group><name>admins</name>
      <description>System Administrators</description>
      <scope>user</scope>
      <home>index.php</home>
      <gid>2000</gid>
      <member>0</member></group>
    <group><name>all</name>
      <description>All Users</description>
      <scope>system</scope>
      <gid>1998</gid>
      <member>0</member></group>
    <user><name>admin</name>
      <fullname>System Administrator</fullname>
      <scope>system</scope>
      <password></password>
      <uid>0</uid>
      <priv>usershellaccess</priv>
      <md5hash>
    </md5hash>
      <nthash></nthash>
      <expires><authorizedkeys></authorizedkeys></expires></user>
    <user><name>
    </name>
      <fullname></fullname>
      <scope>user</scope>
      <expires><md5hash>
    </md5hash>
      <authorizedkeys></authorizedkeys></expires></user>
    <user><name></name>
      <fullname>
    </fullname>
      <scope>user</scope>
      <expires><md5hash></md5hash></expires></user>
    <user><name>
    </name>
      <fullname></fullname>
      <scope>user</scope>
      <expires><md5hash>
    </md5hash></expires></user>
    <user><name>test</name>
      <fullname>test</fullname>
      <scope>user</scope>
      <expires><md5hash></md5hash></expires></user>
    <user><name>
    </name>
      <fullname></fullname>
      <scope>user</scope>
      <expires><md5hash>
    </md5hash></expires></user>
    <user><scope>user</scope>
      <password></password>
      <md5hash>
    </md5hash>
      <nthash>***</nthash>
      <name>bear</name>
      <fullname>Whitebear</fullname>
      <expires><authorizedkeys><uid>2000</uid></authorizedkeys></expires></user>
      <nextuid>2001</nextuid>
      <nextgid>2001</nextgid>
      <enablesshd></enablesshd></timeupdateinterval></system>


Locked