alff.git
9 years agoAdjusted some more plugins for ipv6
Michael Schwarz [Wed, 24 Apr 2013 13:53:16 +0000 (15:53 +0200)]
Adjusted some more plugins for ipv6

  * create_chain_tcp_header_check
  * create_chain_tcp_scan_handling
  * handleICMP (Bugfix)
  * handleTracerouteUdp

9 years agoEnable DHCP on ipv6
Michael Schwarz [Wed, 24 Apr 2013 13:52:26 +0000 (15:52 +0200)]
Enable DHCP on ipv6

9 years agoDo some spoofcheks even in ipv6. This is probably not complete
Michael Schwarz [Wed, 24 Apr 2013 11:20:16 +0000 (13:20 +0200)]
Do some spoofcheks even in ipv6. This is probably not complete

9 years agoModified alff-cat to manage ipv6 rules
Michael Schwarz [Wed, 24 Apr 2013 09:26:12 +0000 (11:26 +0200)]
Modified alff-cat to manage ipv6 rules

9 years agoprotocol should be ipv6-icmp
Michael Schwarz [Wed, 24 Apr 2013 08:42:06 +0000 (10:42 +0200)]
protocol should be ipv6-icmp

9 years agoAdded check for nasty routing header 0
Michael Schwarz [Wed, 24 Apr 2013 08:40:59 +0000 (10:40 +0200)]
Added check for nasty routing header 0

9 years agoFirst bucket of adjusted plugins
Michael Schwarz [Wed, 24 Apr 2013 07:57:24 +0000 (09:57 +0200)]
First bucket of adjusted plugins

  *  acceptInterFirewallTraffic
  *  accept_established_connections_
  *  classifyInterVlanTraffic
  *  clear_filter_tables
  *  clear_table_
  *  create_chain_log_and_reject
  *  finish_FORWARD
  *  finish_INPUT
  *  handleICMP
  *  hookInBlackAndWhitelist

9 years agogetIpVersion() didn't match on negated networks
Michael Schwarz [Tue, 23 Apr 2013 14:19:26 +0000 (16:19 +0200)]
getIpVersion() didn't match on negated networks

9 years agoImplemented basic ipv6 functionality
Michael Schwarz [Mon, 22 Apr 2013 14:49:25 +0000 (16:49 +0200)]
Implemented basic ipv6 functionality

9 years agoreduced lenth of service chains
Michael Schwarz [Thu, 18 Apr 2013 13:45:59 +0000 (15:45 +0200)]
reduced lenth of service chains

   With iptables 1.4.10, chain names are limited to a lenth of 28 chars.
   Substituted Services with Srv, the lenth of the service chain names
   is reduced by five chars. This should work for most cases. In fact,
   that should be done more intelligent by a method in the future,
   limiting the names to 28 chars while generating the ruleset.

9 years agoAlso changed /usr/bin/env sh to bash
Michael Schwarz [Fri, 12 Apr 2013 11:44:04 +0000 (13:44 +0200)]
Also changed /usr/bin/env sh to bash

9 years agoOn wheezy, we want to use bash instead of sh
Michael Schwarz [Fri, 12 Apr 2013 11:35:55 +0000 (13:35 +0200)]
On wheezy, we want to use bash instead of sh

9 years agofixed error while generating inter vlan rules v0.1.0
Michael Schwarz [Wed, 13 Mar 2013 14:52:38 +0000 (15:52 +0100)]
fixed error while generating inter vlan rules

9 years agoFixed debian warnings, added multiple interface support
Michael Schwarz [Tue, 15 Jan 2013 15:30:47 +0000 (16:30 +0100)]
Fixed debian warnings, added multiple interface support

9 years agoMake sure alff-cat is executed by a real bash.
Maximilian Wilhelm [Tue, 15 Jan 2013 15:18:50 +0000 (16:18 +0100)]
Make sure alff-cat is executed by a real bash.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoBeatufied debian/rules files.
Maximilian Wilhelm [Fri, 7 Dec 2007 17:24:20 +0000 (18:24 +0100)]
Beatufied debian/rules files.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoWhitespace cleanup for alff-cat.
Maximilian Wilhelm [Fri, 7 Dec 2007 17:09:57 +0000 (18:09 +0100)]
Whitespace cleanup for alff-cat.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoAdded plugin 'create_traffic_log_rules'
Maximilian Wilhelm [Sun, 21 Oct 2007 00:18:04 +0000 (02:18 +0200)]
Added plugin 'create_traffic_log_rules'

  This new plugin will create two rules for each interface (found in alff.conf)
  counting inbound and outbound traffic going through it.

  This information can be used by munin or anything alike to mesure the traffic
  through your firewall.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoWrote down all the changes since v0.0.4 to changes and debian/changelog v0.0.5
Maximilian Wilhelm [Tue, 4 Sep 2007 21:49:16 +0000 (23:49 +0200)]
Wrote down all the changes since v0.0.4 to changes and debian/changelog

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoSome new ideas
Maximilian Wilhelm [Fri, 31 Aug 2007 17:05:50 +0000 (19:05 +0200)]
Some new ideas

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoLet alff use build-in routine execute-plugin to run plugins
Maximilian Wilhelm [Mon, 6 Aug 2007 21:29:26 +0000 (23:29 +0200)]
Let alff use build-in routine execute-plugin to run plugins

  Instead of a simple 'sh -c' alff will now run plugins via the build-in
  routine 'execute-plugins' to handle more possible badness such as dangling
  symlinks and the like...

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoFixed build-in routine execute-plugin and let it accept relativ path names.
Maximilian Wilhelm [Mon, 6 Aug 2007 21:25:28 +0000 (23:25 +0200)]
Fixed build-in routine execute-plugin and let it accept relativ path names.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoRemoved check if plugin is from plugin.d from build-in routine execute-plugin
Maximilian Wilhelm [Sun, 5 Aug 2007 16:52:52 +0000 (18:52 +0200)]
Removed check if plugin is from plugin.d from build-in routine execute-plugin

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoPartly revert 320e07570c0300f414da4edf2771d22ca79fcc24
Maximilian Wilhelm [Sun, 5 Aug 2007 14:34:28 +0000 (16:34 +0200)]
Partly revert 320e07570c0300f414da4edf2771d22ca79fcc24

  The general idea behind 320e07570c0300f414da4edf2771d22ca79fcc24 was nice,
  but when using 'find' to go through all plugins you can sort them anymore
  in an easy manner.

  So get back to the old shell loop and let people only use plugin names
  without any "crap" in the file name.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoclassifyInterVlanTraffic did not handle config option 'force_x_to_x_chains' correctly.
Maximilian Wilhelm [Thu, 5 Jul 2007 14:11:30 +0000 (16:11 +0200)]
classifyInterVlanTraffic did not handle config option 'force_x_to_x_chains' correctly.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoFixed typo in Config.pm
Maximilian Wilhelm [Thu, 5 Jul 2007 13:48:45 +0000 (15:48 +0200)]
Fixed typo in Config.pm

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

14 years agoFixed build-in routine 'execute-plugin' to exit if plugin to run is not executable.
Maximilian Wilhelm [Thu, 5 Jul 2007 13:47:52 +0000 (15:47 +0200)]
Fixed build-in routine 'execute-plugin' to exit if plugin to run is not executable.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCode review and documentation update for Alff::Config
Maximilian Wilhelm [Mon, 5 Mar 2007 16:59:40 +0000 (17:59 +0100)]
Code review and documentation update for Alff::Config

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMinor coding style upgrade for addService routine.
Maximilian Wilhelm [Mon, 5 Mar 2007 16:39:25 +0000 (17:39 +0100)]
Minor coding style upgrade for addService routine.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade build-in routine 'approve-rules' config space safe.
Maximilian Wilhelm [Mon, 5 Mar 2007 16:27:34 +0000 (17:27 +0100)]
Made build-in routine 'approve-rules' config space safe.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed typo in coding comments in Alff::Config
Maximilian Wilhelm [Mon, 5 Mar 2007 16:25:18 +0000 (17:25 +0100)]
Fixed typo in coding comments in Alff::Config

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoSome minor improvements for the alff-cat.
Maximilian Wilhelm [Mon, 5 Mar 2007 15:20:21 +0000 (16:20 +0100)]
Some minor improvements for the alff-cat.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoalff-agent/init.d will now send status mail when starting/stopping
Maximilian Wilhelm [Mon, 5 Mar 2007 15:19:33 +0000 (16:19 +0100)]
alff-agent/init.d will now send status mail when starting/stopping

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated debian/{copyright,rules}.
Maximilian Wilhelm [Tue, 13 Feb 2007 18:53:03 +0000 (19:53 +0100)]
Updated debian/{copyright,rules}.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded new generic plugin 'clear_table_' to clean up a given iptables table.
Maximilian Wilhelm [Tue, 13 Feb 2007 18:38:26 +0000 (19:38 +0100)]
Added new generic plugin 'clear_table_' to clean up a given iptables table.

 This plugin will flush all chains in the given table,
 remove all non build-in chains and
 zero all counters in the build-in chains.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded function 'isValidTable' to shell plugin-routines.
