ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ivan Fedorov <ns@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] 2 proxy
Date: Sat, 25 Sep 2004 12:24:31 +0900
Message-ID: <4154E4EF.2040105@altlinux.ru> (raw)
In-Reply-To: <32840.10.11.2.1.1096045373.squirrel@www.samdu.uz>

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

Nizamov Shavkat пишет:
>>Здравствуйте, All!
>>
>>Есть сетка, инет раздается через файрвол на
>>некоторые машины...
>>Но периодически появляются грамотные юзверя,
>>которые сатавят на эти машины проксю и ходят
>>через них в инет. Как бы на сервере отрубить
>>такие попытки, т.е. отследить соединение,
>>пришедшее с прокси.
>>
> 
> это сложная задача, поскольку трудно отличить кто лезет в интернет -
> вэб-клиент или прокси. однако есть одна зацепка - прокси вставляет в http
> запрос поле X-forwarded-for, по которому можно судить что данный
> http-запрос сформирован проксей, а не просто броузером. таким образом в
> теории имеем решение - средствами iptables дропаем пакеты идущие на
> известные http порты - 80, 1080, 3128, 8080, 8081 и т.д, содержащие в теле
> пакета строчку X-Forwarded-For. этим мы рубим обмен по протоколу http.
> 
> здесь есть одна сложность - такая функциональность была только привнесена
> в iptables на тот момент, когда меня интересовал такой же вопрос (год-
> полтора назад) - не то это был патч, не то плугин. как обстоит дело сейчас
> - пусть скажут спецы по iptables.

http://l7-filter.sourceforge.net/
Может оно сможет помочь?..

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-25  3:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-24 14:17 dima
2004-09-24 14:24 ` Макс
2004-09-24 14:36 ` Vladimir Cherednichenko
2004-09-24 14:47   ` dima
2004-09-24 14:43 ` some_x
2004-09-24 14:54   ` Serge Polkovnikov
2004-09-24 15:07     ` some_x
2004-09-24 15:10       ` Serge Polkovnikov
2004-09-24 15:39         ` some_x
2004-09-24 18:11           ` Serge Polkovnikov
2004-09-24 17:02 ` Nizamov Shavkat
2004-09-25  3:24   ` Ivan Fedorov [this message]
2004-09-24 18:41 ` Pavel Shurubura
2004-09-25  3:23   ` Ivan Fedorov
2004-09-24 19:00 ` dm
2004-09-25  4:41   ` Nizamov Shavkat
2004-09-28 12:30     ` Antonio
2004-09-26  9:43 ` [Comm] " Michael Shigorin

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=4154E4EF.2040105@altlinux.ru \
    --to=ns@altlinux.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git