ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Sergy Dolgopolov" <sergy_do@mail.ru>
To: <community@altlinux.ru>
Subject: [Comm] Непонятки с ipchains
Date: Tue, 11 Jan 2005 14:06:04 +0300
Message-ID: <EBECLNNANNEHLIKJNIPAIEICCFAA.sergy_do@mail.ru> (raw)

Приветствую.

Что-то я несколько запутался с настройкой фильтров. Вроде бы всё, что надо,
работает. Но при попытке посмотреть некоторые сайты получаем отлуп по
таймауту. (Насколько я понял, на те, где стоИт просто переадресация, без
контента.)

Вот, например, в логе при обращении к такому сайту имеем (213.234.212.189,
понятно, я):
Jan 11 13:17:08 firewall kernel: Packet log: input DENY ppp0 PROTO=6
217.16.31.133:80 213.234.212.189:61685 L=48 S=0x00 I=52458 F=0x4000 T=194
(#60)
Jan 11 13:17:11 firewall kernel: Packet log: input DENY ppp0 PROTO=6
217.16.31.133:80 213.234.212.189:61685 L=40 S=0x00 I=53277 F=0x4000 T=194
(#60)
Jan 11 13:17:11 firewall kernel: Packet log: input DENY ppp0 PROTO=6
217.16.31.133:80 213.234.212.189:61685 L=48 S=0x00 I=53465 F=0x4000 T=194
(#60)
Jan 11 13:17:17 firewall kernel: Packet log: input DENY ppp0 PROTO=6
217.16.31.133:80 213.234.212.189:61685 L=40 S=0x00 I=55478 F=0x4000 T=194
(#60)

При этом в firewall имеются правила, которые эти пакеты вроде бы должны
пропускать:
ipchains -A input -i $EXTERNAL_INTERFACE -p tcp --sport 80 --dport
$UNPRIVPORTS -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p tcp --sport
$UNPRIVPORTS --dport 80 -j ACCEPT
ipchains -A input -i $EXTERNAL_INTERFACE -p udp --sport 80 --dport
$UNPRIVPORTS -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp --sport
$UNPRIVPORTS --dport 80 -j ACCEPT

$UNPRIVPORPS определено как: UNPRIVPORTS="1024:65535"

Помогите pls идеями...

WBR,
Sergy.



                 reply	other threads:[~2005-01-11 11:06 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=EBECLNNANNEHLIKJNIPAIEICCFAA.sergy_do@mail.ru \
    --to=sergy_do@mail.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