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

    Suricata geoIP DB

    pfSense Packages
    2
    2
    1.3k
    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.
    • F
      fsansfil
      last edited by

      Hello,

      1. Is there a way I can force update the Suricata geoIP DB?

      2. Can I modify a country list…lets say geoip:us,... I would like to add some IPs to it?

      Thanks.

      F.

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

        @fsansfil:

        Hello,

        1. Is there a way I can force update the Suricata geoIP DB?

        Yes, you can manually do this from the command line.  Execute this command at a shell prompt –

        
        cd /usr/local/pkg/suricata && php suricata_geoipupdate.php
        
        

        @fsansfil:

        1. Can I modify a country list…lets say geoip:us,... I would like to add some IPs to it?

        Well, I guess you might could manually do this if you understand the internal structure of the GeoIP database files.  Any change would be overwritten with the next scheduled update, though.  I don't know the internal structure of those files.

        Bill

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.