From: "Александр Новосёлов" <n_list@mail.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] tc + pppd
Date: Thu, 7 Feb 2008 10:22:21 +0300
Message-ID: <200802071022.21509.n_list@mail.ru> (raw)
In-Reply-To: <200802041952.58126.peet@altlinux.ru>
В сообщении от 4 февраля 2008 Peter V. Saveliev написал(a):
> Багофича (при большей скорости больший размер буфера устанавливается).
> Сейчас буду смотреть, чья именно.
Есть успехи?
Может у кого есть опыт навешивания шейпа на ppp интерфейсы в впн соединении
Что нового можно сделать в новом ядре? может pppd научился сам шейпить?
Беда с Линуксом... Настроил после выхода Мастера-2.4 впн сервер. И он до
сих пор работает... пора пыль стряхнуть - ну и заодно систему обновить...
на Мастере 2.4 в /etc/ppp/ip-up.d/vpnshaper
#!/bin/bash
IFNAME=$1
tc qdisc add dev $IFNAME root tbf rate 800kbit latency 50ms burst 300k
tc qdisc add dev $IFNAME handle ffff: ingress
tc filter add dev $IFNAME parent ffff: protocol ip prio 50 u32 match ip src
\
0.0.0.0/0 police rate 512kbit burst 50k drop flowid :1
next prev parent reply other threads:[~2008-02-07 7:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 10:52 Александр Новосёлов
2008-02-04 14:01 ` Peter V. Saveliev
2008-02-04 14:45 ` Александр Новоселов
2008-02-13 12:07 ` Mike
2008-02-04 14:45 ` Александр Новосёлов
2008-02-04 16:52 ` Peter V. Saveliev
2008-02-07 7:22 ` Александр Новосёлов [this message]
2008-02-07 7:32 ` Peter V. Saveliev
2008-02-07 8:25 ` Александр Новосёлов
2008-02-07 11:08 ` Peter V. Saveliev
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=200802071022.21509.n_list@mail.ru \
--to=n_list@mail.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