From: Serg <solic@shpl.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] p9, squid, redirector
Date: Thu, 3 Jun 2021 16:51:53 +0300
Message-ID: <cb5c35ae-a344-4eef-e993-28e1c4ef3223@shpl.ru> (raw)
Добрый день!
Коллеги, кто-нибудь используют редиректор в squid
Я раньше пользовался reijk - но он несовместим с версией squid в p9
Squid Cache version 4.13 for x86_64-alt-linux-gnu...
см
https://bugzilla.altlinux.org/show_bug.cgi?id=34084
Попробовал suidGuard.
Похоже что та же болезнь несоместимости:
==> cache.log <==
2021/06/03 15:56:53 kid1| UPGRADE WARNING: URL rewriter reponded with
garbage ' 192.168.1.183/192.168.1.183 - GET'. Future Squid will treat
this as part of the URL.
==> access.log <==
1622725013.766 16 192.168.1.183 TCP_MISS/404 401 GET
http://192.168.1.183/extrim.html192.168.1.183/192.168.1.183-GET -
HIER_DIRECT/192.168.1.183 text/html
( много раз 192.168.1.183 потому что я с вебсервера тестировал)
Соответстующий кусок конфига
dest extrim {
urllist extrim/urls
redirect http://192.168.1.183/extrim.html
}
То есть входной url заменяется на блокирующий,но приклеивается вход
--
===========
Сергей Соломонов
ГПИБ России
reply other threads:[~2021-06-03 13:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb5c35ae-a344-4eef-e993-28e1c4ef3223@shpl.ru \
--to=solic@shpl.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git