[Olsr-users] DLEP_router: tinkering with ack_timeout

s-mtafel (spam-protected)
Wed Mar 16 11:51:14 CET 2016


 
Hello Henning,

sorry for interrupting again. 

> It is normally initialized to twice the local Heartbeat Interval.

Yes, it actually is. That is confusing. Altough of the setting, the
dlep_router reports having a hello interval of 1 sec according trace and
shuts down very rapidly after sending its init. The termination is even
in the same segment as the init-msg. Look the traces and my conf. Have
you changed anything recently? 

--- 
11:44:58.112 INFO(dlep_router) src-plugins/generic/dlep/dlep_session.c
185: Add session on eth0
11:44:58.112 DEBUG(dlep_router)
src-plugins/generic/dlep/router/dlep_router_interface.c 184: Add session
eth0
11:44:58.113 DEBUG(dlep_router)
src-plugins/generic/dlep/router/dlep_router_interface.c 229: Connect
directly to [198.18.10.100]:2001
11:44:58.113 DEBUG(dlep_router)
src-plugins/generic/dlep/router/dlep_router_session.c 152: Connect DLEP
session from 198.18.10.1:0 to 198.18.10.100:2001
11:44:58.113 INFO(dlep_router) src-plugins/generic/dlep/dlep_session.c
185: Add session on eth0
11:44:58.113 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
554: Generate signal 3 for - on eth0 (198.18.10.100:2001)
11:44:58.113 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
578: Add tlvs for router extension -2
11:44:58.113 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
590: generated 18 bytes
11:44:58.113 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_writer.c
145: Finished signal 3:
0000: 0003000e 00060004 01000101 00050002 0001 ..................

->>> 11:44:58.113 DEBUG(DLEP_ROUTER)
SRC-PLUGINS/GENERIC/DLEP/ROUTER/DLEP_ROUTER_SESSION.C 281: SEND BUFFER
18 BYTES
11:44:58.113 DEBUG(dlep_router)
src-plugins/generic/dlep/ext_base_proto/proto_router.c 195: Initialize
base router session
11:44:58.113 DEBUG(dlep_router)
src-plugins/generic/dlep/ext_base_proto/proto_router.c 204: Activate
discovery with interval 15000
->>> 11:45:00.211 DEBUG(DLEP_ROUTER)
SRC-PLUGINS/GENERIC/DLEP/DLEP_SESSION.C 554: GENERATE SIGNAL 7 FOR - ON
ETH0 (198.18.10.100:2001)
11:45:00.211 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
590: generated 4 bytes
11:45:00.211 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_writer.c
145: Finished signal 7:
0000: 00070000 ....

11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
302: Process TCP buffer of 79 bytes
11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
349: Processing buffer of 79 bytes
11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
352: Processing message at offset 0
11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
421: Process signal 4 from 198.18.10.100:2001 (79 bytes)
0000: 00040042 00050002 0014000c 00080000 00000000 0000000d 00080000
00000000 ...B............................
0020: 0000000e 00080000 00000000 0000000f 00080000 00000000 00000010
00080000 ................................
0040: 00000000 0000 ......

11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
426: Signal should have been 8, drop session
11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
309: Processed -1 bytes
11:45:04.612 DEBUG(dlep_router)
src-plugins/generic/dlep/router/dlep_router_session.c 234: Lost tcp
session to 198.18.10.100:2001
11:45:04.612 DEBUG(dlep_router)
src-plugins/generic/dlep/ext_base_proto/proto.c 466: Cleanup base
session
11:45:04.612 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
203: Remove session if eth0 to 198.18.10.100:2001
11:45:13.210 DEBUG(dlep_router)
src-plugins/generic/dlep/ext_base_proto/proto_router.c 238: Generate
peer discovery
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
554: Generate signal 1 for - on eth0 ("Unknown socket type: 0")
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
578: Add tlvs for router extension -2
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
590: generated 4 bytes
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_writer.c
145: Finished signal 1:
0000: 00010000 ....

11:45:13.210 DEBUG(dlep_router)
src-plugins/generic/dlep/dlep_interface.c 255: Send multicast 8 bytes
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
554: Generate signal 1 for - on eth0 ("Unknown socket type: 0")
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
578: Add tlvs for router extension -2
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_session.c
590: generated 4 bytes
11:45:13.210 DEBUG(dlep_router) src-plugins/generic/dlep/dlep_writer.c
145: Finished signal 1:
0000: 00010000 .... 

---

CONF: 
[log]
 debug dlep_router 
[olsrv2]
 lan 198.18.1.0/24
[dlep_router=eth0]
 local_heartbeat_interval 20.0
 discovery_interval 15.0
 discovery_port 2001
 connect_to 198.18.10.100
 connect_to_port 2001 
[dlep_router=eth1]
 local_heartbeat_interval 20.0
 discovery_interval 15.0
 discovery_port 2001
 connect_to 198.18.20.100
 connect_to_port 2001 

Matthias 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160316/81d94b31/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rapid_teard.pcapng
Type: application/octet-stream
Size: 5692 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160316/81d94b31/attachment-0001.obj>


More information about the Olsr-users mailing list