[OLSR-users] Problem about Secure plug-in

ken (spam-protected)
Sun Apr 10 20:43:19 CEST 2005


I run olsr between 2 nodes( 10.0.0.1 and 10.0.0.2) with secure plug-in

I also use 128-bit file as shared key,

when I run olsrd, they seem cannot recognize to each other.
Can anyone tell me how to fix it?
The debug message in 10.0.0.1 is shown below:

---------- Plugin loader ----------
Library: olsrd_secure.so.0.5
OLSRD signature plugin 0.5 by Andreas T?nnesen
[ENC]Accepted parameter pairs: ("Keyfile" <FILENAME>)
Checking plugin interface version.... 2 - OK
Trying to fetch register function....OK
Trying to fetch plugin IO function....OK
Trying to fetch param function....OK
Sending parameters...
"Keyfile"/"/home/ken/FYP/protocol/olsrd-current/lib/secure/olsrd.key.md5".... OKRunning registration function...
Timestamp database initialized
[ENC]Reading key from file
"/home/ken/FYP/protocol/olsrd-current/lib/secure/olsrd.key.md5"
[ENC]Hijacking wlan0 socket 4
Removing OLSR socket entry 4
Adding OLSR socket entry 4
Scheduler event registered int: 2.00
---------- LIBRARY LOADED ----------
 
Main address: 10.0.0.1
 
Scheduler started - polling every 0.05 seconds
Max jitter is 0.500000
 
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154875
[ENC] Message signed
[ENC]Checking packet for challenge response message...
[ENC]No match for 10.0.0.2
[ENC]Building CHALLENGE message
[ENC]Size: 36
[ENC]Sending timestamp request to 10.0.0.2 challenge 0xfde24bc9
[ENC]Adding signature for packet size 40
[ENC]timestamp: 1113154875
[ENC] Message signed
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154877
[ENC] Message signed
[ENC]Checking packet for challenge response message...
[ENC]Challenge message received
[ENC]To: 10.0.0.1
[ENC]Match for 10.0.0.2
[ENC]Challenge from registered node...dropping!
[ENC]Match for 10.0.0.2
[ENC]Message from non-validated host!
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Checking packet for challenge response message...
[ENC]Match for 10.0.0.2
[ENC]Message from non-validated host!
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154879
[ENC] Message signed
[ENC]Checking packet for challenge response message...
[ENC]Match for 10.0.0.2
[ENC]Message from non-validated host!
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Checking packet for challenge response message...
[ENC]Match for 10.0.0.2
[ENC]Message from non-validated host!
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]timestamp info for 10.0.0.2 timed out.. deleting it
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154881
[ENC] Message signed
[ENC]Checking packet for challenge response message...
[ENC]No match for 10.0.0.2
[ENC]Building CHALLENGE message
[ENC]Size: 36
[ENC]Sending timestamp request to 10.0.0.2 challenge 0x3ef7118f
[ENC]Adding signature for packet size 40
[ENC]timestamp: 1113154883
[ENC] Message signed
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154884
[ENC] Message signed
[ENC]Checking packet for challenge response message...
[ENC]Match for 10.0.0.2
[ENC]Message from non-validated host!
[ENC]Timestamp missmatch in packet from 10.0.0.2!
[ENC]Rejecting packet from 10.0.0.2
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154885
[ENC] Message signed
[ENC]Adding signature for packet size 20
[ENC]timestamp: 1113154888
[ENC] Message signed





More information about the Olsr-users mailing list