asyncore DoS vulnerability

William Heymann kosh at aesaeion.com
Fri Feb 2 04:37:38 EST 2007


On Thursday 01 February 2007, billie wrote:

> Here's the traceback:
>
> Traceback (most recent call last):
>   File "C:\Documents and Settings\root\Desktop\test.py", line 31, in ?
>     asyncore.loop(timeout=1)
>   File "C:\Python24\lib\asyncore.py", line 192, in loop
>     poll_fun(timeout, map)
>   File "C:\Python24\lib\asyncore.py", line 122, in poll
>     r, w, e = select.select(r, w, e, timeout)
> ValueError: too many file descriptors in select()
>

I just tried this on 64bit kubuntu edgy and this is what I got

<snip lots of numbers>
1019
1020
Exception in thread Thread-1021:
Traceback (most recent call last):
  File "threading.py", line 442, in __bootstrap
  File "threading.py", line 422, in run
  File "client.py", line 5, in client
  File "socket.py", line 148, in __init__
error: (24, 'Too many open files')

1021
Exception in thread Thread-1022:
Traceback (most recent call last):
  File "threading.py", line 442, in __bootstrap
  File "threading.py", line 422, in run
  File "client.py", line 5, in client
  File "socket.py", line 148, in __init__
error: (24, 'Too many open files')

Exception in thread Thread-1020:
Traceback (most recent call last):
  File "threading.py", line 442, in __bootstrap
  File "threading.py", line 422, in run
  File "client.py", line 12, in client
error: (104, 'Connection reset by peer')

1022
1023



More information about the Python-list mailing list