ipfence home page local-first intrusion prevention for Linux

Manual pages

Counters

Persisted totals shown under "Local counters" and in local_counters. They start at zero when the database is created and survive restarts and reboots. A counter appears only once it is above zero. Kernel drop counters are separate: see Reading the status report.

Events

Counter Counted when
events.seen a recognized failure reached the engine
events.counted it added a point
ignored.invalid it lacked an address, detector or identity
ignored.stale older than the detector's window
ignored.future more than 5 minutes in the future (check clocks)
ignored.behind_proxy it came through a trusted proxy
ignored.already_banned the address is already banned
ignored.replayed from before the last ban ended
ignored.duplicate this record was already counted

Exempt addresses

Counter Why exempt
ignored.unusable_address unspecified, multicast or broadcast
ignored.loopback this machine itself
ignored.local_address one of this host's addresses
ignored.allowlisted settings file or ipfence allow
ignored.trusted_proxy listed proxy
ignored.private_address private or link-local, with auto_ban_private off

Decisions

Counter Counted when
bans.auto automatic ban while enforcing
bans.observed dry-run decision
bans.manual ipfence ban
bans.escalation IPv6 prefix ban
refused.capacity not banned because 20,000 bans are active
escalation.skipped_trusted_overlap prefix not banned because it contains a trusted address
evicted.hits old hits removed to stay within 50,000

Journal reader

Counter Counted when Concern
journal.untrusted looked like a failure but failed the sender checks forgery, or sshd in an unusual place
journal.no_message entry without readable text (binary, repeated, or longer than 4096 bytes) usually none
journal.malformed a line journalctl printed was not valid investigate if growing
journal.oversized line over 128 KiB
journal.cursor_lost the saved position no longer existed events may have been missed

File reader

Counter Counted when Concern
file.unparsed line not in the configured format check format
file.oversized line longer than the limit, dropped