Skip to content

Riatre/1919

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9456b43 · Jun 11, 2022

History

10 Commits
Feb 4, 2021
Feb 4, 2021
Jun 11, 2022
Feb 4, 2021
Apr 14, 2022
Jun 11, 2022
May 3, 2022
Apr 14, 2022

Repository files navigation

What

A tc-bpf action to rewrite ip->protocol to ICMP for outgoing UDP packets with source port = 0x1919, and vice versa for ingress.

Jesus Why?

  • Your ISP have an interesting "management network" connecting all subscribers in the city.
  • They block all traffic between subscribers, except when ip->protocol = 1.
  • You want to have fun with your friend. (and discover that the link is throttled to 20Mbps)
  • You heard that in 2021 there are 114514 eBPF hook points in kernel but never tried any one of them thus want a toy example slightly more complex than hello world.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published