Re: [libtorrent] arp request send to softether interface unexpectedly
Brought to you by:
arvidn
|
From: Xuefer <xu...@gm...> - 2022-02-08 16:06:46
|
Thanks for the working workaround, but I have to use LtConfig to enable this setting. set listen_interfaces to eth1:40001 (beside 192.168.1.1:40001) however the unexpected phenomenon should be investigated On Tue, Feb 8, 2022 at 7:19 PM Arvid Norberg <arv...@gm...> wrote: > libtorrent will attempt to listen on all your interfaces by default. If you > want it to use specific ones, configure `listen_interfaces` with a > comma-separated list of IP addresses or device names. > > On Tue, Feb 8, 2022 at 10:50 AM Xuefer <xu...@gm...> wrote: > > > Deluge 2.0.4-git-20210801 > > libtorrent: 1.2.15.0 run on openwrt > > > > /etc/config/network: > > config interface 'moovpnse' > > option proto 'static' > > option metric '9999' > > option device 'tap_moovpnse' > > list ipaddr '172.16.2.1/24' > > > > config route > > option interface 'moovpnse' > > option target '1.1.1.1' > > option netmask '255.255.255.255' > > option gateway '172.16.2.9' > > (tap_moovpnse is the softether interface) > > > > # ip r s all > > default via 192.168.126.1 dev eth1 proto static metric 999 > > 1.1.1.1 via 172.16.2.9 dev tap_moovpnse proto static metric 9999 > > 172.16.2.0/24 dev tap_moovpnse proto static scope link metric 9999 > > 172.16.26.0/24 dev br-lan proto kernel scope link src 172.16.26.1 > > 172.16.101.0/24 dev emuwin10 proto kernel scope link src 172.16.101.1 > > 192.168.0.0/16 dev br-neighbor proto kernel scope link src 192.168.26.2 > > 192.168.126.0/24 dev eth1 proto static scope link metric 999 > > > > # tcpdump -ni tap_moovpnse > > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > > listening on tap_moovpnse, link-type EN10MB (Ethernet), capture size > 262144 > > bytes > > 17:44:36.748707 ARP, Request who-has 120.231.136.57 tell 172.16.2.1, > length > > 28 > > 17:44:37.819813 ARP, Request who-has 120.231.136.57 tell 172.16.2.1, > length > > 28 > > 17:44:38.009975 ARP, Request who-has 151.80.120.112 tell 172.16.2.1, > length > > 28 > > 17:44:38.859949 ARP, Request who-has 120.231.136.57 tell 172.16.2.1, > length > > 28 > > 17:44:39.019785 ARP, Request who-has 151.80.120.112 tell 172.16.2.1, > length > > 28 > > 17:44:40.059795 ARP, Request who-has 151.80.120.112 tell 172.16.2.1, > length > > 28 > > > > this is strange, route table shows none of those 120* 151.* range belong > to > > interface tap_moovpnse, but it send arp to tap_moovpnse asking for mac > > address of these IPs > > > > These strange arp requests are not sent if either 1. remove all "config > > route" sections to moovpnse followed by a "ifup tap_moovpnse" ,or 2. > stop > > deluge > > > > can anyone help me figure out why > > > > _______________________________________________ > > Libtorrent-discuss mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss > > > > > -- > Arvid Norberg > > _______________________________________________ > Libtorrent-discuss mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss > |