release v2.0.6
[ferm.git] / NEWS
blob13d332a2fa9a65ca8fabc6abffa1a20afd52590c
2     CHANGES
4     version history for ferm
6     Max Kellermann <max@foo-projects.org>
7     Auke Kok <sofar@foo-projects.org>
10 v2.0.6 - 18 Jul 2009
11   - support negation in mark/connmark
12   - support negation in set
13   - added automatic variable $FILENAME
14   - allow @subchain as the first keyword in a closure
15   - don't allow semicolon after empty rule
16   - enable @include to run a program
17   - removed superfluous tokens from error message
18   - create a new stack frame for @subchain (fixes $CHAIN)
21 v2.0.5 - 28 Feb 2009
22   - detect double negation
23   - improved detection of negated arrays
24   - ignore dpkg's backup/temporary files on @include
25   - renamed "hook" to "@hook"
26   - disable "pre" and "post" hooks with --flush
27   - added "flush" hooks
30 v2.0.4 - 2 Dec 2008
31   - enable policy-only domains (no rules, just policy declarations)
32   - don't list custom chains in --flush --fast mode
35 v2.0.3 - 30 Sep 2008
36   - create chains and subchains even if they are empty
37   - fix includes within a rule ("Missing semicolon...")
38   - fix subchain in include ("Died at [...] line 1493")
39   - "protocol" is an alias for "proto", to fix the keyword conflict with
40     the "policy" module
43 v2.0.2 - 26 Jul 2008
44   - allow duplicate specification of "table" and "chain", for better
45     1.3.x compatibility.  Support for this will be removed in a later
46     release.  This does not apply to "domain".
49 v2.0.1 - 24 Jul 2008
50   - generate "COMMIT" lines when flushing in fast mode
51   - don't hard-code the path of iptables-save
52   - install manpages in PREFIX/share/man
55 v2.0 - 22 Jul 2008
56   - don't hard code built-in match modules
57   - support for arptables and ebtables
58   - removed support for deprecated ferm 1.1 syntax
59     - removed the "set" and the "option" keyword
60     - removed support for array-in-string
61     - cleared the deprecated keyword translation table
62     - removed TOS parameter shortcuts
63     - don't default to policy if no action is specified
64     - don't allow lower case built-in chain or policy names
65     - removed --automod, --use, --clearall, --flushall, --flushchains,
66       --createchains, --location, --debug, --verbose
67     - comma in array is forbidden
68     - removed "source" and "destination" as prefix for "addr" and "port" 
69   - don't allow match rules before and after "policy"
70   - removed support for deprecated netfilter modules
71     - dst
72     - frag
73     - iplimit
74   - rewrote the internal rule storage
75     - honor the order of match modules
76   - import-ferm rewrite
77     - use module data from ferm
78     - write policy in chain block
79   - do not generate implicit protocol modules
80   - do not allow targets options after "jump"
81   - fixed rollback when there is no iptables-save
82   - enable fast mode by default, can be disabled with --slow
85 v1.3.5 - 21 Jul 2008
86   - don't ignore unknown keywords after target (reported by Kai
87     Sassmannshausen)
88   - don't include hidden files (reported by Florian Reitmeir)
91 v1.3.4 - 28 May 2008
92   - fixed single quote escaping
93   - escape empty strings
94   - reset module list after semicolon handler (reported by Ralph Oesker)
95   - import-ferm: ignore the position of the negation marker; this allows us
96     to parse invalid save files generated by iptables-save (reported by
97     Andri Moell)
98   - fixed REDIRECT example in the manual
101 v1.3.3 - 22 Jan 2008
102   - updated netfilter modules:
103     * recent: support --rsource, --rdest
104     * time: support --monthday, --weekdays, --utc, --localtz
105     * u32: suport negated --u3
106     * DNAT: support --random
107     * MARK: support --set-xmark, --and-mark, --or-mark, --xor-mark
108     * MASQUERADE: support --random
109     * REDIRECT: support --random
110     * SNAT: support --random
111     * TOS: support --and-tos, --or-tos, --xor-tos
112   - check if chain was specified before @subchain
113   - suppress "not declared" warnings on empty custom chains
116 v1.3.2 - 19 Dec 2007
117   - bugfix: emit "--proto" instead of "--protocol" for xt_policy "proto"
118   - bugfix: handle array after DNAT/to-destination correctly
119   - target options cannot have arrays by default
120   - support netfilter modules:
121     * ipv4options
122     * string
123   - support netfilter targets:
124     * CLASSIFY (documentation)
125     * CLUSTERIP
126     * IPV4OPTSSTRIP
127     * SAME (--random, documentation)
130 v1.3.1 - 9 Dec 2007
131   - require IO::Handle, this fixes the interactive mode
132   - configure test mode properly when running on microperl
135 v1.3 - 6 Dec 2007
136   - reserve tokens starting with "@" as ferm keywords
137   - implemented conditionals with @if/@else
138   - added @include/@def/@subchain as alias to include/def/subchain
139   - redirect STDOUT into STDERR --shell mode; this way, iptables warnings
140     are separated from the ferm shell script output
141   - microperl compatiblity:
142     - don't require strict.pm / vars.pm
143     - don't use IO::File
144     - added simple Getopt::Long emulation
145   - look for iptables in PATH
146   - added function @resolve which resolves host names to IPv4 addresses
147   - import-ferm supports ip6tables-save files
148   - support "proto icmp" in the ip6 domain
149   - make "goto" deprecated to remap it to "--goto" later
150   - implemented "--goto" support, keyword is "realgoto"
151   - don't default to policy if rule action is missing
152   - support protocol modules
153     * mh
154     * udplite (sport, dport, mod multiport)
155   - support netfilter modules:
156     * connbytes
157     * connlimit
158     * u32
159   - support netfilter targets:
160     * CONNSECMARK
161     * SECMARK
162   - abort when there is an unrecognized command line option (reported by
163     Han Holl)
164   - import-ferm: don't generate NOP action before a block
165   - import-ferm: quote array values
166   - quote the ampersand
169 v1.2.5 - 14 Oct 2007
170   - make --flush do something in fast mode (reported by Hans-Georg Bork)
171   - fix automatic protocol modules when used in an expanded array
172     (reported by Ralph Oesker)
175 v1.2.4 - 24 May 2007
176   - support netfilter modules:
177     * hashlimit
178     * ipset (patch by Martin Schuster)
179   - ignore empty lines in backticks result (reported by Martin Klozik)
180   - the match module for protocol "icmpv6" is named "icmp6"
181   - implemented basic hooks (suggested by Joerg Jaspert)
182   - documentation:
183     * targets CONNMARK
186 v1.2.3 - 14 Feb 2007
187   - subchains may be named
188   - don't copy module references to subchain (patch by Alex Metelka)
189   - override variables on the command line with "--def"
190   - auto-load modules only when their parameters are used
191   - documentation:
192     * targets MIRROR, NETMAP, NFQUEUE, NOTRACK, QUEUE
195 v1.2.2 - 15 Nov 2006
196   - documentation:
197     * warn against using iptables 1.2 with import-ferm
198     * extended the transition section in the manpage
199   - support netfilter modules: account
200   - bugfix: don't clear variable value when used as parameter in
201     multiport/destination-ports (reported by Bill Goudie)
204 v1.2.1 - 25 Sep 2006
205   - bugfix: reset domains after all rules were parsed and don't forget to
206     reset a table; this bug only affects users who run ferm on a remote
207     machine
208   - reset policy on all guessed built-in chains if no authoritative
209     information about built-in chains is available
210   - support netfilter modules: condition, fuzzy, hbh, hl, ipv6header, rt,
211     quota, HL
212   - extended module support
213     * ah now supports the IPv6 options
214   - added missing documentation
215     * target ECN
216     * match modules: dst, eui64, frag
217   - disabled array after ttl-lt, ttl-gt
218   - allow "length", "physdev", "tos" negation
219   - translate sports, dports to source-ports, destination-ports in import-ferm
220   - added the "--remote" option
223 v1.2 - 13 Sep 2006
224   - import-ferm runs iptables-save if no input file is provided
227 v1.2beta2 - 9 Sep 2006
228   - added --flush
229   - added --shell which generates a shell script
230   - don't check available netfilter modules
231   - read iptables-save in initialize_netfilter()
232   - option --location is deprecated, ferm now calls /sbin/iptables
233   - whitespace fix in import-ferm
234   - allow late chain/table specification again
235   - set a second alarm in the confirmation dialog
236   - enable rollback feature even in non-interactive mode
239 v1.2beta1 - 28 Aug 2006
240   - perl strict mode
241   - removed support for ipfwadm and ipchains
242   - get a list of netfilter table names from /proc/net/ip_tables_names
243   - error messages go to STDERR
244   - full support for the match extensions: recent, comment, conntrack,
245     addrtype, ah, owner, time, dscp, ecn, helper, iprange, iplimit, length,
246     multiport, physdev, policy, realm, tcpmss, dst, frag
247   - full support for the targets: BALANCE, CLASSIFY, CONNMARK, NETMAP, ROUTE,
248     SNAT, TARPIT, NFQUEUE, SAME, DSCP
249   - support the protocols: dccp, sctp
250   - implemented variables and functions with 'def'
251     * variables and functions are local to their containing block
252   - stricter syntax checks, e.g.:
253     * some built-in targets must be uppercase
254     * only one target is allowed
255     * target parameters are only recognized after the target name, protocol
256       parameters only after the protocol match etc.
257     * referenced variables must exist
258     * list item negation is not possible
259     * only ACCEPT and DROP are allowed as policy
260     * tables and chains must be specified first
261   - deprecated syntax:
262     * using a policy as default target for a rule
263     * target MASQ, use MASQUERADE instead
264     * lower-case built-in chain names and targets
265     * lists must be specified with parantheses and no commas (old syntax
266       is deprecated, but still supported)
267     * variables declared with 'set' and referenced with '%NAME'
268     * many shortcuts like 'mac' and 'tosrc'
269     * shortcuts without the dash like 'tcpflags' ('tcp-flags')
270     * "option iptables"; only iptables is supported
271     * source/destination
272     * option automod
273     * policy within a rule declaration
274   - fixed the double-module bug
275   - show filename and line number in error message
276   - implemented the 'include' command
277   - more shortcuts for command line options
278   - better set-tos parameter parser
279   - reimplemented backticks
280   - reimplemented tokenizer and parser
281   - escape shell parameters
282   - warn about unused custom chains
283   - ignore empty rules
284   - options --clearall, --createchains are implied and deprecated
285   - options --debug and --verbose are deprecated
286   - reset all policies to ACCEPT
287   - variables expansion happens within double quotes
288   - implemented automatic variables: $TABLE, $CHAIN
289   - IPv6/ip6tables support
290   - raw table support
291   - print line number when iptables reports an error
292   - write error messages to STDERR
293   - replaced the old samples with new ones
294   - check which match and target modules are available
295   - generate output iptables-save format when --fast is specified
296   - semi-automatic sub chains with the 'subchain' keyword
297   - support tcp-flags negation
298   - added interactive mode
301 v1.1 - 5 May 2003
302   - Removed 'mark' as possible target due to nameclash
303   - Fixed typo in tos values with missing space
304   - Added support for shell escapes
305   - Updated manual page
306   - Fixed bug with ! before variable lists
307   - Added support for multiple variables inside a value
308   - Changed variable character from '$' to '%' to allow system variables
309   - Split up the pod stuff from the ferm source
310   - Fixed word splitter to more a serious approach
311   - Removed internal proxy variable, replaced with 'to' and 'toports' for clearity
312   - Removed the 'relaxed' option, for it wasn't used at it's potential (once)
313   - Added location option for the meek
314   - Have ferm prescan input to look for the kernel program and location
315   - Modified $(DOCDIR) to /usr/share/doc/ferm
316   - Added debug (--debug or -d) parameter for even more output
317   - Added --length,ttl, ttl[set|inc|dec] and ttl-[eq|lt|gt],
318     --[every|counter|start|packet], --average, --pkt-type, --string
319     --time[start|stop] and --days, ip-limit-[above|mask]
320     --psd-[weight-threshold|delay-threshold|[lo|hi]-ports-weight]
321     --to-[source|ports|destination], --set-ftos 
322   - Added BALANCE, FTOS, SAME, TCPMSS targets and more
323   - Fixed bug on log/goto combination (missing space) -debian bugs
324   - Allow lists in set statements -debian bugs
325   - Added several patches from misc sources (thanks everyone)
326   - Cleaned up order of builtin targets (now alphabetically ordered)
329 v1.0pl8 - 13 july 2001
330   - Fixed nonexistent parameter values for log-[ip|tcp]-...
331   - Made keyword pattern matching strict, better for finding typo's
332   - Added NOP action (for match-counting)
333   - Added option automodule for automaticly loading correct modules
334   - Fixed -m for mark in iptables mixo
335   - Fixed relaxed matching tos values, still relaxed now though
336   - Fixed mark missing as normal target
337   - Added variable support
338   - Updated manual page partly
341 v1.0pl7 - 21 may 2001
342   - Added support for multiple modules
345 v1.0pl6 - 19 may 2001
346   - Fixed wrongly flushing of chains
347   - Fixed bug which infected policies already set
348   - Updated manual to distinguish between 'log' and 'LOG'
349   - Fixed lower case mismatching targets due to faulty
350     substring expression matching
351    
353 v1.0pl5 - 16 may 2001
354   - Fixed policy keyword bug
355   - Added consistency check for missing semicolons before
356     section closing
357   - Fixed flushall target for multiple tables
358   - Reworked policy system to allow multiple policy settings for
359     single chains
360   - Changed syntax to allow "--state A,B", adapted "--tcp-flags"
361     syntax to do exactly the same (see manual)
364 v1.0pl4 - 11 may 2001
365   - Fixed order of TOS targets/params for iptables
366   - Added correct flushing in combination with policy-setting only
367   - Stripped trailing spaces on rule
368   - Fixed a small grammar error in description
369   - Removed SNAT and DNAT as valid policy targets
370   - Added QUEUE, MARK, MIRROR and RETURN as valid (policy) targets
371   - Added PRE/POSTROUTING chains as valid for policy
372   - Added set-mark parameter, moved 'mark' in ipchains to 'setmark'
373   - Added MASQUERADE <port/range> syntax for iptables
376 v1.0pl3 - 9 may 2001
377   - Fixed DENY rule appearing uncapitalized
380 v1.0pl2 - 8 may 2001
381   - Added support for SNAT and DNAT targets
382   - Added support for the tcp-flags option
385 v1.0pl1 - 3 May 2001
386   - Fixed redirection to host vs port in iptables section
387   - Fixed chain clearing in all tables
388   - Switched to Makefiles for install & uninstall script
391 v1.0 - 2 May 2001
392   - Fixed iptables addr/port combination errors (iptables lacks
393     ipchains shorthand method for this)
394   - Removed 'reverse' for iptables (misses capability)
395   - Added filter and nat cleaning for 'clearall' option
396   - Major update on chain-administration in iptables
399 v0.0.18 - 18 Apr 2001
400   - Fixed two minor bugs (typo/parm ordering)
401   - Added ttl-* options for iptables
402   - Fixed log-tcp-*, which don't want parameters
403   - Return of default kernel program, now checked for at first rule
404     generation moment. Default is ipchains (again)
405   - Added PRE- and POSTROUTING targets for iptables
408 v0.0.17 - 19 Feb 2001
409   - Added better literal string handling enclosed in quotes
410   - Added "module" parameter for iptables
411   - Added "LOG" target for iptables, the "log" option still works
412     the old way, so "proto tcp log ACCEPT;" works fine
413   - Fixed table parameter in clearing/policy/creation of chains
414   - Added a special iptables example
415   - Added support for "! syn" and "! fragment" syntax
416   - Fixed fragment parameter bug
419 v0.0.16 - 12 Feb 2001
420   - Fixed default ipchains option- removed the default kernel
421     interface program
422   - Fixed 5 iptables/ipchains copy-paste typo's
425 v0.0.15 - 7 Feb 2001
426   - Added possibility of "" parameters including spaces and special
427     characters, handy for 'log-prefix'
428   - Fixed minor 'rejectt' bug
429   - Added a realistic ferm config example
430   - Fixed iptables log error (Klaus Lichtenwalder)
433 v0.0.14 - 28 Jan 2001
434   - Fixed tos and set-tos parameter switches for iptables
435   - Added install script
436   - Updated manual page to reflect changes in 0.0.13
437   - Fixed flushing/clearing in iptables
440 v0.0.13 - 10 Jan 2001
441   - Improved iptables support: the following parameters:
442     * table, out-interface, tcp-option, mac-source, limit, limit-burst,
443      all owner-parameters, state, logging options, reject-with
444   - Changed 'tos' into 'settos' to allow 'tos' matching in iptables
445   - Implemented the ! operator, partly by John Auer
448 v0.0.12 - 8 Jan 2001
449   - Fixed an incredibly stupid bug created in 0.0.11
452 v0.0.11 - 5 Jan 2001
453   - Fixed a lot of silly bugs with the policy system (uc/lc, wrong
454     targets)
455   - Allows empty files
458 v0.0.10 - 4 Jan 2001
459   - Policy can now be specified as a single statement, like
460     "chain input policy ACCEPT;", allowing policies to be
461     shut down and opened in the process of loading
462   - Added the 'reverse' option
463   - Fixed fqdn specification (Yannick Le Briquer)
464   - Package contains man page in html
467 v0.0.9 - 14 Dec 2000
468   - REDIRECT option corrected, you can now specify the port number
469     that you are redirecting to (D. Bidwell)
470   - Added basic iptables support
471   - fixed typo error between 's' and 'd' for portspec
472   - Updated manual page
475 v0.0.8 - 12 Dec 2000
476   - initial release, features:
477     * ipchains support
478     * ipfwadm support
479     * complete man page
480     * examples