Open lucasalvarez opened 9 years ago
It seems that ASA 5505 uses subnegotiation commands without negotiate with client to allow it. I added code that skips all subnegotiation bytes. But I can't reproduce your issue so please try last commit and report does it fixes it.
I played with my Cisco router and I can successfully obtain output of sh ver command (see chnged example). To prevent IOS to page command outputs I added partial support for NAWS command that sets client window to 65535 x 65535.
Hi, trying to connect to a Cisco ASA 5505, I found that the option subcommands SB and SE were not being catched, so I have added this codes cmdSB and cmdSE to line 111 of conn.go. That allowed me to connect and to send commands succesfully.
Regards,
Lucas