git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
b0abe4a
)
Using DROP is bad behaviour, use REJECT instead
author
Steven Barth
<redacted>
Sun, 25 Jan 2009 13:30:24 +0000
(13:30 +0000)
committer
Steven Barth
<redacted>
Sun, 25 Jan 2009 13:30:24 +0000
(13:30 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
patch
|
blob
|
history
diff --git
a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 053df036a9c1182e45f0f0f26a5f87a1f72f6221..827bc14b7f86f95ab7e5f0d50f55abfbf0b7d64e 100644
(file)
--- a/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@
-172,7
+172,7
@@
function main.write(self, section, value)
uci:save("wireless")
-- Create firewall zone and add default rules (first time)
- local newzone = tools.firewall_create_zone("freifunk", "
DROP", "ACCEPT", "DROP
", true)
+ local newzone = tools.firewall_create_zone("freifunk", "
REJECT", "ACCEPT", "REJECT
", true)
if newzone then
uci:foreach("freifunk", "fw_forwarding", function(section)
uci:section("firewall", "forwarding", nil, section)
git clone https://git.99rst.org/PROJECT