(A/B) it looks like the SSHChannel implementation of getPeer() is faulty.
If I change my two-line implementation of getPeer() inside
SSHSessionProcessProtocol to simply 'return self.session.getPeer()', I get:
File
"/home/ruttbe/dev/python/twisted-8.2.0-inst/lib/python/twisted/conch/ssh/session.py",
line 216, in getPeer
return self.session.getPeer()
File
"/home/ruttbe/dev/python/twisted-8.2.0-inst/lib/python/twisted/conch/ssh/channel.py",
line 261, in getPeer
return('SSH', )+self.conn.transport.getPeer()
AttributeError: SSHServerTransport instance has no attribute 'getPeer'
(C) regarding adding a test, which file do you think would be suitable
here? something in the twisted/test dir?
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python