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