Maximilian Wilhelm [Tue, 13 Feb 2007 18:31:59 +0000 (19:31 +0100)]
Added function 'isValidTable' to shell plugin-routines.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded plan to include Makefiles
Maximilian Wilhelm [Tue, 13 Feb 2007 18:13:23 +0000 (19:13 +0100)]
Added plan to include Makefiles

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated TODO, changes.
Maximilian Wilhelm [Tue, 13 Feb 2007 16:56:57 +0000 (17:56 +0100)]
Updated TODO, changes.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded new build-in routine 'execute-plugin' and made alff use it for rule generation.
Maximilian Wilhelm [Tue, 13 Feb 2007 15:55:44 +0000 (16:55 +0100)]
Added new build-in routine 'execute-plugin' and made alff use it for rule generation.

 Now alff should be aware of all nasty chars in plugin names (blanks, LF, ...).
 Thanks to Jan-Benedict Glaw to report this problem.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated build-in routine push-rules to handle config spaces correctly.
Maximilian Wilhelm [Mon, 15 Jan 2007 23:54:21 +0000 (00:54 +0100)]
Updated build-in routine push-rules to handle config spaces correctly.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded Alff::Hepler which provides helper routines for Alff (e.g. isdir)
Maximilian Wilhelm [Fri, 12 Jan 2007 20:54:05 +0000 (21:54 +0100)]
Added Alff::Hepler which provides helper routines for Alff (e.g. isdir)

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated debian/changelog to reflect latest changes.
Maximilian Wilhelm [Tue, 9 Jan 2007 10:57:31 +0000 (11:57 +0100)]
Updated debian/changelog to reflect latest changes.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoChanged debian dependency of alff-rulegen from 'gawk' to 'awk'.
Maximilian Wilhelm [Tue, 9 Jan 2007 10:44:04 +0000 (11:44 +0100)]
Changed debian dependency of alff-rulegen from 'gawk' to 'awk'.

 All *awk pacakges provide 'awk' so it´s more wise to depend on that
 instead of forcing the user to use on special awk version.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded TODO to push plugin execution to a build-in routine.
Maximilian Wilhelm [Mon, 8 Jan 2007 04:47:45 +0000 (05:47 +0100)]
Added TODO to push plugin execution to a build-in routine.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed typo in Alff::Config.
Maximilian Wilhelm [Mon, 8 Jan 2007 04:42:41 +0000 (05:42 +0100)]
Fixed typo in Alff::Config.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemoved depreciated 'write_cmd' method from Alff::Main.
Maximilian Wilhelm [Wed, 29 Nov 2006 12:54:01 +0000 (13:54 +0100)]
Removed depreciated 'write_cmd' method from Alff::Main.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated TODO file.
Maximilian Wilhelm [Tue, 28 Nov 2006 21:52:57 +0000 (22:52 +0100)]
Updated TODO file.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoenable_DHCP_relay_FORWARD plugin: Handle one more scenario.
Maximilian Wilhelm [Tue, 28 Nov 2006 21:37:41 +0000 (22:37 +0100)]
enable_DHCP_relay_FORWARD plugin: Handle one more scenario.

 This patch from Joerg Jungermann fixes the scenario where the firewall
 isn´t a DHCP relay itself but should allow DHCP packets from your DHCP
 server(s) to the clients which are on different sites of the firewall.

Signed-off-by: Joerg Jungermann <joju@math.uni-paderborn.de>
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdaed the DHCP handling plugins to stay cool if there are no DHCP server configured.
Maximilian Wilhelm [Tue, 28 Nov 2006 21:25:51 +0000 (22:25 +0100)]
Updaed the DHCP handling plugins to stay cool if there are no DHCP server configured.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAlff::Config: Return '()' instead of 'undef' in array context.
Maximilian Wilhelm [Tue, 28 Nov 2006 21:24:58 +0000 (22:24 +0100)]
Alff::Config: Return '()' instead of 'undef' in array context.

 I just learned that it´s not wise to 'return undef' instead of a list with
 values as 'scalar( @returned_list )' will be '1'.
 I don´t really understand why this is the case, but I don´t want to get into
 trouble here, so I "fixed" this. This effected the *DHCP* plugins when no
 dhcp_server was specified in alff.conf.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed programming error in alff routine 'setupPlugins'.
Maximilian Wilhelm [Tue, 28 Nov 2006 20:43:00 +0000 (21:43 +0100)]
Fixed programming error in alff routine 'setupPlugins'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed typo and added 'accept_established_connections_' to INPUT in 'plugin.d.defaults'.
Maximilian Wilhelm [Tue, 28 Nov 2006 20:42:12 +0000 (21:42 +0100)]
Fixed typo and added 'accept_established_connections_' to INPUT in 'plugin.d.defaults'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoSet default encoding of alff.conf XML file to 'ISO-8859-1'.
Maximilian Wilhelm [Tue, 28 Nov 2006 20:36:24 +0000 (21:36 +0100)]
Set default encoding of alff.conf XML file to 'ISO-8859-1'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRenamed plugin 'drop_spoofed_packets' to 'drop_spoofed_packets_'. origin
Maximilian Wilhelm [Mon, 27 Nov 2006 17:29:46 +0000 (18:29 +0100)]
Renamed plugin 'drop_spoofed_packets' to 'drop_spoofed_packets_'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed plugin 'drop_spoofed_packets'.
Maximilian Wilhelm [Mon, 27 Nov 2006 17:29:19 +0000 (18:29 +0100)]
Fixed plugin 'drop_spoofed_packets'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoDon't use write_cmd anymore in Alff::Services.
Maximilian Wilhelm [Mon, 27 Nov 2006 17:10:20 +0000 (18:10 +0100)]
Don't use write_cmd anymore in Alff::Services.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed typo in plugin 'generateServiceChains'.
Maximilian Wilhelm [Mon, 27 Nov 2006 17:06:56 +0000 (18:06 +0100)]
Fixed typo in plugin 'generateServiceChains'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoReinserted Alff::Main instance into Alff::Config as it is used.
Maximilian Wilhelm [Mon, 27 Nov 2006 17:05:36 +0000 (18:05 +0100)]
Reinserted Alff::Main instance into Alff::Config as it is used.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated changelog to version 0.0.4
Maximilian Wilhelm [Mon, 27 Nov 2006 16:16:07 +0000 (17:16 +0100)]
Updated changelog to version 0.0.4

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemove old 'default_chain_policy' from example alff.conf. v0.0.4
Maximilian Wilhelm [Sun, 26 Nov 2006 22:24:16 +0000 (23:24 +0100)]
Remove old 'default_chain_policy' from example alff.conf.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded notice about config spaces update to 'changes' file.
Maximilian Wilhelm [Sun, 26 Nov 2006 20:21:38 +0000 (21:21 +0100)]
Added notice about config spaces update to 'changes' file.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoReworked config space command line parameter handling in alff.
Maximilian Wilhelm [Sun, 26 Nov 2006 19:58:24 +0000 (20:58 +0100)]
Reworked config space command line parameter handling in alff.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemove sanity check from alff 'routines' file as this is done by alff itself.
Maximilian Wilhelm [Sun, 26 Nov 2006 19:09:05 +0000 (20:09 +0100)]
Remove sanity check from alff 'routines' file as this is done by alff itself.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded 'function-routines' library and updated functions 'removeService' and 'loadUser...
Maximilian Wilhelm [Sun, 26 Nov 2006 19:08:07 +0000 (20:08 +0100)]
Added 'function-routines' library and updated functions 'removeService' and 'loadUserRules' to use it.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded show function descriptions to all functions. This info is shown by 'alff -list'.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:43:21 +0000 (18:43 +0100)]
Added show function descriptions to all functions. This info is shown by 'alff -list'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoPlace example configuration in /etc/alff/example at installation. (debian/rules)
Maximilian Wilhelm [Sun, 26 Nov 2006 17:38:18 +0000 (18:38 +0100)]
Place example configuration in /etc/alff/example at installation. (debian/rules)

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated alff and routines library to make 'configureFirewallNetworkOptions' config...
Maximilian Wilhelm [Sun, 26 Nov 2006 17:37:23 +0000 (18:37 +0100)]
Updated alff and routines library to make 'configureFirewallNetworkOptions' config space compliant.

 The configureFirewallNetworkOptions method needs more thinking by the way
 to preserve a usefull way of using this feature while pushing iptables-restore
 format rulesets to the firewalls.
 Maybe it is wise to push shell commands as a prefix to the normal ruleset?

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'classifyInterVlanTraffic' to use Alff::Main->write_line.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:20:55 +0000 (18:20 +0100)]
Updated plugin 'classifyInterVlanTraffic' to use Alff::Main->write_line.

 Former used Alff::Main->write_cmd is depreciated. Don´t use in anymore.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'handleTracerouteUdp' to use Alff::Main->write_line.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:20:31 +0000 (18:20 +0100)]
Updated plugin 'handleTracerouteUdp' to use Alff::Main->write_line.

 Former used Alff::Main->write_cmd is depreciated. Don´t use in anymore.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'acceptInterFirewallTraffic' to use Alff::Main->write_line.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:19:45 +0000 (18:19 +0100)]
Updated plugin 'acceptInterFirewallTraffic' to use Alff::Main->write_line.

 Former used Alff::Main->write_cmd is depreciated. Don´t use in anymore.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemoved all references to Alff::Main from Alff::Config as they aren´t used.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:18:01 +0000 (18:18 +0100)]
Removed all references to Alff::Main from Alff::Config as they aren´t used.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoSome minor fixed to the alff binary.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:17:06 +0000 (18:17 +0100)]
Some minor fixed to the alff binary.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'routines' libary to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:09:08 +0000 (18:09 +0100)]
Updated 'routines' libary to be config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'alff removeService' to be config space compliant and cleaned up the code.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:08:18 +0000 (18:08 +0100)]
Updated 'alff removeService' to be config space compliant and cleaned up the code.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'alff addService' to be config space comliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:07:32 +0000 (18:07 +0100)]
Updated 'alff addService' to be config space comliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCleaned up 'alff setupPlugins'.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:06:54 +0000 (18:06 +0100)]
Cleaned up 'alff setupPlugins'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade alff function 'loadUserRules' a build-in function.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:04:50 +0000 (18:04 +0100)]
Made alff function 'loadUserRules' a build-in function.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'alff loadUserRules' to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:03:41 +0000 (18:03 +0100)]
Updated 'alff loadUserRules' to be config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'alff getOption' to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 17:01:47 +0000 (18:01 +0100)]
Updated 'alff getOption' to be config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade 'alff getMachines' config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:59:58 +0000 (17:59 +0100)]
Made 'alff getMachines' config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade plugin 'classifyInterVlanTraffic' config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:45:30 +0000 (17:45 +0100)]
Made plugin 'classifyInterVlanTraffic' config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade DHCP relay handling plugins config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:43:24 +0000 (17:43 +0100)]
Made DHCP relay handling plugins config space compliant.

 Updated the plugins 'enable_DHCP_relay_FORWARD' and
 'enable_DHCP_relay_INPUT' to honor config spaces and
 cleaned up the code.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'handleICMP' to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:41:28 +0000 (17:41 +0100)]
Updated plugin 'handleICMP' to be config space compliant.

 Made plugin 'handleICMP' honor config spaces and cleaned up
 the code.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'handleTracerouteUdp' to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:39:05 +0000 (17:39 +0100)]
