-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfilter_backends.7
51 lines (40 loc) · 1.98 KB
/
filter_backends.7
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
.\" -*- nroff -*-
.TH "FILTER BACKENDS" 7 "January 7, 2004"
.SH NAME
filter_backends \- output drivers for the filtergen packet filter compiler
.SH INTRODUCTION
This document describes the status and feature-set of the currently
available \fBfiltergen\fR backends.
.SH IPTABLES, IP6TABLES
Most development is done first against the iptables driver. It supports
reject, masquerading, transparent proxying, logging (with text) and
sub-groups, all of which should work fine (though the latter has only
recently been fixed).
The ip6tables driver is the IPv6 equivalent of the iptables driver.
.SH IPTABLES-RESTORE, IP6TABLES-RESTORE
The iptables-restore driver supports all of the features of the iptables
driver. It emits a ruleset that is loaded atomically into Netfilter
using iptables-restore.
The ip6tables-restore driver is the IPv6 equivalent of the iptables-restore
driver.
.SH IPCHAINS
The ipchains driver supports all of the above features, too. Its state
model is much weaker though, of course. The forwarding support should
work OK, though it is not possible to support "local"-only packets.
.SH IPFILTER
The ipfilter backend is incomplete. It supports accept, drop, reject
and logging, but not masq, transproxy or sub-groups. It should be easy
for someone with knowledge of ipfilter to add support for the other
features. Options for OpenBSD "pf" features and syntax would be nice,
too. It has received no testing; I don't even know if the generated
filters are syntactically correct.
.SH CISCO
The cisco driver is in roughly the same sort of state as the ipfilter
one. Additionally, because of the limitations of IOS ACLs, it supports
only a limited set of features. It cannot support reject or transparent
proxying, and may not be able to support masquerading either. An option
for reflexive (stateful) ACLs would be very useful.
I understand that Cisco PIX firewalls use a variant of this syntax -- it
would be very nice to support them too.
.SH SEE ALSO
\fBfiltergen\fR(8), \fBfilter_syntax\fR(5)