From: Чужой <kisan2@yandex.ru> To: <mandrake-russian@altlinux.ru> Subject: [mdk-re] Re: [mdk-re] Re: [mdk-re] Re: [mdk-re] Ликб Date: Thu Feb 28 19:54:11 2002 Message-ID: <00fc01c1c07a$3eedcec0$dcdf36c3@LocalHost> (raw) In-Reply-To: <2261064786.20020228104918@mail.ru> > >> :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. > Я так понял . что это хоть и некрасиво написано , зато вполне > работоспособно ? Ну в принципе - будет работать! ИМХО уберите из цепочки forward общее правило DENY - оно просто не нужно! То есть чтобы было: :forward ACCEPT
prev parent reply other threads:[~2002-02-28 19:54 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 ` [mdk-re] Re: [mdk-re] Dmitry Lebkov 2002-02-28 19:54 ` Чужой [this message]
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='00fc01c1c07a$3eedcec0$dcdf36c3@LocalHost' \ --to=kisan2@yandex.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