Skip to content

Instantly share code, notes, and snippets.

View tuxology's full-sized avatar
💭
Nothing

Suchakra Sharma tuxology

💭
Nothing
View GitHub Profile
@jvns
jvns / Makefile
Created October 8, 2013 03:24
A simple kernel module that printk's "Hello, packet" when it intercepts a packet. Uses netfilter.
obj-m += hello-packet.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean