diff options
author | 1998-02-11 03:58:31 +0000 | |
---|---|---|
committer | 1998-02-11 03:58:31 +0000 | |
commit | 98a691e3afa3fe2c36b47fee5a6ec2b7b38122b1 (patch) | |
tree | cc53c07b24643a5daeb959164c47aaf4bbf5a3a5 | |
parent | syslogd gets a new -a argument: specify additional AF_UNIX log devices (diff) | |
download | wireguard-openbsd-98a691e3afa3fe2c36b47fee5a6ec2b7b38122b1.tar.xz wireguard-openbsd-98a691e3afa3fe2c36b47fee5a6ec2b7b38122b1.zip |
make IPPORT_USERRESERVED a nice fat number -> random ports look really funky.
-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) |