OSGI 3.10 Console is returning weird characteres [message #1708836] |
Mon, 21 September 2015 12:04 |
Eclipse User |
|
|
|
I'm facing an issue where I have an OSGI console listening on port 55555, and a bash script that connects on such console using netcat (e.g.: echo "ss" | nc localhost 55555), to get the plugin list running on it.
From the time I've updated OSGI files to a new version (from 3.7.2 to 3.10.2), netcat has started received weird characters instead of the interactive console it used to receive. But, if I connect using windows Telnet (connecting on OSGI Console remotely), everything works fine just like before updating the OSGI files.
Does someone knows what has changed that makes netCat to fail on it?
As requested, below you can see how I executed both commands, windows/linux and its returns:
c:/telnet server1 55555
osgi>_
user@server1: nc localhost 55555
ÿûÿûÿýÿý
Piping through a cat -v:
user@server1: nc localhost 55555 | cat -v
M-^?M-{^AM-^?M-{^CM-^?M-}^_M-^?M-}^X
Getting an hexadecimal return:
user@server1: nc -x hexa.log -t localhost 55555
user@server1: cat hexa.log
[0000] FF FB 01 FF FB 03 FF FD 1F FF FD 18 ........ ....
|
|
|
Powered by
FUDForum. Page generated in 0.06370 seconds