Country Block
-
Something must have been hanging around. Had to remove, then reinstall. Now have CIDR folder and have networks blocked.
Thanks for the help, its better help than we get around here for paid support…
Well thank you for the compliment. I try to provide half decent support. Check out tomschaefer.org/pfsense
I created it to try to help more people that needed a way to directly contact me. -
um..the forum is free support, no paid support is offered "here" on the forum. If you want paid support see here:
https://portal.pfsense.org/index.php/support-subscriptionThe support here is really great, one of the top ones compared to other forums. tommyboy180 is excellent at providing support for his packages, he is really fast at getting back to you.
-
um..the forum is free support, no paid support is offered "here" on the forum. If you want paid support see here:
https://portal.pfsense.org/index.php/support-subscriptionThe support here is really great, one of the top ones compared to other forums. tommyboy180 is excellent at providing support for his packages, he is really fast at getting back to you.
Thank you. I appreciate the kind words. I'm sure many other package managers are just the same.
-
Hi,
I use 1.2.3 embedded. Country Block apparently installed ok and I could commit countries + enable but sadly Country Block drops into disabled pretty often (stays on for maybe an hour or so).
One thing I have seen: Under the "Whitelist" tab (where I have not added any IPs), there is this message:
Warning: fopen(countries-white.txt): failed to open stream: Read-only file system in /usr/local/www/packages/countryblock/whitelist.php on line 134 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/www/packages/countryblock/whitelist.php on line 135 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/countryblock/whitelist.php on line 140
Any chance to get this going on embedded? I really like the package…
Thanks1
-
@ghm:
Hi,
I use 1.2.3 embedded. Country Block apparently installed ok and I could commit countries + enable but sadly Country Block drops into disabled pretty often (stays on for maybe an hour or so).
One thing I have seen: Under the "Whitelist" tab (where I have not added any IPs), there is this message:
Warning: fopen(countries-white.txt): failed to open stream: Read-only file system in /usr/local/www/packages/countryblock/whitelist.php on line 134 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/www/packages/countryblock/whitelist.php on line 135 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/countryblock/whitelist.php on line 140
Any chance to get this going on embedded? I really like the package…
Thanks1
That's strange. I added embedded support in version 1.5 a long time ago. What package version do you have?
-
That's strange. I added embedded support in version 1.5 a long time ago. What package version do you have?
0.2.0 - I attach a list of my installed packages below. CB is my newest.
-
Something must have been hanging around. Had to remove, then reinstall. Now have CIDR folder and have networks blocked.
Thanks for the help, its better help than we get around here for paid support…
Sorry sorry for the misunderstanding…. I meant paid support here at our shop ::)
-
I am sorry for confusion …..
recently had this:
Current Status = Restarting
no IP address found for __csrf_magic
You are blocking 0 NetworksPfsence 2.0 Beta 5 ......
-
@ghm:
That's strange. I added embedded support in version 1.5 a long time ago. What package version do you have?
0.2.0 - I attach a list of my installed packages below. CB is my newest.
OK - and I can reproduce the following: My system gets a new dynamic WAN-IP every 12hrs (ISP requires that). That change renders CountyBlock not enabled and I have to re-enable manually.
-
You can add a cron job…..
I cant remember which file to add to the job, but Tom knows.....:)
-
I have the same problem even after setting up the cron. Have to manually enable it and then it works. 2.0 beta 5 …...
I have fallowed this thread with cron guidance but it looks like it does not work .....
Please advice
-
When you check "Enable Logging?" in the settings page, where is it being logged to?
-
When you check "Enable Logging?" in the settings page, where is it being logged to?
The firewall tab under system logs.
-
Thank you. I appreciate the kind words. I'm sure many other package managers are just the same.
I am only referring to my personal experience in contacting you. I know most if not all are very excellent.
For the cron job the command is : /usr/local/etc/rc.d/countryblock.sh
-
For the cron job the command is : /usr/local/etc/rc.d/countryblock.sh
I have now installed the Cron package as well, reinstalled Country Block and added the above command (every */5 minutes). It does not restart Country Block properly. I do see the following in Syslog every 5 minutes:
root: Countryblock was found not running
Is there a restart option that I need to add or is 5min to long - or else?
Thanks!
-
Is it possible to build a cron job as a part of CB?? So it does this automatically??
-
My cronjob is not working either…...it starts the package every minute.
Not running is the current status and the Cron doesnt start it.
-
After I go into the topic more deeply, I have found that Country Block is running. Problem was with crone ( */5 ) => (0) fixed the problem.
Also:
![country block.JPG](/public/imported_attachments/1/country block.JPG)
![country block.JPG_thumb](/public/imported_attachments/1/country block.JPG_thumb) -
But then it runs all the time….
Not optimal...
@mst:
After I go into the topic more deeply, I have found that Country Block is running. Problem was with crone ( */5 ) => (0) fixed the problem.
Also:
-
But then it runs all the time….
Not optimal...
@mst:
After I go into the topic more deeply, I have found that Country Block is running. Problem was with crone ( */5 ) => (0) fixed the problem.
Also:
The cron script checks to see if countryblock is running. If it is then it will exit and if countryblock is not running then it will attempt to start the package. It's fine.