This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola
Date 2010-06-30.18:44:25
SpamBayes Score 0.016938752
Marked as misclassified No
Message-id <1277923467.7.0.260357628044.issue9129@psf.upfronthosting.co.za>
In-reply-to
Content
Steps to reproduce the issue:

- in one shell run: "python -m smtpd -n"
- in another one run: "for i in {1..1000};do nmap -sT -p 8025 localhost;done"

The server will print out the following output and just quit (DoS):

giampaolo@ubuntu:~/svn/python-2.7$ ./python -m smtpd -n 
error: uncaptured python exception, closing channel <__main__.PureProxy listening localhost:8025 at 0xb74b0f4c> (<class 'socket.error'>:[Errno 107] Transport endpoint is not connected [/home/giampaolo/svn/python-2.7/Lib/asyncore.py|read|79] [/home/giampaolo/svn/python-2.7/Lib/asyncore.py|handle_read_event|430] [/home/giampaolo/svn/python-2.7/Lib/smtpd.py|handle_accept|296] [/home/giampaolo/svn/python-2.7/Lib/smtpd.py|__init__|124] [/home/giampaolo/svn/python-2.7/Lib/socket.py|meth|222])
giampaolo@ubuntu:~/svn/python-2.7$ 

This is due to issue 6706.
History
Date User Action Args
2010-06-30 18:44:27giampaolo.rodolasetrecipients: + giampaolo.rodola
2010-06-30 18:44:27giampaolo.rodolasetmessageid: <1277923467.7.0.260357628044.issue9129@psf.upfronthosting.co.za>
2010-06-30 18:44:25giampaolo.rodolalinkissue9129 messages
2010-06-30 18:44:25giampaolo.rodolacreate