⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poport.c

📁 Linux 上的socket嗅探器
💻 C
📖 第 1 页 / 共 3 页
字号:
/*
 *
 * Copyright (C) 2003 Xiangbin Lee <honeycombs@sina.com> <honeycombs@263.net>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software Foundation.
 */


#include "poport.h"


ETH_P_TYPE populer_port[MAX_POPULERPORT]=
{
    { "reserved", 0, "Reserved [JBP]"},
    { "TCPmux", 1, "Port Service Multiplexer [MKL]"},
    { "compressnet", 2, "Management Utility [BV15]"},
    { "compressnet", 3, "Compression Process [BV15]"},
    { "rje", 5, "Remote Job Entry [12,JBP]"},
    { "echo", 7, "Echo [95,JBP]"},
    { "discard", 9, "Discard [94,JBP]"},
    { "systat", 11, "Active Users [89,JBP]"},
    { "daytime", 13, "Daytime [93,JBP]"},
    { "netstat", 15, "TCP Netstat"},
    { "qotd", 17, "Quote of the Day [100,JBP]"},
    { "msp", 18, "Message Send Protocol [RXN]"},
    { "chargen", 19, "ttytst source Character Generator"},
    { "ftp-data", 20, "File Transfer [Default Data] [96,JBP]"},
    { "ftp", 21, "File Transfer [Control] [96,JBP]"},
    { "ssh", 22, "TCP Secure Shell - RSA encrypted rsh"},
    { "telnet", 23, "Telnet [112,JBP]"},
    { "priv-mail", 24, "any private mail system [RA11]"},
    { "smtp", 25, "Simple Mail Transfer [102,JBP]"},
    { "nsw-fe", 27, "NSW User System FE [24,RHT]"},
    { "msg-icp", 29, "MSG ICP [85,RHT]"},
    { "msg-auth", 31, "MSG Authentication [85,RHT]"},
    { "dsp", 33, "Display Support Protocol [EXC]"},
    { "priv-print", 35, "any private printer server [JBP]"},
    { "time", 37, "Time [108,JBP]"},
    { "rap", 38, "Route Access Protocol"},
    { "rlp", 39, "resource Resource Location Protocol"},
    { "graphics", 41, "Graphics [129,JBP]"},
    { "nameserver", 42, "Host Name Server [99,JBP]"},
    { "nicname", 43, "Who Is [55,ANM2]"},
    { "mpm-flags", 44, "MPM FLAGS Protocol [JBP]"},
    { "mpm", 45, "Message Processing Module [recv] [98,JBP]"},
    { "mpm-snd", 46, "MPM [default send] [98,JBP]"},
    { "ni-ftp", 47, "NI FTP [134,SK8]"},
    { "auditd", 48, "Digital Audit Daemon"},
    { "login", 49, "Login Host Protocol [PHD1]"},
    { "re-mail-ck", 50, "Remote Mail Checking Protocol [171,SXD1]"},
    { "la-maint", 51, "IMP Logical Address Maintenance [76,AGM]"},
    { "xns-time", 52, "XNS Time Protocol [SXA]"},
    { "domain", 53, "Domain Name Server [81,95,PM1]"},
    { "xns-ch", 54, "XNS Clearinghouse [SXA]"},
    { "isi-gl", 55, "ISI Graphics Language [7,RB9]"},
    { "xns-auth", 56, "XNS Authentication [SXA]"},
    { "mtp", 57, "any private terminal access [JBP]"},
    { "xns-mail", 58, "XNS Mail [SXA]"},
    { "priv-file", 59, "any private file service [JBP]"},
    { "ni-mail", 61, "NI MAIL [5,SK8]"},
    { "acas", 62, "ACA Services [EXW]"},
    { "via-ftp", 63, "VIA Systems - FTP [DXD]"},
    { "covia", 64, "Communications Integrator (CI) [TXD]"},
    { "tacacs-ds", 65, "TACACS-Database Service [3,KH43]"},
    { "sql*net", 66, "Oracle SQL*NET [JFH2]"},
    { "bootps", 67, "Bootstrap Protocol Server [36,WJC2]"},
    { "bootpc", 68, "Bootstrap Protocol Client [36,WJC2]"},
    { "tftp", 69, "Trivial File Transfer [126,DDC1]"},
    { "gopher", 70, "Gopher [MXC1]"},
    { "netrjs-1", 71, "Remote Job Service [10,RTB3]"},
    { "netrjs-2", 72, "Remote Job Service [10,RTB3]"},
    { "netrjs-3", 73, "Remote Job Service [10,RTB3]"},
    { "netrjs-4", 74, "Remote Job Service [10,RTB3]"},
    { "priv-dial", 75, "any private dial out service [JBP]"},
    { "deos", 76, "Distributed External Object Store"},
    { "netrjs", 77, "any private RJE service [JBP]"},
    { "vetTCP", 78, "vetTCP [CXL1]"},
    { "finger", 79, "Finger [52,KLH]"},
    { "http", 80, "www www-http World Wide Web HTTP"},
    { "hosts2-ns", 81, "HOSTS2 Name Server [EAK1]"},
    { "xfer", 82, "XFER Utility [TXS2]"},
    { "mit-ml-dev", 83, "MIT ML Device [DXR3]"},
    { "ctf", 84, "Common Trace Facility [HXT]"},
    { "mit-ml-dev", 85, "MIT ML Device [DXR3]"},
    { "mfcobol", 86, "Micro Focus Cobol [SXE]"},
    { "priv-term-l", 87, "any private terminal link [JBP]"},
    { "kerberos", 88, "Kerberos [BCN]"},
    { "su-mit-tg", 89, "SU/MIT Telnet Gateway [MRC]"},
    { "dnsix", 90, "DNSIX Securit Attribute Token Map [CXW1]"},
    { "mit-dov", 91, "MIT Dover Spooler [EBM]"},
    { "npp", 92, "Network Printing Protocol [LXM]"},
    { "dcp", 93, "Device Control Protocol [DT15]"},
    { "objcall", 94, "Tivoli Object Dispatcher [TXB1]"},
    { "supdup", 95, "SUPDUP [27,MRC]"},
    { "dixie", 96, "DIXIE Protocol Specification [TXH1]"},
    { "swift-rvf", 97, "Swift Remote Vitural File Protocol [MXR]"},
    { "tacnews", 98, "TAC News [ANM2]"},
    { "metagram", 99, "Metagram Relay [GEOF]"},
    { "newacct", 100, "TCP [unauthorized use]"},
    { "hostname", 101, "hostnames NIC Host Name Server"},
    { "iso-tsap", 102, "tsap ISO-TSAP Class 0"},
    { "gppitnp", 103, "Genesis Point-to-Point Trans Net [PXM1]"},
    { "acr-nema", 104, "ACR-NEMA Digital Imag. & Comm. 300 [PXM1]"},
    { "csnet-ns", 105, "Mailbox Name Nameserver [127,MS56]"},
    { "3com-tsmux", 106, "3COM-TSMUX [JXS5]"},
    { "rtelnet", 107, "Remote Telnet Service [101,JBP]"},
    { "snagas", 108, "SNA Gateway Access Server [KXM]"},
    { "pop2", 109, "postoffice Post Office Protocol - Version 2"},
    { "pop3", 110, "Post Office Protocol - Version 3 [122,MTR]"},
    { "sunrpc", 111, "rpcbind SUN Remote Procedure Call"},
    { "mcidas", 112, "McIDAS Data Transmission Protocol [GXD]"},
    { "auth", 113, "Authentication Service [130,MCSJ]"},
    { "audionews", 114, "Audio News Multicast [MXF2]"},
    { "sftp", 115, "Simple File Transfer Protocol [73,MKL1]"},
    { "ansanotify", 116, "ANSA REX Notify [NXH]"},
    { "uucp-path", 117, "UUCP Path Service [44,MAE]"},
    { "sqlserv", 118, "SQL Services [LXB3]"},
    { "nntp", 119, "Network News Transfer Protocol [65,PL4]"},
    { "cfdptkt", 120, "CFDPTKT [JXO3]"},
    { "erpc", 121, "Encore Expedited Remote Pro.Call [132,JXO]"},
    { "smakynet", 122, "SMAKYNET [MXO]"},
    { "ntp", 123, "Network Time Protocol [80,DLM1]"},
    { "ansatrader", 124, "ANSA REX Trader [NXH]"},
    { "locus-map", 125, "Locus PC-Interface Net Map Ser [137,EP53]"},
    { "unitary", 126, "Unisys Unitary Login [FEIL]"},
    { "locus-con", 127, "Locus PC-Interface Conn Server [137,EP53]"},
    { "gss-xlicen", 128, "GSS X License Verification [JXL]"},
    { "pwdgen", 129, "Password Generator Protocol [141,FJW]"},
    { "cisco-fna", 130, "cisco FNATIVE [WXB]"},
    { "cisco-tna", 131, "cisco TNATIVE [WXB]"},
    { "cisco-sys", 132, "cisco SYSMAINT [WXB]"},
    { "statsrv", 133, "Statistics Service [DLM1]"},
    { "ingres-net", 134, "INGRES-NET Service [MXB]"},
    { "loc-srv", 135, "Location Service [JXP]"},
    { "profile", 136, "PROFILE Naming System [LLP]"},
    { "netbios-ns", 137, "NETBIOS Name Service [JBP]"},
    { "netbios-dgm", 138, "NETBIOS Datagram Service [JBP]"},
    { "netbios-ssn", 139, "NETBIOS Session Service [JBP]"},
    { "emfis-data", 140, "EMFIS Data Service [GB7]"},
    { "emfis-cntl", 141, "EMFIS Control Service [GB7]"},
    { "bl-idm", 142, "Britton-Lee IDM [SXS1]"},
    { "imap2", 143, "Interim Mail Access Protocol v2 [MRC]"},
    { "NeWS", 144, "Window System"},
    { "uaac", 145, "UAAC Protocol [DAG4]"},
    { "iso-tp0", 146, "ISO-IP0 [86,MTR]"},
    { "iso-ip", 147, "ISO-IP [MTR]"},
    { "cronus", 148, "CRONUS-SUPPORT [135,JXB]"},
    { "aed-512", 149, "AED 512 Emulation Service [AXB]"},
    { "sql-net", 150, "SQL-NET [MXP]"},
    { "hems", 151, "HEMS [87,CXT]"},
    { "bftp", 152, "Background File Transfer Program [AD14]"},
    { "sgmp", 153, "SGMP [37,MS9]"},
    { "netsc-prod", 154, "NETSC [SH37]"},
    { "netsc-dev", 155, "NETSC [SH37]"},
    { "sqlsrv", 156, "SQL Service [CMR]"},
    { "knet-cmp", 157, "KNET/VM Command/Message Protocol[77,GSM11]"},
    { "pcmail-srv", 158, "PCMail Server [19,MXL]"},
    { "nss-routing", 159, "NSS-Routing [JXR]"},
    { "sgmp-traps", 160, "SGMP-TRAPS [37,MS9]"},
    { "snmp", 161, "SNMP [15,MTR]"},
    { "snmptrap", 162, "SNMPTRAP [15,MTR]"},
    { "cmip-man", 163, "CMIP/TCP Manager [4,AXB1]"},
    { "cmip-agent", 164, "CMIP/TCP Agent"},
    { "xns-courier", 165, "Xerox [144,SXA]"},
    { "s-net", 166, "Sirius Systems [BXL]"},
    { "namp", 167, "NAMP [MS9]"},
    { "rsvd", 168, "RSVD [NT12]"},
    { "send", 169, "SEND [WDW11]"},
    { "print-srv", 170, "Network PostScript [BKR]"},
    { "multiplex", 171, "Network Innovations Multiplex [KXD]"},
    { "cl/1", 172, "Network Innovations CL/1 [KXD]"},
    { "xyplex-mux", 173, "Xyplex [BXS]"},
    { "mailq", 174, "MAILQ [RXZ]"},
    { "vmnet", 175, "VMNET [CXT]"},
    { "genrad-mux", 176, "GENRAD-MUX [RXT]"},
    { "xdmcp", 177, "X Display Manager Control Protocol [RWS4]"},
    { "NextStep", 178, "NextStep NeXTStep NextStep Window Server"},
    { "bgp", 179, "Border Gateway Protocol [KSL]"},
    { "ris", 180, "Intergraph [DXB]"},
    { "unify", 181, "Unify [VXS]"},
    { "audit", 182, "Unisys Audit SITP [GXG]"},
    { "ocbinder", 183, "OCBinder [JXO1]"},
    { "ocserver", 184, "OCServer [JXO1]"},
    { "remote-kis", 185, "Remote-KIS [RXD1]"},
    { "kis", 186, "KIS Protocol [RXD1]"},
    { "aci", 187, "Application Communication Interface [RXC1]"},
    { "mumps", 188, "Plus Five's MUMPS [HS23]"},
    { "qft", 189, "Queued File Transport [WXS]"},
    { "cacp", 190, "Gateway Access Control Protocol"},
    { "prospero", 191, "Prospero Directory Service"},
    { "osu-nms", 192, "OSU Network Monitoring System [DXK]"},
    { "srmp", 193, "Spider Remote Monitoring Protocol [TXS]"},
    { "irc", 194, "Internet Relay Chat Protocol [JXO2]"},
    { "dn6-nlm-aud", 195, "DNSIX Network Level Module Audit [LL69]"},
    { "dn6-smm-red", 196, "DNSIX Session Mgt Module Audit Redir[LL69]"},
    { "dls", 197, "Directory Location Service [SXB]"},
    { "dls-mon", 198, "Directory Location Service Monitor [SXB]"},
    { "smux", 199, "SMUX [MTR]"},
    { "src", 200, "IBM System Resource Controller [GXM]"},
    { "at-rtmp", 201, "AppleTalk Routing Maintenance [RXC]"},
    { "at-nbp", 202, "AppleTalk Name Binding [RXC]"},
    { "at-3", 203, "AppleTalk Unused [RXC]"},
    { "at-echo", 204, "AppleTalk Echo [RXC]"},
    { "at-5", 205, "AppleTalk Unused [RXC]"},
    { "at-zis", 206, "AppleTalk Zone Information [RXC]"},
    { "at-7", 207, "AppleTalk Unused [RXC]"},
    { "at-8", 208, "AppleTalk Unused [RXC]"},
    { "tam", 209, "Trivial Authenticated Mail Protocol [DXB1]"},
    { "z39.50", 210, "ANSI Z39.50 [MXN]"},
    { "914c/g", 211, "Texas Instruments 914C/G Terminal [BXH1]"},
    { "anet", 212, "ATEXSSTR [JXT]"},
    { "ipx", 213, "IPX [DP666]"},
    { "vmpwscs", 214, "VM PWSCS [DXS]"},
    { "softpc", 215, "Insignia Solutions [MXT]"},
    { "atls", 216, "Access Technology License Server [LXD]"},
    { "dbase", 217, "dBASE Unix [DXG1]"},
    { "mpp", 218, "Netix Message Posting Protocol [STY]"},
    { "uarps", 219, "Unisys ARPs [AXM1]"},
    { "imap3", 220, "Interactive Mail Access Protocol v3 [JXR2]"},
    { "fln-spx", 221, "Berkeley rlogind with SPX auth [KXA]"},
    { "fsh-spx", 222, "Berkeley rshd with SPX auth [KXA]"},
    { "cdc", 223, "Certificate Distribution Center [KXA]"},
    { "sur-meas", 243, "Survey Measurement [6,DDC1]"},
    { "link", 245, "LINK [1,RDB2]"},
    { "dsp3270", 246, "Display Systems Protocol [39,WJS1]"},
    { "pdap", 344, "Prospero Data Access Protocol"},
    { "pawserv", 345, "Perf Analysis Workbench"},
    { "zserv", 346, "Zebra server"},
    { "fatserv", 347, "Fatmen Server"},
    { "csi-sgwp", 348, "Cabletron Management Protocol"},
    { "clearcase", 371, "Clearcase [DXL1]"},
    { "ulistserv", 372, "Unix Listserv [AXK]"},
    { "legent-1", 373, "Legent Corporation [KXB]"},
    { "legent-2", 374, "Legent Corporation [KXB]"},
    { "hassle", 375, "hassle"},
    { "nip", 376, "Amiga Envoy Network Inquiry Proto"},
    { "tnETOS", 377, "NEC Corporation"},
    { "dsETOS", 378, "NEC Corporation"},
    { "is99c", 379, "TIA/EIA/IS-99 modem client"},
    { "is99s", 380, "TIA/EIA/IS-99 modem server"},
    { "hp-collector", 381, "hp performance data collector"},
    { "hp-managed-node", 382, "hp performance data managed node"},
    { "hp-alarm-mgr", 383, "hp performance data alarm manager"},
    { "arns", 384, "A Remote Network Server System"},
    { "ibm-app", 385, "TCP IBM Application"},
    { "asa", 386, "ASA Message Router Object Def."},
    { "aurp", 387, "Appletalk Update-Based Routing Pro."},
    { "unidata-ldm", 388, "Unidata LDM Version 4"},
    { "ldap", 389, "Lightweight Directory Access Protocol"},
    { "uis", 390, "uis"},
    { "synotics-relay", 391, "SynOptics SNMP Relay Port"},
    { "synotics-broker", 392, "SynOptics Port Broker Port"},
    { "dis", 393, "Data Interpretation System"},
    { "embl-ndt", 394, "EMBL Nucleic Data Transfer"},
    { "neTCP", 395, "NETscout Control Protocol"},
    { "netware-ip", 396, "Novell Netware over IP"},
    { "mptn", 397, "Multi Protocol Trans. Net."},
    { "kryptolan", 398, "kryptolan"},
    { "iso-tsap-c2", 399, "ISO-TSAP Class 2"},
    { "work-sol", 400, "Workstation Solutions"},
    { "ups", 401, "Uninterruptible Power Supply"},
    { "genie", 402, "Genie Protocol"},
    { "decap", 403, "decap"},
    { "nced", 404, "nced"},
    { "ncld", 405, "ncld"},
    { "imsp", 406, "Interactive Mail Support Protocol"},
    { "timbuktu", 407, "timbuktu"},
    { "prm-sm", 408, "Prospero Resource Manager Sys. Man."},
    { "prm-nm", 409, "Prospero Resource Manager Node Man."},
    { "decladebug", 410, "DECLadebug Remote Debug Protocol"},
    { "rmt", 411, "Remote MT Protocol"},
    { "synoptics-trap", 412, "Trap Convention Port"},
    { "smsp", 413, "smsp"},
    { "infoseek", 414, "infoseek"},
    { "bnet", 415, "bnet"},
    { "silverplatter", 416, "silverplatter"},

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -