On Thu, 14 Jun 2018 07:31:21 -0700 (PDT), Victor Preston
<
vbpr...@gmail.com> said:
> * routing not set up (check with `ip route get 1.2.3.4`)
> ip route <router's ip>:
> local <router's ip> dev lo src <router's ip>
> cache(local)
> ip route <ip of other machine on theNAT that WILL
> connect>:
> <ip of other machine on theNAT that WILL
> connect> dev eno1(that's the iface on the linux machine in question) src
> <ip of the linux machine in question> cache
so "router" is the one seeing the SYN but isn't sending back SYNACK?
> * `rp_filter` rejects the packet source interface[1]
> I tried running with all rp_filter values set to 0,
> but it did not help
Confirmed with sysctl that they were actually set?
> * When you run wireshark, run with promisc mode off to ensure you
> still see the SYN. You should if the MAC is correct.
> I would think that promiscuous mode would show MORE
> than disabling it, but I tried this and still do not see an ACK
Yes the point would be to see fewer packets. This is to confirm that
the MAC address is correct on the other machine's ARP table, since if
you don't use promisc then the packet will be filtered before
wireshark/tcpdump can see it (indeed before any part of the kernel sees it).
> * Any bridge interfaces? Try sniffing on the `any` pseudointerface.
> Maybe the SYNACK is going elsewhere.
> I don't know of any, and I tried running wireshark on
> the 'any' interface, and looked carefully and it does not appear anywhere
You shouldn't have to look too carefully, just do:
sudo tcpdump -nlpi any host 1.2.3.4
(1.2.3.4 being the remote end)
> So the only thing I see that MIGHT be relevant is that the route to the
> router refers to the loopback device,
Looking up your own address, even one attached to eth0 or another
physical device, and seeing 'dev lo' is normal, and fine.
Is that what you mean?
You refer to the device as a router? If it's sold as a router that has
a linux kernel, then there could be any amount of special weirdness
introduced by the vendor. Is it vanilla linux or some product?