base/protocols/dhcp/consts.bro

DHCP

Types, errors, and fields for analyzing DHCP data. A helper file for DHCP analysis scripts.

Namespace:DHCP
Source File:/scripts/base/protocols/dhcp/consts.bro

Summary

Constants

DHCP::message_types: table &default = function &optional Types of DHCP messages.
DHCP::option_types: table &default = function &optional Option types mapped to their names.

Detailed Interface

Constants

DHCP::message_types
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [12] = "LEASEUNKNOWN",
   [14] = "BULKLEASEQUERY",
   [10] = "LEASEQUERY",
   [11] = "LEASEUNASSIGNED",
   [8] = "INFORM",
   [1] = "DISCOVER",
   [5] = "ACK",
   [13] = "LEASEACTIVE",
   [17] = "LEASEQUERYSTATUS",
   [3] = "REQUEST",
   [6] = "NAK",
   [9] = "FORCERENEW",
   [18] = "TLS",
   [4] = "DECLINE",
   [7] = "RELEASE",
   [16] = "ACTIVELEASEQUERY",
   [15] = "LEASEQUERYDONE",
   [2] = "OFFER"
}

Types of DHCP messages. See RFC 1533, RFC 3203, RFC 4388, RFC 6926, and RFC 7724.

DHCP::option_types
Type:table [int] of string
Attributes:&default = function &optional
Default:
{
   [57] = "DHCP Max Msg Size",
   [15] = "Domain Name",
   [44] = "NETBIOS Name Srv",
   [21] = "Policy Filter",
   [119] = "Domain Search",
   [7] = "Log Server",
   [32] = "Router Request",
   [12] = "Hostname",
   [134] = "Diffserv Code Point (DSCP) for VoIP signalling and media streams",
   [211] = "Reboot Time",
   [33] = "Static Route",
   [112] = "Netinfo Address",
   [52] = "Overload",
   [31] = "Router Discovery",
   [55] = "Parameter List",
   [150] = "TFTP server address",
   [45] = "NETBIOS Dist Srv",
   [9] = "LPR Server",
   [76] = "STDA-Server",
   [69] = "SMTP-Server",
   [79] = "Service Scope",
   [255] = "End",
   [10] = "Impress Server",
   [16] = "Swap Server",
   [74] = "IRC-Server",
   [144] = "GeoLoc",
   [209] = "Configuration File",
   [118] = "Subnet Selection Option",
   [75] = "StreetTalk-Server",
   [22] = "Max DG Assembly",
   [151] = "status-code",
   [175] = "Etherboot (Tentatively Assigned - 2005-06-23)",
   [3] = "Router",
   [131] = "PXE - undefined (vendor specific)",
   [53] = "DHCP Msg Type",
   [139] = "OPTION-IPv4_Address-MoS",
   [208] = "PXELINUX Magic",
   [72] = "WWW-Server",
   [73] = "Finger-Server",
   [85] = "NDS Servers",
   [56] = "DHCP Message",
   [113] = "Netinfo Tag",
   [95] = "LDAP",
   [48] = "X Window Font",
   [141] = "SIP UA Configuration Service Domains",
   [220] = "Subnet Allocation Option",
   [78] = "Directory Agent",
   [161] = "OPTION_MUD_URL_V4 (TEMPORARY - registered 2016-11-17)",
   [59] = "Rebinding Time",
   [0] = "Pad",
   [8] = "Quotes Server",
   [70] = "POP3-Server",
   [34] = "Trailers",
   [64] = "NIS-Domain-Name",
   [87] = "NDS Context",
   [93] = "Client System",
   [138] = "OPTION_CAPWAP_AC_V4",
   [114] = "URL",
   [128] = "PXE - undefined (vendor specific)",
   [116] = "Auto-Config",
   [140] = "OPTION-IPv4_FQDN-MoS",
   [88] = "BCMCS Controller Domain Name list",
   [58] = "Renewal Time",
   [38] = "Keepalive Time",
   [42] = "NTP Servers",
   [130] = "PXE - undefined (vendor specific)",
   [177] = "PacketCable and CableHome (replaced by 122)",
   [36] = "Ethernet",
   [62] = "NetWare/IP Domain",
   [41] = "NIS Servers",
   [221] = "Virtual Subnet Selection (VSS) Option",
   [2] = "Time Offset",
   [160] = "DHCP Captive-Portal",
   [49] = "X Window Manager",
   [50] = "Address Request",
   [1] = "Subnet Mask",
   [98] = "User-Auth",
   [100] = "PCode",
   [4] = "Time Server",
   [54] = "DHCP Server Id",
   [66] = "Server-Name",
   [83] = "iSNS",
   [145] = "FORCERENEW_NONCE_CAPABLE",
   [153] = "start-time-of-state",
   [121] = "Classless Static Route Option",
   [35] = "ARP Timeout",
   [213] = "OPTION_V4_ACCESS_DOMAIN",
   [71] = "NNTP-Server",
   [6] = "Domain Server",
   [20] = "SrcRte On/Off",
   [210] = "Path Prefix",
   [135] = "HTTP Proxy for phone-specific applications",
   [67] = "Bootfile-Name",
   [28] = "Broadcast Address",
   [65] = "NIS-Server-Addr",
   [68] = "Home-Agent-Addrs",
   [51] = "Address Time",
   [47] = "NETBIOS Scope",
   [146] = "RDNSS Selection",
   [122] = "CCC",
   [30] = "Mask Supplier",
   [43] = "Vendor Specific",
   [117] = "Name Service Search",
   [157] = "data-source",
   [101] = "TCode",
   [90] = "Authentication",
   [77] = "User-Class",
   [89] = "BCMCS Controller IPv4 address option",
   [124] = "V-I Vendor Class",
   [136] = "OPTION_PANA_AGENT",
   [123] = "GeoConf Option",
   [82] = "Relay Agent Information",
   [26] = "MTU Interface",
   [61] = "Client Id",
   [154] = "query-start-time",
   [60] = "Class Id",
   [91] = "client-last-transaction-time option",
   [39] = "Keepalive Data",
   [46] = "NETBIOS Node Type",
   [81] = "Client FQDN",
   [23] = "Default IP TTL",
   [27] = "MTU Subnet",
   [37] = "Default TCP TTL",
   [125] = "V-I Vendor-Specific Information",
   [92] = "associated-ip option",
   [18] = "Extension File",
   [80] = "Rapid Commit",
   [99] = "GEOCONF_CIVIC",
   [97] = "UUID/GUID",
   [252] = "auto-proxy-config",
   [24] = "MTU Timeout",
   [94] = "Client NDI",
   [86] = "NDS Tree Name",
   [137] = "OPTION_V4_LOST",
   [159] = "OPTION_V4_PORTPARAMS",
   [176] = "IP Telephone (Tentatively Assigned - 2005-06-23)",
   [11] = "RLP Server",
   [133] = "IEEE 802.1D/p Layer 2 Priority",
   [19] = "Forward On/Off",
   [14] = "Merit Dump File",
   [212] = "OPTION_6RD",
   [129] = "PXE - undefined (vendor specific)",
   [155] = "query-end-time",
   [29] = "Mask Discovery",
   [5] = "Name Server",
   [13] = "Boot File Size",
   [158] = "OPTION_V4_PCP_SERVER",
   [25] = "MTU Plateau",
   [120] = "SIP Servers DHCP Option",
   [63] = "NetWare/IP Option",
   [40] = "NIS Domain",
   [152] = "base-time",
   [156] = "dhcp-state",
   [17] = "Root Path",
   [142] = "OPTION-IPv4_Address-ANDSF",
   [132] = "IEEE 802.1Q VLAN ID"
}

Option types mapped to their names.


Copyright 2016, The Bro Project. Last updated on December 19, 2018. Created using Sphinx 1.8.2.