Linux and UNIX Systems Configuration Help, How To, Tutorial and Basic Information

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home Information
Information
Default Port Numbers PDF Print E-mail
Wednesday, 02 December 2009 17:07
AddThis Social Bookmark Button

Here are listed default port numbers

(full /etc/services file) # /etc/services:
# $Id: etcservices.txt,v 1.2 2005/12/18 13:54:31 francis Exp $
#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, most entries here have two entries
# even if the protocol doesn't support UDP operations.
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
# are included, only the more common ones.

tcpmux 1/tcp # TCP port service multiplexer
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
msp 18/tcp # message send protocol
msp 18/udp # message send protocol
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
telnet 23/tcp
# 24 - private
smtp 25/tcp mail
# 26 - unassigned
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
nameserver 42/tcp name # IEN 116
whois 43/tcp nicname
re-mail-ck 50/tcp # Remote Mail Checking Protocol
re-mail-ck 50/udp # Remote Mail Checking Protocol
domain 53/tcp nameserver # name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
bootps 67/tcp # BOOTP server
bootps 67/udp
bootpc 68/tcp # BOOTP client
bootpc 68/udp
tftp 69/udp
gopher 70/tcp # Internet Gopher
gopher 70/udp
rje 77/tcp netrjs
finger 79/tcp
www 80/tcp http # WorldWideWeb HTTP
www 80/udp # HyperText Transfer Protocol
link 87/tcp ttylink
kerberos 88/tcp kerberos5 krb5 # Kerberos v5
kerberos 88/udp kerberos5 krb5 # Kerberos v5
supdup 95/tcp
# 100 - reserved
hostnames 101/tcp hostname # usually from sri-nic
iso-tsap 102/tcp tsap # part of ISODE.
csnet-ns 105/tcp cso-ns # also used by CSO name server
csnet-ns 105/udp cso-ns
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
# alias here. This should work for programs asking for this service.
# (due to a bug in inetd the 3com-tsmux line is disabled)
#3com-tsmux 106/tcp poppassd
#3com-tsmux 106/udp poppassd
rtelnet 107/tcp # Remote Telnet
rtelnet 107/udp
pop-2 109/tcp postoffice # POP version 2
pop-2 109/udp
pop-3 110/tcp # POP version 3
pop-3 110/udp
sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
auth 113/tcp authentication tap ident
sftp 115/tcp
uucp-path 117/tcp
nntp 119/tcp readnews untp # USENET News Transfer Protocol
ntp 123/tcp
ntp 123/udp # Network Time Protocol
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp
imap2 143/tcp imap # Interim Mail Access Proto v2
imap2 143/udp imap
snmp 161/udp # Simple Net Mgmt Proto
snmp-trap 162/udp snmptrap # Traps for SNMP
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
cmip-man 163/udp
cmip-agent 164/tcp
cmip-agent 164/udp
xdmcp 177/tcp # X Display Mgr. Control Proto
xdmcp 177/udp
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
nextstep 178/udp NeXTStep NextStep # server
bgp 179/tcp # Border Gateway Proto.
bgp 179/udp
prospero 191/tcp # Cliff Neuman's Prospero
prospero 191/udp
irc 194/tcp # Internet Relay Chat
irc 194/udp
smux 199/tcp # SNMP Unix Multiplexer
smux 199/udp
at-rtmp 201/tcp # AppleTalk routing
at-rtmp 201/udp
at-nbp 202/tcp # AppleTalk name binding
at-nbp 202/udp
at-echo 204/tcp # AppleTalk echo
at-echo 204/udp
at-zis 206/tcp # AppleTalk zone information
at-zis 206/udp
qmtp 209/tcp # The Quick Mail Transfer Protocol
qmtp 209/udp # The Quick Mail Transfer Protocol
z3950 210/tcp wais # NISO Z39.50 database
z3950 210/udp wais
ipx 213/tcp # IPX
ipx 213/udp
imap3 220/tcp # Interactive Mail Access
imap3 220/udp # Protocol v3
rpc2portmap 369/tcp
rpc2portmap 369/udp # Coda portmapper
codaauth2 370/tcp
codaauth2 370/udp # Coda authentication server
ulistserv 372/tcp # UNIX Listserv
ulistserv 372/udp
https 443/tcp # MCom
https 443/udp # MCom
snpp 444/tcp # Simple Network Paging Protocol
snpp 444/udp # Simple Network Paging Protocol
saft 487/tcp # Simple Asynchronous File Transfer
saft 487/udp # Simple Asynchronous File Transfer
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
#
# UNIX specific services
#
exec 512/tcp
biff 512/udp comsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd # no passwords used
syslog 514/udp
printer 515/tcp spooler # line printer spooler
talk 517/udp
ntalk 518/udp
route 520/udp router routed # RIP
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency broadcasts
uucp 540/tcp uucpd # uucp daemon
afpovertcp 548/tcp # AFP over TCP
afpovertcp 548/udp # AFP over TCP
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
klogin 543/tcp # Kerberized `rlogin' (v5)
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
#
webster 765/tcp # Network dictionary
webster 765/udp
#
# From ``Assigned Numbers'':
#
#> The Registered Ports are not controlled by the IANA and on most systems
#> can be used by ordinary user processes or programs executed by ordinary
#> users.
#
#> Ports are used in the TCP [45,106] to name the ends of logical
#> connections which carry long term conversations. For the purpose of
#> providing services to unknown callers, a service contact port is
#> defined. This list specifies the port used by the server process as its
#> contact port. While the IANA can not control uses of these ports it
#> does register or list uses of these ports as a convienence to the
#> community.
#
ingreslock 1524/tcp
ingreslock 1524/udp
prospero-np 1525/tcp # Prospero non-privileged
prospero-np 1525/udp
datametrics 1645/tcp old-radius # datametrics / old radius entry
datametrics 1645/udp old-radius # datametrics / old radius entry
sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry
sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry
radius 1812/tcp # Radius
radius 1812/udp # Radius
radacct 1813/tcp # Radius Accounting
radacct 1813/udp # Radius Accounting
cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations
venus 2430/tcp # codacon port
venus 2430/udp # Venus callback/wbc interface
venus-se 2431/tcp # tcp side effects
venus-se 2431/udp # udp sftp side effect
codasrv 2432/tcp # not used
codasrv 2432/udp # server port
codasrv-se 2433/tcp # tcp side effects
codasrv-se 2433/udp # udp sftp side effect
mysql 3306/tcp # MySQL
mysql 3306/udp # MySQL
rfe 5002/tcp # Radio Free Ethernet
rfe 5002/udp # Actually uses UDP only
cfengine 5308/tcp # CFengine
cfengine 5308/udp # CFengine
bbs 7000/tcp # BBS service
#
#
# Kerberos (Project Athena/MIT) services
# Note that these are for Kerberos v4, and are unofficial. Sites running
# v4 should uncomment these and comment out the v5 entries above.
#
kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
kerberos_master 751/udp # Kerberos authentication
kerberos_master 751/tcp # Kerberos authentication
passwd_server 752/udp # Kerberos passwd server
krb_prop 754/tcp # Kerberos slave propagation
krbupdate 760/tcp kreg # Kerberos registration
kpasswd 761/tcp kpwd # Kerberos "passwd"
kpop 1109/tcp # Pop with Kerberos
knetd 2053/tcp # Kerberos de-multiplexor
zephyr-srv 2102/udp # Zephyr server
zephyr-clt 2103/udp # Zephyr serv-hm connection
zephyr-hm 2104/udp # Zephyr hostmanager
eklogin 2105/tcp # Kerberos encrypted rlogin
#
# Unofficial but necessary (for NetBSD) services
#
supfilesrv 871/tcp # SUP server
supfiledbg 1127/tcp # SUP debugging
#
# Datagram Delivery Protocol services
#
rtmp 1/ddp # Routing Table Maintenance Protocol
nbp 2/ddp # Name Binding Protocol
echo 4/ddp # AppleTalk Echo Protocol
zip 6/ddp # Zone Information Protocol
#
# Services added for the Debian GNU/Linux distribution
poppassd 106/tcp # Eudora
poppassd 106/udp # Eudora
mailq 174/tcp # Mailer transport queue for Zmailer
mailq 174/tcp # Mailer transport queue for Zmailer
ssmtp 465/tcp # SMTP over SSL
gdomap 538/tcp # GNUstep distributed objects
gdomap 538/udp # GNUstep distributed objects
snews 563/tcp # NNTP over SSL
ssl-ldap 636/tcp # LDAP over SSL
omirr 808/tcp omirrd # online mirror
omirr 808/udp omirrd # online mirror
rsync 873/tcp # rsync
rsync 873/udp # rsync
simap 993/tcp # IMAP over SSL
spop3 995/tcp # POP-3 over SSL
socks 1080/tcp # socks proxy server
socks 1080/udp # socks proxy server
rmtcfg 1236/tcp # Gracilis Packeten remote config server
xtel 1313/tcp # french minitel
support 1529/tcp # GNATS
cfinger 2003/tcp # GNU Finger
ninstall 2150/tcp # ninstall service
ninstall 2150/udp # ninstall service
afbackup 2988/tcp # Afbackup system
afbackup 2988/udp # Afbackup system
icp 3130/tcp # Internet Cache Protocol (Squid)
icp 3130/udp # Internet Cache Protocol (Squid)
postgres 5432/tcp # POSTGRES
postgres 5432/udp # POSTGRES
fax 4557/tcp # FAX transmission service (old)
hylafax 4559/tcp # HylaFAX client-server protocol (new)
noclog 5354/tcp # noclogd with TCP (nocol)
noclog 5354/udp # noclogd with UDP (nocol)
hostmon 5355/tcp # hostmon uses TCP (nocol)
hostmon 5355/udp # hostmon uses TCP (nocol)
ircd 6667/tcp # Internet Relay Chat
ircd 6667/udp # Internet Relay Chat
webcache 8080/tcp # WWW caching service
webcache 8080/udp # WWW caching service
tproxy 8081/tcp # Transparent Proxy
tproxy 8081/udp # Transparent Proxy
mandelspawn 9359/udp mandelbrot # network mandelbrot
amanda 10080/udp # amanda backup services
kamanda 10081/tcp # amanda backup services (Kerberos)
kamanda 10081/udp # amanda backup services (Kerberos)
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
isdnlog 20011/tcp # isdn logging system
isdnlog 20011/udp # isdn logging system
vboxd 20012/tcp # voice box system
vboxd 20012/udp # voice box system
binkp 24554/tcp # Binkley
binkp 24554/udp # Binkley
asp 27374/tcp # Address Search Protocol
asp 27374/udp # Address Search Protocol
tfido 60177/tcp # Ifmail
tfido 60177/udp # Ifmail
fido 60179/tcp # Ifmail
fido 60179/udp # Ifmail
 
