ipfence home page local-first intrusion prevention for Linux

Manual pages

Documentation

Start here: understand it

Plain English, no background needed. Read in order.

Page You will learn
1 What ipfence does the problem, the idea, what it will and will not do
2 Concepts addresses, ports, firewalls, logs and the rest, from zero
3 The story of an attack a real attack, moment by moment, with real output
Glossary one-line definitions

Use it

Page For
Getting started a careful first installation
Reading the status report every line of status explained
Everyday tasks ban, allow, recover, configure, upgrade, uninstall
FAQ "will it lock me out?" and more
Troubleshooting symptoms and fixes
Installation and removal files, service sandbox
Nginx, Caddy and proxies formats, probes, CDNs
SSH and journald which messages count
Firewall and Docker packet path, tested matrix
IPv6 and lockout address policy
Privacy and threat model what is stored, what is defended

Look something up

Page Contains
Commands every command, option and exit code
Settings every configuration key
Status JSON every field
Counters every counter
Messages and errors every message and what to do
Files and limits paths, processes, timings, limits

Understand and change the code

Page Covers
0 Code tour the map; start here
1 Detection parsing and trust
2 The engine every decision
3 Readers following logs
4 Storage the database
5 Firewall ownership and updates
6 Discovery what gets protected
7 Daemon and commands processes and protocol
8 Safety mechanisms protections in one place
9 Testing what is proven
10 Design decisions why; bugs; rough edges
Architecture the one-page overview
Development and tests how to build and test
Release procedure before publishing

About the examples

Output shown in these pages was recorded from real runs on disposable test machines. Addresses such as 203.0.113.x are reserved for documentation; 10.0.2.2 is the test machine's administrator.

This page is docs/README.md in the repository.