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