PageRenderTime 155ms CodeModel.GetById 44ms app.highlight 99ms RepoModel.GetById 1ms app.codeStats 0ms

/src/ares/ares_platform.c

http://github.com/joyent/libuv
C | 1530 lines | 1490 code | 20 blank | 20 comment | 3 complexity | 758eb9c9992c1fc871e8eaefea9af7f5 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1
   2
   3/* Copyright 1998 by the Massachusetts Institute of Technology.
   4 * Copyright (C) 2004 - 2011 by Daniel Stenberg et al
   5 *
   6 * Permission to use, copy, modify, and distribute this
   7 * software and its documentation for any purpose and without
   8 * fee is hereby granted, provided that the above copyright
   9 * notice appear in all copies and that both that copyright
  10 * notice and this permission notice appear in supporting
  11 * documentation, and that the name of M.I.T. not be used in
  12 * advertising or publicity pertaining to distribution of the
  13 * software without specific, written prior permission.
  14 * M.I.T. makes no representations about the suitability of
  15 * this software for any purpose.  It is provided "as is"
  16 * without express or implied warranty.
  17 */
  18
  19#include "ares_setup.h"
  20
  21#include "ares.h"
  22#include "ares_platform.h"
  23#include "ares_nowarn.h"
  24#include "ares_private.h"
  25
  26#if defined(WIN32) && !defined(MSDOS)
  27
  28#define V_PLATFORM_WIN32s         0
  29#define V_PLATFORM_WIN32_WINDOWS  1
  30#define V_PLATFORM_WIN32_NT       2
  31#define V_PLATFORM_WIN32_CE       3
  32
  33win_platform ares__getplatform(void)
  34{
  35  OSVERSIONINFOEX OsvEx;
  36
  37  memset(&OsvEx, 0, sizeof(OsvEx));
  38  OsvEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
  39  if (!GetVersionEx((void *)&OsvEx))
  40    {
  41      memset(&OsvEx, 0, sizeof(OsvEx));
  42      OsvEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
  43      if (!GetVersionEx((void *)&OsvEx))
  44        return WIN_UNKNOWN;
  45    }
  46
  47  switch(OsvEx.dwPlatformId)
  48    {
  49      case V_PLATFORM_WIN32s:
  50        return WIN_3X;
  51
  52      case V_PLATFORM_WIN32_WINDOWS:
  53        return WIN_9X;
  54
  55      case V_PLATFORM_WIN32_NT:
  56        return WIN_NT;
  57
  58      case V_PLATFORM_WIN32_CE:
  59        return WIN_CE;
  60
  61      default:
  62        return WIN_UNKNOWN;
  63    }
  64}
  65
  66#endif /* WIN32 && ! MSDOS */
  67
  68#if defined(_WIN32_WCE)
  69
  70/* IANA Well Known Ports are in range 0-1023 */
  71#define USE_IANA_WELL_KNOWN_PORTS 1
  72
  73/* IANA Registered Ports are in range 1024-49151 */
  74#define USE_IANA_REGISTERED_PORTS 1
  75
  76struct pvt_servent {
  77  char           *s_name;
  78  char          **s_aliases;
  79  unsigned short  s_port;
  80  char           *s_proto;
  81};
  82
  83/*
  84 * Ref: http://www.iana.org/assignments/port-numbers
  85 */
  86
  87static struct pvt_servent IANAports[] = {
  88#ifdef USE_IANA_WELL_KNOWN_PORTS
  89{"tcpmux",             {NULL}, 1, "tcp"},
  90{"tcpmux",             {NULL}, 1, "udp"},
  91{"compressnet",        {NULL}, 2, "tcp"},
  92{"compressnet",        {NULL}, 2, "udp"},
  93{"compressnet",        {NULL}, 3, "tcp"},
  94{"compressnet",        {NULL}, 3, "udp"},
  95{"rje",                {NULL}, 5, "tcp"},
  96{"rje",                {NULL}, 5, "udp"},
  97{"echo",               {NULL}, 7, "tcp"},
  98{"echo",               {NULL}, 7, "udp"},
  99{"discard",            {NULL}, 9, "tcp"},
 100{"discard",            {NULL}, 9, "udp"},
 101{"discard",            {NULL}, 9, "sctp"},
 102{"discard",            {NULL}, 9, "dccp"},
 103{"systat",             {NULL}, 11, "tcp"},
 104{"systat",             {NULL}, 11, "udp"},
 105{"daytime",            {NULL}, 13, "tcp"},
 106{"daytime",            {NULL}, 13, "udp"},
 107{"qotd",               {NULL}, 17, "tcp"},
 108{"qotd",               {NULL}, 17, "udp"},
 109{"msp",                {NULL}, 18, "tcp"},
 110{"msp",                {NULL}, 18, "udp"},
 111{"chargen",            {NULL}, 19, "tcp"},
 112{"chargen",            {NULL}, 19, "udp"},
 113{"ftp-data",           {NULL}, 20, "tcp"},
 114{"ftp-data",           {NULL}, 20, "udp"},
 115{"ftp-data",           {NULL}, 20, "sctp"},
 116{"ftp",                {NULL}, 21, "tcp"},
 117{"ftp",                {NULL}, 21, "udp"},
 118{"ftp",                {NULL}, 21, "sctp"},
 119{"ssh",                {NULL}, 22, "tcp"},
 120{"ssh",                {NULL}, 22, "udp"},
 121{"ssh",                {NULL}, 22, "sctp"},
 122{"telnet",             {NULL}, 23, "tcp"},
 123{"telnet",             {NULL}, 23, "udp"},
 124{"smtp",               {NULL}, 25, "tcp"},
 125{"smtp",               {NULL}, 25, "udp"},
 126{"nsw-fe",             {NULL}, 27, "tcp"},
 127{"nsw-fe",             {NULL}, 27, "udp"},
 128{"msg-icp",            {NULL}, 29, "tcp"},
 129{"msg-icp",            {NULL}, 29, "udp"},
 130{"msg-auth",           {NULL}, 31, "tcp"},
 131{"msg-auth",           {NULL}, 31, "udp"},
 132{"dsp",                {NULL}, 33, "tcp"},
 133{"dsp",                {NULL}, 33, "udp"},
 134{"time",               {NULL}, 37, "tcp"},
 135{"time",               {NULL}, 37, "udp"},
 136{"rap",                {NULL}, 38, "tcp"},
 137{"rap",                {NULL}, 38, "udp"},
 138{"rlp",                {NULL}, 39, "tcp"},
 139{"rlp",                {NULL}, 39, "udp"},
 140{"graphics",           {NULL}, 41, "tcp"},
 141{"graphics",           {NULL}, 41, "udp"},
 142{"name",               {NULL}, 42, "tcp"},
 143{"name",               {NULL}, 42, "udp"},
 144{"nameserver",         {NULL}, 42, "tcp"},
 145{"nameserver",         {NULL}, 42, "udp"},
 146{"nicname",            {NULL}, 43, "tcp"},
 147{"nicname",            {NULL}, 43, "udp"},
 148{"mpm-flags",          {NULL}, 44, "tcp"},
 149{"mpm-flags",          {NULL}, 44, "udp"},
 150{"mpm",                {NULL}, 45, "tcp"},
 151{"mpm",                {NULL}, 45, "udp"},
 152{"mpm-snd",            {NULL}, 46, "tcp"},
 153{"mpm-snd",            {NULL}, 46, "udp"},
 154{"ni-ftp",             {NULL}, 47, "tcp"},
 155{"ni-ftp",             {NULL}, 47, "udp"},
 156{"auditd",             {NULL}, 48, "tcp"},
 157{"auditd",             {NULL}, 48, "udp"},
 158{"tacacs",             {NULL}, 49, "tcp"},
 159{"tacacs",             {NULL}, 49, "udp"},
 160{"re-mail-ck",         {NULL}, 50, "tcp"},
 161{"re-mail-ck",         {NULL}, 50, "udp"},
 162{"la-maint",           {NULL}, 51, "tcp"},
 163{"la-maint",           {NULL}, 51, "udp"},
 164{"xns-time",           {NULL}, 52, "tcp"},
 165{"xns-time",           {NULL}, 52, "udp"},
 166{"domain",             {NULL}, 53, "tcp"},
 167{"domain",             {NULL}, 53, "udp"},
 168{"xns-ch",             {NULL}, 54, "tcp"},
 169{"xns-ch",             {NULL}, 54, "udp"},
 170{"isi-gl",             {NULL}, 55, "tcp"},
 171{"isi-gl",             {NULL}, 55, "udp"},
 172{"xns-auth",           {NULL}, 56, "tcp"},
 173{"xns-auth",           {NULL}, 56, "udp"},
 174{"xns-mail",           {NULL}, 58, "tcp"},
 175{"xns-mail",           {NULL}, 58, "udp"},
 176{"ni-mail",            {NULL}, 61, "tcp"},
 177{"ni-mail",            {NULL}, 61, "udp"},
 178{"acas",               {NULL}, 62, "tcp"},
 179{"acas",               {NULL}, 62, "udp"},
 180{"whois++",            {NULL}, 63, "tcp"},
 181{"whois++",            {NULL}, 63, "udp"},
 182{"covia",              {NULL}, 64, "tcp"},
 183{"covia",              {NULL}, 64, "udp"},
 184{"tacacs-ds",          {NULL}, 65, "tcp"},
 185{"tacacs-ds",          {NULL}, 65, "udp"},
 186{"sql*net",            {NULL}, 66, "tcp"},
 187{"sql*net",            {NULL}, 66, "udp"},
 188{"bootps",             {NULL}, 67, "tcp"},
 189{"bootps",             {NULL}, 67, "udp"},
 190{"bootpc",             {NULL}, 68, "tcp"},
 191{"bootpc",             {NULL}, 68, "udp"},
 192{"tftp",               {NULL}, 69, "tcp"},
 193{"tftp",               {NULL}, 69, "udp"},
 194{"gopher",             {NULL}, 70, "tcp"},
 195{"gopher",             {NULL}, 70, "udp"},
 196{"netrjs-1",           {NULL}, 71, "tcp"},
 197{"netrjs-1",           {NULL}, 71, "udp"},
 198{"netrjs-2",           {NULL}, 72, "tcp"},
 199{"netrjs-2",           {NULL}, 72, "udp"},
 200{"netrjs-3",           {NULL}, 73, "tcp"},
 201{"netrjs-3",           {NULL}, 73, "udp"},
 202{"netrjs-4",           {NULL}, 74, "tcp"},
 203{"netrjs-4",           {NULL}, 74, "udp"},
 204{"deos",               {NULL}, 76, "tcp"},
 205{"deos",               {NULL}, 76, "udp"},
 206{"vettcp",             {NULL}, 78, "tcp"},
 207{"vettcp",             {NULL}, 78, "udp"},
 208{"finger",             {NULL}, 79, "tcp"},
 209{"finger",             {NULL}, 79, "udp"},
 210{"http",               {NULL}, 80, "tcp"},
 211{"http",               {NULL}, 80, "udp"},
 212{"www",                {NULL}, 80, "tcp"},
 213{"www",                {NULL}, 80, "udp"},
 214{"www-http",           {NULL}, 80, "tcp"},
 215{"www-http",           {NULL}, 80, "udp"},
 216{"http",               {NULL}, 80, "sctp"},
 217{"xfer",               {NULL}, 82, "tcp"},
 218{"xfer",               {NULL}, 82, "udp"},
 219{"mit-ml-dev",         {NULL}, 83, "tcp"},
 220{"mit-ml-dev",         {NULL}, 83, "udp"},
 221{"ctf",                {NULL}, 84, "tcp"},
 222{"ctf",                {NULL}, 84, "udp"},
 223{"mit-ml-dev",         {NULL}, 85, "tcp"},
 224{"mit-ml-dev",         {NULL}, 85, "udp"},
 225{"mfcobol",            {NULL}, 86, "tcp"},
 226{"mfcobol",            {NULL}, 86, "udp"},
 227{"kerberos",           {NULL}, 88, "tcp"},
 228{"kerberos",           {NULL}, 88, "udp"},
 229{"su-mit-tg",          {NULL}, 89, "tcp"},
 230{"su-mit-tg",          {NULL}, 89, "udp"},
 231{"dnsix",              {NULL}, 90, "tcp"},
 232{"dnsix",              {NULL}, 90, "udp"},
 233{"mit-dov",            {NULL}, 91, "tcp"},
 234{"mit-dov",            {NULL}, 91, "udp"},
 235{"npp",                {NULL}, 92, "tcp"},
 236{"npp",                {NULL}, 92, "udp"},
 237{"dcp",                {NULL}, 93, "tcp"},
 238{"dcp",                {NULL}, 93, "udp"},
 239{"objcall",            {NULL}, 94, "tcp"},
 240{"objcall",            {NULL}, 94, "udp"},
 241{"supdup",             {NULL}, 95, "tcp"},
 242{"supdup",             {NULL}, 95, "udp"},
 243{"dixie",              {NULL}, 96, "tcp"},
 244{"dixie",              {NULL}, 96, "udp"},
 245{"swift-rvf",          {NULL}, 97, "tcp"},
 246{"swift-rvf",          {NULL}, 97, "udp"},
 247{"tacnews",            {NULL}, 98, "tcp"},
 248{"tacnews",            {NULL}, 98, "udp"},
 249{"metagram",           {NULL}, 99, "tcp"},
 250{"metagram",           {NULL}, 99, "udp"},
 251{"newacct",            {NULL}, 100, "tcp"},
 252{"hostname",           {NULL}, 101, "tcp"},
 253{"hostname",           {NULL}, 101, "udp"},
 254{"iso-tsap",           {NULL}, 102, "tcp"},
 255{"iso-tsap",           {NULL}, 102, "udp"},
 256{"gppitnp",            {NULL}, 103, "tcp"},
 257{"gppitnp",            {NULL}, 103, "udp"},
 258{"acr-nema",           {NULL}, 104, "tcp"},
 259{"acr-nema",           {NULL}, 104, "udp"},
 260{"cso",                {NULL}, 105, "tcp"},
 261{"cso",                {NULL}, 105, "udp"},
 262{"csnet-ns",           {NULL}, 105, "tcp"},
 263{"csnet-ns",           {NULL}, 105, "udp"},
 264{"3com-tsmux",         {NULL}, 106, "tcp"},
 265{"3com-tsmux",         {NULL}, 106, "udp"},
 266{"rtelnet",            {NULL}, 107, "tcp"},
 267{"rtelnet",            {NULL}, 107, "udp"},
 268{"snagas",             {NULL}, 108, "tcp"},
 269{"snagas",             {NULL}, 108, "udp"},
 270{"pop2",               {NULL}, 109, "tcp"},
 271{"pop2",               {NULL}, 109, "udp"},
 272{"pop3",               {NULL}, 110, "tcp"},
 273{"pop3",               {NULL}, 110, "udp"},
 274{"sunrpc",             {NULL}, 111, "tcp"},
 275{"sunrpc",             {NULL}, 111, "udp"},
 276{"mcidas",             {NULL}, 112, "tcp"},
 277{"mcidas",             {NULL}, 112, "udp"},
 278{"ident",              {NULL}, 113, "tcp"},
 279{"auth",               {NULL}, 113, "tcp"},
 280{"auth",               {NULL}, 113, "udp"},
 281{"sftp",               {NULL}, 115, "tcp"},
 282{"sftp",               {NULL}, 115, "udp"},
 283{"ansanotify",         {NULL}, 116, "tcp"},
 284{"ansanotify",         {NULL}, 116, "udp"},
 285{"uucp-path",          {NULL}, 117, "tcp"},
 286{"uucp-path",          {NULL}, 117, "udp"},
 287{"sqlserv",            {NULL}, 118, "tcp"},
 288{"sqlserv",            {NULL}, 118, "udp"},
 289{"nntp",               {NULL}, 119, "tcp"},
 290{"nntp",               {NULL}, 119, "udp"},
 291{"cfdptkt",            {NULL}, 120, "tcp"},
 292{"cfdptkt",            {NULL}, 120, "udp"},
 293{"erpc",               {NULL}, 121, "tcp"},
 294{"erpc",               {NULL}, 121, "udp"},
 295{"smakynet",           {NULL}, 122, "tcp"},
 296{"smakynet",           {NULL}, 122, "udp"},
 297{"ntp",                {NULL}, 123, "tcp"},
 298{"ntp",                {NULL}, 123, "udp"},
 299{"ansatrader",         {NULL}, 124, "tcp"},
 300{"ansatrader",         {NULL}, 124, "udp"},
 301{"locus-map",          {NULL}, 125, "tcp"},
 302{"locus-map",          {NULL}, 125, "udp"},
 303{"nxedit",             {NULL}, 126, "tcp"},
 304{"nxedit",             {NULL}, 126, "udp"},
 305{"locus-con",          {NULL}, 127, "tcp"},
 306{"locus-con",          {NULL}, 127, "udp"},
 307{"gss-xlicen",         {NULL}, 128, "tcp"},
 308{"gss-xlicen",         {NULL}, 128, "udp"},
 309{"pwdgen",             {NULL}, 129, "tcp"},
 310{"pwdgen",             {NULL}, 129, "udp"},
 311{"cisco-fna",          {NULL}, 130, "tcp"},
 312{"cisco-fna",          {NULL}, 130, "udp"},
 313{"cisco-tna",          {NULL}, 131, "tcp"},
 314{"cisco-tna",          {NULL}, 131, "udp"},
 315{"cisco-sys",          {NULL}, 132, "tcp"},
 316{"cisco-sys",          {NULL}, 132, "udp"},
 317{"statsrv",            {NULL}, 133, "tcp"},
 318{"statsrv",            {NULL}, 133, "udp"},
 319{"ingres-net",         {NULL}, 134, "tcp"},
 320{"ingres-net",         {NULL}, 134, "udp"},
 321{"epmap",              {NULL}, 135, "tcp"},
 322{"epmap",              {NULL}, 135, "udp"},
 323{"profile",            {NULL}, 136, "tcp"},
 324{"profile",            {NULL}, 136, "udp"},
 325{"netbios-ns",         {NULL}, 137, "tcp"},
 326{"netbios-ns",         {NULL}, 137, "udp"},
 327{"netbios-dgm",        {NULL}, 138, "tcp"},
 328{"netbios-dgm",        {NULL}, 138, "udp"},
 329{"netbios-ssn",        {NULL}, 139, "tcp"},
 330{"netbios-ssn",        {NULL}, 139, "udp"},
 331{"emfis-data",         {NULL}, 140, "tcp"},
 332{"emfis-data",         {NULL}, 140, "udp"},
 333{"emfis-cntl",         {NULL}, 141, "tcp"},
 334{"emfis-cntl",         {NULL}, 141, "udp"},
 335{"bl-idm",             {NULL}, 142, "tcp"},
 336{"bl-idm",             {NULL}, 142, "udp"},
 337{"imap",               {NULL}, 143, "tcp"},
 338{"imap",               {NULL}, 143, "udp"},
 339{"uma",                {NULL}, 144, "tcp"},
 340{"uma",                {NULL}, 144, "udp"},
 341{"uaac",               {NULL}, 145, "tcp"},
 342{"uaac",               {NULL}, 145, "udp"},
 343{"iso-tp0",            {NULL}, 146, "tcp"},
 344{"iso-tp0",            {NULL}, 146, "udp"},
 345{"iso-ip",             {NULL}, 147, "tcp"},
 346{"iso-ip",             {NULL}, 147, "udp"},
 347{"jargon",             {NULL}, 148, "tcp"},
 348{"jargon",             {NULL}, 148, "udp"},
 349{"aed-512",            {NULL}, 149, "tcp"},
 350{"aed-512",            {NULL}, 149, "udp"},
 351{"sql-net",            {NULL}, 150, "tcp"},
 352{"sql-net",            {NULL}, 150, "udp"},
 353{"hems",               {NULL}, 151, "tcp"},
 354{"hems",               {NULL}, 151, "udp"},
 355{"bftp",               {NULL}, 152, "tcp"},
 356{"bftp",               {NULL}, 152, "udp"},
 357{"sgmp",               {NULL}, 153, "tcp"},
 358{"sgmp",               {NULL}, 153, "udp"},
 359{"netsc-prod",         {NULL}, 154, "tcp"},
 360{"netsc-prod",         {NULL}, 154, "udp"},
 361{"netsc-dev",          {NULL}, 155, "tcp"},
 362{"netsc-dev",          {NULL}, 155, "udp"},
 363{"sqlsrv",             {NULL}, 156, "tcp"},
 364{"sqlsrv",             {NULL}, 156, "udp"},
 365{"knet-cmp",           {NULL}, 157, "tcp"},
 366{"knet-cmp",           {NULL}, 157, "udp"},
 367{"pcmail-srv",         {NULL}, 158, "tcp"},
 368{"pcmail-srv",         {NULL}, 158, "udp"},
 369{"nss-routing",        {NULL}, 159, "tcp"},
 370{"nss-routing",        {NULL}, 159, "udp"},
 371{"sgmp-traps",         {NULL}, 160, "tcp"},
 372{"sgmp-traps",         {NULL}, 160, "udp"},
 373{"snmp",               {NULL}, 161, "tcp"},
 374{"snmp",               {NULL}, 161, "udp"},
 375{"snmptrap",           {NULL}, 162, "tcp"},
 376{"snmptrap",           {NULL}, 162, "udp"},
 377{"cmip-man",           {NULL}, 163, "tcp"},
 378{"cmip-man",           {NULL}, 163, "udp"},
 379{"cmip-agent",         {NULL}, 164, "tcp"},
 380{"cmip-agent",         {NULL}, 164, "udp"},
 381{"xns-courier",        {NULL}, 165, "tcp"},
 382{"xns-courier",        {NULL}, 165, "udp"},
 383{"s-net",              {NULL}, 166, "tcp"},
 384{"s-net",              {NULL}, 166, "udp"},
 385{"namp",               {NULL}, 167, "tcp"},
 386{"namp",               {NULL}, 167, "udp"},
 387{"rsvd",               {NULL}, 168, "tcp"},
 388{"rsvd",               {NULL}, 168, "udp"},
 389{"send",               {NULL}, 169, "tcp"},
 390{"send",               {NULL}, 169, "udp"},
 391{"print-srv",          {NULL}, 170, "tcp"},
 392{"print-srv",          {NULL}, 170, "udp"},
 393{"multiplex",          {NULL}, 171, "tcp"},
 394{"multiplex",          {NULL}, 171, "udp"},
 395{"cl/1",               {NULL}, 172, "tcp"},
 396{"cl/1",               {NULL}, 172, "udp"},
 397{"xyplex-mux",         {NULL}, 173, "tcp"},
 398{"xyplex-mux",         {NULL}, 173, "udp"},
 399{"mailq",              {NULL}, 174, "tcp"},
 400{"mailq",              {NULL}, 174, "udp"},
 401{"vmnet",              {NULL}, 175, "tcp"},
 402{"vmnet",              {NULL}, 175, "udp"},
 403{"genrad-mux",         {NULL}, 176, "tcp"},
 404{"genrad-mux",         {NULL}, 176, "udp"},
 405{"xdmcp",              {NULL}, 177, "tcp"},
 406{"xdmcp",              {NULL}, 177, "udp"},
 407{"nextstep",           {NULL}, 178, "tcp"},
 408{"nextstep",           {NULL}, 178, "udp"},
 409{"bgp",                {NULL}, 179, "tcp"},
 410{"bgp",                {NULL}, 179, "udp"},
 411{"bgp",                {NULL}, 179, "sctp"},
 412{"ris",                {NULL}, 180, "tcp"},
 413{"ris",                {NULL}, 180, "udp"},
 414{"unify",              {NULL}, 181, "tcp"},
 415{"unify",              {NULL}, 181, "udp"},
 416{"audit",              {NULL}, 182, "tcp"},
 417{"audit",              {NULL}, 182, "udp"},
 418{"ocbinder",           {NULL}, 183, "tcp"},
 419{"ocbinder",           {NULL}, 183, "udp"},
 420{"ocserver",           {NULL}, 184, "tcp"},
 421{"ocserver",           {NULL}, 184, "udp"},
 422{"remote-kis",         {NULL}, 185, "tcp"},
 423{"remote-kis",         {NULL}, 185, "udp"},
 424{"kis",                {NULL}, 186, "tcp"},
 425{"kis",                {NULL}, 186, "udp"},
 426{"aci",                {NULL}, 187, "tcp"},
 427{"aci",                {NULL}, 187, "udp"},
 428{"mumps",              {NULL}, 188, "tcp"},
 429{"mumps",              {NULL}, 188, "udp"},
 430{"qft",                {NULL}, 189, "tcp"},
 431{"qft",                {NULL}, 189, "udp"},
 432{"gacp",               {NULL}, 190, "tcp"},
 433{"gacp",               {NULL}, 190, "udp"},
 434{"prospero",           {NULL}, 191, "tcp"},
 435{"prospero",           {NULL}, 191, "udp"},
 436{"osu-nms",            {NULL}, 192, "tcp"},
 437{"osu-nms",            {NULL}, 192, "udp"},
 438{"srmp",               {NULL}, 193, "tcp"},
 439{"srmp",               {NULL}, 193, "udp"},
 440{"irc",                {NULL}, 194, "tcp"},
 441{"irc",                {NULL}, 194, "udp"},
 442{"dn6-nlm-aud",        {NULL}, 195, "tcp"},
 443{"dn6-nlm-aud",        {NULL}, 195, "udp"},
 444{"dn6-smm-red",        {NULL}, 196, "tcp"},
 445{"dn6-smm-red",        {NULL}, 196, "udp"},
 446{"dls",                {NULL}, 197, "tcp"},
 447{"dls",                {NULL}, 197, "udp"},
 448{"dls-mon",            {NULL}, 198, "tcp"},
 449{"dls-mon",            {NULL}, 198, "udp"},
 450{"smux",               {NULL}, 199, "tcp"},
 451{"smux",               {NULL}, 199, "udp"},
 452{"src",                {NULL}, 200, "tcp"},
 453{"src",                {NULL}, 200, "udp"},
 454{"at-rtmp",            {NULL}, 201, "tcp"},
 455{"at-rtmp",            {NULL}, 201, "udp"},
 456{"at-nbp",             {NULL}, 202, "tcp"},
 457{"at-nbp",             {NULL}, 202, "udp"},
 458{"at-3",               {NULL}, 203, "tcp"},
 459{"at-3",               {NULL}, 203, "udp"},
 460{"at-echo",            {NULL}, 204, "tcp"},
 461{"at-echo",            {NULL}, 204, "udp"},
 462{"at-5",               {NULL}, 205, "tcp"},
 463{"at-5",               {NULL}, 205, "udp"},
 464{"at-zis",             {NULL}, 206, "tcp"},
 465{"at-zis",             {NULL}, 206, "udp"},
 466{"at-7",               {NULL}, 207, "tcp"},
 467{"at-7",               {NULL}, 207, "udp"},
 468{"at-8",               {NULL}, 208, "tcp"},
 469{"at-8",               {NULL}, 208, "udp"},
 470{"qmtp",               {NULL}, 209, "tcp"},
 471{"qmtp",               {NULL}, 209, "udp"},
 472{"z39.50",             {NULL}, 210, "tcp"},
 473{"z39.50",             {NULL}, 210, "udp"},
 474{"914c/g",             {NULL}, 211, "tcp"},
 475{"914c/g",             {NULL}, 211, "udp"},
 476{"anet",               {NULL}, 212, "tcp"},
 477{"anet",               {NULL}, 212, "udp"},
 478{"ipx",                {NULL}, 213, "tcp"},
 479{"ipx",                {NULL}, 213, "udp"},
 480{"vmpwscs",            {NULL}, 214, "tcp"},
 481{"vmpwscs",            {NULL}, 214, "udp"},
 482{"softpc",             {NULL}, 215, "tcp"},
 483{"softpc",             {NULL}, 215, "udp"},
 484{"CAIlic",             {NULL}, 216, "tcp"},
 485{"CAIlic",             {NULL}, 216, "udp"},
 486{"dbase",              {NULL}, 217, "tcp"},
 487{"dbase",              {NULL}, 217, "udp"},
 488{"mpp",                {NULL}, 218, "tcp"},
 489{"mpp",                {NULL}, 218, "udp"},
 490{"uarps",              {NULL}, 219, "tcp"},
 491{"uarps",              {NULL}, 219, "udp"},
 492{"imap3",              {NULL}, 220, "tcp"},
 493{"imap3",              {NULL}, 220, "udp"},
 494{"fln-spx",            {NULL}, 221, "tcp"},
 495{"fln-spx",            {NULL}, 221, "udp"},
 496{"rsh-spx",            {NULL}, 222, "tcp"},
 497{"rsh-spx",            {NULL}, 222, "udp"},
 498{"cdc",                {NULL}, 223, "tcp"},
 499{"cdc",                {NULL}, 223, "udp"},
 500{"masqdialer",         {NULL}, 224, "tcp"},
 501{"masqdialer",         {NULL}, 224, "udp"},
 502{"direct",             {NULL}, 242, "tcp"},
 503{"direct",             {NULL}, 242, "udp"},
 504{"sur-meas",           {NULL}, 243, "tcp"},
 505{"sur-meas",           {NULL}, 243, "udp"},
 506{"inbusiness",         {NULL}, 244, "tcp"},
 507{"inbusiness",         {NULL}, 244, "udp"},
 508{"link",               {NULL}, 245, "tcp"},
 509{"link",               {NULL}, 245, "udp"},
 510{"dsp3270",            {NULL}, 246, "tcp"},
 511{"dsp3270",            {NULL}, 246, "udp"},
 512{"subntbcst_tftp",     {NULL}, 247, "tcp"},
 513{"subntbcst_tftp",     {NULL}, 247, "udp"},
 514{"bhfhs",              {NULL}, 248, "tcp"},
 515{"bhfhs",              {NULL}, 248, "udp"},
 516{"rap",                {NULL}, 256, "tcp"},
 517{"rap",                {NULL}, 256, "udp"},
 518{"set",                {NULL}, 257, "tcp"},
 519{"set",                {NULL}, 257, "udp"},
 520{"esro-gen",           {NULL}, 259, "tcp"},
 521{"esro-gen",           {NULL}, 259, "udp"},
 522{"openport",           {NULL}, 260, "tcp"},
 523{"openport",           {NULL}, 260, "udp"},
 524{"nsiiops",            {NULL}, 261, "tcp"},
 525{"nsiiops",            {NULL}, 261, "udp"},
 526{"arcisdms",           {NULL}, 262, "tcp"},
 527{"arcisdms",           {NULL}, 262, "udp"},
 528{"hdap",               {NULL}, 263, "tcp"},
 529{"hdap",               {NULL}, 263, "udp"},
 530{"bgmp",               {NULL}, 264, "tcp"},
 531{"bgmp",               {NULL}, 264, "udp"},
 532{"x-bone-ctl",         {NULL}, 265, "tcp"},
 533{"x-bone-ctl",         {NULL}, 265, "udp"},
 534{"sst",                {NULL}, 266, "tcp"},
 535{"sst",                {NULL}, 266, "udp"},
 536{"td-service",         {NULL}, 267, "tcp"},
 537{"td-service",         {NULL}, 267, "udp"},
 538{"td-replica",         {NULL}, 268, "tcp"},
 539{"td-replica",         {NULL}, 268, "udp"},
 540{"manet",              {NULL}, 269, "tcp"},
 541{"manet",              {NULL}, 269, "udp"},
 542{"gist",               {NULL}, 270, "udp"},
 543{"http-mgmt",          {NULL}, 280, "tcp"},
 544{"http-mgmt",          {NULL}, 280, "udp"},
 545{"personal-link",      {NULL}, 281, "tcp"},
 546{"personal-link",      {NULL}, 281, "udp"},
 547{"cableport-ax",       {NULL}, 282, "tcp"},
 548{"cableport-ax",       {NULL}, 282, "udp"},
 549{"rescap",             {NULL}, 283, "tcp"},
 550{"rescap",             {NULL}, 283, "udp"},
 551{"corerjd",            {NULL}, 284, "tcp"},
 552{"corerjd",            {NULL}, 284, "udp"},
 553{"fxp",                {NULL}, 286, "tcp"},
 554{"fxp",                {NULL}, 286, "udp"},
 555{"k-block",            {NULL}, 287, "tcp"},
 556{"k-block",            {NULL}, 287, "udp"},
 557{"novastorbakcup",     {NULL}, 308, "tcp"},
 558{"novastorbakcup",     {NULL}, 308, "udp"},
 559{"entrusttime",        {NULL}, 309, "tcp"},
 560{"entrusttime",        {NULL}, 309, "udp"},
 561{"bhmds",              {NULL}, 310, "tcp"},
 562{"bhmds",              {NULL}, 310, "udp"},
 563{"asip-webadmin",      {NULL}, 311, "tcp"},
 564{"asip-webadmin",      {NULL}, 311, "udp"},
 565{"vslmp",              {NULL}, 312, "tcp"},
 566{"vslmp",              {NULL}, 312, "udp"},
 567{"magenta-logic",      {NULL}, 313, "tcp"},
 568{"magenta-logic",      {NULL}, 313, "udp"},
 569{"opalis-robot",       {NULL}, 314, "tcp"},
 570{"opalis-robot",       {NULL}, 314, "udp"},
 571{"dpsi",               {NULL}, 315, "tcp"},
 572{"dpsi",               {NULL}, 315, "udp"},
 573{"decauth",            {NULL}, 316, "tcp"},
 574{"decauth",            {NULL}, 316, "udp"},
 575{"zannet",             {NULL}, 317, "tcp"},
 576{"zannet",             {NULL}, 317, "udp"},
 577{"pkix-timestamp",     {NULL}, 318, "tcp"},
 578{"pkix-timestamp",     {NULL}, 318, "udp"},
 579{"ptp-event",          {NULL}, 319, "tcp"},
 580{"ptp-event",          {NULL}, 319, "udp"},
 581{"ptp-general",        {NULL}, 320, "tcp"},
 582{"ptp-general",        {NULL}, 320, "udp"},
 583{"pip",                {NULL}, 321, "tcp"},
 584{"pip",                {NULL}, 321, "udp"},
 585{"rtsps",              {NULL}, 322, "tcp"},
 586{"rtsps",              {NULL}, 322, "udp"},
 587{"texar",              {NULL}, 333, "tcp"},
 588{"texar",              {NULL}, 333, "udp"},
 589{"pdap",               {NULL}, 344, "tcp"},
 590{"pdap",               {NULL}, 344, "udp"},
 591{"pawserv",            {NULL}, 345, "tcp"},
 592{"pawserv",            {NULL}, 345, "udp"},
 593{"zserv",              {NULL}, 346, "tcp"},
 594{"zserv",              {NULL}, 346, "udp"},
 595{"fatserv",            {NULL}, 347, "tcp"},
 596{"fatserv",            {NULL}, 347, "udp"},
 597{"csi-sgwp",           {NULL}, 348, "tcp"},
 598{"csi-sgwp",           {NULL}, 348, "udp"},
 599{"mftp",               {NULL}, 349, "tcp"},
 600{"mftp",               {NULL}, 349, "udp"},
 601{"matip-type-a",       {NULL}, 350, "tcp"},
 602{"matip-type-a",       {NULL}, 350, "udp"},
 603{"matip-type-b",       {NULL}, 351, "tcp"},
 604{"matip-type-b",       {NULL}, 351, "udp"},
 605{"bhoetty",            {NULL}, 351, "tcp"},
 606{"bhoetty",            {NULL}, 351, "udp"},
 607{"dtag-ste-sb",        {NULL}, 352, "tcp"},
 608{"dtag-ste-sb",        {NULL}, 352, "udp"},
 609{"bhoedap4",           {NULL}, 352, "tcp"},
 610{"bhoedap4",           {NULL}, 352, "udp"},
 611{"ndsauth",            {NULL}, 353, "tcp"},
 612{"ndsauth",            {NULL}, 353, "udp"},
 613{"bh611",              {NULL}, 354, "tcp"},
 614{"bh611",              {NULL}, 354, "udp"},
 615{"datex-asn",          {NULL}, 355, "tcp"},
 616{"datex-asn",          {NULL}, 355, "udp"},
 617{"cloanto-net-1",      {NULL}, 356, "tcp"},
 618{"cloanto-net-1",      {NULL}, 356, "udp"},
 619{"bhevent",            {NULL}, 357, "tcp"},
 620{"bhevent",            {NULL}, 357, "udp"},
 621{"shrinkwrap",         {NULL}, 358, "tcp"},
 622{"shrinkwrap",         {NULL}, 358, "udp"},
 623{"nsrmp",              {NULL}, 359, "tcp"},
 624{"nsrmp",              {NULL}, 359, "udp"},
 625{"scoi2odialog",       {NULL}, 360, "tcp"},
 626{"scoi2odialog",       {NULL}, 360, "udp"},
 627{"semantix",           {NULL}, 361, "tcp"},
 628{"semantix",           {NULL}, 361, "udp"},
 629{"srssend",            {NULL}, 362, "tcp"},
 630{"srssend",            {NULL}, 362, "udp"},
 631{"rsvp_tunnel",        {NULL}, 363, "tcp"},
 632{"rsvp_tunnel",        {NULL}, 363, "udp"},
 633{"aurora-cmgr",        {NULL}, 364, "tcp"},
 634{"aurora-cmgr",        {NULL}, 364, "udp"},
 635{"dtk",                {NULL}, 365, "tcp"},
 636{"dtk",                {NULL}, 365, "udp"},
 637{"odmr",               {NULL}, 366, "tcp"},
 638{"odmr",               {NULL}, 366, "udp"},
 639{"mortgageware",       {NULL}, 367, "tcp"},
 640{"mortgageware",       {NULL}, 367, "udp"},
 641{"qbikgdp",            {NULL}, 368, "tcp"},
 642{"qbikgdp",            {NULL}, 368, "udp"},
 643{"rpc2portmap",        {NULL}, 369, "tcp"},
 644{"rpc2portmap",        {NULL}, 369, "udp"},
 645{"codaauth2",          {NULL}, 370, "tcp"},
 646{"codaauth2",          {NULL}, 370, "udp"},
 647{"clearcase",          {NULL}, 371, "tcp"},
 648{"clearcase",          {NULL}, 371, "udp"},
 649{"ulistproc",          {NULL}, 372, "tcp"},
 650{"ulistproc",          {NULL}, 372, "udp"},
 651{"legent-1",           {NULL}, 373, "tcp"},
 652{"legent-1",           {NULL}, 373, "udp"},
 653{"legent-2",           {NULL}, 374, "tcp"},
 654{"legent-2",           {NULL}, 374, "udp"},
 655{"hassle",             {NULL}, 375, "tcp"},
 656{"hassle",             {NULL}, 375, "udp"},
 657{"nip",                {NULL}, 376, "tcp"},
 658{"nip",                {NULL}, 376, "udp"},
 659{"tnETOS",             {NULL}, 377, "tcp"},
 660{"tnETOS",             {NULL}, 377, "udp"},
 661{"dsETOS",             {NULL}, 378, "tcp"},
 662{"dsETOS",             {NULL}, 378, "udp"},
 663{"is99c",              {NULL}, 379, "tcp"},
 664{"is99c",              {NULL}, 379, "udp"},
 665{"is99s",              {NULL}, 380, "tcp"},
 666{"is99s",              {NULL}, 380, "udp"},
 667{"hp-collector",       {NULL}, 381, "tcp"},
 668{"hp-collector",       {NULL}, 381, "udp"},
 669{"hp-managed-node",    {NULL}, 382, "tcp"},
 670{"hp-managed-node",    {NULL}, 382, "udp"},
 671{"hp-alarm-mgr",       {NULL}, 383, "tcp"},
 672{"hp-alarm-mgr",       {NULL}, 383, "udp"},
 673{"arns",               {NULL}, 384, "tcp"},
 674{"arns",               {NULL}, 384, "udp"},
 675{"ibm-app",            {NULL}, 385, "tcp"},
 676{"ibm-app",            {NULL}, 385, "udp"},
 677{"asa",                {NULL}, 386, "tcp"},
 678{"asa",                {NULL}, 386, "udp"},
 679{"aurp",               {NULL}, 387, "tcp"},
 680{"aurp",               {NULL}, 387, "udp"},
 681{"unidata-ldm",        {NULL}, 388, "tcp"},
 682{"unidata-ldm",        {NULL}, 388, "udp"},
 683{"ldap",               {NULL}, 389, "tcp"},
 684{"ldap",               {NULL}, 389, "udp"},
 685{"uis",                {NULL}, 390, "tcp"},
 686{"uis",                {NULL}, 390, "udp"},
 687{"synotics-relay",     {NULL}, 391, "tcp"},
 688{"synotics-relay",     {NULL}, 391, "udp"},
 689{"synotics-broker",    {NULL}, 392, "tcp"},
 690{"synotics-broker",    {NULL}, 392, "udp"},
 691{"meta5",              {NULL}, 393, "tcp"},
 692{"meta5",              {NULL}, 393, "udp"},
 693{"embl-ndt",           {NULL}, 394, "tcp"},
 694{"embl-ndt",           {NULL}, 394, "udp"},
 695{"netcp",              {NULL}, 395, "tcp"},
 696{"netcp",              {NULL}, 395, "udp"},
 697{"netware-ip",         {NULL}, 396, "tcp"},
 698{"netware-ip",         {NULL}, 396, "udp"},
 699{"mptn",               {NULL}, 397, "tcp"},
 700{"mptn",               {NULL}, 397, "udp"},
 701{"kryptolan",          {NULL}, 398, "tcp"},
 702{"kryptolan",          {NULL}, 398, "udp"},
 703{"iso-tsap-c2",        {NULL}, 399, "tcp"},
 704{"iso-tsap-c2",        {NULL}, 399, "udp"},
 705{"osb-sd",             {NULL}, 400, "tcp"},
 706{"osb-sd",             {NULL}, 400, "udp"},
 707{"ups",                {NULL}, 401, "tcp"},
 708{"ups",                {NULL}, 401, "udp"},
 709{"genie",              {NULL}, 402, "tcp"},
 710{"genie",              {NULL}, 402, "udp"},
 711{"decap",              {NULL}, 403, "tcp"},
 712{"decap",              {NULL}, 403, "udp"},
 713{"nced",               {NULL}, 404, "tcp"},
 714{"nced",               {NULL}, 404, "udp"},
 715{"ncld",               {NULL}, 405, "tcp"},
 716{"ncld",               {NULL}, 405, "udp"},
 717{"imsp",               {NULL}, 406, "tcp"},
 718{"imsp",               {NULL}, 406, "udp"},
 719{"timbuktu",           {NULL}, 407, "tcp"},
 720{"timbuktu",           {NULL}, 407, "udp"},
 721{"prm-sm",             {NULL}, 408, "tcp"},
 722{"prm-sm",             {NULL}, 408, "udp"},
 723{"prm-nm",             {NULL}, 409, "tcp"},
 724{"prm-nm",             {NULL}, 409, "udp"},
 725{"decladebug",         {NULL}, 410, "tcp"},
 726{"decladebug",         {NULL}, 410, "udp"},
 727{"rmt",                {NULL}, 411, "tcp"},
 728{"rmt",                {NULL}, 411, "udp"},
 729{"synoptics-trap",     {NULL}, 412, "tcp"},
 730{"synoptics-trap",     {NULL}, 412, "udp"},
 731{"smsp",               {NULL}, 413, "tcp"},
 732{"smsp",               {NULL}, 413, "udp"},
 733{"infoseek",           {NULL}, 414, "tcp"},
 734{"infoseek",           {NULL}, 414, "udp"},
 735{"bnet",               {NULL}, 415, "tcp"},
 736{"bnet",               {NULL}, 415, "udp"},
 737{"silverplatter",      {NULL}, 416, "tcp"},
 738{"silverplatter",      {NULL}, 416, "udp"},
 739{"onmux",              {NULL}, 417, "tcp"},
 740{"onmux",              {NULL}, 417, "udp"},
 741{"hyper-g",            {NULL}, 418, "tcp"},
 742{"hyper-g",            {NULL}, 418, "udp"},
 743{"ariel1",             {NULL}, 419, "tcp"},
 744{"ariel1",             {NULL}, 419, "udp"},
 745{"smpte",              {NULL}, 420, "tcp"},
 746{"smpte",              {NULL}, 420, "udp"},
 747{"ariel2",             {NULL}, 421, "tcp"},
 748{"ariel2",             {NULL}, 421, "udp"},
 749{"ariel3",             {NULL}, 422, "tcp"},
 750{"ariel3",             {NULL}, 422, "udp"},
 751{"opc-job-start",      {NULL}, 423, "tcp"},
 752{"opc-job-start",      {NULL}, 423, "udp"},
 753{"opc-job-track",      {NULL}, 424, "tcp"},
 754{"opc-job-track",      {NULL}, 424, "udp"},
 755{"icad-el",            {NULL}, 425, "tcp"},
 756{"icad-el",            {NULL}, 425, "udp"},
 757{"smartsdp",           {NULL}, 426, "tcp"},
 758{"smartsdp",           {NULL}, 426, "udp"},
 759{"svrloc",             {NULL}, 427, "tcp"},
 760{"svrloc",             {NULL}, 427, "udp"},
 761{"ocs_cmu",            {NULL}, 428, "tcp"},
 762{"ocs_cmu",            {NULL}, 428, "udp"},
 763{"ocs_amu",            {NULL}, 429, "tcp"},
 764{"ocs_amu",            {NULL}, 429, "udp"},
 765{"utmpsd",             {NULL}, 430, "tcp"},
 766{"utmpsd",             {NULL}, 430, "udp"},
 767{"utmpcd",             {NULL}, 431, "tcp"},
 768{"utmpcd",             {NULL}, 431, "udp"},
 769{"iasd",               {NULL}, 432, "tcp"},
 770{"iasd",               {NULL}, 432, "udp"},
 771{"nnsp",               {NULL}, 433, "tcp"},
 772{"nnsp",               {NULL}, 433, "udp"},
 773{"mobileip-agent",     {NULL}, 434, "tcp"},
 774{"mobileip-agent",     {NULL}, 434, "udp"},
 775{"mobilip-mn",         {NULL}, 435, "tcp"},
 776{"mobilip-mn",         {NULL}, 435, "udp"},
 777{"dna-cml",            {NULL}, 436, "tcp"},
 778{"dna-cml",            {NULL}, 436, "udp"},
 779{"comscm",             {NULL}, 437, "tcp"},
 780{"comscm",             {NULL}, 437, "udp"},
 781{"dsfgw",              {NULL}, 438, "tcp"},
 782{"dsfgw",              {NULL}, 438, "udp"},
 783{"dasp",               {NULL}, 439, "tcp"},
 784{"dasp",               {NULL}, 439, "udp"},
 785{"sgcp",               {NULL}, 440, "tcp"},
 786{"sgcp",               {NULL}, 440, "udp"},
 787{"decvms-sysmgt",      {NULL}, 441, "tcp"},
 788{"decvms-sysmgt",      {NULL}, 441, "udp"},
 789{"cvc_hostd",          {NULL}, 442, "tcp"},
 790{"cvc_hostd",          {NULL}, 442, "udp"},
 791{"https",              {NULL}, 443, "tcp"},
 792{"https",              {NULL}, 443, "udp"},
 793{"https",              {NULL}, 443, "sctp"},
 794{"snpp",               {NULL}, 444, "tcp"},
 795{"snpp",               {NULL}, 444, "udp"},
 796{"microsoft-ds",       {NULL}, 445, "tcp"},
 797{"microsoft-ds",       {NULL}, 445, "udp"},
 798{"ddm-rdb",            {NULL}, 446, "tcp"},
 799{"ddm-rdb",            {NULL}, 446, "udp"},
 800{"ddm-dfm",            {NULL}, 447, "tcp"},
 801{"ddm-dfm",            {NULL}, 447, "udp"},
 802{"ddm-ssl",            {NULL}, 448, "tcp"},
 803{"ddm-ssl",            {NULL}, 448, "udp"},
 804{"as-servermap",       {NULL}, 449, "tcp"},
 805{"as-servermap",       {NULL}, 449, "udp"},
 806{"tserver",            {NULL}, 450, "tcp"},
 807{"tserver",            {NULL}, 450, "udp"},
 808{"sfs-smp-net",        {NULL}, 451, "tcp"},
 809{"sfs-smp-net",        {NULL}, 451, "udp"},
 810{"sfs-config",         {NULL}, 452, "tcp"},
 811{"sfs-config",         {NULL}, 452, "udp"},
 812{"creativeserver",     {NULL}, 453, "tcp"},
 813{"creativeserver",     {NULL}, 453, "udp"},
 814{"contentserver",      {NULL}, 454, "tcp"},
 815{"contentserver",      {NULL}, 454, "udp"},
 816{"creativepartnr",     {NULL}, 455, "tcp"},
 817{"creativepartnr",     {NULL}, 455, "udp"},
 818{"macon-tcp",          {NULL}, 456, "tcp"},
 819{"macon-udp",          {NULL}, 456, "udp"},
 820{"scohelp",            {NULL}, 457, "tcp"},
 821{"scohelp",            {NULL}, 457, "udp"},
 822{"appleqtc",           {NULL}, 458, "tcp"},
 823{"appleqtc",           {NULL}, 458, "udp"},
 824{"ampr-rcmd",          {NULL}, 459, "tcp"},
 825{"ampr-rcmd",          {NULL}, 459, "udp"},
 826{"skronk",             {NULL}, 460, "tcp"},
 827{"skronk",             {NULL}, 460, "udp"},
 828{"datasurfsrv",        {NULL}, 461, "tcp"},
 829{"datasurfsrv",        {NULL}, 461, "udp"},
 830{"datasurfsrvsec",     {NULL}, 462, "tcp"},
 831{"datasurfsrvsec",     {NULL}, 462, "udp"},
 832{"alpes",              {NULL}, 463, "tcp"},
 833{"alpes",              {NULL}, 463, "udp"},
 834{"kpasswd",            {NULL}, 464, "tcp"},
 835{"kpasswd",            {NULL}, 464, "udp"},
 836{"urd",                {NULL}, 465, "tcp"},
 837{"igmpv3lite",         {NULL}, 465, "udp"},
 838{"digital-vrc",        {NULL}, 466, "tcp"},
 839{"digital-vrc",        {NULL}, 466, "udp"},
 840{"mylex-mapd",         {NULL}, 467, "tcp"},
 841{"mylex-mapd",         {NULL}, 467, "udp"},
 842{"photuris",           {NULL}, 468, "tcp"},
 843{"photuris",           {NULL}, 468, "udp"},
 844{"rcp",                {NULL}, 469, "tcp"},
 845{"rcp",                {NULL}, 469, "udp"},
 846{"scx-proxy",          {NULL}, 470, "tcp"},
 847{"scx-proxy",          {NULL}, 470, "udp"},
 848{"mondex",             {NULL}, 471, "tcp"},
 849{"mondex",             {NULL}, 471, "udp"},
 850{"ljk-login",          {NULL}, 472, "tcp"},
 851{"ljk-login",          {NULL}, 472, "udp"},
 852{"hybrid-pop",         {NULL}, 473, "tcp"},
 853{"hybrid-pop",         {NULL}, 473, "udp"},
 854{"tn-tl-w1",           {NULL}, 474, "tcp"},
 855{"tn-tl-w2",           {NULL}, 474, "udp"},
 856{"tcpnethaspsrv",      {NULL}, 475, "tcp"},
 857{"tcpnethaspsrv",      {NULL}, 475, "udp"},
 858{"tn-tl-fd1",          {NULL}, 476, "tcp"},
 859{"tn-tl-fd1",          {NULL}, 476, "udp"},
 860{"ss7ns",              {NULL}, 477, "tcp"},
 861{"ss7ns",              {NULL}, 477, "udp"},
 862{"spsc",               {NULL}, 478, "tcp"},
 863{"spsc",               {NULL}, 478, "udp"},
 864{"iafserver",          {NULL}, 479, "tcp"},
 865{"iafserver",          {NULL}, 479, "udp"},
 866{"iafdbase",           {NULL}, 480, "tcp"},
 867{"iafdbase",           {NULL}, 480, "udp"},
 868{"ph",                 {NULL}, 481, "tcp"},
 869{"ph",                 {NULL}, 481, "udp"},
 870{"bgs-nsi",            {NULL}, 482, "tcp"},
 871{"bgs-nsi",            {NULL}, 482, "udp"},
 872{"ulpnet",             {NULL}, 483, "tcp"},
 873{"ulpnet",             {NULL}, 483, "udp"},
 874{"integra-sme",        {NULL}, 484, "tcp"},
 875{"integra-sme",        {NULL}, 484, "udp"},
 876{"powerburst",         {NULL}, 485, "tcp"},
 877{"powerburst",         {NULL}, 485, "udp"},
 878{"avian",              {NULL}, 486, "tcp"},
 879{"avian",              {NULL}, 486, "udp"},
 880{"saft",               {NULL}, 487, "tcp"},
 881{"saft",               {NULL}, 487, "udp"},
 882{"gss-http",           {NULL}, 488, "tcp"},
 883{"gss-http",           {NULL}, 488, "udp"},
 884{"nest-protocol",      {NULL}, 489, "tcp"},
 885{"nest-protocol",      {NULL}, 489, "udp"},
 886{"micom-pfs",          {NULL}, 490, "tcp"},
 887{"micom-pfs",          {NULL}, 490, "udp"},
 888{"go-login",           {NULL}, 491, "tcp"},
 889{"go-login",           {NULL}, 491, "udp"},
 890{"ticf-1",             {NULL}, 492, "tcp"},
 891{"ticf-1",             {NULL}, 492, "udp"},
 892{"ticf-2",             {NULL}, 493, "tcp"},
 893{"ticf-2",             {NULL}, 493, "udp"},
 894{"pov-ray",            {NULL}, 494, "tcp"},
 895{"pov-ray",            {NULL}, 494, "udp"},
 896{"intecourier",        {NULL}, 495, "tcp"},
 897{"intecourier",        {NULL}, 495, "udp"},
 898{"pim-rp-disc",        {NULL}, 496, "tcp"},
 899{"pim-rp-disc",        {NULL}, 496, "udp"},
 900{"dantz",              {NULL}, 497, "tcp"},
 901{"dantz",              {NULL}, 497, "udp"},
 902{"siam",               {NULL}, 498, "tcp"},
 903{"siam",               {NULL}, 498, "udp"},
 904{"iso-ill",            {NULL}, 499, "tcp"},
 905{"iso-ill",            {NULL}, 499, "udp"},
 906{"isakmp",             {NULL}, 500, "tcp"},
 907{"isakmp",             {NULL}, 500, "udp"},
 908{"stmf",               {NULL}, 501, "tcp"},
 909{"stmf",               {NULL}, 501, "udp"},
 910{"asa-appl-proto",     {NULL}, 502, "tcp"},
 911{"asa-appl-proto",     {NULL}, 502, "udp"},
 912{"intrinsa",           {NULL}, 503, "tcp"},
 913{"intrinsa",           {NULL}, 503, "udp"},
 914{"citadel",            {NULL}, 504, "tcp"},
 915{"citadel",            {NULL}, 504, "udp"},
 916{"mailbox-lm",         {NULL}, 505, "tcp"},
 917{"mailbox-lm",         {NULL}, 505, "udp"},
 918{"ohimsrv",            {NULL}, 506, "tcp"},
 919{"ohimsrv",            {NULL}, 506, "udp"},
 920{"crs",                {NULL}, 507, "tcp"},
 921{"crs",                {NULL}, 507, "udp"},
 922{"xvttp",              {NULL}, 508, "tcp"},
 923{"xvttp",              {NULL}, 508, "udp"},
 924{"snare",              {NULL}, 509, "tcp"},
 925{"snare",              {NULL}, 509, "udp"},
 926{"fcp",                {NULL}, 510, "tcp"},
 927{"fcp",                {NULL}, 510, "udp"},
 928{"passgo",             {NULL}, 511, "tcp"},
 929{"passgo",             {NULL}, 511, "udp"},
 930{"exec",               {NULL}, 512, "tcp"},
 931{"comsat",             {NULL}, 512, "udp"},
 932{"biff",               {NULL}, 512, "udp"},
 933{"login",              {NULL}, 513, "tcp"},
 934{"who",                {NULL}, 513, "udp"},
 935{"shell",              {NULL}, 514, "tcp"},
 936{"syslog",             {NULL}, 514, "udp"},
 937{"printer",            {NULL}, 515, "tcp"},
 938{"printer",            {NULL}, 515, "udp"},
 939{"videotex",           {NULL}, 516, "tcp"},
 940{"videotex",           {NULL}, 516, "udp"},
 941{"talk",               {NULL}, 517, "tcp"},
 942{"talk",               {NULL}, 517, "udp"},
 943{"ntalk",              {NULL}, 518, "tcp"},
 944{"ntalk",              {NULL}, 518, "udp"},
 945{"utime",              {NULL}, 519, "tcp"},
 946{"utime",              {NULL}, 519, "udp"},
 947{"efs",                {NULL}, 520, "tcp"},
 948{"router",             {NULL}, 520, "udp"},
 949{"ripng",              {NULL}, 521, "tcp"},
 950{"ripng",              {NULL}, 521, "udp"},
 951{"ulp",                {NULL}, 522, "tcp"},
 952{"ulp",                {NULL}, 522, "udp"},
 953{"ibm-db2",            {NULL}, 523, "tcp"},
 954{"ibm-db2",            {NULL}, 523, "udp"},
 955{"ncp",                {NULL}, 524, "tcp"},
 956{"ncp",                {NULL}, 524, "udp"},
 957{"timed",              {NULL}, 525, "tcp"},
 958{"timed",              {NULL}, 525, "udp"},
 959{"tempo",              {NULL}, 526, "tcp"},
 960{"tempo",              {NULL}, 526, "udp"},
 961{"stx",                {NULL}, 527, "tcp"},
 962{"stx",                {NULL}, 527, "udp"},
 963{"custix",             {NULL}, 528, "tcp"},
 964{"custix",             {NULL}, 528, "udp"},
 965{"irc-serv",           {NULL}, 529, "tcp"},
 966{"irc-serv",           {NULL}, 529, "udp"},
 967{"courier",            {NULL}, 530, "tcp"},
 968{"courier",            {NULL}, 530, "udp"},
 969{"conference",         {NULL}, 531, "tcp"},
 970{"conference",         {NULL}, 531, "udp"},
 971{"netnews",            {NULL}, 532, "tcp"},
 972{"netnews",            {NULL}, 532, "udp"},
 973{"netwall",            {NULL}, 533, "tcp"},
 974{"netwall",            {NULL}, 533, "udp"},
 975{"windream",           {NULL}, 534, "tcp"},
 976{"windream",           {NULL}, 534, "udp"},
 977{"iiop",               {NULL}, 535, "tcp"},
 978{"iiop",               {NULL}, 535, "udp"},
 979{"opalis-rdv",         {NULL}, 536, "tcp"},
 980{"opalis-rdv",         {NULL}, 536, "udp"},
 981{"nmsp",               {NULL}, 537, "tcp"},
 982{"nmsp",               {NULL}, 537, "udp"},
 983{"gdomap",             {NULL}, 538, "tcp"},
 984{"gdomap",             {NULL}, 538, "udp"},
 985{"apertus-ldp",        {NULL}, 539, "tcp"},
 986{"apertus-ldp",        {NULL}, 539, "udp"},
 987{"uucp",               {NULL}, 540, "tcp"},
 988{"uucp",               {NULL}, 540, "udp"},
 989{"uucp-rlogin",        {NULL}, 541, "tcp"},
 990{"uucp-rlogin",        {NULL}, 541, "udp"},
 991{"commerce",           {NULL}, 542, "tcp"},
 992{"commerce",           {NULL}, 542, "udp"},
 993{"klogin",             {NULL}, 543, "tcp"},
 994{"klogin",             {NULL}, 543, "udp"},
 995{"kshell",             {NULL}, 544, "tcp"},
 996{"kshell",             {NULL}, 544, "udp"},
 997{"appleqtcsrvr",       {NULL}, 545, "tcp"},
 998{"appleqtcsrvr",       {NULL}, 545, "udp"},
 999{"dhcpv6-client",      {NULL}, 546, "tcp"},
1000{"dhcpv6-client",      {NULL}, 546, "udp"},
1001{"dhcpv6-server",      {NULL}, 547, "tcp"},
1002{"dhcpv6-server",      {NULL}, 547, "udp"},
1003{"afpovertcp",         {NULL}, 548, "tcp"},
1004{"afpovertcp",         {NULL}, 548, "udp"},
1005{"idfp",               {NULL}, 549, "tcp"},
1006{"idfp",               {NULL}, 549, "udp"},
1007{"new-rwho",           {NULL}, 550, "tcp"},
1008{"new-rwho",           {NULL}, 550, "udp"},
1009{"cybercash",          {NULL}, 551, "tcp"},
1010{"cybercash",          {NULL}, 551, "udp"},
1011{"devshr-nts",         {NULL}, 552, "tcp"},
1012{"devshr-nts",         {NULL}, 552, "udp"},
1013{"pirp",               {NULL}, 553, "tcp"},
1014{"pirp",               {NULL}, 553, "udp"},
1015{"rtsp",               {NULL}, 554, "tcp"},
1016{"rtsp",               {NULL}, 554, "udp"},
1017{"dsf",                {NULL}, 555, "tcp"},
1018{"dsf",                {NULL}, 555, "udp"},
1019{"remotefs",           {NULL}, 556, "tcp"},
1020{"remotefs",           {NULL}, 556, "udp"},
1021{"openvms-sysipc",     {NULL}, 557, "tcp"},
1022{"openvms-sysipc",     {NULL}, 557, "udp"},
1023{"sdnskmp",            {NULL}, 558, "tcp"},
1024{"sdnskmp",            {NULL}, 558, "udp"},
1025{"teedtap",            {NULL}, 559, "tcp"},
1026{"teedtap",            {NULL}, 559, "udp"},
1027{"rmonitor",           {NULL}, 560, "tcp"},
1028{"rmonitor",           {NULL}, 560, "udp"},
1029{"monitor",            {NULL}, 561, "tcp"},
1030{"monitor",            {NULL}, 561, "udp"},
1031{"chshell",            {NULL}, 562, "tcp"},
1032{"chshell",            {NULL}, 562, "udp"},
1033{"nntps",              {NULL}, 563, "tcp"},
1034{"nntps",              {NULL}, 563, "udp"},
1035{"9pfs",               {NULL}, 564, "tcp"},
1036{"9pfs",               {NULL}, 564, "udp"},
1037{"whoami",             {NULL}, 565, "tcp"},
1038{"whoami",             {NULL}, 565, "udp"},
1039{"streettalk",         {NULL}, 566, "tcp"},
1040{"streettalk",         {NULL}, 566, "udp"},
1041{"banyan-rpc",         {NULL}, 567, "tcp"},
1042{"banyan-rpc",         {NULL}, 567, "udp"},
1043{"ms-shuttle",         {NULL}, 568, "tcp"},
1044{"ms-shuttle",         {NULL}, 568, "udp"},
1045{"ms-rome",            {NULL}, 569, "tcp"},
1046{"ms-rome",            {NULL}, 569, "udp"},
1047{"meter",              {NULL}, 570, "tcp"},
1048{"meter",              {NULL}, 570, "udp"},
1049{"meter",              {NULL}, 571, "tcp"},
1050{"meter",              {NULL}, 571, "udp"},
1051{"sonar",              {NULL}, 572, "tcp"},
1052{"sonar",              {NULL}, 572, "udp"},
1053{"banyan-vip",         {NULL}, 573, "tcp"},
1054{"banyan-vip",         {NULL}, 573, "udp"},
1055{"ftp-agent",          {NULL}, 574, "tcp"},
1056{"ftp-agent",          {NULL}, 574, "udp"},
1057{"vemmi",              {NULL}, 575, "tcp"},
1058{"vemmi",              {NULL}, 575, "udp"},
1059{"ipcd",               {NULL}, 576, "tcp"},
1060{"ipcd",               {NULL}, 576, "udp"},
1061{"vnas",               {NULL}, 577, "tcp"},
1062{"vnas",               {NULL}, 577, "udp"},
1063{"ipdd",               {NULL}, 578, "tcp"},
1064{"ipdd",               {NULL}, 578, "udp"},
1065{"decbsrv",            {NULL}, 579, "tcp"},
1066{"decbsrv",            {NULL}, 579, "udp"},
1067{"sntp-heartbeat",     {NULL}, 580, "tcp"},
1068{"sntp-heartbeat",     {NULL}, 580, "udp"},
1069{"bdp",                {NULL}, 581, "tcp"},
1070{"bdp",                {NULL}, 581, "udp"},
1071{"scc-security",       {NULL}, 582, "tcp"},
1072{"scc-security",       {NULL}, 582, "udp"},
1073{"philips-vc",         {NULL}, 583, "tcp"},
1074{"philips-vc",         {NULL}, 583, "udp"},
1075{"keyserver",          {NULL}, 584, "tcp"},
1076{"keyserver",          {NULL}, 584, "udp"},
1077{"password-chg",       {NULL}, 586, "tcp"},
1078{"password-chg",       {NULL}, 586, "udp"},
1079{"submission",         {NULL}, 587, "tcp"},
1080{"submission",         {NULL}, 587, "udp"},
1081{"cal",                {NULL}, 588, "tcp"},
1082{"cal",                {NULL}, 588, "udp"},
1083{"eyelink",            {NULL}, 589, "tcp"},
1084{"eyelink",            {NULL}, 589, "udp"},
1085{"tns-cml",            {NULL}, 590, "tcp"},
1086{"tns-cml",            {NULL}, 590, "udp"},
1087{"http-alt",           {NULL}, 591, "tcp"},
1088{"http-alt",           {NULL}, 591, "udp"},
1089{"eudora-set",         {NULL}, 592, "tcp"},
1090{"eudora-set",         {NULL}, 592, "udp"},
1091{"http-rpc-epmap",     {NULL}, 593, "tcp"},
1092{"http-rpc-epmap",     {NULL}, 593, "udp"},
1093{"tpip",               {NULL}, 594, "tcp"},
1094{"tpip",               {NULL}, 594, "udp"},
1095{"cab-protocol",       {NULL}, 595, "tcp"},
1096{"cab-protocol",       {NULL}, 595, "udp"},
1097{"smsd",               {NULL}, 596, "tcp"},
1098{"smsd",               {NULL}, 596, "udp"},
1099{"ptcnameservice",     {NULL}, 597, "tcp"},
1100{"ptcnameservice",     {NULL}, 597, "udp"},
1101{"sco-websrvrmg3",     {NULL}, 598, "tcp"},
1102{"sco-websrvrmg3",     {NULL}, 598, "udp"},
1103{"acp",                {NULL}, 599, "tcp"},
1104{"acp",                {NULL}, 599, "udp"},
1105{"ipcserver",          {NULL}, 600, "tcp"},
1106{"ipcserver",          {NULL}, 600, "udp"},
1107{"syslog-conn",        {NULL}, 601, "tcp"},
1108{"syslog-conn",        {NULL}, 601, "udp"},
1109{"xmlrpc-beep",        {NULL}, 602, "tcp"},
1110{"xmlrpc-beep",        {NULL}, 602, "udp"},
1111{"idxp",               {NULL}, 603, "tcp"},
1112{"idxp",               {NULL}, 603, "udp"},
1113{"tunnel",             {NULL}, 604, "tcp"},
1114{"tunnel",             {NULL}, 604, "udp"},
1115{"soap-beep",          {NULL}, 605, "tcp"},
1116{"soap-beep",          {NULL}, 605, "udp"},
1117{"urm",                {NULL}, 606, "tcp"},
1118{"urm",                {NULL}, 606, "udp"},
1119{"nqs",                {NULL}, 607, "tcp"},
1120{"nqs",                {NULL}, 607, "udp"},
1121{"sift-uft",           {NULL}, 608, "tcp"},
1122{"sift-uft",           {NULL}, 608, "udp"},
1123{"npmp-trap",          {NULL}, 609, "tcp"},
1124{"npmp-trap",          {NULL}, 609, "udp"},
1125{"npmp-local",         {NULL}, 610, "tcp"},
1126{"npmp-local",         {NULL}, 610, "udp"},
1127{"npmp-gui",           {NULL}, 611, "tcp"},
1128{"npmp-gui",           {NULL}, 611, "udp"},
1129{"hmmp-ind",           {NULL}, 612, "tcp"},
1130{"hmmp-ind",           {NULL}, 612, "udp"},
1131{"hmmp-op",            {NULL}, 613, "tcp"},
1132{"hmmp-op",            {NULL}, 613, "udp"},
1133{"sshell",             {NULL}, 614, "tcp"},
1134{"sshell",             {NULL}, 614, "udp"},
1135{"sco-inetmgr",        {NULL}, 615, "tcp"},
1136{"sco-inetmgr",        {NULL}, 615, "udp"},
1137{"sco-sysmgr",         {NULL}, 616, "tcp"},
1138{"sco-sysmgr",         {NULL}, 616, "udp"},
1139{"sco-dtmgr",          {NULL}, 617, "tcp"},
1140{"sco-dtmgr",          {NULL}, 617, "udp"},
1141{"dei-icda",           {NULL}, 618, "tcp"},
1142{"dei-icda",           {NULL}, 618, "udp"},
1143{"compaq-evm",         {NULL}, 619, "tcp"},
1144{"compaq-evm",         {NULL}, 619, "udp"},
1145{"sco-websrvrmgr",     {NULL}, 620, "tcp"},
1146{"sco-websrvrmgr",     {NULL}, 620, "udp"},
1147{"escp-ip",            {NULL}, 621, "tcp"},
1148{"escp-ip",            {NULL}, 621, "udp"},
1149{"collaborator",       {NULL}, 622, "tcp"},
1150{"collaborator",       {NULL}, 622, "udp"},
1151{"oob-ws-http",        {NULL}, 623, "tcp"},
1152{"asf-rmcp",           {NULL}, 623, "udp"},
1153{"cryptoadmin",        {NULL}, 624, "tcp"},
1154{"cryptoadmin",        {NULL}, 624, "udp"},
1155{"dec_dlm",            {NULL}, 625, "tcp"},
1156{"dec_dlm",            {NULL}, 625, "udp"},
1157{"asia",               {NULL}, 626, "tcp"},
1158{"asia",               {NULL}, 626, "udp"},
1159{"passgo-tivoli",      {NULL}, 627, "tcp"},
1160{"passgo-tivoli",      {NULL}, 627, "udp"},
1161{"qmqp",               {NULL}, 628, "tcp"},
1162{"qmqp",               {NULL}, 628, "udp"},
1163{"3com-amp3",          {NULL}, 629, "tcp"},
1164{"3com-amp3",          {NULL}, 629, "udp"},
1165{"rda",                {NULL}, 630, "tcp"},
1166{"rda",                {NULL}, 630, "udp"},
1167{"ipp",                {NULL}, 631, "tcp"},
1168{"ipp",                {NULL}, 631, "udp"},
1169{"bmpp",               {NULL}, 632, "tcp"},
1170{"bmpp",               {NULL}, 632, "udp"},
1171{"servstat",           {NULL}, 633, "tcp"},
1172{"servstat",           {NULL}, 633, "udp"},
1173{"ginad",              {NULL}, 634, "tcp"},
1174{"ginad",              {NULL}, 634, "udp"},
1175{"rlzdbase",           {NULL}, 635, "tcp"},
1176{"rlzdbase",           {NULL}, 635, "udp"},
1177{"ldaps",              {NULL}, 636, "tcp"},
1178

Large files files are truncated, but you can click here to view the full file