LINUX.ORG.RU
ФорумAdmin

ARP флуд на VPS

 , , ,


2

3

Собственно, имеем vps от одного хостера. В tcpdump наблюдается такая картина:

14:28:25.320983 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.218.114 tell 217.12.218.1, length 46
14:28:25.326661 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.54 tell 185.237.206.1, length 46
14:28:25.339958 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.198.164.22 tell 185.198.164.1, length 46
14:28:25.405552 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.206.105 tell 185.237.206.1, length 46
14:28:25.405559 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.14.29.125 tell 185.14.28.1, length 46
14:28:25.405561 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.192.189 tell 91.90.192.1, length 46
14:28:25.405565 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.235.129.80 tell 91.235.129.1, length 46
14:28:25.405566 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.170.169.177 tell 93.170.168.1, length 46
14:28:25.405568 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.93 tell 185.237.206.1, length 46
14:28:25.405570 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.206.79 tell 185.237.206.1, length 46
14:28:25.414773 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.88.75.76 tell 93.88.75.1, length 46
14:28:25.416954 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.209.22 tell 217.12.208.1, length 46
14:28:25.442024 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.154.15.140 tell 185.154.15.1, length 46
14:28:25.446495 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 212.8.244.19 tell 212.8.244.1, length 46
14:28:25.454538 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 31.210.172.195 tell 31.210.172.1, length 46
14:28:25.464734 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.218.134 tell 217.12.218.1, length 46
14:28:25.483891 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.123.221.31 tell 195.123.216.1, length 46
14:28:25.499898 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.245.112.255 tell 195.245.112.1, length 46
14:28:25.503953 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.51.246.88 tell 185.51.246.1, length 46
14:28:25.504006 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.192.191 tell 91.90.192.1, length 46
14:28:25.504213 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.14.30.53 tell 185.14.28.1, length 46
14:28:25.504217 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.193.139 tell 91.90.193.1, length 46
14:28:25.504218 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 212.8.244.186 tell 212.8.244.1, length 46
14:28:25.504241 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.102 tell 185.237.206.1, length 46
14:28:25.504287 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 5.34.180.27 tell 5.34.180.1, length 46
14:28:25.536923 2e:e8:46:58:e9:72 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.200.36 tell 217.12.200.199, length 46
14:28:25.550750 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.208.233 tell 217.12.208.1, length 46
14:28:25.564986 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.174.174.169 tell 185.174.172.1, length 46
14:28:25.572110 2e:e8:46:58:e9:72 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.200.90 tell 217.12.200.199, length 46
14:28:25.574997 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.154.14.32 tell 185.154.14.1, length 46
14:28:25.606279 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.154.12.187 tell 185.154.12.1, length 46
14:28:25.606948 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.192.196 tell 91.90.192.1, length 46
14:28:25.606955 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.194.91 tell 91.90.194.1, length 46
14:28:25.606957 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.88.75.2 tell 93.88.75.1, length 46
14:28:25.606958 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 109.248.33.228 tell 109.248.32.1, length 46
14:28:25.606959 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.174.174.161 tell 185.174.172.1, length 46
14:28:25.606961 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.174.174.93 tell 185.174.172.1, length 46
14:28:25.606962 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.170.253.167 tell 93.170.253.1, length 46
14:28:25.607159 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.192.147 tell 91.90.192.1, length 46
14:28:25.607164 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.51.246.192 tell 185.51.246.1, length 46
14:28:25.607402 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 109.248.32.243 tell 109.248.32.1, length 46
14:28:25.607406 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.154.12.171 tell 185.154.12.1, length 46
14:28:25.607621 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.14.28.13 tell 185.14.28.1, length 46
14:28:25.607624 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.188 tell 185.237.206.1, length 46
14:28:25.607889 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.223.123.59 tell 91.223.123.1, length 46
14:28:25.607892 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 5.34.180.138 tell 5.34.180.1, length 46
14:28:25.612266 52:ac:00:93:12:0d > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.123.222.234 tell 195.123.221.226, length 46
14:28:25.663705 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 212.8.244.183 tell 212.8.244.1, length 46
14:28:25.674961 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.170.141.82 tell 93.170.141.1, length 46
14:28:25.681941 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.174.173.29 tell 185.174.172.1, length 46
14:28:25.686287 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.209.196 tell 217.12.208.1, length 46
14:28:25.701630 00:1f:12:3e:43:81 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 217.12.201.48 tell 217.12.200.102, length 46
14:28:25.703870 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.245.113.68 tell 195.245.112.1, length 46
14:28:25.703876 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.123.222.241 tell 195.123.216.1, length 46
14:28:25.704166 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 109.248.32.206 tell 109.248.32.1, length 46
14:28:25.704171 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 45.128.150.198 tell 45.128.150.1, length 46
14:28:25.704174 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.154.12.177 tell 185.154.12.1, length 46
14:28:25.704176 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 31.210.172.75 tell 31.210.172.1, length 46
14:28:25.704852 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.90.194.80 tell 91.90.194.1, length 46
14:28:25.704857 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 212.8.245.99 tell 212.8.245.1, length 46
14:28:25.704858 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 93.170.169.52 tell 93.170.168.1, length 46
14:28:25.704859 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.14.30.139 tell 185.14.28.1, length 46
14:28:25.704861 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.14.28.112 tell 185.14.28.1, length 46
14:28:25.704862 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 195.123.222.94 tell 195.123.216.1, length 46
14:28:25.704863 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 31.210.172.194 tell 31.210.172.1, length 46
14:28:25.707534 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.198.165.153 tell 185.198.165.1, length 46
14:28:25.743832 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.176 tell 185.237.206.1, length 46
14:28:25.754391 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.237.207.69 tell 185.237.206.1, length 46
14:28:25.764448 12:90:44:b3:d8:fb > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 91.223.123.161 tell 91.223.123.2, length 46
14:28:25.764876 f4:a7:39:06:f0:60 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.198.164.16 tell 185.198.164.1, length 46

