Difference between revisions of "Summerschool Aachen 2004/Building Attacks Lab"
Mario Manno (talk | contribs) (→Network Basics) |
|||
Line 19: | Line 19: | ||
* [http://twistedmatrix.com/ Twisted, an event-driven networking framework written in Python], [http://www.zoteca.com/information/wp/twistedusenix.pdf pdf-file] | * [http://twistedmatrix.com/ Twisted, an event-driven networking framework written in Python], [http://www.zoteca.com/information/wp/twistedusenix.pdf pdf-file] | ||
+ | * [http://poe.perl.org POE - Perl Object Enviroment, really simple Servers] | ||
* [http://lib.ru/PERL/perlprac/perl15.html Simple webserver in perl] | * [http://lib.ru/PERL/perlprac/perl15.html Simple webserver in perl] | ||
* [http://pylibpcap.sourceforge.net/ python module for libpcap] | * [http://pylibpcap.sourceforge.net/ python module for libpcap] |
Revision as of 14:06, 23 September 2004
Contents
Network Basics
The slides can be found here
Notes on Presentations
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
- POE - Perl Object Enviroment, really simple Servers
- 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_usec.png
A mathematical theory of communication
I've uploaded this famous paper by C.E. Shannon to http://berlin.ccc.de/~cc/shannon-a_mathematical_theory_of_communication.pdf.
You may download it, if you're interested.
--Cpunkt 12:21, 23 Sep 2004 (CEST)
Billy the kid
a python lib that allows you to make raw sockets.