Download for feed failed

Hi,
I see a lot off the following errors in the log
What does it mean exactly ?

May 30 04:56:38 NethSec8 banIP-0.9.4-3[4157]: start banIP download processes
May 30 04:57:28 NethSec8 banIP-0.9.4-3[4157]: download for feed 'allowlist' failed (rc: 22/log: curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401)
May 30 04:57:49 NethSec8 banIP-0.9.4-3[4157]: download for feed 'countryv4' failed (rc: 4/log: )
May 30 04:58:40 NethSec8 banIP-0.9.4-3[4157]: download for feed 'ipblackholev4' failed (rc: 92/log: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 9 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 11 was not closed cleanly: PROTOCOL_ERROR (err 1))
May 30 04:58:40 NethSec8 banIP-0.9.4-3[4157]: download for feed 'countryv6' failed (rc: 4/log: )
May 30 04:58:40 NethSec8 banIP-0.9.4-3[4157]: download for feed 'asnv4' failed (rc: 4/log: )
May 30 04:58:40 NethSec8 banIP-0.9.4-3[4157]: download for feed 'asnv6' failed (rc: 4/log: )
May 30 08:22:33 NethSec8 banIP-0.9.4-3[12628]: start banIP download processes
May 30 08:23:23 NethSec8 banIP-0.9.4-3[12628]: download for feed 'allowlist' failed (rc: 22/log: curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401)
May 30 08:23:43 NethSec8 banIP-0.9.4-3[12628]: download for feed 'countryv4' failed (rc: 4/log: )
May 30 08:24:34 NethSec8 banIP-0.9.4-3[12628]: download for feed 'ipblackholev4' failed (rc: 92/log: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 9 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 11 was not closed cleanly: PROTOCOL_ERROR (err 1))
May 30 08:24:34 NethSec8 banIP-0.9.4-3[12628]: download for feed 'countryv6' failed (rc: 4/log: )
May 30 08:24:34 NethSec8 banIP-0.9.4-3[12628]: download for feed 'asnv4' failed (rc: 4/log: )
May 30 08:24:34 NethSec8 banIP-0.9.4-3[12628]: download for feed 'asnv6' failed (rc: 4/log: )
May 30 12:48:05 NethSec8 banIP-0.9.4-3[32614]: start banIP download processes
May 30 12:48:55 NethSec8 banIP-0.9.4-3[32614]: download for feed 'allowlist' failed (rc: 22/log: curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401)
May 30 12:49:15 NethSec8 banIP-0.9.4-3[32614]: download for feed 'countryv4' failed (rc: 4/log: )
May 30 12:50:06 NethSec8 banIP-0.9.4-3[32614]: download for feed 'ipblackholev4' failed (rc: 92/log: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 9 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 11 was not closed cleanly: PROTOCOL_ERROR (err 1))
May 30 12:50:06 NethSec8 banIP-0.9.4-3[32614]: download for feed 'countryv6' failed (rc: 4/log: )
May 30 12:50:06 NethSec8 banIP-0.9.4-3[32614]: download for feed 'asnv4' failed (rc: 4/log: )
May 30 12:50:06 NethSec8 banIP-0.9.4-3[32614]: download for feed 'asnv6' failed (rc: 4/log: )
May 30 16:39:41 NethSec8 banIP-0.9.4-3[13489]: start banIP download processes
May 30 16:40:32 NethSec8 banIP-0.9.4-3[13489]: download for feed 'allowlist' failed (rc: 22/log: curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401)
May 30 16:40:51 NethSec8 banIP-0.9.4-3[13489]: download for feed 'countryv4' failed (rc: 4/log: )
May 30 16:41:43 NethSec8 banIP-0.9.4-3[13489]: download for feed 'ipblackholev4' failed (rc: 92/log: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 9 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 11 was not closed cleanly: PROTOCOL_ERROR (err 1))
May 30 16:41:43 NethSec8 banIP-0.9.4-3[13489]: download for feed 'countryv6' failed (rc: 4/log: )
May 30 16:41:43 NethSec8 banIP-0.9.4-3[13489]: download for feed 'asnv4' failed (rc: 4/log: )
May 30 16:41:43 NethSec8 banIP-0.9.4-3[13489]: download for feed 'asnv6' failed (rc: 4/log: )
May 30 19:40:23 NethSec8 banIP-0.9.4-3[20472]: start banIP download processes
May 30 19:41:14 NethSec8 banIP-0.9.4-3[20472]: download for feed 'allowlist' failed (rc: 22/log: curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401#012curl: (22) The requested URL returned error: 401)
May 30 19:41:34 NethSec8 banIP-0.9.4-3[20472]: download for feed 'countryv4' failed (rc: 4/log: )
May 30 19:42:25 NethSec8 banIP-0.9.4-3[20472]: download for feed 'ipblackholev4' failed (rc: 92/log: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 3 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 5 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 7 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 9 was not closed cleanly: PROTOCOL_ERROR (err 1)#012curl: (92) HTTP/2 stream 11 was not closed cleanly: PROTOCOL_ERROR (err 1))
May 30 19:42:25 NethSec8 banIP-0.9.4-3[20472]: download for feed 'asnv4' failed (rc: 4/log: )
May 30 19:42:25 NethSec8 banIP-0.9.4-3[20472]: download for feed 'countryv6' failed (rc: 4/log: )
May 30 19:42:25 NethSec8 banIP-0.9.4-3[20472]: download for feed 'asnv6' failed (rc: 4/log: )

BanIP can’t update the listed blocklist.

The allowlist error is normal, it’s always due to the subscription. You can ignore it.
For the other lists, if the error persists, you will need to disable them.

Hmmm… what’s the use then. They are available as list but can not use them

I agree with you, but there’s nothing we can do for them: the lists are downloaded from third-party sites. Maybe the site are down or changed their URL, I really do not know.

You can also check banip official repository to see if some URL has changed in the latest release.

But it is in the UI which is proviced by you :wink:
How do you change the URL if this is needed ?

Touchè! :dart: But I do not have super powers to control remote servers not owned by me :superhero:

You can change them in this file /etc/banip/banip.feeds.

1 Like

There are indeed some url not valid any more.

I saw on packages/net/banip/files/banip.feeds at master · openwrt/packages · GitHub there are already some fixed (and a newer version).

Upstream updates the package quite often, but it also breaks it at the same rate :slight_smile:

So, you you know what the URLs need to be fixed, we can try a patch.
I’m not confident on updating the whole package during this phase.

debl

		"url_4": "https://www.blocklist.de/downloads/export-ips_all.txt",
		"url_6": "https://www.blocklist.de/downloads/export-ips_all.txt",

Must be

		"url_4": "https://lists.blocklist.de/lists/all.txt",
		"url_6": "https://lists.blocklist.de/lists/all.txt",

ipblackhole

		"url_4": "https://ip.blackhole.monster/blackhole-today",

must be

		"url_4": "https://blackhole.s-e-r-v-e-r.pw/blackhole-today",

If I have more I’ll post them here.
For now i’ve change them in /overlay/upper/etc/banip/banip.feeds

The last version 0.9.6-2 in Openwrt has already these changes.

1 Like

Thanks for sharing.
I’m trying to find a fix for it without fully updating banip, but I do not still have found a good solution.

For now I’ve opened a card: NethSecurity 8 · GitHub

1 Like

Thanks.

Just for info the difference between current and new version

Added

  • becyber - malicious attacker IP
  • ipsum - malicious IPs
  • pallebone - curated IP blocklist

Removed

  • darklist - suspicious attacker IPs
  • edrop - spamhaus edrop compilation
1 Like

This is will be automatically fixed in Update to OpenWrt 23.05.4 · Issue #694 · NethServer/nethsecurity · GitHub

1 Like