Linux, UNIX Directories PDF Print E-mail
Wednesday, 02 December 2009 16:59
AddThis Social Bookmark Button
Mount Point Explanation
/ Root directory
/bin Main program
/boot Used at boot
/dev directory Where the registered user devices (modem, mouse, keyboard, etc.)
/etc Configuration files
/home Home directories of users, registered in the system
/lib Libraries and kernel modules
/mnt Mount points of devices (CD ROM, floppy disks, drives on the network, etc.)
/root Root's directory
/sbin Basic system software
/tmp Temporary files
/usr Directory impracticable important files
/var Various data (logs)
 
OSI Model PDF Print E-mail
Wednesday, 02 December 2009 16:53
AddThis Social Bookmark Button

The Seven Layers of the OSI Model

7 Application
Network Process to Application
 
  • Provides network services processes to application processes (such as electronic mail, file transfer,...)
  • Provides user authentication
       
6 Presentation
Data Representation
 
  • Ensures that data is readable by receiving system
  • Formats data
  • Structures data
  • Negotiates data transfer syntax for application layer
  • Provides encryption
       
5 Session
Interhost Communication
 
  • Establishes, manages, and terminates sessions between applications
       
4 Transport
End-to-end Connections
Segment
  • Handless transportation issues between hosts
  • Ensures data transport reliability
  • Establishes, maintains, and terminates virtual circuits
  • Provides reliability trough fault detection and recovery flow control
       
