| 1 |
Revision history for Perl extension IPTables::Parse. |
| 2 |
|
| 3 |
1.6 Sat Nov 07 08:45:15 2015 |
| 4 |
- (Miloslav Trmač) Fixed a vulnerability to not use predictable names for |
| 5 |
temporary files. This vulnerability would allow an attacker on a multi- |
| 6 |
user system to set up symlinks to overwrite any file the current user has |
| 7 |
write access to. If a user manually overrides the temporary file |
| 8 |
locations with the 'iptout' and 'ipterr' hash keys, it is recommended to |
| 9 |
not use predictable names either. |
| 10 |
- Updated to use the '-w' argument on the iptables command line (a test is |
| 11 |
performed to see if it is supported). This acquires an exclusive lock on |
| 12 |
iptables command execution. This can be disable by the user if necessary |
| 13 |
by setting the new lockless_ipt_exec hash key. |
| 14 |
|
| 15 |
1.5 Mon Sep 07 20:18:16 2015 |
| 16 |
- Bug fix to support additional characters in iptables chain names such as |
| 17 |
dashes and special characters. Stuart Schneider reported this bug and |
| 18 |
submitted a patch. Closes github issue #1. |
| 19 |
- Added 'rule_num' hash key to chain_rules() results (suggested by Stuart |
| 20 |
Schneider). |
| 21 |
- Updated _iptout and _ipterr tmp file paths to use the current PID as an |
| 22 |
extension by default if these files are not set when instantiating an |
| 23 |
IPTables::Parse object. Also added a DESTROY block to clean these tmp |
| 24 |
files up. Patch submitted by Stuart Schneider. |
| 25 |
|
| 26 |
1.4 Sun Mar 01 15:30:29 2015 |
| 27 |
- Bump version to 1.4 so that CPAN recognizes it as a new version. |
| 28 |
|
| 29 |
1.3.1 Sat Feb 28 07:15:55 2015 |
| 30 |
- Fix version number in META.json and META.yml files. |
| 31 |
|
| 32 |
1.3 Thu Feb 19 20:09:55 2015 |
| 33 |
- Added support for systems with 'firewalld' via the 'firewall-cmd' |
| 34 |
command. Such systems include Fedora 21 for example. |
| 35 |
- Added list_table_chains() to return an array reference of all chains |
| 36 |
within the specified table. This feature was submitted as a patch by |
| 37 |
Fabien Mazieres |
| 38 |
- Added 'use_ipv6' and 'ipt_rules_file' keys to object constructor. These |
| 39 |
force ip6tables usage and specify a path to a file where |
| 40 |
'iptables -nL -v' output is included. |
| 41 |
- Updated perldoc documentation. |
| 42 |
|
| 43 |
1.2 Sun Mar 04 21:21:11 2012 |
| 44 |
- Major update to add a new 'parse_keys' hash to IPTables::Parse objects so |
| 45 |
that other modules can easily see what portions of iptables rules can be |
| 46 |
parsed into the data returned by chain_rules(). |
| 47 |
- Added 'mac_source' into extended hash for parsed iptables rules. |
| 48 |
- Added support for the iptables 'length' match. |
| 49 |
|
| 50 |
1.1 Fri Mar 02 22:31:12 2012 |
| 51 |
- Minor update to print the iptables binary name in 'croak' error |
| 52 |
conditions. The binary name is either 'iptables' or 'ip6tables'. |
| 53 |
- Minor perldoc updates to render links better (two spaces at the beginning |
| 54 |
of lines). |
| 55 |
|
| 56 |
1.0 Tue Feb 28 21:45:19 2012 |
| 57 |
- Added META.{yml,json} files to fix this bug: |
| 58 |
https://rt.cpan.org/Ticket/Display.html?id=75366 |
| 59 |
- Added the ability to specify 'ip6tables' when instantiating an |
| 60 |
IPTables::ChainMgr object via 'new'. |
| 61 |
- Updated license to the Artistic license. |
| 62 |
|
| 63 |
0.9 Sun Feb 26 21:01:45 2012 |
| 64 |
- Applied slightly modified patch from SSIMON to properly pick up usage of |
| 65 |
state tracking in rule extended information as shown in this bug: |
| 66 |
https://rt.cpan.org/Ticket/Display.html?id=67372#txn-925687 |
| 67 |
Rule 'extended' hash now includes the 'state' or 'ctstate' key |
| 68 |
depending on which iptables state tracking module is being used (if |
| 69 |
any). |
| 70 |
|
| 71 |
0.8 Sun Feb 26 14:03:24 2012 |
| 72 |
- Major update to support ip6tables policies. |
| 73 |
- Added test suite script t/basic_tests.pl to exercise major functions for |
| 74 |
both iptables and ip6tables. |
| 75 |
- Bugfix for default_log() and default_drop() functions to ensure that |
| 76 |
a proper return value is given in addition to the return of a results |
| 77 |
hash. |
| 78 |
- Migrated to git for source control: |
| 79 |
http://www.cipherdyne.org/cgi-bin/gitweb.cgi?p=IPTables-Parse.git;a=summary |
| 80 |
https://github.com/mrash/IPTables-Parse |
| 81 |
|
| 82 |
0.7 Fri Oct 17 11:55:01 2008 |
| 83 |
- Completely re-worked the manner in which iptables commands are executed |
| 84 |
so that they are sent through a single function with various options |
| 85 |
(described below) for controlling execution. |
| 86 |
- Added the ability to control iptables execution model. The default is to |
| 87 |
use waitpid(), but other options are to use system() or popen(). |
| 88 |
- Added the ability to introduce a configurable time delay between each |
| 89 |
iptables command. |
| 90 |
- Added the ability to use a function reference for the SIGCHLD signal |
| 91 |
handler. |
| 92 |
- Added the ability to configure the number of seconds used as the alarm |
| 93 |
timeout for iptables command execution in the waitpid() execution model. |
| 94 |
|
| 95 |
0.6 Mon May 19 10:15:01 2008 |
| 96 |
- Added perldoc documentation for 0.6 release. |
| 97 |
|
| 98 |
0.3 12/18/2005 |
| 99 |
- Added test for ULOG target |
| 100 |
- Update to allow -v iptables output (which may be supplied in a file). |
| 101 |
|
| 102 |
0.01 Sat Feb 5 15:18:37 2005 |
| 103 |
- original version; created by h2xs 1.23 with options |
| 104 |
-A -X -b 5.6.0 -n IPTables::Parse |