Improve compatibility: No longer send a WILL SGA upon connection

These are still attempts at improving things.
This commit is contained in:
Olivier Bilodeau
2016-02-02 09:25:32 -05:00
committed by Michel Oosterhof
parent 29facd6ffe
commit 7e027fc8f5

View File

@ -55,9 +55,10 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol):
def connectionMade(self):
processprotocol = TelnetSessionProcessProtocol(self)
# XXX SGA is refused by some clients
# Enable some Telnet options for proper output and echo
self.transport.will(SGA)
self.transport.will(ECHO)
#self.transport.will(SGA)
#self.transport.will(ECHO)
self.protocol = insults.LoggingTelnetServerProtocol(
cproto.HoneyPotInteractiveTelnetProtocol, self)