Changeset 22216 for branches/backfire


Ignore:
Timestamp:
2010-07-16T00:08:02+02:00 (6 years ago)
Author:
jow
Message:

[backfire] firewall: consider zones referenced by redirects as conntracked (#7196)

Location:
branches/backfire/package/firewall
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/firewall/Makefile

    r19232 r22216  
    1010 
    1111PKG_VERSION:=1 
    12 PKG_RELEASE:=10 
     12PKG_RELEASE:=11 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • branches/backfire/package/firewall/files/uci_firewall.sh

    r19946 r22216  
    357357                echo "redirect needs src and dest_ip"; return ; } 
    358358 
     359        find_item "$src" $CONNTRACK_ZONES || \ 
     360                append CONNTRACK_ZONES "$src" 
     361 
    359362        src_port_first=${src_port%-*} 
    360363        src_port_last=${src_port#*-} 
     
    392395                        -j ACCEPT 
    393396        } 
     397 
    394398        [ "$proto" == "tcpudp" -o -z "$proto" ] && { 
    395399                proto=tcp 
Note: See TracChangeset for help on using the changeset viewer.