3 Network
Data Delivery
Packet
  • Routes data packets
  • Selects best path to deliver data
  • Provides logical addressing and path selection
       
2 Data Link
Access to Media
Frame
  • Defines how data is formatted for transmission and how access to the network is controlled
  • Provides error detection
       
1 Physical
Binary Transmission
Bit
  • Defines the electrical, mechanical, procedural, and functional specifications for activating, maintaining, and deactivating physical link
Encapsulation 7 -> 1
De-Encapsulation 1 -> 7
 
Linux Timeline PDF Print E-mail
Wednesday, 02 December 2009 16:48
AddThis Social Bookmark Button
Linux Evaluation
Distribution Start Year End Year

Auditor Security < Kanotix < KNOPPIX < Debian < GNU/Linux

Parsix 2005  
Backtrack 2006  

Caldera < Red Hat < GNU/Linux

SCO 2002 2003
Redmond 2001 2002

Corel < Debian < GNU/Linux

Xandros 2001  

Damn Small Linux < KNOPPIX < Debian < GNU/Linux

DSL-N 2006  

Debian < GNU/Linux

Libranet 1999 2006
Storm 1999 2001
Skolelinux 2001  
Lindows 2001 2004
DeMuDi 2002 2006
Impi 2003  
Guadalinex 2004  
Ubuntu 2004  
Elive 2004  
Sidux 2006  
BOSS 2006  
grml 2004  
Bluewall 2003  
MEPIS 2003 2004
KNOPPIX 2003  
LinEx 2002  
Progeny 2001 2007
Corel 1999 2001

