Re: ssh on ping port?
- From: Lordy <see.reply.to@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 05 Feb 2006 02:32:46 GMT
On Sun, 29 Jan 2006 21:45:07 +0000, James J. Dines wrote:
Yes - ping doesn't use a port.
http://en.wikipedia.org/wiki/ICMP
Ping absolutely *does* use a port. Ping is a program which sends ICMP ECHO
REQUEST and receives ICMP ECHO REPLY. On my Mandriva Linux 2006
box, /etc/services shows that port 7 is used.
type (in a terminal, of course):
cat /etc/services | grep echo
... to verify this.
Err. As I understand it - that is the 'echo service'. aka Ping over
TCP/UDP. A 'Normal' Ping (ie ICMP Ping ) does not use UDP/TCP and thus
does not use TCP/UDP ports.
ie This port has NOTHING to do with a normal ICMP Ping.
and as you pointed out - strictly its not a Ping port.. but an 'echo'
port. Strictly a TCP/UDP echo port.
*ICMP* ECHO does not does this port. So you statement above is either
confusing or wrong :)
http://www.netbook.cs.purdue.edu/othrpags/qanda244.htm
Now as people typically do not have the 'echo' service running, then you
could make sshd use this port. IMO this is not such a good idea if the
main purpose was 'security through obscurity' becuase port 7 is a low port
number and will be included in most port scans.
It may also intefere with programs (likely Java based) that may be doing
UDP Pings (as JAva cannot do normal ICMP Pings AFAIK)
IMO Better to use a high port , eg 22222 etc. Which tend not to be
included in most basic scans.
Lordy
.
- Prev by Date: Re: Compaq Pressario 1275 can not set up any Version
- Next by Date: Re: Help withsetting up mail servers
- Previous by thread: Compaq Pressario 1275 can not set up any Version
- Next by thread: suse/linspire
- Index(es):
Relevant Pages
|