{"action":"created","issue":{"url":"https://api.github.com/repos/troglobit/pimd/issues/5","labels_url":"https://api.github.com/repos/troglobit/pimd/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/troglobit/pimd/issues/5/comments","events_url":"https://api.github.com/repos/troglobit/pimd/issues/5/events","html_url":"https://github.com/troglobit/pimd/issues/5","id":433651,"number":5,"title":"Add support for DR Priority option in PIM hello messages","user":{"login":"sesse","id":238700,"avatar_url":"https://avatars.githubusercontent.com/u/238700?v=3","gravatar_id":"","url":"https://api.github.com/users/sesse","html_url":"https://github.com/sesse","followers_url":"https://api.github.com/users/sesse/followers","following_url":"https://api.github.com/users/sesse/following{/other_user}","gists_url":"https://api.github.com/users/sesse/gists{/gist_id}","starred_url":"https://api.github.com/users/sesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sesse/subscriptions","organizations_url":"https://api.github.com/users/sesse/orgs","repos_url":"https://api.github.com/users/sesse/repos","events_url":"https://api.github.com/users/sesse/events{/privacy}","received_events_url":"https://api.github.com/users/sesse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2010-11-23T00:56:04Z","updated_at":"2015-07-26T03:15:20Z","closed_at":null,"body":"When an IOS router sends out PIM hellos, they include a variety of options:\r\n\r\n\r\n01:50:17.956481 IP (tos 0xc0, ttl 1, id 3442, offset 0, flags [none], proto PIM (103), length 58) 129.241.93.9 > 224.0.0.13: PIMv2, length 38\r\n\tHello, cksum 0x7333 (correct)\r\n\t  Hold Time Option (1), length 2, Value: 1m45s\r\n\t    0x0000:  0069\r\n\t  Generation ID Option (20), length 4, Value: 0x9b4bd1df\r\n\t    0x0000:  9b4b d1df\r\n\t  DR Priority Option (19), length 4, Value: 0\r\n\t    0x0000:  0000 0000\r\n\t  State Refresh Capability Option (21), length 4, Value: v1\r\n\t    0x0000:  0100 0000\r\n\t  Unknown Option (65004), length 0, Value: \r\n\r\nIn particular, the DR Priority Option helps other routers determine which one is the DR for this subnet. However, pimd does not include this option, or barely any at all:\r\n\r\n\r\n01:50:17.961914 IP (tos 0x0, ttl 1, id 33270, offset 0, flags [none], proto PIM (103), length 30) 129.241.93.30 > 224.0.0.13: PIMv2, length 10\r\n\tHello, cksum 0xdf93 (correct)\r\n\t  Hold Time Option (1), length 2, Value: 1m45s\r\n\t    0x0000:  0069\r\n\r\nThis makes it seemingly always win the election, even when it shouldn't. The included example pimd.conf claims setting preference to 101 should make it lose to other gear, but in practice it seems to have no effect."},"comment":{"url":"https://api.github.com/repos/troglobit/pimd/issues/comments/124935769","html_url":"https://github.com/troglobit/pimd/issues/5#issuecomment-124935769","issue_url":"https://api.github.com/repos/troglobit/pimd/issues/5","id":124935769,"user":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T03:15:20Z","updated_at":"2015-07-26T03:15:20Z","body":"Support now (finally) in progress for this.  Will likely be part of the upcoming v2.3.0 release."}}