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