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