mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Change doc/ subdir into a git submodule
The docs now live at https://github.com/zeek/zeek-docs
This commit is contained in:
parent
0d685efbf5
commit
2ff746fea7
693 changed files with 26 additions and 105609 deletions
|
@ -1,354 +0,0 @@
|
|||
:tocdepth: 3
|
||||
|
||||
policy/protocols/dhcp/deprecated_events.bro
|
||||
===========================================
|
||||
|
||||
Bro 2.6 removed certain DHCP events, but scripts in the Bro
|
||||
ecosystem are still relying on those events. As a transition, this
|
||||
script will handle the new event, and generate the old events,
|
||||
which are marked as deprecated. Note: This script should be
|
||||
removed in the next Bro version after 2.6.
|
||||
|
||||
:Imports: :doc:`base/protocols/dhcp </scripts/base/protocols/dhcp/index>`
|
||||
|
||||
Summary
|
||||
~~~~~~~
|
||||
Types
|
||||
#####
|
||||
=============================================== ====================================================
|
||||
:bro:type:`dhcp_msg`: :bro:type:`record` A DHCP message.
|
||||
:bro:type:`dhcp_router_list`: :bro:type:`table` A list of router addresses offered by a DHCP server.
|
||||
=============================================== ====================================================
|
||||
|
||||
Events
|
||||
######
|
||||
================================================================== ===================================================================================
|
||||
:bro:id:`dhcp_ack`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPACK* (Server to client with configuration
|
||||
parameters, including committed network address).
|
||||
:bro:id:`dhcp_decline`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPDECLINE* (Client to server indicating
|
||||
network address is already in use).
|
||||
:bro:id:`dhcp_discover`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPDISCOVER* (client broadcast to locate
|
||||
available servers).
|
||||
:bro:id:`dhcp_inform`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPINFORM* (Client to server, asking only for
|
||||
local configuration parameters; client already has externally configured network
|
||||
address).
|
||||
:bro:id:`dhcp_nak`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPNAK* (Server to client indicating client's
|
||||
notion of network address is incorrect (e.g., client has moved to new subnet) or
|
||||
client's lease has expired).
|
||||
:bro:id:`dhcp_offer`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPOFFER* (server to client in response
|
||||
to DHCPDISCOVER with offer of configuration parameters).
|
||||
:bro:id:`dhcp_release`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPRELEASE* (Client to server relinquishing
|
||||
network address and cancelling remaining lease).
|
||||
:bro:id:`dhcp_request`: :bro:type:`event` :bro:attr:`&deprecated` Generated for DHCP messages of type *DHCPREQUEST* (Client message to servers either
|
||||
(a) requesting offered parameters from one server and implicitly declining offers
|
||||
from all others, (b) confirming correctness of previously allocated address after,
|
||||
e.g., system reboot, or (c) extending the lease on a particular network address.)
|
||||
================================================================== ===================================================================================
|
||||
|
||||
|
||||
Detailed Interface
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
Types
|
||||
#####
|
||||
.. bro:type:: dhcp_msg
|
||||
|
||||
:Type: :bro:type:`record`
|
||||
|
||||
op: :bro:type:`count`
|
||||
Message OP code. 1 = BOOTREQUEST, 2 = BOOTREPLY
|
||||
|
||||
m_type: :bro:type:`count`
|
||||
The type of DHCP message.
|
||||
|
||||
xid: :bro:type:`count`
|
||||
Transaction ID of a DHCP session.
|
||||
|
||||
h_addr: :bro:type:`string`
|
||||
Hardware address of the client.
|
||||
|
||||
ciaddr: :bro:type:`addr`
|
||||
Original IP address of the client.
|
||||
|
||||
yiaddr: :bro:type:`addr`
|
||||
IP address assigned to the client.
|
||||
|
||||
A DHCP message.
|
||||
|
||||
.. note:: This type is included to support the deprecated events dhcp_ack,
|
||||
dhcp_decline, dhcp_discover, dhcp_inform, dhcp_nak, dhcp_offer,
|
||||
dhcp_release and dhcp_request and is thus similarly deprecated
|
||||
itself. Use :bro:see:`dhcp_message` instead.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_ack dhcp_decline dhcp_discover
|
||||
dhcp_inform dhcp_nak dhcp_offer dhcp_release dhcp_request
|
||||
|
||||
.. bro:type:: dhcp_router_list
|
||||
|
||||
:Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`addr`
|
||||
|
||||
A list of router addresses offered by a DHCP server.
|
||||
|
||||
.. note:: This type is included to support the deprecated events dhcp_ack
|
||||
and dhcp_offer and is thus similarly deprecated
|
||||
itself. Use :bro:see:`dhcp_message` instead.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_ack dhcp_offer
|
||||
|
||||
Events
|
||||
######
|
||||
.. bro:id:: dhcp_ack
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, mask: :bro:type:`addr`, router: :bro:type:`dhcp_router_list`, lease: :bro:type:`interval`, serv_addr: :bro:type:`addr`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPACK* (Server to client with configuration
|
||||
parameters, including committed network address).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:mask: The subnet mask specified by the message.
|
||||
|
||||
|
||||
:router: The list of routers specified by the message.
|
||||
|
||||
|
||||
:lease: The least interval specified by the message.
|
||||
|
||||
|
||||
:serv_addr: The server address specified by the message.
|
||||
|
||||
|
||||
:host_name: Optional host name value. May differ from the host name requested
|
||||
from the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_decline dhcp_nak dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_decline
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPDECLINE* (Client to server indicating
|
||||
network address is already in use).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:host_name: Optional host name value.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_ack dhcp_nak dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_discover
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, req_addr: :bro:type:`addr`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPDISCOVER* (client broadcast to locate
|
||||
available servers).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:req_addr: The specific address requested by the client.
|
||||
|
||||
|
||||
:host_name: The value of the host name option, if specified by the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_decline dhcp_ack dhcp_nak dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_inform
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPINFORM* (Client to server, asking only for
|
||||
local configuration parameters; client already has externally configured network
|
||||
address).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:host_name: The value of the host name option, if specified by the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_decline dhcp_ack dhcp_nak dhcp_release
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_nak
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPNAK* (Server to client indicating client's
|
||||
notion of network address is incorrect (e.g., client has moved to new subnet) or
|
||||
client's lease has expired).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:host_name: Optional host name value.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_decline dhcp_ack dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_offer
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, mask: :bro:type:`addr`, router: :bro:type:`dhcp_router_list`, lease: :bro:type:`interval`, serv_addr: :bro:type:`addr`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPOFFER* (server to client in response
|
||||
to DHCPDISCOVER with offer of configuration parameters).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:mask: The subnet mask specified by the message.
|
||||
|
||||
|
||||
:router: The list of routers specified by the message.
|
||||
|
||||
|
||||
:lease: The least interval specified by the message.
|
||||
|
||||
|
||||
:serv_addr: The server address specified by the message.
|
||||
|
||||
|
||||
:host_name: Optional host name value. May differ from the host name requested
|
||||
from the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_request dhcp_decline
|
||||
dhcp_ack dhcp_nak dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_release
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPRELEASE* (Client to server relinquishing
|
||||
network address and cancelling remaining lease).
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:host_name: The value of the host name option, if specified by the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_request
|
||||
dhcp_decline dhcp_ack dhcp_nak dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
|
||||
.. bro:id:: dhcp_request
|
||||
|
||||
:Type: :bro:type:`event` (c: :bro:type:`connection`, msg: :bro:type:`dhcp_msg`, req_addr: :bro:type:`addr`, serv_addr: :bro:type:`addr`, host_name: :bro:type:`string`)
|
||||
:Attributes: :bro:attr:`&deprecated`
|
||||
|
||||
Generated for DHCP messages of type *DHCPREQUEST* (Client message to servers either
|
||||
(a) requesting offered parameters from one server and implicitly declining offers
|
||||
from all others, (b) confirming correctness of previously allocated address after,
|
||||
e.g., system reboot, or (c) extending the lease on a particular network address.)
|
||||
|
||||
|
||||
:c: The connection record describing the underlying UDP flow.
|
||||
|
||||
|
||||
:msg: The parsed type-independent part of the DHCP message.
|
||||
|
||||
|
||||
:req_addr: The client address specified by the message.
|
||||
|
||||
|
||||
:serv_addr: The server address specified by the message.
|
||||
|
||||
|
||||
:host_name: The value of the host name option, if specified by the client.
|
||||
|
||||
.. bro:see:: dhcp_message dhcp_discover dhcp_offer dhcp_decline
|
||||
dhcp_ack dhcp_nak dhcp_release dhcp_inform
|
||||
|
||||
.. note:: This event has been deprecated, and will be removed in the next version.
|
||||
Use dhcp_message instead.
|
||||
|
||||
.. note:: Bro does not support broadcast packets (as used by the DHCP
|
||||
protocol). It treats broadcast addresses just like any other and
|
||||
associates packets into transport-level flows in the same way as usual.
|
||||
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
:tocdepth: 3
|
||||
|
||||
policy/protocols/dhcp/msg-orig.bro
|
||||
==================================
|
||||
.. bro:namespace:: DHCP
|
||||
|
||||
Add a field that logs the order of hosts sending messages
|
||||
using the same DHCP transaction ID. This information is
|
||||
occasionally needed on some networks to fully explain the
|
||||
DHCP sequence.
|
||||
|
||||
:Namespace: DHCP
|
||||
:Imports: :doc:`base/protocols/dhcp </scripts/base/protocols/dhcp/index>`
|
||||
|
||||
Summary
|
||||
~~~~~~~
|
||||
Redefinitions
|
||||
#############
|
||||
========================================== =
|
||||
:bro:type:`DHCP::Info`: :bro:type:`record`
|
||||
========================================== =
|
||||
|
||||
|
||||
Detailed Interface
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
:tocdepth: 3
|
||||
|
||||
policy/protocols/dhcp/software.bro
|
||||
==================================
|
||||
.. bro:namespace:: DHCP
|
||||
|
||||
Software identification and extraction for DHCP traffic.
|
||||
|
||||
:Namespace: DHCP
|
||||
:Imports: :doc:`base/frameworks/software </scripts/base/frameworks/software/index>`, :doc:`base/protocols/dhcp </scripts/base/protocols/dhcp/index>`
|
||||
|
||||
Summary
|
||||
~~~~~~~
|
||||
Redefinitions
|
||||
#############
|
||||
============================================ =
|
||||
:bro:type:`DHCP::Info`: :bro:type:`record`
|
||||
:bro:type:`Software::Type`: :bro:type:`enum`
|
||||
============================================ =
|
||||
|
||||
|
||||
Detailed Interface
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
:tocdepth: 3
|
||||
|
||||
policy/protocols/dhcp/sub-opts.bro
|
||||
==================================
|
||||
.. bro:namespace:: DHCP
|
||||
|
||||
|
||||
:Namespace: DHCP
|
||||
:Imports: :doc:`base/protocols/dhcp </scripts/base/protocols/dhcp/index>`
|
||||
|
||||
Summary
|
||||
~~~~~~~
|
||||
Redefinitions
|
||||
#############
|
||||
========================================== =
|
||||
:bro:type:`DHCP::Info`: :bro:type:`record`
|
||||
========================================== =
|
||||
|
||||
|
||||
Detailed Interface
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue