1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I get to know who/what calls the firewall script?

Discussion in 'Tomato Firmware' started by rs232, Jul 16, 2017.

  1. rs232

    rs232 Network Guru Member

    Looking at the log I can see numerous firewall restart calls.
    I did notice this because all the various dnsmasq, vpn etc initialisation logs.

    Is there any way to find out who/what is calling the firewall restart funtion?

    I'm sure there's a valid for this reason most of the times, but perhaps not always? I would love to know what's going on behind the scenes and I guess this would be a great troubleshooting activity.

    I'm wondering is modifying the "service" command to log the process calling the restart function would help here? Perhaps an option to have this enabled/disabled via the Debugging page?

    Thanks
     
  2. Sean B.

    Sean B. Addicted to LI Member

    Have you checked dmesg? Also, in routers GUI under Administration->Debugging .. set Console Log Level to 5. This should significantly increase the amount of information logged.. keep an eye on it though as the log may get big rather quickly.
     

Share This Page