[isf-wifidog] WiFiDog Crashing sometimes

Philippe April isf_lists at philippeapril.com
Jeu 14 Avr 15:01:02 EDT 2005


It crashed at Tribune, I restarted it and it crashed again right after.
I suppose someone made it crash (could be spyware making weird requests,
etc. bleh).

I had it in a 'screen' session, here's what the last lines look like:

[7][Thu Apr 14 15:36:50 2005](centralserver.c:241) Level 1: Resolving auth server [auth.ilesansfil.org] succeeded = [216.239.84.205]
[7][Thu Apr 14 15:36:50 2005](centralserver.c:266) Level 1: Connecting to auth server auth.ilesansfil.org:80
[7][Thu Apr 14 15:36:50 2005](centralserver.c:292) Level 1: Successfully connected to auth server auth.ilesansfil.org:80
[7][Thu Apr 14 15:36:50 2005](centralserver.c:132) Unlocking config
[7][Thu Apr 14 15:36:50 2005](centralserver.c:132) Config unlocked
[7][Thu Apr 14 15:36:50 2005](centralserver.c:139) Connected to auth server
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:165) HTTP Request to Server: [GET /ping/?gw_id=14&sys_uptime=74427&sys_memfree=1964&sys_load=0.11&wifidog_uptime=61 HTTP/1.0
User-Agent: WiFiDog 1.1.0_v2_2
Host: auth.ilesansfil.org

]
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:169) Reading response
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:198) Read 289 bytes, total now 289
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:216) Done reading reply, total 289 bytes
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:220) HTTP Response from Server: [HTTP/1.1 200 OK
Date: Thu, 14 Apr 2005 15:37:14 GMT
Server: Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.2.101mdk) mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/5.0.2
X-Powered-By: PHP/5.0.2
Content-Length: 6
Connection: close
Content-Type: text/html
X-Pad: avoid browser bug



