@@ -10,7 +10,7 @@ provide TLS services. Encryption can be provided by using
1010This module has no limit on the number of listeners and sessions that
1111can be used.
1212
13- **Author: **\ Rainer Gerhards <rgerhards@adiscon.com>
13+ **Author: ** Rainer Gerhards <rgerhards@adiscon.com>
1414
1515Configuration Directives
1616------------------------
@@ -25,7 +25,8 @@ Module Parameters
2525These paramters can be used with the "module()" statement. They apply
2626globaly to all inputs defined by the module.
2727
28- - Threads <number>
28+ .. function :: Threads <number>
29+
2930 Number of helper worker threads to process incoming messages. These
3031 threads are utilized to pull data off the network. On a busy system,
3132 additional helper threads (but not more than there are CPUs/Cores)
@@ -40,6 +41,31 @@ Input Parameters
4041These parameters can be used with the "input()" statement. They apply to
4142the input they are specified with.
4243
44+ .. function :: port <number>
45+
46+ *Mandatory *
47+
48+ Select a port to listen on.
49+
50+ .. function :: name <name>
51+
52+ Sets a name for the inputname property. If no name is set "imptcp"
53+ is used by default. Setting a name is not strictly necessary, but can
54+ be useful to apply filtering based on which input the message was
55+ received from. Note that the name also shows up in
56+ :doc: `impstats <impstats >` logs.
57+
58+ .. function :: ruleset <name>
59+
60+ Binds specified ruleset to next server defined.
61+
62+ .. function :: address <name>
63+
64+ *Default: all interfaces *
65+
66+ On multi-homed machines, specifies to which local address the
67+ listerner should be bound.
68+
4369.. function :: AddtlFrameDelimiter <Delimiter>
4470
4571 This directive permits to specify an additional frame delimiter for
@@ -116,26 +142,6 @@ the input they are specified with.
116142 This has only effect if keep-alive is enabled. The functionality may
117143 not be available on all platforms.
118144
119- .. function :: Port <number>
120-
121- Select a port to listen on
122-
123- .. function :: Name <name>
124-
125- Sets a name for the inputname property. If no name is set "imptcp"
126- is used by default. Setting a name is not strictly necessary, but can
127- be useful to apply filtering based on which input the message was
128- received from.
129-
130- .. function :: Ruleset <name>
131-
132- Binds specified ruleset to next server defined.
133-
134- .. function :: Address <name>
135-
136- On multi-homed machines, specifies to which local address the
137- listerner should be bound.
138-
139145.. function :: RateLimit.Interval [number]
140146
141147 *Default is 0, which turns off rate limiting *
@@ -164,6 +170,14 @@ This sets up a TCP server on port 514:
164170 module(load="imptcp") # needs to be done just once
165171 input(type="imptcp" port="514")
166172
173+ This creates a listener that listens on the local loopback
174+ interface, only.
175+
176+ ::
177+
178+ module(load="imptcp") # needs to be done just once
179+ input(type="imptcp" port="514" address="127.0.0.1")
180+
167181Legacy Configuration Directives
168182-------------------------------
169183
0 commit comments