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

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

Option types mapped to their names.


Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.