From 665478a47f03b88f8916136d737285bcd50c2791 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 2 Nov 2017 17:25:39 +0100 Subject: [PATCH] two words about signals --- miniupnpd/INSTALL | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/miniupnpd/INSTALL b/miniupnpd/INSTALL index d7bf281..e4bbe34 100644 --- a/miniupnpd/INSTALL +++ b/miniupnpd/INSTALL @@ -4,7 +4,7 @@ Homepage : http://miniupnp.free.fr/ Mirror: https://miniupnp.tuxfamily.org/ github: https://github.com/miniupnp/miniupnp -miniupnpd is still under active developpement. This documentation is +miniupnpd is still under developpement. This documentation is likely to be a little outdated when you read it. So please go on the web forum https://miniupnp.tuxfamily.org/ if you need more information. @@ -138,7 +138,7 @@ The current code assumes there is only one IPv4 address assigned to LAN interfaces. That is not the case with some CARP setup, there is then a risk the wrong mask would be picked. You can force the mask when using interface names : -listtening_ip=eth0/24 +listening_ip=eth0/24 Miniupnpd supports some kind of security check for allowing or disallowing redirection to be made. The UPnP permission rules are read from the @@ -179,3 +179,14 @@ To stop the daemon use : # kill `cat /var/run/miniupnpd.pid` or if your linux system use /etc/init.d/ # /etc/init.d/miniupnpd stop + + +* Signals : +miniupnpd handles the following signals : +SIGUSR1: Send public IP address change notification +SIGUSR2: Handle special actions in Tomato Firmware version +SIGINT: Close gracefully +SIGTERM: Close gracefully +SIGPIPE: Ignore + +So you may want to send SIGUSR1 to miniupnpd if you public IP address changed...