<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/banip/files/banip.hotplug, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2023-02-18T20:06:26Z</updated>
<entry>
<title>banip: release 0.8.0 (nft rewrite)</title>
<updated>2023-02-18T20:06:26Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2023-02-13T16:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=82a491bac85b8d106dc6057c1bd58c8e5dc3ed53'/>
<id>urn:sha1:82a491bac85b8d106dc6057c1bd58c8e5dc3ed53</id>
<content type='text'>
- complete rewrite of banIP to support nftables
- all sets are handled in a separate nft table/namespace 'banIP'
- for incoming blocking it uses the inet input hook, for outgoing blocking it uses the inet forward hook
- full IPv4 and IPv6 support
- supports nft atomic set loading
- supports blocking by ASN numbers and by iso country codes
- 42 preconfigured external feeds are available, plus local allow- and blocklist
- supports local allow- and blocklist (IPv4, IPv6, CIDR notation or domain names)
- auto-add the uplink subnet to the local allowlist
- provides a small background log monitor to ban unsuccessful login attempts in real-time
- the logterms for the log monitor service can be freely defined via regex
- auto-add unsuccessful LuCI, nginx, Asterisk or ssh login attempts to the local blocklist
- fast feed processing as they are handled in parallel as background jobs
- per feed it can be defined whether the input chain or the forward chain should be blocked (default: both chains)
- automatic blocklist backup &amp; restore, the backups will be used in case of download errors or during startup
- automatically selects one of the following download utilities with ssl support: aria2c, curl, uclient-fetch or wget
- supports a 'allowlist only' mode, this option restricts internet access from/to a small number of secure websites/IPs
- provides comprehensive runtime information
- provides a detailed set report
- provides a set search engine for certain IPs
- feed parsing by fast &amp; flexible regex rulesets
- minimal status &amp; error logging to syslog, enable debug logging to receive more output
- procd based init system support (start/stop/restart/reload/status/report/search)
- procd network interface trigger support
- ability to add new banIP feeds on your own
- add a readme with all available options/feeds to customize your installation to your needs
- a new LuCI frontend will be available in due course

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;
</content>
</entry>
<entry>
<title>banip: update 0.7.10</title>
<updated>2021-08-29T15:16:59Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2021-08-29T15:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8ac0103cbdb74e2ec9ea2986c4b80bf83ba00211'/>
<id>urn:sha1:8ac0103cbdb74e2ec9ea2986c4b80bf83ba00211</id>
<content type='text'>
* switch to unencrypted http downloads for ipdeny.com due to persistant certificate issues
* compact json generator code (tested with report files &gt; 2MB)
* various code cleanups and optimizations

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;
</content>
</entry>
<entry>
<title>banip: release 0.7.0</title>
<updated>2021-02-04T20:18:02Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2021-02-04T14:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=cadaedbfb2a7b705e2fb930b4cebfdd1dfe10cc2'/>
<id>urn:sha1:cadaedbfb2a7b705e2fb930b4cebfdd1dfe10cc2</id>
<content type='text'>
* major rewrite
* add support for multiple chains
* add mac whitelisting
* add support for multiple ssh daemons in parallel
* add an ipset report engine
* add mail notifications
* add suspend/resume functions
* add a cron wrapper to set an ipset related auto-timer for
  automatic blocklist updates
* add a list wrapper to add/remove blocklist sources
* add 19.x and Turris OS 5.x compatibility code
* sources stored in an external compressed json file
  (/etc/banip/banip.sources.gz)
* change Country/ASN download sources (faster/more reliable)
* fix DHCPv6/icmpv6 issues

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;</content>
</entry>
<entry>
<title>banIP: update 0.3.8</title>
<updated>2019-11-09T05:40:40Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2019-11-09T05:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0dee2a92de0ffdc5007e41802a43456ce3b5bf22'/>
<id>urn:sha1:0dee2a92de0ffdc5007e41802a43456ce3b5bf22</id>
<content type='text'>
* limit firewall hotplug trigger to certain wan 'INTERFACE' as well,
  to prevent possible race conditions during boot

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;
</content>
</entry>
<entry>
<title>banip: update 0.3.7</title>
<updated>2019-11-08T17:40:30Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2019-11-08T17:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=49b43b81e8a8c32465d3de921d8289541de3e7e1'/>
<id>urn:sha1:49b43b81e8a8c32465d3de921d8289541de3e7e1</id>
<content type='text'>
* fix a logical glitch in the hotplug event handler
* properly handle fatal iptables errors - even in subshells

Signed-off-by: Dirk Brenken &lt;dev@brenken.org&gt;
</content>
</entry>
<entry>
<title>banip: update 0.2.0</title>
<updated>2019-09-09T19:11:10Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2019-09-09T15:12:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5f49601e63f2c3b58edbf0732c73f3f51f890e3d'/>
<id>urn:sha1:5f49601e63f2c3b58edbf0732c73f3f51f890e3d</id>
<content type='text'>
* 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 &lt;dev@brenken.org&gt;</content>
</entry>
<entry>
<title>banip: update 0.0.6</title>
<updated>2018-11-17T15:30:52Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2018-11-16T20:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=dcaddb5297351b1167912880cba4f3319755aa80'/>
<id>urn:sha1:dcaddb5297351b1167912880cba4f3319755aa80</id>
<content type='text'>
* 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 &lt;dev@brenken.org&gt;</content>
</entry>
<entry>
<title>banip: new package to block incoming &amp; outgoing ip addresses</title>
<updated>2018-11-10T10:01:45Z</updated>
<author>
<name>Dirk Brenken</name>
</author>
<published>2018-11-10T10:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b17588a8568a3e23c2a86802b2b8f3dbdbf411dd'/>
<id>urn:sha1:b17588a8568a3e23c2a86802b2b8f3dbdbf411dd</id>
<content type='text'>
a new script based package called "banIP" to block
incoming &amp; 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 &amp; blacklist (IPv4, IPv6 &amp; 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 &amp; IPv6

Strong LuCI support:
* easy interface to track &amp; change all aspects of your ipset
  configuration on the fly
* integrated IPSet-Lookup
* integrated RIPE-Lookup
* Log-Viewer &amp; online configuration of white- &amp; 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 &lt;dev@brenken.org&gt;</content>
</entry>
</feed>
