On 08/08/2019 16.16, Carlos E. R. wrote:
On 08/08/2019 14.54, Andrei Borzenkov wrote:
On Thu, Aug 8, 2019 at 2:03 PM Carlos E. R. <robin.listas@telefonica.net> wrote:
Isengard:~ # sysctl net.ipv4.conf.wlan0.log_martians=0 net.ipv4.conf.wlan0.log_martians = 0 Isengard:~ # sysctl -a| grep martians net.ipv4.conf.all.log_martians = 1 net.ipv4.conf.default.log_martians = 1 net.ipv4.conf.eth0.log_martians = 1 net.ipv4.conf.lo.log_martians = 1 net.ipv4.conf.wlan0.log_martians = 0 Isengard:~ #
Still remains the question of why am I getting IPv4 martians on an interface without IPv4 address...
Exactly because interface does not have IPv4 address so any IP packet on this interface is impossible.
Oh, I see. So it would work if it also had an IPv4 address.
Well, it doesn't work. Isengard:~ # ip addr ... 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether a0:d3:7a:82:b3:4c brd ff:ff:ff:ff:ff:ff inet 192.168.1.134/24 brd 192.168.1.255 scope global wlan0 valid_lft forever preferred_lft forever inet6 fe80::a2d3:7aff:fe82:b34c/64 scope link valid_lft forever preferred_lft forever Log: <0.4> 2019-08-15T19:38:48.796906+02:00 Isengard kernel - - - [ 4215.537770] IPv4: martian source 192.168.1.255 from 192.168.1.134, on dev wlan0 <0.4> 2019-08-15T19:38:48.796946+02:00 Isengard kernel - - - [ 4215.537776] ll header: 00000000: ff ff ff ff ff ff 4c cc 6a 61 50 a1 08 00 ......L.jaP... <0.4> 2019-08-15T19:40:30.785007+02:00 Isengard kernel - - - [ 4317.528637] IPv4: martian source 192.168.1.255 from 192.168.1.16, on dev wlan0 <0.4> 2019-08-15T19:40:30.785037+02:00 Isengard kernel - - - [ 4317.528643] ll header: 00000000: ff ff ff ff ff ff 4c cc 6a 61 50 a1 08 00 ......L.jaP... <0.4> 2019-08-15T19:40:32.936966+02:00 Isengard kernel - - - [ 4319.678998] IPv4: martian source 192.168.1.255 from 192.168.1.16, on dev wlan0 <0.4> 2019-08-15T19:40:32.937002+02:00 Isengard kernel - - - [ 4319.679008] ll header: 00000000: ff ff ff ff ff ff 4c cc 6a 61 50 a1 08 00 ......L.jaP... What works is: nmcli radio wifi off -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)