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

    Country Block

    pfSense Packages
    79
    691
    663.0k
    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.
    • marcellocM
      marcelloc
      last edited by

      I don't believe this:

      Look what i found in filter.inc  after coding everything…

      set limit table-entries {$config['system']['maximumtableentries']}

      it was all time in front of our noses  :D

      I'll fix the code and relase a new version..

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        PfBlocker 0.1.3 is out.

        Main improvement:

        Check network list size before applying rules. If lists are bigger then table size, pfBlocker sends a warning to user and suggest new value for table size.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          tommyboy,

          I've started a new topip for pfBlocker, if you don't mind.

          http://forum.pfsense.org/index.php/topic,42543.0.html

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            Pfblocker???

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @Supermule:

              Pfblocker???

              yes, countryblock evolution started  after this post from cmb

              http://forum.pfsense.org/index.php/topic,25732.msg218002.html#msg218002

              take a look.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

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

                @Supermule:

                Pfblocker???

                pfblocker will combine IP-Blocklist and Countryblock into a single package. It is going to be officially more stable than any release of Countryblock and IP-Blocklist thanks to all the hard work of marcelloc!

                @marcelloc:

                I don't believe this:

                Look what i found in filter.inc  after coding everything…

                set limit table-entries {$config['system']['maximumtableentries']}

                it was all time in front of our noses  :D

                I'll fix the code and relase a new version..

                That is awesome! I didn't even see that. Glad you caught it.

                -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
                  Supermule Banned
                  last edited by

                  Who came up with the idea for this??? ;)

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    The first goal was to Fix countryblock. Everything after this was 'forum brainstorm'.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • W
                      woc38
                      last edited by

                      Tommyboy, don't know if you are still reading this. I have pfSense 2.0 release with the Country Block package. I didn't 'upgrade' to pfBlocker yet.
                      Today I did an upgrade from pfSense 2.0 Release to 2.0.1 Release. During reboot, all packages are reinstalled. But, it loops in removing/installing Country Block:

                      Cleaning up... Beginning package installation for Country Block...
                      Downloading package configuration file... done.
                      Saving updated package information... done.
                      Downloading Country Block and its dependencies...
                      Loading package configuration... done.
                      Configuring package components...
                      Additional files... done.
                      Loading package instructions...
                      Custom commands...
                      Executing custom_php_install_command()...done.
                      Executing custom_php_resync_config_command()...done.
                      Custom commands...
                      Executing custom_php_install_command()...done.
                      Executing custom_php_resync_config_command()...done.
                      Backing up libraries...
                      Removing package...
                      Removing Country Block components...
                      Tabs items... done.
                      Menu items... done.
                      Loading package instructions...
                      Deinstall commands... done.
                      Removing package instructions...done.
                      Auxiliary files... done.
                      Package XML... done.
                      Configuration... done.
                      Cleaning up... Beginning package installation for Country Block...
                      Downloading package configuration file... done.
                      Saving updated package information... done.
                      Downloading Country Block and its dependencies...
                      Loading package configuration... done.
                      Configuring package components...
                      Additional files... done.
                      Loading package instructions...
                      Custom commands...
                      Executing custom_php_install_command()...done.
                      Executing custom_php_resync_config_command()...done.
                      Custom commands...
                      Executing custom_php_install_command()...done.
                      Executing custom_php_resync_config_command()...done.
                      Menu items... Backing up libraries...
                      Removing package...
                      Removing Country Block components...
                      Tabs items... done.
                      Menu items... done.
                      Loading package instructions...
                      Deinstall commands... done.
                      Removing package instructions...done.
                      Auxiliary files... done.
                      Package XML... done.
                      Configuration... done.
                      Cleaning up... Beginning package installation for Country Block...
                      Downloading package configuration file... done.
                      Saving updated package information... done.
                      ...etc...
                      
                      

                      I can't remove the package through the webinterface, because it says "package are being reinstalled in the background". I don't know what to do. The console just loops and loops…

                      Do you have an other way of removing the package. I don't want to do a complete new install...

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

                        That's really strange. I tested on 2.0.1 but it was a fresh install. I didn't test upgrade from 2.0 to 2.0.1.
                        Manually remove the package. Remove the package from your config file and also from /usr/local/pkg
                        Try to re-install after everything is removed and after reboot.

                        @woc38:

                        Tommyboy, don't know if you are still reading this. I have pfSense 2.0 release with the Country Block package. I didn't 'upgrade' to pfBlocker yet.
                        Today I did an upgrade from pfSense 2.0 Release to 2.0.1 Release. During reboot, all packages are reinstalled. But, it loops in removing/installing Country Block:

                        Cleaning up... Beginning package installation for Country Block...
                        Downloading package configuration file... done.
                        Saving updated package information... done.
                        Downloading Country Block and its dependencies...
                        Loading package configuration... done.
                        Configuring package components...
                        Additional files... done.
                        Loading package instructions...
                        Custom commands...
                        Executing custom_php_install_command()...done.
                        Executing custom_php_resync_config_command()...done.
                        Custom commands...
                        Executing custom_php_install_command()...done.
                        Executing custom_php_resync_config_command()...done.
                        Backing up libraries...
                        Removing package...
                        Removing Country Block components...
                        Tabs items... done.
                        Menu items... done.
                        Loading package instructions...
                        Deinstall commands... done.
                        Removing package instructions...done.
                        Auxiliary files... done.
                        Package XML... done.
                        Configuration... done.
                        Cleaning up... Beginning package installation for Country Block...
                        Downloading package configuration file... done.
                        Saving updated package information... done.
                        Downloading Country Block and its dependencies...
                        Loading package configuration... done.
                        Configuring package components...
                        Additional files... done.
                        Loading package instructions...
                        Custom commands...
                        Executing custom_php_install_command()...done.
                        Executing custom_php_resync_config_command()...done.
                        Custom commands...
                        Executing custom_php_install_command()...done.
                        Executing custom_php_resync_config_command()...done.
                        Menu items... Backing up libraries...
                        Removing package...
                        Removing Country Block components...
                        Tabs items... done.
                        Menu items... done.
                        Loading package instructions...
                        Deinstall commands... done.
                        Removing package instructions...done.
                        Auxiliary files... done.
                        Package XML... done.
                        Configuration... done.
                        Cleaning up... Beginning package installation for Country Block...
                        Downloading package configuration file... done.
                        Saving updated package information... done.
                        ...etc...
                        
                        

                        I can't remove the package through the webinterface, because it says "package are being reinstalled in the background". I don't know what to do. The console just loops and loops…

                        Do you have an other way of removing the package. I don't want to do a complete new install...

                        -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
                          sdennis72
                          last edited by

                          Country IP Blocks (countryipblocks.net) is now moving to a paid subscription model and their "free" tables will now be out of date by the time they're made free.

                          Perhaps Country Block could start getting its data from http://www.ipdeny.com/ipblocks/ instead?

                          –Sean

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmb
                            last edited by

                            @sdennis72:

                            Country IP Blocks (countryipblocks.net) is now moving to a paid subscription model and their "free" tables will now be out of date by the time they're made free.

                            Perhaps Country Block could start getting its data from http://www.ipdeny.com/ipblocks/ instead?

                            Anyone have any solid experience with those lists? It's a lot of work to maintain highly accurate country IP lists, which is why Country IP Blocks is going to a paid subscription model to keep it sustainable, and I have serious doubts if the other available options will be well maintained for the same reasons Country IP Blocks has found it unsustainable to strictly give away access (I've spoken to them via phone and email several times over the past few months).

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

                              @cmb:

                              Anyone have any solid experience with those lists? It's a lot of work to maintain highly accurate country IP lists, which is why Country IP Blocks is going to a paid subscription model to keep it sustainable, and I have serious doubts if the other available options will be well maintained for the same reasons Country IP Blocks has found it unsustainable to strictly give away access (I've spoken to them via phone and email several times over the past few months).

                              I just found the site doing a search.  It seems that this site allows usage of its lists in products like pfSense per their licensing agreement.  They also state on the main website page that they intend on keeping the information available for free.  This site also seems to have been around longer than Country IP Block although I might be wrong in that aspect.  The people that run this site might possibly have better financial backing than Country IP Block and therefore can offer their services for free.  I can't justify spending $100+ a year for what I can find elsewhere for free and as far as I can tell, their lists are just as accurate as Country IP Block's and unlike CIPB, their free lists are updated daily.

                              Just my two cents' worth.

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

                                I'll look into this. At the moment the Country data is static on Country IP Block. Country IP Ranges don't change enough to cause this app to pull dynamic data. There are times when the country data is updated but that's only about every 6 months.

                                In the mean time focus has moved from Country Block to pfBlocker, FYI.

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