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

Owner: fukawi2 [...]
Requestors: rest [...]

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 [...]
From: XiconRest <rest [...]>
Download (untitled) / with headers
text/plain 572b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to