aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
Commit message (Collapse)AuthorAgeFilesLines
* firewall: fix fallout from r18716 (fixes #6338)Felix Fietkau2009-12-101-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: get rid of recursive shell script inclusion to improve hush ↵Felix Fietkau2009-12-092-37/+46
| | | | | | compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: initialize dest_port with src_dport if omitted in ↵Jo-Philipp Wich2009-12-011-21/+21
| | | | | | | | | redirect sections to narrow down corresponding forward rules to the actual target ports - thanks Niels Boehm! (#6249) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix zone defaultsFelix Fietkau2009-10-111-2/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: do not process rules in reverseFelix Fietkau2009-10-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: fix MSS issue affection RELATED new connections (closes: ↵Nicolas Thill2009-09-272-4/+4
| | | | | | #5173) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: add sanity checks to zone default rules (patch from #5459)Felix Fietkau2009-09-241-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: move the config_get out of the loop, no need to call it ↵Jo-Philipp Wich2009-09-141-2/+3
| | | | | | multiple times git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: properly dispatch delif events if the network has a ↵Jo-Philipp Wich2009-09-141-1/+1
| | | | | | different name then the corresponding zone git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: emit hotplug events for interface add/removeFelix Fietkau2009-08-261-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: allow incoming udp/68 packets in the default ↵Jo-Philipp Wich2009-08-131-0/+8
| | | | | | configuration (#4108, #4781) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: add icmp_type option to specify the icmp type in rule ↵Jo-Philipp Wich2009-08-031-0/+3
| | | | | | sections, bump pkg revision (#5554) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix typo in the uci firewall scriptFlorian Fainelli2009-05-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: automatically set up NOTRACK rules to disable connection tracking ↵Felix Fietkau2009-05-141-13/+43
| | | | | | for zones that have no masquerading, no conntrack and no forwarding from/to other zones with masq/conntrack git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: process custom rules after forwardings and redirects, ↵Jo-Philipp Wich2009-04-191-2/+2
| | | | | | this actually allows blocking traffic to certain hosts and other rules git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] firewall: enable /etc/firewall.user by default and install sample ↵Jo-Philipp Wich2009-04-122-4/+8
| | | | | | firewall.user file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* re-enable the mss fix by default for now - see discussion at ↵Felix Fietkau2009-01-311-5/+1
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2009-January/003724.html for more information git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: don't clear the mangle table at startup or stop - it doesn't use ↵Felix Fietkau2009-01-201-4/+0
| | | | | | it and clearing it breaks qos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: introduce drop_invalid option to allow disabling the invalid state ↵Jo-Philipp Wich2009-01-161-7/+10
| | | | | | match git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: allow multiple interfaces to be part of one zone, fix the sanity ↵Felix Fietkau2009-01-162-39/+52
| | | | | | checks for that git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: clear the MSSFIX rulesFelix Fietkau2009-01-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Unify portrange-support in firewall rule generatorSteven Barth2009-01-011-0/+10
| | | | | | fixes #4404 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable the MSS fixup hack by default (most ISPs don't require this as a ↵Felix Fietkau2008-12-312-1/+9
| | | | | | workaround for MTU problems, only some do). this should give a nice speedup for routing on standard-compliant ISPs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes firewall for trunk, custom chains were never reched, as policies apply ↵John Crispin2008-10-141-3/+3
| | | | | | beforehand git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes firewall rule generation. forwarding rules were inserted in input ↵John Crispin2008-09-281-3/+6
| | | | | | chains, fixes #4028 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* custom chains were never reached on DROP/REJECT policy, fixes #4004 #4029John Crispin2008-09-281-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* set default input policy to ACCEPT to bring the firewall behavior closer to ↵Felix Fietkau2008-09-281-1/+1
| | | | | | the one of previous versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix default policies, add a check for duplicate defaults sections ↵Felix Fietkau2008-09-281-18/+34
| | | | | | and make custom chains more generic git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall changes:Nicolas Thill2008-09-242-33/+57
| | | | | | | | - implement a REJECT policy and enable it by default, reject packets with approriate response (closes: #3970) - cleanup syn_flood and remove logging git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fixed a typo in the firewall scriptsSteven Barth2008-09-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fixed a typo in firewall scripts, closes #4000Steven Barth2008-09-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make uci firewall backwards compatible to the old firewall.userJohn Crispin2008-08-271-2/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add proto tcpudp to firewallJohn Crispin2008-08-271-38/+51
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix device duplication in firewall if the balancing of ifup and ifdown is brokenJohn Crispin2008-08-271-2/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make sure uci firewall reverts its states when stoppedJohn Crispin2008-08-271-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes uci firewall init order, Signed-off-by: Roberto Riggio John Crispin2008-08-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: Added support for port-ranges as firstPort-lastPort to redirect ↵Steven Barth2008-08-271-0/+17
| | | | | | sections git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds 5 new chains to the uci firewall that can be used to hook custom rulesJohn Crispin2008-08-271-1/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds more sanity checks to uci firewallJohn Crispin2008-08-261-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use proto instead of protocol in uci firewallJohn Crispin2008-08-262-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix some firewall script typos (patch from #3897)Felix Fietkau2008-08-171-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo, proto should be protocolTravis Kemen2008-08-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* trigger error if dport is used when no proto is definedJohn Crispin2008-08-151-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci firewallJohn Crispin2008-08-118-270/+0
| | | | | | | | - make uci firewall default and remove old code - fix up dependencies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci_firewallJohn Crispin2008-08-111-1/+1
| | | | | | | | - fixes hotplug.d script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci firewallJohn Crispin2008-08-112-9/+1
| | | | | | | - remove implicit creation of zones, based on network interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds a new uci firewallJohn Crispin2008-08-048-0/+696
- iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default - there are some examples in the file /etc/config/firewall - iptables-save/restore are still missing - hotplug takes care of adding/removing netdevs during runtime - misisng features ? wishes ? let me know ... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12089 3c298f89-4303-0410-b956-a3cf2f4a3e73