ClearFoundation Tracker - ClearOS
View Issue Details
0000005ClearOSdeprecated - ClearOS 5 Protocol Filterpublic2010-01-18 16:122010-03-02 19:22
Vejlefjordskolen 
dsokoloski 
normalminorhave not tried
closedfixed 
5.1 
5.15.1 
0000005: Protocols with dashes in their names are not blocked
In the /etc/rc.d/firewall.lua script you match protocols in the l7-filter configuration file by using the regular expression "^(%w+)%s(%d+)", but %w doesn't match dashes (-) which are used in some of the names of the protocols. This causes missing iptables rules matching the marks of those protocols.
No tags attached.
Issue History
2010-01-18 16:12VejlefjordskolenNew Issue
2010-01-19 08:26user2Assigned To => dsokoloski
2010-01-19 08:26user2Statusnew => acknowledged
2010-01-19 08:26user2Target Version => 5.1
2010-01-19 08:27user2Statusacknowledged => assigned
2010-01-19 11:35dsokoloskiNote Added: 0000005
2010-01-19 11:35dsokoloskiStatusassigned => resolved
2010-01-19 11:35dsokoloskiResolutionopen => fixed
2010-01-19 11:35dsokoloskiFixed in Version => 5.2
2010-02-08 18:14user2Target Version5.1 => 5.2
2010-02-22 16:57user2Checkin
2010-02-22 16:57user2Note Added: 0000039
2010-02-23 14:43user2Checkin
2010-02-23 14:43user2Note Added: 0000044
2010-02-24 10:03user2Fixed in Version5.2 => 5.1
2010-02-24 10:03user2Target Version5.2 => 5.1
2010-03-01 15:07user2Note Deleted: 0000044
2010-03-02 19:22user2Note Added: 0000053
2010-03-02 19:22user2Statusresolved => closed
2018-01-15 16:31user2Categoryapp-protocol-filter - Protocol Filter Manager => app-protocol-filter - ClearOS 5
2018-01-15 16:32user2Categoryapp-protocol-filter - ClearOS 5 => deprecated - ClearOS 5 Protocol Filter

Notes
(0000005)
dsokoloski   
2010-01-19 11:35   
Good catch!
(0000039)
user2   
2010-02-22 16:57   
Source Code Changelog
---------------------------------------------------
- Fixed parsing issue with protocol filter names containing dashes [fixed tracker 0000005]

File Changes
---------------------------------------------------
U legacy/modules/branches/5.1/app-firewall/firewall.lua
(0000053)
user2   
2010-03-02 19:22   
Errata Update CFBA-2010:031 - http://clearsdn.clearcenter.com/software/admin.php?aid=31 [^]