DILINUX < GNU/Linux

DOSLINUX 1997 1997

Enoch < GNU/Linux

Gentoo 2002  

esmith < Red Hat < GNU/Linux

SME Server 2001  

Fedora Core < Red Hat < GNU/Linux

Berry 2004  
Atmission 2004  
AsianLinux 2005  
Ekaaty 2006  
Momonga 2004  
FoX 2005  
Fedora 2007  

Gentoo < Enoch < GNU/Linux

VidaLinux 2004  
RR4 2005 2006
Kororaa 2005  
BinToo 2006  

GNU/Linux

Debian 1993  
MCC Interim 1992 1995
TAMU 1992 1994
Yqqdrasil 1992 1995
SLS 1992 1994
Bogus 1993 1994
MINI 1995 1995
Xdenu 1994 1996
Trans-Ameritech 1995 1997
Linux Universe 1995 1998
Craftworks 1995 1998
DILINUX 1996 1998
Monkey 1996 1997
DLD/Delix 1993 1999
LST 1993 1997
Linux-FT 1995 1996
Red Hat 1994  
Jurix 1996 1997
Enoch 1999 2002
eIT easyLinux 1998 2001
Linux From Scratch 1999  
Rock Linux 1998  
CRUX 2001  
Arch 2002  
dyne:bolic 2001  
GoboLinux 2002  
Ark 2003  
SmoothWall GPL 2000 2003
EnGarde 2001  
Blue Point 1999 2001
Yoper 2003  
Pardus 2005  
Puppy 2002  
Beehive 2000 2003
Kate Linux 2004 2005
Sourerer 2001  
Ututo 2000  
United Linux 2002 2003
Specifix 2004 2005

Kanotix < KNOPPIX < Debian < GNU/Linux

Auditor Security Linux 2004 2006