Updated plugin 'handleTracerouteUdp' to be config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated service handling plugins to be config space compliant.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:38:33 +0000 (17:38 +0100)]
Updated service handling plugins to be config space compliant.

 This update make the plugins 'generateServiceChains' and
 'hookInServiceChains' config space compliant.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCleaned up plugin 'hookInBlackAndWhitelist'.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:35:25 +0000 (17:35 +0100)]
Cleaned up plugin 'hookInBlackAndWhitelist'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded method 'getConfigDir()' to Alff::Config and remove 'getConfigBaseDir()'.
Maximilian Wilhelm [Sun, 26 Nov 2006 16:27:24 +0000 (17:27 +0100)]
Added method 'getConfigDir()' to Alff::Config and remove 'getConfigBaseDir()'.

 The new method 'getConfigDir()' will give you the directory where the
 configuration of the current config space is being stored.
 This was done as it´s more usefull to query the current config dir directly
 that querying the config base dir and the config space name and building
 up the correct path yourself.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCleaned up plugins finish_{FORWARD,INPUT}.
Maximilian Wilhelm [Sun, 26 Nov 2006 15:13:41 +0000 (16:13 +0100)]
Cleaned up plugins finish_{FORWARD,INPUT}.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCleaned up some plugins and made the use 'plugin-routines'.
Maximilian Wilhelm [Sun, 26 Nov 2006 15:12:48 +0000 (16:12 +0100)]
Cleaned up some plugins and made the use 'plugin-routines'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAdded function to the the configuration base directory to Alff::Config.
Maximilian Wilhelm [Sun, 26 Nov 2006 15:10:24 +0000 (16:10 +0100)]
Added function to the the configuration base directory to Alff::Config.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated 'drop_spoofed_packets' to use 'plugin-routines'.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:39:38 +0000 (15:39 +0100)]
Updated 'drop_spoofed_packets' to use 'plugin-routines'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoFixed typo in 'plugin-routines'
Maximilian Wilhelm [Sun, 26 Nov 2006 14:38:07 +0000 (15:38 +0100)]
Fixed typo in 'plugin-routines'

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoUpdated plugin 'create_chain_' to honor 'ALFF_CACHE_DIR_CHAINS'.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:32:33 +0000 (15:32 +0100)]
Updated plugin 'create_chain_' to honor 'ALFF_CACHE_DIR_CHAINS'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoplugin-routines: Use lowerspace variable names in function.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:31:20 +0000 (15:31 +0100)]
plugin-routines: Use lowerspace variable names in function.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoMade plugin-routines config space compliant. They will now honor 'ALFF_CACHE_DIR_CHAINS'.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:23:01 +0000 (15:23 +0100)]
Made plugin-routines config space compliant. They will now honor 'ALFF_CACHE_DIR_CHAINS'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRenamed variable 'CACHE_DIR_CHAINS' to 'ALFF_CACHE_DIR_CHAINS'
Maximilian Wilhelm [Sun, 26 Nov 2006 14:18:59 +0000 (15:18 +0100)]
Renamed variable 'CACHE_DIR_CHAINS' to 'ALFF_CACHE_DIR_CHAINS'
as it has to be export'ed now.
Correcting the plugins will follow.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoAlff::Main will now honor environment variable ALFF_CACHE_DIR_CHAINS set by alff.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:16:54 +0000 (15:16 +0100)]
Alff::Main will now honor environment variable ALFF_CACHE_DIR_CHAINS set by alff.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoCleaned up Alff::Main code. 'print_cmd' is now depreciated. Use 'print_line' instead.
Maximilian Wilhelm [Sun, 26 Nov 2006 14:15:24 +0000 (15:15 +0100)]
Cleaned up Alff::Main code. 'print_cmd' is now depreciated. Use 'print_line' instead.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemoved old 'run_cmd' method from Alff::Main which is not used anymore.
Maximilian Wilhelm [Sun, 26 Nov 2006 01:21:58 +0000 (02:21 +0100)]
Removed old 'run_cmd' method from Alff::Main which is not used anymore.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

15 years agoRemove uneccessary 'use Alff::Main' from Alff::Config.
Maximilian Wilhelm [Sun, 26 Nov 2006 01:19:52 +0000 (02:19 +0100)]
Remove uneccessary 'use Alff::Main' from Alff::Config.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>