Hi, 

I was reading an article about 'honeytrapping' ports to slow down port
scanners, and it made reference to Perl, but I was wondering, how
feasible in Python is a script that waits for requests to (normally
unused) ports, and then malforms a response to those requests?

I'm aware this is illegal in some US states, but this is more of a
'how would you do that' scenario rather than 'I need to do this'.

Sockets tend to use localhost? Java interpreters and Python
interpreters all seem to call localhost.
So, do sockets use ports? Or, do ports use sockets? Or, do programmes
create sockets which can utilise ports? If so, can you access a port
directly in Python?

I always wanted to be able to the nitty gritty stuff like accessing a
particular port, but I always thought I'd have to learn Cpp to do it.

Regards,

Liam Clarke
-- 
'There is only one basic human right, and that is to do as you damn well please.
And with it comes the only basic human duty, to take the consequences.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to