Country Block
-
This is a message that keeps popping up in system logs. Note Country Block is not installed and I am unable to reinstall it. It looks like chpalmer on the 07/19/2011 has this same issue.
Jul 21 15:35:41 php: : The command '/usr/local/pkg/pf/countryblock.sh start' returned exit code '2', the output was 'not running root: Countryblock was found not running Status: 404 Not Found Content-type: text/html No input file specified. 0 table deleted. 128 20 rm: /tmp/rules.debug.tmp: No such file or directory rm: /tmp/rules.debug.tmp: No such file or directory 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 cat: /usr/local/www/packages/countryblock/interfaces.txt: No such file or directory 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
-
Ok, so I updated to todays image 07/22/2011 and after the system rebooted I was able to install Country Block. I went and was able to install Country Block on my other system as well after doing the image update to todays as well. Must of been something about the image from 07/21/2011 that Country Block did not like?
MDP
-
It's possible, who knows?
Did you un-install the other packages first? Or did you install County Block on top of the other packages?
-
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 2011The only other packages I have installed are cron and spamd.
Thanks,
Jon -
@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 2011The only other packages I have installed are cron and spamd.
Thanks,
JonTry using SSL to connect to your SMTP host.
-
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.
-
Two issue's
-
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?
-
I have 2 wan connections does Country block work with multi-Wans?
Thanks
cjb
-
-
Same here. CIDR.php hangs
-
Try installing the package again. CIDR.php should not hang this time.
-
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. -
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.
-
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.
-
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.
-
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.
-
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 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.
-
It was the little button that did the trick
I actually didn't see it, until I read your note.
Thank you, -
No problem. Glad it's working.
-
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
-
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.