From owner-freebsd-isp Mon Jun 17 2:28:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from balmung.jeje.org (none.jeje.org [212.129.62.129]) by hub.freebsd.org (Postfix) with ESMTP id BEDD537B40F for ; Mon, 17 Jun 2002 02:28:34 -0700 (PDT) Received: from sauron.eng.freesbee.net (jeje.eng.freesbee.net [212.129.2.30]) by balmung.jeje.org (Postfix) with ESMTP id 515A35B for ; Mon, 17 Jun 2002 11:28:16 +0200 (CEST) Date: Mon, 17 Jun 2002 11:28:28 +0200 From: Jeje To: freebsd-isp@freebsd.org Subject: Re: VLAN 802.1q Interface Message-ID: <714110000.1024306108@sauron.admin.in.none.net> In-Reply-To: <20020613101905.63ecf00f.colazelli@esnx.net> References: <20020613101905.63ecf00f.colazelli@esnx.net> X-Mailer: Mulberry/2.2.1 (SunOS/SPARC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As specified in man vlan, there can be MTU problems with some NIC drivers. Maybe you should try to change your network card to an fxp one, which is known to work very well in 802.1q environments (I did performance tests with it that were quite impressive) Jerome. --On Thursday, June 13, 2002 10:19:05 AM -0300 Wesley Colazelli Gentini wrote: > Hello for all, I implemented network with 3 cisco switchs conected by > trunk(802.1q) and a FreeBSD with one vlan interface for each vlan > connected to this switches. All is working fine, but I have problem to > send large emails to remote smtp servers, and I cant access secure pages. > The error is the same as (Broken Pipe). > > What can I do? I am with a big problem. 200 clients is connected to this > access point :( > > Thanks for any help! > > Wesley Colazelli Gentini > System Administrator > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message /jeje To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jun 17 2:58:46 2002 Delivered-To: freebsd-isp@freebsd.org Received: from web20105.mail.yahoo.com (web20105.mail.yahoo.com [216.136.226.42]) by hub.freebsd.org (Postfix) with SMTP id 7BB0B37B417 for ; Mon, 17 Jun 2002 02:58:44 -0700 (PDT) Message-ID: <20020617095844.9940.qmail@web20105.mail.yahoo.com> Received: from [193.227.212.161] by web20105.mail.yahoo.com via HTTP; Mon, 17 Jun 2002 11:58:44 CEST Date: Mon, 17 Jun 2002 11:58:44 +0200 (CEST) From: =?iso-8859-1?q?Fabrizio=20Ravazzini?= Subject: squid proxy on a natd machine ?? To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello all is it a problem to install squid proxy on a nat machine? We've installed a FreeBSD 4.5 machine used to connect a Lan to internet, we use natd daemon which "puts" all the internal traffic to the external interface. We also need a proxy for http requests, so we decided to install squid on the same machine,is it a good idea? or because of the natd the proxy isn't able to take care of the requests on port 80? Is it better to have the proxy on another machine between the Lan and the nat? Any help/ideas would be appreciated. thanks bye ______________________________________________________________________ Corri in negozio! Ti aspetta il CD originale Levi's Freedom to Move. Per saperne di pił: http://it.yahoo.com/mail_it/foot/?http://it.promotions.yahoo.com/levis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Jun 17 3:26:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from amor.yuckfou.org (f40079.upc-f.chello.nl [80.56.40.79]) by hub.freebsd.org (Postfix) with ESMTP id 619A237B400 for ; Mon, 17 Jun 2002 03:26:36 -0700 (PDT) Received: by amor.yuckfou.org (Yuckfou Networks, from userid 500) id D0CE6BA13; Mon, 17 Jun 2002 12:26:34 +0200 (CEST) Date: Mon, 17 Jun 2002 12:26:34 +0200 From: Nils Vogels To: freebsd-isp@freebsd.org Subject: Re: squid proxy on a natd machine ?? Message-ID: <20020617122634.G82652@amor.yuckfou.org> Reply-To: Nils Vogels Mail-Followup-To: freebsd-isp@freebsd.org References: <20020617095844.9940.qmail@web20105.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020617095844.9940.qmail@web20105.mail.yahoo.com>; from freefabri@yahoo.it on Mon, Jun 17, 2002 at 11:58:44AM +0200 Organization: Yuckfou Networks -- Internet with a smile! X-PGP-key: finger://nivo.pgpkey@yuckfou.org X-PGP-Fingerprint: B43C 1EFB 1DD3 4D7E 7D49 8036 401F BE41 C26B D15F X-Echelon-trap: Arafat, bomb, hezbollah, terrorist, gun, FBI, CIA, FCC, murder, kill X-Stardate: [-30]8627.16 X-Uptime: 12:24PM up 45 days, 8:37, 7 users, load averages: 1.04, 1.05, 1.03 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jun 17, 2002 at 11:58:44AM +0200, Fabrizio Ravazzini wrote: > Hello all is it a problem to install squid proxy on a > nat machine? > We've installed a FreeBSD 4.5 machine used to connect > a Lan to internet, we use natd daemon which "puts" all > the internal traffic to the external interface. > We also need a proxy for http requests, so we decided > to install squid on the same machine,is it a good > idea? or because of the natd the proxy isn't able to > take care of the requests on port 80? > Is it better to have the proxy on another machine > between the Lan and the nat? Squid will do just fine. You can achieve what you want to do in two ways: 1) Make the proxy available via a port redirect in the natd software 2) Enable transparent proxying (that way nobody escapes ;) For option 1; there are leads in the natd docs For option 2; You will have to enable transparent caching in squid while compiling and youll have to enable transparent caching in natd as well. All is documented. Gr, -- Nils Vogels PGP:0xC26BD15F Available on keyservers. S@H:4723WU/6.426yr --> setiathome.ssl.berkeley.edu. Will you find aliens? My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 4:39:18 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.86]) by hub.freebsd.org (Postfix) with ESMTP id D30A237B40C for ; Tue, 18 Jun 2002 04:39:15 -0700 (PDT) Received: from smtp-relay.mac.com (smtp-relay01-en1 [10.13.10.224]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g5IBdFST025561 for ; Tue, 18 Jun 2002 04:39:15 -0700 (PDT) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtp-relay.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g5IBdArE014183 for ; Tue, 18 Jun 2002 04:39:10 -0700 (PDT) Received: from localhost ([202.45.118.117]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id GXWGD800.S99 for ; Tue, 18 Jun 2002 04:39:08 -0700 Date: Tue, 18 Jun 2002 21:08:50 +0930 Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Bandwidth billing and measurement scripts From: Wincent Colaiuta To: freebsd-isp@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Can anybody provide me a pointer to some scripts for the purposes of measuring and billing bandwidth use on a server using ipfw? I've heard it suggested several times as an easy way to measure/bill traffic but I've yet to encounter any examples on the web of how to do it. I have started to put together some code to do it, but before I go any further I thought I'd ask for pointers. No point in reinventing the wheel... So far though, all my google searches for "bandwidth measurement billing scripts ipfw" have just ended up yielding a bunch of pages where people say, "yeah you should use ipfw for bandwidth measurement and billing! It's heaps easy and very effective!". If it turns out that there are no actual examples on the web I guess I'll just have to plough on with the coding and then perhaps publish my scripts myself! Cheers :-) Wincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 5:11:52 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.mipk-kspu.kharkov.ua (flash.mipk-kspu.kharkov.ua [194.44.157.113]) by hub.freebsd.org (Postfix) with ESMTP id 3B4DE37B407 for ; Tue, 18 Jun 2002 05:11:41 -0700 (PDT) Received: from mipk-kspu.kharkov.ua (rainbow.mipk-kspu.kharkov.ua [192.168.9.241]) by mail.mipk-kspu.kharkov.ua (8.12.3/8.11.1) with ESMTP id g5ICAHkE029811; Tue, 18 Jun 2002 15:10:18 +0300 (EEST) (envelope-from artem@mipk-kspu.kharkov.ua) Message-ID: <3D0F2327.FDF97290@mipk-kspu.kharkov.ua> Date: Tue, 18 Jun 2002 15:10:15 +0300 From: "Artyom V. Viklenko" Organization: IIAT NTU "KhPI" X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: ru,uk,en MIME-Version: 1.0 To: Wincent Colaiuta Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Wincent Colaiuta wrote: > > Hi > > Can anybody provide me a pointer to some scripts for the purposes of > measuring and billing bandwidth use on a server using ipfw? I've heard > it suggested several times as an easy way to measure/bill traffic but > I've yet to encounter any examples on the web of how to do it. > Here is some example from my external router. In order to count traffic amount on external interface to provider I place these rules: ipfw add 2000 count ip from any to any in recv ed1 ipfw add 2001 count ip from any to any out xmit ed1 'ipfw show 2000 && ipfw show 2001' produce this output: 02000 3226667 1630960688 count ip from any to any in recv ed1 02001 3127782 917406180 count ip from any to any out xmit ed1 Second and third fields are packet and byte counters. You can use them in any scripting language ( awk, perl, etc ) to make your billing actions. Unfortunately I drop thes scripts, and now I have sample script using SNMP. But concept is the same. The only one problem is that if you reboot your router all counters are zeroed. Tnus you have to write script which will be executed via cron regularly (say, every 10 minutes) and check current values, previous saved somevhere values and make desision what to do: a) if current value less than old value, there was a reboot in place and new delta is current value. b) else delta = current value - old value. Then add this delta to previously saved total counter. with 'ipfw zero xxx' you can reset counters (also from cron, for exaple, on midnight every first day of month). I use perl and hash arrays associated with dbm files to store all values for future reference. Hope this will be helpful as some starting point. :) -- Sincerely yours, Artyom V. Viklenko. ====================================================== System Administrator artem@mipk-kspu.kharkov.ua ------------------------------------------------------ IIAT NTU "KhPI" 21, Frunze Str., Kharkov Ukraine 61002 Phone: +380 (572) 400026 Fax: +380 (572) 474062 ====================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 5:16:28 2002 Delivered-To: freebsd-isp@freebsd.org Received: from web14703.mail.yahoo.com (web14703.mail.yahoo.com [216.136.224.120]) by hub.freebsd.org (Postfix) with SMTP id E60C537B40A for ; Tue, 18 Jun 2002 05:16:23 -0700 (PDT) Message-ID: <20020618121623.7359.qmail@web14703.mail.yahoo.com> Received: from [64.86.155.179] by web14703.mail.yahoo.com via HTTP; Tue, 18 Jun 2002 05:16:23 PDT Date: Tue, 18 Jun 2002 05:16:23 -0700 (PDT) From: Alhaji Mustapha Ahmend To: durrell@netcom.com, esr@snark.thyrsus.com, ford@interport.net, freebsd-isp@freebsd.org, freedman@netaxs.com, garyp@ceram.com, gherbert@crl.com, hqm@ai.mit.edu, info@bsdi.com, internet@porti.com, internet@portia.portia.com, jacko@onyx.xtalwind.net, jdd@aiki.demon.co.uk, jeff@delta.com, jerry@fc.net, jhk@freebsd.org, joe@ns.via.net, jsaker@synergy.net, karl@mcs.com, lam@imagi.net, lar@trib.com, listserv@ispc.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Sir, My name is Alhaji Abdulahi Mohammed. I am the head of credit and accounts department of FirstAtlantic Bank of Nigeria Ltd, Western District, Nigeria. I write you in respect of a foreign customer who has a Domicilliary accuont in my bank. His name is Engineer Joseph Schultzman. He was among those who died in a plane crash here in Nigeria during the reign of late General Sani Abacha. Sir, since the demise of this our customer, Engineer Joseph Schultzman, who was an oil merchant/contractor, I have kept a close watch of the deposit records and accounts and since then nobody has come to claim the money in this a/c as next of kin to the late Engineer. He had only thirty seven million united states dollars($37,000,000.00) in his a/c and the a/c is coded. It is only an insider that could produce the code or password of the deposit particulars. As it stands now, there is nobody in that position to produce the needed information other than my very self considering my position in the bank. Based on the reason that nobody has come forward to claim the deposit as next of kin, I hereby ask for your co operation in using your name as the next of kin to the deceased to send these funds out to a foreign offshore bank a/c for mutual sharing between myself and you. At this point I am the only one with the information because I have removed the deposit file from the safe . By this doing, what is required of you is to send an application laying claims of the deposit as next of kin to the late Engineer. I will need your full name and address, company orresidential, so that i can computerize them to tally with next of kin column in the certificate of deposit. Finally i want you to understand that the request for a foreigner as the next of kin is occassioned by the fact that the customer was a foreigner and for that reason alone a local cannot represent as next of kin. When you contact me, then we shall discuss on how the money will be split between us. Trusting to hear from you, I remain Respectfully yours, Alhaji Abdulahi Mohammed transworld@cyberspace.net.ng __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 5:27:30 2002 Delivered-To: freebsd-isp@freebsd.org Received: from favour.one2net.co.ug (g-class.sanyutel.com [216.250.215.27]) by hub.freebsd.org (Postfix) with ESMTP id 01C8E37B408 for ; Tue, 18 Jun 2002 05:27:25 -0700 (PDT) Received: from localhost (localhost.one2net.co.ug [127.0.0.1]) by favour.one2net.co.ug (Postfix) with ESMTP id D7DF454833; Tue, 18 Jun 2002 15:27:39 +0300 (EAT) Date: Tue, 18 Jun 2002 15:27:39 +0300 (EAT) From: Noah K Sematimba X-X-Sender: ksemat@favour.one2net.co.ug To: jim Cc: freebsd-isp@freebsd.org Subject: Re: time accounting In-Reply-To: Message-ID: <20020618152720.X19734-100000@favour.one2net.co.ug> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org have you tried looking around http://www.freshmeat.net Noah. On Sat, 15 Jun 2002, jim wrote: > This isn't a FreeBSD question, but I am sure I'm not the only one with > this problem. Does anyone know of something that can be used to keep > track of consulting time? Something that could keep track of client > names, started, stopped easily while on the phone? I thought it would be > worth a shot before I whip out some sort of script. > > Thanks for you indulgence, > > -- > Jim Weeks > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 7:27:14 2002 Delivered-To: freebsd-isp@freebsd.org Received: from aurora.siteplus.com (aurora.siteplus.com [66.129.2.160]) by hub.freebsd.org (Postfix) with ESMTP id 4733537B407 for ; Tue, 18 Jun 2002 07:27:07 -0700 (PDT) Received: from host-216-78-5-83.jan.bellsouth.net (host-216-78-5-83.jan.bellsouth.net [216.78.5.83]) by aurora.siteplus.com (8.9.3/8.9.3) with ESMTP id KAA85506; Tue, 18 Jun 2002 10:26:27 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Tue, 18 Jun 2002 10:26:21 -0400 (EDT) From: jim To: Noah K Sematimba Cc: freebsd-isp@freebsd.org Subject: Re: time accounting In-Reply-To: <20020618152720.X19734-100000@favour.one2net.co.ug> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Noah, Thanks for your reply, and yes I did look there and didn't find anything. I finally found gtimer in the ports tree, of all things :/ , and it is perfect for the job. -- Jim Weeks On Tue, 18 Jun 2002, Noah K Sematimba wrote: > > have you tried looking around http://www.freshmeat.net > > Noah. > > On Sat, 15 Jun 2002, jim wrote: > > > This isn't a FreeBSD question, but I am sure I'm not the only one with > > this problem. Does anyone know of something that can be used to keep > > track of consulting time? Something that could keep track of client > > names, started, stopped easily while on the phone? I thought it would be > > worth a shot before I whip out some sort of script. > > > > Thanks for you indulgence, > > > > -- > > Jim Weeks > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 8:19:58 2002 Delivered-To: freebsd-isp@freebsd.org Received: from daemon.kr.FreeBSD.org (daemon.kr.freebsd.org [211.176.62.31]) by hub.freebsd.org (Postfix) with ESMTP id 892B937B406 for ; Tue, 18 Jun 2002 08:19:49 -0700 (PDT) Received: from gradius.wdb.co.kr (daemon [211.176.62.31]) by daemon.kr.FreeBSD.org (Postfix) with ESMTP id 525CF8F633 for ; Wed, 19 Jun 2002 00:19:49 +0900 (KST) Received: from localhost (localhost [127.0.0.1]) by gradius.wdb.co.kr (8.12.3/8.12.3) with ESMTP id g5I7Vgii037515 for ; Tue, 18 Jun 2002 16:31:43 +0900 (KST) (envelope-from cjh@kr.FreeBSD.org) Date: Tue, 18 Jun 2002 16:31:42 +0900 (KST) Message-Id: <20020618.163142.98892204.cjh@kr.FreeBSD.org> To: freebsd-isp@freebsd.org Subject: Intel PRO/1000 problem with 4.5R From: CHOI Junho Organization: Korea FreeBSD Users Gruop X-URL: http://www.kr.FreeBSD.org/~cjh X-Mailer: Mew version 3.0.55 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, (I posted this on -net but no response, and some more info added...) I am maintaining two large-volume HTTP server. It is with one em0 gigabit NIC, and running apache(or thttpd) for users to download relatively big(>200k) files. I started this service using 4.5R. The server is Pentium III 1G, 1G RAM, 36G SCSI HDD). Server load was very high(>50) but I heard it's characteristic of apache server and I decided to upgrade to recent system and use thttpd instead of apache. When I tried to use thttpd, it shows the load under 1(wow!). 2 days ago I updated the system to 4.6-RELEASE. Whether or not using apache or thttpd, under some traffic(about >200Mbit/sec), it shows "watchdog timeout" repeatedly: Jun 16 11:36:18 gigatest /kernel: em0: Link is Down Jun 16 11:36:18 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:40:49 gigatest /kernel: em0: watchdog timeout -- resetting Jun 16 11:40:51 gigatest /kernel: em0: Link is Down Jun 16 11:40:51 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:40:51 gigatest /kernel: em0: Link is Down Jun 16 11:40:51 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:44:23 gigatest /kernel: em0: watchdog timeout -- resetting Jun 16 11:44:24 gigatest /kernel: em0: Link is Down Jun 16 11:44:24 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:50:28 gigatest /kernel: em0: watchdog timeout -- resetting Jun 16 11:50:29 gigatest /kernel: em0: Link is Down Jun 16 11:50:29 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:50:30 gigatest /kernel: em0: Link is Down Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex Jun 16 11:50:30 gigatest /kernel: em0: Link is Down Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps FullDuplex Jun 16 11:50:30 gigatest /kernel: em0: Link is Down Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex I updated em0 driver to 1.3.8 from Intel webpage, but it no helps. After that day, I downgraded the system to 4.5R-p6. It still has a problem. Here is my sysctl.conf: kern.ipc.maxsockbuf=20480000 kern.ipc.somaxconn=8192 kern.ipc.maxsockets=60000 kern.maxfiles=65536 kern.maxfilesperproc=32768 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=16384 net.inet.udp.recvspace=16384 net.inet.udp.maxdgram=57344 net.local.stream.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.tcp.msl=1000 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=1 net.inet.ip.redirect=0 net.inet6.ip6.redirect=0 net.link.ether.inet.max_age=1200 net.inet.ip.sourceroute=0 net.inet.ip.accept_sourceroute=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 and /boot/loader.conf.local: kern.ipc.nmbclusters="131072" accf_http_load="YES -- +++ Any opinions in this posting are my own and not those of my employers +++ CHOI Junho [sleeping now] [while sleeping] Korea FreeBSD Users Group Web Data Bank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 12:47:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from arnold.neland.dk (0x3ef34d96.albnxx2.adsl.tele.dk [62.243.77.150]) by hub.freebsd.org (Postfix) with ESMTP id 282CF37B404 for ; Tue, 18 Jun 2002 12:47:30 -0700 (PDT) Received: from gina ([192.168.5.109]) by arnold.neland.dk (8.12.2/8.12.2) with SMTP id g5IJlPG8068339; Tue, 18 Jun 2002 21:47:26 +0200 (CEST) (envelope-from leifn@neland.dk) Message-ID: <04a001c21701$00386fe0$6d05a8c0@neland.dk> From: "Leif Neland" To: "Fabrizio Ravazzini" , References: <20020617095844.9940.qmail@web20105.mail.yahoo.com> Subject: Re: squid proxy on a natd machine ?? Date: Tue, 18 Jun 2002 21:47:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----- Original Message ----- From: "Fabrizio Ravazzini" To: Sent: Monday, June 17, 2002 11:58 AM Subject: squid proxy on a natd machine ?? > Hello all is it a problem to install squid proxy on a > nat machine? I've done it on several linux-boxes without problems. I see no reason why it should be different on FreeBSD Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 13:52:43 2002 Delivered-To: freebsd-isp@freebsd.org Received: from obsidian.sentex.ca (obsidian.sentex.ca [64.7.128.101]) by hub.freebsd.org (Postfix) with ESMTP id 4FE1C37B401; Tue, 18 Jun 2002 13:52:35 -0700 (PDT) Received: from simian.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by obsidian.sentex.ca (8.12.2/8.12.2) with ESMTP id g5IKqW7U081735; Tue, 18 Jun 2002 16:52:33 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20020618163928.05018cf0@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 18 Jun 2002 16:54:49 -0400 To: freebsd-net@FreeBSD.ORG From: Mike Tancsa Subject: tracking down strange MTU issues with PPPoE) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (obsidian/20020220) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The DSL whole supplier we use (Bell Canada) has been turfing their Redback SMSes and moving to an ERX from unisphere networks. With the Redback, all was great... I had a FreeBSD box acting as a NAT gateway for a number of Windows boxes and all was great. Then, the customer got moved over to one of these ERXes and there is now some strange MTU problem. Couple of things. Supposedly the default MTU on the ERX is 1472 (or 1452) depending on who you talk to and not 1492. e.g. when doing a fetch to >> lynx2.8.4rel.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://lynx.isc.org/current/. Receiving lynx2.8.4rel.1.tar.bz2 (1940531 bytes): 0%^C 16682 bytes transferred in 89.5 seconds (186.41 Bps) fetch: transfer interrupted Notice the speed... Its totally brutal. yet, a transfer from just a few hops away is fine. My question is, how can I track this problem down ? There seems to be some strange interaction with FreeBSD because if I put a Windows box on the other end, it does not suffer from this same problem. I can easily repeat the problem, but the question is, how can I track down the issue and then explain it to my telco. (Note, I have tried various MTU and MRU settings. Thanks for any pointers. 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jun 18 default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) pppoe: set device PPPoE:fxp1 #set mtu 1452 #set mru 1452 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 disable deflate pred1 mppe deny deflate pred1 mppe set authname user@example.com set authkey thepassword set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 16: 4:21 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id 4D52937B40B for ; Tue, 18 Jun 2002 16:04:06 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5IN2SR05676 for freebsd-isp@FreeBSD.ORG; Wed, 19 Jun 2002 00:02:28 +0100 (BST) (envelope-from munk) Date: Wed, 19 Jun 2002 00:02:27 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020619000227.A5671@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <3D0F2327.FDF97290@mipk-kspu.kharkov.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D0F2327.FDF97290@mipk-kspu.kharkov.ua>; from artem@mipk-kspu.kharkov.ua on Tue, Jun 18, 2002 at 03:10:15PM +0300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 18, 2002 at 03:10:15PM +0300, Artyom V. Viklenko wrote: > Here is some example from my external router. > In order to count traffic amount on external interface to provider > I place these rules: > > ipfw add 2000 count ip from any to any in recv ed1 > ipfw add 2001 count ip from any to any out xmit ed1 > > 'ipfw show 2000 && ipfw show 2001' produce this output: > > 02000 3226667 1630960688 count ip from any to any in recv ed1 > 02001 3127782 917406180 count ip from any to any out xmit ed1 > > Second and third fields are packet and byte counters. > You can use them in any scripting language ( awk, perl, etc ) > to make your billing actions. How would you determine how much bandwidth has been used by users accessing an individual domain a name-based vhosting apache configuration (ie in the case using ipfw to log traffic is not possible on a one-domain-one-ip basis). TIA -- Nobody ever got fired for choosing Microsoft, but Nobody ever looked stupid for choosing FreeBSD... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 16:59:41 2002 Delivered-To: freebsd-isp@freebsd.org Received: from router.drapple.com (12-225-1-20.client.attbi.com [12.225.1.20]) by hub.freebsd.org (Postfix) with ESMTP id C846637B410 for ; Tue, 18 Jun 2002 16:59:36 -0700 (PDT) Received: from work.drapple.com (work [192.168.1.10]) by router.drapple.com (8.9.3/8.9.3) with ESMTP id RAA02311; Tue, 18 Jun 2002 17:00:19 -0700 (PDT) (envelope-from mark@work.drapple.com) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020619000227.A5671@munkboxen.mine.nu> Date: Tue, 18 Jun 2002 16:59:32 -0700 (PDT) From: Mark Hartley To: Jez Hancock Subject: Re: Bandwidth billing and measurement scripts Cc: freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 18-Jun-02 Jez Hancock wrote: > On Tue, Jun 18, 2002 at 03:10:15PM +0300, Artyom V. Viklenko wrote: >> Here is some example from my external router. >> In order to count traffic amount on external interface to provider >> I place these rules: >> >> ipfw add 2000 count ip from any to any in recv ed1 >> ipfw add 2001 count ip from any to any out xmit ed1 >> >> 'ipfw show 2000 && ipfw show 2001' produce this output: >> >> 02000 3226667 1630960688 count ip from any to any in recv ed1 >> 02001 3127782 917406180 count ip from any to any out xmit ed1 >> >> Second and third fields are packet and byte counters. >> You can use them in any scripting language ( awk, perl, etc ) >> to make your billing actions. > > How would you determine how much bandwidth has been used by users > accessing an individual domain a name-based > vhosting apache configuration (ie in the case using ipfw to log traffic is > not possible on a one-domain-one-ip basis). > > TIA I have been using analog (/usr/ports/www/analog) to analyze the apache logfiles in this instance. It isn't 100% accurate due to headers & such, but analog does give you some reasonably close transfer numbers you can work with. Add to that your analysis of your ftp transfer logs (for their uploading stuff to their site), and your analysis (/usr/ports/mail/sma) of the sendmail logs, you can get a reasonable number for each client. I'm doing this, but I do not have it all scripted (yet). I also don't have a really good ftp log analysis app. (any suggestions?) Mark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 18:51:53 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id 3320037B405 for ; Tue, 18 Jun 2002 18:51:47 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5J1oAL05924 for freebsd-isp@FreeBSD.ORG; Wed, 19 Jun 2002 02:50:10 +0100 (BST) (envelope-from munk) Date: Wed, 19 Jun 2002 02:50:10 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020619025009.A5801@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020619000227.A5671@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mark@work.drapple.com on Tue, Jun 18, 2002 at 04:59:32PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 18, 2002 at 04:59:32PM -0700, Mark Hartley wrote: > I have been using analog (/usr/ports/www/analog) to analyze the apache logfiles > in this instance. It isn't 100% accurate due to headers & such, but analog does > give you some reasonably close transfer numbers you can work with. Add to that > your analysis of your ftp transfer logs (for their uploading stuff to their > site), and your analysis (/usr/ports/mail/sma) of the sendmail logs, you can get > a reasonable number for each client. I'm doing this, but I do not have it all > scripted (yet). I also don't have a really good ftp log analysis app. (any > suggestions?) I had heard that this was the standard way of proceeding and was quite amazed there exists no (de-facto) utility to capture bandwidth consumption details for a name based web server other than analog et al. I seem to remember someone mentioning once that a possible way of proceeding would be to capture the bandwidth stats at the router/border machine, however obviously this would require that the router was capable of doing such logging based on fully qualified domain names and not IP addresses. No doubt a utility exists... if not, thank the lord Larry Wall gave us Perl :) -- Favourite pickup line: Hey baby, wanna synchronize sequence numbers? Warning: not always effective To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 21: 5: 7 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.mipk-kspu.kharkov.ua (flash.mipk-kspu.kharkov.ua [194.44.157.113]) by hub.freebsd.org (Postfix) with ESMTP id 4B2DC37B405 for ; Tue, 18 Jun 2002 21:04:58 -0700 (PDT) Received: from flash.mipk-kspu.kharkov.ua (flash.mipk-kspu.kharkov.ua [194.44.157.113]) by mail.mipk-kspu.kharkov.ua (8.12.3/8.11.1) with ESMTP id g5J429kF042435; Wed, 19 Jun 2002 07:02:12 +0300 (EEST) (envelope-from artem@mipk-kspu.kharkov.ua) Date: Wed, 19 Jun 2002 07:02:09 +0300 (EEST) From: "Artyom V. Viklenko" To: Jez Hancock Cc: Subject: Re: Bandwidth billing and measurement scripts In-Reply-To: <20020619000227.A5671@munkboxen.mine.nu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 19 Jun 2002, Jez Hancock wrote: > > How would you determine how much bandwidth has been used by users > accessing an individual domain a name-based > vhosting apache configuration (ie in the case using ipfw to log traffic is not possible > on a one-domain-one-ip basis). There is no possibility for ipfw to understood name-based virtual hosting! It is in a different (application) layer, while ipfw work solely with ip pakets - network layer. To monitor usage of my web servers I use webaliser. Each virtual web server logs its activity in separate files and then webaliser can process tem. -- Sincerely yours, Artyom V. Viklenko. ====================================================== System Administrator artem@mipk-kspu.kharkov.ua ------------------------------------------------------ IIAT NTU "KhPI" 21, Frunze Str., Kharkov Ukraine 61002 Phone: +380 (572) 400026 Fax: +380 (572) 474062 ====================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 21: 8:10 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id 6BAE737B40D for ; Tue, 18 Jun 2002 21:08:04 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5J46Tf07758 for freebsd-isp@FreeBSD.ORG; Wed, 19 Jun 2002 05:06:29 +0100 (BST) (envelope-from munk) Date: Wed, 19 Jun 2002 05:06:29 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020619050629.A7749@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020619000227.A5671@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from artem@mipk-kspu.kharkov.ua on Wed, Jun 19, 2002 at 07:02:09AM +0300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 19, 2002 at 07:02:09AM +0300, Artyom V. Viklenko wrote: > There is no possibility for ipfw to understood name-based virtual hosting! > It is in a different (application) layer, while ipfw work > solely with ip pakets - network layer. > > To monitor usage of my web servers I use webaliser. Each virtual web > server logs its activity in separate files and then webaliser can > process tem. Cheers Artyom... just curious, had thought that was the case, just after verification. -- Nobody ever got fired for choosing Microsoft, but Nobody ever looked stupid for choosing FreeBSD... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Jun 18 22:43:18 2002 Delivered-To: freebsd-isp@freebsd.org Received: from buck.Hughes.com.au (ns1.Hughes.com.au [203.16.25.1]) by hub.freebsd.org (Postfix) with ESMTP id A367137B406 for ; Tue, 18 Jun 2002 22:43:13 -0700 (PDT) Received: from Fawn (szpp-p-144-139-27-206.prem.tmns.net.au [144.139.27.206]) by buck.Hughes.com.au (8.12.1/8.11.1) with SMTP id g5J5f7Bq002686 for ; Wed, 19 Jun 2002 15:41:10 +1000 (EST) (envelope-from bambi@Hughes.com.au) From: "David J. Hughes" To: Subject: RE: Bandwidth billing and measurement scripts Date: Wed, 19 Jun 2002 15:40:32 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20020619000227.A5671@munkboxen.mine.nu> Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > How would you determine how much bandwidth has been used by users > accessing an individual domain a name-based > vhosting apache configuration (ie in the case using ipfw to log > traffic is not possible > on a one-domain-one-ip basis). If you really need to do this for true volume numbers (rather than just the info you can glean from the log files) you could run a proxy in front of your web server(s) (i.e. a reverse proxy, or distributor, or whatever your terminology dictates) and assign each virtual host a distinct private IP address. In effect you allow the proxy box to act as an HTTP 1.1 to HTTP 1.0 gateway. Do your traffic accounting based on the private IP's (using ipfw on the proxy box or whatever method you choose) and your problem is solved. I'm not saying I'd do it but it would give you what you are looking for (i.e. real IP accounting on 1.1 virtual hosts). For other traffic accounting tasks, I have a simple but effective package available called TraffAcct. It's SNMP based and handles your usual interface oriented connections, Cisco ISDN connections, and Cisco IP accounting based data collection. It also includes a template driven web interface for user access, and a generic report writer that can generate text based reports in whatever format you want (for importing into your billing system). It's been running at various places for several years and is stable enough to handle your billing etc. It's GPLed, it's freely available, and it's in use at quite a few Australian ISPs. If you are interested you can find out more from www.Hughes.com.au. Remember though that YMMV and you get what you pay for ;) Bambi ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 0:56:39 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smidge.enta.net (smidge.enta.net [195.74.96.108]) by hub.freebsd.org (Postfix) with ESMTP id 659C337B43E for ; Wed, 19 Jun 2002 00:56:18 -0700 (PDT) Received: from steve2 (steve2.enta.net [195.74.96.98]) by smidge.enta.net (8.11.6/8.11.6) with SMTP id g5J7tSc40470 for ; Wed, 19 Jun 2002 08:55:29 +0100 (BST) (envelope-from steve@enta.net) Message-ID: <006201c21766$ca492710$62604ac3@steve2> From: "Steve Lalonde" To: References: <3D0F2327.FDF97290@mipk-kspu.kharkov.ua> <20020619000227.A5671@munkboxen.mine.nu> Subject: Re: Bandwidth billing and measurement scripts Date: Wed, 19 Jun 2002 08:56:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org We are using mod_log_mysql and a simple script to get the bytes transfered you need a fast DB server but i have this working for over 10,000,000 hits a day. Steve Lalonde Chief Technical Officer Entanet International Ltd http://www.enta.net/ *********************************************************************** IMPORTANT: DISCLAIMER NOTICE This email (and any attachment thereto) is confidential, and may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and notify the sender. Any views expressed in this e-mail are those of the individual sender, not those of the company unless endorsed by a Director of Entanet International Ltd. *********************************************************************** ----- Original Message ----- From: "Jez Hancock" To: Sent: Wednesday, June 19, 2002 12:02 AM Subject: Re: Bandwidth billing and measurement scripts > On Tue, Jun 18, 2002 at 03:10:15PM +0300, Artyom V. Viklenko wrote: > > Here is some example from my external router. > > In order to count traffic amount on external interface to provider > > I place these rules: > > > > ipfw add 2000 count ip from any to any in recv ed1 > > ipfw add 2001 count ip from any to any out xmit ed1 > > > > 'ipfw show 2000 && ipfw show 2001' produce this output: > > > > 02000 3226667 1630960688 count ip from any to any in recv ed1 > > 02001 3127782 917406180 count ip from any to any out xmit ed1 > > > > Second and third fields are packet and byte counters. > > You can use them in any scripting language ( awk, perl, etc ) > > to make your billing actions. > > How would you determine how much bandwidth has been used by users > accessing an individual domain a name-based > vhosting apache configuration (ie in the case using ipfw to log traffic is not possible > on a one-domain-one-ip basis). > > TIA > -- > Nobody ever got fired for choosing Microsoft, > but Nobody ever looked stupid for choosing FreeBSD... > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 2: 6: 6 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id BAF5737B406 for ; Wed, 19 Jun 2002 02:05:48 -0700 (PDT) Received: from fwd01.sul.t-online.de by mailout08.sul.t-online.com with smtp id 17KbPO-0006N8-03; Wed, 19 Jun 2002 11:05:46 +0200 Received: from Turing.picht.org (320017162287-0001@[217.84.181.188]) by fmrl01.sul.t-online.com with esmtp id 17KbP9-0jEXo0C; Wed, 19 Jun 2002 11:05:31 +0200 Received: from Turing.picht.org (localhost.picht.org [127.0.0.1]) by Turing.picht.org (8.12.4/8.12.4/Debian-2) with ESMTP id g5J94jiK015011 for ; Wed, 19 Jun 2002 11:04:45 +0200 Received: (from hans@localhost) by Turing.picht.org (8.12.4/8.12.4/Debian-2) id g5J94jrF015009 for freebsd-isp@FreeBSD.ORG; Wed, 19 Jun 2002 11:04:45 +0200 Date: Wed, 19 Jun 2002 11:04:45 +0200 From: Hans-Joachim Picht To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020619090445.GE14811@lnxce.net> References: <20020619000227.A5671@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: LNXCE Linux-Consulting-Europe GbR X-Sender: 320017162287-0001@t-dialin.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 18, 2002 at 04:59:32PM -0700, Mark Hartley wrote: > I also don't have a really good ftp log analysis app. (any > suggestions?) We use proftpd and use webalizer to generate ftp logs. With best regards Hans -- Work: Consultant with Linux Consulting Europe http://www.lnxce.net Vogelhecke 2 D - 35447 Reiskirchen Tel: +491751629201 Fax: +49640862649 Germany Private: hans@picht.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 5:10:55 2002 Delivered-To: freebsd-isp@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id DCAE437B40F for ; Wed, 19 Jun 2002 05:10:36 -0700 (PDT) Received: from ocsinternet.com ([10.0.0.140]) by ra.upan.org (8.12.3/8.11.6) with ESMTP id g5JCASEZ057576; Wed, 19 Jun 2002 08:10:34 -0400 (EDT) (envelope-from mikel@ocsinternet.com) Message-ID: <3D1082C4.7060506@ocsinternet.com> Date: Wed, 19 Jun 2002 08:10:28 -0500 From: Mikel King User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Noah K Sematimba Cc: Edward Shabotinsky , freebsd-isp@FreeBSD.ORG Subject: Re: Please recommend Web based email port References: <20020603111047.C2936-100000@favour.one2net.co.ug> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Noah K Sematimba wrote: > > >>You can try openwebmail >>http://turtle.ee.ncku.edu.tw/openwebmail/ >>very nice and have a lots of pluggins >> >> > >don't knwo about any plugins... also it does not support Maildir/ format >and when I last checked does not use pop3 or imap... i.e. seems to require >the interface to be on the same machiena s the mail server itself. > >Noah. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > > Check into http://www.phpgroupware.org/ It's stupid easy to install for the most part. and comes bundled with a whole host of feature that I haven't seen anywhere else. I use it with apache1.3, MySql & php4, but you can easily deploy it on postgres, or ldap... For IMAP I use uw, but you can use curier it really doesn't care. I can certainly see why they are calling it the exchange killer...In any event they have a couple of demo sites up so you should prabaly give it a test drive. -- Cheers, Mikel +------------------------------------------+ Ok I'll go fsck my brain for a while as it's been a rather long night. +------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 5:27:43 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.89]) by hub.freebsd.org (Postfix) with ESMTP id 7D8D237B408 for ; Wed, 19 Jun 2002 05:27:33 -0700 (PDT) Received: from smtp-relay.mac.com (smtp-relay01-en1 [10.13.10.224]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g5JCRWkv013472 for ; Wed, 19 Jun 2002 05:27:32 -0700 (PDT) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtp-relay.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g5JCRQrE012464 for ; Wed, 19 Jun 2002 05:27:27 -0700 (PDT) Received: from localhost ([202.45.118.117]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id GXYD9P00.M5G for ; Wed, 19 Jun 2002 05:27:25 -0700 Date: Wed, 19 Jun 2002 21:57:04 +0930 Subject: Re: Bandwidth billing and measurement scripts Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Wincent Colaiuta To: freebsd-isp@FreeBSD.ORG Content-Transfer-Encoding: quoted-printable In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org El Wednesday, 19 June, 2002, a las 03:10 PM, David J. Hughes escribi=F3: > If you really need to do this for true volume numbers (rather than = just=20 > the > info you can glean from the log files) you could run a proxy in front = of > your web server(s) (i.e. a reverse proxy, or distributor, or whatever=20= > your > terminology dictates) and assign each virtual host a distinct private = IP > address. In effect you allow the proxy box to act as an HTTP 1.1 to=20= > HTTP > 1.0 gateway. Do your traffic accounting based on the private IP's=20 > (using > ipfw on the proxy box or whatever method you choose) and your problem = is > solved. I'm not saying I'd do it but it would give you what you are=20 > looking > for (i.e. real IP accounting on 1.1 virtual hosts). Thankyou David (and others on this list) for the helpful responses. So=20= far no one has given me exactly what I was after, and after a thorough=20= search of freshmeat.net it is looking as though I will end up coding=20 this thing myself. Because I want this thing to be stable, robust, and dependable enough to=20= use as a reliable platform for billing, a design goal would be to build=20= it out of simple, well-tested tools that are already present in a=20 standard FreeBSD install. So we're talking here a collection of Perl and=20= Bourne shell scripts interacting with ipfw and using dbm and perhaps=20 some flat files for data storage, all driven by cron. What I'd like it to do: - run as an hourly cron job - count incoming and outgoing bandwidth user per IP based on ipfw=20 "count" rules - this should give a totally accurate traffic count=20 without the need to resort to parsing mail, http and ftp logs (which=20 could get very messy) - measure % of traffic accounted for http, ftp, mail and "other" (an=20 interesting statistic, but not really a useful one, seeing as in the end=20= the customer has to pay for it all anyway) - save ipfw output to disc for safe keeping - update usage totals per customer in the dbm database: daily and=20 monthly totals - when customer hits bandwidth quota for the month, send a warning email - when customer exceeds bandwidth quota by 25% or more, account=20 temporarily suspended (browser redirected to an explanatory page using=20= mod_rewrite), send customer notification email - generate simple HTML pages showing usage - provide an easy mechanism for adding/removing hosts/customers to/from=20= the accounting system - able to administer from the shell or from a web-interface We choose to implement these last couple of somewhat draconian measures=20= because here in Australia bandwidth is not cheap (about 20c/meg,=20 incoming). We want to avoid any ugly situations where a customer manages=20= to get slashdotted (or whatever) and finds themself with a horrid=20 bandwidth bill (remember, here in Australia, bandwidth will cost them=20 about $200/gig thanks to our monopoly telecommunications supplier,=20 Telstra). We figure it's better to temporarily suspend the off account=20= here and there than to have customers running up large bills that they=20= later refuse to pay (or whatever). If they are pushing out so much data=20= that they exceed their quote then they should be on a higher-volume=20 plan, or host their site in the US... In any case, any further suggestions appreciated, but will send to the=20= list a link to whatever I end up devising. Cheers Wincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 7:55: 0 2002 Delivered-To: freebsd-isp@freebsd.org Received: from office.advantage-interactive.com (host217-37-74-237.in-addr.btopenworld.com [217.37.74.237]) by hub.freebsd.org (Postfix) with ESMTP id 2D7F237B406 for ; Wed, 19 Jun 2002 07:54:51 -0700 (PDT) Received: from [192.168.254.128] (helo=[192.168.254.128]) by office.advantage-interactive.com with esmtp (Exim 3.36 #1) id 17KgrB-0000jD-00 for freebsd-isp@freebsd.org; Wed, 19 Jun 2002 15:54:49 +0100 Subject: Chilisoft ASP and FreeBSD From: Simon Dick To: freebsd-isp@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 19 Jun 2002 15:54:50 +0100 Message-Id: <1024498490.3363.4.camel@linux> Mime-Version: 1.0 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone had any luck getting Chilisoft ASP working under FreeBSD? If so, any tips would be gratefully accepted :) Thanks! -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 20:57:57 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id BE4C137B401 for ; Wed, 19 Jun 2002 20:57:51 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5K3uR310391 for freebsd-isp@FreeBSD.ORG; Thu, 20 Jun 2002 04:56:27 +0100 (BST) (envelope-from munk) Date: Thu, 20 Jun 2002 04:56:27 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020620045627.A10386@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020619000227.A5671@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from bambi@Hughes.com.au on Wed, Jun 19, 2002 at 03:40:32PM +1000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Urgh... just found this postponed mail!: On Wed, Jun 19, 2002 at 03:40:32PM +1000, David J. Hughes wrote: > > If you really need to do this for true volume numbers (rather than just the > info you can glean from the log files) you could run a proxy in front of > your web server(s) (i.e. a reverse proxy, or distributor, or whatever your > terminology dictates) and assign each virtual host a distinct private IP > address. In effect you allow the proxy box to act as an HTTP 1.1 to HTTP > 1.0 gateway. Do your traffic accounting based on the private IP's (using > ipfw on the proxy box or whatever method you choose) and your problem is > solved. I'm not saying I'd do it but it would give you what you are looking > for (i.e. real IP accounting on 1.1 virtual hosts). This sounds very ingenious ;) > For other traffic accounting tasks, I have a simple but effective package > available called TraffAcct. It's SNMP based and handles your usual > interface oriented connections, Cisco ISDN connections, and Cisco IP > accounting based data collection. It also includes a template driven web > interface for user access, and a generic report writer that can generate > text based reports in whatever format you want (for importing into your > billing system). It's been running at various places for several years and > is stable enough to handle your billing etc. And this sounds like the solution I was (read 'would be') after personally. > > It's GPLed, it's freely available, and it's in use at quite a few Australian > ISPs. If you are interested you can find out more from www.Hughes.com.au. > Remember though that YMMV and you get what you pay for ;) Looks interesting! Will take a closer look tomorrow, rather late right now although from the brief scan of your blurb this sounds ideal. Many thanks. Out of interest is it in the latest ports collection for fbsd? I had a quick grep of /usr/ports/INDEX but couldn't find reference to your application. Cheers, Jez To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 21:48:50 2002 Delivered-To: freebsd-isp@freebsd.org Received: from buck.Hughes.com.au (ns1.Hughes.com.au [203.16.25.1]) by hub.freebsd.org (Postfix) with ESMTP id 2DAA337B403 for ; Wed, 19 Jun 2002 21:48:44 -0700 (PDT) Received: from Fawn (szpp-p-144-139-27-163.prem.tmns.net.au [144.139.27.163]) by buck.Hughes.com.au (8.12.1/8.11.1) with SMTP id g5K4keBq012016; Thu, 20 Jun 2002 14:46:42 +1000 (EST) (envelope-from bambi@Hughes.com.au) From: "David J. Hughes" To: "Jez Hancock" , Subject: RE: Bandwidth billing and measurement scripts Date: Thu, 20 Jun 2002 14:46:07 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20020620045627.A10386@munkboxen.mine.nu> Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > It's GPLed, it's freely available, and it's in use at quite a few > > Australian ISPs. If you are interested you can find out more from > > www.Hughes.com.au. Remember though that YMMV and you get what you > > pay for ;) > > > Out of interest is it in the latest ports collection for fbsd? I had a > quick grep of /usr/ports/INDEX but couldn't find reference to your > application. Nope, it's not in the ports collection. I'll have a look at what it would take to put together a port of it and the tools it uses. The main app, TraffAcct, is web based and needs Apache to be installed. It's hard to determine where you may have setup your web document tree so an automated install may be a problem. Bambi ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 21:56:56 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id D42C337B432 for ; Wed, 19 Jun 2002 21:56:45 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5K4tO810608 for freebsd-isp@FreeBSD.ORG; Thu, 20 Jun 2002 05:55:24 +0100 (BST) (envelope-from munk) Date: Thu, 20 Jun 2002 05:55:24 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020620055523.B10576@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020620045627.A10386@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from bambi@Hughes.com.au on Thu, Jun 20, 2002 at 02:46:07PM +1000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 20, 2002 at 02:46:07PM +1000, David J. Hughes wrote: > Nope, it's not in the ports collection. I'll have a look at what it would > take to put together a port of it and the tools it uses. The main app, > TraffAcct, is web based and needs Apache to be installed. It's hard to > determine where you may have setup your web document tree so an automated > install may be a problem. Sure, no problem, just wondering if I'd missed it somehow :) Thanx again, Jez -- Nobody ever got fired for choosing Microsoft, but Nobody ever looked stupid for choosing Linux... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jun 19 23:40:36 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2B3BD37B404 for ; Wed, 19 Jun 2002 23:40:32 -0700 (PDT) Received: from hades.hell.gr (patr530-b219.otenet.gr [212.205.244.227]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5K6ePqK003153; Thu, 20 Jun 2002 09:40:26 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5K6eNdv069950; Thu, 20 Jun 2002 09:40:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5K6eL50069949; Thu, 20 Jun 2002 09:40:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 20 Jun 2002 09:40:21 +0300 From: Giorgos Keramidas To: Ryan Thompson Cc: John Brooks , freebsd-isp@FreeBSD.ORG Subject: Re: sendmail(8) meets the digital camera Message-ID: <20020620064021.GB69856@hades.hell.gr> References: <001d01c211cc$a27d0ca0$c905010a@daylight.net> <20020612100657.N2462-100000@ren.sasknow.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020612100657.N2462-100000@ren.sasknow.com> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002-06-12 10:08 +0000, Ryan Thompson wrote: > John Brooks wrote to 'Ryan Thompson': > > Here's another thought, this email may be bigger than their entire > > mailbox quota, in which case will they ever get it? > > Oh probably... In which case it will be dropped from the queue > eventually. I'm not worried about the queue so much as I am curious > about what kind of mail server sends back deferred responses when > their users' quotas have been exceeded. ;-) All of them? There is no easy way to check for quotas before receiving the entire message, and by then the sending SMTP server is waiting for a quick response to her DATA command. Since local delivery might take a while, the only sensible thing to do is to accept the message anyway, even if it exceeds the user quota in a short while. The deferred notices are probably some silly notification system that tries to play smart. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jun 20 3: 3:54 2002 Delivered-To: freebsd-isp@freebsd.org Received: from omta04.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by hub.freebsd.org (Postfix) with ESMTP id 8EF2737B40D for ; Thu, 20 Jun 2002 03:03:34 -0700 (PDT) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta04.mta.everyone.net (Postfix) with ESMTP id 76416505A0 for ; Thu, 20 Jun 2002 03:03:34 -0700 (PDT) Received: by sitemail.everyone.net (Postfix, from userid 99) id 6833C36F9; Thu, 20 Jun 2002 03:03:34 -0700 (PDT) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Thu, 20 Jun 2002 03:03:34 -0700 (PDT) From: Muhammad Faisal Rauf Danka To: freebsd-isp@freebsd.org Subject: Apache vulnerability for 32 bit *nix and 64 bit *nix (solaris/SPARC) Reply-To: mfrd@attitudex.com X-Originating-Ip: [202.5.128.45] Message-Id: <20020620100334.6833C36F9@sitemail.everyone.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org GOBBLES Security released Remote Apache 1.3.x Exploit, at http://online.securityfocus.com/attachment/2002-06-20/apache-scalp.c As it's mentioned in the exploit that: < * The "experts" have already concurred that this bug... * - Can not be exploited on 32-bit *nix variants * - Is only exploitable on win32 platforms * - Is only exploitable on certain 64-bit systems * * However, contrary to what ISS would have you believe, we have * successfully exploited this hole on the following operating systems: * * Sun Solaris 6-8 (sparc/x86) * FreeBSD 4.3-4.5 (x86) * OpenBSD 2.6-3.1 (x86) * Linux (GNU) 2.4 (x86) * * Don't get discouraged too quickly in your own research. It took us close * to two months to be able to exploit each of the above operating systems. * There is a peculiarity to be found for each operating system that makes the * exploitation possible. > So i think x86 apache admins shouldn't be like "[ aah its only for win32 and 64 bit *nixes, ]" and I again repeat that even 64 bit *nixes include SPARCH Solaris which is found in abundance. I think its about time Sun people should also take notice of it. Sites like sunfreeware.com and alike should put updated apache packages. Else bad time for solaris sparc/ apache admins. Regards, --------- Muhammad Faisal Rauf Danka Chief Technology Officer Gem Internet Services (Pvt) Ltd. web: www.gem.net.pk Vice President Pakistan Computer Emergency Responce Team (PakCERT) web: www.pakcert.org Chief Security Analyst Applied Technology Research Center (ATRC) web: www.atrc.net.pk _____________________________________________________________ --------------------------- [ATTITUDEX.COM] http://www.attitudex.com/ --------------------------- _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jun 20 6:12:25 2002 Delivered-To: freebsd-isp@freebsd.org Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by hub.freebsd.org (Postfix) with SMTP id 491F637B40D for ; Thu, 20 Jun 2002 06:12:20 -0700 (PDT) Received: (qmail 11325 invoked by uid 1825); 20 Jun 2002 13:12:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Jun 2002 13:12:17 -0000 Date: Thu, 20 Jun 2002 09:12:17 -0400 (EDT) From: X-Sender: up@richard2.pil.net To: Muhammad Faisal Rauf Danka Cc: freebsd-isp@freebsd.org Subject: Re: Apache vulnerability for 32 bit *nix and 64 bit *nix (solaris/SPARC) In-Reply-To: <20020620100334.6833C36F9@sitemail.everyone.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 20 Jun 2002, Muhammad Faisal Rauf Danka wrote: > and I again repeat that even 64 bit *nixes include SPARCH Solaris which > is found in abundance. > > I think its about time Sun people should also take notice > of it. > > Sites like sunfreeware.com and alike should put updated apache packages. > > Else bad time for solaris sparc/ apache admins. I thought the whole point of using open source software was that you don't have to wait for someone to make a binary package for you. 1.3.26 is available from www.apache.org All you should really need from sunfreeware.com is gcc (it's been a while, but back when I used Solaris, it didn't come with a compiler). James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jun 20 6:18:14 2002 Delivered-To: freebsd-isp@freebsd.org Received: from xyzzy.intranet.snsonline.net (dsl-210-15-243-109.Melbourne.netspace.net.au [210.15.243.109]) by hub.freebsd.org (Postfix) with ESMTP id 1CDDE37B40C for ; Thu, 20 Jun 2002 06:18:08 -0700 (PDT) Received: from xyzzy.intranet.snsonline.net (localhost [127.0.0.1]) by xyzzy.intranet.snsonline.net (8.12.3/8.12.3) with ESMTP id g5KDHsxh078436; Thu, 20 Jun 2002 23:17:54 +1000 (EST) (envelope-from msergeant@looksmart.net) Received: (from sarge@localhost) by xyzzy.intranet.snsonline.net (8.12.3/8.12.3/Submit) id g5KDHlXh078435; Thu, 20 Jun 2002 23:17:47 +1000 (EST) X-Authentication-Warning: xyzzy.intranet.snsonline.net: sarge set sender to msergeant@looksmart.net using -f Subject: Re: Apache vulnerability for 32 bit *nix and 64 bit *nix (solaris/SPARC) From: Mark Sergeant To: up@3.am Cc: Muhammad Faisal Rauf Danka , freebsd-isp@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.7 Date: 20 Jun 2002 23:17:46 +1000 Message-Id: <1024579066.325.3.camel@xyzzy.intranet.snsonline.net> Mime-Version: 1.0 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I admin 50 odd solaris machines, I had all web servers updated to 1.3.26 before I finished work last night. It isn't hard if you are a professional to do these things yourself, a build on a build box and then push out of the binaries is very little work indeed to keep whatever your machines may be up to date. The hardest machine for me to update was an old redhat linux machine that has yet to be EOL, the freebsd boxes were updated the same way our sun boxes were. Cheers, Mark On Thu, 2002-06-20 at 23:12, up@3.am wrote: > On Thu, 20 Jun 2002, Muhammad Faisal Rauf Danka wrote: >=20 > > and I again repeat that even 64 bit *nixes include SPARCH Solaris which= =20 > > is found in abundance.=20 > >=20 > > I think its about time Sun people should also take notice=20 > > of it. > >=20 > > Sites like sunfreeware.com and alike should put updated apache packages= .=20 > >=20 > > Else bad time for solaris sparc/ apache admins. >=20 > I thought the whole point of using open source software was that you don'= t > have to wait for someone to make a binary package for you. 1.3.26 is > available from www.apache.org All you should really need from > sunfreeware.com is gcc (it's been a while, but back when I used Solaris, > it didn't come with a compiler). >=20 > James Smallacombe PlantageNet, Inc. CEO and Janitor > up@3.am http://3.am > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message >=20 --=20 Mark Sergeant Senior Unix Systems Administrator =20 L=F4=F4kSmart International Pty. Ltd. Level 5/388 Lonsdale Street Melbourne, VIC, 3000 Australia=20 P. (03) 9648 2201=20 F. (03) 9648 2244=20 http://www.looksmart.com.au This email may contain information which is confidential and/or privileged. If you are not the intended recipient you must not copy, distribute or otherwise use the information contained in this email and we request that you delete it from your system and notify the sender and/or LookSmart International Pty Ltd immediately. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 6:48:38 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.britesite.net (mx1.britesite.net [63.175.65.10]) by hub.freebsd.org (Postfix) with ESMTP id 8CAEB37B404 for ; Fri, 21 Jun 2002 06:48:32 -0700 (PDT) Received: from stranger (dsl-209-81-146-23.dsl.iwc.net [209.81.146.23]) by mx1.britesite.net (8.11.6/8.11.6) with SMTP id g5LDk6F25683 for ; Fri, 21 Jun 2002 08:46:07 -0500 (CDT) (envelope-from lanshark@bsinet.net) Message-ID: <004201c2192a$534d2240$0201a8c0@stranger> From: "Edward Shabotinsky" To: Subject: Netscape Directory Server 4.16 Date: Fri, 21 Jun 2002 08:48:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all. anybody have Netscape Directory Server 4.16 installed and running on FreeBSD 4.x? iPlanet has only Linux ver and i really don't like to go for it, so i was wondering if NSD will run on FBSD without problem? Thanks for your input. Edward Shabotinsky System Engineer BriteSiteInet Inc. --------------------------------- lanshark@bsinet.net www.britesite.net --------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 6:52:56 2002 Delivered-To: freebsd-isp@freebsd.org Received: from opium.co.za (opium.co.za [196.34.165.210]) by hub.freebsd.org (Postfix) with ESMTP id 20BF337B400 for ; Fri, 21 Jun 2002 06:52:48 -0700 (PDT) Received: from mark (helo=localhost) by opium.co.za with local-esmtp (Exim 3.35 #1 (Debian)) id 17LOpq-0000md-00; Fri, 21 Jun 2002 15:52:22 +0200 Date: Fri, 21 Jun 2002 15:52:22 +0200 (SAST) From: Mark Bojara X-X-Sender: mark@opium.co.za To: CHOI Junho Cc: freebsd-isp@freebsd.org Subject: Re: Intel PRO/1000 problem with 4.5R In-Reply-To: <20020618.163142.98892204.cjh@kr.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, This usually happens when there is a IRQ conflict or a problem assigning an IRQ to your network card. Try setting a IRQ in your bios for that PCI slot. Regards Mark ---------------------------------------------------------------- Mr. Spock doesn't say: "Let's blast their buns off!" ---------------------------------------------------------------- On Tue, 18 Jun 2002, CHOI Junho wrote: > >Hi, > >(I posted this on -net but no response, and some more info added...) > >I am maintaining two large-volume HTTP server. It is with one em0 >gigabit NIC, and running apache(or thttpd) for users to download >relatively big(>200k) files. > >I started this service using 4.5R. The server is Pentium III 1G, 1G >RAM, 36G SCSI HDD). Server load was very high(>50) but I heard it's >characteristic of apache server and I decided to upgrade to recent >system and use thttpd instead of apache. When I tried to use thttpd, >it shows the load under 1(wow!). > >2 days ago I updated the system to 4.6-RELEASE. Whether or not using >apache or thttpd, under some traffic(about >200Mbit/sec), it shows >"watchdog timeout" repeatedly: > >Jun 16 11:36:18 gigatest /kernel: em0: Link is Down >Jun 16 11:36:18 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:40:49 gigatest /kernel: em0: watchdog timeout -- resetting >Jun 16 11:40:51 gigatest /kernel: em0: Link is Down >Jun 16 11:40:51 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:40:51 gigatest /kernel: em0: Link is Down >Jun 16 11:40:51 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:44:23 gigatest /kernel: em0: watchdog timeout -- resetting >Jun 16 11:44:24 gigatest /kernel: em0: Link is Down >Jun 16 11:44:24 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:50:28 gigatest /kernel: em0: watchdog timeout -- resetting >Jun 16 11:50:29 gigatest /kernel: em0: Link is Down >Jun 16 11:50:29 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:50:30 gigatest /kernel: em0: Link is Down >Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex >Jun 16 11:50:30 gigatest /kernel: em0: Link is Down >Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps FullDuplex >Jun 16 11:50:30 gigatest /kernel: em0: Link is Down >Jun 16 11:50:30 gigatest /kernel: em0: Link is up 1000 Mbps Full Duplex > >I updated em0 driver to 1.3.8 from Intel webpage, but it no helps. > >After that day, I downgraded the system to 4.5R-p6. It still has a >problem. > >Here is my sysctl.conf: > >kern.ipc.maxsockbuf=20480000 >kern.ipc.somaxconn=8192 >kern.ipc.maxsockets=60000 >kern.maxfiles=65536 >kern.maxfilesperproc=32768 >net.inet.tcp.rfc1323=1 >net.inet.tcp.delayed_ack=0 >net.inet.tcp.sendspace=65536 >net.inet.tcp.recvspace=16384 >net.inet.udp.recvspace=16384 >net.inet.udp.maxdgram=57344 >net.local.stream.recvspace=65536 >net.local.stream.recvspace=65536 >net.local.stream.sendspace=65536 >net.inet.tcp.msl=1000 >net.inet.icmp.drop_redirect=1 >net.inet.icmp.log_redirect=1 >net.inet.ip.redirect=0 >net.inet6.ip6.redirect=0 >net.link.ether.inet.max_age=1200 >net.inet.ip.sourceroute=0 >net.inet.ip.accept_sourceroute=0 >net.inet.icmp.bmcastecho=0 >net.inet.icmp.maskrepl=0 > >and /boot/loader.conf.local: > >kern.ipc.nmbclusters="131072" >accf_http_load="YES > >-- > +++ Any opinions in this posting are my own and not those of my employers +++ > CHOI Junho [sleeping now] > [while sleeping] > Korea FreeBSD Users Group Web Data Bank > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 8:51: 0 2002 Delivered-To: freebsd-isp@freebsd.org Received: from coloradosurf.com (12-253-160-7.client.attbi.com [12.253.160.7]) by hub.freebsd.org (Postfix) with ESMTP id 1EA0237B478 for ; Fri, 21 Jun 2002 08:50:34 -0700 (PDT) Received: (from mike@localhost) by coloradosurf.com (8.11.6/8.11.6) id g5LFoW739247 for freebsd-isp@freebsd.org; Fri, 21 Jun 2002 09:50:32 -0600 (MDT) (envelope-from mike) Date: Fri, 21 Jun 2002 09:50:31 -0600 From: Mike To: freebsd-isp@freebsd.org Subject: new apache ports on a 3.5S Message-ID: <20020621095031.A37394@coloradosurf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone been able to install the apache13-modssl (1.3.26) ports on a 3.5 system? I tried and received a variety of errors (depending on which hack I made to the Makefile). I also just tried to use the apache13 port but got an error in the libssl.so when I tried to startssl. Sorry for the lack of errors. I had to get apache back up as they're on production machines and I haven't had time to do it the careful (smart) way yet. I'm lazy (scared it's been so long) and don't want to have to build from source ;-). Please Cc: me as I'm not subscribed to -isp. TIA, mike PS the dev box no longer exists 'cause my boss is thrifty :(. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 15:59:12 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail4.cableaz.com (mail4.cableaz.com [66.218.238.20]) by hub.freebsd.org (Postfix) with ESMTP id 33DEB37B401 for ; Fri, 21 Jun 2002 15:59:08 -0700 (PDT) Received: from admin (proxy.cableaz.com [66.218.238.31]) by mail4.cableaz.com (8.11.3/8.11.3) with SMTP id g5LMmwS35460 for ; Fri, 21 Jun 2002 15:48:58 -0700 (MST) (envelope-from jeremy@cableaz.com) Message-ID: <000501c21976$ae75db70$0100a8c0@admin> From: "Jeremy Buckner" To: Subject: Account Maint. Date: Fri, 21 Jun 2002 15:55:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there anything out there that can audit accounts to see when they were last accessed and remove them if necessary? Some script or something that cron could pull up every three months or so. My techs don't seem to think that deleting mail/ftp accounts are important enough to worry about when a customer discos. You can imagine what my server looks like now.. Thanks, JB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 21:40:55 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.day-light.net (day-light.net [64.37.72.2]) by hub.freebsd.org (Postfix) with ESMTP id 5A08937B405 for ; Fri, 21 Jun 2002 21:40:44 -0700 (PDT) Received: from w1 (118-203.bestdsl.net [216.162.118.203]) by mail.day-light.net (Postfix) with SMTP id CBC04351FD for ; Fri, 21 Jun 2002 23:40:37 -0500 (CDT) Reply-To: From: "John Brooks" To: Subject: Undefined symbol "ap_escape_logitem" Date: Fri, 21 Jun 2002 23:43:30 -0500 Message-ID: <001d01c219a7$5c1666c0$c905010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20020621095031.A37394@coloradosurf.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org After updating apache via the apache13-modssl port on a 4.5R system I am receiving the following error on restart Cannot load /usr/local/libexec/apache/mod_log_config.so into server: /usr/local/libexec/apache/mod_log_config.so: Undefined symbol "ap_escape_logitem" Temporarily I've commented out this module to get the server back online, but I will have no logging until corrected. This box was built on Feb 7. Another 4.5R box built on May 1 did not have this problem. Has anyone come across this problem while upgrading apache? -- John Brooks john@stlbsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jun 21 22: 9:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id 1991537B401 for ; Fri, 21 Jun 2002 22:09:35 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5M57Tb41301 for freebsd-isp@FreeBSD.ORG; Sat, 22 Jun 2002 06:07:29 +0100 (BST) (envelope-from munk) Date: Sat, 22 Jun 2002 06:07:28 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Undefined symbol "ap_escape_logitem" Message-ID: <20020622060727.A33043@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020621095031.A37394@coloradosurf.com> <001d01c219a7$5c1666c0$c905010a@daylight.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001d01c219a7$5c1666c0$c905010a@daylight.net>; from john@day-light.com on Fri, Jun 21, 2002 at 11:43:30PM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 21, 2002 at 11:43:30PM -0500, John Brooks wrote: > After updating apache via the apache13-modssl port on a 4.5R system I am > receiving the following error on restart > > Cannot load /usr/local/libexec/apache/mod_log_config.so into server: > /usr/local/libexec/apache/mod_log_config.so: Undefined symbol > "ap_escape_logitem" > > Temporarily I've commented out this module to get the server back online, > but I will have no logging until corrected. > > This box was built on Feb 7. > Another 4.5R box built on May 1 did not have this problem. > > Has anyone come across this problem while upgrading apache? As it goes John I had the same error. I found that it was due to the fact that I had restarted apache without modifying /usr/local/etc/apache/http.conf to reflect the upgrade. The upgrade places httpd.conf.default in /usr/local/etc/apache, and as such I simply did: cp /usr/local/etc/apache/httpd.conf.default /usr/local/etc/apache/httpd.conf and then modified /usr/local/etc/apache/httpd.conf as needed to reflect my server requirements (in effect 'diffing' the old httpd.conf and the new httpd.conf). Hope that helps, Jez -- Favourite pickup line: Hey baby, wanna synchronize sequence numbers? Warning: not always effective To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jun 22 6:38: 0 2002 Delivered-To: freebsd-isp@freebsd.org Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by hub.freebsd.org (Postfix) with ESMTP id F215F37B403 for ; Sat, 22 Jun 2002 06:37:48 -0700 (PDT) Received: from marvin (port156.ds1-bav.adsl.cybercity.dk [217.157.188.161]) by cicero1.cybercity.dk (Postfix) with SMTP id 5847F15FD33 for ; Sat, 22 Jun 2002 15:37:47 +0200 (CEST) Message-ID: <005501c219f1$fbfc64b0$0200000a@marvin> From: "Lars Thegler" To: References: <004201c2192a$534d2240$0201a8c0@stranger> Subject: Re: Netscape Directory Server 4.16 Date: Sat, 22 Jun 2002 15:37:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In a previous life, I've had Netscape Directory Server running on the FreeBSD Linux-emulation. Worked like a charm. /Lars ----- Original Message ----- From: "Edward Shabotinsky" To: Sent: Friday, June 21, 2002 3:48 PM Subject: Netscape Directory Server 4.16 > Hi all. > anybody have Netscape Directory Server 4.16 installed and running > on FreeBSD 4.x? > iPlanet has only Linux ver and i really don't like to go for it, so i was > wondering if > NSD will run on FBSD without problem? > Thanks for your input. > > Edward Shabotinsky > System Engineer > BriteSiteInet Inc. > --------------------------------- > lanshark@bsinet.net > www.britesite.net > --------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jun 22 12:16:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 7224137B403 for ; Sat, 22 Jun 2002 12:16:12 -0700 (PDT) Received: from fwd07.sul.t-online.de by mailout04.sul.t-online.com with smtp id 17LqMl-0008LH-05; Sat, 22 Jun 2002 21:16:11 +0200 Received: from Turing.picht.org (320017162287-0001@[80.133.175.18]) by fmrl07.sul.t-online.com with esmtp id 17LqMh-0FrszQC; Sat, 22 Jun 2002 21:16:07 +0200 Received: from Turing.picht.org (localhost.picht.org [127.0.0.1]) by Turing.picht.org (8.12.4/8.12.4/Debian-2) with ESMTP id g5MJFMf9001172 for ; Sat, 22 Jun 2002 21:15:22 +0200 Received: (from hans@localhost) by Turing.picht.org (8.12.4/8.12.4/Debian-2) id g5MJFL0u001170 for freebsd-isp@FreeBSD.ORG; Sat, 22 Jun 2002 21:15:21 +0200 Date: Sat, 22 Jun 2002 21:15:21 +0200 From: Hans-Joachim Picht To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020622191521.GA1125@lnxce.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: LNXCE Linux-Consulting-Europe GbR X-Sender: 320017162287-0001@t-dialin.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 19, 2002 at 09:57:04PM +0930, Wincent Colaiuta wrote: > Because I want this thing to be stable, robust, and dependable enough to > use as a reliable platform for billing, a design goal would be to build > it out of simple, well-tested tools that are already present in a > standard FreeBSD install. So we're talking here a collection of Perl and > Bourne shell scripts interacting with ipfw and using dbm and perhaps > some flat files for data storage, all driven by cron. > > What I'd like it to do: > - run as an hourly cron job > - count incoming and outgoing bandwidth user per IP based on ipfw > "count" rules - this should give a totally accurate traffic count > without the need to resort to parsing mail, http and ftp logs (which > could get very messy) > - save ipfw output to disc for safe keeping A tool for that is already available. http://www.simon.org.ua/ipa/ > - update usage totals per customer in the dbm database: daily and > monthly totals Daily, weekly and monthly report are not a problem. > - when customer hits bandwidth quota for the month, send a warning email > - when customer exceeds bandwidth quota by 25% or more, account > temporarily suspended (browser redirected to an explanatory page using > mod_rewrite), send customer notification email I develeoped a ugly perl-script to write the ipastat output (link above) into a mysql database. > - generate simple HTML pages showing usage libgd > - provide an easy mechanism for adding/removing hosts/customers to/from > the accounting system > - able to administer from the shell or from a web-interface CGI With best regards Hans -- Work: Consultant with Linux Consulting Europe http://www.lnxce.net Vogelhecke 2 D - 35447 Reiskirchen Tel: +491751629201 Fax: +49640862649 Germany Private: hans@picht.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jun 22 19:16:29 2002 Delivered-To: freebsd-isp@freebsd.org Received: from grape.arkay.net (grape.arkay.net [12.13.136.121]) by hub.freebsd.org (Postfix) with ESMTP id 9126D37B400 for ; Sat, 22 Jun 2002 19:16:27 -0700 (PDT) Received: from 24.159.19.35 (cookeville-24-159-19-35.midtn.chartertn.net [24.159.19.35]) by grape.arkay.net (Postfix) with ESMTP id 4903A26218 for ; Sat, 22 Jun 2002 21:16:24 -0500 (CDT) Date: Sat, 22 Jun 2002 21:16:07 -0500 From: Jeff Tollison X-Mailer: The Bat! (v1.60m) Reply-To: Jeff Tollison Organization: The MultiPro Network X-Priority: 3 (Normal) Message-ID: <911180034039.20020622211607@multipro.com> To: freebsd-isp@freebsd.org Subject: Frontpage Server Extensions version 5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been beating my head trying to get FP Server Extensions to work, I have installed a "root web" and "subwebs" and all I get when I try to edit the website with FP is: * The website loads into Frontpage with no password * web root owned by privileged user: /usr/local/www/data/_vti_bin/shtml.exe in the server log Does anyone have a clue what I might be doing overlooking? Thanks in advance for your help ---- Jeff Tollison The MultiPro Network jtollison@multipro.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jun 22 22:22: 8 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.85]) by hub.freebsd.org (Postfix) with ESMTP id 9569237B401 for ; Sat, 22 Jun 2002 22:22:05 -0700 (PDT) Received: from smtp-relay.mac.com (smtp-relay01-en1 [10.13.10.224]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g5N5M0k2004927 for ; Sat, 22 Jun 2002 22:22:00 -0700 (PDT) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtp-relay.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g5N5LtrE026000 for ; Sat, 22 Jun 2002 22:21:55 -0700 (PDT) Received: from localhost ([202.45.118.93]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id GY588H00.MAF; Sat, 22 Jun 2002 22:21:53 -0700 Date: Sun, 23 Jun 2002 14:51:43 +0930 Subject: Re: Bandwidth billing and measurement scripts Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: Hans-Joachim Picht To: freebsd-isp@FreeBSD.ORG From: Wincent Colaiuta In-Reply-To: <20020622191521.GA1125@lnxce.net> Message-Id: <1B02AF4B-8669-11D6-A31E-003065C60B4C@mac.com> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org El Sunday, 23 June, 2002, a las 04:45 AM, Hans-Joachim Picht escribi=F3: >> What I'd like it to do: >> - run as an hourly cron job >> - count incoming and outgoing bandwidth user per IP based on ipfw >> "count" rules - this should give a totally accurate traffic count >> without the need to resort to parsing mail, http and ftp logs (which >> could get very messy) >> - save ipfw output to disc for safe keeping > > A tool for that is already available. http://www.simon.org.ua/ipa/ Thanks for the reply Hans. I had already checked out IPA and found that=20= it wasn't quite what I was looking for. I had two main problems with it:=20= firstly it was written in C, and I don't know C so I can't modify it or=20= add to it to make it how I would like; and secondly, I'm not so sure I'm=20= entirely happy with how deep it digs down into the kernel. =46rom the = IPA=20 FAQ: > If you installed a new kernel or made some changes in the kernel, then=20= > you should also rebuild ipa(8), becase it uses kernel structures and=20= > they can be changed from one version of the operating system to = another=20 > one, but see below. Don't really feel like having to worry about my billing and invoicing=20 system breaking down when I rebuild the kernel. That's why I want to=20 stick with basic user-land accessible tools like Perl, sh and ipfw. In=20= any case, I've done most of the scripting for my custom solution anyway=20= now. Cheers Wincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Jun 22 23: 3:45 2002 Delivered-To: freebsd-isp@freebsd.org Received: from postoffice.aims.com.au (eth0.lnk.aims.com.au [203.31.73.253]) by hub.freebsd.org (Postfix) with ESMTP id A811B37B400 for ; Sat, 22 Jun 2002 23:03:40 -0700 (PDT) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.aims.com.au with ESMTP id g5N63dm67623 for ; Sun, 23 Jun 2002 16:03:39 +1000 (EST) (envelope-from chris@aims.com.au) Received: from ntsts1 by aims.com.au with SMTP (MDaemon.v3.5.3.R) for ; Sun, 23 Jun 2002 16:03:35 +1000 Reply-To: From: "Chris Knight" To: "'Jeff Tollison'" Cc: Subject: RE: Frontpage Server Extensions version 5 Date: Sun, 23 Jun 2002 16:03:33 +1000 Message-ID: <014c01c21a7b$b59c63a0$020aa8c0@aims.private> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-reply-to: <911180034039.20020622211607@multipro.com> X-Return-Path: chris@aims.com.au X-MDaemon-Deliver-To: freebsd-isp@freebsd.org Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Howdy, The minimum uid in mod_frontpage has been compiled with a value of 100, and not 80. You're best off doing the following: cd /usr/ports/www/mod_frontpage make clean make configure vi work/mod_frontpage_mirfak-1.6.2/fpexec.h - change FP_UID_MIN from 100 to 80 make FORCE_PKG_REGISTER=yes install FrontPage Extensions should then work correctly. Regards, Chris Knight Systems Administrator AIMS Independent Computer Professionals Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 Mob: +61 419 528 795 Web: http://www.aims.com.au > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Jeff Tollison > Sent: Sunday, 23 June 2002 12:16 > To: freebsd-isp@FreeBSD.ORG > Subject: Frontpage Server Extensions version 5 > > > > I have been beating my head trying to get FP Server Extensions to > work, I have installed a "root web" and "subwebs" and all I > get when I try to edit the website with FP is: > > * The website loads into Frontpage with no password > * web root owned by privileged user: > /usr/local/www/data/_vti_bin/shtml.exe in the server log > > Does anyone have a clue what I might be doing overlooking? > > Thanks in advance for your help > > ---- > Jeff Tollison > The MultiPro Network > jtollison@multipro.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message