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)
commite2a2b1f951c450bcf5a993b73dc6f31f5ef2434a
treefd026c0401b86d0436ea0b6bdf6cbc0826cff81f
parent0c50d321bc2ecb103c9e80896f6d79e77f1a72b2
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