Add private network exclusions to default IPv6 bogons - #10125
Conversation
Allows ULA and link-local access on new systems where the bogons haven't been updated yet.
|
It might be better to split the ranges, these exclusions have side affects when stacking aliases, which can then lead to unexpected behavior when the bogons aren't updated later on. If I'm not mistaken, our distributed list doesn't use the exclusions anymore, because otherwise that would also be an item still on the list somewhere. |
|
Yes, see #9048 |
|
@fichtner I remembered there was "something" ;) when needed, I can still pre-process the list on our server to simplify handling, but no rush at all. |
|
@AdSchellevis @fichtner Alright, I split 8000::/1 instead (and didn't bother with ::/128). |
|
Ping @AdSchellevis @fichtner |
|
The filtered bogons file from the mirror currently does this differently: Ideally I'd like to use the same for both files... is this equivalent (sorry I don't have time to check right now) |
|
The bogons file from the mirror blocks fe00::/7. We then unblock link-local in OPNsense by adding I used fe00::/9, fec0::/10 and ff00::/8 instead, which is fe00::/7 minus fe80::/10. |
|
ok then there's a problem in the split of the subnets in the bogons file creation... I'll check |
|
I don't think |
|
No, this is about 8000::/1 which both fd00::/8 and fe80::/10 belong to. If I reverse the exclusion I get a list that morec closely resembles @maurice-w suggestion, but even then fe00::/7 is still in that list |
|
If you need an extra pair of eyes on the script, just let me know |
|
In terms of quality control, it might be beneficial if the script which creates the bogons would be public. Or is it and I just haven't found it? |
|
it's part of our internal processing, no need to publish it online. |
|
Understood. But be aware that this makes the published bogons.txz the reference for contributors, which we have to assume is correct. No way for us to know whether something on these lists is intentional or not. |
|
That's true, but the same is the case for all other pieces of content to be honest (like geo data), one could argue something is missing or too much, but that claim should always be guarded with some evidence, how the file was constructed is less relevant in that case. |
|
The difference being that the bogons undergo additional processing on OPNsense itself. This second step is the only one which is transparent to contributors, which makes it harder to pinpoint issues. Are they caused by your internal preprocessing or by OPNsense or both? But I understand you are moving away from additional processing on OPNsense, which improves the situation. |
|
Multiple layers of processing clutter the view indeed, which is what we're trying to solve here, ideally the contents of the alias are exactly the same as being offered (which is the same for other feeds as well, either offered by us or third parties) |
Issue fixed by this: When setting up a new system with only a single interface (WAN only), 'block bogon networks' is enabled by default on this interface. Since bogonsv6.sample blocks 8000::/1, accessing the web GUI from ULAs and link-local addresses isn't possible. If the WAN is IPv6-only and doesn't have GUAs (yet), you're essentially locked out from the start.