diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-11 03:58:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-11 03:58:32 +0000 |
commit | b4c5e4b729c74a1538c4e3e5da63d6625ce97e50 (patch) | |
tree | 899eda37127e4b9ff0e6be4d14416a60e929fa13 /sys/netinet | |
parent | b6943ba60e2778111412d36e23a780a2d29a5414 (diff) |
make IPPORT_USERRESERVED a nice fat number -> random ports look really funky.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index d86a6779e8d..276f5050df5 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.11 1997/11/30 18:50:19 millert Exp $ */ +/* $OpenBSD: in.h,v 1.12 1998/02/11 03:58:31 deraadt Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -110,13 +110,13 @@ * for servers, not necessarily privileged. */ #define IPPORT_RESERVED 1024 -#define IPPORT_USERRESERVED 5000 +#define IPPORT_USERRESERVED 49151 /* * Default local port range to use by setting IP_PORTRANGE_HIGH */ -#define IPPORT_HIFIRSTAUTO 40000 -#define IPPORT_HILASTAUTO 44999 +#define IPPORT_HIFIRSTAUTO 49152 +#define IPPORT_HILASTAUTO 65535 /* * Internet address (a structure for historical reasons) |