aboutsummaryrefslogtreecommitdiff
path: root/net/banip/Makefile
Commit message (Collapse)AuthorAge
* banip: update 0.3.11Dirk Brenken2019-11-30
| | | | | | | * fix ssh daemon autodetection * fix 'sshd' logfile parsing Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.10Dirk Brenken2019-11-15
| | | | | | | * add missing logd dependency * check if logd is enabled during runtime * some more init tweaks Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.9Dirk Brenken2019-11-10
| | | | | * fix 'enabled' service check Signed-off-by: Dirk Brenken <dev@brenken.org>
* banIP: update 0.3.8Dirk Brenken2019-11-09
| | | | | | | * limit firewall hotplug trigger to certain wan 'INTERFACE' as well, to prevent possible race conditions during boot Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.7Dirk Brenken2019-11-08
| | | | | | | * fix a logical glitch in the hotplug event handler * properly handle fatal iptables errors - even in subshells Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.6Dirk Brenken2019-11-06
| | | | | | | * more startup tweaks * re-use f_log function in helper scripts * small fixes / polish up for forthcoming 19.07 release Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.5Dirk Brenken2019-11-03
| | | | | | | | | | * fix race condition in download utility detection during boot * fix multiple possible bugs in ipset creation * prevent parallel service starts * refine service trigger handling * add ssh daemon auto detection * print to stdout if 'logger' is not available Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.1Dirk Brenken2019-10-09
| | | | | | | | | * the WAN auto detection now supports multiple interfaces, too * no longer filter out possible LAN devices * add a new DoH (DNS over HTTPS) blocklist source with public DoH DNS server addresses, to effectively block client side DoH communication, e.g. via Firefox or Chrome Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.3.0Dirk Brenken2019-10-04
| | | | | | | | | | | | | | | | * new 'ca-bundle' dependency as all https connections are now validated by default * automatically select the download utility: 'aria2', 'curl', 'uclient-fetch' with libustream-* or wget are supported * track & ban failed LuCI login attempts as well * add a small log/banIP background monitor to block SSH/LuCI brute force attacks in realtime (disabled by default) * add a config version check (please update your default config!) * made the automatic wan detection more stable * fix the IPv6 logfile parser * fix the service status message * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.2.1Dirk Brenken2019-09-10
| | | | | * fix for #9954 Signed-off-by: Dirk Brenken <dev@brenken.org>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* banip: update 0.2.0Dirk Brenken2019-09-09
| | | | | | | | | | | | | | | | * remove 'http-only' mode, all sources are now fetched from https sites * the backup mode is now mandatory ('/tmp' is the default backup directory), always create and re-use backups if available. To force a re-download take the 'reload' action. * support 'sshd' in addition to 'dropbear' for logfile parsing to detect break-in events * always update the black-/whitelist with logfile parsing results in 'refresh' mode (no new downloads) * rework the return code handling * tweak procd trigger * various small fixes * (s)hellsheck cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.1.5Dirk Brenken2019-08-06
| | | | | | | | | | | | | * add extra options to control auto-addons to blacklist & whitelist ('ban_autoblacklist' & 'ban_autowhitelist', both enabled by default). If disabled auto-addons are only stored temporary in the black/whitelist ipset but not in the list itself, fixes #9631 * remove old, no longer needed procd workaround * remove 'zeus' source from default config (discontinued) Signed-off-by: Dirk Brenken <dev@brenken.org> Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.1.4Dirk Brenken2019-06-18
| | | | | | | | | * refine 'refresh' mode, add normal processing/download as fallback * remove needless reload trigger * fix various ipset warnings * fix timer in 'refresh' mode * adapt ssbl regex to new source list format Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.1.3Dirk Brenken2019-05-30
| | | | | | | | * change iptables whitelist target from 'ACCEPT' to 'RETURN' to stop traversing the banIP chain and resume at the next chain * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.1.2Dirk Brenken2019-05-27
| | | | | | * add more IPv4 & IPv6 consistency checks * various cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.1.1Dirk Brenken2019-05-16
| | | | | | | | * remove needless sort step to reduce system load * change maxqueue default in backend and LuCI frontend to '4' to reduce (default) system load * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* banIP: release 0.1.0Dirk Brenken2019-01-05
| | | | | | | | | | | | * add automatic blocklist backup & restore, they will be used in case of download errors or during startup in backup mode * add a 'backup mode' to re-use blocklist backups during startup, get fresh lists via reload or restart action * procd interface trigger now supports multiple WAN interfaces * change URL for abuse.ch/feodo list source in default config * small fixes * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: release 0.0.7Dirk Brenken2018-12-26
| | | | | | * determine L3 and L2 network devices to support pppoe interfaces correctly Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: update 0.0.6Dirk Brenken2018-11-17
| | | | | | | | | | * support multiple WAN interfaces in iptables rules, set 'ban_iface' option accordingly (as space separated list) or use the LuCI frontend * add new "refresh" mode while triggered by fw changes (no download) * add required ip dependency * fix wrong 'settype' definition for firehol1 in config Signed-off-by: Dirk Brenken <dev@brenken.org>
* banip: new package to block incoming & outgoing ip addressesDirk Brenken2018-11-10
a new script based package called "banIP" to block incoming & outgoing ip adresses/subnets via ipset. Features: * a shell script which uses ipset and iptables to ban a large number of IP addresses published in various IP blacklists (bogon, firehol etc.) * support blocking by ASN numbers * support blocking by iso country codes * support local white & blacklist (IPv4, IPv6 & CIDR notation) * auto-add unsuccessful ssh login attempts to local blacklist * auto-add the uplink subnet to local whitelist * per source configuration of SRC (incoming) and DST (outgoing) * supports IPv4 & IPv6 Strong LuCI support: * easy interface to track & change all aspects of your ipset configuration on the fly * integrated IPSet-Lookup * integrated RIPE-Lookup * Log-Viewer & online configuration of white- & blacklist LuCI-Screenshots will follow in the second post. Forum discussion: https://forum.openwrt.org/t/banip-new-project-needs-testers-feedback/16985 Signed-off-by: Dirk Brenken <dev@brenken.org>