How is the router IP resolved and used?

General support for problems installing or using Deluge
Post Reply
archimede
New User
New User
Posts: 6
Joined: Thu Jun 02, 2016 3:38 pm

How is the router IP resolved and used?

Post 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
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: How is the router IP resolved and used?

Post 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.
Post Reply