Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: MRTG and IPCHAINS problem


  • Subject: Re: lug-bg: MRTG and IPCHAINS problem
  • From: teodor@xxxxxxxxxxxxxxx (Teodor Georgiev)
  • Date: Tue, 26 Mar 2002 09:46:51 +0100



vmesto da preotkrivash toplata voda, v "contrib" direktoriata na MRTG si ima
gotovi scriptove za
ipchains i iptables accounting. Rabotiat perfektno.
Na men MRTG mi vyrshi idealna rabota, dosega ne sum imal povod da se oplacha
ot nego.

a probva li s forward? ;)

----- Original Message -----
From: "Marian Popov" <mano@xxxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 26, 2002 2:01 AM
Subject: lug-bg: MRTG and IPCHAINS problem

> Hello, grupa.
>
> Sigurno na niakoi ot vas im e pisnalo ot MRTG no poneje ne mojah da
> nameria reshenie na moia problem v tyrsachkata na site-a reshih da postvam
> kakto se kazva.
>
> Ta nabyrzo estestvoto na problema.
>
> Imam edna mashina s niakolko LAN karti na vsiaka ot koito imam routirani
> otdelni grupi ot ip adresi.
>
> Imam MRTG i s IPCHAINS se opitvam da vzimam stoinosti za IN i OUT trafik
> za vsiako IP po otdelno.
>
> Problemyt m ie tam che se otchita trafika edinstveno ako dadenia ip adres
> izteglia ili predava informacia na servera, koito mu se iaviava i GW i
> kydeto e pusnato i MRTG-to.
>
> Ot druga mashina puskam ping kym tova IP i gledam stoinostite no te ne
> pomrydvat. Kokato pusna ping obache ot tazi mashina na koiato e MRTG-to
> sichko e pushka i stoinostite se natrupvat.
>
> Niamam drugi verigi na tazi mashina osven tezi za MRTG.
>
> Eto i nachinite po, koito se opitvam da logvam traffika.
>
> ipchains -A input  -i eth1 -s 212.116.10.10 -d 0/0  -j ACCEPT
> ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10  -j ACCEPT
>
>
> I eto i drugia metod kydeto efekta e syshtia.
>
> ipchains -A input  -i eth1 -d 212.116.10.10 -s ! 212.116.10.10  -j ACCEPT
> ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10  -j ACCEPT
>
>
> Pak povtariam trafika se otchita SAMO kogato dadenoto IP obmenia
> informacia s kompiutera na koito e pusnato MRTG-to
>
>
> Priemam vsiakakvi predlojenia.
>
>
> =-rw-r--r--=======================
> Pazardjik.com System Administrator
> email: mano@xxxxxxxxxxxxx
> icq: 9362972
>
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.