Jim's
Tutorials

Spring 2016
course
navigation
(I'll go back on the last two weeks' pages and write more there-- in the meantime, I want to use this page as a running diary)
I want to write a general command line tool for creating and sending packets. I'd rather work on something big that will take half the semester to complete than to do smaller exercises.
Here are the two tutorials I'm working through: http://www.tcpdump.org/pcap.html http://yuba.stanford.edu/~casado/pcap/section1.html
resources:
Also did:
Heading next towards chap 6 (crypto) & 7 (metasploit etc) in that book.

Jim says

Depending on how far down the rabbit hole you want to go (and understand fully) this could be ambitious. It's the kernel itself that implements TCP/IP so I'd expect you'll be using system calls to talk to it.
googling "code raw packets" shows some examples e.g. http://www.tenouk.com/Module43a.html
pcap is for receiving packets, not sending them, isn't it? Are you trying to do both receive and send?
Put the "RTFM" page for pcap on the list too if you're grabbing packets :
Also, have you seen
Looks like it'll do all that stuff, and it's open source ...

plan.csmarlboro.org

23.92.16.28
DVWA - Damn Vulnerable Web App
http://cs.marlboro.edu/ courses/ spring2016/jims_tutorials/ dylanm/ Feb_10
last modified Friday February 12 2016 1:18 am EST