From: Afanasov Dmitry <ender@atrus.ru>
To: community@lists.altlinux.org, sysadmins@lists.altlinux.org
Subject: [Sysadmins] Re: [Comm] приоритет gre
Date: Fri, 23 Dec 2005 11:27:54 +0300
Message-ID: <20051223082754.GA27114@nick.comp-mir.ru> (raw)
In-Reply-To: <030301c60708$86956bb0$0102a8c0@PegasTour.local>
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
On Thu, Dec 22, 2005 at 08:01:02PM +0500, PEGAS TOUR - DMITRIY wrote:
> Как выдать max приоритет по протоколу gre?
> htb стоит, помогает, но хотелось бы как-то его на это настроить.
> сейчас ограничиваю 25 и 80 порты, и периодически затыки vpn происходят.
tc filter add dev eth1 parent 6: proto ip prio 20 \
u32 match ip protocol 47 0xff \
flowid 6:1
на интерфейсе, с которого выходят gre пакеты поставить фильтр на протокол
47 (grep gre /etc/protocols пробовали?)
также работает в iptables: iptables -t mangle -A OUTPUT -p gre -j MARK к
примеру.
tcpdump proto gre тоже великолепно отрабатывает.
P.S. пошли в sysadmins
--
С уважением,
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
parent reply other threads:[~2005-12-23 8:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <030301c60708$86956bb0$0102a8c0@PegasTour.local>]
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=20051223082754.GA27114@nick.comp-mir.ru \
--to=ender@atrus.ru \
--cc=community@lists.altlinux.org \
--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