4 version history for ferm
6 Max Kellermann <max@foo-projects.org>
7 Auke Kok <sofar@foo-projects.org>
10 v2.0.4 - not yet released
14 - create chains and subchains even if they are empty
15 - fix includes within a rule ("Missing semicolon...")
16 - fix subchain in include ("Died at [...] line 1493")
17 - "protocol" is an alias for "proto", to fix the keyword conflict with
22 - allow duplicate specification of "table" and "chain", for better
23 1.3.x compatibility. Support for this will be removed in a later
24 release. This does not apply to "domain".
28 - generate "COMMIT" lines when flushing in fast mode
29 - don't hard-code the path of iptables-save
30 - install manpages in PREFIX/share/man
34 - don't hard code built-in match modules
35 - support for arptables and ebtables
36 - removed support for deprecated ferm 1.1 syntax
37 - removed the "set" and the "option" keyword
38 - removed support for array-in-string
39 - cleared the deprecated keyword translation table
40 - removed TOS parameter shortcuts
41 - don't default to policy if no action is specified
42 - don't allow lower case built-in chain or policy names
43 - removed --automod, --use, --clearall, --flushall, --flushchains,
44 --createchains, --location, --debug, --verbose
45 - comma in array is forbidden
46 - removed "source" and "destination" as prefix for "addr" and "port"
47 - don't allow match rules before and after "policy"
48 - removed support for deprecated netfilter modules
52 - rewrote the internal rule storage
53 - honor the order of match modules
55 - use module data from ferm
56 - write policy in chain block
57 - do not generate implicit protocol modules
58 - do not allow targets options after "jump"
59 - fixed rollback when there is no iptables-save
60 - enable fast mode by default, can be disabled with --slow
64 - don't ignore unknown keywords after target (reported by Kai
66 - don't include hidden files (reported by Florian Reitmeir)
70 - fixed single quote escaping
71 - escape empty strings
72 - reset module list after semicolon handler (reported by Ralph Oesker)
73 - import-ferm: ignore the position of the negation marker; this allows us
74 to parse invalid save files generated by iptables-save (reported by
76 - fixed REDIRECT example in the manual
80 - updated netfilter modules:
81 * recent: support --rsource, --rdest
82 * time: support --monthday, --weekdays, --utc, --localtz
83 * u32: suport negated --u3
84 * DNAT: support --random
85 * MARK: support --set-xmark, --and-mark, --or-mark, --xor-mark
86 * MASQUERADE: support --random
87 * REDIRECT: support --random
88 * SNAT: support --random
89 * TOS: support --and-tos, --or-tos, --xor-tos
90 - check if chain was specified before @subchain
91 - suppress "not declared" warnings on empty custom chains
95 - bugfix: emit "--proto" instead of "--protocol" for xt_policy "proto"
96 - bugfix: handle array after DNAT/to-destination correctly
97 - target options cannot have arrays by default
98 - support netfilter modules:
101 - support netfilter targets:
102 * CLASSIFY (documentation)
105 * SAME (--random, documentation)
109 - require IO::Handle, this fixes the interactive mode
110 - configure test mode properly when running on microperl
114 - reserve tokens starting with "@" as ferm keywords
115 - implemented conditionals with @if/@else
116 - added @include/@def/@subchain as alias to include/def/subchain
117 - redirect STDOUT into STDERR --shell mode; this way, iptables warnings
118 are separated from the ferm shell script output
119 - microperl compatiblity:
120 - don't require strict.pm / vars.pm
122 - added simple Getopt::Long emulation
123 - look for iptables in PATH
124 - added function @resolve which resolves host names to IPv4 addresses
125 - import-ferm supports ip6tables-save files
126 - support "proto icmp" in the ip6 domain
127 - make "goto" deprecated to remap it to "--goto" later
128 - implemented "--goto" support, keyword is "realgoto"
129 - don't default to policy if rule action is missing
130 - support protocol modules
132 * udplite (sport, dport, mod multiport)
133 - support netfilter modules:
137 - support netfilter targets:
140 - abort when there is an unrecognized command line option (reported by
142 - import-ferm: don't generate NOP action before a block
143 - import-ferm: quote array values
144 - quote the ampersand
148 - make --flush do something in fast mode (reported by Hans-Georg Bork)
149 - fix automatic protocol modules when used in an expanded array
150 (reported by Ralph Oesker)
154 - support netfilter modules:
156 * ipset (patch by Martin Schuster)
157 - ignore empty lines in backticks result (reported by Martin Klozik)
158 - the match module for protocol "icmpv6" is named "icmp6"
159 - implemented basic hooks (suggested by Joerg Jaspert)
165 - subchains may be named
166 - don't copy module references to subchain (patch by Alex Metelka)
167 - override variables on the command line with "--def"
168 - auto-load modules only when their parameters are used
170 * targets MIRROR, NETMAP, NFQUEUE, NOTRACK, QUEUE
175 * warn against using iptables 1.2 with import-ferm
176 * extended the transition section in the manpage
177 - support netfilter modules: account
178 - bugfix: don't clear variable value when used as parameter in
179 multiport/destination-ports (reported by Bill Goudie)
183 - bugfix: reset domains after all rules were parsed and don't forget to
184 reset a table; this bug only affects users who run ferm on a remote
186 - reset policy on all guessed built-in chains if no authoritative
187 information about built-in chains is available
188 - support netfilter modules: condition, fuzzy, hbh, hl, ipv6header, rt,
190 - extended module support
191 * ah now supports the IPv6 options
192 - added missing documentation
194 * match modules: dst, eui64, frag
195 - disabled array after ttl-lt, ttl-gt
196 - allow "length", "physdev", "tos" negation
197 - translate sports, dports to source-ports, destination-ports in import-ferm
198 - added the "--remote" option
202 - import-ferm runs iptables-save if no input file is provided
205 v1.2beta2 - 9 Sep 2006
207 - added --shell which generates a shell script
208 - don't check available netfilter modules
209 - read iptables-save in initialize_netfilter()
210 - option --location is deprecated, ferm now calls /sbin/iptables
211 - whitespace fix in import-ferm
212 - allow late chain/table specification again
213 - set a second alarm in the confirmation dialog
214 - enable rollback feature even in non-interactive mode
217 v1.2beta1 - 28 Aug 2006
219 - removed support for ipfwadm and ipchains
220 - get a list of netfilter table names from /proc/net/ip_tables_names
221 - error messages go to STDERR
222 - full support for the match extensions: recent, comment, conntrack,
223 addrtype, ah, owner, time, dscp, ecn, helper, iprange, iplimit, length,
224 multiport, physdev, policy, realm, tcpmss, dst, frag
225 - full support for the targets: BALANCE, CLASSIFY, CONNMARK, NETMAP, ROUTE,
226 SNAT, TARPIT, NFQUEUE, SAME, DSCP
227 - support the protocols: dccp, sctp
228 - implemented variables and functions with 'def'
229 * variables and functions are local to their containing block
230 - stricter syntax checks, e.g.:
231 * some built-in targets must be uppercase
232 * only one target is allowed
233 * target parameters are only recognized after the target name, protocol
234 parameters only after the protocol match etc.
235 * referenced variables must exist
236 * list item negation is not possible
237 * only ACCEPT and DROP are allowed as policy
238 * tables and chains must be specified first
240 * using a policy as default target for a rule
241 * target MASQ, use MASQUERADE instead
242 * lower-case built-in chain names and targets
243 * lists must be specified with parantheses and no commas (old syntax
244 is deprecated, but still supported)
245 * variables declared with 'set' and referenced with '%NAME'
246 * many shortcuts like 'mac' and 'tosrc'
247 * shortcuts without the dash like 'tcpflags' ('tcp-flags')
248 * "option iptables"; only iptables is supported
251 * policy within a rule declaration
252 - fixed the double-module bug
253 - show filename and line number in error message
254 - implemented the 'include' command
255 - more shortcuts for command line options
256 - better set-tos parameter parser
257 - reimplemented backticks
258 - reimplemented tokenizer and parser
259 - escape shell parameters
260 - warn about unused custom chains
262 - options --clearall, --createchains are implied and deprecated
263 - options --debug and --verbose are deprecated
264 - reset all policies to ACCEPT
265 - variables expansion happens within double quotes
266 - implemented automatic variables: $TABLE, $CHAIN
267 - IPv6/ip6tables support
269 - print line number when iptables reports an error
270 - write error messages to STDERR
271 - replaced the old samples with new ones
272 - check which match and target modules are available
273 - generate output iptables-save format when --fast is specified
274 - semi-automatic sub chains with the 'subchain' keyword
275 - support tcp-flags negation
276 - added interactive mode
280 - Removed 'mark' as possible target due to nameclash
281 - Fixed typo in tos values with missing space
282 - Added support for shell escapes
283 - Updated manual page
284 - Fixed bug with ! before variable lists
285 - Added support for multiple variables inside a value
286 - Changed variable character from '$' to '%' to allow system variables
287 - Split up the pod stuff from the ferm source
288 - Fixed word splitter to more a serious approach
289 - Removed internal proxy variable, replaced with 'to' and 'toports' for clearity
290 - Removed the 'relaxed' option, for it wasn't used at it's potential (once)
291 - Added location option for the meek
292 - Have ferm prescan input to look for the kernel program and location
293 - Modified $(DOCDIR) to /usr/share/doc/ferm
294 - Added debug (--debug or -d) parameter for even more output
295 - Added --length,ttl, ttl[set|inc|dec] and ttl-[eq|lt|gt],
296 --[every|counter|start|packet], --average, --pkt-type, --string
297 --time[start|stop] and --days, ip-limit-[above|mask]
298 --psd-[weight-threshold|delay-threshold|[lo|hi]-ports-weight]
299 --to-[source|ports|destination], --set-ftos
300 - Added BALANCE, FTOS, SAME, TCPMSS targets and more
301 - Fixed bug on log/goto combination (missing space) -debian bugs
302 - Allow lists in set statements -debian bugs
303 - Added several patches from misc sources (thanks everyone)
304 - Cleaned up order of builtin targets (now alphabetically ordered)
307 v1.0pl8 - 13 july 2001
308 - Fixed nonexistent parameter values for log-[ip|tcp]-...
309 - Made keyword pattern matching strict, better for finding typo's
310 - Added NOP action (for match-counting)
311 - Added option automodule for automaticly loading correct modules
312 - Fixed -m for mark in iptables mixo
313 - Fixed relaxed matching tos values, still relaxed now though
314 - Fixed mark missing as normal target
315 - Added variable support
316 - Updated manual page partly
319 v1.0pl7 - 21 may 2001
320 - Added support for multiple modules
323 v1.0pl6 - 19 may 2001
324 - Fixed wrongly flushing of chains
325 - Fixed bug which infected policies already set
326 - Updated manual to distinguish between 'log' and 'LOG'
327 - Fixed lower case mismatching targets due to faulty
328 substring expression matching
331 v1.0pl5 - 16 may 2001
332 - Fixed policy keyword bug
333 - Added consistency check for missing semicolons before
335 - Fixed flushall target for multiple tables
336 - Reworked policy system to allow multiple policy settings for
338 - Changed syntax to allow "--state A,B", adapted "--tcp-flags"
339 syntax to do exactly the same (see manual)
342 v1.0pl4 - 11 may 2001
343 - Fixed order of TOS targets/params for iptables
344 - Added correct flushing in combination with policy-setting only
345 - Stripped trailing spaces on rule
346 - Fixed a small grammar error in description
347 - Removed SNAT and DNAT as valid policy targets
348 - Added QUEUE, MARK, MIRROR and RETURN as valid (policy) targets
349 - Added PRE/POSTROUTING chains as valid for policy
350 - Added set-mark parameter, moved 'mark' in ipchains to 'setmark'
351 - Added MASQUERADE <port/range> syntax for iptables
355 - Fixed DENY rule appearing uncapitalized
359 - Added support for SNAT and DNAT targets
360 - Added support for the tcp-flags option
364 - Fixed redirection to host vs port in iptables section
365 - Fixed chain clearing in all tables
366 - Switched to Makefiles for install & uninstall script
370 - Fixed iptables addr/port combination errors (iptables lacks
371 ipchains shorthand method for this)
372 - Removed 'reverse' for iptables (misses capability)
373 - Added filter and nat cleaning for 'clearall' option
374 - Major update on chain-administration in iptables
377 v0.0.18 - 18 Apr 2001
378 - Fixed two minor bugs (typo/parm ordering)
379 - Added ttl-* options for iptables
380 - Fixed log-tcp-*, which don't want parameters
381 - Return of default kernel program, now checked for at first rule
382 generation moment. Default is ipchains (again)
383 - Added PRE- and POSTROUTING targets for iptables
386 v0.0.17 - 19 Feb 2001
387 - Added better literal string handling enclosed in quotes
388 - Added "module" parameter for iptables
389 - Added "LOG" target for iptables, the "log" option still works
390 the old way, so "proto tcp log ACCEPT;" works fine
391 - Fixed table parameter in clearing/policy/creation of chains
392 - Added a special iptables example
393 - Added support for "! syn" and "! fragment" syntax
394 - Fixed fragment parameter bug
397 v0.0.16 - 12 Feb 2001
398 - Fixed default ipchains option- removed the default kernel
400 - Fixed 5 iptables/ipchains copy-paste typo's
404 - Added possibility of "" parameters including spaces and special
405 characters, handy for 'log-prefix'
406 - Fixed minor 'rejectt' bug
407 - Added a realistic ferm config example
408 - Fixed iptables log error (Klaus Lichtenwalder)
411 v0.0.14 - 28 Jan 2001
412 - Fixed tos and set-tos parameter switches for iptables
413 - Added install script
414 - Updated manual page to reflect changes in 0.0.13
415 - Fixed flushing/clearing in iptables
418 v0.0.13 - 10 Jan 2001
419 - Improved iptables support: the following parameters:
420 * table, out-interface, tcp-option, mac-source, limit, limit-burst,
421 all owner-parameters, state, logging options, reject-with
422 - Changed 'tos' into 'settos' to allow 'tos' matching in iptables
423 - Implemented the ! operator, partly by John Auer
427 - Fixed an incredibly stupid bug created in 0.0.11
431 - Fixed a lot of silly bugs with the policy system (uc/lc, wrong
437 - Policy can now be specified as a single statement, like
438 "chain input policy ACCEPT;", allowing policies to be
439 shut down and opened in the process of loading
440 - Added the 'reverse' option
441 - Fixed fqdn specification (Yannick Le Briquer)
442 - Package contains man page in html
446 - REDIRECT option corrected, you can now specify the port number
447 that you are redirecting to (D. Bidwell)
448 - Added basic iptables support
449 - fixed typo error between 's' and 'd' for portspec
450 - Updated manual page
454 - initial release, features: