aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/lib/core_rule.sh
Commit message (Collapse)AuthorAgeFilesLines
* packages: sort network related packages into package/network/Felix Fietkau2012-10-101-110/+0
| | | | SVN-Revision: 33688
* firewall: fix another instance of unquoted "*"Jo-Philipp Wich2011-10-221-1/+1
| | | | SVN-Revision: 28529
* firewall: prevent redundant rules if multiple ports and multiple icmp types ↵Jo-Philipp Wich2011-07-261-7/+16
| | | | | | are given in a rule block for both icmp and other protocols SVN-Revision: 27792
* firewall: - solve scoping issues when multiple values are used, thanks ↵Jo-Philipp Wich2011-07-061-23/+19
| | | | | | Daniel Dickinson - ignore src_port/dest_port for proto icmp rules, ignore icmp_type for non-icmp rules - properly handle icmp when proto is given in numerical form (1, 58) - support negated icmp types SVN-Revision: 27500
* firewall: fix udp rules for tcpudp proto rules using src_port and dest_port ↵Daniel Dickinson2011-07-061-0/+7
| | | | | | after modification by the parsing of the tcp rule SVN-Revision: 27469
* firewall: - allow multiple ports, protocols, macs, icmp types per rule - ↵Jo-Philipp Wich2011-06-301-18/+45
| | | | | | implement "limit" and "limit_burst" options for rules - implement "extra" option to rules and redirects for passing arbritary flags to iptables - implement negations for "src_port", "dest_port", "src_dport", "src_mac", "proto" and "icmp_type" options - allow wildcard (*) "src" and "dest" options in rules to allow specifying "any" source or destination - validate symbolic icmp-type names against the selected iptables binary - properly handle forwarded ICMPv6 traffic in the default configuration SVN-Revision: 27317
* firewall: fix wrong rule order if multiple protocols are usedJo-Philipp Wich2011-01-271-3/+3
| | | | SVN-Revision: 25179
* firewall: insert SNAT and DNAT rules according to the order of the ↵Jo-Philipp Wich2010-10-081-1/+1
| | | | | | configuration file (#8052) SVN-Revision: 23318
* firewall: fix chain selection logic, option dest must be ignored for notrack ↵Jo-Philipp Wich2010-09-281-6/+5
| | | | | | targets SVN-Revision: 23143
* fireall: - support negations for src_ip, dest_ip, src_dip options in rules ↵Jo-Philipp Wich2010-09-281-17/+20
| | | | | | and redirects - add NOTRACK target to rule sections, allows to define fine grained notrack rules SVN-Revision: 23141
* firewall: - simplify masquerade rule setup - remove various subshell ↵Jo-Philipp Wich2010-09-111-3/+4
| | | | | | invocations - speedup fw() by not relying on xargs and pipes - rework SNAT support - attach to dest zone, use src_dip/src_dport as snat source SVN-Revision: 23024
* firewall: Initial alias interface support. This allows to define zones ↵Jo-Philipp Wich2010-06-011-1/+0
| | | | | | covering alias interfaces and associated entries like rules and forwardings. SVN-Revision: 21653
* firewall: fix support for netranges in redirect and rule sectionsJo-Philipp Wich2010-05-301-2/+2
| | | | SVN-Revision: 21640
* firewall: count rules per chain and family, fix wrong order of ip6tables ↵Jo-Philipp Wich2010-05-221-4/+4
| | | | | | rules when ipv4 only or dual family rules are defined SVN-Revision: 21533
* firewall: - fix ip6tables rules when icmp_type option is set - add "family" ↵Jo-Philipp Wich2010-05-191-1/+4
| | | | | | option to zones, forwardings, redirects and rules to selectively apply rules to iptables and/or ip6tables SVN-Revision: 21508
* firewall: - replace uci firewall with a modular dual stack implementation ↵Jo-Philipp Wich2010-05-011-0/+66
developed by Malte S. Stretz - bump version to 2 SVN-Revision: 21286