News for hackers. Stuff that matters.
Re:What happens if you write a TCP stack in Python? by danudey on Tuesday August 12, 2014 @12:39PM (#8168598)
This sounds super handy for situations like honeypots. Take a /24, assign the hosts you actually have, and then spoof the rest to another server which fakes open SMTP, HTTPS, etc. connections, or which replies to every connection attempt (slowly!) with a successful (if slow!) open.

There's an iptables module called tarpit[1], which takes advantage of some peculiarities of the TCP protocol to essentially prevent the remote host from closing the connection, which can force (conforming?) TCP clients to take 12-24 minutes to timeout every connection. It can make portscanning unpleasantly expensive and time-consuming.

[1] http://linux.die.net/man/8/iptables

Re:What happens if you write a TCP stack in Python? by milkshakes on Tuesday August 12, 2014 @01:03PM (#8168770)
this is in fact exactly how honeyd works: http://www.honeyd.org/
Re:What happens if you write a TCP stack in Python? by zerop on Wednesday August 13, 2014 @08:41AM (#8172566)
Thanks for mentioning Honeyd. Are there any more software like this.