| 1 |
Revision history for Perl extension IPTables::ChainMgr. |
| 2 |
|
| 3 |
1.6 Sat Dec 04 15:42:45 2016 |
| 4 |
- Additional t/basic_tests.pl tests for 'mangle', 'nat', and 'raw' tables. |
| 5 |
- Minor additional bug fix for IPTables::Parse version comparison (reported |
| 6 |
by github user 'meZee'). |
| 7 |
- Minor documentation update to ensure to not recommend using predictable |
| 8 |
temporary file paths for iptables output. The default paths are |
| 9 |
provided via the File::Temp module in IPTables::Parse. |
| 10 |
|
| 11 |
1.5 Sat Dec 19 10:55:12 2015 |
| 12 |
- Minor bug fix for IPTables::Parse version comparison (reported by github |
| 13 |
user 'HellUnit'). |
| 14 |
|
| 15 |
1.4 Mon Sep 07 21:03:23 2015 |
| 16 |
- Added tests for iptables chain names that contain special characters. |
| 17 |
This is in response to a bug found by Stuart Schneider where |
| 18 |
IPTables::Parse module would not properly handle such chain names. |
| 19 |
|
| 20 |
1.3 Mon Feb 23 22:45:44 2015 |
| 21 |
- Added support for systems with 'firewalld' (such as Fedora 21). |
| 22 |
- For IPTables::Parse versions > 1.1, updated IPTables::ChainMgr to derive |
| 23 |
extended hash search keys for find_ip_rule() from IPTables::Parse. |
| 24 |
- For IPTables::Parse versions > 1.1, updated IPTables::ChainMgr to derive |
| 25 |
iptables 'match' keys to build iptables rules from IPTables::Parse. |
| 26 |
- Simplified append_ip_rule() to just be a wrapper around add_ip_rule(), |
| 27 |
which was updated to allow the value "-1" to be passed in as the rule |
| 28 |
insertion number in order to denote "append" (-A <chain>) mode. |
| 29 |
- Added "mac_source" tests to t/basic_tests.pl. |
| 30 |
- Added tests for iptables 'length' match. |
| 31 |
- Added print_parse_capabilities() so that IPTables::Parse keys/regex's can |
| 32 |
easily be seen. |
| 33 |
- Bug fix to ensure that state tracking arguments are properly processed |
| 34 |
by add_ip_rule(). |
| 35 |
|
| 36 |
1.2 Fri Mar 02 21:09:57 2012 |
| 37 |
- Added set_chain_policy() function to allow built-in chain policies to be |
| 38 |
set to the specified target. iptables/ip6tables does not allow the |
| 39 |
target to be set for non built-in chains. Behind the scenes this |
| 40 |
function runs the command "iptables -t <table> -P <chain> <target>". |
| 41 |
- Minor update to print the iptables binary name in 'croak' error |
| 42 |
conditions. The binary name is either 'iptables' or 'ip6tables'. |
| 43 |
- Minor perldoc updates to render links better (two spaces at the beginning |
| 44 |
of lines). |
| 45 |
|
| 46 |
1.1 Tue Feb 28 21:15:11 2012 |
| 47 |
- Added META.{yml,json} files similarly to fixing this bug filed against |
| 48 |
IPTables::Parse: |
| 49 |
https://rt.cpan.org/Ticket/Display.html?id=75366 |
| 50 |
- Minor bug fix to ensure not to look for 'extended' hash keys in returned |
| 51 |
IPTables::Parse data without an existence check first. |
| 52 |
- Added the ability to specify 'ip6tables' when instantiating an |
| 53 |
IPTables::ChainMgr object via 'new'. |
| 54 |
- Updated license to the Artistic license. |
| 55 |
|
| 56 |
1.0 Mon Feb 27 21:56:44 2012 |
| 57 |
- Added 'ctstate' and 'state' keys to extended hashes for find_ip_rule() |
| 58 |
and add_ip_rule(). This commit fixes: |
| 59 |
https://rt.cpan.org/Ticket/Display.html?id=67614 |
| 60 |
- Bug fix for missing IPTables::Parse dependency by applying patch from the |
| 61 |
CPAN bug tracking system here: |
| 62 |
https://rt.cpan.org/Ticket/Display.html?id=43302 |
| 63 |
|
| 64 |
0.9.9 Sun Feb 26 14:03:24 2012 |
| 65 |
- Updated to handle IPv6 via ip6tables. All functions in the previous |
| 66 |
version of this module now work with ip6tables - just instantiate the |
| 67 |
IPTables::ChainMgr object with something like the following: |
| 68 |
|
| 69 |
my %opts = ( |
| 70 |
'iptables' => $ip6tables_bin, |
| 71 |
'iptout' => '/tmp/ip6tables.out', |
| 72 |
'ipterr' => '/tmp/ip6tables.err', |
| 73 |
'debug' => 0, |
| 74 |
'verbose' => 0 |
| 75 |
); |
| 76 |
|
| 77 |
- Switched to using NetAddr::IP instead of the old Net::IPv4Addr module. |
| 78 |
This greatly assisted in the ability to offer IPv6 support via ip6tables. |
| 79 |
- Bug fix to ensure proper handling of empty 'extended' hashes via the |
| 80 |
'keys' function. |
| 81 |
- (Miloslav Trmac) Bug fix for "Use of qw(...) as parentheses is |
| 82 |
deprecated" warnings as described here: |
| 83 |
https://bugzilla.redhat.com/show_bug.cgi?id=771781 |
| 84 |
- Added a test suite at: t/basic_tests.pl |
| 85 |
- Migrated to git for source control: |
| 86 |
http://www.cipherdyne.org/cgi-bin/gitweb.cgi?p=IPTables-ChainMgr.git;a=summary |
| 87 |
https://github.com/mrash/IPTables-ChainMgr |
| 88 |
|
| 89 |
0.9 Sat Feb 11 23:11:45 2008 |
| 90 |
- Added Net::IPv4Addr prerequisite to Makefile.PL (patch submitted by |
| 91 |
Dominik Gehl). |
| 92 |
- Updated perldoc documentation to properly discuss the delete_chain() |
| 93 |
API. The material about the $jump_from_chain was missing (Darien |
| 94 |
Kindlund reported this issue). |
| 95 |
- Applied patch from Darien Kindlund to add the ability to specify the |
| 96 |
source MAC address via the --mac-source <addr> command line argument to |
| 97 |
iptables. |
| 98 |
|
| 99 |
0.8 Fri Oct 17 11:35:15 2008 |
| 100 |
- Added the ability to control the iptables execution model. The default |
| 101 |
is to use waitpid(), but other options are to use system() or popen(). |
| 102 |
- Added the ability to introduce a configurable time delay between each |
| 103 |
iptables command. |
| 104 |
- Added the ability to use a function reference for the SIGCHLD signal |
| 105 |
handler. |
| 106 |
- Added the ability to configure the number of seconds used as the alarm |
| 107 |
timeout for iptables command execution in the waitpid() execution model. |
| 108 |
- Passed IPTables::ChainMgr options for execution model, configurable alarm |
| 109 |
timeouts, the SIGCHLD signal handler reference, and the configurable |
| 110 |
number of seconds for additional sleeps between iptables commands to the |
| 111 |
IPTables::Parse module. |
| 112 |
- Bugfix for SIGALRM handling to be more consistent with an example from |
| 113 |
the perlipc man page. |
| 114 |
- Added append_ip_rule() so that new iptables rules can be appended to the |
| 115 |
end of a chain instead of just inserted at a particular rule number. |
| 116 |
|
| 117 |
0.7 Sat May 17 10:49:15 2008 |
| 118 |
- Added perldoc documentation for 0.7 release. |
| 119 |
|
| 120 |
0.01 Tue Feb 22 01:18:14 2005 |
| 121 |
- original version; created by h2xs 1.23 with options |
| 122 |
-A -X -b 5.6.0 -n IPTables::ChainMgr |