{"action":"created","issue":{"url":"https://api.github.com/repos/troglobit/pimd/issues/49","labels_url":"https://api.github.com/repos/troglobit/pimd/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/troglobit/pimd/issues/49/comments","events_url":"https://api.github.com/repos/troglobit/pimd/issues/49/events","html_url":"https://github.com/troglobit/pimd/issues/49","id":86013953,"number":49,"title":"pimd does not receive PIMv2 Hello","user":{"login":"greenpau","id":3826416,"avatar_url":"https://avatars.githubusercontent.com/u/3826416?v=3","gravatar_id":"","url":"https://api.github.com/users/greenpau","html_url":"https://github.com/greenpau","followers_url":"https://api.github.com/users/greenpau/followers","following_url":"https://api.github.com/users/greenpau/following{/other_user}","gists_url":"https://api.github.com/users/greenpau/gists{/gist_id}","starred_url":"https://api.github.com/users/greenpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenpau/subscriptions","organizations_url":"https://api.github.com/users/greenpau/orgs","repos_url":"https://api.github.com/users/greenpau/repos","events_url":"https://api.github.com/users/greenpau/events{/privacy}","received_events_url":"https://api.github.com/users/greenpau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-06-08T03:58:59Z","updated_at":"2015-06-22T23:51:58Z","closed_at":null,"body":"I have a point to point TUN/TAP interface. \r\n\r\nWhile sniffing, I see that my two hosts `10.252.93.0` and `10.252.63.0` receive each other PIMv2 Hello packets.\r\n\r\n```\r\n[root@ip-192-168-16-146 ~]# tshark -i flannel0\r\nRunning as user \"root\" and group \"root\". This could be dangerous.\r\nCapturing on 'flannel0'\r\n  1   0.000000  10.252.63.0 -> 224.0.0.13   IGMPv2 32 Membership Report group 224.0.0.13\r\n  2   0.480001  10.252.63.0 -> 224.0.0.22   IGMPv2 32 Membership Report group 224.0.0.22\r\n2   3   5.055051  10.252.93.0 -> 224.0.0.13   PIMv2 30 Hello\r\n3   4   9.494298  10.252.63.0 -> 224.0.0.13   PIMv2 30 Hello\r\n4   5  35.085053  10.252.93.0 -> 224.0.0.13   PIMv2 30 Hello\r\n  6  35.085065  10.252.93.0 -> 224.0.0.1    IGMPv2 32 Membership Query, general\r\n6   7  36.865825  10.252.93.0 -> 224.0.0.22   IGMPv2 32 Membership Report group 224.0.0.22\r\n7   8  39.329709  10.252.93.0 -> 224.0.0.2    IGMPv2 32 Membership Report group 224.0.0.2\r\n  9  39.525122  10.252.63.0 -> 224.0.0.13   PIMv2 30 Hello\r\n9  10  39.525188  10.252.63.0 -> 224.0.0.1    IGMPv2 32 Membership Query, general\r\n10  11  44.593635  10.252.93.0 -> 224.0.0.13   IGMPv2 32 Membership Report group 224.0.0.13\r\n11  12  47.552000  10.252.63.0 -> 224.0.0.2    IGMPv2 32 Membership Report group 224.0.0.2\r\n12  13  48.448001  10.252.63.0 -> 224.0.0.22   IGMPv2 32 Membership Report group 224.0.0.22\r\n 14  48.543999  10.252.63.0 -> 224.0.0.13   IGMPv2 32 Membership Report group 224.0.0.13\r\n14  15  65.615259  10.252.93.0 -> 224.0.0.13   PIMv2 30 Hello\r\n15\r\n```\r\n\r\nRelevant interfaces:\r\n\r\n```\r\n[root@ip-192-168-16-146 ~]# ip addr\r\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN\r\n    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\r\n    inet 127.0.0.1/8 scope host lo\r\n       valid_lft forever preferred_lft forever\r\n    inet6 ::1/128 scope host\r\n       valid_lft forever preferred_lft forever\r\n2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc pfifo_fast state UP qlen 1000\r\n    link/ether 0a:14:58:92:4d:6f brd ff:ff:ff:ff:ff:ff\r\n    inet 192.168.16.146/24 brd 192.168.16.255 scope global dynamic eth0\r\n       valid_lft 3566sec preferred_lft 3566sec\r\n    inet6 fe80::814:58ff:fe92:4d6f/64 scope link\r\n       valid_lft forever preferred_lft forever\r\n392: flannel0: <POINTOPOINT,MULTICAST,UP,LOWER_UP> mtu 8973 qdisc pfifo_fast state UNKNOWN qlen 500\r\n    link/none\r\n    inet 10.252.63.0/16 scope global flannel0\r\n       valid_lft forever preferred_lft forever\r\n393: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN\r\n    link/ether 56:84:7a:fe:97:99 brd ff:ff:ff:ff:ff:ff\r\n    inet 10.252.63.1/24 scope global docker0\r\n       valid_lft forever preferred_lft forever\r\n396: pimreg@NONE: <NOARP,UP,LOWER_UP> mtu 1472 qdisc noqueue state UNKNOWN\r\n    link/pimreg\r\n[root@ip-192-168-16-146 ~]# ip route\r\ndefault via 192.168.16.1 dev eth0\r\n10.252.0.0/16 dev flannel0  proto kernel  scope link  src 10.252.63.0\r\n10.252.63.0/24 dev docker0  proto kernel  scope link  src 10.252.63.1\r\n192.168.16.0/24 dev eth0  proto kernel  scope link  src 192.168.16.146\r\n[root@ip-192-168-16-146 ~]# ip mroute\r\n[root@ip-192-168-16-146 ~]#\r\n```\r\n\r\nHowever, at the same time, `pimd` debug messages do not show PIMv2 Hellos received from the other end of the tunnel. \r\n\r\n```\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Virtual Interface Table ======================================================\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Vif  Local Address    Subnet              Thresh  Flags      Neighbors\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: ---  ---------------  ------------------  ------  ---------  -----------------\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 0  192.168.16.146   192.168.16               1  DISABLED\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 1  10.252.63.0      10.252/16                1  PIM        10.252.63.1\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 2  10.252.63.1      10.252.63/24             1  DR NO-NBR\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 3  10.252.63.0      register_vif0            1\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Multicast Routing Table ======================================================\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: --------------------------------- (*,*,G) ------------------------------------\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Number of Groups: 0\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Number of Cache MIRRORs: 0\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: ------------------------------------------------------------------------------\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Candidate Rendezvous-Point Set ===============================================\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: RP address       Incoming  Group Prefix        Priority  Holdtime\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: ---------------  --------  ------------------  --------  ---------------------\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: ------------------------------------------------------------------------------\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: Current BSR address: 0.0.0.0\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 03:53:11.849 RECV    30 bytes PIM v2 Hello              from 10.252.63.0     to 224.0.0.13\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 03:53:11.849 RECV    30 bytes PIM v2 Hello              from 10.252.63.1     to 224.0.0.13\r\nJun 08 03:53:11 ip-192-168-16-146.inf.ise.com pimd[13002]: 03:53:11.849 PIM HELLO holdtime from 10.252.63.1 is 105\r\n```\r\n\r\nFor some reason the packets does not reach `pimd` daemon (although they reach `flanneld0` interface. Any ideas?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/troglobit/pimd/issues/comments/114306495","html_url":"https://github.com/troglobit/pimd/issues/49#issuecomment-114306495","issue_url":"https://api.github.com/repos/troglobit/pimd/issues/49","id":114306495,"user":{"login":"greenpau","id":3826416,"avatar_url":"https://avatars.githubusercontent.com/u/3826416?v=3","gravatar_id":"","url":"https://api.github.com/users/greenpau","html_url":"https://github.com/greenpau","followers_url":"https://api.github.com/users/greenpau/followers","following_url":"https://api.github.com/users/greenpau/following{/other_user}","gists_url":"https://api.github.com/users/greenpau/gists{/gist_id}","starred_url":"https://api.github.com/users/greenpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenpau/subscriptions","organizations_url":"https://api.github.com/users/greenpau/orgs","repos_url":"https://api.github.com/users/greenpau/repos","events_url":"https://api.github.com/users/greenpau/events{/privacy}","received_events_url":"https://api.github.com/users/greenpau/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:51:58Z","updated_at":"2015-06-22T23:51:58Z","body":"On `pi-np02`:\r\n\r\n```\r\nVirtual Interface Table ======================================================\r\nVif  Local Address    Subnet              Thresh  Flags      Neighbors\r\n---  ---------------  ------------------  ------  ---------  -----------------\r\n  0  192.168.16.147   192.168.16               1  DISABLED\r\n  1  10.252.93.1      10.252.93/24             1  DR PIM     10.252.93.0\r\n  2  10.252.93.0      10.252/16                1  DR PIM     10.252.63.0\r\n  3  10.252.93.1      register_vif0            1\r\n\r\nMulticast Routing Table ======================================================\r\n----------------------------------- (*,G) ------------------------------------\r\nSource           Group            RP Address       Flags\r\n---------------  ---------------  ---------------  ---------------------------\r\nINADDR_ANY       239.1.1.1        10.252.63.0      WC RP\r\nJoined   oifs: ....\r\nPruned   oifs: ....\r\nLeaves   oifs: .l..\r\nAsserted oifs: ....\r\nOutgoing oifs: .o..\r\nIncoming     : ..I.\r\n\r\nTIMERS:  Entry    JP    RS  Assert VIFS:  0  1  2  3\r\n             0    22     0       0        0  0  0  0\r\n----------------------------------- (S,G) ------------------------------------\r\n--------------------------------- (*,*,G) ------------------------------------\r\nNumber of Groups: 1\r\nNumber of Cache MIRRORs: 0\r\n------------------------------------------------------------------------------\r\n\r\n```\r\n\r\nPer [RFC 2362](https://www.ietf.org/rfc/rfc2362.txt), the WC-bit indicates that\r\nany source may match and be forwarded according to this entry if\r\nthere is no longer match. It is a *wildcard entry*; if there is no more specific match for a particular source, packets will be forwarded according to this entry"}}