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:
{
   [3] = "REQUEST",
   [5] = "ACK",
   [8] = "INFORM",
   [11] = "LEASEUNASSIGNED",
   [4] = "DECLINE",
   [9] = "FORCERENEW",
   [14] = "BULKLEASEQUERY",
   [2] = "OFFER",
   [7] = "RELEASE",
   [10] = "LEASEQUERY",
   [15] = "LEASEQUERYDONE",
   [17] = "LEASEQUERYSTATUS",
   [16] = "ACTIVELEASEQUERY",
   [12] = "LEASEUNKNOWN",
   [1] = "DISCOVER",
   [18] = "TLS",
   [6] = "NAK",
   [13] = "LEASEACTIVE"
}

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

Option types mapped to their names.


Copyright 2016, The Bro Project. Last updated on August 13, 2018. Created using Sphinx 1.7.5.