diff --git a/usr.bin/ctlstat/Makefile b/usr.bin/ctlstat/Makefile index 31182374f381..53b7a59fae23 100644 --- a/usr.bin/ctlstat/Makefile +++ b/usr.bin/ctlstat/Makefile @@ -1,8 +1,10 @@ # $FreeBSD$ PROG= ctlstat MAN= ctlstat.8 SDIR= ${SRCTOP}/sys CFLAGS+= -I${SDIR} +LIBADD= sbuf bsdxml + .include diff --git a/usr.bin/ctlstat/ctlstat.8 b/usr.bin/ctlstat/ctlstat.8 index 28e6d6fd1462..2512803f798a 100644 --- a/usr.bin/ctlstat/ctlstat.8 +++ b/usr.bin/ctlstat/ctlstat.8 @@ -1,123 +1,143 @@ .\" .\" Copyright (c) 2010 Silicon Graphics International Corp. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions, and the following disclaimer, .\" without modification. .\" 2. Redistributions in binary form must reproduce at minimum a disclaimer .\" substantially similar to the "NO WARRANTY" disclaimer below .\" ("Disclaimer") and any redistribution must be conditioned upon .\" including a substantially similar Disclaimer requirement for further .\" binary redistribution. .\" .\" NO WARRANTY .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT .\" HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGES. .\" .\" ctlstat utility man page. .\" .\" Author: Ken Merry .\" .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.bin/ctlstat/ctlstat.8#2 $ .\" $FreeBSD$ .\" -.Dd January 9, 2017 +.Dd April 22, 2021 .Dt CTLSTAT 8 .Os .Sh NAME .Nm ctlstat .Nd CAM Target Layer statistics utility .Sh SYNOPSIS .Nm .Op Fl t .Op Fl c Ar count .Op Fl C .Op Fl d .Op Fl D .Op Fl j +.Op Fl P .Op Fl l Ar lun .Op Fl n Ar numdevs .Op Fl p Ar port .Op Fl w Ar wait .Sh DESCRIPTION The .Nm utility provides statistics information for the CAM Target Layer. The first display (except for dump and JSON modes) shows average statistics since system startup. Subsequent displays show average statistics during the measurement interval. .Pp The options are as follows: .Bl -tag -width 10n .It Fl t Total mode. This displays separate columns with the total read and write output, and a combined total column that also includes non I/O operations. .It Fl c Ar count Display statistics this many times. .It Fl C Disable CPU statistics display. .It Fl d Display DMA operation time (latency) instead of overall I/O time (latency). .It Fl D Text dump mode. Dump statistics every 30 seconds in a text format suitable for parsing. No statistics are computed in this mode, only raw numbers are displayed. .It Fl h Suppress display of the header. .It Fl j JSON dump mode. Dump statistics every 30 seconds in JavaScript Object Notation (JSON) format. No statistics are computed in this mode, only raw numbers are displayed. +.It Fl P +Prometheus dump mode. +Dump statistics in a format suitable for ingestion into Prometheus. +When invoked with this option, +.Nm +dumps once, regardless of the +.Fl t +option. +This option is especially useful when invoked by +.Xr inetd 8 . +See the comments in +.Pa /etc/inetd.conf +for an example configuration. .It Fl l Ar lun Request statistics for the specified LUN. .It Fl n Ar numdevs Display statistics for this many devices. .It Fl p Ar port Request statistics for the specified port. .It Fl w Ar wait Wait this many seconds in between displays. If this option is not specified, .Nm defaults to a 1 second interval. .El .Sh EXAMPLES .Dl ctlstat -t .Pp Display total statistics for the system with a one second interval. .Pp .Dl ctlstat -d -l 5 -C .Pp Display average DMA time for LUN 5 and omit CPU utilization. .Pp .Dl ctlstat -n 7 -w 10 .Pp Display statistics for the first 7 LUNs, and display average statistics every 10 seconds. .Sh SEE ALSO .Xr cam 3 , .Xr cam 4 , .Xr ctl 4 , .Xr xpt 4 , .Xr camcontrol 8 , .Xr ctladm 8 , .Xr ctld 8 , -.Xr iostat 8 +.Xr iostat 8 , +.Lk +Prometheus project: +.Pa https://prometheus.io/ . +.Pp +Prometheus exposition formats: +.Lk https://prometheus.io/docs/instrumenting/exposition_formats/ . .Sh AUTHORS .An Ken Merry Aq Mt ken@FreeBSD.org .An Will Andrews Aq Mt will@FreeBSD.org .An Alexander Motin Aq Mt mav@FreeBSD.org diff --git a/usr.bin/ctlstat/ctlstat.c b/usr.bin/ctlstat/ctlstat.c index 6586430172ce..50b9e3b1445b 100644 --- a/usr.bin/ctlstat/ctlstat.c +++ b/usr.bin/ctlstat/ctlstat.c @@ -1,733 +1,958 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2004, 2008, 2009 Silicon Graphics International Corp. * Copyright (c) 2017 Alexander Motin * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions, and the following disclaimer, * without modification. * 2. Redistributions in binary form must reproduce at minimum a disclaimer * substantially similar to the "NO WARRANTY" disclaimer below * ("Disclaimer") and any redistribution must be conditioned upon * including a substantially similar Disclaimer requirement for further * binary redistribution. * * NO WARRANTY * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * * $Id: //depot/users/kenm/FreeBSD-test2/usr.bin/ctlstat/ctlstat.c#4 $ */ /* * CAM Target Layer statistics program * * Authors: Ken Merry , Will Andrews */ #include __FBSDID("$FreeBSD$"); -#include -#include #include -#include -#include -#include -#include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include #include #include +#include #include #include #include #include #include #include #include #include #include #include #include #include #include /* * The default amount of space we allocate for stats storage space. * We dynamically allocate more if needed. */ #define CTL_STAT_NUM_ITEMS 256 static int ctl_stat_bits; -static const char *ctlstat_opts = "Cc:Ddhjl:n:p:tw:"; -static const char *ctlstat_usage = "Usage: ctlstat [-CDdjht] [-l lunnum]" +static const char *ctlstat_opts = "Cc:DPdhjl:n:p:tw:"; +static const char *ctlstat_usage = "Usage: ctlstat [-CDPdjht] [-l lunnum]" "[-c count] [-n numdevs] [-w wait]\n"; struct ctl_cpu_stats { uint64_t user; uint64_t nice; uint64_t system; uint64_t intr; uint64_t idle; }; typedef enum { CTLSTAT_MODE_STANDARD, CTLSTAT_MODE_DUMP, CTLSTAT_MODE_JSON, + CTLSTAT_MODE_PROMETHEUS, } ctlstat_mode_types; #define CTLSTAT_FLAG_CPU (1 << 0) #define CTLSTAT_FLAG_HEADER (1 << 1) #define CTLSTAT_FLAG_FIRST_RUN (1 << 2) #define CTLSTAT_FLAG_TOTALS (1 << 3) #define CTLSTAT_FLAG_DMA_TIME (1 << 4) #define CTLSTAT_FLAG_TIME_VALID (1 << 5) #define CTLSTAT_FLAG_MASK (1 << 6) #define CTLSTAT_FLAG_LUNS (1 << 7) #define CTLSTAT_FLAG_PORTS (1 << 8) #define F_CPU(ctx) ((ctx)->flags & CTLSTAT_FLAG_CPU) #define F_HDR(ctx) ((ctx)->flags & CTLSTAT_FLAG_HEADER) #define F_FIRST(ctx) ((ctx)->flags & CTLSTAT_FLAG_FIRST_RUN) #define F_TOTALS(ctx) ((ctx)->flags & CTLSTAT_FLAG_TOTALS) #define F_DMA(ctx) ((ctx)->flags & CTLSTAT_FLAG_DMA_TIME) #define F_TIMEVAL(ctx) ((ctx)->flags & CTLSTAT_FLAG_TIME_VALID) #define F_MASK(ctx) ((ctx)->flags & CTLSTAT_FLAG_MASK) #define F_LUNS(ctx) ((ctx)->flags & CTLSTAT_FLAG_LUNS) #define F_PORTS(ctx) ((ctx)->flags & CTLSTAT_FLAG_PORTS) struct ctlstat_context { ctlstat_mode_types mode; int flags; struct ctl_io_stats *cur_stats, *prev_stats; struct ctl_io_stats cur_total_stats[3], prev_total_stats[3]; struct timespec cur_time, prev_time; struct ctl_cpu_stats cur_cpu, prev_cpu; uint64_t cur_total_jiffies, prev_total_jiffies; uint64_t cur_idle, prev_idle; bitstr_t *item_mask; int cur_items, prev_items; int cur_alloc, prev_alloc; int numdevs; int header_interval; }; +struct cctl_portlist_data { + int level; + struct sbuf *cur_sb[32]; + int lun; + int ntargets; + char *target; + char **targets; +}; + #ifndef min #define min(x,y) (((x) < (y)) ? (x) : (y)) #endif static void usage(int error); static int getstats(int fd, int *alloc_items, int *num_items, struct ctl_io_stats **xstats, struct timespec *cur_time, int *time_valid); static int getcpu(struct ctl_cpu_stats *cpu_stats); static void compute_stats(struct ctl_io_stats *cur_stats, struct ctl_io_stats *prev_stats, long double etime, long double *mbsec, long double *kb_per_transfer, long double *transfers_per_second, long double *ms_per_transfer, long double *ms_per_dma, long double *dmas_per_second); static void usage(int error) { fputs(ctlstat_usage, error ? stderr : stdout); } static int getstats(int fd, int *alloc_items, int *num_items, struct ctl_io_stats **stats, struct timespec *cur_time, int *flags) { struct ctl_get_io_stats get_stats; int more_space_count = 0; if (*alloc_items == 0) *alloc_items = CTL_STAT_NUM_ITEMS; retry: if (*stats == NULL) *stats = malloc(sizeof(**stats) * *alloc_items); memset(&get_stats, 0, sizeof(get_stats)); get_stats.alloc_len = *alloc_items * sizeof(**stats); memset(*stats, 0, get_stats.alloc_len); get_stats.stats = *stats; if (ioctl(fd, (*flags & CTLSTAT_FLAG_PORTS) ? CTL_GET_PORT_STATS : CTL_GET_LUN_STATS, &get_stats) == -1) err(1, "CTL_GET_*_STATS ioctl returned error"); switch (get_stats.status) { case CTL_SS_OK: break; case CTL_SS_ERROR: err(1, "CTL_GET_*_STATS ioctl returned CTL_SS_ERROR"); break; case CTL_SS_NEED_MORE_SPACE: if (more_space_count >= 2) errx(1, "CTL_GET_*_STATS returned NEED_MORE_SPACE again"); *alloc_items = get_stats.num_items * 5 / 4; free(*stats); *stats = NULL; more_space_count++; goto retry; break; /* NOTREACHED */ default: errx(1, "CTL_GET_*_STATS ioctl returned unknown status %d", get_stats.status); break; } *num_items = get_stats.fill_len / sizeof(**stats); cur_time->tv_sec = get_stats.timestamp.tv_sec; cur_time->tv_nsec = get_stats.timestamp.tv_nsec; if (get_stats.flags & CTL_STATS_FLAG_TIME_VALID) *flags |= CTLSTAT_FLAG_TIME_VALID; else *flags &= ~CTLSTAT_FLAG_TIME_VALID; return (0); } static int getcpu(struct ctl_cpu_stats *cpu_stats) { long cp_time[CPUSTATES]; size_t cplen; cplen = sizeof(cp_time); if (sysctlbyname("kern.cp_time", &cp_time, &cplen, NULL, 0) == -1) { warn("sysctlbyname(kern.cp_time...) failed"); return (1); } cpu_stats->user = cp_time[CP_USER]; cpu_stats->nice = cp_time[CP_NICE]; cpu_stats->system = cp_time[CP_SYS]; cpu_stats->intr = cp_time[CP_INTR]; cpu_stats->idle = cp_time[CP_IDLE]; return (0); } static void compute_stats(struct ctl_io_stats *cur_stats, struct ctl_io_stats *prev_stats, long double etime, long double *mbsec, long double *kb_per_transfer, long double *transfers_per_second, long double *ms_per_transfer, long double *ms_per_dma, long double *dmas_per_second) { uint64_t total_bytes = 0, total_operations = 0, total_dmas = 0; struct bintime total_time_bt, total_dma_bt; struct timespec total_time_ts, total_dma_ts; int i; bzero(&total_time_bt, sizeof(total_time_bt)); bzero(&total_dma_bt, sizeof(total_dma_bt)); bzero(&total_time_ts, sizeof(total_time_ts)); bzero(&total_dma_ts, sizeof(total_dma_ts)); for (i = 0; i < CTL_STATS_NUM_TYPES; i++) { total_bytes += cur_stats->bytes[i]; total_operations += cur_stats->operations[i]; total_dmas += cur_stats->dmas[i]; bintime_add(&total_time_bt, &cur_stats->time[i]); bintime_add(&total_dma_bt, &cur_stats->dma_time[i]); if (prev_stats != NULL) { total_bytes -= prev_stats->bytes[i]; total_operations -= prev_stats->operations[i]; total_dmas -= prev_stats->dmas[i]; bintime_sub(&total_time_bt, &prev_stats->time[i]); bintime_sub(&total_dma_bt, &prev_stats->dma_time[i]); } } *mbsec = total_bytes; *mbsec /= 1024 * 1024; if (etime > 0.0) *mbsec /= etime; else *mbsec = 0; *kb_per_transfer = total_bytes; *kb_per_transfer /= 1024; if (total_operations > 0) *kb_per_transfer /= total_operations; else *kb_per_transfer = 0; *transfers_per_second = total_operations; *dmas_per_second = total_dmas; if (etime > 0.0) { *transfers_per_second /= etime; *dmas_per_second /= etime; } else { *transfers_per_second = 0; *dmas_per_second = 0; } bintime2timespec(&total_time_bt, &total_time_ts); bintime2timespec(&total_dma_bt, &total_dma_ts); if (total_operations > 0) { /* * Convert the timespec to milliseconds. */ *ms_per_transfer = total_time_ts.tv_sec * 1000; *ms_per_transfer += total_time_ts.tv_nsec / 1000000; *ms_per_transfer /= total_operations; } else *ms_per_transfer = 0; if (total_dmas > 0) { /* * Convert the timespec to milliseconds. */ *ms_per_dma = total_dma_ts.tv_sec * 1000; *ms_per_dma += total_dma_ts.tv_nsec / 1000000; *ms_per_dma /= total_dmas; } else *ms_per_dma = 0; } /* The dump_stats() and json_stats() functions perform essentially the same * purpose, but dump the statistics in different formats. JSON is more * conducive to programming, however. */ #define PRINT_BINTIME(bt) \ printf("%jd.%06ju", (intmax_t)(bt).sec, \ (uintmax_t)(((bt).frac >> 32) * 1000000 >> 32)) static const char *iotypes[] = {"NO IO", "READ", "WRITE"}; static void ctlstat_dump(struct ctlstat_context *ctx) { int iotype, i, n; struct ctl_io_stats *stats = ctx->cur_stats; for (i = n = 0; i < ctx->cur_items;i++) { if (F_MASK(ctx) && bit_test(ctx->item_mask, (int)stats[i].item) == 0) continue; printf("%s %d\n", F_PORTS(ctx) ? "port" : "lun", stats[i].item); for (iotype = 0; iotype < CTL_STATS_NUM_TYPES; iotype++) { printf(" io type %d (%s)\n", iotype, iotypes[iotype]); printf(" bytes %ju\n", (uintmax_t) stats[i].bytes[iotype]); printf(" operations %ju\n", (uintmax_t) stats[i].operations[iotype]); printf(" dmas %ju\n", (uintmax_t) stats[i].dmas[iotype]); printf(" io time "); PRINT_BINTIME(stats[i].time[iotype]); printf("\n dma time "); PRINT_BINTIME(stats[i].dma_time[iotype]); printf("\n"); } if (++n >= ctx->numdevs) break; } } static void ctlstat_json(struct ctlstat_context *ctx) { int iotype, i, n; struct ctl_io_stats *stats = ctx->cur_stats; printf("{\"%s\":[", F_PORTS(ctx) ? "ports" : "luns"); for (i = n = 0; i < ctx->cur_items; i++) { if (F_MASK(ctx) && bit_test(ctx->item_mask, (int)stats[i].item) == 0) continue; printf("{\"num\":%d,\"io\":[", stats[i].item); for (iotype = 0; iotype < CTL_STATS_NUM_TYPES; iotype++) { printf("{\"type\":\"%s\",", iotypes[iotype]); printf("\"bytes\":%ju,", (uintmax_t) stats[i].bytes[iotype]); printf("\"operations\":%ju,", (uintmax_t) stats[i].operations[iotype]); printf("\"dmas\":%ju,", (uintmax_t) stats[i].dmas[iotype]); printf("\"io time\":"); PRINT_BINTIME(stats[i].time[iotype]); printf(",\"dma time\":"); PRINT_BINTIME(stats[i].dma_time[iotype]); printf("}"); if (iotype < (CTL_STATS_NUM_TYPES - 1)) printf(","); /* continue io array */ } printf("]}"); if (++n >= ctx->numdevs) break; if (i < (ctx->cur_items - 1)) printf(","); /* continue lun array */ } printf("]}"); } +#define CTLSTAT_PROMETHEUS_LOOP(field) \ + for (i = n = 0; i < ctx->cur_items; i++) { \ + if (F_MASK(ctx) && bit_test(ctx->item_mask, \ + (int)stats[i].item) == 0) \ + continue; \ + for (iotype = 0; iotype < CTL_STATS_NUM_TYPES; iotype++) { \ + int lun = stats[i].item; \ + if (lun >= targdata.ntargets) \ + errx(1, "LUN %u out of range", lun); \ + printf("iscsi_target_" #field "{" \ + "lun=\"%u\",target=\"%s\",type=\"%s\"} %" PRIu64 \ + "\n", \ + lun, targdata.targets[lun], iotypes[iotype], \ + stats[i].field[iotype]); \ + } \ + } \ + +#define CTLSTAT_PROMETHEUS_TIMELOOP(field) \ + for (i = n = 0; i < ctx->cur_items; i++) { \ + if (F_MASK(ctx) && bit_test(ctx->item_mask, \ + (int)stats[i].item) == 0) \ + continue; \ + for (iotype = 0; iotype < CTL_STATS_NUM_TYPES; iotype++) { \ + uint64_t us; \ + struct timespec ts; \ + int lun = stats[i].item; \ + if (lun >= targdata.ntargets) \ + errx(1, "LUN %u out of range", lun); \ + bintime2timespec(&stats[i].field[iotype], &ts); \ + us = ts.tv_sec * 1000000 + ts.tv_nsec / 1000; \ + printf("iscsi_target_" #field "{" \ + "lun=\"%u\",target=\"%s\",type=\"%s\"} %" PRIu64 \ + "\n", \ + lun, targdata.targets[lun], iotypes[iotype], us); \ + } \ + } \ + +static void +cctl_start_pelement(void *user_data, const char *name, const char **attr __unused) +{ + struct cctl_portlist_data* targdata = user_data; + + targdata->level++; + if ((u_int)targdata->level >= (sizeof(targdata->cur_sb) / + sizeof(targdata->cur_sb[0]))) + errx(1, "%s: too many nesting levels, %zd max", __func__, + sizeof(targdata->cur_sb) / sizeof(targdata->cur_sb[0])); + + targdata->cur_sb[targdata->level] = sbuf_new_auto(); + if (targdata->cur_sb[targdata->level] == NULL) + err(1, "%s: Unable to allocate sbuf", __func__); + + if (strcmp(name, "targ_port") == 0) { + targdata->lun = -1; + free(targdata->target); + targdata->target = NULL; + } +} + +static void +cctl_char_phandler(void *user_data, const XML_Char *str, int len) +{ + struct cctl_portlist_data *targdata = user_data; + + sbuf_bcat(targdata->cur_sb[targdata->level], str, len); +} + +static void +cctl_end_pelement(void *user_data, const char *name) +{ + struct cctl_portlist_data* targdata = user_data; + char *str; + + if (targdata->cur_sb[targdata->level] == NULL) + errx(1, "%s: no valid sbuf at level %d (name %s)", __func__, + targdata->level, name); + + if (sbuf_finish(targdata->cur_sb[targdata->level]) != 0) + err(1, "%s: sbuf_finish", __func__); + str = strdup(sbuf_data(targdata->cur_sb[targdata->level])); + if (str == NULL) + err(1, "%s can't allocate %zd bytes for string", __func__, + sbuf_len(targdata->cur_sb[targdata->level])); + + sbuf_delete(targdata->cur_sb[targdata->level]); + targdata->cur_sb[targdata->level] = NULL; + targdata->level--; + + if (strcmp(name, "target") == 0) { + free(targdata->target); + targdata->target = str; + } else if (strcmp(name, "lun") == 0) { + targdata->lun = atoi(str); + free(str); + } else if (strcmp(name, "targ_port") == 0) { + if (targdata->lun >= 0 && targdata->target != NULL) { + if (targdata->lun >= targdata->ntargets) { + /* + * This can happen for example if there are + * holes in CTL's lunlist. + */ + targdata->ntargets = MAX(targdata->ntargets * 2, + targdata->lun + 1); + size_t newsize = targdata->ntargets * + sizeof(char*); + targdata->targets = rallocx(targdata->targets, + newsize, MALLOCX_ZERO); + } + free(targdata->targets[targdata->lun]); + targdata->targets[targdata->lun] = targdata->target; + targdata->target = NULL; + } + free(str); + } else { + free(str); + } +} + +static void +ctlstat_prometheus(int fd, struct ctlstat_context *ctx) { + struct ctl_io_stats *stats = ctx->cur_stats; + struct ctl_lun_list list; + struct cctl_portlist_data targdata; + XML_Parser parser; + char *port_str = NULL; + int iotype, i, n, retval; + int port_len = 4096; + + bzero(&targdata, sizeof(targdata)); + targdata.ntargets = ctx->cur_items; + targdata.targets = calloc(targdata.ntargets, sizeof(char*)); +retry: + port_str = (char *)realloc(port_str, port_len); + bzero(&list, sizeof(list)); + list.alloc_len = port_len; + list.status = CTL_LUN_LIST_NONE; + list.lun_xml = port_str; + if (ioctl(fd, CTL_PORT_LIST, &list) == -1) + err(1, "%s: error issuing CTL_PORT_LIST ioctl", __func__); + if (list.status == CTL_LUN_LIST_ERROR) { + warnx("%s: error returned from CTL_PORT_LIST ioctl:\n%s", + __func__, list.error_str); + } else if (list.status == CTL_LUN_LIST_NEED_MORE_SPACE) { + port_len <<= 1; + goto retry; + } + + parser = XML_ParserCreate(NULL); + if (parser == NULL) + err(1, "%s: Unable to create XML parser", __func__); + XML_SetUserData(parser, &targdata); + XML_SetElementHandler(parser, cctl_start_pelement, cctl_end_pelement); + XML_SetCharacterDataHandler(parser, cctl_char_phandler); + + retval = XML_Parse(parser, port_str, strlen(port_str), 1); + if (retval != 1) { + errx(1, "%s: Unable to parse XML: Error %d", __func__, + XML_GetErrorCode(parser)); + } + XML_ParserFree(parser); + + /* + * NB: Some clients will print a warning if we don't set Content-Length, + * but they still work. And the data still gets into Prometheus. + */ + printf("HTTP/1.1 200 OK\r\n" + "Connection: close\r\n" + "Content-Type: text/plain; version=0.0.4\r\n" + "\r\n"); + + printf("# HELP iscsi_target_bytes Number of bytes\n" + "# TYPE iscsi_target_bytes counter\n"); + CTLSTAT_PROMETHEUS_LOOP(bytes); + printf("# HELP iscsi_target_dmas Number of DMA\n" + "# TYPE iscsi_target_dmas counter\n"); + CTLSTAT_PROMETHEUS_LOOP(dmas); + printf("# HELP iscsi_target_operations Number of operations\n" + "# TYPE iscsi_target_operations counter\n"); + CTLSTAT_PROMETHEUS_LOOP(operations); + printf("# HELP iscsi_target_time Cumulative operation time in us\n" + "# TYPE iscsi_target_time counter\n"); + CTLSTAT_PROMETHEUS_TIMELOOP(time); + printf("# HELP iscsi_target_dma_time Cumulative DMA time in us\n" + "# TYPE iscsi_target_dma_time counter\n"); + CTLSTAT_PROMETHEUS_TIMELOOP(dma_time); + + for (i = 0; i < targdata.ntargets; i++) + free(targdata.targets[i]); + free(targdata.target); + free(targdata.targets); + + fflush(stdout); +} + static void ctlstat_standard(struct ctlstat_context *ctx) { long double etime; uint64_t delta_jiffies, delta_idle; long double cpu_percentage; int i, j, n; cpu_percentage = 0; if (F_CPU(ctx) && (getcpu(&ctx->cur_cpu) != 0)) errx(1, "error returned from getcpu()"); etime = ctx->cur_time.tv_sec - ctx->prev_time.tv_sec + (ctx->prev_time.tv_nsec - ctx->cur_time.tv_nsec) * 1e-9; if (F_CPU(ctx)) { ctx->prev_total_jiffies = ctx->cur_total_jiffies; ctx->cur_total_jiffies = ctx->cur_cpu.user + ctx->cur_cpu.nice + ctx->cur_cpu.system + ctx->cur_cpu.intr + ctx->cur_cpu.idle; delta_jiffies = ctx->cur_total_jiffies; if (F_FIRST(ctx) == 0) delta_jiffies -= ctx->prev_total_jiffies; ctx->prev_idle = ctx->cur_idle; ctx->cur_idle = ctx->cur_cpu.idle; delta_idle = ctx->cur_idle - ctx->prev_idle; cpu_percentage = delta_jiffies - delta_idle; cpu_percentage /= delta_jiffies; cpu_percentage *= 100; } if (F_HDR(ctx)) { ctx->header_interval--; if (ctx->header_interval <= 0) { if (F_CPU(ctx)) fprintf(stdout, " CPU"); if (F_TOTALS(ctx)) { fprintf(stdout, "%s Read %s" " Write %s Total\n", (F_TIMEVAL(ctx) != 0) ? " " : "", (F_TIMEVAL(ctx) != 0) ? " " : "", (F_TIMEVAL(ctx) != 0) ? " " : ""); n = 3; } else { for (i = n = 0; i < min(ctl_stat_bits, ctx->cur_items); i++) { int item; /* * Obviously this won't work with * LUN numbers greater than a signed * integer. */ item = (int)ctx->cur_stats[i].item; if (F_MASK(ctx) && bit_test(ctx->item_mask, item) == 0) continue; fprintf(stdout, "%15.6s%d %s", F_PORTS(ctx) ? "port" : "lun", item, (F_TIMEVAL(ctx) != 0) ? " " : ""); if (++n >= ctx->numdevs) break; } fprintf(stdout, "\n"); } if (F_CPU(ctx)) fprintf(stdout, " "); for (i = 0; i < n; i++) fprintf(stdout, "%s KB/t %s MB/s", (F_TIMEVAL(ctx) != 0) ? " ms" : "", (F_DMA(ctx) == 0) ? "tps" : "dps"); fprintf(stdout, "\n"); ctx->header_interval = 20; } } if (F_CPU(ctx)) fprintf(stdout, "%3.0Lf%%", cpu_percentage); if (F_TOTALS(ctx) != 0) { long double mbsec[3]; long double kb_per_transfer[3]; long double transfers_per_sec[3]; long double ms_per_transfer[3]; long double ms_per_dma[3]; long double dmas_per_sec[3]; for (i = 0; i < 3; i++) ctx->prev_total_stats[i] = ctx->cur_total_stats[i]; memset(&ctx->cur_total_stats, 0, sizeof(ctx->cur_total_stats)); /* Use macros to make the next loop more readable. */ #define ADD_STATS_BYTES(st, i, j) \ ctx->cur_total_stats[st].bytes[j] += \ ctx->cur_stats[i].bytes[j] #define ADD_STATS_OPERATIONS(st, i, j) \ ctx->cur_total_stats[st].operations[j] += \ ctx->cur_stats[i].operations[j] #define ADD_STATS_DMAS(st, i, j) \ ctx->cur_total_stats[st].dmas[j] += \ ctx->cur_stats[i].dmas[j] #define ADD_STATS_TIME(st, i, j) \ bintime_add(&ctx->cur_total_stats[st].time[j], \ &ctx->cur_stats[i].time[j]) #define ADD_STATS_DMA_TIME(st, i, j) \ bintime_add(&ctx->cur_total_stats[st].dma_time[j], \ &ctx->cur_stats[i].dma_time[j]) for (i = 0; i < ctx->cur_items; i++) { if (F_MASK(ctx) && bit_test(ctx->item_mask, (int)ctx->cur_stats[i].item) == 0) continue; for (j = 0; j < CTL_STATS_NUM_TYPES; j++) { ADD_STATS_BYTES(2, i, j); ADD_STATS_OPERATIONS(2, i, j); ADD_STATS_DMAS(2, i, j); ADD_STATS_TIME(2, i, j); ADD_STATS_DMA_TIME(2, i, j); } ADD_STATS_BYTES(0, i, CTL_STATS_READ); ADD_STATS_OPERATIONS(0, i, CTL_STATS_READ); ADD_STATS_DMAS(0, i, CTL_STATS_READ); ADD_STATS_TIME(0, i, CTL_STATS_READ); ADD_STATS_DMA_TIME(0, i, CTL_STATS_READ); ADD_STATS_BYTES(1, i, CTL_STATS_WRITE); ADD_STATS_OPERATIONS(1, i, CTL_STATS_WRITE); ADD_STATS_DMAS(1, i, CTL_STATS_WRITE); ADD_STATS_TIME(1, i, CTL_STATS_WRITE); ADD_STATS_DMA_TIME(1, i, CTL_STATS_WRITE); } for (i = 0; i < 3; i++) { compute_stats(&ctx->cur_total_stats[i], F_FIRST(ctx) ? NULL : &ctx->prev_total_stats[i], etime, &mbsec[i], &kb_per_transfer[i], &transfers_per_sec[i], &ms_per_transfer[i], &ms_per_dma[i], &dmas_per_sec[i]); if (F_DMA(ctx) != 0) fprintf(stdout, " %5.1Lf", ms_per_dma[i]); else if (F_TIMEVAL(ctx) != 0) fprintf(stdout, " %5.1Lf", ms_per_transfer[i]); fprintf(stdout, " %4.0Lf %5.0Lf %4.0Lf", kb_per_transfer[i], (F_DMA(ctx) == 0) ? transfers_per_sec[i] : dmas_per_sec[i], mbsec[i]); } } else { for (i = n = 0; i < min(ctl_stat_bits, ctx->cur_items); i++) { long double mbsec, kb_per_transfer; long double transfers_per_sec; long double ms_per_transfer; long double ms_per_dma; long double dmas_per_sec; if (F_MASK(ctx) && bit_test(ctx->item_mask, (int)ctx->cur_stats[i].item) == 0) continue; for (j = 0; j < ctx->prev_items; j++) { if (ctx->prev_stats[j].item == ctx->cur_stats[i].item) break; } if (j >= ctx->prev_items) j = -1; compute_stats(&ctx->cur_stats[i], j >= 0 ? &ctx->prev_stats[j] : NULL, etime, &mbsec, &kb_per_transfer, &transfers_per_sec, &ms_per_transfer, &ms_per_dma, &dmas_per_sec); if (F_DMA(ctx)) fprintf(stdout, " %5.1Lf", ms_per_dma); else if (F_TIMEVAL(ctx) != 0) fprintf(stdout, " %5.1Lf", ms_per_transfer); fprintf(stdout, " %4.0Lf %5.0Lf %4.0Lf", kb_per_transfer, (F_DMA(ctx) == 0) ? transfers_per_sec : dmas_per_sec, mbsec); if (++n >= ctx->numdevs) break; } } } int main(int argc, char **argv) { int c; int count, waittime; int fd, retval; size_t size; struct ctlstat_context ctx; struct ctl_io_stats *tmp_stats; /* default values */ retval = 0; waittime = 1; count = -1; memset(&ctx, 0, sizeof(ctx)); ctx.numdevs = 3; ctx.mode = CTLSTAT_MODE_STANDARD; ctx.flags |= CTLSTAT_FLAG_CPU; ctx.flags |= CTLSTAT_FLAG_FIRST_RUN; ctx.flags |= CTLSTAT_FLAG_HEADER; size = sizeof(ctl_stat_bits); if (sysctlbyname("kern.cam.ctl.max_luns", &ctl_stat_bits, &size, NULL, 0) == -1) { /* Backward compatibility for where the sysctl wasn't exposed */ ctl_stat_bits = 1024; } ctx.item_mask = bit_alloc(ctl_stat_bits); if (ctx.item_mask == NULL) err(1, "bit_alloc() failed"); while ((c = getopt(argc, argv, ctlstat_opts)) != -1) { switch (c) { case 'C': ctx.flags &= ~CTLSTAT_FLAG_CPU; break; case 'c': count = atoi(optarg); break; case 'd': ctx.flags |= CTLSTAT_FLAG_DMA_TIME; break; case 'D': ctx.mode = CTLSTAT_MODE_DUMP; waittime = 30; break; case 'h': ctx.flags &= ~CTLSTAT_FLAG_HEADER; break; case 'j': ctx.mode = CTLSTAT_MODE_JSON; waittime = 30; break; case 'l': { int cur_lun; cur_lun = atoi(optarg); if (cur_lun > ctl_stat_bits) errx(1, "Invalid LUN number %d", cur_lun); if (!F_MASK(&ctx)) ctx.numdevs = 1; else ctx.numdevs++; bit_set(ctx.item_mask, cur_lun); ctx.flags |= CTLSTAT_FLAG_MASK; ctx.flags |= CTLSTAT_FLAG_LUNS; break; } case 'n': ctx.numdevs = atoi(optarg); break; case 'p': { int cur_port; cur_port = atoi(optarg); if (cur_port > ctl_stat_bits) errx(1, "Invalid port number %d", cur_port); if (!F_MASK(&ctx)) ctx.numdevs = 1; else ctx.numdevs++; bit_set(ctx.item_mask, cur_port); ctx.flags |= CTLSTAT_FLAG_MASK; ctx.flags |= CTLSTAT_FLAG_PORTS; break; } + case 'P': + ctx.mode = CTLSTAT_MODE_PROMETHEUS; + break; case 't': ctx.flags |= CTLSTAT_FLAG_TOTALS; break; case 'w': waittime = atoi(optarg); break; default: retval = 1; usage(retval); exit(retval); break; } } if (F_LUNS(&ctx) && F_PORTS(&ctx)) errx(1, "Options -p and -l are exclusive."); + if (ctx.mode == CTLSTAT_MODE_PROMETHEUS) { + if ((count != -1) || + (waittime != 1) || + /* NB: -P could be compatible with -t in the future */ + (ctx.flags & CTLSTAT_FLAG_TOTALS)) + { + errx(1, "Option -P is exclusive with -c, -w, and -t"); + } + count = 1; + } + if (!F_LUNS(&ctx) && !F_PORTS(&ctx)) { if (F_TOTALS(&ctx)) ctx.flags |= CTLSTAT_FLAG_PORTS; else ctx.flags |= CTLSTAT_FLAG_LUNS; } if ((fd = open(CTL_DEFAULT_DEV, O_RDWR)) == -1) err(1, "cannot open %s", CTL_DEFAULT_DEV); for (;count != 0;) { tmp_stats = ctx.prev_stats; ctx.prev_stats = ctx.cur_stats; ctx.cur_stats = tmp_stats; c = ctx.prev_alloc; ctx.prev_alloc = ctx.cur_alloc; ctx.cur_alloc = c; c = ctx.prev_items; ctx.prev_items = ctx.cur_items; ctx.cur_items = c; ctx.prev_time = ctx.cur_time; ctx.prev_cpu = ctx.cur_cpu; if (getstats(fd, &ctx.cur_alloc, &ctx.cur_items, &ctx.cur_stats, &ctx.cur_time, &ctx.flags) != 0) errx(1, "error returned from getstats()"); switch(ctx.mode) { case CTLSTAT_MODE_STANDARD: ctlstat_standard(&ctx); break; case CTLSTAT_MODE_DUMP: ctlstat_dump(&ctx); break; case CTLSTAT_MODE_JSON: ctlstat_json(&ctx); break; + case CTLSTAT_MODE_PROMETHEUS: + ctlstat_prometheus(fd, &ctx); + break; default: break; } fprintf(stdout, "\n"); fflush(stdout); ctx.flags &= ~CTLSTAT_FLAG_FIRST_RUN; if (count != 1) sleep(waittime); if (count > 0) count--; } exit (retval); } /* * vim: ts=8 */ diff --git a/usr.sbin/inetd/inetd.conf b/usr.sbin/inetd/inetd.conf index 82f68be7ab5d..09dfbab66496 100644 --- a/usr.sbin/inetd/inetd.conf +++ b/usr.sbin/inetd/inetd.conf @@ -1,146 +1,149 @@ # $FreeBSD$ # # Internet server configuration database # # Define *both* IPv4 and IPv6 entries for dual-stack support. # To disable a service, comment it out by prefixing the line with '#'. # To enable a service, remove the '#' at the beginning of the line. # #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #shell stream tcp nowait root /usr/local/sbin/rshd rshd #shell stream tcp6 nowait root /usr/local/sbin/rshd rshd #login stream tcp nowait root /usr/local/sbin/rlogind rlogind #login stream tcp6 nowait root /usr/local/sbin/rlogind rlogind #finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -k -s #finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -k -s # # run comsat as root to be able to print partial mailbox contents w/ biff, # or use the safer tty:tty to just print that new mail has been received. #comsat dgram udp wait tty:tty /usr/libexec/comsat comsat # # ntalk is required for the 'talk' utility to work correctly #ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd #tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #bootps dgram udp wait root /usr/libexec/bootpd bootpd # # "Small servers" -- used to be standard on, but we're more conservative # about things due to Internet security concerns. Only turn on what you # need. # #daytime stream tcp nowait root internal #daytime stream tcp6 nowait root internal #daytime dgram udp wait root internal #daytime dgram udp6 wait root internal #time stream tcp nowait root internal #time stream tcp6 nowait root internal #time dgram udp wait root internal #time dgram udp6 wait root internal #echo stream tcp nowait root internal #echo stream tcp6 nowait root internal #echo dgram udp wait root internal #echo dgram udp6 wait root internal #discard stream tcp nowait root internal #discard stream tcp6 nowait root internal #discard dgram udp wait root internal #discard dgram udp6 wait root internal #chargen stream tcp nowait root internal #chargen stream tcp6 nowait root internal #chargen dgram udp wait root internal #chargen dgram udp6 wait root internal # # CVS servers - for master CVS repositories only! You must set the # --allow-root path correctly or you open a trivial to exploit but # deadly security hole. # #cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here pserver #cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/your/cvsroot/here kserver # # RPC based services (you MUST have rpcbind running to use these) # #rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd #rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad #rquotad/1 dgram rpc/udp6 wait root /usr/libexec/rpc.rquotad rpc.rquotad #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd # # example entry for the optional imap4 server # #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd # # example entry for the optional nntp server # #nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd # # example entry for the optional uucpd server # #uucpd stream tcp nowait root /usr/local/libexec/uucpd uucpd # # Return error for all "ident" requests # #auth stream tcp nowait root internal #auth stream tcp6 nowait root internal # # Provide internally a real "ident" service which provides ~/.fakeid support, # provides ~/.noident support, reports UNKNOWN as the operating system type # and times out after 30 seconds. # #auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 #auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 # # Example entry for an external ident server # #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd # # Example entry for Samba sharing for the SMB protocol # # Enable the first two entries to enable Samba startup from inetd (according to # the Samba documentation). Enable the third entry only if you have other # NetBIOS daemons listening on your network. Enable the fourth entry to use # the swat Samba configuration tool. #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #microsoft-ds stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat # # Example entry for the Prometheus sysctl metrics exporter # #prom-sysctl stream tcp nowait nobody /usr/sbin/prometheus_sysctl_exporter prometheus_sysctl_exporter -dgh # +# Example entry for the CTL exporter +#prom-ctl stream tcp nowait root /usr/bin/ctlstat ctlstat -P +# # Example entry for insecure rsync server # This is best combined with encrypted virtual tunnel interfaces, which can be # found with: apropos if_ | grep tunnel #rsync stream tcp nowait root /usr/local/bin/rsyncd rsyncd --daemon # # Let the system respond to date requests via tcpmux #tcpmux/+date stream tcp nowait guest /bin/date date # # Let people access the system phonebook via tcpmux #tcpmux/phonebook stream tcp nowait guest /usr/local/bin/phonebook phonebook # # Make kernel statistics accessible #rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd # # Use netcat as a one-shot HTTP proxy with nc (from freebsd-tips fortune) #http stream tcp nowait nobody /usr/bin/nc nc -N dest-ip 80 # # Set up a unix socket at /var/run/echo that echo's back whatever is written to it. #/var/run/echo stream unix nowait root internal # # Run chargen for IPsec Authentication Headers #@ ipsec ah/require #chargen stream tcp nowait root internal #@ diff --git a/usr.sbin/services_mkdb/services b/usr.sbin/services_mkdb/services index d1f0596c958c..71dda5b8d80f 100644 --- a/usr.sbin/services_mkdb/services +++ b/usr.sbin/services_mkdb/services @@ -1,2060 +1,2061 @@ # # Network services, Internet style # # Service names and port numbers are used to distinguish between different # services that run over transport protocols such as TCP, UDP, DCCP, and # SCTP. # # The latest IANA port assignments can be gotten from # # https://www.iana.org/assignments/service-names-port-numbers/ # # System Ports are those from 0 through 1023. # User Ports are those from 1024 through 49151. # Dynamic and/or Private Ports are those from 49152 through 65535. # # Note that it is presently the policy of IANA to assign a single well-known # port number for both TCP and UDP; hence, most entries here have two entries # even if the protocol doesn't support UDP operations. # # $FreeBSD$ # From: @(#)services 5.8 (Berkeley) 5/9/91 # # WELL KNOWN PORT NUMBERS # tcpmux 1/tcp #TCP Port Service Multiplexer tcpmux 1/udp #TCP Port Service Multiplexer compressnet 2/tcp #Management Utility compressnet 2/udp #Management Utility compressnet 3/tcp #Compression Process compressnet 3/udp #Compression Process rje 5/tcp #Remote Job Entry rje 5/udp #Remote Job Entry echo 7/tcp echo 7/udp echo 7/sctp discard 9/tcp sink null discard 9/udp sink null discard 9/sctp sink null systat 11/tcp users #Active Users systat 11/udp users #Active Users daytime 13/tcp daytime 13/udp daytime 13/sctp qotd 17/tcp quote #Quote of the Day qotd 17/udp quote #Quote of the Day msp 18/tcp #Message Send Protocol msp 18/udp #Message Send Protocol chargen 19/tcp ttytst source #Character Generator chargen 19/udp ttytst source #Character Generator chargen 19/sctp ttytst source #Character Generator ftp-data 20/tcp #File Transfer [Default Data] ftp-data 20/udp #File Transfer [Default Data] ftp-data 20/sctp #File Transfer [Default Data] ftp 21/tcp #File Transfer [Control] ftp 21/udp #File Transfer [Control] ftp 21/sctp #File Transfer [Control] ssh 22/tcp #Secure Shell Login ssh 22/udp #Secure Shell Login ssh 22/sctp #Secure Shell Login telnet 23/tcp telnet 23/udp # 24/tcp any private mail system # 24/udp any private mail system smtp 25/tcp mail #Simple Mail Transfer smtp 25/udp mail #Simple Mail Transfer nsw-fe 27/tcp #NSW User System FE nsw-fe 27/udp #NSW User System FE msg-icp 29/tcp #MSG ICP msg-icp 29/udp #MSG ICP msg-auth 31/tcp #MSG Authentication msg-auth 31/udp #MSG Authentication dsp 33/tcp #Display Support Protocol dsp 33/udp #Display Support Protocol # 35/tcp any private printer server # 35/udp any private printer server time 37/tcp timserver time 37/udp timserver rap 38/tcp #Route Access Protocol rap 38/udp #Route Access Protocol rlp 39/tcp resource #Resource Location Protocol rlp 39/udp resource #Resource Location Protocol graphics 41/tcp graphics 41/udp nameserver 42/tcp name #Host Name Server nameserver 42/udp name #Host Name Server nicname 43/tcp whois nicname 43/udp whois mpm-flags 44/tcp #MPM FLAGS Protocol mpm-flags 44/udp #MPM FLAGS Protocol mpm 45/tcp #Message Processing Module [recv] mpm 45/udp #Message Processing Module [recv] mpm-snd 46/tcp #MPM [default send] mpm-snd 46/udp #MPM [default send] ni-ftp 47/tcp #NI FTP ni-ftp 47/udp #NI FTP auditd 48/tcp #Digital Audit Daemon auditd 48/udp #Digital Audit Daemon tacacs 49/tcp #Login Host Protocol (TACACS) tacacs 49/udp #Login Host Protocol (TACACS) re-mail-ck 50/tcp #Remote Mail Checking Protocol re-mail-ck 50/udp #Remote Mail Checking Protocol la-maint 51/tcp #IMP Logical Address Maintenance la-maint 51/udp #IMP Logical Address Maintenance xns-time 52/tcp #XNS Time Protocol xns-time 52/udp #XNS Time Protocol domain 53/tcp #Domain Name Server domain 53/udp #Domain Name Server xns-ch 54/tcp #XNS Clearinghouse xns-ch 54/udp #XNS Clearinghouse isi-gl 55/tcp #ISI Graphics Language isi-gl 55/udp #ISI Graphics Language xns-auth 56/tcp #XNS Authentication xns-auth 56/udp #XNS Authentication # 57/tcp any private terminal access # 57/udp any private terminal access xns-mail 58/tcp #XNS Mail xns-mail 58/udp #XNS Mail # 59/tcp any private file service # 59/udp any private file service acas 62/tcp #ACA Services acas 62/udp #ACA Services whoispp 63/tcp whois++ whoispp 63/udp whois++ covia 64/tcp #Communications Integrator (CI) covia 64/udp #Communications Integrator (CI) tacacs-ds 65/tcp #TACACS-Database Service tacacs-ds 65/udp #TACACS-Database Service sql-net 66/tcp sql*net #Oracle SQL*NET / replacement sql-net 66/udp sql*net #Oracle SQL*NET replacement bootps 67/tcp dhcps #Bootstrap Protocol Server bootps 67/udp dhcps #Bootstrap Protocol Server bootpc 68/tcp dhcpc #Bootstrap Protocol Client bootpc 68/udp dhcpc #Bootstrap Protocol Client tftp 69/tcp #Trivial File Transfer tftp 69/udp #Trivial File Transfer gopher 70/tcp gopher 70/udp netrjs-1 71/tcp #Remote Job Service netrjs-1 71/udp #Remote Job Service netrjs-2 72/tcp #Remote Job Service netrjs-2 72/udp #Remote Job Service netrjs-3 73/tcp #Remote Job Service netrjs-3 73/udp #Remote Job Service netrjs-4 74/tcp #Remote Job Service netrjs-4 74/udp #Remote Job Service # 75/tcp any private dial out service # 75/udp any private dial out service deos 76/tcp #Distributed External Object Store deos 76/udp #Distributed External Object Store # 77/tcp any private RJE service # 77/udp any private RJE service vettcp 78/tcp vettcp 78/udp finger 79/tcp finger 79/udp http 80/tcp www www-http #World Wide Web HTTP http 80/udp www www-http #World Wide Web HTTP http 80/sctp www www-http #World Wide Web HTTP xfer 82/tcp #XFER Utility xfer 82/udp #XFER Utility mit-ml-dev 83/tcp #MIT ML Device mit-ml-dev 83/udp #MIT ML Device ctf 84/tcp #Common Trace Facility ctf 84/udp #Common Trace Facility mit-ml-dev 85/tcp #MIT ML Device mit-ml-dev 85/udp #MIT ML Device mfcobol 86/tcp #Micro Focus Cobol mfcobol 86/udp #Micro Focus Cobol # 87/tcp any private terminal link # 87/udp any private terminal link kerberos-sec 88/tcp kerberos # krb5 # Kerberos (v5) kerberos-sec 88/udp kerberos # krb5 # Kerberos (v5) su-mit-tg 89/tcp #SU/MIT Telnet Gateway su-mit-tg 89/udp #SU/MIT Telnet Gateway dnsix 90/tcp #DNSIX Securit Attribute Token Map dnsix 90/udp #DNSIX Securit Attribute Token Map mit-dov 91/tcp #MIT Dover Spooler mit-dov 91/udp #MIT Dover Spooler npp 92/tcp #Network Printing Protocol npp 92/udp #Network Printing Protocol dcp 93/tcp #Device Control Protocol dcp 93/udp #Device Control Protocol objcall 94/tcp #Tivoli Object Dispatcher objcall 94/udp #Tivoli Object Dispatcher supdup 95/tcp supdup 95/udp dixie 96/tcp #DIXIE Protocol Specification dixie 96/udp #DIXIE Protocol Specification swift-rvf 97/tcp #Swift Remote Virtural File Protocol swift-rvf 97/udp #Swift Remote Virtural File Protocol tacnews 98/tcp #TAC News tacnews 98/udp #TAC News metagram 99/tcp #Metagram Relay metagram 99/udp #Metagram Relay newacct 100/tcp #[unauthorized use] hostname 101/tcp hostnames #NIC Host Name Server hostname 101/udp hostnames #NIC Host Name Server iso-tsap 102/tcp tsap #ISO-TSAP Class 0 iso-tsap 102/udp tsap #ISO-TSAP Class 0 gppitnp 103/tcp #Genesis Point-to-Point Trans Net gppitnp 103/udp #Genesis Point-to-Point Trans Net acr-nema 104/tcp #ACR-NEMA Digital Imag. & Comm. 300 acr-nema 104/udp #ACR-NEMA Digital Imag. & Comm. 300 csnet-ns 105/tcp cso-ns cso #Mailbox Name Nameserver csnet-ns 105/udp cso-ns cso #Mailbox Name Nameserver pop3pw 106/tcp 3com-tsmux #Eudora compatible PW changer 3com-tsmux 106/udp rtelnet 107/tcp #Remote Telnet Service rtelnet 107/udp #Remote Telnet Service snagas 108/tcp #SNA Gateway Access Server snagas 108/udp #SNA Gateway Access Server pop2 109/tcp postoffice #Post Office Protocol - Version 2 pop2 109/udp postoffice #Post Office Protocol - Version 2 pop3 110/tcp #Post Office Protocol - Version 3 pop3 110/udp #Post Office Protocol - Version 3 sunrpc 111/tcp rpcbind #SUN Remote Procedure Call sunrpc 111/udp rpcbind #SUN Remote Procedure Call mcidas 112/tcp #McIDAS Data Transmission Protocol mcidas 112/udp #McIDAS Data Transmission Protocol auth 113/tcp ident tap #Authentication Service auth 113/udp ident tap #Authentication Service sftp 115/tcp #Simple File Transfer Protocol sftp 115/udp #Simple File Transfer Protocol ansanotify 116/tcp #ANSA REX Notify ansanotify 116/udp #ANSA REX Notify uucp-path 117/tcp #UUCP Path Service uucp-path 117/udp #UUCP Path Service sqlserv 118/tcp #SQL Services sqlserv 118/udp #SQL Services nntp 119/tcp usenet #Network News Transfer Protocol nntp 119/udp usenet #Network News Transfer Protocol cfdptkt 120/tcp cfdptkt 120/udp erpc 121/tcp #Encore Expedited Remote Pro.Call erpc 121/udp #Encore Expedited Remote Pro.Call smakynet 122/tcp smakynet 122/udp ntp 123/tcp #Network Time Protocol ntp 123/udp #Network Time Protocol ansatrader 124/tcp #ANSA REX Trader ansatrader 124/udp #ANSA REX Trader locus-map 125/tcp #Locus PC-Interface Net Map Ser locus-map 125/udp #Locus PC-Interface Net Map Ser nxedit 126/tcp #NXEdit nxedit 126/udp #NXEdit locus-con 127/tcp #Locus PC-Interface Conn Server locus-con 127/udp #Locus PC-Interface Conn Server gss-xlicen 128/tcp #GSS X License Verification gss-xlicen 128/udp #GSS X License Verification pwdgen 129/tcp #Password Generator Protocol pwdgen 129/udp #Password Generator Protocol cisco-fna 130/tcp #cisco FNATIVE cisco-fna 130/udp #cisco FNATIVE cisco-tna 131/tcp #cisco TNATIVE cisco-tna 131/udp #cisco TNATIVE cisco-sys 132/tcp #cisco SYSMAINT cisco-sys 132/udp #cisco SYSMAINT statsrv 133/tcp #Statistics Service statsrv 133/udp #Statistics Service ingres-net 134/tcp #INGRES-NET Service ingres-net 134/udp #INGRES-NET Service epmap 135/tcp #DCE endpoint resolution epmap 135/udp #DCE endpoint resolution profile 136/tcp #PROFILE Naming System profile 136/udp #PROFILE Naming System netbios-ns 137/tcp #NETBIOS Name Service netbios-ns 137/udp #NETBIOS Name Service netbios-dgm 138/tcp #NETBIOS Datagram Service netbios-dgm 138/udp #NETBIOS Datagram Service netbios-ssn 139/tcp #NETBIOS Session Service netbios-ssn 139/udp #NETBIOS Session Service emfis-data 140/tcp #EMFIS Data Service emfis-data 140/udp #EMFIS Data Service emfis-cntl 141/tcp #EMFIS Control Service emfis-cntl 141/udp #EMFIS Control Service bl-idm 142/tcp #Britton-Lee IDM bl-idm 142/udp #Britton-Lee IDM imap 143/tcp imap2 imap4 #Interim Mail Access Protocol v2 imap 143/udp imap2 imap4 #Interim Mail Access Protocol v2 uma 144/tcp #Universal Management Architecture uma 144/udp #Universal Management Architecture uaac 145/tcp #UAAC Protocol uaac 145/udp #UAAC Protocol iso-tp0 146/tcp iso-tp0 146/udp iso-ip 147/tcp iso-ip 147/udp jargon 148/tcp #Jargon jargon 148/udp #Jargon aed-512 149/tcp #AED 512 Emulation Service aed-512 149/udp #AED 512 Emulation Service sql-net 150/tcp sql-net 150/udp hems 151/tcp hems 151/udp bftp 152/tcp #Background File Transfer Program bftp 152/udp #Background File Transfer Program sgmp 153/tcp sgmp 153/udp netsc-prod 154/tcp netsc-prod 154/udp netsc-dev 155/tcp netsc-dev 155/udp sqlsrv 156/tcp #SQL Service sqlsrv 156/udp #SQL Service knet-cmp 157/tcp #KNET/VM Command/Message Protocol knet-cmp 157/udp #KNET/VM Command/Message Protocol pcmail-srv 158/tcp #PCMail Server pcmail-srv 158/udp #PCMail Server nss-routing 159/tcp nss-routing 159/udp sgmp-traps 160/tcp sgmp-traps 160/udp snmp 161/tcp snmp 161/udp snmptrap 162/tcp snmp-trap snmptrap 162/udp snmp-trap cmip-man 163/tcp #CMIP/TCP Manager cmip-man 163/udp #CMIP/TCP Manager cmip-agent 164/tcp #CMIP/TCP Agent smip-agent 164/udp #CMIP/TCP Agent xns-courier 165/tcp #Xerox xns-courier 165/udp #Xerox s-net 166/tcp #Sirius Systems s-net 166/udp #Sirius Systems namp 167/tcp namp 167/udp rsvd 168/tcp rsvd 168/udp send 169/tcp send 169/udp print-srv 170/tcp #Network PostScript print-srv 170/udp #Network PostScript multiplex 171/tcp #Network Innovations Multiplex multiplex 171/udp #Network Innovations Multiplex cl/1 172/tcp #Network Innovations CL/1 cl/1 172/udp #Network Innovations CL/1 xyplex-mux 173/tcp xyplex-mux 173/udp mailq 174/tcp mailq 174/udp vmnet 175/tcp vmnet 175/udp genrad-mux 176/tcp genrad-mux 176/udp xdmcp 177/tcp #X Display Manager Control Protocol xdmcp 177/udp #X Display Manager Control Protocol nextstep 178/tcp #NextStep Window Server nextstep 178/udp #NextStep Window Server bgp 179/tcp #Border Gateway Protocol bgp 179/udp #Border Gateway Protocol bgp 179/sctp #Border Gateway Protocol ris 180/tcp #Intergraph ris 180/udp #Intergraph unify 181/tcp unify 181/udp audit 182/tcp #Unisys Audit SITP audit 182/udp #Unisys Audit SITP ocbinder 183/tcp ocbinder 183/udp ocserver 184/tcp ocserver 184/udp remote-kis 185/tcp remote-kis 185/udp kis 186/tcp #KIS Protocol kis 186/udp #KIS Protocol aci 187/tcp #Application Communication Interface aci 187/udp #Application Communication Interface mumps 188/tcp #Plus Five's MUMPS mumps 188/udp #Plus Five's MUMPS qft 189/tcp #Queued File Transport qft 189/udp #Queued File Transport gacp 190/tcp #Gateway Access Control Protocol gacp 190/udp cacp #Gateway Access Control Protocol prospero 191/tcp #Prospero Directory Service prospero 191/udp #Prospero Directory Service osu-nms 192/tcp #OSU Network Monitoring System osu-nms 192/udp #OSU Network Monitoring System srmp 193/tcp #Spider Remote Monitoring Protocol srmp 193/udp #Spider Remote Monitoring Protocol irc 194/tcp #Internet Relay Chat Protocol irc 194/udp #Internet Relay Chat Protocol dn6-nlm-aud 195/tcp #DNSIX Network Level Module Audit dn6-nlm-aud 195/udp #DNSIX Network Level Module Audit dn6-smm-red 196/tcp #DNSIX Session Mgt Module Audit Redir dn6-smm-red 196/udp #DNSIX Session Mgt Module Audit Redir dls 197/tcp #Directory Location Service dls 197/udp #Directory Location Service dls-mon 198/tcp #Directory Location Service Monitor dls-mon 198/udp #Directory Location Service Monitor smux 199/tcp smux 199/udp src 200/tcp #IBM System Resource Controller src 200/udp #IBM System Resource Controller at-rtmp 201/tcp #AppleTalk Routing Maintenance at-rtmp 201/udp #AppleTalk Routing Maintenance at-nbp 202/tcp #AppleTalk Name Binding at-nbp 202/udp #AppleTalk Name Binding at-3 203/tcp #AppleTalk Unused at-3 203/udp #AppleTalk Unused at-echo 204/tcp #AppleTalk Echo at-echo 204/udp #AppleTalk Echo at-5 205/tcp #AppleTalk Unused at-5 205/udp #AppleTalk Unused at-zis 206/tcp #AppleTalk Zone Information at-zis 206/udp #AppleTalk Zone Information at-7 207/tcp #AppleTalk Unused at-7 207/udp #AppleTalk Unused at-8 208/tcp #AppleTalk Unused at-8 208/udp #AppleTalk Unused qmtp 209/tcp #The Quick Mail Transfer Protocol qmtp 209/udp #The Quick Mail Transfer Protocol z39-50 210/tcp z39.50 wais #ANSI Z39.50 z39-50 210/udp z39.50 wais #ANSI Z39.50 914c-g 211/tcp 914c/g #Texas Instruments 914C/G Terminal 914c-g 211/udp 914c/g #Texas Instruments 914C/G Terminal anet 212/tcp #ATEXSSTR anet 212/udp #ATEXSSTR ipx 213/tcp ipx 213/udp vmpwscs 214/tcp vmpwscs 214/udp softpc 215/tcp #Insignia Solutions softpc 215/udp #Insignia Solutions CAIlic 216/tcp atls #Computer Associates Int'l License Server CAIlic 216/udp atls #Computer Associates Int'l License Server dbase 217/tcp #dBASE Unix dbase 217/udp #dBASE Unix mpp 218/tcp #Netix Message Posting Protocol mpp 218/udp #Netix Message Posting Protocol uarps 219/tcp #Unisys ARPs uarps 219/udp #Unisys ARPs imap3 220/tcp #Interactive Mail Access Protocol v3 imap3 220/udp #Interactive Mail Access Protocol v3 fln-spx 221/tcp #Berkeley rlogind with SPX auth fln-spx 221/udp #Berkeley rlogind with SPX auth rsh-spx 222/tcp #Berkeley rshd with SPX auth rsh-spx 222/udp #Berkeley rshd with SPX auth cdc 223/tcp #Certificate Distribution Center cdc 223/udp #Certificate Distribution Center masqdialer 224/tcp masqdialer 224/udp direct 242/tcp direct 242/udp sur-meas 243/tcp #Survey Measurement sur-meas 243/udp #Survey Measurement inbusiness 244/tcp inbusiness 244/udp link 245/tcp link 245/udp dsp3270 246/tcp #Display Systems Protocol dsp3270 246/udp #Display Systems Protocol subntbcst-tftp 247/tcp subntbcst_tftp #subntbcst_tftp subntbcst-tftp 247/udp subntbcst_tftp #subntbcst_tftp bhfhs 248/tcp bhfhs 248/udp # 249-255 reserved rap 256/tcp rap 256/udp set 257/tcp #secure electronic transaction set 257/udp #secure electronic transaction esro-gen 259/tcp #efficient short remote operations esro-gen 259/udp #efficient short remote operations openport 260/tcp openport 260/udp nsiiops 261/tcp #iiop name service over tls/ssl nsiiops 261/udp #iiop name service over tls/ssl arcisdms 262/tcp arcisdms 262/udp hdap 263/tcp hdap 263/udp bgmp 264/tcp bgmp 264/udp x-bone-ctl 265/tcp #X-Bone CTL x-bone-ctl 265/udp #X-Bone CTL sst 266/tcp #SCSI on ST sst 266/udp #SCSI on ST td-service 267/tcp #Tobit David Service Layer td-service 267/udp #Tobit David Service Layer td-replica 268/tcp #Tobit David Replica td-replica 268/udp #Tobit David Replica manet 269/tcp #MANET Protocols [RFC5498] manet 269/ucp #MANET Protocols [RFC5498] gist 270/ucp #Q-mode encapsulation for [RFC5971] pt-tls 271/tcp #Assessment (NEA) Posture # 272-279 unassigned http-mgmt 280/tcp http-mgmt 280/udp personal-link 281/tcp personal-link 281/udp cableport-ax 282/tcp #cable port a/x cableport-ax 282/udp #cable port a/x rescap 283/tcp rescap 283/udp corerjd 284/tcp corerjd 284/udp # 285 unassigned fxp 286/tcp fxp 286/udp k-block 287/tcp k-block 287/udp # 288-307 unassigned novastorbakcup 308/tcp #novastor backup novastorbakcup 308/udp #novastor backup entrusttime 309/tcp entrusttime 309/udp bhmds 310/tcp bhmds 310/udp asip-webadmin 311/tcp #appleshare ip webadmin asip-webadmin 311/udp #appleshare ip webadmin vslmp 312/tcp vslmp 312/udp magenta-logic 313/tcp magenta-logic 313/udp opalis-robot 314/tcp opalis-robot 314/udp dpsi 315/tcp dpsi 315/udp decauth 316/tcp decauth 316/udp zannet 317/tcp zannet 317/udp pkix-timestamp 318/tcp #PKIX TimeStamp pkix-timestamp 318/udp #PKIX TimeStamp ptp-event 319/tcp #PTP Event ptp-event 319/udp #PTP Event ptp-general 320/tcp #PTP General ptp-general 320/udp #PTP General pip 321/tcp pip 321/udp rtsps 322/tcp rtsps 322/udp rpki-rtr 323/tcp #Resource PKI to Router Protocol rpki-rtr-tls 324/tcp #Resource PKI to Router Protocol over TLS # 325-332 #unassigned texar 333/tcp #Texar Security Port texar 333/udp #Texar Security Port # 334-343 #unassigned pdap 344/tcp #Prospero Data Access Protocol pdap 344/udp #Prospero Data Access Protocol pawserv 345/tcp #Perf Analysis Workbench pawserv 345/udp #Perf Analysis Workbench zserv 346/tcp #Zebra server zserv 346/udp #Zebra server fatserv 347/tcp #Fatmen Server fatserv 347/udp #Fatmen Server csi-sgwp 348/tcp #Cabletron Management Protocol csi-sgwp 348/udp #Cabletron Management Protocol mftp 349/tcp mftp 349/udp matip-type-a 350/tcp #MATIP Type A matip-type-a 350/udp matip-type-b 351/tcp #MATIP Type B matip-type-b 351/udp bhoetty 351/tcp #unassigned but widespread use bhoetty 351/udp #unassigned but widespread use dtag-ste-sb 352/tcp #DTAG dtag-ste-sb 352/udp #DTAG bhoedap4 352/tcp #unassigned but widespread use bhoedap4 352/udp #unassigned but widespread use ndsauth 353/tcp ndsauth 353/udp bh611 354/tcp bh611 354/udp datex-asn 355/tcp datex-asn 355/udp cloanto-net-1 356/tcp #Cloanto Net 1 cloanto-net-1 356/udp bhevent 357/tcp bhevent 357/udp shrinkwrap 358/tcp shrinkwrap 358/udp nsrmp 359/tcp #Network Security Risk Management Protocol nsrmp 359/udp #Network Security Risk Management Protocol scoi2odialog 360/tcp scoi2odialog 360/udp semantix 361/tcp semantix 361/udp srssend 362/tcp #SRS Send srssend 362/udp #SRS Send rsvp_tunnel 363/tcp rsvp_tunnel 363/udp aurora-cmgr 364/tcp aurora-cmgr 364/udp dtk 365/tcp #Deception Tool Kit - Fred Cohen dtk 365/udp #Deception Tool Kit - Fred Cohen odmr 366/tcp odmr 366/udp mortgageware 367/tcp mortgageware 367/udp qbikgdp 368/tcp #QbikGDP qbikgdp 368/udp rpc2portmap 369/tcp rpc2portmap 369/udp codaauth2 370/tcp codaauth2 370/udp clearcase 371/tcp clearcase 371/udp ulistserv 372/tcp ulistproc #Unix Listserv ulistserv 372/udp ulistproc #Unix Listserv legent-1 373/tcp #Legent Corporation (now Computer Associates Intl.) legent-1 373/udp #Legent Corporation (now Computer Associates Intl.) legent-2 374/tcp #Legent Corporation (now Computer Associates Intl.) legent-2 374/udp #Legent Corporation (now Computer Associates Intl.) hassle 375/tcp hassle 375/udp nip 376/tcp #Amiga Envoy Network Inquiry Proto nip 376/udp #Amiga Envoy Network Inquiry Proto tnETOS 377/tcp #NEC Corporation tnETOS 377/udp #NEC Corporation dsETOS 378/tcp #NEC Corporation dsETOS 378/udp #NEC Corporation is99c 379/tcp #TIA/EIA/IS-99 modem client is99c 379/udp #TIA/EIA/IS-99 modem client is99s 380/tcp #TIA/EIA/IS-99 modem server is99s 380/udp #TIA/EIA/IS-99 modem server hp-collector 381/tcp #hp performance data collector hp-collector 381/udp #hp performance data collector hp-managed-node 382/tcp #hp performance data managed node hp-managed-node 382/udp #hp performance data managed node hp-alarm-mgr 383/tcp #hp performance data alarm manager hp-alarm-mgr 383/udp #hp performance data alarm manager arns 384/tcp #A Remote Network Server System arns 384/udp #A Remote Network Server System ibm-app 385/tcp #IBM Application ibm-app 385/udp #IBM Application asa 386/tcp #ASA Message Router Object Def. asa 386/udp #ASA Message Router Object Def. aurp 387/tcp #Appletalk Update-Based Routing Pro. aurp 387/udp #Appletalk Update-Based Routing Pro. unidata-ldm 388/tcp #Unidata LDM Version 4 unidata-ldm 388/udp #Unidata LDM Version 4 ldap 389/tcp #Lightweight Directory Access Protocol ldap 389/udp #Lightweight Directory Access Protocol uis 390/tcp #UIS uis 390/udp #UIS synotics-relay 391/tcp #SynOptics SNMP Relay Port synotics-relay 391/udp #SynOptics SNMP Relay Port synotics-broker 392/tcp #SynOptics Port Broker Port synotics-broker 392/udp #SynOptics Port Broker Port meta5 393/tcp #Meta5 meta5 393/udp #Meta5 embl-ndt 394/tcp #EMBL Nucleic Data Transfer embl-ndt 394/udp #EMBL Nucleic Data Transfer netcp 395/tcp #NETscout Control Protocol netcp 395/udp #NETscout Control Protocol netware-ip 396/tcp #Novell Netware over IP netware-ip 396/udp #Novell Netware over IP mptn 397/tcp #Multi Protocol Trans. Net. mptn 397/udp #Multi Protocol Trans. Net. kryptolan 398/tcp kryptolan 398/udp iso-tsap-c2 399/tcp #ISO-TSAP Class 2 iso-tsap-c2 399/udp #ISO-TSAP Class 2 osb-sd 400/tcp #Oracle Secure Backup osb-sd 400/udp #Oracle Secure Backup ups 401/tcp #Uninterruptible Power Supply ups 401/udp #Uninterruptible Power Supply genie 402/tcp #Genie Protocol genie 402/udp #Genie Protocol decap 403/tcp decap 403/udp nced 404/tcp nced 404/udp ncld 405/tcp ncld 405/udp imsp 406/tcp #Interactive Mail Support Protocol imsp 406/udp #Interactive Mail Support Protocol timbuktu 407/tcp timbuktu 407/udp prm-sm 408/tcp #Prospero Resource Manager Sys. Man. prm-sm 408/udp #Prospero Resource Manager Sys. Man. prm-nm 409/tcp #Prospero Resource Manager Node Man. prm-nm 409/udp #Prospero Resource Manager Node Man. decladebug 410/tcp #DECLadebug Remote Debug Protocol decladebug 410/udp #DECLadebug Remote Debug Protocol rmt 411/tcp #Remote MT Protocol rmt 411/udp #Remote MT Protocol synoptics-trap 412/tcp #Trap Convention Port synoptics-trap 412/udp #Trap Convention Port smsp 413/tcp smsp 413/udp infoseek 414/tcp infoseek 414/udp bnet 415/tcp bnet 415/udp silverplatter 416/tcp silverplatter 416/udp onmux 417/tcp onmux 417/udp hyper-g 418/tcp hyper-g 418/udp ariel1 419/tcp ariel1 419/udp smpte 420/tcp smpte 420/udp ariel2 421/tcp ariel2 421/udp ariel3 422/tcp ariel3 422/udp opc-job-start 423/tcp #IBM Operations Planning and Control Start opc-job-start 423/udp #IBM Operations Planning and Control Start opc-job-track 424/tcp #IBM Operations Planning and Control Track opc-job-track 424/udp #IBM Operations Planning and Control Track icad-el 425/tcp icad-el 425/udp smartsdp 426/tcp smartsdp 426/udp svrloc 427/tcp #Server Location svrloc 427/udp #Server Location ocs_cmu 428/tcp ocs_cmu 428/udp ocs_amu 429/tcp ocs_amu 429/udp utmpsd 430/tcp utmpsd 430/udp utmpcd 431/tcp utmpcd 431/udp iasd 432/tcp iasd 432/udp nnsp 433/tcp nnsp 433/udp mobileip-agent 434/tcp mobileip-agent 434/udp mobilip-mn 435/tcp mobilip-mn 435/udp dna-cml 436/tcp dna-cml 436/udp comscm 437/tcp comscm 437/udp dsfgw 438/tcp dsfgw 438/udp dasp 439/tcp dasp 439/udp sgcp 440/tcp sgcp 440/udp decvms-sysmgt 441/tcp decvms-sysmgt 441/udp cvc_hostd 442/tcp cvc_hostd 442/udp https 443/tcp https 443/udp https 443/sctp snpp 444/tcp #Simple Network Paging Protocol snpp 444/udp #Simple Network Paging Protocol # [RFC1568] microsoft-ds 445/tcp microsoft-ds 445/udp ddm-rdb 446/tcp ddm-rdb 446/udp ddm-dfm 447/tcp ddm-dfm 447/udp ddm-ssl 448/tcp ddm-byte ddm-ssl 448/udp ddm-byte as-servermap 449/tcp #AS Server Mapper as-servermap 449/udp #AS Server Mapper tserver 450/tcp tserver 450/udp sfs-smp-net 451/tcp #Cray Network Semaphore server sfs-smp-net 451/udp #Cray Network Semaphore server sfs-config 452/tcp #Cray SFS config server sfs-config 452/udp #Cray SFS config server creativeserver 453/tcp #CreativeServer creativeserver 453/udp #CreativeServer contentserver 454/tcp #ContentServer contentserver 454/udp #ContentServer creativepartnr 455/tcp #CreativePartnr creativepartnr 455/udp #CreativePartnr macon-tcp 456/tcp macon-udp 456/udp scohelp 457/tcp scohelp 457/udp appleqtc 458/tcp #apple quick time appleqtc 458/udp #apple quick time ampr-rcmd 459/tcp ampr-rcmd 459/udp skronk 460/tcp skronk 460/udp datasurfsrv 461/tcp datasurfsrv 461/udp datasurfsrvsec 462/tcp datasurfsrvsec 462/udp alpes 463/tcp alpes 463/udp # kpasswd 464/tcp kpasswd5 # Kerberos (v5) kpasswd 464/udp kpasswd5 # Kerberos (v5) #PROBLEMS!============================================================== # IANA has officially assigned these two ports smtps 465/tcp #smtp protocol over TLS/SSL (was ssmtp) smtps 465/udp #smtp protocol over TLS/SSL (was ssmtp) #PROBLEMS!============================================================== urd 465/tcp #URL Rendezvous Directory for SSM submissions 465/tcp #Message Submission over TLS igmpv3lite 465/udp #IGMP over UDP for SSM digital-vrc 466/tcp digital-vrc 466/udp mylex-mapd 467/tcp mylex-mapd 467/udp photuris 468/tcp photuris 468/udp rcp 469/tcp #Radio Control Protocol rcp 469/udp #Radio Control Protocol scx-proxy 470/tcp scx-proxy 470/udp mondex 471/tcp mondex 471/udp ljk-login 472/tcp ljk-login 472/udp hybrid-pop 473/tcp hybrid-pop 473/udp tn-tl-w1 474/tcp tn-tl-w2 474/udp tcpnethaspsrv 475/tcp tcpnethaspsrv 475/udp tn-tl-fd1 476/tcp tn-tl-fd1 476/udp ss7ns 477/tcp ss7ns 477/udp spsc 478/tcp spsc 478/udp iafserver 479/tcp iafserver 479/udp iafdbase 480/tcp iafdbase 480/udp ph 481/tcp ph 481/udp bgs-nsi 482/tcp bgs-nsi 482/udp ulpnet 483/tcp ulpnet 483/udp integra-sme 484/tcp #Integra Software Management Environment integra-sme 484/udp #Integra Software Management Environment powerburst 485/tcp #Air Soft Power Burst powerburst 485/udp #Air Soft Power Burst avian 486/tcp avian 486/udp saft 487/tcp #saft Simple Asynchronous File Transfer saft 487/udp #saft Simple Asynchronous File Transfer gss-http 488/tcp gss-http 488/udp nest-protocol 489/tcp nest-protocol 489/udp micom-pfs 490/tcp micom-pfs 490/udp go-login 491/tcp go-login 491/udp ticf-1 492/tcp #Transport Independent Convergence for FNA ticf-1 492/udp #Transport Independent Convergence for FNA ticf-2 493/tcp #Transport Independent Convergence for FNA ticf-2 493/udp #Transport Independent Convergence for FNA pov-ray 494/tcp #POV-Ray pov-ray 494/udp #POV-Ray intecourier 495/tcp intecourier 495/udp pim-rp-disc 496/tcp pim-rp-disc 496/udp retrospect 497/tcp #Retrospect backup and restore service retrospect 497/udp #Retrospect backup and restore service siam 498/tcp siam 498/udp iso-ill 499/tcp #ISO ILL Protocol iso-ill 499/udp #ISO ILL Protocol isakmp 500/tcp isakmp 500/udp stmf 501/tcp stmf 501/udp mbap 502/tcp # Modbus Application Protocol mbap 502/udp # Modbus Application Protocol intrinsa 503/tcp intrinsa 503/udp citadel 504/tcp citadel 504/udp mailbox-lm 505/tcp mailbox-lm 505/udp ohimsrv 506/tcp ohimsrv 506/udp crs 507/tcp crs 507/udp xvttp 508/tcp xvttp 508/udp snare 509/tcp snare 509/udp fcp 510/tcp #FirstClass Protocol fcp 510/udp #FirstClass Protocol passgo 511/tcp passgo 511/udp # # Berkeley-specific services # exec 512/tcp #remote process execution; # authentication performed using # passwords and UNIX login names biff 512/udp comsat #used by mail system to notify users # of new mail received; currently # receives messages only from # processes on the same machine login 513/tcp #remote login a la telnet; # automatic authentication performed # based on priviledged port numbers # and distributed data bases which # identify "authentication domains" who 513/udp whod #maintains data bases showing who's # logged in to machines on a local # net and the load average of the # machine shell 514/tcp cmd #like exec, but automatic # authentication is performed as for # login server syslog 514/udp printer 515/tcp spooler printer 515/udp spooler videotex 516/tcp videotex 516/udp talk 517/tcp #like tenex link, but across # machine - unfortunately, doesn't # use link protocol (this is actually # just a rendezvous port from which a # tcp connection is established) talk 517/udp #like tenex link, but across # machine - unfortunately, doesn't # use link protocol (this is actually # just a rendezvous port from which a # tcp connection is established) ntalk 518/tcp ntalk 518/udp utime 519/tcp unixtime utime 519/udp unixtime efs 520/tcp #extended file name server router 520/udp route routed #local routing process (on site); # uses variant of Xerox NS routing # information protocol ripng 521/tcp ripng 521/udp ulp 522/tcp ulp 522/udp ibm-db2 523/tcp ibm-db2 523/udp ncp 524/tcp ncp 524/udp timed 525/tcp timeserver timed 525/udp timeserver tempo 526/tcp newdate tempo 526/udp newdate stx 527/tcp #Stock IXChange stx 527/udp #Stock IXChange custix 528/tcp #Customer IXChange custix 528/udp #Customer IXChange irc-serv 529/tcp irc-serv 529/udp courier 530/tcp rpc courier 530/udp rpc conference 531/tcp chat conference 531/udp chat netnews 532/tcp readnews netnews 532/udp readnews netwall 533/tcp #for emergency broadcasts netwall 533/udp #for emergency broadcasts windream 534/tcp #windream Admin windream 534/udp #windream Admin iiop 535/tcp iiop 535/udp opalis-rdv 536/tcp opalis-rdv 536/udp nmsp 537/tcp #Networked Media Streaming Protocol nmsp 537/udp #Networked Media Streaming Protocol gdomap 538/tcp gdomap 538/udp apertus-ldp 539/tcp #Apertus Technologies Load Determination apertus-ldp 539/udp #Apertus Technologies Load Determination uucp 540/tcp uucpd uucp 540/udp uucpd uucp-rlogin 541/tcp uucp-rlogin 541/udp commerce 542/tcp commerce 542/udp klogin 543/tcp # Kerberos (v4/v5) klogin 543/udp # Kerberos (v4/v5) kshell 544/tcp krcmd # Kerberos (v4/v5) kshell 544/udp krcmd # Kerberos (v4/v5) appleqtcsrvr 545/tcp appleqtcsrvr 545/udp dhcpv6-client 546/tcp #DHCPv6 Client dhcpv6-client 546/udp #DHCPv6 Client dhcpv6-server 547/tcp #DHCPv6 Server dhcpv6-server 547/udp #DHCPv6 Server afpovertcp 548/tcp #AFP over TCP afpovertcp 548/udp #AFP over TCP idfp 549/tcp idfp 549/udp new-rwho 550/tcp new-who new-rwho 550/udp new-who cybercash 551/tcp cybercash 551/udp devshr-nts 552/tcp deviceshare devshr-nts 552/udp deviceshare pirp 553/tcp pirp 553/udp rtsp 554/tcp #Real Time Stream Control Protocol rtsp 554/udp #Real Time Stream Control Protocol dsf 555/tcp dsf 555/udp remotefs 556/tcp rfs rfs_server # Brunhoff remote filesystem remotefs 556/udp rfs rfs_server # Brunhoff remote filesystem openvms-sysipc 557/tcp openvms-sysipc 557/udp sdnskmp 558/tcp sdnskmp 558/udp teedtap 559/tcp teedtap 559/udp rmonitor 560/tcp rmonitord rmonitor 560/udp rmonitord monitor 561/tcp monitor 561/udp chshell 562/tcp chcmd chshell 562/udp chcmd nntps 563/tcp snntp #nntp protocol over TLS/SSL nntps 563/udp snntp #nntp protocol over TLS/SSL 9pfs 564/tcp #plan 9 file service 9pfs 564/udp #plan 9 file service whoami 565/tcp whoami 565/udp streettalk 566/tcp streettalk 566/udp banyan-rpc 567/tcp banyan-rpc 567/udp ms-shuttle 568/tcp #Microsoft shuttle ms-shuttle 568/udp #Microsoft shuttle ms-rome 569/tcp #Microsoft rome ms-rome 569/udp #Microsoft rome meter 570/tcp #demon meter 570/udp #demon umeter 571/tcp #udemon umeter 571/udp #udemon sonar 572/tcp sonar 572/udp banyan-vip 573/tcp banyan-vip 573/udp ftp-agent 574/tcp #FTP Software Agent System ftp-agent 574/udp #FTP Software Agent System vemmi 575/tcp vemmi 575/udp ipcd 576/tcp ipcd 576/udp vnas 577/tcp vnas 577/udp ipdd 578/tcp ipdd 578/udp decbsrv 579/tcp decbsrv 579/udp sntp-heartbeat 580/tcp sntp-heartbeat 580/udp bdp 581/tcp #Bundle Discovery Protocol bdp 581/udp #Bundle Discovery Protocol scc-security 582/tcp scc-security 582/udp philips-vc 583/tcp #Philips Video-Conferencing philips-vc 583/udp #Philips Video-Conferencing keyserver 584/tcp keyserver 584/udp password-chg 586/tcp password-chg 586/udp submission 587/tcp submission 587/udp cal 588/tcp cal 588/udp eyelink 589/tcp eyelink 589/udp tns-cml 590/tcp tns-cml 590/udp http-alt 591/tcp #FileMaker, Inc. - HTTP Alternate (see Port 80) http-alt 591/udp #FileMaker, Inc. - HTTP Alternate (see Port 80) eudora-set 592/tcp eudora-set 592/udp http-rpc-epmap 593/tcp #HTTP RPC Ep Map http-rpc-epmap 593/udp #HTTP RPC Ep Map tpip 594/tcp tpip 594/udp cab-protocol 595/tcp cab-protocol 595/udp smsd 596/tcp smsd 596/udp ptcnameservice 597/tcp #PTC Name Service ptcnameservice 597/udp #PTC Name Service sco-websrvrmg3 598/tcp #SCO Web Server Manager 3 sco-websrvrmg3 598/udp #SCO Web Server Manager 3 acp 599/tcp #Aeolon Core Protocol acp 599/udp #Aeolon Core Protocol ipcserver 600/tcp #Sun IPC server ipcserver 600/udp #Sun IPC server syslog-conn 601/tcp #Reliable Syslog Service syslog-conn 601/udp #Reliable Syslog Service xmlrpc-beep 602/tcp #XML-RPC over BEEP xmlrpc-beep 602/udp #XML-RPC over BEEP idxp 603/tcp idxp 603/udp tunnel 604/tcp tunnel 604/udp soap-beep 605/tcp #SOAP over BEEP soap-beep 605/udp #SOAP over BEEP urm 606/tcp #Cray Unified Resource Manager urm 606/udp #Cray Unified Resource Manager nqs 607/tcp nqs 607/udp sift-uft 608/tcp #Sender-Initiated/Unsolicited File Transfer sift-uft 608/udp #Sender-Initiated/Unsolicited File Transfer npmp-trap 609/tcp npmp-trap 609/udp npmp-local 610/tcp npmp-local 610/udp npmp-gui 611/tcp npmp-gui 611/udp hmmp-ind 612/tcp #HMMP Indication hmmp-ind 612/udp #HMMP Indication hmmp-op 613/tcp #HMMP Operation hmmp-op 613/udp #HMMP Operation sshell 614/tcp #SSLshell sshell 614/udp sco-inetmgr 615/tcp #Internet Configuration Manager sco-inetmgr 615/udp #Internet Configuration Manager sco-sysmgr 616/tcp #SCO System Administration Server sco-sysmgr 616/udp #SCO System Administration Server sco-dtmgr 617/tcp #SCO Desktop Administration Server sco-dtmgr 617/udp #SCO Desktop Administration Server dei-icda 618/tcp dei-icda 618/udp compaq-evm 619/tcp #Compaq EVM compaq-evm 619/udp #Compaq EVM sco-websrvrmgr 620/tcp #SCO WebServer Manager sco-websrvrmgr 620/udp #SCO WebServer Manager escp-ip 621/tcp #ESCP escp-ip 621/udp #ESCP collaborator 622/tcp collaborator 622/udp asf-rmcp 623/tcp #ASF Remote Management and Control Protocol asf-rmcp 623/udp #ASF Remote Management and Control Protocol cryptoadmin 624/tcp #Crypto Admin cryptoadmin 624/udp #Crypto Admin dec-dlm 625/tcp dec_dlm #DEC DLM dec-dlm 625/udp dec_dlm #DEC DLM asia 626/tcp asia 626/udp passgo-tivoli 627/tcp #PassGo Tivoli passgo-tivoli 627/udp #PassGo Tivoli qmqp 628/tcp qmqp 628/udp 3com-amp3 629/tcp #3Com AMP3 3com-amp3 629/udp #3Com AMP3 rda 630/tcp rda 630/udp ipp 631/tcp ipps #IPP (Internet Printing Protocol) ipp 631/udp ipps #IPP (Internet Printing Protocol) bmpp 632/tcp bmpp 632/udp servstat 633/tcp #Service Status update (Sterling Software) servstat 633/udp #Service Status update (Sterling Software) ginad 634/tcp ginad 634/udp rlzdbase 635/tcp #RLZ DBase rlzdbase 635/udp #RLZ DBase ldaps 636/tcp sldap #ldap protocol over TLS/SSL ldaps 636/udp sldap lanserver 637/tcp lanserver 637/udp mcns-sec 638/tcp mcns-sec 638/udp msdp 639/tcp msdp 639/udp entrust-sps 640/tcp entrust-sps 640/udp repcmd 641/tcp repcmd 641/udp esro-emsdp 642/tcp #ESRO-EMSDP V1.3 esro-emsdp 642/udp #ESRO-EMSDP V1.3 sanity 643/tcp #SANity sanity 643/udp #SANity dwr 644/tcp dwr 644/udp pssc 645/tcp pssc 645/udp ldp 646/tcp ldp 646/udp dhcp-failover 647/tcp #DHCP Failover dhcp-failover 647/udp #DHCP Failover rrp 648/tcp #Registry Registrar Protocol (RRP) rrp 648/udp #Registry Registrar Protocol (RRP) cadview-3d 649/tcp #Cadview-3d - streaming 3d models over the internet cadview-3d 649/udp #Cadview-3d - streaming 3d models over the internet obex 650/tcp obex 650/udp ieee-mms 651/tcp #IEEE MMS ieee-mms 651/udp #IEEE MMS hello-port 652/tcp hello-port 652/udp repscmd 653/tcp repscmd 653/udp aodv 654/tcp #Ad-Hoc On-Demand Distance Vector Routing Protocol aodv 654/udp #Ad-Hoc On-Demand Distance Vector Routing Protocol tinc 655/tcp tinc 655/udp spmp 656/tcp spmp 656/udp rmc 657/tcp rmc 657/udp tenfold 658/tcp tenfold 658/udp mac-srvr-admin 660/tcp #MacOS Server Admin mac-srvr-admin 660/udp #MacOS Server Admin hap 661/tcp hap 661/udp pftp 662/tcp pftp 662/udp purenoise 663/tcp #PureNoise purenoise 663/udp #PureNoise asf-secure-rmcp 664/tcp #ASF Secure Remote Management and Control Protocol asf-secure-rmcp 664/udp #ASF Secure Remote Management and Control Protocol sun-dr 665/tcp #Sun DR sun-dr 665/udp #Sun DR mdqs 666/tcp mdqs 666/udp #PROBLEMS!=============================================== doom 666/tcp #doom Id Software doom 666/udp #doom Id Software #PROBLEMS!=============================================== disclose 667/tcp #campaign contribution disclosures - SDR Technologies disclose 667/udp #campaign contribution disclosures - SDR Technologies mecomm 668/tcp mecomm 668/udp meregister 669/tcp meregister 669/udp vacdsm-sws 670/tcp vacdsm-sws 670/udp vacdsm-app 671/tcp vacdsm-app 671/udp vpps-qua 672/tcp vpps-qua 672/udp cimplex 673/tcp cimplex 673/udp acap 674/tcp #Application Configuration Access Protocol acap 674/udp #Application Configuration Access Protocol dctp 675/tcp dctp 675/udp vpps-via 676/tcp #VPPS Via vpps-via 676/udp #VPPS Via vpp 677/tcp #Virtual Presence Protocol vpp 677/udp #Virtual Presence Protocol ggf-ncp 678/tcp #GNU Generation Foundation NCP ggf-ncp 678/udp #GNU Generation Foundation NCP mrm 679/tcp mrm 679/udp entrust-aaas 680/tcp entrust-aaas 680/udp entrust-aams 681/tcp entrust-aams 681/udp xfr 682/tcp xfr 682/udp corba-iiop 683/tcp #CORBA IIOP corba-iiop 683/udp #CORBA IIOP corba-iiop-ssl 684/tcp #CORBA IIOP SSL corba-iiop-ssl 684/udp #CORBA IIOP SSL mdc-portmapper 685/tcp #MDC Port Mapper mdc-portmapper 685/udp #MDC Port Mapper hcp-wismar 686/tcp #Hardware Control Protocol Wismar hcp-wismar 686/udp #Hardware Control Protocol Wismar asipregistry 687/tcp asipregistry 687/udp realm-rusd 688/tcp #ApplianceWare management protocol realm-rusd 688/udp #ApplianceWare management protocol nmap 689/tcp nmap 689/udp vatp 690/tcp #Velazquez Application Transfer Protocol vatp 690/udp #Velazquez Application Transfer Protocol msexch-routing 691/tcp #MS Exchange Routing msexch-routing 691/udp #MS Exchange Routing hyperwave-isp 692/tcp #Hyperwave-ISP hyperwave-isp 692/udp #Hyperwave-ISP connendp 693/tcp connendp 693/udp ha-cluster 694/tcp ha-cluster 694/udp ieee-mms-ssl 695/tcp ieee-mms-ssl 695/udp rushd 696/tcp rushd 696/udp uuidgen 697/tcp uuidgen 697/udp olsr 698/tcp olsr 698/udp accessnetwork 699/tcp #Access Network accessnetwork 699/udp #Access Network epp 700/tcp #Extensible Provisioning Protocol epp 700/udp #Extensible Provisioning Protocol lmp 701/tcp #Link Management Protocol (LMP) lmp 701/udp #Link Management Protocol (LMP) iris-beep 702/tcp #IRIS over BEEP iris-beep 702/udp #IRIS over BEEP elcsd 704/tcp #errlog copy/server daemon elcsd 704/udp #errlog copy/server daemon agentx 705/tcp #AgentX agentx 705/udp #AgentX silc 706/tcp silc 706/udp borland-dsj 707/tcp #Borland DSJ borland-dsj 707/udp #Borland DSJ entrustmanager 709/tcp #EntrustManager entrustmanager 709/udp #EntrustManager entrust-ash 710/tcp #Entrust Administration Service Handler entrust-ash 710/udp #Entrust Administration Service Handler cisco-tdp 711/tcp #Cisco TDP cisco-tdp 711/udp #Cisco TDP tbrpf 712/tcp tbrpf 712/udp iris-xpc 713/tcp #IRIS over XPC iris-xpc 713/udp #IRIS over XPC iris-xpcs 714/tcp #IRIS over XPCS iris-xpcs 714/udp #IRIS over XPCS iris-lwz 715/tcp iris-lwz 715/udp pana 716/udp #PANA Messages # 717-728 #unassigned netviewdm1 729/tcp #IBM NetView DM/6000 Server/Client netviewdm1 729/udp #IBM NetView DM/6000 Server/Client netviewdm2 730/tcp #IBM NetView DM/6000 send/tcp netviewdm2 730/udp #IBM NetView DM/6000 send/tcp netviewdm3 731/tcp #IBM NetView DM/6000 receive/tcp netviewdm3 731/udp #IBM NetView DM/6000 receive/tcp # 732-740 #unassigned netgw 741/tcp #netGW netgw 741/udp #netGW netrcs 742/tcp #Network based Rev. Cont. Sys. netrcs 742/udp #Network based Rev. Cont. Sys. flexlm 744/tcp #Flexible License Manager flexlm 744/udp #Flexible License Manager fujitsu-dev 747/tcp #Fujitsu Device Control fujitsu-dev 747/udp #Fujitsu Device Control ris-cm 748/tcp #Russell Info Sci Calendar Manager ris-cm 748/udp #Russell Info Sci Calendar Manager kerberos-adm 749/tcp #Kerberos administration (v5) kerberos-adm 749/udp #Kerberos administration (v5) rfile 750/tcp loadav 750/udp kerberos-iv 750/udp kdc # Kerberos (v4) pump 751/tcp pump 751/udp qrh 752/tcp qrh 752/udp rrh 753/tcp rrh 753/udp krb_prop 754/tcp krb5_prop # kerberos/v5 server propagation #PROBLEMS!======================================================== tell 754/tcp #send #PROBLEMS!======================================================== tell 754/udp #send # 755-757 #unassigned nlogin 758/tcp nlogin 758/udp con 759/tcp con 759/udp ns 760/tcp ns 760/udp rxe 761/tcp rxe 761/udp quotad 762/tcp quotad 762/udp cycleserv 763/tcp cycleserv 763/udp omserv 764/tcp omserv 764/udp webster 765/tcp webster 765/udp phonebook 767/tcp #phone phonebook 767/udp #phone vid 769/tcp vid 769/udp cadlock 770/tcp cadlock 770/udp rtip 771/tcp rtip 771/udp cycleserv2 772/tcp cycleserv2 772/udp submit 773/tcp notify 773/udp rpasswd 774/tcp acmaint-dbd 774/udp acmaint_dbd entomb 775/tcp acmaint-transd 775/udp acmaint_transd wpages 776/tcp wpages 776/udp multiling-http 777/tcp #Multiling HTTP multiling-http 777/udp #Multiling HTTP wpgs 780/tcp wpgs 780/udp mdbs-daemon 800/tcp mdbs_daemon mdbs-daemon 800/udp mdbs_daemon device 801/tcp device 801/udp mbap-s 802/tcp # Modbus Application Protocol Secure mbap-s 802/udp # Modbus Application Protocol Secure fcp-udp 810/tcp #FCP fcp-udp 810/udp #FCP Datagram itm-mcell-s 828/tcp itm-mcell-s 828/udp pkix-3-ca-ra 829/tcp #PKIX-3 CA/RA pkix-3-ca-ra 829/udp #PKIX-3 CA/RA netconf-ssh 830/tcp #NETCONF over SSH netconf-ssh 830/udp #NETCONF over SSH netconf-beep 831/tcp #NETCONF over BEEP netconf-beep 831/udp #NETCONF over BEEP netconfsoaphttp 832/tcp #NETCONF for SOAP over HTTPS netconfsoaphttp 832/udp #NETCONF for SOAP over HTTPS netconfsoapbeep 833/tcp #NETCONF for SOAP over BEEP netconfsoapbeep 833/udp #NETCONF for SOAP over BEEP dhcp-failover2 847/tcp #dhcp-failover 2 dhcp-failover2 847/udp #dhcp-failover 2 gdoi 848/tcp gdoi 848/udp # 849-852 #unassigned domain-s 853/tcp #DNS query-response protocol domain-s 853/udp #DNS query-response protocol # 855-859 #unassigned iscsi 860/tcp iscsi 860/udp owamp-control 861/tcp owamp-control 861/udp twamp-control 862/tcp twamp-control 862/udp # 863-872 #unassigned supfilesrv 871/tcp # for SUP rsync 873/tcp rsync 873/udp iclcnet-locate 886/tcp #ICL coNETion locate server iclcnet-locate 886/udp #ICL coNETion locate server iclcnet_svinfo 887/tcp #ICL coNETion server info iclcnet_svinfo 887/udp #ICL coNETion server info accessbuilder 888/tcp accessbuilder 888/udp omginitialrefs 900/tcp #OMG Initial Refs omginitialrefs 900/udp #OMG Initial Refs swat 901/tcp # samba web configuration tool smpnameres 901/tcp smpnameres 901/udp ideafarm-chat 902/tcp ideafarm-chat 902/udp ideafarm-catch 903/tcp ideafarm-catch 903/udp kink 910/tcp #Kerberized Internet Negotiation of Keys (KINK) kink 910/udp #Kerberized Internet Negotiation of Keys (KINK) xact-backup 911/tcp xact-backup 911/udp apex-mesh 912/tcp #APEX relay-relay service apex-mesh 912/udp #APEX relay-relay service apex-edge 913/tcp #APEX endpoint-relay service apex-edge 913/udp #APEX endpoint-relay service rndc 953/tcp # named's rndc control socket ftps-data 989/tcp # ftp protocol, data, over TLS/SSL ftps-data 989/udp ftps 990/tcp # ftp protocol, control, over TLS/SSL ftps 990/udp nas 991/tcp #Netnews Administration System nas 991/udp #Netnews Administration System telnets 992/tcp # telnet protocol over TLS/SSL telnets 992/udp imaps 993/tcp # imap4 protocol over TLS/SSL imaps 993/udp ircs 994/tcp # irc protocol over TLS/SSL ircs 994/udp pop3s 995/tcp spop3 # pop3 protocol over TLS/SSL pop3s 995/udp spop3 vsinet 996/tcp vsinet 996/udp maitrd 997/tcp maitrd 997/udp busboy 998/tcp puparp 998/udp garcon 999/tcp applix 999/udp #Applix ac puprouter 999/tcp puprouter 999/udp cadlock2 1000/tcp cadlock2 1000/udp webpush 1001/tcp #HTTP Web Push surf 1010/tcp surf 1010/udp exp1 1021/tcp #RFC3692-style Experiment 1 (*) [RFC4727] exp1 1021/udp #RFC3692-style Experiment 1 (*) [RFC4727] exp1 1021/sctp #RFC3692-style Experiment 1 (*) [RFC4727] exp2 1022/tcp #RFC3692-style Experiment 2 (*) [RFC4727] exp2 1022/udp #RFC3692-style Experiment 2 (*) [RFC4727] exp2 1022/sctp #RFC3692-style Experiment 2 (*) [RFC4727] # # REGISTERED PORT NUMBERS # blackjack 1025/tcp #network blackjack blackjack 1025/udp #network blackjack cap 1026/tcp #Calendar Access Protocol cap 1026/udp #Calendar Access Protocol 6a44 1027/udp #IPv6 Behind NAT44 CPEs boinc-client 1043/tcp #BOINC Client Control boinc-client 1043/udp #BOINC Client Control nim 1058/tcp nim 1058/udp nimreg 1059/tcp nimreg 1059/udp instl-boots 1067/tcp instl_boots #Installation Bootstrap Proto. Serv. instl-boots 1067/udp instl_boots #Installation Bootstrap Proto. Serv. instl-bootc 1068/tcp instl_bootc #Installation Bootstrap Proto. Cli. instl-bootc 1068/udp instl_bootc #Installation Bootstrap Proto. Cli. socks 1080/tcp socks 1080/udp webobjects 1085/tcp #Web Objects webobjects 1085/udp #Web Objects ff-annunc 1089/tcp #FF Annunciation ff-annunc 1089/udp #FF Annunciation ff-fms 1090/tcp #FF Fieldbus Message Specification ff-fms 1090/udp #FF Fieldbus Message Specification ff-sm 1091/tcp #FF System Management ff-sm 1091/udp #FF System Management cnrprotocol 1096/tcp #Common Name Resolution Protocol cnrprotocol 1096/udp #Common Name Resolution Protocol rmiactivation 1098/tcp #RMI Activation rmiactivation 1098/udp #RMI Activation rmiregistry 1099/tcp #RMI Registry rmiregistry 1099/udp #RMI Registry mctp 1100/tcp #MCTP mctp 1100/udp #MCTP kpop 1109/tcp #Unofficial kpop 1109/udp #Unofficial nfsd-status 1110/tcp #Cluster status info nfsd-keepalive 1110/udp #Client status info supfiledbg 1127/tcp # for SUP c1222-acse 1153/tcp #ANSI C12.22 Port c1222-acse 1153/udp #ANSI C12.22 Port nfa 1155/tcp #Network File Access nfa 1155/udp #Network File Access cisco-ipsla 1167/tcp #Cisco IP SLAs Control Protocol cisco-ipsla 1167/udp #Cisco IP SLAs Control Protocol cisco-ipsla 1167/sctp #Cisco IP SLAs Control Protocol tripwire 1169/tcp #TRIPWIRE tripwire 1169/udp #TRIPWIRE skkserv 1178/tcp #SKK (kanji input) mysql-cluster 1186/tcp #MySQL Cluster Manager mysql-cluster 1186/udp #MySQL Cluster Manager openvpn 1194/tcp #OpenVPN openvpn 1194/udp #OpenVPN rsf-1 1195/tcp #RSF-1 clustering rsf-1 1195/udp #RSF-1 clustering qt-serveradmin 1220/tcp #QT SERVER ADMIN qt-serveradmin 1220/udp #QT SERVER ADMIN healthd 1281/tcp #healthd healthd 1281/udp #healthd pkt-krb-ipsec 1293/tcp #PKT-KRB-IPSec pkt-krb-ipsec 1293/udp #PKT-KRB-IPSec h323hostcallsc 1300/tcp #H323 Host Call Secure h323hostcallsc 1300/udp #H323 Host Call Secure jtag-server 1309/tcp #JTAG server jtag-server 1309/udp #JTAG server hkrb5gatekeeper 1318/tcp #krb5gatekeeper krb5gatekeeper 1318/udp #krb5gatekeeper netdb-export 1329/tcp #netdb-export netdb-export 1329/udp #netdb-export digital-notary 1335/tcp #Digital Notary Protocol digital-notary 1335/udp #Digital Notary Protocol icap 1344/tcp #ICAP icap 1344/udp #ICAP ms-sql-s 1433/tcp #Microsoft-SQL-Server ms-sql-s 1433/udp #Microsoft-SQL-Server ms-sql-m 1434/tcp #Microsoft-SQL-Monitor ms-sql-m 1434/udp #Microsoft-SQL-Monitor ingreslock 1524/tcp #ingres ingreslock 1524/udp #ingres #PROBLEMS!======================================================== orasrv 1525/tcp #oracle orasrv 1525/udp #oracle #PROBLEMS!======================================================== prospero-np 1525/tcp #Prospero Directory Service non-priv prospero-np 1525/udp #Prospero Directory Service non-priv pdap-np 1526/tcp #Prospero Data Access Prot non-priv pdap-np 1526/udp #Prospero Data Access Prot non-priv tlisrv 1527/tcp #oracle tlisrv 1527/udp #oracle pciarray 1552/tcp pciarray 1552/udp issd 1600/tcp issd 1600/udp # IMPORTANT NOTE: Ports 1645/1646 are the traditional radius ports used by # many vendors without obtaining official IANA assignment. The official # assignment is now ports 1812/1813 and users are encouraged to migrate # when possible to these new ports. #radius 1645/udp #RADIUS authentication protocol (old) #radacct 1646/udp #RADIUS accounting protocol (old) nkd 1650/tcp nkd 1650/udp shiva_confsrvr 1651/tcp shiva_confsrvr 1651/udp xnmp 1652/tcp xnmp 1652/udp l2f 1701/tcp #l2f l2f 1701/udp #l2f l2tp 1701/tcp #Layer 2 Tunnelling Protocol l2tp 1701/udp #Layer 2 Tunnelling Protocol pptp 1723/tcp #Point-to-point tunnelling protocol # IMPORTANT NOTE: See comments for ports 1645/1646 when using older equipment radius 1812/udp #RADIUS authentication protocol (IANA sanctioned) radacct 1813/udp #RADIUS accounting protocol (IANA sanctioned) ssdp 1900/tcp #Selective Service Discovery Protocol (UPnP) ssdp 1900/udp #Selective Service Discovery Protocol (UPnP) licensedaemon 1986/tcp #cisco license management licensedaemon 1986/udp #cisco license management tr-rsrb-p1 1987/tcp #cisco RSRB Priority 1 port tr-rsrb-p1 1987/udp #cisco RSRB Priority 1 port tr-rsrb-p2 1988/tcp #cisco RSRB Priority 2 port tr-rsrb-p2 1988/udp #cisco RSRB Priority 2 port tr-rsrb-p3 1989/tcp #cisco RSRB Priority 3 port tr-rsrb-p3 1989/udp #cisco RSRB Priority 3 port #PROBLEMS!=================================================== #mshnet 1989/tcp #MHSnet system #mshnet 1989/udp #MHSnet system #PROBLEMS!=================================================== stun-p1 1990/tcp #cisco STUN Priority 1 port stun-p1 1990/udp #cisco STUN Priority 1 port stun-p2 1991/tcp #cisco STUN Priority 2 port stun-p2 1991/udp #cisco STUN Priority 2 port stun-p3 1992/tcp #cisco STUN Priority 3 port stun-p3 1992/udp #cisco STUN Priority 3 port #PROBLEMS!=================================================== ipsendmsg 1992/tcp ipsendmsg 1992/udp #PROBLEMS!=================================================== snmp-tcp-port 1993/tcp #cisco SNMP TCP port snmp-tcp-port 1993/udp #cisco SNMP TCP port stun-port 1994/tcp #cisco serial tunnel port stun-port 1994/udp #cisco serial tunnel port perf-port 1995/tcp #cisco perf port perf-port 1995/udp #cisco perf port tr-rsrb-port 1996/tcp #cisco Remote SRB port tr-rsrb-port 1996/udp #cisco Remote SRB port gdp-port 1997/tcp #cisco Gateway Discovery Protocol gdp-port 1997/udp #cisco Gateway Discovery Protocol x25-svc-port 1998/tcp #cisco X.25 service (XOT) x25-svc-port 1998/udp #cisco X.25 service (XOT) tcp-id-port 1999/tcp #cisco identification port tcp-id-port 1999/udp #cisco identification port cfingerd 2003/tcp #GNU finger mailbox 2004/tcp oracle 2005/udp raid-cc 2006/udp #raid raid-am 2007/udp raid-cc 2011/tcp #raid lam 2040/tcp lam 2040/udp interbase 2041/tcp interbase 2041/udp #PROBLEMS!============================================================= #shilp 2049/tcp #shilp 2049/udp #PROBLEMS!============================================================= nfsd 2049/tcp nfs # NFS server daemon nfsd 2049/udp nfs # NFS server daemon nfsd 2049/sctp nfs # NFS server daemon dlsrpn 2065/tcp #Data Link Switch Read Port Number dlsrpn 2065/udp #Data Link Switch Read Port Number dlswpn 2067/tcp #Data Link Switch Write Port Number dlswpn 2067/udp #Data Link Switch Write Port Number gnunet 2086/tcp #GNUnet gnunet 2086/udp #GNUnet descent3 2092/tcp #Descent 3 descent3 2092/udp #Descent 3 h2250-annex-g 2099/tcp #H.225.0 Annex G h2250-annex-g 2099/udp #H.225.0 Annex G rtcm-sc104 2101/tcp #rtcm-sc104 rtcm-sc104 2101/udp #rtcm-sc104 zephyr-srv 2102/tcp #Zephyr server zephyr-srv 2102/udp #Zephyr server zephyr-clt 2103/udp #Zephyr serv-hm connection zephyr-hm 2104/udp #Zephyr hostmanager minipay 2105/tcp #MiniPay minipay 2105/udp #MiniPay mzap 2106/tcp #MZAP mzap 2106/udp #MZAP #PROBLEMS!============================================================= eklogin 2105/tcp #Kerberos (v4) encrypted rlogin eklogin 2105/udp #Kerberos (v4) encrypted rlogin ekshell 2106/tcp #Kerberos (v4) encrypted rshell ekshell 2106/udp #Kerberos (v4) encrypted rshell #PROBLEMS!============================================================= gdbremote 2159/tcp #GDB Remote Debug Port gdbremote 2159/udp #GDB Remote Debug Port apc-2160 2160/tcp #APC 2160 apc-2160 2160/udp #APC 2160 apc-2161 2161/tcp #APC 2161 apc-2161 2161/udp #APC 2161 msfw-storage 2171/tcp #MS Firewall Storage msfw-storage 2171/udp #MS Firewall Storage msfw-s-storage 2172/tcp #MS Firewall SecureStorage msfw-s-storage 2172/udp #MS Firewall SecureStorage msfw-replica 2173/tcp #MS Firewall Replication msfw-replica 2173/udp #MS Firewall Replication msfw-array 2174/tcp #MS Firewall Intra Array msfw-array 2174/udp #MS Firewall Intra Array airsync 2175/tcp #Microsoft Desktop AirSync Protocol airsync 2175/udp #Microsoft Desktop AirSync Protocol rapi 2176/tcp #Microsoft ActiveSync Remote API rapi 2176/udp #Microsoft ActiveSync Remote API vmrdp 2179/tcp #Microsoft RDP for virtual machines vmrdp 2179/udp #Microsoft RDP for virtual machines jps 2205/tcp #Java Presentation Server jps 2205/udp #Java Presentation Server hpocbus 2206/tcp #HP OpenCall bus hpocbus 2206/udp #HP OpenCall bus hpssd 2207/tcp #HP Status and Services hpssd 2207/udp #HP Status and Services hpiod 2208/tcp #HP I/O Backend hpiod 2208/udp #HP I/O Backend rimf-ps 2209/tcp #HP RIM for Files Portal Service rimf-ps 2209/udp #HP RIM for Files Portal Service # 2210-2212 Unassigned mysql-im 2273/tcp #MySQL Instance Manager mysql-im 2273/udp #MySQL Instance Manager dbm 2345/tcp #dbm dbm 2345/udp #dbm rsmtp 2390/tcp #RSMTP rsmtp 2390/udp #RSMTP cvspserver 2401/tcp #CVS network server cvspserver 2401/udp #CVS network server venus 2430/tcp #venus venus 2430/udp #venus venus-se 2431/tcp #venus-se venus-se 2431/udp #venus-se codasrv 2432/tcp #codasrv codasrv 2432/udp #codasrv codasrv-se 2433/tcp #codasrv-se codasrv-se 2433/udp #codasrv-se sybasedbsynch 2439/tcp #SybaseDBSynch sybasedbsynch 2439/udp #SybaseDBSynch citrixima 2512/tcp #Citrix IMA citrixima 2512/udp #Citrix IMA citrixadmin 2513/tcp #Citrix ADMIN citrixadmin 2513/udp #Citrix ADMIN hpstgmgr 2600/tcp #HPSTGMGR hpstgmgr 2600/udp #HPSTGMGR discp-client 2601/tcp #discp client discp-client 2601/udp #discp client discp-server 2602/tcp #discp server discp-server 2602/udp #discp server servicemeter 2603/tcp #Service Meter servicemeter 2603/udp #Service Meter nsc-ccs 2604/tcp #NSC CCS nsc-ccs 2604/udp #NSC CCS nsc-posa 2605/tcp #NSC POSA nsc-posa 2605/udp #NSC POSA netmon 2606/tcp #Dell Netmon netmon 2606/udp #Dell Netmon connection 2607/tcp #Dell Connection connection 2607/udp #Dell Connection wag-service 2608/tcp #Wag Service wag-service 2608/udp #Wag Service dict 2628/tcp #RFC 2229 dict 2628/udp #RFC 2229 smpp 2775/tcp #SMPP smpp 2775/udp #SMPP www-dev 2784/tcp #world wide web - development www-dev 2784/udp #world wide web - development citrix-rtmp 2897/tcp #Citrix RTMP citrix-rtmp 2897/udp #Citrix RTMP m2ua 2904/tcp #M2UA m2ua 2904/udp #M2UA m2ua 2904/sctp #M2UA m3ua 2905/tcp #M3UA m3ua 2905/sctp #M3UA megaco-h248 2944/tcp #Megaco H-248 megaco-h248 2944/udp #Megaco H-248 megaco-h248 2944/sctp #Megaco-H.248 text h248-binary 2945/tcp #H248 Binary h248-binary 2945/udp #H248 Binary h248-binary 2945/sctp #Megaco/H.248 binary netplan 2983/tcp #NETPLAN netplan 2983/udp #NETPLAN cifs 3020/tcp #CIFS cifs 3020/udp #CIFS eppc 3031/tcp #Remote AppleEvents/PPC Toolbox eppc 3031/udp #Remote AppleEvents/PPC Toolbox gds_db 3050/tcp #InterBase Database Remote Protocol gds_db 3050/udp #InterBase Database Remote Protocol itu-bicc-stc 3097/sctp #ITU-T Q.1902.1/Q.2150.3 grubd 3136/tcp #Grub Server Port grubd 3136/udp #Grub Server Port iscsi-target 3260/tcp # iSCSI port iscsi-target 3260/udp # iSCSI port mysql 3306/tcp #MySQL mysql 3306/udp #MySQL ms-wbt-server 3389/tcp rdp #MS WBT Server ms-wbt-server 3389/udp #MS WBT Server efi-lm 3392/tcp #EFI License Management efi-lm 3392/udp #EFI License Management prsvp 3455/tcp #RSVP Port prsvp 3455/udp rsvp-encap #RSVP Port nppmp 3476/tcp #NVIDIA Mgmt Protocol nppmp 3476/udp #NVIDIA Mgmt Protocol nut 3493/tcp #Network UPS Tools nut 3493/udp #Network UPS Tools lsp-ping 3503/tcp #MPLS LSP-echo Port lsp-ping 3503/udp #MPLS LSP-echo Port 802-11-iapp 3517/tcp #IEEE 802.11 WLANs WG IAPP 802-11-iapp 3517/udp #IEEE 802.11 WLANs WG IAPP jboss-iiop 3528/tcp #JBoss IIOP jboss-iiop 3528/udp #JBoss IIOP jboss-iiop-ssl 3529/tcp #JBoss IIOP/SSL jboss-iiop-ssl 3529/udp #JBoss IIOP/SSL m2pa 3565/sctp #M2PA m2pa 3565/tcp #M2PA tsp 3653/tcp #Tunnel Setup Protocol tsp 3653/udp #Tunnel Setup Protocol daap 3689/tcp #Digital Audio Access Protocol daap 3689/udp #Digital Audio Access Protocol svn 3690/tcp #Subversion svn 3690/udp #Subversion bfd-control 3784/tcp #BFD Control Protocol bfd-control 3784/udp #BFD Control Protocol bfd-echo 3785/tcp #BFD Echo Protocol bfd-echo 3785/udp #BFD Echo Protocol asap-tcp 3863/tcp #asap tcp port asap-udp 3863/udp #asap udp port asap-sctp 3863/sctp #asap sctp asap-tcp-tls 3864/tcp #asap/tls tcp port asap-sctp-tls 3864/sctp #asap-sctp/tls diameter 3868/tcp #DIAMETER diameter 3868/sctp #DIAMETER mapper-nodemgr 3984/tcp #MAPPER network node manager mapper-nodemgr 3984/udp #MAPPER network node manager mapper-mapethd 3985/tcp #MAPPER TCP/IP server mapper-mapethd 3985/udp #MAPPER TCP/IP server mapper-ws_ethd 3986/tcp #MAPPER workstation server mapper-ws_ethd 3986/udp #MAPPER workstation server dnx 3998/tcp #Distributed Nagios Executor Service dnx 3998/udp #Distributed Nagios Executor Service #PROBLEM: Assigned to Network Paging Protocol ==================== lockd 4045/udp # NFS lock daemon/manager lockd 4045/tcp #PROBLEM ========================================================= nuts_dem 4132/tcp #NUTS Daemon nuts_dem 4132/udp #NUTS Daemon nuts_bootp 4133/tcp #NUTS Bootp Server nuts_bootp 4133/udp #NUTS Bootp Server sieve 4190/tcp #ManageSieve Protocol sieve 4190/udp #ManageSieve Protocol nss 4159/tcp #Network Security Service nss 4159/udp #Network Security Service rwhois 4321/tcp #Remote Who Is rwhois 4321/udp #Remote Who Is epmd 4369/tcp #Erlang Port Mapper Daemon epmd 4369/udp #Erlang Port Mapper Daemon krb524 4444/tcp #KRB524 krb524 4444/udp #KRB524 # PROBLEM nv used it without an assignment nv-video 4444/tcp #NV Video default nv-video 4444/udp #NV Video default # PROBLEM ======================================================== ipsec-nat-t 4500/tcp #IPsec NAT-Traversal ipsec-nat-t 4500/udp #IPsec NAT-Traversal hylafax 4559/tcp #HylaFAX hylafax 4559/udp #HylaFAX ipfix 4739/tcp #IP Flow Info Export ipfix 4739/udp #IP Flow Info Export ipfix 4739/sctp #IP Flow Info Export ipfixs 4740/tcp #ipfix protocol over TLS ipfixs 4740/udp #ipfix protocol over DTLS ipfixs 4740/sctp #ipfix protocol over DTLS vxlan 4789/udp #Virtual eXtensible Local Area Network (VXLAN) derby-repli 4851/tcp #Apache Derby Replication derby-repli 4851/udp #Apache Derby Replication rfe 5002/tcp #radio free ethernet rfe 5002/udp #radio free ethernet mmcc 5050/tcp #multimedia conference control tool mmcc 5050/udp #multimedia conference control tool sip 5060/tcp #Session Initialization Protocol (VoIP) sip 5060/udp #Session Initialization Protocol (VoIP) sip-tls 5061/tcp #SIP over TLS sip-tls 5061/udp #SIP over TLS car 5090/sctp #Candidate AR cxtp 5091/sctp #Context Transfer Protocol xmpp-client 5222/tcp #XMPP Client Connection xmpp-client 5222/udp #XMPP Client Connection xmpp-server 5269/tcp #XMPP Server Connection xmpp-server 5269/udp #XMPP Server Connection presence 5298/tcp #XMPP Link-Local Messaging presence 5298/udp #XMPP Link-Local Messaging cfengine 5308/tcp #CFengine cfengine 5308/udp #CFengine mdns 5353/tcp #Multicast DNS mdns 5353/udp #Multicast DNS mdnsresponder 5354/tcp #Multicast DNS Responder IPC mdnsresponder 5354/udp #Multicast DNS Responder IPC postgresql 5432/tcp #PostgreSQL Database postgresql 5432/udp #PostgreSQL Database vami 5480/tcp #VMware Appliance Management Interface, HTTPS-like vami 5480/udp #VMware Appliance Management Interface, HTTPS-like # PROBLEM Personal Agent assigned the port, but also used by HP Omniback personal-agent 5555/tcp #Personal Agent rplay 5555/udp # PROBLEM ======================================================== amqps 5671/tcp #AMQP protocol over TLS/SSL amqps 5671/udp #AMQP protocol over TLS/SSL amqp 5672/tcp #AMQP amqp 5672/udp #AMQP amqp 5672/sctp #AMQP v5ua 5675/tcp #V5UA application port v5ua 5675/udp #V5UA application port v5ua 5675/sctp #V5UA application port # PROBLEM Auriga Router Service assigned the port ================ canna 5680/tcp #Canna (Japanese Input) auriga-router 5680/udp #Auriga Router Service # PROBLEM ======================================================== vnc-server 5900/tcp #VNC Server vnc-server 5900/udp #VNC Server couchdb 5984/tcp #CouchDB couchdb 5984/udp #CouchDB cvsup 5999/tcp #CVSup file transfer/John Polstra/FreeBSD x11 6000/tcp #6000-6063 are assigned to X Window System x11 6000/udp #X Window System x11-ssh 6010/tcp #Unofficial name, for convenience x11-ssh 6010/udp sge_qmaster 6444/tcp #Grid Engine Qmaster Service sge_qmaster 6444/udp #Grid Engine Qmaster Service sge_execd 6445/tcp #Grid Engine Execution Service sge_execd 6445/udp #Grid Engine Execution Service sane-port 6566/tcp #Scanner Access Now Easy (SANE) Control Port sane-port 6566/udp #Scanner Access Now Easy (SANE) Control Port kftp-data 6620/tcp #Kerberos V5 FTP Data kftp-data 6620/udp #Kerberos V5 FTP Data kftp 6621/tcp #Kerberos V5 FTP Control kftp 6621/udp #Kerberos V5 FTP Control ktelnet 6623/tcp #Kerberos V5 Telnet ktelnet 6623/udp #Kerberos V5 Telnet afesc-mc 6628/udp #AFE Stock Channel M/C ircu 6665/tcp #IRCU ircu 6665/udp #IRCU ircd 6667/tcp #Internet Relay Chat (unofficial) ircs-u 6697/tcp #Internet Relay Chat over TLS/SSL frc-hp 6704/sctp #ForCES HP (High Priority) channel frc-mp 6705/sctp #ForCES MP (Medium Priority) channel frc-lp 6706/sctp #ForCES LP (Low priority) channel afs3-fileserver 7000/tcp #file server itself afs3-fileserver 7000/udp #file server itself afs3-callback 7001/tcp #callbacks to cache managers afs3-callback 7001/udp #callbacks to cache managers afs3-prserver 7002/tcp #users & groups database afs3-prserver 7002/udp #users & groups database afs3-vlserver 7003/tcp #volume location database afs3-vlserver 7003/udp #volume location database afs3-kaserver 7004/tcp #AFS/Kerberos authentication service afs3-kaserver 7004/udp #AFS/Kerberos authentication service afs3-volser 7005/tcp #volume management server afs3-volser 7005/udp #volume management server afs3-errors 7006/tcp #error interpretation service afs3-errors 7006/udp #error interpretation service afs3-bos 7007/tcp #basic overseer process afs3-bos 7007/udp #basic overseer process afs3-update 7008/tcp #server-to-server updater afs3-update 7008/udp #server-to-server updater afs3-rmtsys 7009/tcp #remote cache manager service afs3-rmtsys 7009/udp #remote cache manager service afs3-resserver 7010/tcp #MR-AFS residence server afs3-resserver 7010/udp #MR-AFS residence server ups-onlinet 7010/tcp #onlinet uninterruptable power supplies ups-onlinet 7010/udp #onlinet uninterruptable power supplies afs3-remio 7011/tcp #MR-AFS remote IO server afs3-remio 7011/udp #MR-AFS remote IO server font-service 7100/tcp #X Font Service font-service 7100/udp #X Font Service simco 7626/tcp #SImple Middlebox COnfiguration (SIMCO) Server simco 7626/sctp #SImple Middlebox COnfiguration (SIMCO) # Problem: Intuit Entitlement Client assigned the port =========== ftp-proxy 8021/tcp # FTP proxy intu-ec-client 8021/udp #Intuit Entitlement Client # PROBLEM ======================================================== http-alt 8080/tcp #HTTP Alternate (see port 80) http-alt 8080/udp #HTTP Alternate (see port 80) privoxy 8118/tcp #Privoxy HTTP proxy privoxy 8118/udp #Privoxy HTTP proxy puppet 8140/tcp #The Puppet master service pim 8471/tcp #PIM over Reliable Transport pim 8471/sctp #PIM over Reliable Transport asterix 8600/tcp #Surveillance Data asterix 8600/udp #Surveillance Data natd 8668/divert # Network Address Translation ub-dns-control 8953/tcp #unbound dns nameserver lcs-ap 9082/sctp #LCS Application Protocol aurora 9084/sctp #IBM AURORA Performance Visualizer aurora 9084/tcp #IBM AURORA Performance Visualizer aurora 9084/udp #IBM AURORA Performance Visualizer jetdirect 9100/tcp #HP JetDirect card pdl-datastream 9100/tcp #Printer PDL Data Stream pdl-datastream 9100/udp #Printer PDL Data Stream bacula-dir 9101/tcp #Bacula Director bacula-dir 9101/udp #Bacula Director bacula-fd 9102/tcp #Bacula File Daemon bacula-fd 9102/udp #Bacula File Daemon bacula-sd 9103/tcp #Bacula Storage Daemon bacula-sd 9103/udp #Bacula Storage Daemon prom-sysctl 9124/tcp #prometheus_sysctl_exporter(8) git 9418/tcp #git pack transfer service git 9418/udp #git pack transfer service +prom-ctl 9572/tcp #CTL prometheus odbcpathway 9628/tcp #ODBC Pathway Service odbcpathway 9628/udp #ODBC Pathway Service davsrc 9800/tcp #WebDav Source Port davsrc 9800/udp #WebDav Source Port davsrcs 9802/tcp #WebDAV Source TLS/SSL davsrcs 9802/udp #WebDAV Source TLS/SSL sd 9876/tcp #Session Director sd 9876/udp #Session Director iua 9900/sctp #IUA iua 9900/tcp #IUA iua 9900/udp #IUA enrp 9901/sctp #enrp server channel enrp 9901/udp #enrp server channel enrp-sctp 9901/sctp #enrp server channel enrp-tls 9902/sctp #enrp/tls server channel zabbix-agent 10050/tcp #Zabbix Agent zabbix-agent 10050/udp #Zabbix Agent zabbix-trapper 10051/tcp #Zabbix Trapper zabbix-trapper 10051/udp #Zabbix Trapper amanda 10080/tcp #Dump server control amanda 10080/udp #Dump server control amandaidx 10082/tcp #Amanda indexing amidxtape 10083/tcp #Amanda tape indexing wmereceiving 11997/sctp #WorldMailExpress wmedistribution 11998/sctp #WorldMailExpress wmereporting 11999/sctp #WorldMailExpress bpcd 13782/tcp #VERITAS NetBackup bpcd 13782/udp #VERITAS NetBackup sua 14001/tcp #SUA sua 14001/sctp #SUA amt-soap-http 16992/tcp #Intel(R) AMT SOAP/HTTP amt-soap-http 16992/udp #Intel(R) AMT SOAP/HTTP amt-soap-https 16993/tcp #Intel(R) AMT SOAP/HTTPS amt-soap-https 16993/udp #Intel(R) AMT SOAP/HTTPS amt-redir-tcp 16994/tcp #Intel(R) AMT Redirection/TCP amt-redir-tcp 16994/udp #Intel(R) AMT Redirection/TCP amt-redir-tls 16995/tcp #Intel(R) AMT Redirection/TLS amt-redir-tls 16995/udp #Intel(R) AMT Redirection/TLS isode-dua 17007/tcp isode-dua 17007/udp biimenu 18000/tcp #Beckman Instruments, Inc. biimenu 18000/udp #Beckman Instruments, Inc. nfsrdma 20049/tcp #Network File System (NFS) over RDMA nfsrdma 20049/udp #Network File System (NFS) over RDMA nfsrdma 20049/sctp #Network File System (NFS) over RDMA wnn6 22273/tcp wnn4 #Wnn4 (Japanese input) wnn6_Cn 22289/tcp wnn4_Cn #Wnn4 (Chinese input) wnn6_Kr 22305/tcp wnn4_Kr #Wnn4 (Korean input) wnn6_Tw 22321/tcp wnn4_Tw #Wnn4 (Taiwanse input) wnn6-ds 26208/tcp #Wnn6 (Dserver) wnn6-ds 26208/udp #wnn6-ds sgsap 29118/sctp #SGsAP in 3GPP sbcap 29168/sctp #SBcAP in 3GPP iuhsctpassoc 29169/sctp #HNBAP and RUA Common Association s1-control 36412/sctp #S1-Control Plane (3GPP) x2-control 36422/sctp #X2-Control Plane (3GPP) dbbrowse 47557/tcp #Databeam Corporation dbbrowse 47557/udp #Databeam Corporation