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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Penguin 909d835488
Update README.md
6 years ago
bin first 6 years ago
inc first 6 years ago
src first 6 years ago
README.md Update 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.