openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

router: close socket upon NETEV_IFINDEX_CHANGE #138

Closed aertsk closed 4 years ago

aertsk commented 4 years ago

Make sure the socket is closed in a case where the bridge goes down as a result of NO-CARRIER on the bridge. If not present Router Discovery and Router Advertisement will break permanently after the bridge went down.

Related to https://github.com/openwrt/odhcpd/issues/135

Signed-off-by: Koen Aerts aertskoen5@gmail.com

aertsk commented 4 years ago

Following Patch can help debugging the issue / verifying the patch: 0001-Debug-Traces.patch.tar.gz

aertsk commented 4 years ago

Patch verified on TP-Link AC1750 to check for potential regression which is not present.

root@OpenWrt:~# ifup lan2
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' is now down
Tue Aug 13 13:44:31 2019 daemon.debug odhcpd[14860]: Netlink newaddr fd34:c595:be3b:10::1 on lan2
Tue Aug 13 13:44:31 2019 daemon.debug odhcpd[14860]: Netlink deladdr 192.168.2.1 on lan2
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.817052] br-lan2: port 1(eth1.3) entered disabled state
Tue Aug 13 13:44:31 2019 daemon.debug odhcpd[14860]: Netlink newneigh fd34:c595:be3b:10:fc:dab5:fc71:56f1 on lan2
Tue Aug 13 13:44:31 2019 daemon.debug odhcpd[14860]: Netlink deladdr fd34:c595:be3b:10::1 on lan2
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.856136] device eth1.3 left promiscuous mode
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.861047] br-lan2: port 1(eth1.3) entered disabled state
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.882026] IPv6: ADDRCONF(NETDEV_UP): eth1.3: link is not ready
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' is disabled
Tue Aug 13 13:44:31 2019 daemon.notice netifd: VLAN 'eth1.3' link is down
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.notice netifd: bridge 'br-lan2' link is down
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' has link connectivity loss
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: ROUTER setsockopt(IPV6_ADD_MEMBERSHIP): No such device
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 5: out: ret=-1
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 6: out: Close Socket
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: setsockopt(SO_BINDTODEVICE): No such device
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_netevent_cb lan2: 1: NETEV_IFINDEX_CHANGE: Close Socket
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 2: if: Open Socket
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 7: out: ret=0
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.990125] br-lan2: port 1(eth1.3) entered blocking state
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031455.995919] br-lan2: port 1(eth1.3) entered disabled state
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031456.001921] device eth1.3 entered promiscuous mode
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031456.058338] br-lan2: port 1(eth1.3) entered blocking state
Tue Aug 13 13:44:31 2019 kern.info kernel: [3031456.064123] br-lan2: port 1(eth1.3) entered forwarding state
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' is enabled
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' is setting up now
Tue Aug 13 13:44:31 2019 daemon.debug odhcpd[14860]: Netlink newaddr 192.168.2.1 on lan2
Tue Aug 13 13:44:31 2019 daemon.info dnsmasq[1709]: read /etc/hosts - 4 addresses
Tue Aug 13 13:44:31 2019 daemon.info dnsmasq[1709]: read /tmp/hosts/odhcpd - 0 addresses
Tue Aug 13 13:44:31 2019 daemon.info dnsmasq[1709]: read /tmp/hosts/dhcp.cfg01411c - 4 addresses
Tue Aug 13 13:44:31 2019 daemon.info dnsmasq-dhcp[1709]: read /etc/ethers - 0 addresses
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' is now up
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.notice netifd: bridge 'br-lan2' link is up
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.notice netifd: Interface 'lan2' has link connectivity
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.notice netifd: VLAN 'eth1.3' link is up
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface wan6: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 3: else: IPV6_DROP_MEMBERSHIP all_nodes, all_routers
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 4: IPV6_ADD_MEMBERSHIP dependent on mode
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface lan2: 7: out: ret=0
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 1: Entry
Tue Aug 13 13:44:31 2019 daemon.err odhcpd[14860]: KAE: router_setup_interface loopback: 7: out: ret=0
root@OpenWrt:~# Tue Aug 13 13:44:32 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 13:44:32 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 13:44:32 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
Tue Aug 13 13:44:32 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:32 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:32 2019 daemon.err odhcpd[14860]: Failed to send to ff02::1%lan2@br-lan2 (Address not available)
Tue Aug 13 13:44:32 2019 daemon.debug odhcpd[14860]: Netlink newaddr fd34:c595:be3b:10::1 on lan2
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[1709]: exiting on receipt of SIGTERM
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: started, version 2.80 cachesize 150
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: DNS service limited to local subnets
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq-dhcp[15093]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq-dhcp[15093]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain test
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain onion
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain localhost
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain local
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain invalid
Tue Aug 13 13:44:33 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:33 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:33 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan2@br-lan2
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain bind
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: using local addresses only for domain lan
Tue Aug 13 13:44:33 2019 daemon.warn dnsmasq[15093]: no servers found in /tmp/resolv.conf.auto, will retry
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: read /etc/hosts - 4 addresses
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: read /tmp/hosts/odhcpd - 0 addresses
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq[15093]: read /tmp/hosts/dhcp.cfg01411c - 4 addresses
Tue Aug 13 13:44:33 2019 daemon.info dnsmasq-dhcp[15093]: read /etc/ethers - 0 addresses
Tue Aug 13 13:44:34 2019 daemon.info dnsmasq[15093]: read /etc/hosts - 4 addresses
Tue Aug 13 13:44:34 2019 daemon.info dnsmasq[15093]: read /tmp/hosts/odhcpd - 0 addresses
Tue Aug 13 13:44:34 2019 daemon.info dnsmasq[15093]: read /tmp/hosts/dhcp.cfg01411c - 4 addresses
Tue Aug 13 13:44:34 2019 daemon.info dnsmasq-dhcp[15093]: read /etc/ethers - 0 addresses
Tue Aug 13 13:44:34 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:34 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:34 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:34 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:35 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:35 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:35 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:35 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:36 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:36 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:36 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:36 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:36 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:36 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:36 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:36 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:38 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:38 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:38 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:38 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:39 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:39 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:39 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:39 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:39 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:39 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:39 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:39 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:40 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:40 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:40 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:40 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:44 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:44 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:44 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:44 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:44 2019 daemon.debug odhcpd[14860]: Received 8 Bytes from fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:44:44 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:44:44 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:44:44 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to fe80::7a2b:cbff:fec7:d4c4%lan2@br-lan2
Tue Aug 13 13:50:38 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:50:38 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:50:38 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan2@br-lan2
Tue Aug 13 13:53:03 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 13:53:03 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 13:53:03 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
Tue Aug 13 13:55:20 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 13:55:20 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 13:55:20 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan2@br-lan2
Tue Aug 13 13:56:36 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 13:56:36 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 13:56:36 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
Tue Aug 13 13:57:06 2019 authpriv.info dropbear[14715]: Exit (root): Keepalive timeout
Tue Aug 13 14:00:56 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 14:00:56 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 14:00:56 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
Tue Aug 13 14:02:48 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 14:02:48 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 14:02:48 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan2@br-lan2
Tue Aug 13 14:08:08 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 14:08:08 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 14:08:08 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
Tue Aug 13 14:10:26 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan2
Tue Aug 13 14:10:26 2019 daemon.notice odhcpd[14860]: Sending a RA on lan2
Tue Aug 13 14:10:26 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan2@br-lan2
Tue Aug 13 14:14:23 2019 daemon.info odhcpd[14860]: Using a RA lifetime of 0 seconds on lan
Tue Aug 13 14:14:23 2019 daemon.notice odhcpd[14860]: Sending a RA on lan
Tue Aug 13 14:14:23 2019 daemon.debug odhcpd[14860]: Sent 120 bytes to ff02::1%lan@br-lan
dedeckeh commented 4 years ago

Patch pushed to master (https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=6034b5c703cdb6f55d2847661fd1415184942ee2); thx