Hi, When the webhosting comanies say that they give you say 10Mb webspace and 200Mb data transfer per month, how do they count data tranfer for that domain? I am unable to figure it out. With warm regards, -Payal p.s. hope this is not too OT here. -- For GNU/Linux Success Stories and Articles visit: http://payal.staticky.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi Payal,>>>>> "Payal" == Payal Rathod <payal-lartc@staticky.com> writes:Payal> Hi, When the webhosting comanies say that they give you say Payal> 10Mb webspace and 200Mb data transfer per month, how do Payal> they count data tranfer for that domain? Payal> I am unable to figure it out. Payal> With warm regards, -Payal p.s. hope this is not too OT Payal> here. If you are giving one IP per site it''s pretty simple: just have your router account traffic by IP. You can do it on the server system itself too with fake (accounting-only) iptables rules. See the discussion here a couple of weeks ago for more details on how to achieve that. If you have IPs shared across multiple sites you need to do much more work. Depending on the services you''re offering your clients, you may have to make separate summations from HTTP, HTTPS, SMTP, POP3, IMAP, FTP and SSH logs (I wonder if ssh logs contain data transfers) and summarise them into a single figure each month. Regards, -- Raju -- Raj Mathur raju@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F It is the mind that moves _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Apache Logfiles count outbound data, thats how I have been doing it. Thanks, Aaron Daniels Chincogan Network Services http://www.chincogan.net.au/ On Mon, 15 Sep 2003 15:16:13 +0000 Payal Rathod <payal-lartc@staticky.com> wrote:> Hi, > When the webhosting comanies say that they give you say 10Mb webspace > and 200Mb data transfer per month, how do they count data tranfer for > that domain? > > I am unable to figure it out. > > With warm regards, > -Payal > p.s. hope this is not too OT here. > > -- > For GNU/Linux Success Stories and Articles visit: > http://payal.staticky.com > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi, I have a linux router: INTERNET<--- eth0 LINUX router eth1 --> LAN ---> host1 ---> host2 ---> ... ---> VoIP device. Linux router haves: - kernel 2.4.20, - iptables 1.2.8 - patchs h323 netfilter - other patchs. I want to connect to a with my VoIP device, to a friend that haves ADSL connection, and VoIP device. Him can to connect to other users with ADSL and VoIP, but not with me. My linux haves severals publics IPs over eth0. One of them are full forwarded to VoIP devide: iptbles -A PREROUTING -t nat -s aa.aa.aa.aa -j DNAT --to-destination bb.bb.bb.bb iptables -A POSTROUTING -t nat -s bb.bb.bb.bb -j SNAT --to-source aa.aa.aa.aa where aa.aa.aa.aa = public ip publica linux router dedicated to VoIP device and bb.bb.bb.bb = VoIP privete ip inside LAN VoIP device can be pinged from internet but I can to connect with my friend that haves her voip device with ADSL connection. which is the problem ? thankyou ! mac _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Generally, ISP''s use Netflow for accounting the IP traffic. This is the standard feature in most routers. Apage Logfiles does not give you full account. As suggested earlier, using router to count traffic is best way to go. If you don''t have a router which can''t provide the accounting, you can consider using a netflow probe. Venkatesh. K ----- Original Message ----- From: "Chincogan Network Services Lists" <lists@chincogan.net.au> To: <lartc@mailman.ds9a.nl> Sent: Tuesday, September 16, 2003 4:16 AM Subject: Re: [LARTC] counting web traffic> Apache Logfiles count outbound data, thats how I have been doing it. > > Thanks, > Aaron Daniels > Chincogan Network Services > http://www.chincogan.net.au/ > > On Mon, 15 Sep 2003 15:16:13 +0000 > Payal Rathod <payal-lartc@staticky.com> wrote: > > > Hi, > > When the webhosting comanies say that they give you say 10Mb webspace > > and 200Mb data transfer per month, how do they count data tranfer for > > that domain? > > > > I am unable to figure it out. > > > > With warm regards, > > -Payal > > p.s. hope this is not too OT here. > > > > -- > > For GNU/Linux Success Stories and Articles visit: > > http://payal.staticky.com > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I am sorry for the goof up in my earlier mail. As suggested earlier, using router to count traffic is best way to go. If you have a router which can''t provide the accounting, you can consider using a netflow probe. Venkatesh K ----- Original Message ----- From: "Venkatesh. K" <venkatesh@cbayscribe.com> To: <lartc@mailman.ds9a.nl> Sent: Tuesday, September 16, 2003 7:17 AM Subject: Re: [LARTC] counting web traffic> Generally, ISP''s use Netflow for accounting the IP traffic. This is the > standard feature in most routers. > > Apage Logfiles does not give you full account. > > As suggested earlier, using router to count traffic is best way to go. If > you don''t have a router which can''t provide the accounting, you canconsider> using a netflow probe. > > Venkatesh. K > > > ----- Original Message ----- > From: "Chincogan Network Services Lists" <lists@chincogan.net.au> > To: <lartc@mailman.ds9a.nl> > Sent: Tuesday, September 16, 2003 4:16 AM > Subject: Re: [LARTC] counting web traffic > > > > Apache Logfiles count outbound data, thats how I have been doing it. > > > > Thanks, > > Aaron Daniels > > Chincogan Network Services > > http://www.chincogan.net.au/ > > > > On Mon, 15 Sep 2003 15:16:13 +0000 > > Payal Rathod <payal-lartc@staticky.com> wrote: > > > > > Hi, > > > When the webhosting comanies say that they give you say 10Mb webspace > > > and 200Mb data transfer per month, how do they count data tranfer for > > > that domain? > > > > > > I am unable to figure it out. > > > > > > With warm regards, > > > -Payal > > > p.s. hope this is not too OT here. > > > > > > -- > > > For GNU/Linux Success Stories and Articles visit: > > > http://payal.staticky.com > > > _______________________________________________ > > > LARTC mailing list / LARTC@mailman.ds9a.nl > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tue, Sep 16, 2003 at 07:27:08AM +0530, Venkatesh. K wrote:> I am sorry for the goof up in my earlier mail. > > As suggested earlier, using router to count traffic is best way to go. If > you have a router which can''t provide the accounting, you can consider > using a netflow probe.But what if I have only 1 ip and multiple domains hosted on it? What use is router then here. Regards, -Payal -- For GNU/Linux Success Stories and Articles visit: http://payal.staticky.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Try webalizer. http://www.mrunix.net/webalizer/ Thanks, Rajesh -----Original Message----- From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On Behalf Of Payal Rathod Sent: Tuesday, September 16, 2003 10:01 AM To: Venkatesh. K Cc: lartc@mailman.ds9a.nl Subject: Re: [LARTC] counting web traffic On Tue, Sep 16, 2003 at 07:27:08AM +0530, Venkatesh. K wrote:> I am sorry for the goof up in my earlier mail. > > As suggested earlier, using router to count traffic is best way to go. If > you have a router which can''t provide the accounting, you can consider > using a netflow probe.But what if I have only 1 ip and multiple domains hosted on it? What use is router then here. Regards, -Payal -- For GNU/Linux Success Stories and Articles visit: http://payal.staticky.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
If it is a virtual hosting, then you have to rely on Apache logs as suggested earlier. You will find lots of tools to parse Apache logs and generate reports. Venkatesh. K ----- Original Message ----- From: "Payal Rathod" <payal-lartc@staticky.com> To: "Venkatesh. K" <venkatesh@cbayscribe.com> Cc: <lartc@mailman.ds9a.nl> Sent: Tuesday, September 16, 2003 10:01 AM Subject: Re: [LARTC] counting web traffic> On Tue, Sep 16, 2003 at 07:27:08AM +0530, Venkatesh. K wrote: > > I am sorry for the goof up in my earlier mail. > > > > As suggested earlier, using router to count traffic is best way to go.If> > you have a router which can''t provide the accounting, you can consider > > using a netflow probe. > > But what if I have only 1 ip and multiple domains hosted on it? What use > is router then here. > > Regards, > -Payal > > -- > For GNU/Linux Success Stories and Articles visit: > http://payal.staticky.com > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/