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

    issue with a non USA IP getting added to North America IPV4 List

    Scheduled Pinned Locked Moved pfBlockerNG
    18 Posts 7 Posters 938 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.
    • NogBadTheBadN
      NogBadTheBad @Gertjan
      last edited by NogBadTheBad

      It's a Microsoft IP address range:-

      AS details for 20.199.0.1 :-
      
      route:      20.192.0.0/10
      descr:      Microsoft
      origin:     AS8075
      notify:     radb@microsoft.com
      mnt-by:     MAINT-AS8075
      changed:    mkasten@microsoft.com 20200721
      source:     RADB
      
      route:      20.0.0.0/8
      descr:      REACH (Customer Route)
      tech-c:     RRNOC1-REACH
      origin:     AS17916
      remarks:    This auto-generated route object was created
      remarks:    for a REACH customer route
      remarks:    
      remarks:    This route object was created because
      remarks:    some REACH peers filter based on these objects
      remarks:    and this route may be rejected
      remarks:    if this object is not created.
      remarks:    
      remarks:    Please contact irr@team.telstra.com if you have any
      remarks:    questions regarding this object.
      notify:     irr@team.telstra.com
      mnt-by:     MAINT-REACH-NOC
      changed:    irr@team.telstra.com 20090917
      source:     REACH
      

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      I 1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks @michmoor
        last edited by bmeeks

        @michmoor said in issue with a non USA IP getting added to North America IPV4 List:

        @bmeeks is the maintainer so he would have a clearer answer.

        No, I have nothing at all to do with pfBlockerNG nor pfBlockerNG-devel. The volunteer maintainer for that is @BBcan177.

        I look after only the Snort and Suricata packages.

        M 1 Reply Last reply Reply Quote 0
        • M
          michmoor LAYER 8 Rebel Alliance @bmeeks
          last edited by

          @bmeeks you're right my apologies. To many 'B's :)

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

          1 Reply Last reply Reply Quote 0
          • I
            igoldstein @NogBadTheBad
            last edited by

            @nogbadthebad said in issue with a non USA IP getting added to North America IPV4 List:

            It's a Microsoft IP address range

            and in what country are the IPs used ?

            if its an IP used outside of USA, I don't want it to pass the gate.

            GertjanG M 2 Replies Last reply Reply Quote 0
            • GertjanG
              Gertjan @igoldstein
              last edited by

              @igoldstein
              Because Microsoft owned IPs try to connect to you ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @igoldstein
                last edited by

                @igoldstein what are you trying to prevent? GeoIP blocking is hard enough as it is as you can see. The best you can do is using a high quality IP block list.

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                I 1 Reply Last reply Reply Quote 0
                • I
                  igoldstein @michmoor
                  last edited by

                  @michmoor said in issue with a non USA IP getting added to North America IPV4 List:

                  The best you can do is using a high quality IP block list.

                  any setups you can suggest? i currently use pfblocker package which i believe utilizes maxmind

                  @michmoor said in issue with a non USA IP getting added to North America IPV4 List:

                  what are you trying to prevent?

                  currently I have a rules that allows any USA IP, and block everything else

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michmoor LAYER 8 Rebel Alliance @igoldstein
                    last edited by

                    @igoldstein As we suggested already IPs aren't necessarily bound to their geographic location. Blocking IPs based on a location is not highly accurate for the reasons listed above. The IP block lists that come with PFblockerNG are good enough if you want to craft a GeoIP rule around it.
                    If you have no services/applications exposed to the internet than this is a non-issue.
                    If you do have services/applications exposed to the intenret than IP blocking is fine.

                    Firewall: NetGate,Palo Alto-VM,Juniper SRX
                    Routing: Juniper, Arista, Cisco
                    Switching: Juniper, Arista, Cisco
                    Wireless: Unifi, Aruba IAP
                    JNCIP,CCNP Enterprise

                    1 Reply Last reply Reply Quote 0
                    • I
                      igoldstein
                      last edited by

                      i do have services exposed to the internet
                      hence why i want to allow ONLY USA IP's

                      IPs that are used in USA, not just Registered in USA

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @igoldstein
                        last edited by johnpoz

                        @igoldstein said in issue with a non USA IP getting added to North America IPV4 List:

                        IPs that are used in USA, not just Registered in USA

                        Good luck finding that list... Not sure how many times this needs to be said, there is no such list. There will always be mistakes, IPs move all the time. I could route a network out of Dallas today, and Paris tomorrow..

                        Your best solution is IPs you find that are not coming from the US put in your own block list, and put this top your rules order. Before you allow of the US IP list.

                        Still curious how you found this IP was not coming from the US. Did you go through the complete list of networks in the US list?

                        edit: https://support.maxmind.com/hc/en-us/articles/4407630607131-Geolocation-Accuracy
                        "It is not possible for us to guarantee 100% geolocation accuracy. Accuracy exhibits high variability according to country, distance, type of IP (cellular vs. broadband, IPv4 vs. IPv6), and practices of ISPs."

                        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 2
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.