Page 1 of 1

How is the router IP resolved and used?

Posted: Sun Jan 15, 2017 9:03 pm
by archimede
In the debug log I see the following line, which shows one of my wan IPs (for privacy I replaced it with a dummy IP).

Code: Select all

[DEBUG   ] 07:22:54 alertmanager:124 portmap_log_alert: NAT-PMP: found router at: 112.172.15.2
I have multiple wan IPs and all network traffic from deluge's, which runs as deluge user, is routed via a different wan IP, so I am quite surprised to see that particular IP mentioned in the log.

I would like to know how that IP address is resolved and used, so I tried to grep for "found router" in the source code, but could not find the place where that log message is generated.

Does somebody knows how where that message is generated? Or otherwise, how that IP is resolved and used?

Thanks

Re: How is the router IP resolved and used?

Posted: Mon Jan 16, 2017 1:21 am
by Cas
The message is from libtorrent. You can disable nat-pmp in preferences but afaik it is simply just logging that it found the router.