summaryrefslogtreecommitdiff
path: root/package/firewall
AgeCommit message (Collapse)Author
2010-05-19[package] firewall: don't apply default udp/68 rule to ip6tablesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19[package] firewall:jow
- fix ip6tables rules when icmp_type option is set - add "family" option to zones, forwardings, redirects and rules to selectively apply rules to iptables and/or ip6tables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19[package] firewall: add commented disable_ipv6 option to default configjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19[package] firewall: implement disable_ipv6 uci optionjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19[package] firewall (#7355)jow
- partially revert r21486, start firewall on init again - skip iface hotplug events if base fw is not up yet - get ifname and up state with uci_get_state() in iface setup since the values gathered by scan_interfaces() may be outdated when iface coldplugging happens (observed with pptp) - ignore up state when bringing down interfaces because ifdown reverts state vars before dispatching the iface event - bump package revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-18[package] firewall: fix a possible deadlock when the firewall config has ↵jow
syntax errors during restart git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] firewall: use uci_get_state() wrapperjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] firewall: properly clear hooks in fw_stop() to prevent extensions ↵jow
from being called twice after fw_restart() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] firewall:jow
- defer firewall start until the first interface is brought up by hotplug, fixes race conditions on slow devices - create a file lock during firewall start and wait for it in hotplug events, prevents race conditions between start and addif - start firewall actions in background from hotplug handler since the firewall itself fires further hotplug events which results in a deadlock if not forked off - get loaded state direcly from the uci binary since updated value is not recognized by config_get after uci_set_state - bump package revision to r2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05[package] firewall: properly unset position for delete command, fixes rule ↵jow
removal in ifdown git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05[package] firewall: fix bug in iface hotplug handlerjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01[package] firewall:jow
- replace uci firewall with a modular dual stack implementation developed by Malte S. Stretz - bump version to 2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18allow pingthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02[package] firewall: insert rules at the beginning of chains again while ↵jow
maintaining non reversed order, fixes wrong ordering introduced by r18015 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20[package] firewall: fix bad number error in fw_redirect() (#6704)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11Add destination ip of the wan adapter useful if you have multiple ip addresses.thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19[package] firewall: fix a race condition preventing interfaces from being ↵jow
added to the firewall on boot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-10firewall: fix fallout from r18716 (fixes #6338)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09firewall: get rid of recursive shell script inclusion to improve hush ↵nbd
compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09adjust dependencies of firewall and qos-scripts, so that these packages are ↵nbd
visible even when iptables is not selected git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-01[package] firewall: initialize dest_port with src_dport if omitted in ↵jow
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
2009-10-11firewall: fix zone defaultsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10firewall: do not process rules in reversenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27[package] firewall: fix MSS issue affection RELATED new connections (closes: ↵nico
#5173) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-24firewall: add sanity checks to zone default rules (patch from #5459)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14[package] firewall: move the config_get out of the loop, no need to call it ↵jow
multiple times git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14[package] firewall: properly dispatch delif events if the network has a ↵jow
different name then the corresponding zone git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10[package] bump some revisions and update copyrightsagb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26firewall: emit hotplug events for interface add/removenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-13[package] firewall: allow incoming udp/68 packets in the default ↵jow
configuration (#4108, #4781) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-03[package] firewall: add icmp_type option to specify the icmp type in rule ↵jow
sections, bump pkg revision (#5554) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-24[package] set PKGARCH to all for packages in trunk containing only ↵florian
arch-neutral files (#5572) Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26[package] fix typo in the uci firewall scriptflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-14firewall: automatically set up NOTRACK rules to disable connection tracking ↵nbd
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
2009-04-19[package] firewall: actually copy firewall.user to imagejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19[package] firewall: process custom rules after forwardings and redirects, ↵jow
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
2009-04-12[package] firewall: enable /etc/firewall.user by default and install sample ↵jow
firewall.user file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31re-enable the mss fix by default for now - see discussion at ↵nbd
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
2009-01-20firewall: don't clear the mangle table at startup or stop - it doesn't use ↵nbd
it and clearing it breaks qos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16firewall: introduce drop_invalid option to allow disabling the invalid state ↵jow
match git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16firewall: allow multiple interfaces to be part of one zone, fix the sanity ↵nbd
checks for that git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02firewall: clear the MSSFIX rulesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-01Unify portrange-support in firewall rule generatorcyrus
fixes #4404 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-31disable the MSS fixup hack by default (most ISPs don't require this as a ↵nbd
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
2008-10-14fixes firewall for trunk, custom chains were never reched, as policies apply ↵blogic
beforehand git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28fixes firewall rule generation. forwarding rules were inserted in input ↵blogic
chains, fixes #4028 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28custom chains were never reached on DROP/REJECT policy, fixes #4004 #4029blogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28set default input policy to ACCEPT to bring the firewall behavior closer to ↵nbd
the one of previous versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28firewall: fix default policies, add a check for duplicate defaults sections ↵nbd
and make custom chains more generic git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-24firewall changes:nico
- 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