Project

General

Profile

Actions

Bug #672

closed

Reflection, netcat usage error

Added by Lars Hupfeldt Nielsen over 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
06/18/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

Trying to telnet to a NATted server gives the following error:

xx@xx:~$ telnet xxx.xx 2201
Trying xx.xx.xx.xx...
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.

Actions #1

Updated by Chris Buechler over 14 years ago

  • Target version set to 2.0
Actions #2

Updated by Erik Fonnesbeck over 14 years ago

Do you have multiple ports in the same alias? Specifically on the one that is failing.

Actions #3

Updated by Lars Hupfeldt Nielsen over 14 years ago

No, just a single port (2201).

Actions #4

Updated by Lars Hupfeldt Nielsen over 14 years ago

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?

Actions #5

Updated by Erik Fonnesbeck over 14 years ago

Aliases with multiple ports do not currently work with Reflection, though there actually isn't really any reason it couldn't work.

Actions #6

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Feedback

It should not error out, but it will skip mostly aliases with multiple ports!

Actions #7

Updated by Ermal Luçi almost 14 years ago

  • Status changed from Feedback to Resolved

This avoids errors and does the right thing now.

Actions

Also available in: Atom PDF