Message88398
Try using telnetlib.py from python3.1. It fixes issues in telnet out of
band negotiations.
http://svn.python.org/projects/python/branches/py3k/Lib/telnetlib.py
Here is what I think is happening:
HOST: b'User' + IAC + ECHO + DONT + b'name:\nPassword\n:'
read_until: times out on Username match, returns all HOST text so far.
You: *send username*
HOST: >
read_until: times out on Password match, returns '>'
You: *send password*
read_until: times out on '>' match, returns ''
This is the only way I could repeat the problem using a local Echo server.
Please let me know if using the telnetlib.py from 3.1 works for you. |
|
Date |
User |
Action |
Args |
2009-05-26 22:40:27 | jackdied | set | recipients:
+ jackdied, ps |
2009-05-26 22:40:27 | jackdied | set | messageid: <1243377627.3.0.0933279508758.issue6106@psf.upfronthosting.co.za> |
2009-05-26 22:40:26 | jackdied | link | issue6106 messages |
2009-05-26 22:40:25 | jackdied | create | |
|