<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searx/botdetection/http_sec_fetch.py, branch custom</title>
<subtitle>Free internet metasearch engine which aggregates results from various search services and databases</subtitle>
<id>https://git.ikboikov.net/searxng/atom?h=custom</id>
<link rel='self' href='https://git.ikboikov.net/searxng/atom?h=custom'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/'/>
<updated>2025-09-03T11:37:36Z</updated>
<entry>
<title>[mod] drop: from __future__ import annotations</title>
<updated>2025-09-03T11:37:36Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-08-24T13:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=f24d85bc4be732b8edb2157ef4ecf35d380d2b45'/>
<id>urn:sha1:f24d85bc4be732b8edb2157ef4ecf35d380d2b45</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[mod] limiter: trusted proxies (#4911)</title>
<updated>2025-08-09T21:03:30Z</updated>
<author>
<name>Ivan Gabaldon</name>
<email>igabaldon@inetol.net</email>
</author>
<published>2025-08-09T21:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=ce8929cabe27c7cf0bfb21b47786c7442ffb3712'/>
<id>urn:sha1:ce8929cabe27c7cf0bfb21b47786c7442ffb3712</id>
<content type='text'>
Replaces `x_for` functionality with `trusted_proxies`. This allows defining
which IP / ranges to trust extracting the client IP address from X-Forwarded-For
and X-Real-IP headers.

We don't know if the proxy chain will give us the proper client
address (REMOTE_ADDR in the WSGI environment), so we rely on reading the headers
of the proxy before SearXNG (if there is one, in that case it must be added to
trusted_proxies) hoping it has done the proper checks. In case a proxy in the
chain does not check the client address correctly, integrity is compromised and
this should be fixed by whoever manages the proxy, not us.

Closes:

- https://github.com/searxng/searxng/issues/4940
- https://github.com/searxng/searxng/issues/4939
- https://github.com/searxng/searxng/issues/4907
- https://github.com/searxng/searxng/issues/3632
- https://github.com/searxng/searxng/issues/3191
- https://github.com/searxng/searxng/issues/1237

Related:

- https://github.com/searxng/searxng-docker/issues/386
- https://github.com/inetol-infrastructure/searxng-container/issues/81</content>
</entry>
<entry>
<title>[fix] sec-fetch-* headers cannot be verified for non-secure requests (#4962)</title>
<updated>2025-06-30T11:31:45Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarIT.de</email>
</author>
<published>2025-06-30T11:31:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=39c50dc013944a0a27b4354c23f406956ac45971'/>
<id>urn:sha1:39c50dc013944a0a27b4354c23f406956ac45971</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;</content>
</entry>
<entry>
<title>[fix] sec-fetch-* blocking infinite scroll (#4728)</title>
<updated>2025-05-07T08:38:21Z</updated>
<author>
<name>Brock Vojkovic</name>
<email>brockv@tuta.io</email>
</author>
<published>2025-05-07T08:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=ff60fe635fc5792b45cef70cd7716b694901393c'/>
<id>urn:sha1:ff60fe635fc5792b45cef70cd7716b694901393c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] references from searx.botdetection.http_sec_fetch (#4723)</title>
<updated>2025-05-07T08:25:47Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarIT.de</email>
</author>
<published>2025-05-07T08:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=6e7119fa4e8f5eef1dbfcd8dfb88d72ef84fba08'/>
<id>urn:sha1:6e7119fa4e8f5eef1dbfcd8dfb88d72ef84fba08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: check if the browser supports Sec-Fetch headers (#4696)</title>
<updated>2025-05-04T08:12:25Z</updated>
<author>
<name>Émilien (perso)</name>
<email>4016501+unixfox@users.noreply.github.com</email>
</author>
<published>2025-05-04T08:12:25Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=19b116f1d7aaea2ab2b00868003e9dd852eabbe0'/>
<id>urn:sha1:19b116f1d7aaea2ab2b00868003e9dd852eabbe0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[mod] botdetection: HTTP Fetch Metadata Request Headers</title>
<updated>2025-05-04T00:07:26Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2024-10-27T12:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=fe08bb1d909cb6cef57ce91211c2cbed63300c9e'/>
<id>urn:sha1:fe08bb1d909cb6cef57ce91211c2cbed63300c9e</id>
<content type='text'>
HTTP Fetch Metadata Request Headers [1][2] are used to detect bot requests. Bots
with invalid *Fetch Metadata* will be redirected to the intro (`index`)  page.

[1] https://www.w3.org/TR/fetch-metadata/
[2] https://developer.mozilla.org/en-US/docs/Glossary/Fetch_metadata_request_header

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
</feed>
