two words about signals

This commit is contained in:
Thomas Bernard 2017-11-02 17:25:39 +01:00
parent ad22fe5c08
commit 665478a47f
1 changed files with 13 additions and 2 deletions

View File

@ -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...