[Nightwing] Consulta sobre logs de nightwing
Diego H.Cancelo
dhcancelo en gmail.com
Jue Sep 17 14:11:44 ART 2009
Buenas..... disculpen que joda con esto (medio largo), pero como estoy
con chiche nuevo y empezando a conocerlo, me van surgiendo algunas
dudas. Ya estuve mirando el script de nightwing y la mayoría de las
cosas, a groso modo, las entiendo; pero he recibido algunos logs sobre
los que quería consultarles.
Ayer se reinicio el equipo y surgió esto:
Les paso las 3 partes en cuestión
1º log. Error al implementar reglas de iptables ¿trae algún problema?.
El resultado de iptables –L creo que es correcto, según las reglas que
ví en el script. Si quieren se les paso esa salida…..
2º log. ¿Es un problema del usuario conectado que no puede
autenticarse mediante wifidog?
3º log. Tengo varios eventos de este tipo sobre la ath1. En ese
momento no pude probar de conectarme a la privada porque no estaba en
casa.
1º log
Jan 1 00:00:44 nodo_nightwing nightwing: The node is a Gateway
Jan 1 00:00:44 nodo_nightwing sysinit: nightwing: The node is a Gateway
Jan 1 00:00:44 nodo_nightwing sysinit: nightwing: Start WiFiDog
captive portal ...
Jan 1 00:00:44 nodo_nightwing nightwing: Start WiFiDog captive portal ...
Jan 1 00:00:45 nodo_nightwing sysinit: Starting Wifidog ...
Jan 1 00:00:45 nodo_nightwing sysinit: Testing for iptables modules
Jan 1 00:00:45 nodo_nightwing sysinit: Testing ipt_mac
Jan 1 00:00:45 nodo_nightwing sysinit: ipt_mac module is working
Jan 1 00:00:45 nodo_nightwing sysinit: Testing ipt_mark
Jan 1 00:00:45 nodo_nightwing sysinit: ipt_mark module is working
Jan 1 00:00:45 nodo_nightwing sysinit: Testing ipt_REDIRECT
Jan 1 00:00:46 nodo_nightwing sysinit: ipt_REDIRECT module is working
Jan 1 00:00:46 nodo_nightwing sysinit: OK
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -F WiFiDog_35496_Trusted
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -F WiFiDog_35496_Outgoing
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -F WiFiDog_35496_Incoming
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -X WiFiDog_35496_Trusted
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -X WiFiDog_35496_Outgoing
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -X WiFiDog_35496_Incoming
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_AuthServers
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_Outgoing
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_WIFI2Router
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_WIFI2Internet
Jan 1 00:00:46 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:46
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_Global
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -F WiFiDog_35496_Unknown
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_AuthServers
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_Outgoing
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_WIFI2Router
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_WIFI2Internet
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_Global
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -X WiFiDog_35496_Unknown
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_WIFI2Internet
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_AuthServers
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_Locked
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_Global
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_Validate
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_Known
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -F WiFiDog_35496_Unknown
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_WIFI2Internet
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_AuthServers
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_Locked
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_Global
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_Validate
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_Known
Jan 1 00:00:47 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:47
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
filter -X WiFiDog_35496_Unknown
Jan 1 00:00:49 nodo_nightwing kernel: ip_tables: REJECT target: only
valid in filter table, not nat
Jan 1 00:00:49 nodo_nightwing sysinit: iptables: Invalid argument
Jan 1 00:00:50 nodo_nightwing sysinit: [3][Thu Jan 1 00:00:50
1970][1073](fw_iptables.c:116) iptables comand failed(1): iptables -t
nat -A WiFiDog_35496_Global -d 10.0.0.0/8 -j REJECT
Jan 1 00:00:56 nodo_nightwing nightwing: WiFiDog captive portal started
Jan 1 00:00:56 nodo_nightwing sysinit: nightwing: WiFiDog captive
portal started
Jan 1 00:00:56 nodo_nightwing sysinit: nightwing: Starting bmxd ...
2º log
Jan 1 01:24:41 nodo_nightwing sysinit: [3][Thu Jan 1 01:24:41
1970][2508](auth.c:150) Got -1 from central server authenticating
token 92f44c1c40697b8644946b55e9882dfa from 10.138.168.124 at
00:21:00:2d:a4:a2
Jan 1 01:25:06 nodo_nightwing sysinit: [4][Thu Jan 1 01:25:06
1970][1246](firewall.c:333) Error communicating with auth server -
leaving 10.138.168.124 as-is for now
Jan 1 01:26:07 nodo_nightwing sysinit: [4][Thu Jan 1 01:26:07
1970][1246](firewall.c:333) Error communicating with auth server -
leaving 10.138.168.124 as-is for now
Jan 1 01:27:08 nodo_nightwing sysinit: [4][Thu Jan 1 01:27:08
1970][1246](firewall.c:333) Error communicating with auth server -
leaving 10.138.168.124 as-is for now
Jan 1 01:27:08 nodo_nightwing sysinit: [3][Thu Jan 1 01:27:08
1970][2534](auth.c:150) Got -1 from central server authenticating
token 92f44c1c40697b8644946b55e9882dfa from 10.138.168.124 at
00:21:00:2d:a4:a2
Jan 1 01:28:03 nodo_nightwing sysinit: [3][Thu Jan 1 01:28:03
1970][2540](auth.c:150) Got -1 from central server authenticating
token 92f44c1c40697b8644946b55e9882dfa from 10.138.168.124 at
00:21:00:2d:a4:a2
Jan 1 01:28:09 nodo_nightwing sysinit: [4][Thu Jan 1 01:28:09
1970][1246](firewall.c:333) Error communicating with auth server -
leaving 10.138.168.124 as-is for now
Jan 1 01:29:10 nodo_nightwing sysinit: [4][Thu Jan 1 01:29:10
1970][1246](firewall.c:333) Error communicating with auth server -
leaving 10.138.168.124 as-is for now
Jan 1 01:30:11 nodo_nightwing sysinit: iptables: No
chain/target/match by that name
Jan 1 01:30:11 nodo_nightwing sysinit: [3][Thu Jan 1 01:30:11
1970][1246](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -D WiFiDog_35496_Outgoing -s 10.138.168.124 -m mac --mac-source
00:21:00:2d:a4:a2 -j MARK --set-mark 0
Jan 1 01:30:11 nodo_nightwing sysinit: iptables: Bad rule (does a
matching rule exist in that chain?)
Jan 1 01:30:11 nodo_nightwing sysinit: [3][Thu Jan 1 01:30:11
1970][1246](fw_iptables.c:116) iptables comand failed(1): iptables -t
mangle -D WiFiDog_35496_Incoming -d 10.138.168.124 -j ACCEPT
3º log
Jan 1 10:49:10 nodo_nightwing hostapd: ath1: STA 00:1d:d9:e2:de:c6
IEEE 802.11: associated
Jan 1 10:54:10 nodo_nightwing hostapd: ath1: STA 00:1d:d9:e2:de:c6
IEEE 802.11: disassociated
Disculpen nuevamente la extensión del mail.
Saludos.
Diego.
Más información sobre la lista de distribución Nightwing