Re: [ilugd] Mail log file analyzer
- Original Message - From: Tanmay [EMAIL PROTECTED] Hello, Many are there like lire,isoqlog,awstats,etc.. You may look at sample reports to see what suits your needs. Regards, Tanmaya Thanks for pointing me to Awstats. It works for me. Regards, Sandeep On 6/16/06, Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi All, Is any other Log analyzer for maillog to make batter presentable report? (Like SARG in case of SQUID) Thanking you, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Mail log file analyzer
Hi All, Is any other Log analyzer for maillog to make batter presentable report? (Like SARG in case of SQUID) Thanking you, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
- Original Message - From: Naresh Narang [EMAIL PROTECTED] --- Sandeep Agarwal [EMAIL PROTECTED] wrote: - Original Message - From: Naresh Narang [EMAIL PROTECTED] --- Sandeep Agarwal [EMAIL PROTECTED] wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I Any pointer will help. What you are trying will NOT work. You can't tell your mail server that he is xyz.com and at the same time there is another xyz.com sitting out there somewhere. You should change your local domain to say abc.com and users can use xyz.com in their From address to achieve what you are trying to. Regards, --Naresh If I change the local domain to abc.com users are using FROM TO address of xyz.com, than all mail will go to ISP mail server. It will increase the bandwidth traffic. (First msg will goes to ISP server than my fetchmail will downlaod it to delivered to local user.) While requirement is, msg of local users of xyz.com should be deliver locally msg of remote users of xyz.com should be deliver at ISP mail server. Is this can be achieve by sendmail? Any workaround? Regards, Sandeep Try this - Your local mail server is xyz.com and [EMAIL PROTECTED] lives on ISP. Create a user x11 on your local and in his home directory create a .forward file In this file, use mail address with ip address of your ISP's mail exchanger like so [EMAIL PROTECTED] Regards, -- Naresh Done the same. msg sent but returns back with following error msg. -- The original message was received at Wed, 7 Jun 2006 13:57:34 +0530 from [192.168.100.x] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] (reason: 550 Host unknown) (expanded from: [EMAIL PROTECTED]) - Transcript of session follows - 550 5.1.2 [EMAIL PROTECTED] ... Host unknown (Name server: 1.2.3.4: host not found) - I have make the entry in hosts file for this like 1.2.3.4 smtp.isp.com smtp.xyz.com but error is same. Regards, Sandeep You missed the square brackets. Syntex has to be correct. -- Naresh Ooh! my mistake. Correct the syntax but still in vain. however error msg has changed. Following now in my .forward file. [EMAIL PROTECTED] After this, error msg as --- The original message was received at Thu, 8 Jun 2006 11:44:07 +0530 from [192.168.100.x] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] (reason: 550 Unknown local part test in [EMAIL PROTECTED]) (expanded from: [EMAIL PROTECTED]) - Transcript of session follows - .. while talking to [1.2.3.4]: RCPT To:[EMAIL PROTECTED] 550 Unknown local part test in [EMAIL PROTECTED] 550 5.1.1 [EMAIL PROTECTED] User unknown --- One thing here, ISP has shared mail server required complete email address. thus I have also tried with [EMAIL PROTECTED]@[1.2.3.4] but no chance error msg as: --- The original message was received at Thu, 8 Jun 2006 12:11:45 +0530 from [192.168.100.x] - The following addresses had permanent fatal errors - [EMAIL PROTECTED]@[1.2.3.4] (reason: 501 [EMAIL PROTECTED]@[1.2.3.4]: malformed address: @[1.2.3.4] may not follow [EMAIL PROTECTED]) (expanded from: [EMAIL PROTECTED]) - Transcript of session follows - .. while talking to [1.2.3.4]: RCPT To:[EMAIL PROTECTED]@[1.2.3.4] 501 [EMAIL PROTECTED]@[1.2.3.4]: malformed address: @[1.2.3.4] may not follow [EMAIL PROTECTED] 554 5.0.0 Service unavailable - After this I have also tried with POP ID of [EMAIL PROTECTED] mailbox. It is something like j1234567-111. Following in the .forward file. [EMAIL PROTECTED] But again no chance error msg as: -- The original message was received at Thu, 8 Jun 2006 11:57:24 +0530 from [192.168.100.x] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] (reason: 550 Unknown local part j1234567-111 in [EMAIL PROTECTED]) (expanded from: [EMAIL PROTECTED]) - Transcript of session follows - .. while talking to [1.2.3.4]: RCPT To:[EMAIL PROTECTED] 550 Unknown local part j1234567-111 in [EMAIL PROTECTED] 550 5.1.1 [EMAIL PROTECTED] User unknown --- Regards, Sandeep ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
- Original Message - From: Sanjay Dutt [EMAIL PROTECTED] Naresh Narang wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. [snip] Try searching the archived old issues of PCQuest at their web site www.pcquest.com. There is an article in the March 2004 issue 'Set up an Intranet Mail Server'. This article addresses your problem. I have the pdf document with me on CD. (It is 144KB). Regards. Sanjay Dutt Thanks Sanjay. I have searched found the right DOC. Configure the POSTFIX instead of sendmail it is working fine. Now local user mails delivered locally whereas remote user mail went to ISP mail server. Regards, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
--- Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. What you are trying will NOT work. You can't tell your mail server that he is xyz.com and at the same time there is another xyz.com sitting out there somewhere. You should change your local domain to say abc.com and users can use xyz.com in their From address to achieve what you are trying to. Regards, --Naresh If I change the local domain to abc.com users are using FROM TO address of xyz.com, than all mail will go to ISP mail server. It will increase the bandwidth traffic. (First msg will goes to ISP server than my fetchmail will downlaod it to delivered to local user.) While requirement is, msg of local users of xyz.com should be deliver locally msg of remote users of xyz.com should be deliver at ISP mail server. Is this can be achieve by sendmail? Any workaround? Regards, Sandeep ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
- Original Message - From: Naresh Narang [EMAIL PROTECTED] --- Sandeep Agarwal [EMAIL PROTECTED] wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. What you are trying will NOT work. You can't tell your mail server that he is xyz.com and at the same time there is another xyz.com sitting out there somewhere. You should change your local domain to say abc.com and users can use xyz.com in their From address to achieve what you are trying to. Regards, --Naresh If I change the local domain to abc.com users are using FROM TO address of xyz.com, than all mail will go to ISP mail server. It will increase the bandwidth traffic. (First msg will goes to ISP server than my fetchmail will downlaod it to delivered to local user.) While requirement is, msg of local users of xyz.com should be deliver locally msg of remote users of xyz.com should be deliver at ISP mail server. Is this can be achieve by sendmail? Any workaround? Regards, Sandeep Try this - Your local mail server is xyz.com and [EMAIL PROTECTED] lives on ISP. Create a user x11 on your local and in his home directory create a .forward file In this file, use mail address with ip address of your ISP's mail exchanger like so [EMAIL PROTECTED] Regards, -- Naresh Done the same. msg sent but returns back with following error msg. -- The original message was received at Wed, 7 Jun 2006 13:57:34 +0530 from [192.168.100.x] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] (reason: 550 Host unknown) (expanded from: [EMAIL PROTECTED]) - Transcript of session follows - 550 5.1.2 [EMAIL PROTECTED] ... Host unknown (Name server: 1.2.3.4: host not found) - I have make the entry in hosts file for this like 1.2.3.4 smtp.isp.com smtp.xyz.com but error is same. Regards, Sandeep ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Sending mails to ISP mail server account
Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. Thanking you, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
- Original Message - From: Narender Hooda A...nice question... for this you have to write few rules under the sendmail.cf. let me know which version of sendmail you are using so that i can help you. --Naren Thank you Naren for your reply. The Sendmail version is 8.11.6 on RH7.3 Sandeep On 6/6/06, Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. Thanking you, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Please help me in Club bandwidth+Load balancing+ISP Failover
Dear All, Please help me in building the right solution. My requirement is: 1st I want to club both ISP bandwidth to get 512kbps. 2nd, In normal condition, it should be in Load balancing. 3rd , In ISP Failover condition, traffic will automatically route to working ISP. What I have: I have the link from two ISP both 256kbps. Both ISP given 8 real IP Pool. One ISP is through Lease line, terminated at my router CISCO 1841. Output of this is connected to ETH1 2nd ISP is through Ethernet connected to ETH2 ETH0 is connected to the Local zone. What I have done: Is RHEL with kernel 2.4.21-9EL be OK for this OR any other flavour (Debian / Mandrake / SUSE etc.) is required? I have gone through http://www.ssi.bg/~ja/nano.txt AND further http://www.ssi.bg/~ja/ Is I am on right track? OR there is any other simplest way to achieve this? Awaiting your valuable suggestion. Thanking you, Sandeep Agarwal 9818619912 ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Problem during compiling the kernel...
Dear All, I have prepare Linux Box with RHL9.0 (Kernel 2.4.20-8) for the requirement to combine 2 ISP Link. Both ISP is connected on ETH0 ETH1 and ETH2 is connected to Local Zone. I want to use both ISP in Load Balancing ISP Failover condition. As per the doc on http://www.ssi.bg/~ja/nano.txt I have downloaded the routes-2.4.20-9.diff apply the same. Done # make xconfig And choose the required thing as mentioned in the doc. Done # make dep clean and it's completed without any error Done # make bzImage and it's completed without any error Now when I issue the command # make modules it gives error in directory NET stop the process. Is someone faces similar problem on the list? Any pointer where I am wrong.. Thank you, Sandeep Agarwal ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Unable to findout HDD Space
Hi All, I am unable to findout where my HDD space is occupied. I have checked /tmp /home /var/log but nothing is found. The details are as: Please help. Thanking you, Sandeep Agarwal *** [EMAIL PROTECTED] root]# cd / [EMAIL PROTECTED] /]# ls -l total 425 drwxr-xr-x2 root root 4096 Jul 18 10:38 bin drwxr-xr-x4 root root 1024 May 28 01:42 boot drwxr-xr-x 20 root root 118784 Jul 18 11:51 dev drwxr-xr-x 56 root root 4096 Jul 18 11:51 etc drwxr-xr-x2 root root 4096 Jan 25 2003 home drwxr-xr-x2 root root 4096 Jan 25 2003 initrd drwxr-xr-x9 root root 4096 May 28 01:30 lib drwx--2 root root16384 May 28 01:20 lost+found drwxr-xr-x2 root root 4096 Jan 28 2003 misc drwxr-xr-x2 root root 4096 May 27 21:50 mnt drwxr-xr-x3 root root 4096 Jul 5 10:57 opt dr-xr-xr-x 46 root root0 Jul 18 2005 proc drwxr-x--- 23 root root 4096 Jul 18 11:46 root drwxr-xr-x2 root root 8192 May 27 20:19 sbin drwxrwxrwt2 root root 237568 Jul 18 11:51 tmp drwxr-xr-x 15 root root 4096 May 28 01:23 usr drwxr-xr-x 19 root root 4096 May 28 01:38 var [EMAIL PROTECTED] /]# cd /tmp [EMAIL PROTECTED] tmp]# ls -al total 240 drwxrwxrwt2 root root 237568 Jul 18 11:51 . drwxr-xr-x 19 root root 4096 Jul 18 11:51 .. srwx--1 root nobody 0 May 27 21:13 .fam_socket [EMAIL PROTECTED] tmp]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 37436560 37434904 0 100% / /dev/hda1 505605 13281466220 3% /boot none123592 0123592 0% /dev/shm [EMAIL PROTECTED] tmp]# *** ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Unable to findout HDD Space
- Original Message - From: Vivek Kapoor [EMAIL PROTECTED] To: Sandeep Agarwal [EMAIL PROTECTED]; The Linux-Delhi mailing list ilugd@lists.linux-delhi.org Sent: Monday, July 18, 2005 12:27 PM Subject: Re: [ilugd] Unable to findout HDD Space On Mon, July 18, 2005 12:17, Sandeep Agarwal said: Hi All, I am unable to findout where my HDD space is occupied. I have checked /tmp /home /var/log but nothing is found. The details are as: *** [EMAIL PROTECTED] root]# cd / [EMAIL PROTECTED] /]# ls -l total 425 drwxr-xr-x2 root root 4096 Jul 18 10:38 bin snip drwxr-xr-x 19 root root 4096 May 28 01:38 var [EMAIL PROTECTED] /]# cd /tmp [EMAIL PROTECTED] tmp]# ls -al total 240 drwxrwxrwt2 root root 237568 Jul 18 11:51 . drwxr-xr-x 19 root root 4096 Jul 18 11:51 .. srwx--1 root nobody 0 May 27 21:13 .fam_socket [EMAIL PROTECTED] tmp]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 37436560 37434904 0 100% / /dev/hda1 505605 13281466220 3% /boot none123592 0123592 0% /dev/shm try du -sh * in your / directory. it'll display all the folders occupying space and yu can then check which is the one which is occupying space. also check your /var/log as maybe the logs are taking up all the space o--o | vivek * [EMAIL PROTECTED] * http://exain.net | |Registered Linux User: #305493| o--o Thank you Vivek. It's worked. Problem solved. Sandeep ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Fwd: Need Linux 7.3 CDs
- Original Message - From: Nishikant Kapoor [EMAIL PROTECTED] To: ILUG-D Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, September 20, 2004 1:41 PM Subject: [ilugd] Fwd: Need Linux 7.3 CDs Original Message Message from Atul Kumar: We have Linux servers in a Data Center in US. We are setting up local test servers Linux 7.3. For this we need Linux 7.3 CD's urgently. Yes I have! I am in udyog vihar, gurgaon. Contact me off the list. We will pay reasonable cost towards that. We will apprecaite youR HELP. Regards Atul Kumar JodoHost.com Sandeep ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
Re: [ilugd] Re: Suggestion required on CBQ !!!!!!
I have done as you suggested. In iptraf under LAN station monitor, It is showing ethernet address not the IP address. Also I want to see the real time bandwidth usages (In Cumulative) by the different interfaces. So that I can show/convince the same to management. Any other tool by which I can see the bandwidth usages in graphical mode? Thanking you, Sandeep Agarwal - Original Message - From: Ashwin Shah [EMAIL PROTECTED] To: 'Sandeep Agarwal' [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' [EMAIL PROTECTED]; 'Ashwin Shah' [EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 8:08 PM Subject: RE: [ilugd] Re: Suggestion required on CBQ !! The files seem to be ok. I am guessing that you must have already tried it out. Ipchains has no relation to this as far as my knowledge goes and I doubt that there would be any relation found. If you have not already done the following please do it. Bash# chmod 500 /etc/init.d/htb.init To start bandwidth management give Bash# /etc/init.d/htb.init start To stop Bash# /etc/init.d/htb.init stop To check status Bash# /etc/init.d/htb.init stat To check bandwidth usage run iptraf Go to LAN station monitor and select the interface You will get the upload and download rates in kbps Best regards, Ashwin Shah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Agarwal Sent: Wednesday, March 31, 2004 7:39 PM To: Ashwin Shah; 'The Linux-Delhi mailing list' Subject: Re: [ilugd] Re: Suggestion required on CBQ !! Hello Ashwin, Thanks again. I have checked it found modules already there. So I have go to HTB config directly and done all as you suggest. Please go through the following suggest whether I have done it correctly or more modification required? I have IPCHAINS on this server so I have to require to put -m option more in IPCHAINS right? Thanking you, Sandeep Agarwal - - Scenario: Restrict Server, Comp1 Comp2 on given speed. --256kbps---|eth0(203.145.134.112/255.255.255.252) [A] |eth1(Server room) 56kbps (203.145.134.120/255.255.255.248) [B] |eth2(Company2) 80kbps (203.145.134.116/255.255.255.252) [C] (192.168.100.0/255.255.255.0) |eth3(Company1) 120kbps(192.168.200.0/255.255.255.0) [D] - - Now in /etc/sysconfig/htb directory, I have put following files. eth0 DEFAULT=30 R2Q=10 eth0-2.root # root class containing total bandwidth RATE=128kbps BURST=15k eth0-2:1.comp1 # default class for Company1 traffic RATE=120Kbps BURST=15k PRIO=0 LEAF=sfq RULE=192.168.200.0/24 eth0-2:2.comp2 # default class for Company2 traffic RATE=80Kbps BURST=10k PRIO=1 LEAF=sfq RULE=192.168.100.0/24 eth0-2:1.server # default class for Server Room traffic RATE=56Kbps BURST=10k PRIO=3 LEAF=sfq RULE=203.145.134.120/29 -- eth1-2:3.root # root class For Server Room containing total bandwidth RATE=56kbps BURST=5k eth1-2:3:30.all # class for Server Room traffic RATE=56Kbps BURST=5k PRIO=3 LEAF=sfq RULE=203.145.134.120/29 MARK=3 -- eth2-2:2.root # root class For Company2 containing total bandwidth RATE=80kbps BURST=8k eth2-2:2:20.all # class for outgoing Company2 traffic RATE=80Kbps BURST=8k PRIO=1 LEAF=sfq RULE=192.168.100.0/24 MARK=2 -- eth3-2:1.root # root class For Company1 containing total bandwidth RATE=120kbps BURST=15k eth3-2:1:10.all # class for outgoing Company1 traffic RATE=120Kbps BURST=15k PRIO=0 LEAF=sfq RULE=192.168.200.0/24 MARK=1 - - - Original Message - From: Ashwin Shah [EMAIL PROTECTED] To: 'Sandeep Agarwal' [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' [EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 11:13 AM Subject: RE: [ilugd] Re: Suggestion required on CBQ !! First look for the following files in /lib/modules/2.4.20-8/kernel/net/sched sch_htb.o sch_sfq.o cls_fw.o cls_u32.o cls_route.o if these files exist then great you can go directly to HTB config below. Else you will have to compile these. To compile do as follows 1) bash# cd /usr/src/linux-2.4 2) bash# make menuconfig 3) Go to Networking options --- press Enter 4) Go to QoS and/or fair queueing --- press Enter 5) Select * for QoS and/or fair queueing, QoS support, Rate estimator, Packet classifier API and Traffic Policing
Re: [ilugd] Re: Suggestion required on CBQ !!!!!!
Hello Ashwin, Thanks again. I have checked it found modules already there. So I have go to HTB config directly and done all as you suggest. Please go through the following suggest whether I have done it correctly or more modification required? I have IPCHAINS on this server so I have to require to put -m option more in IPCHAINS right? Thanking you, Sandeep Agarwal - - Scenario: Restrict Server, Comp1 Comp2 on given speed. --256kbps---|eth0(203.145.134.112/255.255.255.252) [A] |eth1(Server room) 56kbps (203.145.134.120/255.255.255.248) [B] |eth2(Company2) 80kbps (203.145.134.116/255.255.255.252) [C] (192.168.100.0/255.255.255.0) |eth3(Company1) 120kbps(192.168.200.0/255.255.255.0) [D] - - Now in /etc/sysconfig/htb directory, I have put following files. eth0 DEFAULT=30 R2Q=10 eth0-2.root # root class containing total bandwidth RATE=128kbps BURST=15k eth0-2:1.comp1 # default class for Company1 traffic RATE=120Kbps BURST=15k PRIO=0 LEAF=sfq RULE=192.168.200.0/24 eth0-2:2.comp2 # default class for Company2 traffic RATE=80Kbps BURST=10k PRIO=1 LEAF=sfq RULE=192.168.100.0/24 eth0-2:1.server # default class for Server Room traffic RATE=56Kbps BURST=10k PRIO=3 LEAF=sfq RULE=203.145.134.120/29 -- eth1-2:3.root # root class For Server Room containing total bandwidth RATE=56kbps BURST=5k eth1-2:3:30.all # class for Server Room traffic RATE=56Kbps BURST=5k PRIO=3 LEAF=sfq RULE=203.145.134.120/29 MARK=3 -- eth2-2:2.root # root class For Company2 containing total bandwidth RATE=80kbps BURST=8k eth2-2:2:20.all # class for outgoing Company2 traffic RATE=80Kbps BURST=8k PRIO=1 LEAF=sfq RULE=192.168.100.0/24 MARK=2 -- eth3-2:1.root # root class For Company1 containing total bandwidth RATE=120kbps BURST=15k eth3-2:1:10.all # class for outgoing Company1 traffic RATE=120Kbps BURST=15k PRIO=0 LEAF=sfq RULE=192.168.200.0/24 MARK=1 - - - Original Message - From: Ashwin Shah [EMAIL PROTECTED] To: 'Sandeep Agarwal' [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' [EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 11:13 AM Subject: RE: [ilugd] Re: Suggestion required on CBQ !! First look for the following files in /lib/modules/2.4.20-8/kernel/net/sched sch_htb.o sch_sfq.o cls_fw.o cls_u32.o cls_route.o if these files exist then great you can go directly to HTB config below. Else you will have to compile these. To compile do as follows 1) bash# cd /usr/src/linux-2.4 2) bash# make menuconfig 3) Go to Networking options --- press Enter 4) Go to QoS and/or fair queueing --- press Enter 5) Select * for QoS and/or fair queueing, QoS support, Rate estimator, Packet classifier API and Traffic Policing 6) Select M for HTB packet scheduler, SFQ packet scheduler and all the classifier entries. 7) Compile the kernel bash# make dep clean bzImage modules modules_install (that was one long command) 8) Install the new kernel in boot. Run lilo/grub 9) reboot HTB config Download htb.init and the sample config files from sourceforge Copy htb.init to /etc/init.d Copy sample files to /etc/sysconfig/htb Read the htb.init file to learn how to configure the sample files. It's pretty simple. And Viola! You are done. Best of luck Best regards, Ashwin Shah -Original Message- From: Sandeep Agarwal [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 10:26 AM To: [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' Subject: Re: [ilugd] Re: Suggestion required on CBQ !! Hello Ashwin, Thank you for your response. I have a RHL9.0 with kernel 2.4.20-8 on i686. Should I require to patch my kernel? If yes, Please suggest which version it OK for this. I have checked the following command # grep htb_qdisc_ops /proc/ksyms But it returns nothing. Thanking you. Sandeep Agarwal - Original Message - From: Ashwin Shah [EMAIL PROTECTED] To: 'Sandeep Agarwal' [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 6:00 PM Subject: RE: [ilugd] Re: Suggestion required on CBQ !! You have to create the htb directory in /etc/sysconfig. Also the format of the files is different. Htb should also be enabled in the kernel either as a module or built into the kernel itself. Though in some ways it is similar to cbq it requires to be compiled into the kernel first. It will take a bit more effort than
Re: [ilugd] Re: Suggestion required on CBQ !!!!!!
Hello Ashwin, Thank you for your response. I have a RHL9.0 with kernel 2.4.20-8 on i686. Should I require to patch my kernel? If yes, Please suggest which version it OK for this. I have checked the following command # grep htb_qdisc_ops /proc/ksyms But it returns nothing. Thanking you. Sandeep Agarwal - Original Message - From: Ashwin Shah [EMAIL PROTECTED] To: 'Sandeep Agarwal' [EMAIL PROTECTED]; 'The Linux-Delhi mailing list' [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 6:00 PM Subject: RE: [ilugd] Re: Suggestion required on CBQ !! You have to create the htb directory in /etc/sysconfig. Also the format of the files is different. Htb should also be enabled in the kernel either as a module or built into the kernel itself. Though in some ways it is similar to cbq it requires to be compiled into the kernel first. It will take a bit more effort than using CBQ but works much better. If you still want to use CBQ let me know and I will send instructions for the same. Best regards Ashwin Shah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Agarwal Sent: Monday, March 29, 2004 5:30 PM To: Abhijit Menon-Sen Cc: [EMAIL PROTECTED] Subject: [ilugd] Re: Suggestion required on CBQ !! .It's derived from cbq.init Should I leave the files under /etc/sysconfig/cbq as it is And load configure the HTB? Or remove All CBQ entry first from the system. Sandeep - Original Message - From: Abhijit Menon-Sen [EMAIL PROTECTED] To: Sandeep Agarwal [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 29, 2004 5:04 PM Subject: Re: Suggestion required on CBQ !! At 2004-03-29 16:58:26 +0530, [EMAIL PROTECTED] wrote: CBQ is ok for this or any other tool is/are suggested? (I'd recommend HTB instead. See http://www.lartc.org) -- ams ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/ ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
[ilugd] Re: Suggestion required on CBQ !!!!!!
.It's derived from cbq.init Should I leave the files under /etc/sysconfig/cbq as it is And load configure the HTB? Or remove All CBQ entry first from the system. Sandeep - Original Message - From: Abhijit Menon-Sen [EMAIL PROTECTED] To: Sandeep Agarwal [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 29, 2004 5:04 PM Subject: Re: Suggestion required on CBQ !! At 2004-03-29 16:58:26 +0530, [EMAIL PROTECTED] wrote: CBQ is ok for this or any other tool is/are suggested? (I'd recommend HTB instead. See http://www.lartc.org) -- ams ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
[ilugd] Suggestion required on CBQ !!!!!!
Dear Sir, I have downloaded configured the CBQ as per the doc available on the net. Please suggest after reading following, whether I have done it in correct way or still more class to be required to restrict on the given speed? CBQ is ok for this or any other tool is/are suggested? Thanking you, Sandeep Agarwal - Scenario: Restrict Server, Comp1 Comp2 on given speed. --256kbps---|eth0(203.145.134.112/255.255.255.252) |eth1(Server room) 56kbps (203.145.134.120/255.255.255.248) |eth2(Company1) 80kbps (203.145.134.116/255.255.255.252) (192.168.100.0/255.255.255.0) |eth3(Company2) 120kbps(192.168.200.0/255.255.255.0) Procedure Follow: On RHL 9.0 with Kernel 2.4.20-8 on i686 I have download the CBQ from net, rename copy it into /etc/rc.d/init.d. Also make the symlink in rc*.d as per the instruction. Also make the directory in etc/sysconfig/cbq Now in this directory, I have put following files. 1. cbq-1280.All-Speed DEVICE=eth0,100Mbit,10Mbit RATE=128Kbit WEIGHT=10Kbit PRIO=2 RULE=203.145.134.121/29 RULE=192.168.100.0/24 RULE=192.168.200.0/24 2. cbq-0560.Backbone-Server DEVICE=eth1,100Mbit,10Mbit RATE=25Kbit WEIGHT=3Kbit PRIO=5 PARENT=1280 RULE=203.145.134.121/29 3. cbq-0800.Backbone-Comp1 DEVICE=eth2,100Mbit,10Mbit RATE=39Kbit WEIGHT=4Kbit PRIO=5 PARENT=1280 RULE=192.168.100.0/24 4. cbq-1200.Backbone-Comp2 DEVICE=eth3,100Mbit,10Mbit RATE=64Kbit WEIGHT=7Kbit PRIO=2 PARENT=1280 RULE=192.168.200.0/24 Than # service cbq.init start - ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
[ilugd] Getmail error while running
Dear All, When I run the getmail, following error msg appear on the screen. Please suggest to resolve this error. Thanking you, Sandeep Agarwal -- On Screen: -- # getmail getmail - POP3 mail retriever with reliable Maildir and command delivery. getmail version 3.2.1 Copyright (C) 2001 Charles Cazabon Licensed under the GNU General Public License version 2. See the file COPYING for details. Written by Charles Cazabon getmail @ discworld.dyndns.org getmail started for [EMAIL PROTECTED]@pop.net4india.com:110 POP3 greeting: +OK POP3 Ready mx1.net4india.com POP3 user response: +OK USER [EMAIL PROTECTED] set POP3 PASS response: +OK You are so in POP3 stat response: 3 messages, 5180 octets POP3 list response: +OK 3 messages (5180 octets) msg #1/3 : len 2579 ... retrieved ... failed delivering message (refuse to deliver to commands as root), skipping msg #2/3 : len 1301 ... retrieved ... failed delivering message (refuse to deliver to commands as root), skipping msg #3/3 : len 1300 ... retrieved ... failed delivering message (refuse to deliver to commands as root), skipping finished retrieving messages POP3 session completed for [EMAIL PROTECTED] Retrieved 0 messages for 0 local recipients getmail finished for [EMAIL PROTECTED]@pop.net4india.com:110 -- -- Log file contains: -- 25 Mar 2004 10:08:06 Started for [EMAIL PROTECTED]@pop.net4india.com:110 25 Mar 2004 10:08:17 STAT: 3 messages 5180 octets 25 Mar 2004 10:08:18 New msg 1/3 len 2579 id [EMAIL PROTECTED] from [EMAIL PROTECTED] 25 Mar 2004 10:08:19 New msg 2/3 len 1301 id [EMAIL PROTECTED] from [EMAIL PROTECTED] 25 Mar 2004 10:08:20 New msg 3/3 len 1300 id [EMAIL PROTECTED] from [EMAIL PROTECTED] 25 Mar 2004 10:08:20 Finished [EMAIL PROTECTED]@pop.net4india.com:110 -- ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
[ilugd] How to create different group in ACL-squid
Dear All, I have squid proxy server. I have blocked messenger, chat in it by using acl. Now I want to make two group of users on the basis of IP address (in the range 192.168.100.0). One who has all permission One who has restricted permission under squid ACL. How can I create it? Thanking you, Sandeep Agarwal ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
Re: [ilugd] Club bandwidth
Read this one. http://lartc.org/lartc.html Sandeep - Original Message - From: Gurpreet Singh Kochhar [EMAIL PROTECTED] To: 'The Linux-Delhi mailing list' [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 5:42 PM Subject: [ilugd] Club bandwidth Hi I have 3 ISP connections - always on I want help in making a Linux box which can take inputs from 3 different ISP connections and make fat pipe output if it can do bandwidth load balancing that would be great please revert ASAP thanks Gurpreet ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] Help Require to divide Bandwidth
Hi Everyone!!! Please help in the following... I have Lease Line of Bharti (64k in 1:4). Presently it is connected as Lease Line (Copper Pair)- RAD HTU E1--RAD FCD-2---Cisco Router 1720 (WIC1T)--Gateway Server Gateway Server (RHL 7.3 with IPChains) have 3 NIC's which are connected as Eth0--Cisco Router Eth1--Switch (For Server's) Eth2--Switch(For Users) Now we are going to upgrade this Lease Line to 128k as one new sister concern is going to open in the same premises. Management wants to divide this 128k into 50-50% in parent sister concern. Can we achieve it on Gateway ? If any other solution has, please suggest. Thanking you in advance. Sandeep Agarwal ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Re: Fetchmail Problem
- Original Message - From: Sandip Bhattacharya [EMAIL PROTECTED] To: Linux-Delhi mailing list [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 1:41 PM Subject: [ilugd] Re: Fetchmail Problem +++ Sandeep Agarwal (Hotmail) [18/09/03 10:58 +0530]: I have RHL 7.3 box for mail. When this server is going to fetch the mail for the user from ISP end, it shows No. of message fetched, but when I am going to see the mails in /var/spool/mail directory by the command mail -f /var/spool/mail/useraccount It shows less no. of mails. I have seen this problem mainly with the yahoo mails. None of yahoo mails is comming upto user mailbox, while other mails are comming. Run fetchmail in debug mode and not in daemon mode. Steps: 1. Kill any existing fetchmail session fetchmail -q 2. Run fetchmail in debug mode fetchmail -vv -d 0 See if you get any clue from the messages. It is helpful to open an additional xterm/console with a tail -f /var/log/maillog running to monitor mails handled by your local mail server. - Sandip Dear Mr. Sandip, Thankx for your valuable response. I have found that this problem occurs due to following SPAM RULES in sendmail which I had put earlier just to stop the users for not to send the mails from Official mail ID's [From their PC - mail configured in outlook / Netscape] to their personal mail ID's. in /etc/mail/access hotmail.com 550 U can not send mails to hotmail.com yahoo.com 550 U can not send mails to yahoo.com yahoo.co.in 550 U can not send mails to yahoo.co.in rediffmail.com 550 U can not send mails to rediffmail.com indiatimes.com 550 U can not send mails to indiatimes.com But now it is applying on incoming mail also from these domains. Any Idea by which I can stop to send the mail's to these domains but not to incoming mails ? Thanking you, Sandeep ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] Fetchmail Problem
Dear ALL, I have RHL 7.3 box for mail. When this server is going to fetch the mail for the user from ISP end, it shows No. of message fetched, but when I am going to see the mails in /var/spool/mail directory by the command mail -f /var/spool/mail/useraccount It shows less no. of mails. I have seen this problem mainly with the yahoo mails. None of yahoo mails is comming upto user mailbox, while other mails are comming. Please help... Thankx Sandeep ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd