fake_router26(8)

πŸ’… fake_router26(8) β€” the IPv6 router-impersonation icon

okay so bestie, you know fake_router26? it's the IPv6 one. yeah. that one. let me tell you everything about it, no cap πŸŽ€


✨ SYNOPSIS ✨

fake_router26 [-E type] [-A network/prefix] [-R network/prefix] [-D dns-server] [-s sourceip] [-S sourcemac] [-ardl seconds] [-Tt ms] [-n no] [-i interval] interface [target]

literally that's the whole shape of it. one interface, and an optional target. everything else is flags. slay.


πŸ”₯ OPTIONS πŸ”₯

okay this is the part you actually care about, so buckle up πŸ’–

  • -A network/prefix β€” add an autoconfiguration network. you can do this up to 16 times. sixteen! iconic.
  • -a seconds β€” the valid lifetime of whatever prefix you set with -A. defaults to 99999.
  • -R network/prefix β€” add a route entry. also up to 16 times. matching energy.
  • -r seconds β€” route entry lifetime for -R. defaults to 4096.
  • -D dns-server β€” specify a DNS server. up to 16 times, yes, again.
  • -L searchlist β€” specify the DNS domain search list, and you separate entries with , (a comma, bestie, just a comma).
  • -d seconds β€” the dns entry lifetime for -D. defaults to 4096 (the original page doesn't close the paren there, so neither do I, we respect the lore πŸ™ˆ).
  • -M mtu β€” the MTU to send. defaults to the interface setting.
  • -s sourceip β€” the source ip of the router. defaults to your link local.
  • -S sourcemac β€” the source mac of the router. defaults to your interface.
  • -f ethernetmac β€” the ethernet mac address to use when sending the frames.
  • -l seconds β€” router lifetime. defaults to 2048.
  • -T ms β€” reachable timer. defaults to 0.
  • -t ms β€” retrans timer. defaults to 0.
  • -p priority β€” priority. your options are "low", "medium", "high" (which is the default), and "reserved".
  • -F flags β€” set one or more of these flags: managed, other, homeagent, proxy, reserved. separate them by comma. yes, a comma again. we love consistency.
  • -E type β€” the Router Advertisement Guard Evasion option. the types are:
    • F β€” full evasion (Windows and FreeBSD)
    • H β€” simple hop-by-hop header
    • 1 β€” simple one-shot fragmentation header (you can add multiple)
    • D β€” insert a large destination header so that it fragments
    • O β€” overlapping fragments for keep-first targets (Win, BSD, Mac)
    • o β€” overlapping fragments for keep-last targets (Linux, Solaris)

examples: -E H111, -E D ✨

  • -m mac-address β€” if only one machine should receive the RAs (not with -E DoO).
  • -i interval β€” time between RA packets. default: 5.
  • -n number β€” number of RAs to send. default: unlimited.
  • -X β€” clean up by de-announcing the fake router. default: disabled.

πŸ¦‹ DESCRIPTION-ISH (it's the vibe) πŸ¦‹

announce yourself as a router and try to become the default router. that's it. that's the whole goal. main character energy fr fr πŸ‘‘

bestie, real talk for a sec: if a non-existing link-local or mac address is supplied, this results in a DOS. like, an actual denial of service. that's the point, but also, be careful. πŸ’€

🌸 AUTHOR 🌸

thc-ipv6 was written by van Hauser <vh@thc.org> / THC

The homepage for this toolkit is: https://github.com/vanhauser-thc/thc-ipv6


fake_router26 3.8 (c) 2020 by van Hauser / THC <vh@thc.org>
www.github.com/vanhauser-thc/thc-ipv6

and that's the whole thing, bestie 🫢 this cutie is from THC, it's the 2022-06-19 edition, and yeah β€” fake_router26(8) β€” go forth and be iconic about it. πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from