Summerschool Aachen 2004/Building Attacks Lab
< Summerschool Aachen 2004
Revision as of 09:26, 23 September 2004 by 134.130.245.152 (talk)
Network Basics
The second lecture today will cover the basics of network programming. Here are a few links that could help you during the lab session:
- Socket Programming in Perl
- Socket Programming in Python
- A Crash Course in UNIX TCP/IP Socket Programming in C
- An Introduction to Socket Programming in C
- Libnet Packet Construction Library Developer Documentation for libnet 1.1.x, Doku from Fred
- Socket Tutorial in C
- UNIX Network Programming with many examples
- Beej's Guide to Network Programming
- Unix Socket FAQ
- Twisted, an event-driven networking framework written in Python, pdf-file
- Simple webserver in perl
- python module for libpcap
- Programming with pcap in C
- Packet Capture With libpcap and other Low Level Network Tricks
- Documentation to Net::RawIP
- Ruby/Pcap extension library
- Libnet documentation
- Search for RFCs
Linux clock timings
These show some measurements I have take on the Linux 2.4 kernel clock using gettimeofday(). This returns results with microsecond precision, so I wanted to make sure that this precision was significant. These graphs show that both the millisecond and microsecond parts give fairly uniform results.
Milliseconds
http://www.cl.cam.ac.uk/users/sjm217/volatile/timing_msec.png
Microseconds
http://www.cl.cam.ac.uk/users/sjm217/volatile/timing_msec.png