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