Ethereal-dev: [Ethereal-dev] Additional BOOTP options [PATCH]

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 23 Dec 2005 17:36:22 +0100 (CET)
Hi list,

Found some additional BOOTP options in a PPP trace. Deep down in the
Microsoft Windows Server 2003 TechCenter I found their meaning:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/8006f246-2029-4bad-b9f0-4f31a56b0590.mspx
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a70f1bb7-d2d4-49f0-96d6-4b7414ecfaae.mspx
Option 249 for classless static routes and option 252 for proxy
autodiscovery.
The attached patch adds them to the list in the BOOTP dissector.

Thanx,
Jaap
Index: packet-bootp.c
===================================================================
--- packet-bootp.c	(revision 16889)
+++ packet-bootp.c	(working copy)
@@ -549,7 +549,52 @@
 		/* 207 */ { "Private",					opaque, NULL },
 		/* 208 */ { "Private",					opaque, NULL },
 		/* 209 */ { "Private",					opaque, NULL },
-		/* 210 */ { "Authentication",				special, NULL }
+		/* 210 */ { "Authentication",				special, NULL },
+		/* 211 */ { "Private",					opaque, NULL },
+		/* 212 */ { "Private",					opaque, NULL },
+		/* 213 */ { "Private",					opaque, NULL },
+		/* 214 */ { "Private",					opaque, NULL },
+		/* 215 */ { "Private",					opaque, NULL },
+		/* 216 */ { "Private",					opaque, NULL },
+		/* 217 */ { "Private",					opaque, NULL },
+		/* 218 */ { "Private",					opaque, NULL },
+		/* 219 */ { "Private",					opaque, NULL },
+		/* 220 */ { "Private",					opaque, NULL },
+		/* 221 */ { "Private",					opaque, NULL },
+		/* 222 */ { "Private",					opaque, NULL },
+		/* 223 */ { "Private",					opaque, NULL },
+		/* 224 */ { "Private",					opaque, NULL },
+		/* 225 */ { "Private",					opaque, NULL },
+		/* 226 */ { "Private",					opaque, NULL },
+		/* 227 */ { "Private",					opaque, NULL },
+		/* 228 */ { "Private",					opaque, NULL },
+		/* 229 */ { "Private",					opaque, NULL },
+		/* 230 */ { "Private",					opaque, NULL },
+		/* 231 */ { "Private",					opaque, NULL },
+		/* 232 */ { "Private",					opaque, NULL },
+		/* 233 */ { "Private",					opaque, NULL },
+		/* 234 */ { "Private",					opaque, NULL },
+		/* 235 */ { "Private",					opaque, NULL },
+		/* 236 */ { "Private",					opaque, NULL },
+		/* 237 */ { "Private",					opaque, NULL },
+		/* 238 */ { "Private",					opaque, NULL },
+		/* 239 */ { "Private",					opaque, NULL },
+		/* 240 */ { "Private",					opaque, NULL },
+		/* 241 */ { "Private",					opaque, NULL },
+		/* 242 */ { "Private",					opaque, NULL },
+		/* 243 */ { "Private",					opaque, NULL },
+		/* 244 */ { "Private",					opaque, NULL },
+		/* 245 */ { "Private",					opaque, NULL },
+		/* 246 */ { "Private",					opaque, NULL },
+		/* 247 */ { "Private",					opaque, NULL },
+		/* 248 */ { "Private",					opaque, NULL },
+		/* 249 */ { "Classless static routes",			opaque, NULL },
+		/* 250 */ { "Private",					opaque, NULL },
+		/* 251 */ { "Private",					opaque, NULL },
+		/* 252 */ { "Proxy autodiscovery",			string, NULL },
+		/* 253 */ { "Private",					opaque, NULL },
+		/* 254 */ { "Private",					opaque, NULL },
+		/* 255 */ { "Private",					opaque, NULL }
 	};
 
 	/* Options whose length isn't "optlen + 2". */