Re: UDP port 22

From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 04/28/04


Date: 28 Apr 2004 12:55:51 +0100 (BST)

Mike Mimic <ppagee@yahoo.com> writes:
>I found out that on my system (Debian) there is in /etc/services
>written that UDP port 22 is used by SSH. How is that? Is not
>ssh only TCP? Is this a mistake?

How strange. True of my system too, and of the IANA's registry:
<http://www.iana.org/assignments/port-numbers>

They also provide similar UDP assignments for a number of other
well-known protocols such as ftp, telnet, and smtp, none of which have
UDP components as far as I'm aware.

Perhaps they just do it to avoid those ports being assigned to anything
else, to avoid confusion. "To the extent possible, these same [TCP] port
assignments are used with the UDP [...]".



Relevant Pages

  • Re: ipfw and nmap
    ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
    (freebsd-questions)
  • Re: Open port PIX 501
    ... :i can't open the port in my PIX. ... :I need open the port 1000 to point to the IP 10.254.254.222. ... in practice only DNS servers doing zone transfers need tcp. ... of UDP, it would be a highly unusual client which did not stick ...
    (comp.dcom.sys.cisco)
  • Re: Looking for program that emails me when dhcp addr changes
    ... For SSH all you need forwarded is TCP Port 22... ... >>participate in TCP connections or UDP conversations it initiates but ...
    (comp.security.ssh)
  • Re: --display for Fedora Core 2 new Xorg server
    ... >> it never allows any remote display at all. ... > Enabel X11Forward on the SSH server and SSH client? ... It goes straight to the port 6000 TCP. ...
    (comp.os.linux.x)
  • RE: DNS Records
    ... tcp>1023 53 Client queries with long replies ... On other client types, ... if you lock down all but port ... a client queries an initial server from an unreserved port number to UDP ...
    (Security-Basics)