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

    IP-Blocklist

    Scheduled Pinned Locked Moved pfSense Packages
    496 Posts 86 Posters 525.9k 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.
    • T
      tommyboy180
      last edited by

      @ljbowdish:

      I used your spam list, http://www.tomschaefer.org/temp/pfsense/IP-Blocklist-ForumSpam.txt, and then created my own, it's small, but it's a start,
      http://www.safetyservicesinc.com/spamlist/spamlist2.txt
      and added it to IP Blocklist.  When I started, the package reported
      You are blocking 46182 Networks/IPs
      I added about 25 ip's, but the number being blocked did not change.  Did I do something wrong??

      The two lists are added to ipfw.ipfw in /usr/local/www/packages/ipblocklist/lists

      Try adding just the one list and click save/update. See how many lines in that file
      Now add both lists and click save/update. See how many lines in that file.

      Is there a difference?

      -Tom Schaefer
      SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

      Please support pfBlocker | File Browser | Strikeback

      1 Reply Last reply Reply Quote 0
      • L
        ljbowdish
        last edited by

        There was not.
        I'll try deleting both lists, then add one in, then delete it, then add both in and report back the difference if any.

        1 Reply Last reply Reply Quote 0
        • L
          ljbowdish
          last edited by

          There must be something I'm wrong with my list, because when I added it in, all by itself, I'm blocking 0 IP's
          I added to the list based on the stuff from the Cisco list, so it's more than the 25 I had this AM
          Do they need to be sorted??

          snip3.jpg
          snip3.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • L
            ljbowdish
            last edited by

            found a semi-colon instead of a colon, but the results are the same.
            RATS.

            1 Reply Last reply Reply Quote 0
            • L
              ljbowdish
              last edited by

              /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw
              is blank when I used my file.

              1 Reply Last reply Reply Quote 0
              • T
                tommyboy180
                last edited by

                Your custom list, is it hosted on a webserver on the same lan as the pfsense router?

                -Tom Schaefer
                SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                Please support pfBlocker | File Browser | Strikeback

                1 Reply Last reply Reply Quote 0
                • L
                  ljbowdish
                  last edited by

                  yes.  The custom list is on the web server that is behind the firewall.
                  Also, I signed up for I-Block list, and got their spam list, when I pasted in the link, in either p2p format or cidr format, nothing loaded.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tommyboy180
                    last edited by

                    When a list is hosted on a server that is on the same network as the router, you have to use the private IP address of the webserver for the list.

                    Fetch does not work when you tell pfsense to fetch from itself. Try modifying your link with the IP in the URL instead of the FQDN. I think you will find that your list will work now.

                    -Tom Schaefer
                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                    Please support pfBlocker | File Browser | Strikeback

                    1 Reply Last reply Reply Quote 0
                    • L
                      ljbowdish
                      last edited by

                      YahOOO
                      I'm not certain which format worked, but I am no blocking 64 IP addresses.
                      Tommy, YOU ARE A HERO

                      Now, why won't the I-Block list list work??
                      Not as important as having my list work, I can assure you.
                      Thank you

                      snip3.jpg
                      snip3.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • T
                        tommyboy180
                        last edited by

                        @ljbowdish:

                        YahOOO
                        I'm not certain which format worked, but I am no blocking 64 IP addresses.
                        Tommy, YOU ARE A HERO

                        Now, why won't the I-Block list list work??
                        Not as important as having my list work, I can assure you.
                        Thank you

                        Glad that's working.
                        So the I-Blocklist.com list url is http://list.iblocklist.com/?list=rynxmrknfjysesjtjlxy&fileformat=p2p&archiveformat=gz&id=ljbowdish&pin=2728 but when you open this list in a browser it redirects to http://list.iblocklist.com/f/sgtbrdkspntjshbzbimf/rynxmrknfjysesjtjlxy.gz

                        So http://list.iblocklist.com/f/sgtbrdkspntjshbzbimf/rynxmrknfjysesjtjlxy.gz is your true URL. I-Blocklist uses multiple mirrors to host files and the first link is just a refferer to the mirror list. The second url is where that link takes you, to the .gz file.

                        The version of fetch on pfsense doesn't follow links intelligently which requires users to find the true URL. Pro tip: Open the I-Blocklist.com link in a browser and download the file. Go back into the download history and copy the URL where the download came from. This is the True URL.

                        -Tom Schaefer
                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                        Please support pfBlocker | File Browser | Strikeback

                        1 Reply Last reply Reply Quote 0
                        • L
                          ljbowdish
                          last edited by

                          @tommyboy180:

                          Glad that's working.
                          So the I-Blocklist.com list url is http://list.iblocklist.com/?. Pro tip: Open the I-Blocklist.com link in a browser and download the file. Go back into the download history and copy the URL where the download came from. This is the True URL.

                          A tip from a PRO.  Thank you.

                          1 Reply Last reply Reply Quote 0
                          • T
                            tommyboy180
                            last edited by

                            lol. Perhaps one day I may get around this by using wget, but I don't like adding bells and whistles unless you need to. KISS is how you get stable packages.
                            Maybe fetch will get an upgrade one day, but until then the user will have to ensure they have the true URL. Once you have that URL, you don't have to worry about that list anymore.

                            Thank you for your time sir and your generous donation!

                            -Tom Schaefer
                            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                            Please support pfBlocker | File Browser | Strikeback

                            1 Reply Last reply Reply Quote 0
                            • L
                              ljbowdish
                              last edited by

                              p2p format??  That's what I downloaded.
                              I saw something about CDIR format.  Which is preferred??

                              1 Reply Last reply Reply Quote 0
                              • T
                                tommyboy180
                                last edited by

                                @ljbowdish:

                                p2p format??  That's what I downloaded.
                                I saw something about CDIR format.  Which is preferred??

                                p2p format is the only supported format right now. Soon, the package will move to CIDR only.

                                I created a poll on this. It has a list of pro's and con's and is still open for voting
                                http://forum.pfsense.org/index.php/topic,39649.0.html

                                -Tom Schaefer
                                SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                Please support pfBlocker | File Browser | Strikeback

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Shuey
                                  last edited by

                                  If this has already been asked, I apologize, but I'm wondering:  Is there a best practice for blocking domains?  While searching for blocklists, I found a very extensive collection but it only listed the domains, not the actual IP's.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tommyboy180
                                    last edited by

                                    @Shuey:

                                    If this has already been asked, I apologize, but I'm wondering:  Is there a best practice for blocking domains?  While searching for blocklists, I found a very extensive collection but it only listed the domains, not the actual IP's.

                                    Not sure on that one. It seems like a simple thing to script though. Feed a list of domains and for each domain ping it to have DNS resolve the IP and output that into an IP list. Should be less than 10 lines to script.

                                    -Tom Schaefer
                                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                    Please support pfBlocker | File Browser | Strikeback

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      ljbowdish
                                      last edited by

                                      This seems to be a never ending battle.  I'm adding 20-30 Ip's every night. 
                                      Is there a better list??

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tommyboy180
                                        last edited by

                                        @ljbowdish:

                                        This seems to be a never ending battle.  I'm adding 20-30 Ip's every night. 
                                        Is there a better list??

                                        Context? List for what and why are IP's being added every night?

                                        -Tom Schaefer
                                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                        Please support pfBlocker | File Browser | Strikeback

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Maxamoto
                                          last edited by

                                          I really want to get this to work… I've tried all the suggestions in this thread, but nothing seems to work.  Host package locally, get true URL, reinstall pfsense from scratch, and so on...

                                          What happens is this: I add the URL, click 'save/update', and nothing. No update, no page activity, nada. I've left it for hours and it just sits there. Am I missing something? If I'm just dense, please let me know, but I don't see any obvious fix for this issue in the forum. Flame away if there is a fix and I missed it... Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tommyboy180
                                            last edited by

                                            What version of pfsense are you running?
                                            Can you provide a sample list (url)?

                                            • Ensure the Enable checkbox is checked before you click save/update

                                            • Use firefox or Chrome. IE is not supported

                                            -Tom Schaefer
                                            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                            Please support pfBlocker | File Browser | Strikeback

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