OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • /usr/local/etc/bogonsv6 too big
« previous next »
  • Print
Pages: 1 [2]

Author Topic: /usr/local/etc/bogonsv6 too big  (Read 18584 times)

phoenix

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 58
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #15 on: February 08, 2018, 08:11:39 am »
Quote from: franco on February 07, 2018, 08:58:47 pm
Hmm, and do you set "block bogons" anywhere in your interfaces?

Also in your system log do you see "Not saving IPv6 bogons table (IPv6 Allow is off and table-entries limit is potentially too low" ?
Franco

Just an update on this. I'd set-up a test server on a separate VM. It's a clean install of 18.1and "Block bogon networks" is enabled on the WAN link but the file hasn't been updated:

Code: [Select]
ll /usr/local/etc/bogonsv6
860 Feb  1 11:58 /usr/local/etc/bogonsv6
There's nothing in the logs until I do the update and the file updates correctly.
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #16 on: February 08, 2018, 08:36:48 am »
Hmmm, okay. Let's leave it as is then. :)


Cheers,
Franco
Logged

cardins2u

  • Jr. Member
  • **
  • Posts: 71
  • Karma: 2
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #17 on: April 06, 2018, 05:50:33 am »
I'm getting this same errors .

anyone found a fix yet?

@franco
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #18 on: April 07, 2018, 05:46:07 pm »
It doesn't appear to be a real bug. The bogons size seems to fluctuate via http://www.team-cymru.org/Services/Bogons and that's causing this long known issue in the state table where IPv6 is said to be too large, but up until now we never observed it in OPNsense.

Here's a recent pfSense ticket observing / addressing the same:

https://redmine.pfsense.org/issues/8417

I'm not sure what the best approach is for us yet.


Cheers,
Franco
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1701
  • Karma: 179
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #19 on: April 07, 2018, 06:35:22 pm »
Is it not just a case of increasing the maximum table entries?

I have never seen this issue, but one of the first things I needed to do when setting up Opnsense was to increase the max table entries.
Logged
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #20 on: April 07, 2018, 08:39:08 pm »
I agree with marjohn56. In my opinion this is not a bug, but you shouldn't just ignore it. The bogonsv6 seems to be simply too big and will probably not be processed correctly. I got this error message during my IPv6 experiments on two boxes. The obvious thing would be to increase the corresponding standard value from 200,000 to a reasonable size. In my case, the value of 500,000 makes the error message disappear.
« Last Edit: April 07, 2018, 08:40:56 pm by Reiter der OPNsense »
Logged

NOYB

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 6
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #21 on: April 07, 2018, 10:11:20 pm »
Not setting the maximum table entries to an appropriate size when bogons v6 is enabled is a bug in my opinion.  Whether or not some other product does is irrelevant.

Been running maximum table entries at 1,000,000 "forever" precisely for this reason.  But it should be set to an appropriate size automatically when/if bogons v6 is enabled.
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1701
  • Karma: 179
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #22 on: April 07, 2018, 11:15:13 pm »
I go with NOYB, 200K for V4 only and bounce it to 500K if bogons v6 is enabled.

I also run 1,000,000 as it happens but then my proc can cope with it. I have a feeling I was running 500K when I used an APU2.

@Franco - would you be happy with that?

I'm happy to look at doing a PR for it if no-one else wants to.
« Last Edit: April 07, 2018, 11:16:56 pm by marjohn56 »
Logged
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #23 on: April 08, 2018, 12:17:47 am »
It's not a bug, it's a feature :D It's just missing, so the actual bug would be that it is missing this feature :D
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #24 on: April 08, 2018, 11:55:18 am »
Bug or feature, all contributions are welcome ;)

...or try this then...

https://github.com/opnsense/core/commit/fc0c66e8
https://github.com/opnsense/core/commit/5dd172e


Cheers,
Franco
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1701
  • Karma: 179
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #25 on: April 08, 2018, 12:55:31 pm »
Nice one...
Logged
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: /usr/local/etc/bogonsv6 too big
« Reply #26 on: April 09, 2018, 09:11:19 am »
There you go, this is what i call support :)
Thank you Franco!
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • /usr/local/etc/bogonsv6 too big
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2