Kate Linux < GNU/Linux

KateOS 2005  

KNOPPIX < Debian < GNU/Linux

Kurumin 2003  
Damn Small Linux 2003  
Shabdix 2003 2004
Bioknoppix 2004  
Symphony 2005  
Mophix 2003  
KoppMyth 2003  
Kanotix 2003  
Whoppix 2004 2005

Kubuntu < Ubuntu < Debian < GNU/Linux

Ulteo 2006  

Lindows < Debian < GNU/Linux

Linspire 2004  

Linspire < Lindows < Debian < GNU/Linux

Freespire 2006  

Mandrake < Red Hat < GNU/Linux

Virtual 2000 2003
ALT Linux 2001  
PCLinuxOS 2003  
blackPanter 2003  
OpenSLS 2004 2004
Mandriva 2005  

MEPIS < Debian < GNU/Linux

SimplyMEPIS 2004  

Minislack < Slackware < SLS < GNU/Linux

Zenwalk 2005  

Mophix < KNOPPIX < Debian < GNU/Linux

ZoneCD 2004  

OpenSLS < Mandrake < Red Hat < GNU/Linux

Annvix 2004  

Peanut < Red Hat < GNU/Linux

aLinux 2005  

Red Hat < GNU/Linux

WGS Linux Pro 1995 1997
Caldera 1996 2002
Conectiva 1996 2005
Mandrake 1998 2005
esmith 1998 2001
Kondara 1999 2002
Immunix 1999 2004
Trustix 2000  
ELX 2000  
SuperRescue 2001 2003
HP secure 2001 2002
LinuxInstall 2002 2003
CentOS 2004  
Scientific 2004  
White Box 2004  
LinuxPPC 1997 2001
PLD 1997  
Turbolinux 1998  
Eurielex 1998 2001
Yellow Dog 1999  
Armed 1999 2002
Peanut 1999 2005
Red Flag 1999  
Eridani 1999 2003
Happy 2000 2002
Miracle 2000  
Aurora 2000  
Bayanihan 2002  
Aurox 2002  
BLAG 2002  
AnNyung 2003  
BU Linux 2003  
Fedora Core 2003 2007
Tao 2003 2006
BioBrew 2004  
StartCom 2004  

Redmond < Caldera < Red Hat < GNU/Linux

Lycoris 2002 2005

rPath < Specifix < Gentoo < Enoch < GNU/Linux

Oz 2006  

RR4 < Gentoo < Enoch < GNU/Linux

Sabayon 2006  

S.u.S.E < Slackware < SLS < GNU/Linux

SuSE 1998 2004

Slackware < SLS < GNU/Linux

S.u.S.E 1994 1998
Stampede 1997 2001
Vector 2000  
SLAX 2002  
EvilEntity 2002 2004
AUSTRUMI 2004  
Minislack 2004 2005
Voltalinux 2005  
Sauver 2006  
Bluewhite 2006  
DeLi 2002  
DARKSTAR 2004  
Frugalware 2004  
NimbleX 2005  
How-Tux 2006  

SLS < GNU/Linux

Slackware 1993  

SmoothWall GPL < GNU/Linux

IPCop 2001  
SmoothWall Express 2003  

Sourerer < GNU/Linux

Source Mage 2002  
Lunar 2002  

Specifix < Gentoo < Enoch < GNU/Linux

rPath 2005  
Foresight 2005  

SuSE < S.u.S.E < Slackware < SLS < GNU/Linux

SUSE 2004  
Sun JDS 2003 2005
openSUSE 2006  
Caixa Magica 2000  
Astaro 2001  

Ubuntu < Debian < GNU/Linux

Beatrix 2004 2005
Kubuntu 2005  
nUbuntu 2005  
Linux Mint 2006  
Edubuntu 2005  
Xubuntu 2006  
gNewSense 2006  

Whoppix KNOPPIX < Debian < GNU/Linux

WHAX 2005 2006
(by http://futurist.se/gldt/)
 


Latest News

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)