Commit graph

2 commits

Author SHA1 Message Date
Robert Högberg
8a2f8231fb yate: Update yate script to use an nftables set
By using an nftables set in this script it's easier to install
and use this script now that OpenWrt uses nftables by default.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2023-10-10 23:55:53 +02:00
Robert Högberg
2d4f799440 yate-scripts-perl: Add script to block phones which fail to authenticate
Yate ships with a php script (banbrutes.php) which can help block brute
force login/password attacks. Since Yate for OpenWrt doesn't support
php scripts I've written a similar script in perl that's easier to use
with OpenWrt.

The script uses the iptables extension "recent" to keep track of
authentication failures and block users after too many authentication
failures.

This is an alternative to #87. The functionality is mostly the same,
but this is a slightly simplified, more light-weight version since
IP sets aren't used.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2016-10-01 22:17:16 +02:00