From: djm Date: Thu, 10 Jul 2008 02:19:28 +0000 (+0000) Subject: add X11 ports to default TCP baddynamic list X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e921861b814eb1b5b8f1df463a7d7fb31c4768a9;p=openbsd add X11 ports to default TCP baddynamic list --- diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index fc84844ec40..d3188b12adc 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.h,v 1.65 2008/07/09 20:20:46 djm Exp $ */ +/* $OpenBSD: in_pcb.h,v 1.66 2008/07/10 02:19:28 djm Exp $ */ /* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */ /* @@ -227,7 +227,10 @@ struct inpcbtable { #define DP_ISSET(m, p) ((m)[(p) / DP_MAPBITS] & (1 << ((p) % DP_MAPBITS))) /* default values for baddynamicports [see ip_init()] */ -#define DEFBADDYNAMICPORTS_TCP { 587, 749, 750, 751, 871, 2049, 0 } +#define DEFBADDYNAMICPORTS_TCP { \ + 587, 749, 750, 751, 871, 2049, \ + 6000, 6001, 6002, 6003, 6004, 6005, 6006, 6007, 6008, 6009, 6010, \ + 0 } #define DEFBADDYNAMICPORTS_UDP { 623, 664, 749, 750, 751, 2049, 0 } struct baddynamicports {