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

    Country Block

    Scheduled Pinned Locked Moved pfSense Packages
    691 Posts 79 Posters 666.5k 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

      @nipstech:

      I'm having trouble getting the email notifications to work. When I hit the "test" button the firewall throws the following error:

      Warning: fsockopen(): unable to connect to none://smtpout.secureserver.net:80 (Unable to find the socket transport "none" - did you forget to enable it when you configured PHP?) in /usr/local/www/packages/countryblock/class.smtp.php on line 122 Mailer Error: SMTP Error: Could not connect to SMTP host.

      Using 2.0-RC3 (i386)
      built on Fri Jul 22 22:35:57 EDT 2011

      The only other packages I have installed are cron and spamd.

      Thanks,
      Jon

      Try using SSL to connect to your SMTP host.

      -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
      • JSmoradaJ
        JSmorada
        last edited by

        I tried that. Don't have a self-cert though so if that's necessary I can generate one and try again. I'm trying to smtp through my domain provider who uses authentication and recommends port 80 to get past port blocking when I'm on the road.

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

          Two issue's

          1. Having same problem that country block will not install on the latest (Friday 12 August 2011) version of PFsense.  It hangs at :CIDR.php failed.  and then uninstalls the package.  Any solution?

          2. I have 2 wan connections does Country block work with multi-Wans?

          Thanks

          cjb

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

            Same here. CIDR.php hangs

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

              Try installing the package again. CIDR.php should not hang this time.

              -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

                I am NEW to this.  We installed pfsense, with no packages.
                I really need to install country block, because SPAM is killing me.
                I am running 2.0 - RC1 (i386).
                It says there is an update available. 
                Should I install the update before I install country block?
                How often does the cron job to start country block have to run?
                I saw the cron job package, is it simple to use??
                Thank you for your time.

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

                  @ljbowdish:

                  I am NEW to this.  We installed pfsense, with no packages.
                  I really need to install country block, because SPAM is killing me.
                  I am running 2.0 - RC1 (i386).
                  It says there is an update available. 
                  Should I install the update before I install country block?
                  How often does the cron job to start country block have to run?
                  I saw the cron job package, is it simple to use??
                  Thank you for your time.

                  Update your pfsense install. Yours is really outdated. Then install countryblock. No need for a cron job anymore. That was a long time ago.

                  -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
                  • marcellocM
                    marcelloc
                    last edited by

                    @ljbowdish:

                    I really need to install country block, because SPAM is killing me.
                    \

                    try spamd.

                    i'm also porting postfix zombie blocker and spamassassin to pfsense too.

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

                    Help a community developer! ;D

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

                      @marcelloc:

                      @ljbowdish:

                      I really need to install country block, because SPAM is killing me.
                      \

                      try spamd.

                      i'm also porting postfix zombie blocker and spamassassin to pfsense too.

                      With countryblock you can cut down on 90% or more of spam. Spam just isn't unsolicited emails, it's also bots on forums, blogs, etc. Countryblock stops all forms of spam at the source rather than a reactive solution. Using IP-Blocklist with countryblock gives pfsense users more spam blocking power as well since I-blocklist.com maintains a spammer list.

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

                        Yes, our mail servers already do everything that spamd does, plus more. But after installing Country Block, our spam dropped a lot more, even with the few bugs I've encountered.

                        I'm waiting to update it until I update to the final release of pfSense 2.0, which should be soon. At that point, my spam should drop a lot more.

                        What you don't realise is that a lot of spam comes from good servers that have been hacked as well as computers. Thus spam is always coming from different servers with different bogus email addresses.

                        Believe me, Country Block does work.

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

                          I updated to 2.0 RC3.  I installed the country block package.  I selected the countries to block. 
                          Did save, update.

                          now it says

                          Current Status = NOT running

                          You are blocking 0 Networks

                          How do I get it to run??  Do I need to restart teh firewall??

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

                            @ljbowdish:

                            I updated to 2.0 RC3.  I installed the country block package.  I selected the countries to block.  
                            Did save, update.

                            now it says

                            Current Status = NOT running

                            You are blocking 0 Networks

                            How do I get it to run??  Do I need to restart teh firewall??

                            I think you rushed to the forums without troubleshooting a little more. Ensure you select your countries and then commit. After you commit Check "Enable Countryblock" and the click Save. That should work 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
                            • L
                              ljbowdish
                              last edited by

                              It was the little button that did the trick
                              I actually didn't see it, until I read your note.
                              Thank you,

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

                                No problem. Glad it's working.

                                -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
                                • D
                                  darklogic
                                  last edited by

                                  Well I am having the same issue with country block again where it hangs on CIDR.php after doing an firmware update. I am at least glad to see other have seen this issue as well.

                                  Anyone still getting this error?

                                  Thanks,

                                  MDP

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

                                    @darklogic:

                                    Well I am having the same issue with country block again where it hangs on CIDR.php after doing an firmware update. I am at least glad to see other have seen this issue as well.

                                    Anyone still getting this error?

                                    Thanks,

                                    MDP

                                    CIDR.php is hosted on my personal web server right now. I am still looking into alternate storage solutions. It may end up getting hosted on pfsense.org here soon.

                                    -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
                                    • D
                                      darklogic
                                      last edited by

                                      Is there anything I could do at this moment to get country block up and running until that happens?

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

                                        Working on 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
                                        • D
                                          darklogic
                                          last edited by

                                          Thanks Tommyboy…

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

                                            I have County Block installed on pfSense 1.2.3-RELEASE - installed yesterday.  It is enabled and running with 84 of 252 selected.  The problem I have is that under "Current Status = Running" it shows "You are blocking 0 Networks".  Am I doing something wrong?  I have uninstalled and reinstalled with no change in results.

                                            EDIT: uninstalling and reinstalling after your most recent post has fixed the problem.  I did notice that during install this time there was a progress indicator when downloading CIDR.php where before it hung on downloading that file for about 30 seconds - funny thing was that the installation indicated that it was successful even though it appears CIDR.php had not downloaded.  Thanks!

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