crowdsec*: remove awall for future build / add cscli console to recommend
This commit is contained in:
parent
c872ab492d
commit
a14fcae592
@ -11,7 +11,6 @@ depends="iptables ipset"
|
|||||||
makedepends="go envsubst"
|
makedepends="go envsubst"
|
||||||
subpackages="
|
subpackages="
|
||||||
$pkgname-openrc
|
$pkgname-openrc
|
||||||
$pkgname-awall::noarch
|
|
||||||
"
|
"
|
||||||
options="!check" # no test suite identified
|
options="!check" # no test suite identified
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/crowdsecurity/cs-firewall-bouncer/archive/refs/tags/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/crowdsecurity/cs-firewall-bouncer/archive/refs/tags/v$pkgver.tar.gz
|
||||||
@ -44,18 +43,7 @@ package() {
|
|||||||
>"$pkgdir"/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml)
|
>"$pkgdir"/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
awall() {
|
|
||||||
pkgdesc="crowdsec bouncer awall policy"
|
|
||||||
depends="$pkgname"
|
|
||||||
install_if="awall $pkgname=$pkgver-r$pkgrel"
|
|
||||||
|
|
||||||
install -Dm0644 "$srcdir"/awall-policy.json \
|
|
||||||
"$subpkgdir"/etc/awall/optional/cs-firewall-bouncer.json
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
400c61595f456668343d8ff34b68eaaabc03db4ae503d6a0a3def60cfd495162e9b72c75ed791d0bbfce691b36a947c2643922ad196a59fae53a300a740acab8 crowdsec-firewall-bouncer-0.0.31.tar.gz
|
400c61595f456668343d8ff34b68eaaabc03db4ae503d6a0a3def60cfd495162e9b72c75ed791d0bbfce691b36a947c2643922ad196a59fae53a300a740acab8 crowdsec-firewall-bouncer-0.0.31.tar.gz
|
||||||
c7f522a18b61211ed4a3fa9a0b0242fec59e9a57107f0d1bba793ccce85f4d7dce0cf3c1286a3708f52e16b73cdb8266ea8da21afa6a051c9c4368bd99265e6e crowdsec-firewall-bouncer.initd
|
c7f522a18b61211ed4a3fa9a0b0242fec59e9a57107f0d1bba793ccce85f4d7dce0cf3c1286a3708f52e16b73cdb8266ea8da21afa6a051c9c4368bd99265e6e crowdsec-firewall-bouncer.initd
|
||||||
1300e046b97d6a1d9d1eac5080b1f4c16ad0387f9483dbd4f37b81feb9e9466b993bc396ed2a45ccf8bf026f0bc83026bc35cc92fdb2c075d5de56309afc9f3e awall-policy.json
|
|
||||||
"
|
"
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"description": "Integration with cs-firewall-bouncer in ipset mode",
|
|
||||||
|
|
||||||
"ipset": {
|
|
||||||
"crowdsec-blacklists": { "type": "hash:ip", "family": "inet", "timeout": true, "size": 65536 },
|
|
||||||
"crowdsec6-blacklists": { "type": "hash:ip", "family": "inet6", "timeout": true, "size": 65536 }
|
|
||||||
},
|
|
||||||
|
|
||||||
"filter": [
|
|
||||||
{
|
|
||||||
"in": "adp-wan",
|
|
||||||
"ipset": [
|
|
||||||
{ "name": "crowdsec-blacklists", "args": ["in"] },
|
|
||||||
{ "name": "crowdsec6-blacklists", "args": ["in"] }
|
|
||||||
],
|
|
||||||
"action": "drop"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -15,6 +15,8 @@ cat >&2 <<EOF
|
|||||||
* cscli hub update
|
* cscli hub update
|
||||||
* Hub upgrade:
|
* Hub upgrade:
|
||||||
* cscli hub upgrade
|
* cscli hub upgrade
|
||||||
|
* Enable share ip from console:
|
||||||
|
* cscli console enable console_management
|
||||||
*
|
*
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user