{"action":"created","issue":{"url":"https://api.github.com/repos/jech/babeld/issues/14","repository_url":"https://api.github.com/repos/jech/babeld","labels_url":"https://api.github.com/repos/jech/babeld/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jech/babeld/issues/14/comments","events_url":"https://api.github.com/repos/jech/babeld/issues/14/events","html_url":"https://github.com/jech/babeld/issues/14","id":331720217,"node_id":"MDU6SXNzdWUzMzE3MjAyMTc=","number":14,"title":"Installed IPv6 routes are not always added to kernel routing table","user":{"login":"mweinelt","id":131599,"node_id":"MDQ6VXNlcjEzMTU5OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/131599?v=4","gravatar_id":"","url":"https://api.github.com/users/mweinelt","html_url":"https://github.com/mweinelt","followers_url":"https://api.github.com/users/mweinelt/followers","following_url":"https://api.github.com/users/mweinelt/following{/other_user}","gists_url":"https://api.github.com/users/mweinelt/gists{/gist_id}","starred_url":"https://api.github.com/users/mweinelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweinelt/subscriptions","organizations_url":"https://api.github.com/users/mweinelt/orgs","repos_url":"https://api.github.com/users/mweinelt/repos","events_url":"https://api.github.com/users/mweinelt/events{/privacy}","received_events_url":"https://api.github.com/users/mweinelt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-06-12T19:23:12Z","updated_at":"2018-09-16T11:46:49Z","closed_at":null,"author_association":"NONE","body":"I'm currently on babeld 1.8.2 (debian/1.8.1-1-3-gc48aa52) and I'm sometimes missing IPv6 routes in the kernel routing table, which babel tells me are installed.\r\n\r\n```\r\n# echo \"dump\" | timeout 1 nc :: 33123 | grep \"installed yes\"\r\nadd route 560fbc5dae20 prefix 172.23.42.1/32 from 0.0.0.0/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5d7180 prefix 172.23.42.2/32 from 0.0.0.0/0 installed yes id c4:34:36:e4:f6:42:71:a0 metric 96 refmetric 0 via fe80::2 if wg-snafu\r\nadd route 560fbc5dcba0 prefix 172.23.42.8/32 from 0.0.0.0/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5dbd30 prefix 172.23.42.10/32 from 0.0.0.0/0 installed yes id 2a:d2:44:ff:fe:9d:d2:bf metric 116 refmetric 0 via fe80::2 if wg-eris\r\nadd route 560fbc5dcce0 prefix 172.23.42.64/26 from 0.0.0.0/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5dcd80 prefix 172.23.42.128/26 from 0.0.0.0/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5daf90 prefix 172.23.42.226/31 from 0.0.0.0/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5db030 prefix 172.23.42.238/31 from 0.0.0.0/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5db0d0 prefix 172.23.42.240/31 from 0.0.0.0/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5dc880 prefix fd42:23:42:100::/64 from ::/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5dc920 prefix fd42:23:42:110::/64 from ::/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5dad80 prefix fd42:23:42:b100::/56 from ::/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5dc010 prefix fd42:23:42:b200::/56 from ::/0 installed yes id c4:34:36:e4:f6:42:71:a0 metric 96 refmetric 0 via fe80::2 if wg-snafu\r\nadd route 560fbc5dcb40 prefix fd42:23:42:b800::/56 from ::/0 installed yes id 02:0d:b9:ff:fe:49:cc:f8 metric 96 refmetric 0 via fe80::1 if wg-io\r\nadd route 560fbc5dbcd0 prefix fd42:23:42:ba00::1/128 from ::/0 installed yes id 2a:d2:44:ff:fe:9d:d2:bf metric 116 refmetric 0 via fe80::2 if wg-eris\r\nadd route 560fbc5db670 prefix fd42:23:42:ff01::/64 from ::/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5db710 prefix fd42:23:42:ff07::/64 from ::/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\nadd route 560fbc5dc9c0 prefix fd42:23:42:ff08::/64 from ::/0 installed yes id d4:57:67:c3:ff:0b:d5:f9 metric 96 refmetric 0 via fe80::2 if wg-glitch\r\n```\r\nThat is 9 IPv4 and 9 IPv6 routes which are supposed to be installed to the kernel routing table.\r\n\r\nThe export-table is configured as follows:\r\n```\r\nexport-table 100  # igp\r\n```\r\n\r\nHowever only one of the IPv6 routes is actually installed.\r\n```\r\n# ip -6 r s t 100 \r\nfd42:23:42:ff07::/64 via fe80::2 dev wg-glitch proto babel metric 1024 onlink pref medium\r\n```\r\n\r\nWhile all of the IPv4 routes are properly installed:\r\n```\r\n# ip -4 r s t 100 \r\n172.23.42.1 via 172.23.42.231 dev wg-glitch proto babel onlink \r\n172.23.42.2 via 172.23.42.233 dev wg-snafu proto babel onlink \r\n172.23.42.8 via 172.23.42.224 dev wg-io proto babel onlink \r\n172.23.42.10 via 172.23.42.235 dev wg-eris proto babel onlink \r\n172.23.42.64/26 via 172.23.42.224 dev wg-io proto babel onlink \r\n172.23.42.128/26 via 172.23.42.224 dev wg-io proto babel onlink \r\n172.23.42.226/31 via 172.23.42.231 dev wg-glitch proto babel onlink \r\n172.23.42.238/31 via 172.23.42.231 dev wg-glitch proto babel onlink \r\n172.23.42.240/31 via 172.23.42.231 dev wg-glitch proto babel onlink \r\n```\r\n\r\nPossibly related log output, summed up by process and message:\r\n```\r\n# journalctl -u babeld | cut -d' ' -f5- | sort | uniq -c\r\n      1 Thu 2018-06-07 19:32:31 CEST, end at Tue 2018-06-12 21:19:33 CEST. --\r\n      7 babeld[1976]: kernel_route(ADD): No such device\r\n      2 babeld[1976]: kernel_route(FLUSH): No such process\r\n     85 babeld[1976]: kernel_route(MODIFY metric): No such device\r\n  27413 babeld[1976]: send: Destination address required\r\n     66 babeld[21726]: kernel_route(ADD): No such device\r\n     20 babeld[21726]: kernel_route(FLUSH): No such process\r\n    589 babeld[21726]: kernel_route(MODIFY metric): No such device\r\n  85511 babeld[21726]: send: Destination address required\r\n      1 systemd[1]: Started Babel routing daemon.\r\n      1 systemd[1]: Stopped Babel routing daemon.\r\n      1 systemd[1]: Stopping Babel routing daemon...\r\n```\r\n\r\nThis happens after some hours of babeld running. As soon as I restart babeld all routes are back as they should:\r\n\r\n```\r\n# ip -6 r s t 100\r\nfd42:23:42:100::/64 via fe80::1 dev wg-io proto babel metric 1024 onlink pref medium\r\nfd42:23:42:110::/64 via fe80::1 dev wg-io proto babel metric 1024 onlink pref medium\r\nfd42:23:42:b100::/56 via fe80::2 dev wg-glitch proto babel metric 1024 onlink pref medium\r\nfd42:23:42:b200::/56 via fe80::2 dev wg-snafu proto babel metric 1024 onlink pref medium\r\nfd42:23:42:b800::/56 via fe80::1 dev wg-io proto babel metric 1024 onlink pref medium\r\nfd42:23:42:ba00::1 via fe80::2 dev wg-eris proto babel metric 1024 onlink pref medium\r\nfd42:23:42:ff01::/64 via fe80::1 dev wg-io proto babel metric 1024 onlink pref medium\r\nfd42:23:42:ff07::/64 via fe80::2 dev wg-snafu proto babel metric 1024 onlink pref medium\r\nfd42:23:42:ff08::/64 via fe80::2 dev wg-glitch proto babel metric 1024 onlink pref medium\r\n```"},"comment":{"url":"https://api.github.com/repos/jech/babeld/issues/comments/421751598","html_url":"https://github.com/jech/babeld/issues/14#issuecomment-421751598","issue_url":"https://api.github.com/repos/jech/babeld/issues/14","id":421751598,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTc1MTU5OA==","user":{"login":"m13253","id":1808930,"node_id":"MDQ6VXNlcjE4MDg5MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1808930?v=4","gravatar_id":"","url":"https://api.github.com/users/m13253","html_url":"https://github.com/m13253","followers_url":"https://api.github.com/users/m13253/followers","following_url":"https://api.github.com/users/m13253/following{/other_user}","gists_url":"https://api.github.com/users/m13253/gists{/gist_id}","starred_url":"https://api.github.com/users/m13253/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m13253/subscriptions","organizations_url":"https://api.github.com/users/m13253/orgs","repos_url":"https://api.github.com/users/m13253/repos","events_url":"https://api.github.com/users/m13253/events{/privacy}","received_events_url":"https://api.github.com/users/m13253/received_events","type":"User","site_admin":false},"created_at":"2018-09-16T11:46:49Z","updated_at":"2018-09-16T11:46:49Z","author_association":"NONE","body":"@jech The patch is already available. Would you please merge it?\r\nWe've been missing you for weeks :-)"}}
{"actor":{"display_login":"m13253"}}