File: dhcp-keywords.rst

package info (click to toggle)
suricata 1%3A8.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240,704 kB
  • sloc: ansic: 357,736; python: 8,721; sh: 5,043; makefile: 2,411; perl: 570; php: 170
file content (65 lines) | stat: -rw-r--r-- 1,579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DHCP keywords
=============

dhcp.leasetime
--------------

DHCP lease time (integer).

dhcp.leasetime uses an :ref:`unsigned 64-bit integer <rules-integer-keywords>`.

Syntax::

 dhcp.leasetime:[op]<number>

The time can be matched exactly, or compared using the _op_ setting::

 dhcp.leasetime:3    # exactly 3
 dhcp.leasetime:<3   # smaller than 3
 dhcp.leasetime:>=2  # greater or equal than 2

Signature example::

 alert dhcp any any -> any any (msg:"small DHCP lease time (<3)"; dhcp.leasetime:<3; sid:1; rev:1;)

dhcp.rebinding_time
-------------------

DHCP rebinding time (integer).

dhcp.rebinding_time uses an :ref:`unsigned 64-bit integer <rules-integer-keywords>`.

Syntax::

 dhcp.rebinding_time:[op]<number>

The time can be matched exactly, or compared using the _op_ setting::

 dhcp.rebinding_time:3    # exactly 3
 dhcp.rebinding_time:<3   # smaller than 3
 dhcp.rebinding_time:>=2  # greater or equal than 2

Signature example::

 alert dhcp any any -> any any (msg:"small DHCP rebinding time (<3)"; dhcp.rebinding_time:<3; sid:1; rev:1;)

dhcp.renewal_time
-----------------

DHCP renewal time (integer).

dhcp.renewal_time uses an :ref:`unsigned 64-bit integer <rules-integer-keywords>`.

Syntax::

 dhcp.renewal_time:[op]<number>

The time can be matched exactly, or compared using the _op_ setting::

 dhcp.renewal_time:3    # exactly 3
 dhcp.renewal_time:<3   # smaller than 3
 dhcp.renewal_time:>=2  # greater or equal than 2

Signature example::

 alert dhcp any any -> any any (msg:"small DHCP renewal time (<3)"; dhcp.renewal_time:<3; sid:1; rev:1;)