Test that unknown telnet commands are filtered
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 21 Jan 2018 23:41:46 +0000 (23:41 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 21 Jan 2018 23:41:46 +0000 (23:41 +0000)
commitb2e28393aff63164cbd00a049e819bcf74cfc794
treefd026c0401b86d0436ea0b6bdf6cbc0826cff81f
parentc677014e04ec3818187eff679bf378b9be735c15
Test that unknown telnet commands are filtered

Using the recently added support for injecting raw bytes into the
client socket in self tests, send a made-up IAC sequence which the
server won't recognize as a valid telnet command and make sure that
it gets properly logged and filtered out of the input sequence while
preserving the remaining input.
mudpy/tests/selftest.py