summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-07-10 02:19:29 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-07-10 02:19:29 +0000
commitc942e12914a46a641ebd3cce5d060557232e2b6c (patch)
tree9060de3b1ddf20b04f4a1ad97f98f3ba9ef4f548 /sys
parent30ffbc379b949f168a36215244c05e44bce343d0 (diff)
add X11 ports to default TCP baddynamic list
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in_pcb.h7
1 files changed, 5 insertions, 2 deletions
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 {