Tuesday, 18 January 2011

Python Crash tutorial for experienced programmers

Phython has already became a de-facto scripting language, even taking over Perl (depends who do you ask, of course). Recently I have began to use it and like its approach to OO/D. Here is my very short crash Python notes [txt], in 10 minutes, you can learn the basic facilities.

Wednesday, 5 January 2011

Monitoring IP traffic on a host against denial of service

Long time ago I have given some tips for Cisco routers IoS capability to limit SYN half-open TCP connections [here]. Recently a nice python script [here], provides a mechanism to monitor similar information on regular bases and block IP addresses for a certain period of time automatically. It uses combination of tools : netstat, iptables and python modules. However, tuning thresholds must be done carefully to prevent blocking legitimate traffic.
(c) Copyright 2008-2024 Mehmet Suzen (suzen at acm dot org)

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License