Comments (4)
I have the same issue with EdgeRouter X SFP v2.0.9-hotfix.2
Any news on this?
Applying IPset (IPv6) ipset v6.30: Error in line 2: Syntax error: cannot parse 1000::: resolving to IPv4 address failed FATAL: inet6 ipset restore failed: error 1
from edgeos-bl-mgmt.
This likely is due to content in the lists so would need at least the list of those configured to try to replicate and find the bad text. Or a copy of the lists (cached in /tmp/.BL) provided from the time when this happens.
from edgeos-bl-mgmt.
Yes it's content in one of the lists.
From /tmp/.BL/03_www.spamhaus.org_dropv6.txt
2602:ffa0::/36 ; SBL262027 <-- last one to parse fine
2401:c580::/32 ; SBL246818 <-- throws error
Error always is ipset v6.30: Error in line 2: Syntax error: cannot parse 2401:c580::: resolving to IPv4 address failed
Just like JakeYare in 2019 I am currently not using iprange.
Would that make a difference? Considering there still seems to be no IPv6 support in iprange.
This is the debug output after the last curl download of the last list:
Updated block file list: ' 00_rules.emergingthreats.net_emerging-Block-IPs.txt 01_www.spamhaus.org_drop.txt 02_www.spamhaus.org_dropv6.txt 03_www.spamhaus.org_edrop.txt 04_lists.blocklist.de_all.txt 05_iplists.firehol.org_firehol_level1.netset'
doProcess4()
Processing block file list (IPv4): ' 00_rules.emergingthreats.net_emerging-Block-IPs.txt 01_www.spamhaus.org_drop.txt 02_www.spamhaus.org_dropv6.txt 03_www.spamhaus.org_edrop.txt 04_lists.blocklist.de_all.txt 05_iplists.firehol.org_firehol_level1.netset'
Counting total IPv4 addresses received
Counting unique IPv4 addresses received
Counting IPv4 filtered addresses
Counting IPv4 address prefixes
doUpdate4()
Applying IPset (IPv4)
Creating temp inet IPset
Swapping temp and ThreatBlacklist4 IPsets
Destroying temp inet IPset
doProcess6()
Processing block file list (IPv6): ' 00_rules.emergingthreats.net_emerging-Block-IPs.txt 01_www.spamhaus.org_drop.txt 02_www.spamhaus.org_dropv6.txt 03_www.spamhaus.org_edrop.txt 04_lists.blocklist.de_all.txt 05_iplists.firehol.org_firehol_level1.netset'
Counting total IPv6 addresses received
Counting unique IPv6 addresses received
Counting IPv6 filtered addresses
Counting IPv6 address prefixes
doUpdate6()
Applying IPset (IPv6)
Creating temp inet6 IPset
ipset v6.30: Error in line 2: Syntax error: cannot parse 2001:41d0:1:e906::1: resolving to IPv4 address failed
die()
FATAL: inet6 ipset restore failed: error 1
atExit()
doSendEmail()
from edgeos-bl-mgmt.
Ok, nevermind... SOLUTION:
Be careful to create an ipv6-network-group during initial setup.
With just a network-group it'll have have an ipset headet with family inet... which causes ipv6 addresses to fail.
ipset needs an family inet6 header in order to process ipv6 - this gets created when using ipv6-network-group.
Thanks for your time!
from edgeos-bl-mgmt.
Related Issues (20)
- Can't Parse Malc0de Blacklist HOT 1
- Firewall rules not accepted HOT 1
- Silence sed warning HOT 5
- user error - please ignore
- Error when running update script HOT 3
- https://isc.sans.edu/ipsascii.html not being parsed correctly
- Suggesting additional ban list sources HOT 1
- Config question HOT 3
- UDM PRO HOT 3
- What about applying these rules also for egress traffic? HOT 1
- Firewall Policies configuration HOT 3
- Informational: thanks!
- Trying to modify, getting error line 255: /dev/fd/62: No such file or directory HOT 2
- Error when running this on a Unifi Gateway HOT 1
- Update process stops when trying to add a wrong IP syntax HOT 2
- No longer works on USG HOT 2
- IP Range won't install - ER-X HOT 2
- Firewall Block List Not Populating
- Can't confirm rulesets are applied HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgeos-bl-mgmt.