• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Potential regex bug with IPv4 Bogon parsing

Scheduled Pinned Locked Moved Firewalling
3 Posts 3 Posters 473 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    skaag
    last edited by Aug 3, 2016, 7:11 PM

    We received a complaint from another ISP claiming we were blocking their range. The range in question is 185.149.252.0/22.

    A look at the Firewall logs revealed a surprise: it was being blocked because it was on the list of Bogon networks. I couldn't believe it so I looked at the list of Bogons myself but I couldn't find a CIDR that would match. I'm referring to the list that pfSense updates from, found here:

    https://files.pfsense.org/lists/fullbogons-ipv4.txt

    I had to temporarily disable Bogon filtering in the Rules section, to allow this ISP's customers to reach machines behind our firewall.

    Is this a bug in how pfSense Bogons are parsed? There's a range in there that's close: 185.1.128.0/17
    Is it possible a parsing bug associates the ISP's range with this Bogon network above?

    I didn't want to submit a full bug report before confirming it here first, on the forum.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Aug 3, 2016, 7:23 PM

      I don't see how that could happen if you go under diag, tables you can look at the bogon table - what is in there?  I don't see this 185.149  - you sure that was his IP he was coming from?  You saw it in the logs for blocked bogons?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Aug 4, 2016, 3:55 PM

        Your local copy of that file may be out of date. Check Diagnostics > Tables, and pick bogons there. Click the update button to refresh your local copy.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received