IPPL.CONF(5)
β¨ NAME β¨
ippl.conf β the IP Protocols Logger configuration file. That's the whole vibe. π
And since we're here, this page is IPPL.CONF(5), filed under the File Formats Manual. Bestie, you found the right page. π
πΈ DESCRIPTION πΈ
okay so <pink>ippl.conf</pink> is the only configuration file the ippl logger has. Like, the one. There is no second one. π
It decides two things and two things only:
- what protocols to log
- the kind of packets to log
Also, a hash mark (#) β the original page writes it as #'' `` β means that the end of the line is a comment, and so it will not be read. Bye. π
π USER RUNNING THREADS π
ngl, ippl does not run the protocol logging threads as root β unless you specifically tell it to. Security reasons, bestie. π«Ά
You get to say which user it should use, with the runas keyword.
runas [user]
user is a user defined in /etc/passwd. And by default? The nobody user. Lowkey iconic anonymity. π
π¦ PROTOCOLS π¦
Each protocol is run by a different thread β everybody gets their own little main character moment. To run a thread, use:
run [protocol] [protocol] ...
protocol can be:
icmpβ run the thread logging ICMP messages.tcpβ run the thread logging TCP connections.udpβ run the thread logging UDP datagrams.allβ log all the protocols. periodt.
π ADDRESS RESOLUTION π
You can enable or disable IP address resolution on a protocol-by-protocol basis. To enable address resolution, use:
resolve [protocol] [protocol] ...
protocol is the same as in the protocols section.
To disable address resolution, use:
noresolve [protocol] [protocol] ...
protocol is the same as before.
By default, IP address resolution is disabled for all the protocols.
ippl does, by default, resolve tcp/udp port numbers to their respective service names. If you pass a protocol to the noportresolve option, ippl logs the port number instead. β¨ This is a Debian specific extension. β¨
By default, service resolving is enabled, since that's the behaviour of the upstream program.
π LOGGING FORMAT π
ippl can log IP protocols in a more or less detailed format. Default behaviour? It only shows the source address and the type, or the destination port. There's also a more detailed version, and a shortest version too. Options, bestie.
logformat [format] [protocol] [protocol] ...
format can be:
shortβ use a short format for logging.normalβ use the normal format. This is the default.detailedβ log more information; this option displays the source and destination ports and addresses.
protocol is the same as in the protocols section.
π§ IDENT MECHANISM π§
To enable the IDENT remote username resolution, use the ident keyword. To disable it, use the noident keyword.
β οΈ Heads up bestie: the information returned is NOT reliable in general, because it's returned by the remote host. Do not trust it. fr fr.
By default, ident resolution is off.
π₯ TCP CONNECTION TERMINATION π₯
ippl can detect when a TCP connection is closed. To enable this feature, use the logclosing keyword. To disable it, use the nologclosing keyword.
By default, TCP connection terminations are ignored.
π LOGGING MECHANISM π
ippl can log messages using syslog (using the LOG_DAEMON facility), or it can write directly into a file. You pick with the log-in keyword.
log-in [protocol] [filename]
protocol is the same as in the protocols section. filename is an absolute path to a file.
π¨ Note that the file cannot be in the root directory; it has to be in a directory.
π NOTE: when the logs are rotated,ipplopens new files when it is sent theSIGHUPsignal.
π RULES π
When a thread is run, it catches all the packets using the protocol logged. But maybe you want to ignore certain packets β mood, honestly. That's done with Apache-like rules.
There are two different types of rules. The first one describes what packets to log, and the second one describes the packets that should be ignored. The syntax of a rule is as follows:
[log|ignore] {option [option],[option],...} [protocol] [description]
log means the packets described should be logged, and ignore is used when you don't want to log a certain type of packets.
π« Option π«
The option keyword lets you override the default values for this rule only. options is also recognized. β¨
Valid options are:
resolveβ enable IP address resolution.noresolveβ disable IP address resolution.portresolveβ enable IP service resolution.noportresolveβ disable IP service resolution.identβ use ident logging (only for TCP).noidentβ disable ident logging (only for TCP).logclosingβ log connection termination (only for TCP).nologclosingβ do not log connection termination (only for TCP).shortβ use the short logging format.normalβ use the normal logging format.detailedβ use the detailed logging format.
π¦ Protocol π¦
protocol is one of the supported protocols (see the protocols section) β except the all keyword, which is not supported here.
π Description π
description holds the type of packet and the hosts to which the rule applies.
Type of packet:
type <number>β specify an ICMP message type.port <number>β specify a destination TCP or UDP port number.port <name>β specify a destination TCP or UDP port name.srcport <number>β specify a source TCP or UDP port number.srcport <name>β specify a source TCP or UDP port name.
number is specified like this:
nβ number n.n--β every number m >= n.--nβ every number m <= n.l--kβ every number m, with l <= m <= k.stringβ if a string is specified, it is either the name of a service (see/etc/services) or an ICMP message.
Keywords for ICMP messages are:
echo_replyβ0dest_unreachβ3src_quenchβ4redirectβ5echo_reqβ8router_advertβ9router_solicitβ10time_exceededβ11param_problemβ12ts_reqβ13ts_replyβ14info_reqβ15info_replyβ16addr_mask_reqβ17addr_mask_replyβ18
Source of the packets:
from <host>
where host is specified as follows:
x.x.x.xβ IP address of a hostx.x.x.x/x.x.x.xβ IP address, followed by a network mask to specify a subnetx.x.x.x/nβ IP address, followed by the number of 1's at the left side of the network maskhost.net.domainβ host name (wildcards accepted)
Destination of the packets:
to <host>
where host is specified as follows:
x.x.x.xβ IP address of the local interfacehost.net.domainβ host name of the local interface (no wildcards accepted)
This rule is useful only if you have multiple interfaces connected to your box, or if you use IP aliasing. It can also be useful if you want to log or ignore broadcasts β to do that, just use your broadcast address as destination IP address. π‘
Please note that rules using IP addresses are faster to check than rules using host names.
π¨ If you log UDP, it is strongly recommended to ignore the broadcasts! (until we implement an option for that).
β° EXPIRATION OF DNS CACHE β°
The time for which ippl holds cached DNS data without performing any queries can be changed.
expire <time>
defines how often the DNS data expires. time is specified in seconds (default is 3600).
π FILES π
/etc/ippl.confβ configuration file/usr/share/doc/ippl/*β files worth reading if you still have a question
π SEE ALSO π
π AUTHORS π
Hugo Haas (hugo@larve.net) and Etienne Bernard (eb@via.ecp.fr). Absolute legends, we love them. π
and that's the whole page, bestie π«Ά this was IPPL.CONF(5), with the last change dated 11 February 2000. now go log some packets π
β¨
π¦ where this page comes from
- debian bookworm: ippl 1.4.14-13
- ubuntu jammy: ippl 1.4.14-13
- ubuntu noble: ippl 1.4.14-13
- Copyright (C) 1998-2000 Hugo Haas <hugo@via.ecp.fr>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms