socket security

Jon Ribbens jon+usenet at unequivocal.co.uk
Sat Apr 6 22:08:44 EST 2002


In article <40sr8.3765$rg3.345703 at news-binary.blueyonder.co.uk>,
  Alastair Nicol wrote:
> 1) Can only hosts which can see the interface your program is bound to 
> communicate with your program. In the "normal" case if you bind to 
> 127.0.0.1 for example ONLY your machine can see that interface. Other 
> machines cannot connect to it. Is this a safe / secure assumtion? (not just 
> for localhost)

No. Other machines on your local net can talk to your localhost by
sending ethernet packets with your machine's MAC address and 127.0.0.1
as the IP address.



More information about the Python-list mailing list