Skip to content

Commit b2ff184

Browse files
author
arnova
committed
added: Initial import of the 1.9-branch
git-svn-id: https://rocky.eld.leidenuniv.nl/svn/aif/1.9@1 2cdb06df-4b6c-47a8-a790-b77aef9f425a
0 parents  commit b2ff184

File tree

69 files changed

+14198
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+14198
-0
lines changed

CHANGELOG

+276
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
Version 1.9.2e-DEVEL (September 2, 2009)
2+
--------------------------------
3+
* We should explicitly enable net.netfilter.nf_conntrack_acct for kernel 2.6.27+
4+
to allow the use of traffic accounting and such (thank Lonnie)
5+
6+
Version 1.9.2d (August 24, 2009)
7+
--------------------------------
8+
* Renamed module_probe() to modprobe() and added deprecation warning
9+
+ Updated traffic accounting plugin. Fixes another "rule-leak"
10+
+ Updated sip-voip plugin (thanks Philip)
11+
+ Updated traffic-shaper plugin (thanks Philip)
12+
13+
Version 1.9.2c (July 29, 2009)
14+
------------------------------
15+
! On reinit we must flush all chains in the nat & mangle tables else
16+
they will keep growing (Thanks Lonnie)
17+
+ Updated IPSEC VPN plugin (Thanks Philip)
18+
+ Updated Traffic Accounting plugin
19+
+ Updated DynDNS Open plugin
20+
+ Updated IDS plugin
21+
! Fixed ICMP checks for IPv6
22+
* Less defaulting to all ports/all hosts for several rules. This should mainly
23+
improve security in case of incorrect rules/configurations
24+
25+
Version 1.9.2b (June 25, 2009)
26+
------------------------------
27+
! Fixed DSL plugin causing errors on restart
28+
* Detected iptables errors are now reported as WARNING rather than ERROR when the script finishes
29+
+ Updated IPSEC-VPN plugin (Thanks Philip)
30+
* Moved .aif_active_plugins to /var/tmp/
31+
+ Detect plugins on stop() that have their priority number changed
32+
33+
Version 1.9.2a (June 9, 2009)
34+
-----------------------------
35+
* Dropped requirement of the ip binary in the main script
36+
37+
Version 1.9.2 (June 4, 2009)
38+
----------------------------
39+
* Bumped installer version to 1.0
40+
! Fixed check_binary failed on dash-based systems (like Ubuntu) (Thanks Lonnie!)
41+
! Fixed some bashisms
42+
! Fixed DMZ_LAN_HOST_OPEN_IP didn't work
43+
44+
Version 1.9.1-RC1 (May 20, 2009)
45+
--------------------------------
46+
! Fixed DMZ_LAN_HOST_OPEN_xxx source hosts weren't parsed properly (Thanks to Lonnie Abelbeck)
47+
! Fixed LOG_HOST_OUTPUT_xxx format error (Thanks to Lonnie Abelbeck)
48+
+ Added local DNAT redirect support (Thanks to Philip Prindeville)
49+
+ Added experimental DMZ-NAT plugin (Thanks to Philip Prindeville)
50+
+ Implemented NAT_PREROUTING_CHAIN, POST_NAT_PREROUTING_CHAIN,
51+
NAT_POSTROUTING_CHAIN & POST_NAT_POSTROUTING_CHAIN chains
52+
* Replaced DMZ_IF_TRUST and INT_IF_TRUST with the new IF_TRUSTS variable.
53+
You can use | to create seperate groups of interfaces.
54+
+ We now detect whether iptables (/ip4tables/ip6tables) failed (somewhere)
55+
during startup and report this at the end
56+
! Fixed NAT_FORWARD_IP not working
57+
! Several fixes/changes in the rule parsers
58+
* Moved from using the $IPTABLES/$IP4TABLES/$IP6TABLES variables to functions
59+
(Thanks Philip Prindeville). This should ie. allow proper tracing.
60+
+ Iptables errors will now be shown in red, to better point them out
61+
+ Implemented some additional chains (for ie. plugin use)
62+
- Reverted flushing user chains before stopping plugins, it causes disconnections.
63+
* Several cleanups/optimizations (thanks to Philip Prindeville, Lonnie Abelbeck
64+
& Roy Lanek)
65+
* Major cleanup of functions etc.
66+
67+
Version 1.9.1-BETA1 (April 5, 2009)
68+
-----------------------------------
69+
* On a restart the "user_chains" are now flushed before the plugins are stopped
70+
+ Implemented INPUT/FORWARD/OUTPUT_CHAIN. In this way we no longer have to clutter
71+
the builtin INPUT/FORWARD/OUTPUT chains.
72+
* !!!! Changed the seperator for interface restrictions to # (ie. eth0#.....)!!!
73+
This code is now much cleaner and the way rules work is a lot more logical :)
74+
! Fixed warnings with newer iptables versions
75+
+ Plugin status & stop are now only called when the plugin is actually listed
76+
as being previously loaded (Thanks to Lonnie Abelbeck). ALL PLUGINS MUST BE
77+
UPDATED ACCORDINGLY!
78+
* Rewrote the startup (and restart) code. This should make the restart command
79+
working a lot better (although it may also have broken some stuff)
80+
+ Misc. tweaks
81+
+ Added option to use extra arguments for functions that use dig
82+
+ Updated several plugins
83+
! EOL specification was invalid in the environment file
84+
85+
Version 1.9.0b (February 27, 2009)
86+
----------------------------------
87+
! Fixed some security issues concerning firewall restart (thanks to Lonnie Abelbeck)
88+
! Fixed invalid EOL causing blocked hosts to fail
89+
! Fixed invalid sed-syntax causing blocked hosts to fail
90+
- Removed MAC-filter from the main script (will be moved to seperate plugin)
91+
! Fixed OUTPUT policy didn't get applied
92+
! Fixed LOG_xxx_INPUT should be LOG_INPUT_xxx in the config file
93+
* Small tweaks in the install script
94+
+ Added wildcard_ifs() function to the environment-file
95+
+ Updated several plugins
96+
* Cleanup + fixed several typos (thanks Philip Prindeville)
97+
* The restart command will now block all traffic from the external interfaces.
98+
+ Host-block now has the option to keep established TCP connections, usefull for
99+
our restart command to NOT kill any running SSH connections
100+
+ New (seperate) MAC filter plugin. Also allows to "lock" a MAC to an IP now
101+
102+
Version 1.9.0a (January 8, 2009)
103+
--------------------------------
104+
! Several fixes in the install script
105+
106+
Version 1.9.0 (January 7, 2009)
107+
-------------------------------
108+
+ Some more fallback safeguards
109+
! Fixed LAN_INET_HOST_DENY_TCP/UDP (stupid typo)
110+
! Trimmed too long log messages
111+
* Set timeout/retry values to default for dig functions in the env-file
112+
! Fixed sysctl for ie. busybox setups which don't support -q. Implemented sysctl
113+
wrapper for this (like with module_probe())
114+
+ Added new traffic shaper (thanks to Lonnie Abelbeck)
115+
- Removed old hfsc traffic shaper
116+
+ Added net.netfilter.nf_conntrack_max as additional sysctl key
117+
+ Added AIF:-prefix to all LOG messages
118+
+ Added ENV_FILE fallback in case it's not specified in the config-file
119+
+ Enhanced the environment file to make it more robust in case config stuff is missing
120+
- Removed <=2.2 kernel check
121+
! Minor fix in the init script
122+
! Fix bug in the install script which broke setting basic config
123+
* Disabled verbose by default in the init script (set VERBOSE=1 inside
124+
/etc/init.d/arno-iptables-firewall to enable again)
125+
* Misc. plugin updates
126+
* Misc. tweaks in the install script
127+
128+
Version 1.9.0-rc4 (November 23, 2008)
129+
-------------------------------------
130+
! Fixed hfsc plugin on ubuntu
131+
! Fixed install script on ubuntu
132+
* Moved /usr/share stuff to /usr/local/share (where it belongs). This is hopefully
133+
the last major change.
134+
+ Updated DynDNS plugin to 0.23BETA. It now automatically creates/removes the cron job
135+
+ Updated Traffic Accounting plugin to 0.2BETA
136+
* man pages are now gzipped by the installer
137+
! Fixed incorrect configuration file used for the transparent proxy plugin
138+
! Installer didn't setup a symlink in /etc/rcS.d to start the firewall at boot
139+
+ Added uninstall script
140+
! Several fixes in the install script
141+
* Misc. tweaks & fixes
142+
143+
Version 1.9.0-rc3 (September 4, 2008)
144+
-------------------------------------
145+
! Fixed dsl-ppp-modem plugin was accidently DOS-formatted
146+
! Fixed dsl-ppp-modem was accidently referring to adsl-ppp-modem.conf instead
147+
of dsl-ppp-modem.conf
148+
! Fixed aliased-inet-IP support in the NAT forwarding code
149+
! Fixed several problems in the installation script
150+
! Fixed broken dyndns-plugin
151+
* Cosmetic tweaks
152+
153+
Version 1.9.0-rc2 (September 3, 2008)
154+
-------------------------------------
155+
+ Added new DynDNS plugin to open ports for DynDNS (internet) hosts
156+
+ Updated serveral plugins
157+
* Default policy for LAN->INET, DMZ->INET, INET->DMZ etc. is now ACCEPT (at the
158+
(end of the chain) unless an OPEN_xxx is specified, in that case the default is DROP
159+
! Fixed the use of source-destination-ip's with NAT forwards
160+
+ Basic install script added (install.sh). Probably can use a lot of improvements.
161+
* Moved a lot of functions/variables into a new separate "environment"-file.
162+
(located in /usr/share/arno-iptables-firewall/). This should make easier for
163+
ie. helper-scripts to use AIF's functions & variables
164+
* Minor changes/updates in the plugins (slighty modified skeleton for example)
165+
- Removed dsl ppp modem code and moved it into a separate plugin
166+
* (Cosmetic) tweaks in the module_probe() function
167+
- Removed transparent proxy code and moved it into a separate plugin
168+
* IPv6 drop-policy setting (when IPv4 is selected) now only performed if IPv6
169+
is available on the system
170+
+ Added $network to the Debian LSB headers
171+
* IDS plugin now uses priority 90 (near last)
172+
* Linux-igd plugin is no longer enabled by default (it was never intended to be so)
173+
* Changed default firewall log file to /var/log/firewall.log
174+
* Renamed POST_INPUT_CHAIN to POST_INPUT_DROP_CHAIN (+updated IDS plugin accordingly)
175+
+ Implemented new POST_INPUT_CHAIN, POST_FORWARD_CHAIN & POST_OUTPUT_CHAIN
176+
* Misc. (cosmetic) changes
177+
178+
Version 1.9.0-rc1 (July 29, 2008)
179+
----------------------------------
180+
! Fixed a bug in the nat forwarding code causing interfaces not to work
181+
+ Updated ipsec-vpn plugin (& renamed from "racoon-ipsec-vpn")
182+
* Updates to the README-file
183+
* Misc. changes
184+
185+
Version 1.9.0-beta3 (May 25, 2008)
186+
----------------------------------
187+
+ Implemented check-conf argument to only perform a sanity check
188+
! Fixed no_broadcast code
189+
+ Added HIGHLY EXPERIMENTAL IDS plugin
190+
+ Added IDS hook in the main script (via POST_XXX_XXX CHAINS)
191+
+ Added stop-block argument
192+
- Deprecated LOOSE_UDP_PATCH
193+
* Switched from /proc to sysctl for setting kernel options
194+
* Missing sysctl conntrack setting is NOW fatal
195+
! Fixed unreferenced get_protos_ip
196+
+ Added $network to the Debian init.d headers
197+
* Misc. (cosmetic) tweaks
198+
199+
Version 1.9.0-beta2 (March 23, 2008)
200+
------------------------------------
201+
! Fixed echo output showing hosts that shouldn't be displayed
202+
* Now IPv4 traffic will have a default policy of DROP when IPv6 is enabled and visa versa
203+
+ Added LOCAL_CONFIG_FILE variable to allow ie. certain user/global/local settings
204+
to be sourced into the script
205+
+ Implemented plugin_status() support
206+
+ Implemented plugin_stop() support
207+
+ Updated several plugins. Multiroute now has a proper stop() section for example
208+
! Fixed error on missing /proc/ queue_maxlen....
209+
! Fixed support for legacy plugins
210+
211+
Version 1.9.0-beta1 (January 17, 2008)
212+
--------------------------------------
213+
! Fix /proc/.../ conntrack set for newer kernels
214+
! Fixed bug (typo) in $REJECT_TCP_NOLOG
215+
! Fixed DEFAULT value's in the helper parsing functions causing ie. simple portforwards
216+
not to work
217+
! Fixed missing default value's for the source hosts in the NAT portforwards
218+
! Several (regression) fixes in the NAT forwarding rules
219+
! Fixed a regression bug in the module_probe() function
220+
! Several regression fixes in the interface sanity_check()
221+
* Minor cosmetic changes
222+
223+
Version 1.9.0-ALPHA2 (December 18, 2007)
224+
----------------------------------------
225+
! Fixed ICMPv6 types
226+
* All (user) chains are now created in the beginning to allow plugins/custom
227+
rules to add rules to them.
228+
+ Implemented separate variables for the iptables & ip6tables binaries. Instead
229+
of selecting the binary itself, IPv6 support can now be enabled/disabled via
230+
variable IPV6_SUPPORT
231+
! Several fixes for IPv6 support
232+
+ Implemented IPV6_SUPPORT variable for the "actual" IPV6 support
233+
* Moved "old" IPV6_OVER_IPV4 to a plugin
234+
* Host block now performed for ALL interfaces, not just the external one
235+
* ICMP flooding changed from 20/sec max to 60/sec max.
236+
+ Added suport for aliased external interface / multi-IP support. You can now
237+
also use the IP (instead of interface) of the interface to restrict INPUT/OUTPUT-
238+
rules
239+
! Fixed the HOST_ output logging rules
240+
! Fixed interface check in sanity_check()
241+
! Misc. bug fixes
242+
+ Major cleanup
243+
* Cosmetic changes
244+
245+
Version 1.9.0-ALPHA1 (December 5, 2007)
246+
---------------------------------------
247+
+ Added DEFAULT_POLICY_DROP option to allow users to disable setting iptables
248+
default policy to DROP. Mainly useful for people who boot from ie. NFS
249+
(diskless client systems).
250+
+ DNAT plugin update. Switched from OUTPUT to PREROUTING for the DNAT rule.
251+
! Fixed a minor bug in the NAT forwards: the FORWARD rule was missing the host destination
252+
+ Experimental IPv6 support. You can switch from IPv4 to IPv6 by simply changing
253+
the iptables into "ip6tables". Note that I'm currently not able to test it, as
254+
I don't have any IPv6 environment.
255+
* NAT forwards no longer use : for host/port separation due to problems with
256+
future IPv6 support. Now the new separator (~) is also used for this.
257+
+ Implemented DMZ_IF_TRUST trust, to setup DMZ-DMZ trusts
258+
* Antispoof for DMZ & INTERNAL net now only enabled when INT_IF / DMZ_IF set
259+
+ Implemented start/stop command for plugins. Now plugins can also contain code
260+
to be executed whenever the firewall stops. The start or stop command is
261+
put the environment variable called "PLUGIN_CMD" (which the plugin can read).
262+
+ Major (and I mean, really MAJOR) code cleanup. This possibly broke a lot of stuff.
263+
+ Implemented IP address ranges for ALL variables (use like 192.168.1.10-20)
264+
+ Implemented support for restriction rules to apply only for certain external interfaces
265+
* !!! Separator for combined host/port rules changed from : to ~ . This is mainly to
266+
be able create cleaner/easier parse functions & prevent any possible problems
267+
with the support for IPv6 (addresses), which also uses : !!!!
268+
! Fixed INVALID rule for UDP
269+
* Changed the name of a lot of inconsistent variables. Unfortunately this means
270+
that the new config won't be fully backwards compatible with firewall version 1.8
271+
* Changed order of some of the variables in the config file so they are more
272+
synced to the logic flow/order of the firewall script
273+
* Plugin support moved to the main script
274+
* Plugin binaries moved to /usr/share/arno-iptables-firewall/plugins
275+
+ (Finally) implemented nice init.d script with configurable verbosity
276+
* Misc. cosmetic changes

0 commit comments

Comments
 (0)