Changes between Initial Version and Version 2 of Ticket #545

Show
Ignore:
Timestamp:
07/05/10 06:38:41 (11 years ago)
Author:
jodoreps
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #545

    • Property version changed from to scc
    • Property severity changed from to sergio
  • Ticket #545 – description

    initial v2  
    1 i have wifidog running on an asus 500gp with kamikaze 8.09 [2.6! broadcom]. yes, i did expect problems with the broadcom wlan as mentioned on openwrt.org but there are non so far. 
    2 the makefile builds wifidog from svn. build process is just fine. 
    3 there is one dependency in the original Makefile which i consider to be obsolete though to iptables-mod-extra which does not exist anymore in 2.6???. 
    4 wifidog is up and running. all iptables rules get applied. 
    5 wifidog catches traffic perfectly. the first redirect is working too. but wifidog does not redirect - even if pretending too - the client to the success page after receiving ALLOW from the auth server. instead it crashes and the whole box restarts. any ideas? 
    6  
    7 log: 
    8 Mar 18 18:36:09 192.168.30.10 wifidog[1077]: Received connection from 10.5.0.176, spawning worker thread 
    9 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Processing request from 10.5.0.176 
    10 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Calling httpdProcessRequest() for 10.5.0.176 
    11 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Locking client list 
    12 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Client list locked 
    13 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: New client for 10.5.0.176 
    14 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Added a new client to linked list: IP: 10.5.0.176 Token: 5590bdfc81b1cf724b84b7e89e0d411a 
    15 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Unlocking client list 
    16 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Client list unlocked 
    17 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Locking client list 
    18 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Client list locked 
    19 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Unlocking client list 
    20 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Client list unlocked 
    21 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Locking config 
    22 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Config locked 
    23 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Level 1: Calculated 1 auth servers in list 
    24 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Level 1: Resolving auth server [wifiauth.bruesselerplatz.de] 
    25 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Locking wd_gethostbyname() 
    26 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: wd_gethostbyname() locked 
    27 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Unlocking wd_gethostbyname() 
    28 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: wd_gethostbyname() unlocked 
    29 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Level 1: Resolving auth server [wifiauth.bruesselerplatz.de] succeeded = [192.168.100.6] 
    30 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Level 1: Connecting to auth server wifiauth.bruesselerplatz.de:80 
    31 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Level 1: Successfully connected to auth server wifiauth.bruesselerplatz.de:80 
    32 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Unlocking config 
    33 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Config unlocked 
    34 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Connected to auth server 
    35 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Sending HTTP request to auth server: [GET /auth/?stage=login&ip=10.5.0.176&mac=00:18:de:a5:8a 
    36 :c1&token=5590bdfc81b1cf724b84b7e89e0d411a&incoming=0&outgoing=0&gw_id=AP-01 HTTP/1.0^M User-Agent: WiFiDog 1.1.5^M Host: wifiaut 
    37 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Reading response 
    38 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Read 246 bytes, total now 246 
    39 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: HTTP Response from Server: [HTTP/1.1 200 OK^M Date: Wed, 18 Mar 2009 17:39:06 GMT^M Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch^M X-Powered-By: PHP/5.2.4-2ubuntu5.4^M Content-Length: 19^M Connection: 
    40 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Auth server returned authentication code 1 
    41 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Locking client list 
    42 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Client list locked 
    43 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Got ALLOWED from central server authenticating token 5590bdfc81b1cf724b84b7e89e0d411a from 10.5.0.176 at 00:18:de:a5:8a:c1 - adding to firewall and redirecting them to portal 
    44 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Allowing 10.5.0.176 00:18:de:a5:8a:c1 with fw_connection_state 2 
    45 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Executing command: iptables -t mangle -A WiFiDog_AP-01_Outgoing -s 10.5.0.176 -m mac --mac-source 00:18:de:a5:8a:c1 -j MARK --set-mark 2 
    46 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Waiting for PID 1311 to exit 
    47 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Handler for SIGCHLD called. Trying to reap a child 
    48 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Handler for SIGCHLD reaped child PID -1 
    49 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Process PID 1311 exited 
    50 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Executing command: iptables -t mangle -A WiFiDog_AP-01_Incoming -d 10.5.0.176 -j ACCEPT 
    51 Mar 18 18:36:09 192.168.30.10 wifidog[1310]: Waiting for PID 1317 to exit 
    52 Mar 18 18:36:10 192.168.30.10 wifidog[1310]: Handler for SIGCHLD called. Trying to reap a child 
    53 Mar 18 18:36:10 192.168.30.10 wifidog[1310]: Handler for SIGCHLD reaped child PID -1 
    54 Mar 18 18:36:10 192.168.30.10 wifidog[1310]: Process PID 1317 exited 
    55 Mar 18 18:36:10 192.168.30.10 wifidog[1310]: Redirecting client browser to http://wifiauth.bruesselerplatz.de:80/portal/?gw_id=AP-01  <-- this is a lie - client does not get redirected. due to lives fairness these are the boxes last words before crashing 
    56 Mar 18 18:36:45 192.168.30.10 wifidog[1076]: Reading configuration file '/etc/wifidog.conf' 
    57 Mar 18 18:36:45 192.168.30.10 wifidog[1076]: Parsing token: GatewayID, value: AP-01 
    58 Mar 18 18:36:45 192.168.30.10 wifidog[1076]: Parsing token: GatewayInterface, value: wlan0 
    59   
     1[http://www.javascr.com free text hosting] 
     2[http://www.pharmacieenfrance.fr Acheter Generique France Sans Ordonnance, Achat Medicaments bon marche sur internet] 
     3[http://www.farmaciaespanola.es Farmacia Espanola , Comprar Genericos En Espana Sin Receta , Compra Medicamentos Por Internet] 
     4[http://med-assistant.info Medical Assistant - Your Assistant Online] 
     5[http://med-assistant.info/FR/ L'Assistant Medical - Ton Assistant en ligne]