Bug #8636
closedpfSense_kill_states function does not parse protocol parameter correctly
0%
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
Updated by Jim Pingle over 6 years ago
- Category set to Rules / NAT
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
Can you submit that as a Github pull request on the pfSense FreeBSD-ports repository at https://github.com/pfsense/freebsd-ports/ ?
This file specifically is:
https://github.com/pfsense/FreeBSD-ports/blob/devel/devel/php-pfSense-module/files/pfSense.c
It is much easier for us to review and merge patches submitted in that way. See https://www.netgate.com/docs/pfsense/development/submitting-a-pull-request-via-github.html
Updated by Steven Brown over 6 years ago
Pull request created: https://github.com/pfsense/FreeBSD-ports/pull/538
Updated by Jim Pingle over 5 years ago
- Status changed from New to Resolved
PR was merged several months ago.