Pong]
[7][Thu Apr 14 15:36:50 2005](ping_thread.c:227) Auth Server Says: Pong
[6][Thu Apr 14 15:37:07 2005](gateway.c:274) Received connection from 192.168.8.203, spawning worker thread
[7][Thu Apr 14 15:37:07 2005](httpd_thread.c:65) Processing request from 192.168.8.203
[7][Thu Apr 14 15:37:07 2005](httpd_thread.c:66) Calling httpdProcessRequest() for 192.168.8.203
[6][Thu Apr 14 15:37:07 2005](http.c:127) Captured 192.168.8.203 requesting [http%3A//kebawe.com/olivier/psssstutil/histopsssst.pl] and re-directed them to login page
[7][Thu Apr 14 15:37:07 2005](httpd_thread.c:68) Returned from httpdProcessRequest() for 192.168.8.203
[7][Thu Apr 14 15:37:07 2005](httpd_thread.c:73) Closing connection with 192.168.8.203
[6][Thu Apr 14 15:37:10 2005](gateway.c:274) Received connection from 192.168.8.203, spawning worker thread
[7][Thu Apr 14 15:37:10 2005](httpd_thread.c:65) Processing request from 192.168.8.203
[7][Thu Apr 14 15:37:10 2005](httpd_thread.c:66) Calling httpdProcessRequest() for 192.168.8.203
[7][Thu Apr 14 15:37:10 2005](http.c:181) Locking client list
[7][Thu Apr 14 15:37:10 2005](http.c:181) Client list locked
[7][Thu Apr 14 15:37:10 2005](http.c:184) New client for 192.168.8.203
[6][Thu Apr 14 15:37:10 2005](client_list.c:108) Added a new client to linked list: IP: 192.168.8.203 Token: 5f96bd868dc02331e135824f0bd754be
[7][Thu Apr 14 15:37:10 2005](http.c:190) Unlocking client list
[7][Thu Apr 14 15:37:10 2005](http.c:190) Client list unlocked
[7][Thu Apr 14 15:37:10 2005](auth.c:102) Locking client list
[7][Thu Apr 14 15:37:10 2005](auth.c:102) Client list locked
[7][Thu Apr 14 15:37:10 2005](auth.c:115) Unlocking client list
[7][Thu Apr 14 15:37:10 2005](auth.c:115) Client list unlocked
[7][Thu Apr 14 15:37:10 2005](centralserver.c:130) Locking config
[7][Thu Apr 14 15:37:10 2005](centralserver.c:130) Config locked
[7][Thu Apr 14 15:37:10 2005](centralserver.c:172) Level 1: Calculated 3 auth servers in list
[7][Thu Apr 14 15:37:10 2005](centralserver.c:187) Level 1: Resolving auth server [auth.ilesansfil.org]
[7][Thu Apr 14 15:37:10 2005](util.c:120) Locking wd_gethostbyname()
[7][Thu Apr 14 15:37:10 2005](util.c:120) wd_gethostbyname() locked
[7][Thu Apr 14 15:37:10 2005](util.c:135) Unlocking wd_gethostbyname()
[7][Thu Apr 14 15:37:10 2005](util.c:135) wd_gethostbyname() unlocked
[7][Thu Apr 14 15:37:10 2005](centralserver.c:241) Level 1: Resolving auth server [auth.ilesansfil.org] succeeded = [216.239.84.205]
[7][Thu Apr 14 15:37:10 2005](centralserver.c:266) Level 1: Connecting to auth server auth.ilesansfil.org:80
[7][Thu Apr 14 15:37:10 2005](centralserver.c:292) Level 1: Successfully connected to auth server auth.ilesansfil.org:80
[7][Thu Apr 14 15:37:10 2005](centralserver.c:132) Unlocking config
[7][Thu Apr 14 15:37:10 2005](centralserver.c:132) Config unlocked
[7][Thu Apr 14 15:37:10 2005](centralserver.c:139) Connected to auth server
[7][Thu Apr 14 15:37:10 2005](centralserver.c:92) Sending HTTP request to auth server: [GET /auth/?stage=login&ip=192.168.8.203&mac=00:90:96:B4:2B:86&token=5f96bd868dc02331e135824f0bd754be&incoming=0&outgoing=0 HTTP/1.0
User-Agent: WiFiDog 1.1.0_v2_2
Host: auth.ilesansfil.org

]

[7][Thu Apr 14 15:37:11 2005](centralserver.c:107) HTTP Response from Server: [HTTP/1.1 200 OK
Date: Thu, 14 Apr 2005 15:37:35 GMT
Server: Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.2.101mdk) mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/5.0.2
X-Powered-By: PHP/5.0.2
Content-Length: 21
Connection: close
Content-Type: text/html
X-Pad: avoid browser bug



Auth: 1
Messages:
]
[6][Thu Apr 14 15:37:11 2005](centralserver.c:111) Auth server returned authentication code 1
[7][Thu Apr 14 15:37:11 2005](auth.c:119) Locking client list
[7][Thu Apr 14 15:37:11 2005](auth.c:119) Client list locked
[6][Thu Apr 14 15:37:11 2005](auth.c:205) Got ALLOWED from central server authenticating token 5f96bd868dc02331e135824f0bd754be from 192.168.8.203 at 00:90:96:B4:2B:86 - adding to firewall and redirecting them to portal
[7][Thu Apr 14 15:37:11 2005](firewall.c:85) Allowing 192.168.8.203 00:90:96:B4:2B:86 with fw_connection_state 2
[7][Thu Apr 14 15:37:11 2005](fw_iptables.c:79) Executing command: iptables -t mangle -A WiFiDog_Outgoing -s 192.168.8.203 -m mac --mac-source 00:90:96:B4:2B:86 -j MARK --set-mark 2
[7][Thu Apr 14 15:37:11 2005](fw_iptables.c:79) Executing command: iptables -t mangle -A WiFiDog_Incoming -d 192.168.8.203 -j ACCEPT
[7][Thu Apr 14 15:37:11 2005](auth.c:260) Unlocking client list
[7][Thu Apr 14 15:37:11 2005](auth.c:260) Client list unlocked
[7][Thu Apr 14 15:37:11 2005](httpd_thread.c:68) Returned from httpdProcessRequest() for 192.168.8.203
[7][Thu Apr 14 15:37:11 2005](httpd_thread.c:73) Closing connection with 192.168.8.203
[6][Thu Apr 14 15:37:30 2005](gateway.c:274) Received connection from 192.168.8.245, spawning worker thread
[7][Thu Apr 14 15:37:30 2005](httpd_thread.c:65) Processing request from 192.168.8.245
[7][Thu Apr 14 15:37:30 2005](httpd_thread.c:66) Calling httpdProcessRequest() for 192.168.8.245
[6][Thu Apr 14 15:37:30 2005](http.c:127) Captured 192.168.8.245 requesting [http%3A//son.radio-france.fr/chaines/france-culture/dossiers/2005/sartre/repliques020405.rm] and re-directed them to login page
[7][Thu Apr 14 15:37:30 2005](httpd_thread.c:68) Returned from httpdProcessRequest() for 192.168.8.245
[7][Thu Apr 14 15:37:30 2005](httpd_thread.c:73) Closing connection with 192.168.8.245
[7][Thu Apr 14 15:37:49 2005](auth.c:79) Running fw_counter()
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:461) Outgoing 192.168.8.209 Bytes=57559
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:462) Locking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:462) Client list locked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:467) 192.168.8.209 - Updated counter.outgoing to 57559 bytes
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:472) Unlocking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:472) Client list unlocked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:461) Outgoing 192.168.8.203 Bytes=16047
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:462) Locking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:462) Client list locked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:467) 192.168.8.203 - Updated counter.outgoing to 16047 bytes
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:472) Unlocking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:472) Client list unlocked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:499) Incoming 192.168.8.209 Bytes=80414
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:500) Locking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:500) Client list locked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:504) 192.168.8.209 - Updated counter.incoming to 80414 bytes
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:509) Unlocking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:509) Client list unlocked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:499) Incoming 192.168.8.203 Bytes=513722
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:500) Locking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:500) Client list locked
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:504) 192.168.8.203 - Updated counter.incoming to 513722 bytes
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:509) Unlocking client list
[7][Thu Apr 14 15:37:49 2005](fw_iptables.c:509) Client list unlocked
[7][Thu Apr 14 15:37:49 2005](firewall.c:212) Locking client list
[7][Thu Apr 14 15:37:49 2005](firewall.c:212) Client list locked
[7][Thu Apr 14 15:37:49 2005](firewall.c:223) Unlocking client list
[7][Thu Apr 14 15:37:49 2005](firewall.c:223) Client list unlocked
Segmentation fault
root at node14:~#

-- 
Philippe April
GnuPG: http://key.philippeapril.com/


Plus d'informations sur la liste de diffusion WiFiDog