From owner-freebsd-net Wed Feb 9 23:29:23 2000 Delivered-To: freebsd-net@freebsd.org Received: from etri.re.kr (mail.etri.re.kr [129.254.113.113]) by builder.freebsd.org (Postfix) with ESMTP id 66EAF43A0 for ; Wed, 9 Feb 2000 23:29:19 -0800 (PST) Received: from etri.re.kr (kimch.etri.re.kr [129.254.191.142]) by etri.re.kr (8.9.3/8.9.3) with ESMTP id QAA15588; Thu, 10 Feb 2000 16:26:29 +0900 (KST) Message-ID: <38A26863.D6D499D0@etri.re.kr> Date: Thu, 10 Feb 2000 16:27:31 +0900 From: Changhoon Kim X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: ko,en MIME-Version: 1.0 To: Brendan Kosowski Cc: FreeBSD Net Subject: Re: sendmail hogs ppp link ? References: Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brendan Kosowski wrote: > Is it possible to fine tune the system or sendmail so that the rate of > receiving and sending email is restricted ( therefore allowing other > packets to get through ) ??? Dummynet is exactly what you want. Because It was designed to enable flexible bandwidth management and delay emulation. To use dummynet, first, turn on two options "IPFIREWALL" and "DUMMYNET" in the kernel configuration file and rebuild it. Then you can use "ipfw" commands to control the new installed firewall. Specifically, you can set up specific filters and enforce some limitations for bandwidth and delay on them, using "pipe" rules among IP firewall funtions. For example, "ipfw add pipe 1 tcp from localhost 25 to any" "ipfw pipe 1 config bw 20Kbit/s" mean that bandwidth of a tcp data stream from port number 25(smtp) of your localhost to any hosts in the Internet will be restricted to 20Kbit/s at most. In similar context, you will be able to interprete following commands; ipfw add pipe 2 udp from localhost 25 to any ipfw add pipe 3 tcp from localhost to any 25 ipfw add pipe 4 udp from localhost to any 25 ipfw pipe 2 config bw ... ipfw pipe 3 config bw ... ipfw pipe 4 config bw ... For more information, "man dummynet" or "man ipfw". Regards. Chang. -- ========================================================== Changhoon Kim Internet Technology Research Dept. Switching & Transmission Technology Lab. Electronics and Telecommunications Research Institute(ETRI) 161 Kajong-dong, Yusong-gu, Taejon, 305-350, KOREA Tel: (Office) +82-42-860-5801, (Cell) +82-19-226-6305 E-mail: kimch@etri.re.kr * All Smiles, Everywhere and Everytime ! =========================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message