summaryrefslogtreecommitdiffstats
path: root/src/privsep.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-15 14:28:24 +0000
committerRoy Marples <roy@marples.name>2020-01-15 14:28:24 +0000
commit68f04fa827830e894559ba42461d86e0d8bd7b47 (patch)
tree8bbadd0bf18d911402270bffeec30288a1635129 /src/privsep.h
parent727ac8afce72b12d9ace53928b2586f718d88392 (diff)
downloaddhcpcd-68f04fa827830e894559ba42461d86e0d8bd7b47.tar.xz
Implement Anonymity Profiles for DHCP Clients, RFC 7844
This works by randomising the hardware address when carrier is down and using this to construct a DUID LL which is used over any saved DUID. IAID is defaulted to zero and hostname + FQDN are disabled. Then every possible option is masked out except for essential ones. It's possible to request options *after* anonymous option which will enable it. This is RFC compliant and allows 100% flexability in letting the user decide what, if any, details leek out. This is disabled by default. Only works on NetBSD, other OS coming shortly.
Diffstat (limited to 'src/privsep.h')
-rw-r--r--src/privsep.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/privsep.h b/src/privsep.h
index 2f63038a..d277b22f 100644
--- a/src/privsep.h
+++ b/src/privsep.h
@@ -44,9 +44,10 @@
#define PS_IOCTL 0x10
#define PS_SCRIPT 0x11
-#define PS_IOCTL6 0x12
-#define PS_ROUTE 0x13 /* Also used for NETLINK */
-#define PS_WRITEPATHUINT 0x14
+#define PS_IOCTLLINK 0x12
+#define PS_IOCTL6 0x13
+#define PS_ROUTE 0x14 /* Also used for NETLINK */
+#define PS_WRITEPATHUINT 0x15
#define PS_DELETE 0x20
#define PS_START 0x40