Project

General

Profile

Actions

Bug #8636

closed

pfSense_kill_states function does not parse protocol parameter correctly

Added by Steven Brown almost 6 years ago. Updated over 4 years ago.

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

pfSense.c.patch (681 Bytes) pfSense.c.patch Steven Brown, 07/11/2018 12:59 AM
Actions

Also available in: Atom PDF