TCP/IP - 协议关系与结构

 

 

                                 图1、TCP/IP协议的相互关系

 

 

 

     

 

                                  图2、TCP/IP协议结构

 

 

     

  

                                  图3、TCP/IP协议套件(参考OSI模型)

 

 


IP协议号大全 (last updated 08 September 2005)

In the Internet Protocol version 4 (IPv4) [RFC791] there is a field,
called "Protocol", to identify the next level protocol.   This is an 8
bit field.   In Internet Protocol version 6 (IPv6) [RFC1883] this field
is called the "Next Header" field.

Assigned Internet Protocol Numbers

Decimal     Keyword      Protocol                          References
-------     -------      --------                          ----------
      0      HOPOPT       IPv6 Hop-by-Hop Option             [RFC1883]
      1      ICMP         Internet Control Message            [RFC792]
      2      IGMP         Internet Group Management          [RFC1112]
      3      GGP          Gateway-to-Gateway                  [RFC823]
      4      IP           IP in IP (encapsulation)           [RFC2003]
      5      ST           Stream                     [RFC1190,RFC1819]
      6      TCP          Transmission Control                [RFC793]
      7      CBT          CBT                              [Ballardie]
      8      EGP          Exterior Gateway Protocol      [RFC888,DLM1]
      9      IGP          any private interior gateway          [IANA]
                        (used by Cisco for their IGRP)
     10      BBN-RCC-MON BBN RCC Monitoring                     [SGC]
     11      NVP-II       Network Voice Protocol          [RFC741,SC3]
     12      PUP          PUP                              [PUP,XEROX]
     13      ARGUS        ARGUS                                 [RWS4]
     14      EMCON        EMCON                                  [BN7]
     15      XNET         Cross Net Debugger             [IEN158,JFH2]
     16      CHAOS        Chaos                                  [NC3]
     17      UDP          User Datagram                   [RFC768,JBP]
     18      MUX          Multiplexing                     [IEN90,JBP]
     19      DCN-MEAS     DCN Measurement Subsystems            [DLM1]
     20      HMP          Host Monitoring                 [RFC869,RH6]
     21      PRM          Packet Radio Measurement               [ZSU]
     22      XNS-IDP      XEROX NS IDP                [ETHERNET,XEROX]
     23      TRUNK-1      Trunk-1                               [BWB6]
     24      TRUNK-2      Trunk-2                               [BWB6]
     25      LEAF-1       Leaf-1                                [BWB6]
     26      LEAF-2       Leaf-2                                [BWB6]
     27      RDP          Reliable Data Protocol          [RFC908,RH6]
     28      IRTP         Internet Reliable Transaction   [RFC938,TXM]
     29      ISO-TP4      ISO Transport Protocol Class 4 [RFC905,RC77]
     30      NETBLT       Bulk Data Transfer Protocol     [RFC969,DDC1]
     31      MFE-NSP      MFE Network Services Protocol   [MFENET,BCH2]
     32      MERIT-INP    MERIT Internodal Protocol              [HWB]
     33      DCCP         Datagram Congestion Control Protocol   [RFC-ietf-dccp-spec-11.txt]
     34      3PC          Third Party Connect Protocol          [SAF3]
     35      IDPR         Inter-Domain Policy Routing Protocol [MXS1]
     36      XTP          XTP                                    [GXC]
     37      DDP          Datagram Delivery Protocol             [WXC]
     38      IDPR-CMTP    IDPR Control Message Transport Proto [MXS1]
     39      TP++         TP++ Transport Protocol                [DXF]
     40      IL           IL Transport Protocol             [Presotto]
     41      IPv6         Ipv6                               [Deering]   
     42      SDRP         Source Demand Routing Protocol        [DXE1]
     43      IPv6-Route   Routing Header for IPv6            [Deering]
     44      IPv6-Frag    Fragment Header for IPv6           [Deering]
     45      IDRP         Inter-Domain Routing Protocol    [Sue Hares]
     46      RSVP         Reservation Protocol            [Bob Braden]
     47      GRE          General Routing Encapsulation      [Tony Li]
     48      MHRP         Mobile Host Routing Protocol[David Johnson]
     49      BNA          BNA                           [Gary Salamon]
     50      ESP          Encap Security Payload             [RFC2406]
     51      AH           Authentication Header              [RFC2402]
     52      I-NLSP       Integrated Net Layer Security   TUBA [GLENN]
     53      SWIPE        IP with Encryption                     [JI6]
     54      NARP         NBMA Address Resolution Protocol   [RFC1735]
     55      MOBILE       IP Mobility                        [Perkins]
     56      TLSP         Transport Layer Security Protocol    [Oberg]
                        using Kryptonet key management
     57      SKIP         SKIP                               [Markson]
     58      IPv6-ICMP    ICMP for IPv6                      [RFC1883]
     59      IPv6-NoNxt   No Next Header for IPv6            [RFC1883]
     60      IPv6-Opts    Destination Options for IPv6       [RFC1883]
     61                  any host internal protocol            [IANA]
     62      CFTP         CFTP                             [CFTP,HCF2]
     63                  any local network                     [IANA]
     64      SAT-EXPAK    SATNET and Backroom EXPAK              [SHB]
     65      KRYPTOLAN    Kryptolan                             [PXL1]
     66      RVD          MIT Remote Virtual Disk Protocol       [MBG]
     67      IPPC         Internet Pluribus Packet Core          [SHB]
     68                  any distributed file system           [IANA]
     69      SAT-MON      SATNET Monitoring                      [SHB]
     70      VISA         VISA Protocol                         [GXT1]
     71      IPCV         Internet Packet Core Utility           [SHB]
     72      CPNX         Computer Protocol Network Executive   [DXM2]
     73      CPHB         Computer Protocol Heart Beat          [DXM2]
     74      WSN          Wang Span Network                      [VXD]
     75      PVP          Packet Video Protocol                  [SC3]
     76      BR-SAT-MON   Backroom SATNET Monitoring             [SHB]
     77      SUN-ND       SUN ND PROTOCOL-Temporary              [WM3]
     78      WB-MON       WIDEBAND Monitoring                    [SHB]
     79      WB-EXPAK     WIDEBAND EXPAK                         [SHB]
     80      ISO-IP       ISO Internet Protocol                  [MTR]
     81      VMTP         VMTP                                  [DRC3]
     82      SECURE-VMTP SECURE-VMTP                           [DRC3]
     83      VINES        VINES                                  [BXH]
     84      TTP          TTP                                    [JXS]
     85      NSFNET-IGP   NSFNET-IGP                             [HWB]
     86      DGP          Dissimilar Gateway Protocol      [DGP,ML109]
     87      TCF          TCF                                   [GAL5]
     88      EIGRP        EIGRP                            [CISCO,GXS]
     89      OSPFIGP      OSPFIGP                       [RFC1583,JTM4]
     90      Sprite-RPC   Sprite RPC Protocol             [SPRITE,BXW]
     91      LARP         Locus Address Resolution Protocol      [BXH]
     92      MTP          Multicast Transport Protocol           [SXA]
     93      AX.25        AX.25 Frames                          [BK29]        
     94      IPIP         IP-within-IP Encapsulation Protocol    [JI6]
     95      MICP         Mobile Internetworking Control Pro.    [JI6]
     96      SCC-SP       Semaphore Communications Sec. Pro.     [HXH]    
     97      ETHERIP      Ethernet-within-IP Encapsulation   [RFC3378]
     98      ENCAP        Encapsulation Header          [RFC1241,RXB3]
     99                  any private encryption scheme         [IANA]
    100      GMTP         GMTP                                  [RXB5]
    101      IFMP         Ipsilon Flow Management Protocol    [Hinden]
    102      PNNI         PNNI over IP                        [Callon]
    103      PIM          Protocol Independent Multicast   [Farinacci]
    104      ARIS         ARIS                               [Feldman]
    105      SCPS         SCPS                                 [Durst]
    106      QNX         QNX                                 [Hunter]
    107     A/N         Active Networks                     [Braden]
    108     IPComp       IP Payload Compression Protocol    [RFC2393]
    109     SNP         Sitara Networks Protocol           [Sridhar]
    110     Compaq-Peer Compaq Peer Protocol                 [Volpe]
    111     IPX-in-IP    IPX in IP                              [Lee]
    112      VRRP        Virtual Router Redundancy Protocol [RFC3768]
    113      PGM          PGM Reliable Transport Protocol   [Speakman]
    114                  any 0-hop protocol                    [IANA]
    115     L2TP         Layer Two Tunneling Protocol         [Aboba]
    116      DDX         D-II Data Exchange (DDX)            [Worley]
    117     IATP       Interactive Agent Transfer Protocol   [Murphy]
    118      STP          Schedule Transfer Protocol             [JMP]
    119      SRP         SpectraLink Radio Protocol        [Hamilton]
    120      UTI       UTI                                  [Lothberg]
    121      SMP       Simple Message Protocol                [Ekblad]
    122     SM        SM                                  [Crowcroft]
    123     PTP       Performance Transparency Protocol       [Welzl]
    124      ISIS over IPv4                              [Przygienda]
    125      FIRE                                         [Partridge]
    126     CRTP      Combat Radio Transport Protocol       [Sautter]
    127     CRUDP     Combat Radio User Datagram            [Sautter]
    128      SSCOPMCE                                         [Waber]
    129      IPLT                                          [Hollbach]
    130      SPS     Secure Packet Shield                   [McIntosh]
    131      PIPE    Private IP Encapsulation within IP        [Petri]
    132      SCTP    Stream Control Transmission Protocol    [Stewart]
    133      FC      Fibre Channel                         [Rajagopal]
    134      RSVP-E2E-IGNORE                                [RFC3175]
    135      Mobility Header                                [RFC3775]
    136      UDPLite                                        [RFC3828]
    137      MPLS-in-IP                                     [RFC4023]
    138-252 Unassigned                                        [IANA]
    253      Use for experimentation and testing            [RFC3692]
    254      Use for experimentation and testing            [RFC3692]
    255                  Reserved                              [IANA

 

 

 

TOPSEC防火墙中的自定义服务:

名称协议端口说明
IP0x0800*Internet Protocol packet
ARP0x0806*Address Resolution packet
LOOP0x0060*Ethernet Loopback packet
PUP0x0200*Xerox PUP packet
PUPAT0x0201*Xerox PUP Addr Trans packet
X250x0805*CCITT X.25
BPQ0x08FF*G8BPQ AX.25 Ethernet Packet
IEEEPUP0x0a00*Xerox IEEE802.3 PUP packet
IEEEPUPAT0x0a01*Xerox IEEE802.3 PUP Addr Trans packet
DEC0x6000*DEC Assigned proto
DNA_DL0x6001*DEC DNA Dump/Load
DNA_RC0x6002*DEC DNA Remote Console
DNA_RT0x6003*DEC DNA Routing
LAT0x6004*DEC LAT
DIAG0x6005*DEC Diagnostics
CUST0x6006*DEC Customer use
SCA0x6007*DEC Systems Comms Arch
RARP0x8035*Reverse Addr Res packet
ATALK0x809B*Appletalk DDP
AARP0x80F3*Appletalk AARP
8021Q0x8100*802.1Q VLAN Extended Header
IPX0x8137*IPX over DIX
IPV60x86DD*IPv6 over bluebook
PPP_DISC0x8863*PPPoE discovery messages
PPP_SES0x8864*PPPoE session messages
ATMMPOA0x884c*MultiProtocol Over ATM
ATMFATE0x8884*Frame-based ATM Transport
ICMP1*Internet Control Message Protocol
IGMP2*Internet Group Management Protocol
IPIP4*IPIP tunnels (older KA9Q tunnels use 94)
TCPTCP|6*Transmission Control Protocol
EGP8*Exterior Gateway Protocol
PUP12*PUP protocol
UDPUDP|17*User Datagram Protocol
IDP22*XNS IDP protocol
RSVP46*RSVP protocol
GRE47*Cisco GRE tunnels (rfc 1701,1702)
IPV641*IPv6-in-IPv4 tunnelling
PIM103*Protocol Independent Multicast
ESP50*Encapsulation Security Payload protocol
AH51*Authentication Header protocol
COMP108*Compression Header protocol
PING18[TYPE]
Echo(TCP)TCP|67
Echo(UDP)UDP|177
Discard(TCPTCP|69
Discard(UDP)UDP|179
Daytime(TCP)TCP|613
Daytime(UDP)UDP|1713
NETSTATTCP|615
Quotd(TCP)TCP|617
Quotd(UDP)UDP|1717
Chargen(TCP)TCP|619
Chargen(UDP)UDP|1719
FTPTCP|621
SSHTCP|622
TELNETTCP|623
SMTPTCP|625
TIME(TCP)TCP|637
TIME(UDP)UDP|1737
WINS_Replication(TCP)TCP|642
WINS_Replication(UDP)UDP|1742
TACACS_PLUSTCP|649
TACACSUDP|1749
TACACS-DSTCP|665
SQL*NETTCP|666
Bootstrap_Server(DHCP)UDP|1767
Bootstrap_ClientUDP|1768
DNS_TransferTCP|653
DNS_QueryUDP|1753
TFTPUDP|1769
GopherTCP|670
FingerTCP|679
HTTPTCP|680
KERBEROS_KEY(TCP)TCP|688
KERBEROS_KEY(UDP)UDP|1788
NPPTCP|692
X.400TCP|6102
RTELNETTCP|6107
SNA_GASTCP|6108
POP3TCP|6110
SUNRPCTCP|6111
AUTHTCP|6113
SQLSERVTCP|6118
NNTPTCP|6119
NTP(TCP)TCP|6123
NTP(UDP)UDP|17123
IMAPTCP|6143
SQL-NETTCP|6150
SQLSRVTCP|6156
SNMPUDP|17161
SNMP-TRAPUDP|17162
XDMCPTCP|6177
BGPTCP|6179
GACPTCP|6190
IRCTCP|6194
DLSTCP|6197
DLS-MONTCP|6198
SRCTCP|6200
WAISTCP|6210
EPMAP(TCP)TCP|6135
EPMAP(UDP)UDP|17135
NETBIOS-NSUDP|17137
NETBIOS-DGMUDP|17138
NETBIOS-SSN(TCP)TCP|6139
NETBIOS-SSN(UDP)UDP|17139
MICROSOFT-DS(UDP)UDP|17445
MICROSOFT-DS(TCP)TCP|6445
HTTP-RPC-EPMAP(UDP)UDP|17593
HTTP-RPC-EPMAP(TCP)TCP|6593
HP-collectorTCP|6381
HP-managed-nodeTCP|6382
HP-alarm-mgrTCP|6383
LDAPTCP|6389
LDAPSTCP|6636
Netware_IPTCP|6396
HTTPSTCP|6443
SNPPTCP|6444
Kerberos_passwd(TCP)TCP|6464
Apple_QTCTCP|6458
RCPTCP|6469
ROUTERUDP|17520
IPSEC_ISAKMPUDP|17500
REXECTCP|6512
RLOGINTCP|6513
WHOUDP|17513
RSHTCP|6514
SYSLOGUDP|17514
LPDTCP|6515
EFSTCP|6520
IBM-DB2TCP|6523
UUCPTCP|6540
DHCPV6_ClientTCP|6546
DHCPV6_ServerTCP|6547
RTSPTCP|6554
NNTPSTCP|6563
MacFileTCP|6548
IIOPUDP|17530
CORBA-IIOPTCP|6683
CORBA-IIOP-SSLTCP|6684
IPCSERVERTCP|6600
KERBEROS-ADMTCP|6749
KERBEROS(TCP)TCP|6750
KERBEROS(UDP)UDP|17750
POP3_over_SSLTCP|6995
SOCKSTCP|61080
WebSphere_admin_bootstrapTCP|6900
WebSphere_admin_admin_lsdTCP|69000
WebSphere_servlet_engineTCP|68110
WebSphere_servlet_redirectorTCP|69367
VosaicTCP|61235
LotusNotesTCP|61352
WINSTCP|61512
MS-SQL-STCP|61433
MS-SQL-MTCP|61434
MS-SQL-RUDP|171434
RADIUS_1645UDP|171645
RADACCT_1645UDP|171646
RADIUS_1812UDP|171812
RADACCT_1813UDP|171813
NFSDUDP|172049
MS_NetMeetingUDP|61503
MS_NetShowTCP|61755
SQLNet_1521TCP|61521
SQLNet_1525TCP|61525
L2TPUDP|171701
PPTPTCP|61723
H.225UDP|171719
H.323TCP|61720
MMSTCP|61755
MSNTCP|61863
NFSTCP|62049
CVSServerTCP|62401
MS_TheaterUDP|172460
UPNPTCP|62869
SquidTCP|63128
MySQLTCP|63306
ClusterUDP|173343
MSTerminalTCP|63389
BINLUDP|174011
NAT-TUDP|174500
RTPUDP|175004
RTCPUDP|175005
AOLTCP|65190
SecurID(TCP)TCP|65510
SecurID(UDP)UDP|175510
pcAnywhereTCP|65632
RealAudio_ctrlTCP|67070
SIP(TCP)TCP|65060
SIP(UDP)UDP|175060
X11TCP|66000
QQUDP|178000
ASP.Net_SessionTCP|642424

 

 

天清汉马防火墙中的预定义服务:

名称内容(协议/源端口-目的端口)引用
anyAll44
ahIP/510
aolTCP/1-65535:5190-51940
bgpTCP/1-65535:1790
bootpcUDP/1-65535:680
bootpsUDP/1-65535:670
daytimeTCP/1-65535:13,UDP/1-65535:130
dhcpUDP/1-65535:67-680
dnsTCP/1-65535:53,UDP/1-65535:530
discardTCP/1-65535:9,UDP/1-65535:90
espIP/500
fingerTCP/1-65535:790
ftpTCP/1-65535:213
gopherTCP/1-65535:700
greIP/470
h323TCP/1-65535:1720,TCP/1-65535:1503,UDP/1-65535:17190
hostnameTCP/1-65535:1010
httpTCP/1-65535:801
httpsTCP/1-65535:4430
icmpIP/10
igmpIP/20
ikeUDP/1-65535:500,UDP/1-65535:45000
imapTCP/1-65535:1430
info_addressICMP/170
info_requestICMP/150
ircTCP/1-65535:6660-66690
internet-locator-serviceTCP/1-65535:3890
l2tpUDP/1-65535:17010
ldapTCP/1-65535:3890
msolap-ptp2TCP/1-65535:27250
ms-olapTCP/1-65535:2393-23940
ms-sql-sTCP/1-65535:14330
ms-sql-mUDP/1-65535:14340
mysqlTCP/1-65535:3306,UDP/1-65535:33060
netmeetingTCP/1-65535:17200
netbios-nsTCP/1-65535:137,UDP/1-65535:1370
netbios-dgmTCP/1-65535:138,UDP/1-65535:1380
netbios-ssnTCP/1-65535:139,UDP/1-65535:1390
nfsTCP/1-65535:111,UDP/1-65535:111,TCP/1-65535:2049,UDP/1-65535:20490
nicnameTCP/1-65535:430
nntpTCP/1-65535:1190
ntpTCP/1-65535:123,UDP/1-65535:1230
onc-rpcTCP/1-65535:111,UDP/1-65535:1110
ospfIP/891
pc-anywhereTCP/1-65535:5631,UDP/1-65535:56320
pimIP/1030
pingICMP/83
ping6IP/580
pop2TCP/1-65535:109,UDP/1-65535:1090
pop3TCP/1-65535:110,UDP/1-65535:1100
pptpIP/47,TCP/1-65535:17230
printerTCP/1-65535:5150
quakeUDP/1-65535:26000,UDP/1-65535:27000,UDP/1-65535:27910,UDP/1-65535:279600
radiusUDP/1-65535:18120
radius-acctTCP/1-65535:1813,UDP/1-65535:18130
raudioUDP/1-65535:70700
rexecTCP/1-65535:5120
ripUDP/1-65535:5200
rloginTCP/1-65535:5130
rshTCP/1-65535:5140
rtspTCP/1-65535:554,UDP/1-65535:554,TCP/1-65535:7070,UDP/1-65535:7070,TCP/1-65535:8080,UDP/1-65535:8080,TCP/1-65535:800
sambaTCP/1-65535:1390
sccpTCP/1-65535:20000
sipUDP/1-65535:50600
sip-msnmessengerTCP/1-65535:18630
shellTCP/1-65535:5140
smtpTCP/1-65535:250
smuxTCP/1-65535:1990
snmpTCP/1-65535:161-162,UDP/1-65535:161-1620
socksTCP/1-65535:1080,UDP/1-65535:10800
squidTCP/1-65535:3128,UDP/1-65535:31280
sshTCP/1-65535:221
syslogUDP/1-65535:5140
talkUDP/1-65535:517-5180
tcpIP/60
telnetTCP/1-65535:230
tftpUDP/1-65535:690
timeUDP/1-65535:370
timestampICMP/130
tproxyTCP/1-65535:8081,UDP/1-65535:80810
udpIP/170
uucpTCP/1-65535:5400
vdoliveTCP/1-65535:7000-70100
waisTCP/1-65535:2100
webcacheTCP/1-65535:8080,UDP/1-65535:80800
winframeTCP/1-65535:14940
whoUDP/1-65535:5130
x-windowsTCP/1-65535:6000-60630
 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值