Fatal error: Call to undefined function: get_interface_ip() in /usr/local/pkg/sn



  • ls,

    Pleas advise!

    Installed snort and want it to get working on LAN port, as inside the LAn there are some infected pc;s (at a camping/resortt with 75 villas)

    Getting error when trying to add LAN interface to be snorted and save:

    Fatal error: Call to undefined function: get_interface_ip() in /usr/local/pkg/snort/snort.inc on line 178

    Get it from page : https://93.154.3.105/snort/snort_interfaces_edit.php?id=0

    Versions
    pfsense 1.2.3
    snort 2.8.6.1 pkg v. 1.35

    gr
    feike



  • @feikel:

    ls,

    Pleas advise!

    Installed snort and want it to get working on LAN port, as inside the LAn there are some infected pc;s (at a camping/resortt with 75 villas)

    Getting error when trying to add LAN interface to be snorted and save:

    Fatal error: Call to undefined function: get_interface_ip() in /usr/local/pkg/snort/snort.inc on line 178

    Get it from page : https://93.154.3.105/snort/snort_interfaces_edit.php?id=0

    Versions
    pfsense 1.2.3
    snort 2.8.6.1 pkg v. 1.35

    gr
    feike

    You have two issues working against you.  First, your pfSense version is out of date.  The current release is 2.0.3.  Second, your Snort version is way behind and probably won't have any rules to download.  The current Snort binary version is 2.9.4.1 (you have 2.8.6.1) and the Snort Package version is 2.5.7 (and you have 1.35)

    Here is what I suggest:

    1.  First, make sure Snort is configured to save settings on de-install (this is a checkbox near the bottom of the Global Settings tab).

    2.  Go to the Installed Packages tab and delete the Snort package.

    3.  Now go to the System menu and do the firmware update to pfSense version 2.0.3.

    4.  When that finishes, and you are sure the firewall is running OK, then go to the Available Packages tab and reinstall Snort.

    These steps should get you an up-to-date system with a functional Snort package.  Here is a post I made a while back showing how to do a basic setup of Snort.  These instructions assume you have the latest Snort package.

    http://forum.pfsense.org/index.php/topic,61018.msg328717.html#msg328717

    Bill


Log in to reply