You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/01/20 07:34:40 UTC

DO NOT REPLY [Bug 38328] New: - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA

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


DO NOT REPLY [Bug 38328] - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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





------- Additional Comments From n.ramchander@gmail.com  2006-01-20 07:35 -------
Created an attachment (id=17466)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17466&action=view)
telnet dump trace at the time of issuing "*magic#POS" command with commons-net
telnet client


-- 
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


DO NOT REPLY [Bug 38328] - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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





------- Additional Comments From n.ramchander@gmail.com  2006-01-20 07:45 -------
I have used JRE 1.5.0_06 (The latest java build) in 
Linux 2.6.11-1.35_FC3smp #1 SMP Mon Jun 13 01:17:35 EDT 2005 i686 i686 i386
GNU/Linux.


-- 
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


DO NOT REPLY [Bug 38328] - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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





------- Additional Comments From n.ramchander@gmail.com  2006-01-24 14:27 -------
Can you please tell me why this problem is occuring...

-- 
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


DO NOT REPLY [Bug 38328] - commons-net telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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





------- Additional Comments From n.ramchander@gmail.com  2006-01-20 07:36 -------
Created an attachment (id=17467)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17467&action=view)
telnet dump trace at the time of issuing "*magic#POS" command with linux telnet
client


-- 
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


DO NOT REPLY [Bug 38328] - [net] telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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


ebourg@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|commons-net telnet client   |[net] telnet client not
                   |not working well with Zirion|working well with Zirion
                   |Power Controller Model PSS- |Power Controller Model PSS-
                   |108MA                       |108MA




-- 
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


DO NOT REPLY [Bug 38328] - [net] telnet client not working well with Zirion Power Controller Model PSS-108MA

Posted by bu...@apache.org.
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


rwinston@eircom.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal




-- 
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