Reflection, netcat usage error
Trying to telnet to a NATted server gives the following error:
xx@xx:~$ telnet xxx.xx 2201
Connected to xxx.xx.
Escape character is '^]'.
usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length]
[-P proxy_username] [-p source_port] [-s source_ip_address] [-T ToS]
[-V fib] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [hostname] [port]
SSH to the same server is working. NAT and rules for SSH and my other service on port 2201 is setup exactly the same, except for the port numbers and usage of aliases for the other service.
- Target version set to 2.0
Do you have multiple ports in the same alias? Specifically on the one that is failing.
No, just a single port (2201).
I have other aliases with multiple ports, none of them are overlapping. Reflection is not working for other services either, only for ssh, it seems. Is ssh given special treatment? Could it be a privileged vs non privileged port thing?
Aliases with multiple ports do not currently work with Reflection, though there actually isn't really any reason it couldn't work.
- Status changed from New to Feedback
It should not error out, but it will skip mostly aliases with multiple ports!
- Status changed from Feedback to Resolved
This avoids errors and does the right thing now.
Also available in: Atom