How is the router IP resolved and used?
Posted: Sun Jan 15, 2017 9:03 pm
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).
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
Code: Select all
[DEBUG ] 07:22:54 alertmanager:124 portmap_log_alert: NAT-PMP: found router at: 112.172.15.2
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