* [Comm] iptables shapeing
@ 2003-08-13 11:08 Alexandr R. Ogurtzoff
2003-08-13 11:20 ` Mike Lykov
0 siblings, 1 reply; 2+ messages in thread
From: Alexandr R. Ogurtzoff @ 2003-08-13 11:08 UTC (permalink / raw)
To: community
Вопрос, а можно ли ограничивать при помощи iptables в зависимости от
исходящего IP, или для єтого только squid поднимать.
Допустим то как считать трафик через iptables на LRN описано, а вот как его
ограничивать если возможно то и динамически... Куда смотреть, что откапывать?
Может кто правилом поделиться или цепочкой?
--
С наилучшими пожеланиями
Александр Огурцов
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] iptables shapeing
2003-08-13 11:08 [Comm] iptables shapeing Alexandr R. Ogurtzoff
@ 2003-08-13 11:20 ` Mike Lykov
0 siblings, 0 replies; 2+ messages in thread
From: Mike Lykov @ 2003-08-13 11:20 UTC (permalink / raw)
To: community
В сообщении от Среда 13 Август 2003 16:08 Alexandr R. Ogurtzoff написал:
> Вопрос, а можно ли ограничивать при помощи iptables в зависимости от
> исходящего IP, или для єтого только squid поднимать.
> Допустим то как считать трафик через iptables на LRN описано, а вот как его
> ограничивать если возможно то и динамически... Куда смотреть, что
> откапывать? Может кто правилом поделиться или цепочкой?
для этого надо иметь некую таблицу лимитов, где написано, что
"для этого адреса траффик не больше такого. если стал больше - то отключать."
после чего написать скрипт, который вставляет новые правила в таблицы, когда
видит, что лимит превышен.
на сквиде это тоже можно(у меня даже почти работает %), но он будет считать
только http|https|ftp
--
Mike
registered linux user #315334
jabber id: combr@jabber.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-13 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-13 11:08 [Comm] iptables shapeing Alexandr R. Ogurtzoff
2003-08-13 11:20 ` Mike Lykov
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