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

IP-Blocklist

pfSense Packages
86
496
493.1k
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 Mar 16, 2011, 9:01 PM

    @Slab:

    @bubba:

    ok maybe another dumb question but…
    I'm running peerblock on my computer right now. It only has the 3 default lists running (p2p, spyware, ads) and says it is blocking 776,905,708 IPs

    My pfsense firewall with ipblocklist is also running and it says "you are blocking 351,073 network/IPs"
    I have the following lists:
    http://iblocklist.dbnservers.net/files/bt_spyware.gz
    http://iblocklist.rlcassidy.net/files/bt_ads.gz
    http://ibl.gamechaser.net/files/bt_level2.gz
    http://iblocklist.rlcassidy.net/files/bt_level3.gz
    http://iblocklist.dbnservers.net/files/bt_level1.gz

    So what I don't understand is why is peerblock still getting activity, and also why are the ip numbers so much lower in ipblock when I'm using the same lists plus more.

    Thanks in advance!

    Just a guess …but perhaps peerblock is giving you the total IP addresses in each subnet that is blocked in addition to any individual IP addresses that may be blocked, while IP-Blocklist is only counting each subnet (not the address totals within each subnet) plus any individual IP addresses that may be blocked...

    That is correct. Each network get converted to CIDR. So the count reflects the networks and not the IPs. I can't change this.
    You may still see traffic on your peerblock (on the client) behind pfsense because of the outbound traffic.

    -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
    • B
      bubba
      last edited by Mar 17, 2011, 1:07 AM

      ok thanks. So it would be best to keep running peerblock then as well I assume…

      One other problem I'm having is when Level1 list is running and I go to yahoo.ca or yahoo.com I cannot perform a search (on both IE and FF). If I delete level1 it works. So as an experiment I added "Search Engines" http://list.iblocklist.com/?list=pfefqteoxlfzopecdtyw to the whitelist. Now yahoo is functioning just fine. So is this ok to use something that is meant to be blocked as something to allow? Anyone have issues with yahoo and level1 list? Is there a better list I should use to make search engines work? I'd prefer not to have to create one.

      @tommyboy180:

      That is correct. Each network get converted to CIDR. So the count reflects the networks and not the IPs. I can't change this.
      You may still see traffic on your peerblock (on the client) behind pfsense because of the outbound traffic.

      1 Reply Last reply Reply Quote 0
      • T
        tommyboy180
        last edited by Mar 17, 2011, 1:31 AM

        @bubba:

        ok thanks. So it would be best to keep running peerblock then as well I assume…

        One other problem I'm having is when Level1 list is running and I go to yahoo.ca or yahoo.com I cannot perform a search (on both IE and FF). If I delete level1 it works. So as an experiment I added "Search Engines" http://list.iblocklist.com/?list=pfefqteoxlfzopecdtyw to the whitelist. Now yahoo is functioning just fine. So is this ok to use something that is meant to be blocked as something to allow? Anyone have issues with yahoo and level1 list? Is there a better list I should use to make search engines work? I'd prefer not to have to create one.

        @tommyboy180:

        That is correct. Each network get converted to CIDR. So the count reflects the networks and not the IPs. I can't change this.
        You may still see traffic on your peerblock (on the client) behind pfsense because of the outbound traffic.

        It wouldn't hurt to keep running peerblock but I think you misunderstood. Some of the outbound traffic will try to go to the blocked IP addresses. This is because of the peer sources and data that torrents give your torrent client to talk to other peers. So your peerblock will log those outbound attempts even though the IP-Blocklist package will still block those packets. You're covered either way. If you're paranoid then just run both.

        As far as the yahoo thing goes, sure that's fine. That's what the whitelist is for. If yahoo is being blocked in the level1 and you need access then keep using the search engine list for your whitelist. That's the proper way of doing things. It's like permanently allowing yahoo within your peerblock. I do the same for banking sites and alike.

        Take care!

        -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
          mxx
          last edited by Mar 31, 2011, 12:34 PM

          Hi,

          does anyone know an ip blocklist that actually harms p2p instead of making it "more secure" (by blocking companies known to work for the MPAA?)
          Something like a list for blocking known torrent trackers or something like that?

          I searched and searched the net but all I could find was related to the opposite.

          Thank you very much!

          1 Reply Last reply Reply Quote 0
          • T
            tommyboy180
            last edited by Mar 31, 2011, 1:28 PM

            @mxx:

            Hi,

            does anyone know an ip blocklist that actually harms p2p instead of making it "more secure" (by blocking companies known to work for the MPAA?)
            Something like a list for blocking known torrent trackers or something like that?

            I searched and searched the net but all I could find was related to the opposite.

            Thank you very much!

            Level1 List is exactly that.

            -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
              mxx
              last edited by Mar 31, 2011, 2:13 PM

              Oh, thank you! I must have confused something in that description then. Will take another look.
              Sorry to have asked the obvious..

              1 Reply Last reply Reply Quote 0
              • M
                mxx
                last edited by Mar 31, 2011, 4:43 PM Mar 31, 2011, 2:17 PM

                @tommyboy180:

                @mxx:

                Hi,

                does anyone know an ip blocklist that actually harms p2p instead of making it "more secure" (by blocking companies known to work for the MPAA?)
                Something like a list for blocking known torrent trackers or something like that?

                I searched and searched the net but all I could find was related to the opposite.

                Thank you very much!

                Level1 List is exactly that.

                Hmm..

                is this it?

                List name: level1
                Author: Bluetack
                Author's website: bluetack.co.uk
                Author's description:
                Companies or organizations who are clearly involved with trying to stop filesharing.
                Companies which anti-p2p activity has been seen from.
                Companies that produce or have a strong financial interest in copyrighted material.
                Government ranges or companies that have a strong financial interest in doing work for governments.
                Legal industry ranges.
                IPs or ranges of ISPs from which anti-p2p activity has been observed.

                So judging from its description it's a p2p enhancing blocklist, not designed to BLOCK FILESHARING (or at least make it more difficult).

                I'm looking for a list that carries ip's of -for example- known torrent tracker sites and block that…

                1 Reply Last reply Reply Quote 0
                • T
                  tommyboy180
                  last edited by Mar 31, 2011, 9:59 PM

                  @mxx:

                  @tommyboy180:

                  @mxx:

                  Hi,

                  does anyone know an ip blocklist that actually harms p2p instead of making it "more secure" (by blocking companies known to work for the MPAA?)
                  Something like a list for blocking known torrent trackers or something like that?

                  I searched and searched the net but all I could find was related to the opposite.

                  Thank you very much!

                  Level1 List is exactly that.

                  Hmm..

                  is this it?

                  List name: level1
                  Author: Bluetack
                  Author's website: bluetack.co.uk
                  Author's description:
                  Companies or organizations who are clearly involved with trying to stop filesharing.
                  Companies which anti-p2p activity has been seen from.
                  Companies that produce or have a strong financial interest in copyrighted material.
                  Government ranges or companies that have a strong financial interest in doing work for governments.
                  Legal industry ranges.
                  IPs or ranges of ISPs from which anti-p2p activity has been observed.

                  So judging from its description it's a p2p enhancing blocklist, not designed to BLOCK FILESHARING (or at least make it more difficult).

                  I'm looking for a list that carries ip's of -for example- known torrent tracker sites and block that…

                  lol. I completely miss understood you. You want a list that blocks P2P, correct?

                  Not sure. I guess you would have to google that. Pfsense 2.0 has layer 7 support so you will be able to block all P2P without using a list. This may be the better solution for you.

                  -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
                    mxx
                    last edited by Apr 2, 2011, 2:21 PM

                    ;)

                    The problem is that layer7 doesn't work properly on 2.0 yet..
                    Also it would be nice to have some additional options to reduce p2p to a minimum…

                    I can't believe there's no blocklist for that.. well I couldn't find one..

                    Please, if someone knows anything, help me out ;)

                    Thank you!

                    Max

                    1 Reply Last reply Reply Quote 0
                    • L
                      larathydo
                      last edited by Apr 9, 2011, 9:01 PM

                      Hey All,

                      Just installed PFSense (2.0-RC1 (i386), built on Wed Apr 6 23:30:13 EDT 2011) and tried to install the IP-Blocklist package through the GUI package installer.

                      No matter what I do, it always is showing "You are blocking 0 Networks/IPs". I've tried using the official 'level' lists which are mentioned on the configuration page:

                      http://iblocklist.whitacrecomputers.com/files/bt_level1.gz
                      http://iblocklist.whitacrecomputers.com/files/bt_level2.gz
                      http://iblocklist.whitacrecomputers.com/files/bt_level3.gz

                      In addition, i've tried using the lists located here: http://www.iblocklist.com/lists.php. I make sure when entering in the address that I do so with the full path to the .gz file itself.

                      I've tried uninstalling, reinstalling again, reinstalling the package & GUI components (from the package management page). All the while, logging is enabled and yet under Status > System Logs, i see no issues or warnings being generated by the package. Every time I check the status of the package (I.E. "You are blocking 0 Networks/IPs") the package is always listed as being in a "Running" state.

                      Any suggestions / help? I have no idea what is wrong…

                      1 Reply Last reply Reply Quote 0
                      • I
                        ia2130
                        last edited by Apr 10, 2011, 11:16 PM

                        Hi All,
                        Please help me block single ip adress (89.34.12.145)
                        When I try to add rule some like NAS:89.34.12.145-89.34.12.145
                        It did not work.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Atlanta-Mike
                          last edited by Apr 11, 2011, 2:31 AM

                          I have looked through this tread and can't seem to find it, how do you keep IP-Block list running?  I can hit save and it will run for a little while but then when I check a few minutes later it is not running again.  I have tried uninstalling and reinstalling and am getting the same results.  I am also getting the same results with Country Block.  However using the cron job below, I can at least get it going again automatically.  It does make me wonder if these two packages spend more time not running than running, just how much use I am getting out of them.

                          */5 * * * * root /usr/local/etc/rc.d/countryblock.sh

                          I should say, my assumption is always that I did something wrong, I just need a little help solving this one.

                          1 Reply Last reply Reply Quote 0
                          • M
                            m4rcu5
                            last edited by Apr 11, 2011, 11:00 AM

                            @Atlanta-Mike:

                            I have looked through this tread and can't seem to find it, how do you keep IP-Block list running?  I can hit save and it will run for a little while but then when I check a few minutes later it is not running again.  I have tried uninstalling and reinstalling and am getting the same results.  I am also getting the same results with Country Block.  However using the cron job below, I can at least get it going again automatically.  It does make me wonder if these two packages spend more time not running than running, just how much use I am getting out of them.

                            */5 * * * * root /usr/local/etc/rc.d/countryblock.sh

                            I should say, my assumption is always that I did something wrong, I just need a little help solving this one.

                            I guess this is due to another process reloading the filters. If i am correct this will remove the ipblocklist from the rules and therefore disable it.

                            @Tom,
                            Can't you add a link to '/usr/local/pkg/pf/' qouting from http://remcobressers.nl/2009/08/configuring-native-ipv6-pfsense/:

                            After some searching on the box, i noticed that after changing things in the GUI the function filter_configure_sync() is called and the rules will be flushed.
                            This function can be found in /etc/inc/filter.inc (line 78). In the function, there’s a hook to a plugin directory. When the function filter_configure_sync() is called, the function will look in the /usr/local/pkg/pf directory for scripts, which will be executed. This only happens if scripts end with “.sh” as the extension.

                            -m4rcu5

                            1 Reply Last reply Reply Quote 0
                            • F
                              focalguy
                              last edited by Apr 12, 2011, 12:47 AM

                              @larathydo:

                              Hey All,

                              Just installed PFSense (2.0-RC1 (i386), built on Wed Apr 6 23:30:13 EDT 2011) and tried to install the IP-Blocklist package through the GUI package installer.

                              No matter what I do, it always is showing "You are blocking 0 Networks/IPs". I've tried using the official 'level' lists which are mentioned on the configuration page:

                              -snip-

                              I've tried uninstalling, reinstalling again, reinstalling the package & GUI components (from the package management page). All the while, logging is enabled and yet under Status > System Logs, i see no issues or warnings being generated by the package. Every time I check the status of the package (I.E. "You are blocking 0 Networks/IPs") the package is always listed as being in a "Running" state.

                              Any suggestions / help? I have no idea what is wrong…

                              +1. I had this working about a month or two ago but now it does not work. I just updated to the latest snapshot today and tried reinstalling the package but I get the "you are blocking 0 Networks".

                              1 Reply Last reply Reply Quote 0
                              • T
                                tommyboy180
                                last edited by Apr 12, 2011, 12:52 AM

                                @focalguy:

                                @larathydo:

                                Hey All,

                                Just installed PFSense (2.0-RC1 (i386), built on Wed Apr 6 23:30:13 EDT 2011) and tried to install the IP-Blocklist package through the GUI package installer.

                                No matter what I do, it always is showing "You are blocking 0 Networks/IPs". I've tried using the official 'level' lists which are mentioned on the configuration page:

                                -snip-

                                I've tried uninstalling, reinstalling again, reinstalling the package & GUI components (from the package management page). All the while, logging is enabled and yet under Status > System Logs, i see no issues or warnings being generated by the package. Every time I check the status of the package (I.E. "You are blocking 0 Networks/IPs") the package is always listed as being in a "Running" state.

                                Any suggestions / help? I have no idea what is wrong…

                                +1. I had this working about a month or two ago but now it does not work. I just updated to the latest snapshot today and tried reinstalling the package but I get the "you are blocking 0 Networks".

                                The BETA 2.0 shouldn't change anything with the package compatibility but it seems to change for some people. My support for BETA 2 is limited since there are new snapshots all the time and, well, it's still BETA. I will do my best to keep up with the latest but please keep in mind that if you may run into problems on BETA software.

                                -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
                                • F
                                  focalguy
                                  last edited by Apr 12, 2011, 1:25 AM

                                  Thanks Tom,

                                  I understand you are doing this as time permits and you have other things to do. I also understand it is Beta. I was hoping it was just something I was missing and it would be an easy fix.

                                  I'm not really sure if there are any logs I can capture or anything I can do to dig deeper as to why it is not working. If I can be of any help, please let me know. This is a nice package and I appreciate the work you put into it!

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tommyboy180
                                    last edited by Apr 12, 2011, 1:35 AM

                                    @focalguy:

                                    Thanks Tom,

                                    I understand you are doing this as time permits and you have other things to do. I also understand it is Beta. I was hoping it was just something I was missing and it would be an easy fix.

                                    I'm not really sure if there are any logs I can capture or anything I can do to dig deeper as to why it is not working. If I can be of any help, please let me know. This is a nice package and I appreciate the work you put into it!

                                    You can follow the process by running convert-execute.sh via the command line and watching the stdout. I will update my BETA 2.0 to the latest and check it it works. What other packages do you have installed?

                                    -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
                                    • T
                                      tommyboy180
                                      last edited by Apr 12, 2011, 1:40 AM

                                      @m4rcu5:

                                      @Atlanta-Mike:

                                      I have looked through this tread and can't seem to find it, how do you keep IP-Block list running?  I can hit save and it will run for a little while but then when I check a few minutes later it is not running again.  I have tried uninstalling and reinstalling and am getting the same results.  I am also getting the same results with Country Block.  However using the cron job below, I can at least get it going again automatically.  It does make me wonder if these two packages spend more time not running than running, just how much use I am getting out of them.

                                      */5 * * * * root /usr/local/etc/rc.d/countryblock.sh

                                      I should say, my assumption is always that I did something wrong, I just need a little help solving this one.

                                      I guess this is due to another process reloading the filters. If i am correct this will remove the ipblocklist from the rules and therefore disable it.

                                      @Tom,
                                      Can't you add a link to '/usr/local/pkg/pf/' qouting from http://remcobressers.nl/2009/08/configuring-native-ipv6-pfsense/:

                                      After some searching on the box, i noticed that after changing things in the GUI the function filter_configure_sync() is called and the rules will be flushed.
                                      This function can be found in /etc/inc/filter.inc (line 78). In the function, there’s a hook to a plugin directory. When the function filter_configure_sync() is called, the function will look in the /usr/local/pkg/pf directory for scripts, which will be executed. This only happens if scripts end with “.sh” as the extension.

                                      -m4rcu5

                                      You are a freaking genius! This is exactly what I was looking for! Everyone is going to be so happy once I commit these changes!
                                      Thank you again m4rcu5!

                                      -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
                                      • A
                                        Atlanta-Mike
                                        last edited by Apr 12, 2011, 2:35 AM

                                        @tommyboy180:

                                        You are a freaking genius! This is exactly what I was looking for! Everyone is going to be so happy once I commit these changes!
                                        Thank you again m4rcu5!

                                        Tom, do you think this change will fix my issue?

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tommyboy180
                                          last edited by Apr 12, 2011, 2:54 AM

                                          @Atlanta-Mike:

                                          @tommyboy180:

                                          You are a freaking genius! This is exactly what I was looking for! Everyone is going to be so happy once I commit these changes!
                                          Thank you again m4rcu5!

                                          Tom, do you think this change will fix my issue?

                                          It should. The only reason why the package stop working is because the firewall reloaded it's rules, either because of a change you made, reboot, or the system did it.
                                          So what this changes does it when ever there is a firewall reload the package will automatically be reloaded as well.

                                          Therefore you should have no down time and thus eliminating the need for the cron job completely. I'm still testing right now and someone else is testing embedded for me. Hopefully we get positive results.

                                          -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.