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