[ https://issues.apache.org/jira/browse/NET-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rory Winston closed NET-85. --------------------------- Resolution: Cannot Reproduce > [net] telnet client not working well with Zirion Power Controller Model > PSS-108MA > --------------------------------------------------------------------------------- > > Key: NET-85 > URL: https://issues.apache.org/jira/browse/NET-85 > Project: Commons Net > Issue Type: Bug > Affects Versions: 1.4 > Environment: Operating System: Linux > Platform: Other > Reporter: Ramchander Namani > Attachments: tcp_commons_net.txt, tcp_linux_telnet.txt > > > Description: > When I used commons-net telnet client to get the power status of the ports in > Zirion Power controller (Model: PSS-108MA), I am not getting the output > immediately after the command "*magic#POS" is typed. Instead I get the output > after another command is typed. Please have a look below to understand well: > Actual Result: > java -classpath commons-net-1.3.0-dev.jar examples.TelnetClientExample > 192.168.11.203 8000 > TelnetClientExample > Type AYT to send an AYT telnet command > Type OPT to print a report of status of options (0-24) > Type REGISTER to register a new SimpleOptionHandler > Type UNREGISTER to unregister an OptionHandler > Type SPY to register the spy (connect to port 3333 to spy) > Type UNSPY to stop spying the connection > 220 192.168.11.203 RCON server (ZIRION v1.1) ready. > Received DO for option code 1 > *magic#POS > *magic#exit > 11111111 > 221 Goodbye. > Expected Result: > When I used Linux telnet client to connect to the above controller, the Linux > telnet client is working fine. > telnet 192.168.11.203 8000 > Trying 192.168.11.203... > Connected to 192.168.11.203 (192.168.11.203). > Escape character is '^]'. > 220 192.168.11.203 RCON server (ZIRION v1.1) ready. > *magic#POS > 11111111 (Comment:we r getting O/P imediately after issuing command) > *magic#exit > 221 Goodbye. > Connection closed by foreign host. > I have tcp dump traces for linux telnet client and commons-net telnet client > which say that the data is sitting on the kernel which is not read by the > commons-net telnet client. I am attaching the tcpdump traces both for Linux > telnet client (tcp_linux_telnet.txt) and commons-net telnet > client(tcp_commons_net.txt). You can view 4 telnet packet dump using the > command > "tcpdump -r <filename> -xx -s 1500" or ethereal. I have taken telnet dump at > the > time of issuing the command "*magic#POS". > Build Date & Platform: > I have build "commons-net-1.3.0-dev.jar" from the cvs HEAD of > jakarta-commons. I > also used latest commons-net-1.4.1.tar.gz, but even then the same problem > persists. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.