Error adding Snort interface after upgrade



  • I have pfSense embedded on a 4 GB flash card, it's actually a PFW201 from Tranquilnet.  I upgraded from 1.2.3 to 2.0.5 yesterday.  Snort installed.  Then I go to Services -> Snort and when I click to add an interface I get the following page:

    Fatal error: Call to undefined function snort_generate_id() in /usr/local/www/snort/snort_interfaces_edit.php on line 68



  • @dlogan:

    I have pfSense embedded on a 4 GB flash card, it's actually a PFW201 from Tranquilnet.  I upgraded from 1.2.3 to 2.0.5 yesterday.  Snort installed.  Then I go to Services -> Snort and when I click to add an interface I get the following page:

    Fatal error: Call to undefined function snort_generate_id() in /usr/local/www/snort/snort_interfaces_edit.php on line 68

    Ugh!  Another Nano install… :'(

    OK, I'm not completely hostile to Nano installs, but it seems there are frequently a number of problems with packages on these systems.  This error means that either you do not have a snort.inc file on the partition, or it is an exceedingly old one.  Since you didn't post with all the other errors I would expect if the file was completetly missing, I'm thinking your partition has one that is very, very old.

    Try removing the Snort package, rebooting, then installing it again.  If that doesn't work, you will need to put your system partition in read/write mode, and then go find the file /usr/local/pkg/snort/snort.inc and delete it.  Then try the install again.

    Bill