aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall
Commit message (Collapse)AuthorAgeFilesLines
* AA: firewall: merge r37082 (#13787)Jo-Philipp Wich2013-06-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36963Jo-Philipp Wich2013-06-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36960Jo-Philipp Wich2013-06-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36935Jo-Philipp Wich2013-06-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36933Jo-Philipp Wich2013-06-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36871Jo-Philipp Wich2013-06-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: backport r36868 (#13653)Jo-Philipp Wich2013-06-061-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r36854Jo-Philipp Wich2013-06-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall3: rename to firewall, move into base system menu, update to git ↵Jo-Philipp Wich2013-06-045-0/+285
| | | | | | head with compatibility fixes for AA git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: Drop legacy firewall packageJo-Philipp Wich2013-06-0417-1925/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: backport r36623Steven Barth2013-05-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: backport r35348Jo-Philipp Wich2013-01-282-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: firewall: merge r34472 and r34569Jo-Philipp Wich2013-01-022-87/+124
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: also set up nat reflection rules for redirects with ↵Jo-Philipp Wich2012-07-092-2/+3
| | | | | | proto all and/or no src_dport set git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: allow incoming ICMPv6 router-advertisement and ↵Jo-Philipp Wich2012-06-082-1/+3
| | | | | | neighbor-advertisement, thanks swalker git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-052-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] firewall: fix nat reflection after netifd status format changeJo-Philipp Wich2012-05-282-48/+10
| | | | | | | - use /lib/functions/network.sh - simplify nat reflection code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: rework interface address determination to skip ipv6 ↵Jo-Philipp Wich2012-05-161-9/+19
| | | | | | addresses git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix nat reflection after netifd switch (#11460)Jo-Philipp Wich2012-05-162-4/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/firewall] minor change: adjust formatting of firewall.configMirko Vogt2012-04-211-13/+13
| | | | | | | - remove trailing whitespaces (s/\ $//g) - replace spaces with tabs between options and values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: revert processing order of redirects and rules, ensures ↵Jo-Philipp Wich2012-03-182-4/+4
| | | | | | that rules can be used to filter before redirects are reached git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix fw__uci_state_del() procedure (#11132)Jo-Philipp Wich2012-03-132-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: allow ICMPv6 type 129 (echo reply) - this fixes basic ↵Jo-Philipp Wich2012-02-252-1/+3
| | | | | | ICMPv6 in case no connection tracking is used git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: bail out if uci is used in firewall include filesJo-Philipp Wich2012-02-232-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: make it possible to dynamically configure built-in statically ↵Felix Fietkau2012-02-221-1/+1
| | | | | | linked extensions, fold -mod-conntrack and -mod-nat into the default package. saves about 8k on an ar71xx default squashfs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: don't filter IPv4 ICMP types (#10928)Jo-Philipp Wich2012-02-072-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: add support for "local" port forwards which target an ↵Jo-Philipp Wich2012-01-082-4/+15
| | | | | | internal address on the router itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall:Jo-Philipp Wich2011-12-203-2/+11
| | | | | | | | | - introduce per-section "option enabled" which defaults to "1" - useful to disable rules or zones without having to delete them - annotate default traffic rules with names - bump version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: add DHCPv6 default rule (#10381)Jo-Philipp Wich2011-11-092-1/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: relocate TCPMSS rules into mangle table, add code to ↵Jo-Philipp Wich2011-10-294-7/+21
| | | | | | selectively clear them out again git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: do not produce 0.0.0.0/0 if a symbolic masq_src or ↵Jo-Philipp Wich2011-10-273-4/+7
| | | | | | masq_dest is given but does not resolve to an ip git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: prevent ip6tables -t nat rules (#10265)Jo-Philipp Wich2011-10-232-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix another instance of unquoted "*"Jo-Philipp Wich2011-10-222-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix possible expansion of "*" when rules with "option ↵Jo-Philipp Wich2011-10-222-6/+11
| | | | | | src *" are processed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: do not check for module availability, let iptables fail ↵Jo-Philipp Wich2011-10-222-16/+2
| | | | | | if a feature is not present (#7610) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: make ESTABLISHED,RELATED rules match before INVALID, use ↵Jo-Philipp Wich2011-09-012-9/+9
| | | | | | conntrack instead of state match (#10038) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: further tune ICMPv6 default rules according to RFC4890 ↵Jo-Philipp Wich2011-08-143-2/+18
| | | | | | (#9893) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: prevent redundant rules if multiple ports and multiple ↵Jo-Philipp Wich2011-07-262-8/+17
| | | | | | icmp types are given in a rule block for both icmp and other protocols git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix serious bug in state var handling (#9746)Jo-Philipp Wich2011-07-202-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: rework state variable handling, use uci_toggle_state() ↵Jo-Philipp Wich2011-07-152-18/+25
| | | | | | where applicable and properly handle duplicates in add and del state helpers (#9152, #9710) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: make sure that -m mac is used with --mac-source, follow ↵Jo-Philipp Wich2011-07-072-2/+2
| | | | | | up to r27508 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: also correct another variable missed in previous commitDaniel Dickinson2011-07-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix wrong variable names for protocol command line ↵Daniel Dickinson2011-07-071-2/+2
| | | | | | parameter - were missed during r27500 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall:Jo-Philipp Wich2011-07-064-30/+26
| | | | | | | | | | - solve scoping issues when multiple values are used, thanks 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix udp rules for tcpudp proto rules using src_port and ↵Daniel Dickinson2011-07-061-0/+7
| | | | | | dest_port after modification by the parsing of the tcp rule git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix port range quirk in previous commitJo-Philipp Wich2011-07-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: properly handle negated ports in nat reflectionJo-Philipp Wich2011-07-012-5/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: refine default ICMPv6 rules to better conform with ↵Jo-Philipp Wich2011-06-301-13/+2
| | | | | | RFC4890, do not forward link local ICMP message types, allow parameter problem git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: restore local port relocation ability from r26617Jo-Philipp Wich2011-06-301-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall:Jo-Philipp Wich2011-06-306-74/+220
| | | | | | | | | | | | | - allow multiple ports, protocols, macs, icmp types per rule - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27317 3c298f89-4303-0410-b956-a3cf2f4a3e73