Tuesday, 20 August 2013

Sniffing Outgoing Telnet Text in OS X Mountain Lion

Sniffing Outgoing Telnet Text in OS X Mountain Lion

I'm having difficulty making my iOS app send telnet commands to a server
but have no problems doing it in Terminal, so I want to see if there is
some kind of greeting message my program is supposed to send to the telnet
server first or a different way of formatting the data. To do this, I want
to see exactly what telnet running in Terminal is sending.
I can use CocoaPacketAnalyzer, PacketPeeper, and the built-in TCPDump
easily to see INCOMING messages. I send a message "test" to the server and
get back "unknown command 'test'". However, I can't see the OUTGOING
messages from my computer. I see some that show up as random characters
but no text that says "test" anywhere. Is there another step I have to do
to analyze outgoing messages?

No comments:

Post a Comment