{"id":24,"date":"2026-07-26T11:13:43","date_gmt":"2026-07-26T11:13:43","guid":{"rendered":"https:\/\/aleksander.kaasik.blog\/ru\/?p=24"},"modified":"2026-07-26T14:32:42","modified_gmt":"2026-07-26T14:32:42","slug":"%d0%be%d0%b4%d0%bd%d0%be%d1%86%d0%b5%d0%bb%d0%b5%d0%b2%d0%be%d0%b9-%d0%bf%d0%be%d1%80%d1%82-%d0%b4%d0%bb%d1%8f-%d0%bd%d0%b5%d1%81%d0%ba%d0%be%d0%bb%d1%8c%d0%ba%d0%b8%d1%85-%d1%81%d0%b5%d1%80%d0%b2","status":"publish","type":"post","link":"https:\/\/aleksander.kaasik.blog\/ru\/%d0%be%d0%b4%d0%bd%d0%be%d1%86%d0%b5%d0%bb%d0%b5%d0%b2%d0%be%d0%b9-%d0%bf%d0%be%d1%80%d1%82-%d0%b4%d0%bb%d1%8f-%d0%bd%d0%b5%d1%81%d0%ba%d0%be%d0%bb%d1%8c%d0%ba%d0%b8%d1%85-%d1%81%d0%b5%d1%80%d0%b2\/","title":{"rendered":"\u041e\u0434\u043d\u043e\u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 Minecraft"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u0439 \u0438 \u043c\u043e\u0434\u0430\u0432\u044b\u0439 Minecraft \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0434\u043b\u044f \u0434\u0440\u0443\u0437\u0435\u0439, \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0430\u0442\u044c \u0438\u043c IP-\u0430\u0434\u0440\u0435\u0441 \u0441 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u0431\u0443\u0434\u044c \u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0438\u043b\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u044d\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u043c\u0435\u043d\u044f \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u042f \u0445\u043e\u0442\u0435\u043b \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0441\u0442\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u043e\u0440\u0442\u0430, \u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 Minecraft \u0441\u0435\u0440\u0432\u0435\u0440\u044b.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c HaProxy \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0430\u0448\u0438\u043c Linux \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ubuntu \u0438 Debian:<br><code>apt install haproxy<\/code><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Arch Linux:<br><code>pacman -S haproxy<\/code><\/li>\n\n\n\n<li>Fedora Linux:<br><code>dnf install haproxy<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 HaProxy, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 HaProxy:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/etc\/haproxy\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0435\u0440\u0435\u0434 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv haproxy.cfg haproxy.cfg.bak\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u043e\u0439 <code>haproxy.cfg<\/code> \u0444\u0430\u0439\u043b.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>frontend minecraft\n    bind *:25565\n    mode tcp\n    tcp-request inspect-delay 5s\n    \n    acl is_mc_vanilla payload(4,21) -m sub vanilla.example.home\n    acl is_mc_creative payload(4,22) -m sub creative.example.home\n    acl is_mc_modded payload(4,20) -m sub modded.example.home\n    \n    tcp-request content accept if is_mc_vanilla || is_mc_creative || is_mc_modded\n    \n    use_backend vanilla_backend if is_mc_vanilla\n    use_backend creative_backend if is_mc_creative\n    use_backend modded_backend if is_mc_modded\n\nbackend mc_vanilla_backend\n    server mc_vanilla 192.168.1.5:25565\n\nbackend mc_creative_backend\n    server mc_creative 192.168.1.5:25566\n\nbackend mc_modded_backend\n    server mc_modded 192.168.1.7:25565\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0424\u0443\u043d\u043a\u0446\u0438\u044f <code>payload(Offset, Length)<\/code>. \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Offset<\/strong>: \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/li>\n\n\n\n<li><strong>Length<\/strong>: \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u0439\u0442\u043e\u0432\/\u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/strong><br>\u041f\u0440\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0438 <code>Length<\/code> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <strong>1 \u0431\u0430\u0439\u0442\/\u0441\u0438\u043c\u0432\u043e\u043b<\/strong> \u043a \u0434\u043b\u0438\u043d\u0435 \u0434\u043e\u043c\u0435\u043d\u0430.<br>\u042d\u0442\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0435\u043f\u0435\u0440\u044c, \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u043a\u0441\u0438, \u0435\u0441\u043b\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u0440\u0442 \u0431\u044b\u043b \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043d\u0430 \u043c\u043e\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e, \u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0431\u044b\u043b \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here some option quick characters counter<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Linux \u0438 MacOS bash:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"example.com\" | wc -c\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Windows PowerShell:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo ((\"example.com\".Length + 1))\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Python:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>print(len(\"example.com\") + 1)\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u0439 \u0438 \u043c\u043e\u0434\u0430\u0432\u044b\u0439 Minecraft \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0434\u043b\u044f \u0434\u0440\u0443\u0437\u0435\u0439, \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0430\u0442\u044c \u0438\u043c IP-\u0430\u0434\u0440\u0435\u0441 \u0441 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u0431\u0443\u0434\u044c \u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0438\u043b\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u044d\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u043c\u0435\u043d\u044f \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u043e\u0440\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u042f \u0445\u043e\u0442\u0435\u043b \u0431\u043e\u043b\u0435\u0435 &#8230; <a title=\"\u041e\u0434\u043d\u043e\u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 Minecraft\" class=\"read-more\" href=\"https:\/\/aleksander.kaasik.blog\/ru\/%d0%be%d0%b4%d0%bd%d0%be%d1%86%d0%b5%d0%bb%d0%b5%d0%b2%d0%be%d0%b9-%d0%bf%d0%be%d1%80%d1%82-%d0%b4%d0%bb%d1%8f-%d0%bd%d0%b5%d1%81%d0%ba%d0%be%d0%bb%d1%8c%d0%ba%d0%b8%d1%85-%d1%81%d0%b5%d1%80%d0%b2\/\" aria-label=\"\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u041e\u0434\u043d\u043e\u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 Minecraft\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,5],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-6","category-4","category-5"],"_links":{"self":[{"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":1,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":25,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/posts\/24\/revisions\/25"}],"wp:attachment":[{"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aleksander.kaasik.blog\/ru\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}