????ubuntu?2???????
???????????????
????# ?????д?????????????????????????????????????????????????????????????
????nmap localhost
????# ????Щ?????????????port??????????????????root?????в????????
????lsof -i:port           #  +sudo????
????# ????Щ?????????????port????????????ID?????????????????????ò???
????netstat -nap | grep port
????# ????????????????????
????cat /etc/services
????# ???????????????????
????sudo /etc/init.d/service start|stop|restart
????#???????? sudo netstat -anp > port.txt
?????????????????????
??????????????????? ??????????????????????
????Echo??7????????????????????????????????????FTP??21??
????Ssh??22????????????????????????????????????Telnet??23??
????SMTP??25??????????????????????????????????DNS??53??
????HTTP??80?????????????????????????????????? MTA-X.400 over TCP/IP??102??
????pop3??110??????????????????????????????????NETBIOS Name Service??137??138??139??
????IMAP v2??143??????????????????????????????  SNMP??161??
????LDAP??ILS??389???????????????????????????? Https??443??
????IMAP(993)                                ????????????????SQL(1433)
????NetMeeting T.120(1503)                   ??????????  NetMeeting(1720)
????NetMeeting Audio Call Control(1731)      ??????  ???????(3389)
????QQ?????(4000)                           ????????????  pcAnywere(5631)
????RealAudio(6970)                           ????????????  Sygate (7323)
????OICQ(8000)                               ??????????????  Wingate(8010)
??????????(8080)
????1??????7
????????Echo
???????????????????????Fraggle?????????????X.X.X.0??X.X.X.255???????
????2??????21
????????FTP
?????????FTP?????????????????????????????????????????????????anonymous??FTP???????????????Щ?????????п??д?????????Doly Trojan??Fore??Invisible FTP??WebEx??WinCrash??Blade Runner??????????
????3??????22
????????Ssh
?????????PcAnywhere??????TCP????????????????????????ssh????????????????????????ó????????????????RSAREF???汾???в???????
?????????
????4??????23
????????Telnet
?????????????????????????????????UNIX???????????????????????????????????????е????????????????????????????????????????????Tiny Telnet Server???????????
????5??????25
????????SMTP
?????????SMTP?????????????????????????????????????SMTP???????????????????SPAM????????????????????????????????????E-MAIL???????????????????????????????????Antigen??Email Password Sender??Haebu Coceda??Shtrilitz Stealth??WinPC??WinSpy?????????????
????6??????53
????????Domain Name Server??DNS??
?????????DNS?????????????????????????????????????????TCP???????DNS??UDP?????????????????????????????????????????
????7??????80
????????HTTP
????????????????????????Executor????????
????8??????102
????????Message transfer agent(MTA)-X.400 over TCP/IP
????????????????????
????9??????110
????????pop3
?????????POP3(Post Office Protocol 3)?????????????????????????????????????????????????POP3??????????????????????????????????????????????????????20????????ζ????????????????????????????????????????????????????????
????10??????137??138??139
????????NETBIOS Name Service
?????????????137??138??UDP??????????????????????????????????139???????????????????????????NetBIOS/SMB???????Э?鱻????windows??????????????SAMBA??????WINS Regisrtation???????
????11??????143
????????Interim Mail Access Protocol v2
???????????POP3????????????????IMAP???????????л??????????????????
???????LINUX??棨admv0rm???????????????????????????????????????????????????????????REDHAT???????LINUX?????汾?????????IMAP????Щ??????????С??????????????IMAP2???????????С?
????12??????161
????????SNMP
?????????SNMP???????????豸?????????ú?????????????????????У????SNMP??????Щ????????????????????y????????Internet??Cackers????????????????public??private???????????????????????п????????
????SNMP??????????????????????????
????13??????389
????????LDAP??ILS
???????????????????Э???NetMeeting Internet Locator Server?????????? ??
????14??????443
????????Https
??????????????????????????????????????????????HTTP??
????15??????993
????????IMAP
?????????SSL??Secure Sockets layer??
????16??????1433
????????SQL
?????????Microsoft??SQL??????????
????17??????1503
????????NetMeeting T.120
?????????NetMeeting T.120
????18??????1720
????????NetMeeting
?????????NetMeeting H.233 call Setup??
????19??????1731
????????NetMeeting Audio Call Control
?????????NetMeeting???????????
????20??????3389
???????????????
?????????WINDOWS 2000??????????
????21??????4000
????????QQ?????
????????????QQ????????????
????22??????5631
????????pcAnywere
????????????????????????????裬????????????????λ?á????????pcAnywere??????????????????C????????????????????????????agent??????proxy?????????????????????????????????????????ò????????????????Щ???pcAnywere?????????????22??UDP???????
????23??????6970
????????RealAudio
?????????RealAudio??????????????6970-7170??UDP???????????????????????TCP-7070????????????????????
????24??????7323
????????[NULL]
?????????Sygate?????????
????25??????8000
????????OICQ
????????????QQ???????????????
????26??????8010
????????Wingate
?????????Wingate???????????
????27??????8080
??????????????
?????????WWW???????????