Project

General

Profile

Actions

Bug #6395

closed

Comments are not removed from URL Table (Ports) links

Added by Alex Vergilis over 8 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
05/23/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:

Description

After upgrading from 2.2.6 on the 2.3.1 release, errors appear while loading rules, if the rule contains a "URL Table (Ports)" and the linked document contains comments.

Sample error:

There were error(s) loading the rules: /tmp/rules.debug:158: syntax error - The line in question reads [158]: pass in quick on $WAN reply-to ( igb1 192.168.1.1 ) inet proto tcp from $UrlTableHosts to any port $UrlTablePortsTcp tracker 1450580033 flags S/SA keep state label "USER_RULE" @ 2016-05-21 00:00:00

Sample URL Table (Ports) file hosted on a server:

#
# Confidential and secret
#
# Web Ports
#
80
443

Actions

Also available in: Atom PDF