From: Dmitry Lebkov <dima@sakhalin.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Re: [mdk-re] Date: Thu Feb 28 11:44:05 2002 Message-ID: <20020228185125.5a1ea7ee.dima@sakhalin.ru> (raw) In-Reply-To: <2261064786.20020228104918@mail.ru> Посмотри на http://www.opennet.ru/docs/HOWTO-RU/Ipchains.koi8-r.html Там все достаточно хорошо расписано. Особенно полезен пример в самом конце этого документа. Так же - man ipchains в самом конце описывает как построить цепочки для подсчета трафика. On Thu, 28 Feb 2002 10:49:18 +0300 roman_tutov@mail.ru wrote: > Hello Чужой, > > Wednesday, February 27, 2002, 6:05:32 PM, you wrote: > > >> :output ACCEPT > >> :acctboth - > >> > >> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j acctboth > >> -A input -s 192.168.0.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j ACCEPT > >> -A forward -s 192.168.0.0/255.255.255.0 -d 192.168.0.0/255.255.255.0 -j > Ч> ACCEPT > >> -A forward -s 80.80.107.179/255.255.255.255 -d 0.0.0.0/0.0.0.0 -j ACCEPT > > Ч> Че-то вот эти 2 верхние строчки ИМХО лишние! Или вы хотите через них > Ч> трафик считать? > > Я сам не добавлял сюда ни одной цепочки . и в общем-то могу только > предполагать для чего это было сделано(не мной). И публикую я всё это > в надежде , что кто-нибудь мне объяснит что же это такое и как > работает . > > > >> -A forward -s 192.168.0.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j MASQ > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j acctboth > >> -A output -s 192.168.0.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j ACCEPT > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 80:80 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 22:22 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 23:23 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 21:21 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 110:110 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 25:25 -p 6 -t 01 10 > >> -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 20:20 -p 6 -t 01 08 > > Ч> По верхним 7 строчкам могу сказать одно - БОЖЕ - КТО ЭТО ПИСАЛ? КТО > Ч> ПИСАЛ ПРОГУ АВТОМАТИЧЕСКИ ГЕНЕРЯЩУЮ ТАКОЕ??? Я вот о чем: стоит -d > Ч> 0.0.0.0/0.0.0.0 20:20, означает, что получатель кто угодно, при условии что > Ч> используется дипазон портов от 20 и до 20!!! Это зачем такой изврат? Ладно > Ч> там понимаю такой вариант: -d 0.0.0.0/0.0.0.0 20:80. 2Чужой: это не изврат а установка битов TOS (Type Of Service). Посмотри на это как на установку "минмальной задержки" для КОНКРЕТНОГО СЕРВИСА (в вышеприведенном примере - для HTTP, SMTP, SSH, FTP, POP3, Telnet) а не для диапазона портов. > Я так понял . что это хоть и некрасиво написано , зато вполне > работоспособно ? > WBR, Dmitry Lebkov
next prev parent reply other threads:[~2002-02-28 11:44 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-27 15:02 [mdk-re] Ликбез roman_tutov 2002-02-27 15:18 ` cornet 2002-02-28 10:33 ` [mdk-re] Re[2]: " roman_tutov 2002-02-28 11:00 ` "Баталов Григорий" 2002-02-28 13:47 ` [mdk-re] Ликбе cornet 2002-02-28 14:42 ` [mdk-re] " roman_tutov 2002-02-28 15:29 ` cornet 2002-02-28 16:40 ` [mdk-re] Re[2]: " roman_tutov 2002-02-28 12:14 ` [mdk-re] Re[2]: [mdk-re] Ликбез roman_tutov 2002-02-27 18:01 ` [mdk-re] " Чужой 2002-02-28 10:42 ` [mdk-re] " roman_tutov 2002-02-28 11:44 ` Dmitry Lebkov [this message] 2002-02-28 19:54 ` [mdk-re] Re: [mdk-re] Re: [mdk-re] Re: [mdk-re] Ликб Чужой
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=20020228185125.5a1ea7ee.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --cc=mandrake-russian@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