<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hello sysadmins &amp;amp; devops, I have a situation here and I need some help :)]]></title><description><![CDATA[<p>Hello sysadmins &amp; devops, I have a situation here and I need some help <img src="https://forum.fedi.dk/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=7979fdcf9c7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p><p>Recently I’ve added in crowdsec a scenario to ban IP that connect to my web server with particular User-Agents. Listing crowdsec alerts, I see that it banned its own IPv6 (server has both v4 &amp; v6).<br />Digging in the logs I see that this IPv6, owned by the internet-facing eth interface of the server, appears as client address for TONS of requests, with hundreds different UA (most of them belonging to bots). And it has started years ago.</p><p>Digging further (<a href="https://social.patpro.net/tags/splunk" rel="tag nofollow noreferrer noopener">#<span>splunk</span></a>) I see that this traffic is ~100% GET, 100% targets are pictures or pure text (jpg, png, txt, etc.), and ~100% yield to a 404 status.<br />Also, 100% of those events happens on my Wordpress blog, no other web site on the same server.</p><p>Running FreeBSD, I used truss and ktrace on Apache: nothing interesting, except that, apparently, the client IP is really server’s own IPv6.<br />Then I used ktrace on php-fpm, and there I found something interesting: the real REMOTE_ADDR seen by php is not the server IPv6, it’s a real client IP (say Google Bot IP, for example).<br />Building on this, I was able to trace what happens, but the «how» and the «why» remain a mystery:</p><ul><li>the bot connects to my WP blog, fetch a web page (an article), I get it’s real IP in the apache log file.</li><li>then it tries to fetch medias from the article but URLs are wrong (like «/blog/blog/...» instead of «/blog/...», those requests appear in the log with server’s IP as client IP.</li></ul><p>As far as I can say, this URL «mixup» never happens with real users visiting the blog. I’m quite lost!</p><p>Any hint / idea appreciated <img src="https://forum.fedi.dk/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=7979fdcf9c7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p><p><a href="https://social.patpro.net/tags/apache" rel="tag nofollow noreferrer noopener">#<span>apache</span></a> <a href="https://social.patpro.net/tags/php" rel="tag nofollow noreferrer noopener">#<span>php</span></a> <a href="https://social.patpro.net/tags/wordpress" rel="tag nofollow noreferrer noopener">#<span>wordpress</span></a> <a href="https://social.patpro.net/tags/freebsd" rel="tag nofollow noreferrer noopener">#<span>freebsd</span></a></p>]]></description><link>https://forum.fedi.dk/topic/6fa70792-516d-40c3-a39f-c8d547cb7ff2/hello-sysadmins-amp-devops-i-have-a-situation-here-and-i-need-some-help</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 03:19:44 GMT</lastBuildDate><atom:link href="https://forum.fedi.dk/topic/6fa70792-516d-40c3-a39f-c8d547cb7ff2.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jun 2026 06:33:07 GMT</pubDate><ttl>60</ttl></channel></rss>