public recording of an example from https://web.archive.org/web/20180215030743/http://www.binarytides.com/packet-sniffer-code-c-linux. The site is iffy (only loads half the page sometimes?) so I am linking an archived version of the site.
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
909d835488 | 6 years ago | |
---|---|---|
bin | 6 years ago | |
inc | 6 years ago | |
src | 6 years ago | |
README.md | 6 years ago |
README.md
udp_sniffer_example
This is a public recording of a UDP Sniffer example in C.
Source: https://web.archive.org/web/20180215030743/http://www.binarytides.com/packet-sniffer-code-c-linux
The code is aged, but it works with tweaks (if compiled correctly no tweaks should be needed). Compile with gnu11 or newer. This repo will stay up for as long as my git is up most likely, but a new repo with updated code will replace this as my go to example for udp sniffing eventually.