[Olsr-users] DLEP_router: tinkering with ack_timeout
Henning Rogge
(spam-protected)
Wed Mar 16 13:01:20 CET 2016
Hi,
could you put a breakpoint at the following two places to track the
codepath (gdb backtrack) which triggers the terminate signal?
dlep_session.c, line 229
dlep_session.c, line 808
Henning
On Wed, Mar 16, 2016 at 11:51 AM, s-mtafel <(spam-protected)> wrote:
> 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
More information about the Olsr-users
mailing list