Reinstall pfB deps
-
I recently "repaired" a pfSense box that I broke by trying to use the Watchdog package at the same time as pfB. However whilst I was thrashing around messing with things until I found the root problem I have broken several of the packages that pfB needs. I think that I need to reinstall pfB's dependencies - mentioned under its package listing such as GeoIP etc. For example the GeoIP page in the pfB section gives me a "No valid package defined." error.
I only speak BSD with a really strong Linux accent at the moment and would be grateful if someone could tell me how to force say "GeoIP-1.6.9" to reinstall on pfSense 2.3.3p1. I'm loath to start messing with pkg (?) without a bit of guidance at this stage.
Cheers
Jon -
Don't try messing around with it, just re-install the package from the pfSense Pkg manager GUI…
-
Don't try messing around with it, just re-install the package from the pfSense Pkg manager GUI…
That doesn't re-install the deps (just tried it)
>>> Upgrading pfSense-pkg-pfBlockerNG... Updating pfSense-core repository catalogue... pfSense-core repository is up-to-date. Updating pfSense repository catalogue... pfSense repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pfSense-pkg-pfBlockerNG-2.1.1_7 [pfSense] Number of packages to be reinstalled: 1 [1/1] Reinstalling pfSense-pkg-pfBlockerNG-2.1.1_7... [1/1] Extracting pfSense-pkg-pfBlockerNG-2.1.1_7: .......... done Removing pfBlockerNG components... Menu items... done. Services... done. Loading package instructions... Removing pfBlockerNG... All customizations/data will be retained... done. Saving updated package information... overwrite! Loading package configuration... done. Configuring package components... Loading package instructions... Custom commands... Executing custom_php_install_command()... MaxMind GeoIP databases previously downloaded. Adding pfBlockerNG Widget to the Dashboard... done. Remove any existing and create link for DNSBL lighttpd executable... done. Creating DNSBL web server start-up script... done. Creating DNSBL web server config ... done. Creating DNSBL Certificate... done. Starting DNSBL Service... done. Upgrading Adv. Inbound firewall rule settings ... no changes required ... done. Custom commands completed ... done. Executing custom_php_resync_config_command()...1 table created. 1/1 addresses added. done. Menu items... done. Services... done. Writing configuration... done. >>> Cleaning up cache... done. Success
Cheers
Jon -
Try to run this command from the shell:
php /usr/local/www/pfblockerng/pfblockerng.php dc
Its not the dependencies that are missing, it looks like MaxMind didn't download and create the dynamic Continent XML pages …
@Jon:
For example the GeoIP page in the pfB section gives me a "No valid package defined." error.
-
Thanks for that hint. I now have a bit more back - the DNSBL country lists.
However the rules are still missing. I was quite thorough in breaking things in my rubbish attempts to fix this system 8)
Cheers
Jon -
Which rules are you referring to?