ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000042ClearOSapp-firewall-custom - Custom Firewallpublic2010-03-15 03:162010-07-14 20:40
Reportertimb80 
Assigned Todsokoloski 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.1 
Target Version5.2Fixed in Version5.2 
Summary0000042: Advanced Firewall - Outgoing Block, Soure / Dest Ports swapped
DescriptionRefer to forum thread by Sergiu
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,7/func,view/id,7526/#7528 [^]

Source / Destination ports swapped in created iptables 'forward chain' rules, when attempting to create outgoing block via the advanced firewall module

To recreate:-
Network - Firewall section -Advanced - Outgoing Block
Protocol: TCP
Source Address: empty
Source Port (Range): empty
Destination Address: 10.1.2.3
Destination Port (Range): 80

[root@starlane ~]# iptables -L -n -v | grep 10.1.2.3
    0 0 DROP tcp -- * * 0.0.0.0/0 10.1.2.3 tcp spt:80

Now swap - attempt source port block
Protocol: TCP
Source Address: 10.1.2.3
Source Port (Range): 80
Destination Address: empty
Destination Port (Range): empty

[root@starlane ~]# iptables -L -n -v | grep 10.1.2.3
    0 0 DROP tcp -- * * 10.1.2.3 0.0.0.0/0 tcp dpt:80

Note the changes in spt / dpt in iptables rule
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-03-15 03:16 timb80 New Issue
2010-03-17 15:11 user2 Status new => acknowledged
2010-07-07 13:07 user2 Assigned To => dsokoloski
2010-07-07 13:07 user2 Status acknowledged => resolved
2010-07-07 13:07 user2 Fixed in Version => 5.2
2010-07-07 13:07 user2 Target Version => 5.2
2010-07-14 20:40 user2 Status resolved => closed
2010-07-14 20:40 user2 Resolution open => fixed