И такого очень много и с большой скоростью. Как можно ограничить arp флуд?

★★★★★

Из-за чего, кстати, такое может быть? Почему по ARP запрашиваются MAC-адреса произвольных IP из интернета, не только из локальных подсетей? У меня такое на ноутбуке наблюдается, случайно в wireshark заметил, но ещё не отлаживал.

ValdikSS ★★★★★ ()
Ответ на: комментарий от ValdikSS

Какой-нибудь кулхацкер пытается через ARP-флуд заставить сетевую отсылать пакеты через него? Случайные адреса могут добавлять, чтобы обмануть какие-нибудь детекторы, например.

i-rinat ★★★★★ ()
Последнее исправление: i-rinat (всего исправлений: 1)
Ответ на: комментарий от i-rinat

Нет-нет, у меня на ноутбуке с обычной федорой такое. По какой-то причине ОС отправляет широковещательные ARP-запросы в локальную сеть, для некоторых IP-адресов в интернете, на которые пытаешься зайти браузером, например. Это бывает нечасто (явно не для всех запрашиваемых ресурсов выполняются ARP-запросы, они редкие, раз в несколько минут). Нужно всё-таки разобраться, из-за чего такое может случаться.

ValdikSS ★★★★★ ()
Последнее исправление: ValdikSS (всего исправлений: 1)
Ответ на: комментарий от ValdikSS

у меня тоже такое при использовании контейнеров. у меня контейнеры не в бридже, а с роутингом. когда приходит пакет в них, иногда обратно начинает арп запросы (у кого этот ип?) слать, хотя казалось бы есть 0.0.0.0/0 . если принудительно добавть /32 маршрут внутри контейнера для этого ип - то все ок. в общем я так понял что баг какой-то в netns, что-то с роутингом связано.

Rost ★★★★ ()
Последнее исправление: Rost (всего исправлений: 1)