Skip Menu |

This queue is for tickets about the IPTables-Rule CPAN distribution.

Report information
The Basics
Id: 115869
Status: resolved
Priority: 0/
Queue: IPTables-Rule

People
Owner: fukawi2 [...] gmail.com
Requestors: rest [...] xicon.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: invalid connection tracking state: NEW,ESTABLISHED
Date: Tue, 5 Jul 2016 00:24:24 +0200
To: bug-IPTables-Rule [...] rt.cpan.org
From: XiconRest <rest [...] xicon.de>
Dear IPTables::Rule maintainer, the $ipt_rule->state() function knows the available states NEW, ESTABLISHED, RELATED, INVALID and UNTRACKED, but not in combination like "NEW,ESTABLISHED" or "NEW,ESTABLISHED,RELATED". It produces an error e.x. "invalid connection tracking state: NEW,ESTABLISHED,RELATED" (if $ipt_rule->errstr is used). Therefore I added a few new lines to give your code the option to validate a multi-state argument. I hope this code fits your style - I'm pretty sure this can be made much better ;) Patch is attached. Best regards xiconfjs

Message body is not shown because sender requested not to inline it.