4 version history for ferm
6 Auke Kok <sofar@foo-projects.org>
7 Max Kellermann <max@foo-projects.org>
10 v2.0 - not yet released
11 - basic support for arptables and ebtables
14 v1.3.0 - not yet released
15 - reserve tokens starting with "@" as ferm keywords
16 - implemented conditionals with @if/@else
17 - added @include/@def/@subchain as alias to include/def/subchain
18 - redirect STDOUT into STDERR --shell mode; this way, iptables warnings
19 are separated from the ferm shell script output
20 - microperl compatiblity:
21 - don't require strict.pm / vars.pm
23 - added simple Getopt::Long emulation
24 - look for iptables in /usr/sbin, too
25 - added function @resolve which resolves host names to IPv4 addresses
29 - make --flush do something in fast mode (reported by Hans-Georg Bork)
30 - fix automatic protocol modules when used in an expanded array
31 (reported by Ralph Oesker)
35 - support netfilter modules:
37 * ipset (patch by Martin Schuster)
38 - ignore empty lines in backticks result (reported by Martin Klozik)
39 - the match module for protocol "icmpv6" is named "icmp6"
40 - implemented basic hooks (suggested by Joerg Jaspert)
46 - subchains may be named
47 - don't copy module references to subchain (patch by Alex Metelka)
48 - override variables on the command line with "--def"
49 - auto-load modules only when their parameters are used
51 * targets MIRROR, NETMAP, NFQUEUE, NOTRACK, QUEUE
56 * warn against using iptables 1.2 with import-ferm
57 * extended the transition section in the manpage
58 - support netfilter modules: account
59 - bugfix: don't clear variable value when used as parameter in
60 multiport/destination-ports (reported by Bill Goudie)
64 - bugfix: reset domains after all rules were parsed and don't forget to
65 reset a table; this bug only affects users who run ferm on a remote
67 - reset policy on all guessed built-in chains if no authoritative
68 information about built-in chains is available
69 - support netfilter modules: condition, fuzzy, hbh, hl, ipv6header, rt,
71 - extended module support
72 * ah now supports the IPv6 options
73 - added missing documentation
75 * match modules: dst, eui64, frag
76 - disabled array after ttl-lt, ttl-gt
77 - allow "length", "physdev", "tos" negation
78 - translate sports, dports to source-ports, destination-ports in import-ferm
79 - added the "--remote" option
83 - import-ferm runs iptables-save if no input file is provided
86 v1.2beta2 - 9 Sep 2006
88 - added --shell which generates a shell script
89 - don't check available netfilter modules
90 - read iptables-save in initialize_netfilter()
91 - option --location is deprecated, ferm now calls /sbin/iptables
92 - whitespace fix in import-ferm
93 - allow late chain/table specification again
94 - set a second alarm in the confirmation dialog
95 - enable rollback feature even in non-interactive mode
98 v1.2beta1 - 28 Aug 2006
100 - removed support for ipfwadm and ipchains
101 - get a list of netfilter table names from /proc/net/ip_tables_names
102 - error messages go to STDERR
103 - full support for the match extensions: recent, comment, conntrack,
104 addrtype, ah, owner, time, dscp, ecn, helper, iprange, iplimit, length,
105 multiport, physdev, policy, realm, tcpmss, dst, frag
106 - full support for the targets: BALANCE, CLASSIFY, CONNMARK, NETMAP, ROUTE,
107 SNAT, TARPIT, NFQUEUE, SAME, DSCP
108 - support the protocols: dccp, sctp
109 - implemented variables and functions with 'def'
110 * variables and functions are local to their containing block
111 - stricter syntax checks, e.g.:
112 * some built-in targets must be uppercase
113 * only one target is allowed
114 * target parameters are only recognized after the target name, protocol
115 parameters only after the protocol match etc.
116 * referenced variables must exist
117 * list item negation is not possible
118 * only ACCEPT and DROP are allowed as policy
119 * tables and chains must be specified first
121 * using a policy as default target for a rule
122 * target MASQ, use MASQUERADE instead
123 * lower-case built-in chain names and targets
124 * lists must be specified with parantheses and no commas (old syntax
125 is deprecated, but still supported)
126 * variables declared with 'set' and referenced with '%NAME'
127 * many shortcuts like 'mac' and 'tosrc'
128 * shortcuts without the dash like 'tcpflags' ('tcp-flags')
129 * "option iptables"; only iptables is supported
132 * policy within a rule declaration
133 - fixed the double-module bug
134 - show filename and line number in error message
135 - implemented the 'include' command
136 - more shortcuts for command line options
137 - better set-tos parameter parser
138 - reimplemented backticks
139 - reimplemented tokenizer and parser
140 - escape shell parameters
141 - warn about unused custom chains
143 - options --clearall, --createchains are implied and deprecated
144 - options --debug and --verbose are deprecated
145 - reset all policies to ACCEPT
146 - variables expansion happens within double quotes
147 - implemented automatic variables: $TABLE, $CHAIN
148 - IPv6/ip6tables support
150 - print line number when iptables reports an error
151 - write error messages to STDERR
152 - replaced the old samples with new ones
153 - check which match and target modules are available
154 - generate output iptables-save format when --fast is specified
155 - semi-automatic sub chains with the 'subchain' keyword
156 - support tcp-flags negation
157 - added interactive mode
161 - Removed 'mark' as possible target due to nameclash
162 - Fixed typo in tos values with missing space
163 - Added support for shell escapes
164 - Updated manual page
165 - Fixed bug with ! before variable lists
166 - Added support for multiple variables inside a value
167 - Changed variable character from '$' to '%' to allow system variables
168 - Split up the pod stuff from the ferm source
169 - Fixed word splitter to more a serious approach
170 - Removed internal proxy variable, replaced with 'to' and 'toports' for clearity
171 - Removed the 'relaxed' option, for it wasn't used at it's potential (once)
172 - Added location option for the meek
173 - Have ferm prescan input to look for the kernel program and location
174 - Modified $(DOCDIR) to /usr/share/doc/ferm
175 - Added debug (--debug or -d) parameter for even more output
176 - Added --length,ttl, ttl[set|inc|dec] and ttl-[eq|lt|gt],
177 --[every|counter|start|packet], --average, --pkt-type, --string
178 --time[start|stop] and --days, ip-limit-[above|mask]
179 --psd-[weight-threshold|delay-threshold|[lo|hi]-ports-weight]
180 --to-[source|ports|destination], --set-ftos
181 - Added BALANCE, FTOS, SAME, TCPMSS targets and more
182 - Fixed bug on log/goto combination (missing space) -debian bugs
183 - Allow lists in set statements -debian bugs
184 - Added several patches from misc sources (thanks everyone)
185 - Cleaned up order of builtin targets (now alphabetically ordered)
188 v1.0pl8 - 13 july 2001
189 - Fixed nonexistent parameter values for log-[ip|tcp]-...
190 - Made keyword pattern matching strict, better for finding typo's
191 - Added NOP action (for match-counting)
192 - Added option automodule for automaticly loading correct modules
193 - Fixed -m for mark in iptables mixo
194 - Fixed relaxed matching tos values, still relaxed now though
195 - Fixed mark missing as normal target
196 - Added variable support
197 - Updated manual page partly
200 v1.0pl7 - 21 may 2001
201 - Added support for multiple modules
204 v1.0pl6 - 19 may 2001
205 - Fixed wrongly flushing of chains
206 - Fixed bug which infected policies already set
207 - Updated manual to distinguish between 'log' and 'LOG'
208 - Fixed lower case mismatching targets due to faulty
209 substring expression matching
212 v1.0pl5 - 16 may 2001
213 - Fixed policy keyword bug
214 - Added consistency check for missing semicolons before
216 - Fixed flushall target for multiple tables
217 - Reworked policy system to allow multiple policy settings for
219 - Changed syntax to allow "--state A,B", adapted "--tcp-flags"
220 syntax to do exactly the same (see manual)
223 v1.0pl4 - 11 may 2001
224 - Fixed order of TOS targets/params for iptables
225 - Added correct flushing in combination with policy-setting only
226 - Stripped trailing spaces on rule
227 - Fixed a small grammar error in description
228 - Removed SNAT and DNAT as valid policy targets
229 - Added QUEUE, MARK, MIRROR and RETURN as valid (policy) targets
230 - Added PRE/POSTROUTING chains as valid for policy
231 - Added set-mark parameter, moved 'mark' in ipchains to 'setmark'
232 - Added MASQUERADE <port/range> syntax for iptables
236 - Fixed DENY rule appearing uncapitalized
240 - Added support for SNAT and DNAT targets
241 - Added support for the tcp-flags option
245 - Fixed redirection to host vs port in iptables section
246 - Fixed chain clearing in all tables
247 - Switched to Makefiles for install & uninstall script
251 - Fixed iptables addr/port combination errors (iptables lacks
252 ipchains shorthand method for this)
253 - Removed 'reverse' for iptables (misses capability)
254 - Added filter and nat cleaning for 'clearall' option
255 - Major update on chain-administration in iptables
258 v0.0.18 - 18 Apr 2001
259 - Fixed two minor bugs (typo/parm ordering)
260 - Added ttl-* options for iptables
261 - Fixed log-tcp-*, which don't want parameters
262 - Return of default kernel program, now checked for at first rule
263 generation moment. Default is ipchains (again)
264 - Added PRE- and POSTROUTING targets for iptables
267 v0.0.17 - 19 Feb 2001
268 - Added better literal string handling enclosed in quotes
269 - Added "module" parameter for iptables
270 - Added "LOG" target for iptables, the "log" option still works
271 the old way, so "proto tcp log ACCEPT;" works fine
272 - Fixed table parameter in clearing/policy/creation of chains
273 - Added a special iptables example
274 - Added support for "! syn" and "! fragment" syntax
275 - Fixed fragment parameter bug
278 v0.0.16 - 12 Feb 2001
279 - Fixed default ipchains option- removed the default kernel
281 - Fixed 5 iptables/ipchains copy-paste typo's
285 - Added possibility of "" parameters including spaces and special
286 characters, handy for 'log-prefix'
287 - Fixed minor 'rejectt' bug
288 - Added a realistic ferm config example
289 - Fixed iptables log error (Klaus Lichtenwalder)
292 v0.0.14 - 28 Jan 2001
293 - Fixed tos and set-tos parameter switches for iptables
294 - Added install script
295 - Updated manual page to reflect changes in 0.0.13
296 - Fixed flushing/clearing in iptables
299 v0.0.13 - 10 Jan 2001
300 - Improved iptables support: the following parameters:
301 * table, out-interface, tcp-option, mac-source, limit, limit-burst,
302 all owner-parameters, state, logging options, reject-with
303 - Changed 'tos' into 'settos' to allow 'tos' matching in iptables
304 - Implemented the ! operator, partly by John Auer
308 - Fixed an incredibly stupid bug created in 0.0.11
312 - Fixed a lot of silly bugs with the policy system (uc/lc, wrong
318 - Policy can now be specified as a single statement, like
319 "chain input policy ACCEPT;", allowing policies to be
320 shut down and opened in the process of loading
321 - Added the 'reverse' option
322 - Fixed fqdn specification (Yannick Le Briquer)
323 - Package contains man page in html
327 - REDIRECT option corrected, you can now specify the port number
328 that you are redirecting to (D. Bidwell)
329 - Added basic iptables support
330 - fixed typo error between 's' and 'd' for portspec
331 - Updated manual page
335 - initial release, features: