summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-08-15 08:53:03 +0000
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-08-15 08:53:03 +0000
commitd4c91a1bad84ff6641298926be2d5d37837f6758 (patch)
tree3d0b68e52dd99f061ac8ce385206f4fa062c723f /main
parent5b217ffc21a3a78f24a6b491717ac95b0a1929ab (diff)
downloadaports-d4c91a1bad84ff6641298926be2d5d37837f6758.tar.bz2
aports-d4c91a1bad84ff6641298926be2d5d37837f6758.tar.xz
main/awall: upgrade to 0.3.2
Diffstat (limited to 'main')
-rw-r--r--main/awall/0001-limit-packet-connection-rate-per-source-IP.patch25
-rw-r--r--main/awall/0002-fix-ratelimiting-to-work-with-bursts-properly.patch25
-rw-r--r--main/awall/APKBUILD20
3 files changed, 6 insertions, 64 deletions
diff --git a/main/awall/0001-limit-packet-connection-rate-per-source-IP.patch b/main/awall/0001-limit-packet-connection-rate-per-source-IP.patch
deleted file mode 100644
index e7767b91d..000000000
--- a/main/awall/0001-limit-packet-connection-rate-per-source-IP.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 085e778404e3058cc2b803d4d0fbd106abad8bd0 Mon Sep 17 00:00:00 2001
-From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-Date: Fri, 2 Aug 2013 12:31:12 +0300
-Subject: [PATCH] limit packet/connection rate per source IP
-
----
- awall/modules/filter.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua
-index f01b586..d21b79e 100644
---- a/awall/modules/filter.lua
-+++ b/awall/modules/filter.lua
-@@ -212,7 +212,7 @@ function Filter:extraoptfrags()
- if count > RECENT_MAX_COUNT then
- ofrags = {
- {
-- opts='-m limit --limit '..count..'/second',
-+ opts='-m hashlimit --hashlimit-upto '..count..'/second --hashlimit-mode srcip --hashlimit-name '..chain,
- target=logchain(self.log, 'accept', 'ACCEPT')
- },
- {target='DROP'}
---
-1.8.3.3
-
diff --git a/main/awall/0002-fix-ratelimiting-to-work-with-bursts-properly.patch b/main/awall/0002-fix-ratelimiting-to-work-with-bursts-properly.patch
deleted file mode 100644
index 40e40cbf1..000000000
--- a/main/awall/0002-fix-ratelimiting-to-work-with-bursts-properly.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 13bf8b6ab664bcd0b11c2a6dbf9eb3cd319062cd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
-Date: Fri, 2 Aug 2013 16:10:08 +0300
-Subject: [PATCH] fix ratelimiting to work with bursts properly
-
----
- awall/modules/filter.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua
-index d21b79e..bdf6ae6 100644
---- a/awall/modules/filter.lua
-+++ b/awall/modules/filter.lua
-@@ -212,7 +212,7 @@ function Filter:extraoptfrags()
- if count > RECENT_MAX_COUNT then
- ofrags = {
- {
-- opts='-m hashlimit --hashlimit-upto '..count..'/second --hashlimit-mode srcip --hashlimit-name '..chain,
-+ opts='-m hashlimit --hashlimit-upto '..count..'/second --hashlimit-burst '..count..' --hashlimit-mode srcip --hashlimit-name '..chain,
- target=logchain(self.log, 'accept', 'ACCEPT')
- },
- {target='DROP'}
---
-1.8.3.3
-
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD
index c3a20afbd..2e867da89 100644
--- a/main/awall/APKBUILD
+++ b/main/awall/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=awall
-pkgver=0.3.1
-pkgrel=2
+pkgver=0.3.2
+pkgrel=0
pkgdesc="Alpine Wall"
url=http://git.alpinelinux.org/cgit/awall/
arch=noarch
@@ -10,9 +10,7 @@ license=GPL-2
replaces="awall-nat"
depends="bind-tools ip6tables ipset iptables lua lua-alt-getopt lua-filesystem lua-json4 lua-pc lua-signal lua-sleep lua-stringy xtables-addons"
subpackages=$pkgname-masquerade
-source="http://dev.alpinelinux.org/archive/awall/awall-${pkgver}.tar.bz2
- 0001-limit-packet-connection-rate-per-source-IP.patch
- 0002-fix-ratelimiting-to-work-with-bursts-properly.patch"
+source=http://dev.alpinelinux.org/archive/awall/awall-${pkgver}.tar.xz
_builddir=$srcdir/awall-${pkgver}
@@ -44,12 +42,6 @@ masquerade() {
done
}
-md5sums="b0547d6c2a90515b0fd66b3b9cf80ad6 awall-0.3.1.tar.bz2
-57f9e9816be3fb679581d4c8db664989 0001-limit-packet-connection-rate-per-source-IP.patch
-97a2f33572504e62b4d2d9d1d7f22bc8 0002-fix-ratelimiting-to-work-with-bursts-properly.patch"
-sha256sums="7780a298b2f09ec959974e5f6fc5c64c196aa8c33b2bc0135a15dcfcb315cacb awall-0.3.1.tar.bz2
-dcfb077003977bbe68c5587ed379c288ca9ea8d64d69b8edd46425d9feccde02 0001-limit-packet-connection-rate-per-source-IP.patch
-433b0e227e8966845314f8285c4856591776e310cd8ecba40e6d8076f4195890 0002-fix-ratelimiting-to-work-with-bursts-properly.patch"
-sha512sums="5e4e150812899dd47ff607e5701e59fa17b4889c4dd2f60df864d3f831d28f89ac277789e7de6bb70a1578723f7e8782a3fccb3a645aeec35a013b8e62c01880 awall-0.3.1.tar.bz2
-48fe9549aa70d37a0b63dc61a47ef4540666aa6616d01b6db9bc48657b3d9cdcb7ee7421cde7fce3a7945687bd6e621aa9cac228d2cf93161b368fd356b2c9fc 0001-limit-packet-connection-rate-per-source-IP.patch
-702f8ecf5260de9491bf606d929f31f0c7ba23c4a93513411e519907b1694a948ce1118098a5eafaeec856a4cd6a1f95173c4b5172355146b1999795337bf711 0002-fix-ratelimiting-to-work-with-bursts-properly.patch"
+md5sums="43b88c8a45d1d9c3158973f936d75455 awall-0.3.2.tar.xz"
+sha256sums="cce58d4d666b265c6e88837ce948c66e6a93445dde299bfa4fd312737c5670f4 awall-0.3.2.tar.xz"
+sha512sums="0c6ef08e5533c7d9cc9f2a2c6dc66c6e504060b1c3683f02d34b5bc2207640a610074173fa51346b2eda23e223df430e3f2d65ffe3799b6ffcd99edee7f9e7ba awall-0.3.2.tar.xz"