/var/log/kern.log IPv4: martian source

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

/var/log/kern.log IPv4: martian source

Post by shakibamoshiri » Thu Jan 26, 2023 10:21 am

there are some logs at /var/log/kern.log

Code: Select all

IPv4: martian source 10.11.12.1 from 172.31.159.142, on dev tap_tap
ll header: 00000000: 5e 1a 58 78 38 9b 00 ae 9e 8d 4a c0 08 06
IPv4: martian source 10.11.12.1 from 172.31.249.13, on dev tap_tap
ll header: 00000000: 5e 1a 58 78 38 9b 00 ae f8 0c fc c4 08 06
IPv4: martian source 10.11.12.1 from 172.31.159.142, on dev tap_tap
ll header: 00000000: 5e 1a 58 78 38 9b 00 ae 9e 8d 4a c0 08 06
Does anyone know what can be the cause?
I suspect either dnsmasq (DHCP) or iptables

dnsmasq configuration

Code: Select all

cat /etc/dnsmasq.d/tap_tap.conf 

interface=tap_tap
bind-interfaces
dhcp-range=10.11.12.10,10.11.12.250,255.255.255.0,12h
dhcp-option=tap_tap,3,10.11.12.1
dhcp-option=tap_tap,6,8.8.8.8

iptable for 172.X.X.X

Code: Select all

iptables-save  | grep 172
-A INPUT -s 172.16.0.0/12 -j DROP
-A FORWARD -d 172.16.0.0/12 -j DROP
-A OUTPUT -d 172.16.0.0/12 -j DROP
sysconf

Code: Select all

sysctl -a | grep log_martians
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.log_martians = 0
net.ipv4.conf.eth0.log_martians = 0
net.ipv4.conf.lo.log_martians = 0
net.ipv4.conf.tap_npm.log_martians = 0
net.ipv4.conf.tap_ppm.log_martians = 0
net.ipv4.conf.tap_tap.log_martians = 0
net.ipv4.conf.tap_wpm.log_martians = 0

Regards

Post Reply