Mail spam from firewall "writing to routing socket…"



  • So I made some changes to the firewall yesterday. We have dual internet connections and was adjusting the DSL and after all the changes (because there were many as I was trying to get a static working) I started getting this in my email and it's been spamming the crud out of me….

    | X-Cron-Env: <shell= bin="" sh="">X-Cron-Env: <path= etc:="" bin:="" sbin:="" usr="" sbin="">X-Cron-Env: <home= var="" log="">X-Cron-Env: <logname=root>X-Cron-Env: <user=root>route: writing to routing socket: No such process</user=root></logname=root></home=></path=></shell=> |

    What is it that is causing this error and causing it to email me so dang much? All my internet connections are working just fine.



  • Is it possible that you have a duplicate gateway?  You can check under System -> Routing, on the Gateways tab.  Maybe you have a duplicate and have monitoring enabled on both?



  • Nope, no duplicate gateways. I did at one time trying to get all this static PPPOE stuff figured out with our DSL provider but I have the appropriate gateways now and for the moment my internet connections are set to DHCP.



  • Would screen shots help and which screen shots would one want to help figure out this issue?

    If it helps anyone to figure out what is going on the subject line is…..

    Cron root@firewall/etc/rc.filter_configure_sync/root@firewall



  • /etc/rc.filter_configure_sync contains the following…..

    | #!/usr/local/bin/php -f
    /* $Id$ /
    /

        rc.filter_configure_sync
        part of pfSense (http://www.pfSense.com)
        Copyright (C) 2004 Scott Ullrich
        All rights reserved.

    Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
          this list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright
          notice, this list of conditions and the following disclaimer in the
          documentation and/or other materials provided with the distribution.

    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
        INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
        AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
        AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
        OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
        SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
        INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
        CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
        ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
        POSSIBILITY OF SUCH DAMAGE.
    */

    require_once("config.inc");
    require_once("functions.inc");
    require_once("filter.inc");
    require_once("shaper.inc");
    require_once("ipsec.inc");
    require_once("vpn.inc");

    filter_configure_sync();

    ?>
    |