ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] p9, squid, redirector
@ 2021-06-03 13:51 Serg
  0 siblings, 0 replies; only message in thread
From: Serg @ 2021-06-03 13:51 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

Добрый день!

Коллеги, кто-нибудь используют редиректор в 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 заменяется на блокирующий,но приклеивается вход


-- 
===========
Сергей Соломонов
ГПИБ России



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-03 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 13:51 [Sysadmins] p9, squid, redirector Serg

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