commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38328] New: - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA
Date Fri, 20 Jan 2006 06:34:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38328

           Summary: commons-net telnet client not working well with Zirion
                    Power Controller Model PSS-108MA
           Product: Commons
           Version: 4.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: n.ramchander@gmail.com


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message