Actions
Bug #8636
closedpfSense_kill_states function does not parse protocol parameter correctly
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
-
Start date:
07/11/2018
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
Inside pfSense-ports/devel/php56-pfSense-module/files/pfSense.c the function pfSense_kill_states takes a parameter for network protocol.
When parsing the protocol string, it incorrectly compares the parameter when it should be testing for "udp", "icmpv6" and "icmp". This means it is impossible to kill "udp", "icmpv6" and "icmp" states based on protocol.
Attached is a patch to fix the issue.
Files
Actions