From owner-freebsd-isp  Sun Aug  8  9:34:13 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from etinc.com (et-gw.etinc.com [207.252.1.2])
	by hub.freebsd.org (Postfix) with ESMTP
	id D8B1C14BB8; Sun,  8 Aug 1999 09:34:08 -0700 (PDT)
	(envelope-from dennis@etinc.com)
Received: from workstation.etinc.com (port34.netsvr1.cst.vastnet.net [207.252.73.34])
	by etinc.com (8.9.3/8.9.3) with SMTP id MAA02351;
	Sun, 8 Aug 1999 12:26:04 -0400 (EDT)
Message-Id: <199908081626.MAA02351@etinc.com>
X-Sender: dennis@mail.etinc.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
Date: Mon, 09 Aug 1999 00:41:13 -0400
To: hackers@freebsd.org
From: Dennis <dennis@etinc.com>
Subject: Routing Table Memory
Cc: isp@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


What flavor of memory tuning can be used to figure out how much the routing
table will have (and what tool can be used to monitor it, other than the
total usage shown in vmstat)?

A machine with 64M refuses to allocate more than ~10M (about 36K routes) no
matter how many users or clusters are allocated. NetBSD systems have no
trouble holding full tables (17M) in a 64k system.

Not that 128M is so expensive, but I'd like to know how to optimize it for
more efficient usage of memory.

Dennis



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sun Aug  8  9:58:53 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from gw.sea.ru (news.sea.ru [194.87.190.70])
	by hub.freebsd.org (Postfix) with ESMTP
	id DDF5714E52; Sun,  8 Aug 1999 09:58:38 -0700 (PDT)
	(envelope-from ant@online.sea.ru)
Received: from default (cs-ppp-140.dynip.sea.ru [194.87.190.140])
	by gw.sea.ru (8.8.5.Sea/8.8.5) with ESMTP id UAA29718;
	Sun, 8 Aug 1999 20:54:38 +0400 (MSD)
Message-Id: <199908081654.UAA29718@gw.sea.ru>
From: "Antipov's family" <ant@online.sea.ru>
To: <freebsd-questions@freebsd.org>
Cc: <freebsd-isp@freebsd.org>
Subject: SLIP with the leased line
Date: Sun, 8 Aug 1999 20:52:30 +0400
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
MIME-Version: 1.0
Content-Type: text/plain; charset=Windows-1251
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi !

Now I try to setud SLIP connection between FreeBSD 3.2 and Cisco. The
configuration of Cisco is autorized and correct.
Two modems was programmed to automatically connection. I.e. leased line
ready.
But I can't to connect with Cisco.
In all examples there is information about dialing to ISP via phone.

Tell me please what can I do to connect to Cisco via leased line?

Thank you very much
Mail me please: 
	pavel@sdios.sea.ru

Best regards
	Pavel



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sun Aug  8 12:38: 7 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from dingo.cdrom.com (castles523.castles.com [208.214.165.87])
	by hub.freebsd.org (Postfix) with ESMTP
	id 630BC14E52; Sun,  8 Aug 1999 12:37:55 -0700 (PDT)
	(envelope-from mike@dingo.cdrom.com)
Received: from dingo.cdrom.com (localhost [127.0.0.1])
	by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA12716;
	Sun, 8 Aug 1999 12:31:15 -0700 (PDT)
	(envelope-from mike@dingo.cdrom.com)
Message-Id: <199908081931.MAA12716@dingo.cdrom.com>
X-Mailer: exmh version 2.0.2 2/24/98
To: Dennis <dennis@etinc.com>
Cc: hackers@freebsd.org, isp@freebsd.org
Subject: Re: Routing Table Memory 
In-reply-to: Your message of "Mon, 09 Aug 1999 00:41:13 EDT."
             <199908081626.MAA02351@etinc.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 08 Aug 1999 12:31:15 -0700
From: Mike Smith <mike@smith.net.au>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> What flavor of memory tuning can be used to figure out how much the routing
> table will have (and what tool can be used to monitor it, other than the
> total usage shown in vmstat)?
> 
> A machine with 64M refuses to allocate more than ~10M (about 36K routes) no
> matter how many users or clusters are allocated. NetBSD systems have no
> trouble holding full tables (17M) in a 64k system.
> 
> Not that 128M is so expensive, but I'd like to know how to optimize it for
> more efficient usage of memory.

Route entries are just allocated out of the kernel memory pool; I would 
suggest upping VM_KMEM_SIZE (size of kernel memory in bytes), either as 
a compile-time option or using the kern.vm.kmem.size tunable as 
documented in 'help set tunables' inside the loader (may not be 
available in the version you're using depending on how you're set up).

You might also try setting VM_KMEM_SIZE_SCALE to something smaller than 
4 (memory size is divided by this to determine kernel VM size); this is 
a compile-only option, and for a machine that does almost nothing in 
userspace it may be more appropriate to use something like 2 (use up to 
half of physical memory for the kerne).

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sun Aug  8 22: 8: 6 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from fedde.littleton.co.us (fedde.littleton.co.us [207.204.248.149])
	by hub.freebsd.org (Postfix) with ESMTP
	id 820DF15168; Sun,  8 Aug 1999 22:07:59 -0700 (PDT)
	(envelope-from cfedde@fedde.littleton.co.us)
Received: from fedde.littleton.co.us (localhost.fedde.littleton.co.us [127.0.0.1])
	by fedde.littleton.co.us (8.9.3/8.9.3) with ESMTP id XAA11464;
	Sun, 8 Aug 1999 23:05:57 -0600 (MDT)
Message-Id: <199908090505.XAA11464@fedde.littleton.co.us>
To: "Antipov's family" <ant@online.sea.ru>
Cc: freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG
From: Chris Fedde <cfedde@fedde.littleton.co.us>
Subject: Re: SLIP with the leased line 
In-reply-to: Your message of "Sun, 08 Aug 1999 20:52:30 +0400."
             <199908081654.UAA29718@gw.sea.ru> 
Date: Sun, 08 Aug 1999 23:05:56 -0600
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

You have validated that you can get dumb terminal connections to the cisco?
that all the hardware is working correctly? What error messages is the BSD
system giving you?  What error messages are you seeing from the cisco.
Do the messages help isolate the problem?

chris

"Antipov's family" writes:
    Hi !
    
    Now I try to setud SLIP connection between FreeBSD 3.2 and Cisco. The
    configuration of Cisco is autorized and correct.
    Two modems was programmed to automatically connection. I.e. leased line
    ready.
    But I can't to connect with Cisco.
    In all examples there is information about dialing to ISP via phone.
    
    Tell me please what can I do to connect to Cisco via leased line?
    
    Thank you very much
    Mail me please: 
    	pavel@sdios.sea.ru
    
    Best regards
    	Pavel
    
    
    
    To Unsubscribe: send mail to majordomo@FreeBSD.org
    with "unsubscribe freebsd-questions" in the body of the message
__
Chris Fedde	  <cfedde@fedde.littleton.co.us>
303 773 9134


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sun Aug  8 22:54: 9 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from host07.rwsystems.net (kasie.rwsystems.net [209.197.223.3])
	by hub.freebsd.org (Postfix) with ESMTP id 2E81D14E29
	for <freebsd-isp@FreeBSD.ORG>; Sun,  8 Aug 1999 22:54:06 -0700 (PDT)
	(envelope-from jwyatt@RWSystems.net)
Received: from kasie.rwsystems.net([209.197.223.3]) (2034 bytes) by host07.rwsystems.net
	via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp
	(sender: <jwyatt@RWSystems.net>) 
	id <m11Di8v-000bxtC@host07.rwsystems.net>
	for <freebsd-isp@FreeBSD.ORG>; Mon, 9 Aug 1999 00:38:41 -0500 (CDT)
	(Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-24)
Date: Mon, 9 Aug 1999 00:38:41 -0500 (CDT)
From: James Wyatt <jwyatt@RWSystems.net>
To: Mark Linvill <mlinvill@cioe.com>
Cc: Chris Cook <ccook@tcworks.net>,
	Martin <marrandy@tampabay.rr.com>, freebsd-isp@FreeBSD.ORG
Subject: Re: 2 queries
In-Reply-To: <Pine.BSF.4.02A.9908061116570.20355-100000@laf.cioe.com>
Message-ID: <Pine.BSF.4.05.9908090024580.28041-100000@kasie.rwsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Sage advice. Access can be a nifty front-end for hacking data into MySQL,
though. 8{) If you are looking for an industrial-grade run-your-business
billing package, IMHO you can't do better than BillMax. You can see for
yourself at http://www.billmax.com and form your own opinions.

Developed on Apache, MySQL, and FreeBSD, it is available for other
environments like Sun and Linux. Your users like the email invoicing and
your techs will like the speed and ease-of-use. Not as cheap as Access,
but that's a feature in my book. It replaced a hell of a quickbooks
scripting every month! The customer updates (including tunable automatic
shutoffs for unpaid accounts) are pushed to the Radius server and web/mail
servers. It can be organizational superglue for an ISP. - Jy@

On Fri, 6 Aug 1999, Mark Linvill wrote:
> On Sat, 7 Aug 1999, Chris Cook wrote:
	[several things snipped]
> >> 3)  (but you only said there was two ; )  Best/cheapest billing software ?
> >
> >We rigged something up in access... easy to do and very customizable.
> 
> No way in hell I would trust my mission critical billing to a toy like
> MS Access.  IMHO Access is a prototyping tool if anything.  
> 
> Spend a little money up front for a turn-key billing package.  In a
> year or two if you have any growth, you'll really appreciate it.
	[ more snipped ]



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  4:14:30 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id D5C4A151AF
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 04:14:09 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id VAA10391
	for <freebsd-isp@freebsd.org>; Mon, 9 Aug 1999 21:11:26 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Mon, 9 Aug 1999 21:11:24 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: freebsd-isp@freebsd.org
Subject: problem with user level ppp, using multilink functionality
Message-ID: <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi all,

I seem to have come across a rather serious problem, I'm not sure whether
it's something in my setup or it's a bug in ppp.

I am using a very recent version downloaded today - ppp-990809.src.tar.gz.
Is this a day-to-day snapshot or have I just happened to come along when a
stable version has been released? I'm using the recent version as the one
supplied with 2.2.8R doesn't support multilink.

Anyway, the problem is that when running as a server (started with
'/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
carrier is lost. There's nothing suggesting it actually detects the loss
of CD when I pull the (line) plug on the modem, and about 3 minutes later
it complains about the lack of response to LQR packets and declares the
bundle dead. However, the ppp task associated with that serial line
doesn't exit! It's still sitting there 20 minutes later, with 'who' still
showing up the login as if the modem was still connected. Meanwhile the
dialin line is just ringing out as obviously mgetty isn't running. To
regain control I have to log in via shell and kill off the ppp process.

This also happens if I kill -TERM the originating ppp (I presume this is a
graceful shutdown, with the originating end politely reporting it's about
to disconnect):

13285  ??  Is     0:00.01 /usr/sbin/ppp -direct mp
14815  ??  Ss     0:00.10 /usr/sbin/ppp -direct mp

System at both ends is running 2.2.8-RELEASE, here are the basic config
files...

<<<<client>>>>  'ppp -auto mp'

mp:
 set timeout 0
 set log phase chat
 set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \
          \"\" ATZ OK ATDT\\T TIMEOUT 45 CONNECT \"\" ogin: sbruns word: 12345"
 set redial 30+30-20 0
 set reconnect 30 5
 set login
 set ifaddr 203.20.114.195/0 10.0.0.2/0
 set authname ppp
 set authkey ppppassword
 set mrru 1500
 set enddisc label

 enable lqr
 accept lqr

 clone 1,2
 link deflink remove
 link 1,2 set mode ddial
 link 1 set phone "93291234"
 link 2 set phone "93291234"
 link 1 set device /dev/cuaa1
 link 2 set device /dev/cuaa2
 link 1 set speed 115200
 link 2 set speed 115200
 

<<<<server>>>>  'ppp -direct mp' from shell script run after normal login

mp:
 allow user sbruns
 allow mode direct
 set openmode active
 set timeout 0
 set log phase chat
 open

 set login
 set ifaddr 203.20.114.32/0 10.0.0.2/0
 set authname ppp
 set authkey ppppassword
 set mrru 1500
 set enddisc label

 enable lqr
 accept lqr

 clone 1,2
 link deflink remove


Note that I'm generally unfamiliar with user level PPP, so the basic
config is from the man page and I haven't started tweaking things yet. I
haven't bothered to set up PAP/CHAP because the chat script logs in via
the login/Password prompt before starting up ppp.

Thanks for any help.  :-(

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  4:37:19 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17])
	by hub.freebsd.org (Postfix) with ESMTP id 3D75214DED
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 04:37:12 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id OAA09440;
	Mon, 9 Aug 1999 14:33:18 +0300 (EEST)
	(envelope-from andyo@prime.net.ua)
Message-ID: <37AEBC7A.EBE860C3@prime.net.ua>
Date: Mon, 09 Aug 1999 14:33:16 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
Organization: M-Info
X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: en, ru, uk
MIME-Version: 1.0
To: Rowan Crowe <rowan@sensation.net.au>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
References: <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Where ppp logfiles?
Rowan Crowe wrote:

> Hi all,
>
> I seem to have come across a rather serious problem, I'm not sure whether
> it's something in my setup or it's a bug in ppp.
>
> I am using a very recent version downloaded today - ppp-990809.src.tar.gz.
> Is this a day-to-day snapshot or have I just happened to come along when a
> stable version has been released? I'm using the recent version as the one
> supplied with 2.2.8R doesn't support multilink.
>
> Anyway, the problem is that when running as a server (started with
> '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> carrier is lost. There's nothing suggesting it actually detects the loss
> of CD when I pull the (line) plug on the modem, and about 3 minutes later
> it complains about the lack of response to LQR packets and declares the
> bundle dead. However, the ppp task associated with that serial line
> doesn't exit! It's still sitting there 20 minutes later, with 'who' still
> showing up the login as if the modem was still connected. Meanwhile the
> dialin line is just ringing out as obviously mgetty isn't running. To
> regain control I have to log in via shell and kill off the ppp process.
>
> This also happens if I kill -TERM the originating ppp (I presume this is a
> graceful shutdown, with the originating end politely reporting it's about
> to disconnect):
>
> 13285  ??  Is     0:00.01 /usr/sbin/ppp -direct mp
> 14815  ??  Ss     0:00.10 /usr/sbin/ppp -direct mp
>
> System at both ends is running 2.2.8-RELEASE, here are the basic config
> files...
>
> <<<<client>>>>  'ppp -auto mp'
>
> mp:
>  set timeout 0
>  set log phase chat
>  set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \
>           \"\" ATZ OK ATDT\\T TIMEOUT 45 CONNECT \"\" ogin: sbruns word: 12345"

>  set redial 30+30-20 0
>  set reconnect 30 5
>  set login
>  set ifaddr 203.20.114.195/0 10.0.0.2/0
>  set authname ppp
>  set authkey ppppassword
>  set mrru 1500
>  set enddisc label
>
>  enable lqr
>  accept lqr
>
>  clone 1,2
>  link deflink remove
>  link 1,2 set mode ddial
>  link 1 set phone "93291234"
>  link 2 set phone "93291234"
>  link 1 set device /dev/cuaa1
>  link 2 set device /dev/cuaa2
>  link 1 set speed 115200
>  link 2 set speed 115200

>
>
> <<<<server>>>>  'ppp -direct mp' from shell script run after normal login
>
> mp:
>  allow user sbruns
>  allow mode direct
>  set openmode active
>  set timeout 0
>  set log phase chat
>  open
>
>  set login
>  set ifaddr 203.20.114.32/0 10.0.0.2/0
>  set authname ppp
>  set authkey ppppassword
>  set mrru 1500
>  set enddisc label
>
>  enable lqr
>  accept lqr
>
>  clone 1,2
>  link deflink remove
>
> Note that I'm generally unfamiliar with user level PPP, so the basic
> config is from the man page and I haven't started tweaking things yet. I
> haven't bothered to set up PAP/CHAP because the chat script logs in via
> the login/Password prompt before starting up ppp.
>
> Thanks for any help.  :-(
>
> Cheers.
>
> --
> Rowan Crowe                             http://www.rowan.sensation.net.au/
> Sensation Internet Services                   http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money ö%-)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  4:44:10 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25])
	by hub.freebsd.org (Postfix) with ESMTP id DE21E151DF
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 04:44:05 -0700 (PDT)
	(envelope-from joe@florence.pavilion.net)
Received: (from joe@localhost)
	by florence.pavilion.net (8.9.3/8.8.8) id MAA79671;
	Mon, 9 Aug 1999 12:41:45 +0100 (BST)
	(envelope-from joe)
Date: Mon, 9 Aug 1999 12:41:45 +0100
From: Josef Karthauser <joe@pavilion.net>
To: Rowan Crowe <rowan@sensation.net.au>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
Message-ID: <19990809124145.H59532@pavilion.net>
References: <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au>; from Rowan Crowe on Mon, Aug 09, 1999 at 09:11:24PM +1000
X-NCC-RegID: uk.pavilion
Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England
Phone: +44-845-333-5000
Fax: +44-845-333-5001
Mobile: +44-403-596893
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

May be a bug in PPP.  Brian is in the throws of incorporating ISDN support
into PPP, and I had problems with his Saturday version.

Use the one from the -STABLE branch of FreeBSD.  It works fine.

Joe

On Mon, Aug 09, 1999 at 09:11:24PM +1000, Rowan Crowe wrote:
> Hi all,
> 
> I seem to have come across a rather serious problem, I'm not sure whether
> it's something in my setup or it's a bug in ppp.
> 
> I am using a very recent version downloaded today - ppp-990809.src.tar.gz.
> Is this a day-to-day snapshot or have I just happened to come along when a
> stable version has been released? I'm using the recent version as the one
> supplied with 2.2.8R doesn't support multilink.
> 
> Anyway, the problem is that when running as a server (started with
> '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> carrier is lost. There's nothing suggesting it actually detects the loss
> of CD when I pull the (line) plug on the modem, and about 3 minutes later
> it complains about the lack of response to LQR packets and declares the
> bundle dead. However, the ppp task associated with that serial line
> doesn't exit! It's still sitting there 20 minutes later, with 'who' still
> showing up the login as if the modem was still connected. Meanwhile the
> dialin line is just ringing out as obviously mgetty isn't running. To
> regain control I have to log in via shell and kill off the ppp process.
> 
> This also happens if I kill -TERM the originating ppp (I presume this is a
> graceful shutdown, with the originating end politely reporting it's about
> to disconnect):
> 
> 13285  ??  Is     0:00.01 /usr/sbin/ppp -direct mp
> 14815  ??  Ss     0:00.10 /usr/sbin/ppp -direct mp
> 
> System at both ends is running 2.2.8-RELEASE, here are the basic config
> files...
> 
> <<<<client>>>>  'ppp -auto mp'
> 
> mp:
>  set timeout 0
>  set log phase chat
>  set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \
>           \"\" ATZ OK ATDT\\T TIMEOUT 45 CONNECT \"\" ogin: sbruns word: 12345"
>  set redial 30+30-20 0
>  set reconnect 30 5
>  set login
>  set ifaddr 203.20.114.195/0 10.0.0.2/0
>  set authname ppp
>  set authkey ppppassword
>  set mrru 1500
>  set enddisc label
> 
>  enable lqr
>  accept lqr
> 
>  clone 1,2
>  link deflink remove
>  link 1,2 set mode ddial
>  link 1 set phone "93291234"
>  link 2 set phone "93291234"
>  link 1 set device /dev/cuaa1
>  link 2 set device /dev/cuaa2
>  link 1 set speed 115200
>  link 2 set speed 115200
>  
> 
> <<<<server>>>>  'ppp -direct mp' from shell script run after normal login
> 
> mp:
>  allow user sbruns
>  allow mode direct
>  set openmode active
>  set timeout 0
>  set log phase chat
>  open
> 
>  set login
>  set ifaddr 203.20.114.32/0 10.0.0.2/0
>  set authname ppp
>  set authkey ppppassword
>  set mrru 1500
>  set enddisc label
> 
>  enable lqr
>  accept lqr
> 
>  clone 1,2
>  link deflink remove
> 
> 
> Note that I'm generally unfamiliar with user level PPP, so the basic
> config is from the man page and I haven't started tweaking things yet. I
> haven't bothered to set up PAP/CHAP because the chat script logs in via
> the login/Password prompt before starting up ppp.
> 
> Thanks for any help.  :-(
> 
> Cheers.
> 
> 
> --
> Rowan Crowe                              http://www.rowan.sensation.net.au/
> Sensation Internet Services                    http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

-- 
Josef Karthauser	FreeBSD: How many times have you booted today?
Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  5:17:13 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id DD7A915081
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 05:17:05 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id NAA94166;
	Mon, 9 Aug 1999 13:14:35 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id NAA02239;
	Mon, 9 Aug 1999 13:16:19 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091216.NAA02239@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Rowan Crowe <rowan@sensation.net.au>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Mon, 09 Aug 1999 21:11:24 +1000."
             <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 13:16:18 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> Hi all,
> 
> I seem to have come across a rather serious problem, I'm not sure whether
> it's something in my setup or it's a bug in ppp.
> 
> I am using a very recent version downloaded today - ppp-990809.src.tar.gz.
> Is this a day-to-day snapshot or have I just happened to come along when a
> stable version has been released? I'm using the recent version as the one
> supplied with 2.2.8R doesn't support multilink.
> 
> Anyway, the problem is that when running as a server (started with
> '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> carrier is lost. There's nothing suggesting it actually detects the loss
> of CD when I pull the (line) plug on the modem, and about 3 minutes later
> it complains about the lack of response to LQR packets and declares the
> bundle dead. However, the ppp task associated with that serial line
> doesn't exit! It's still sitting there 20 minutes later, with 'who' still
> showing up the login as if the modem was still connected. Meanwhile the
> dialin line is just ringing out as obviously mgetty isn't running. To
> regain control I have to log in via shell and kill off the ppp process.
[.....]

If you ``set log +debug'', ppp reports what it thinks about the state 
of carrier every second.  If your wiring is dodgy and carrier is 
not available, ppp will behave like this.

You can use the ``set cd'' command to configure how long ppp hangs 
around waiting for carrier....  Check out the man page.

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  5:36: 3 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from gw.caamora.com.au (jonath5.lnk.telstra.net [139.130.41.237])
	by hub.freebsd.org (Postfix) with ESMTP id 1A59C151FB
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 05:35:56 -0700 (PDT)
	(envelope-from jon@gw.caamora.com.au)
Received: (from jon@localhost)
	by gw.caamora.com.au (8.8.8/8.8.8) id WAA26823;
	Mon, 9 Aug 1999 22:33:36 +1000 (EST)
	(envelope-from jon)
Message-ID: <19990809223335.A26076@caamora.com.au>
Date: Mon, 9 Aug 1999 22:33:35 +1000
From: jonathan michaels <jon@caamora.com.au>
To: Josef Karthauser <joe@pavilion.net>,
	Rowan Crowe <rowan@sensation.net.au>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
Mail-Followup-To: Josef Karthauser <joe@pavilion.net>,
	Rowan Crowe <rowan@sensation.net.au>, freebsd-isp@FreeBSD.ORG
References: <Pine.BSF.4.01.9908092040260.9432-100000@velvet.sensation.net.au> <19990809124145.H59532@pavilion.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
In-Reply-To: <19990809124145.H59532@pavilion.net>; from Josef Karthauser on Mon, Aug 09, 1999 at 12:41:45PM +0100
X-Operating-System: FreeBSD gw.caamora.com.au 2.2.7-RELEASE i386
X-Mood: i'm alive, if it counts
Organisation: Caamora, PO Box 144, Rosebery NSW 1445 Australia
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, Aug 09, 1999 at 12:41:45PM +0100, Josef Karthauser wrote:

> May be a bug in PPP.  Brian is in the throws of incorporating ISDN support
> into PPP, and I had problems with his Saturday version.

can anyone throw some light on what sort of (isdn) hardware will be 
supported, thier isnt a lot of choice here in australia.

isdn is still a very expensive proposition here, and so 
hardware is scarce and fairly esoteric, 'twas last time i 
looked about 9 to 14 months ago from memory.

regards and thanks in advance, from an isdn challanged 
individual.

cheers

jonathan

ps, hello, rowan.

-- 
===============================================================================
Jonathan Michaels
PO Box 144, Rosebery, NSW 1445 Australia
===========================================================<jon@caamora.com.au>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  5:37: 6 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id 8FD6215217
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 05:36:57 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id WAA13102;
	Mon, 9 Aug 1999 22:34:32 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Mon, 9 Aug 1999 22:34:30 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-Reply-To: <199908091216.NAA02239@keep.lan.Awfulhak.org>
Message-ID: <Pine.BSF.4.01.9908092230460.9432-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, Brian Somers wrote:

> > Anyway, the problem is that when running as a server (started with
> > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> > carrier is lost. There's nothing suggesting it actually detects the loss
> > of CD when I pull the (line) plug on the modem, and about 3 minutes later
> > it complains about the lack of response to LQR packets and declares the
> > bundle dead. However, the ppp task associated with that serial line
> > doesn't exit! It's still sitting there 20 minutes later, with 'who' still
> > showing up the login as if the modem was still connected. Meanwhile the
> > dialin line is just ringing out as obviously mgetty isn't running. To
> > regain control I have to log in via shell and kill off the ppp process.
> [.....]
> 
> If you ``set log +debug'', ppp reports what it thinks about the state 
> of carrier every second.  If your wiring is dodgy and carrier is 
> not available, ppp will behave like this.

That still doesn't explain why ppp sticks around after it declares the
bundle closed due to lack of LQR replies... surely that's basically
equivalent to detecting carrier loss? :)

I'll increase the debug level and perhaps try an earlier version too, to
see if that changes anything.

BTW, the modems have been working fine with pppd...

BTW2, although I'm having this particular problem I'm otherwise impressed
with the stability and relative ease of setting up the multilink
connection - mpd looks similar but I figured user level ppp was probably
better supported. This is the initial test for a future set of (up to) 4 x
33.6k links.

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  6:17:32 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from smtp.interact.se (smtp.interact.se [193.15.98.9])
	by hub.freebsd.org (Postfix) with ESMTP id 4263914C2F
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 06:17:28 -0700 (PDT)
	(envelope-from je@interact.se)
Received: from interact.se (wolfie.interact.se [193.15.98.202])
	by smtp.interact.se (InterACT Mailer) with ESMTP id PAA21336
	for <freebsd-isp@FreeBSD.ORG>; Mon, 9 Aug 1999 15:12:01 +0200 (CEST)
Message-ID: <37AED3C1.7BD9B88@interact.se>
Date: Mon, 09 Aug 1999 15:12:33 +0200
From: InterACT Info <je@interact.se>
Organization: InterACT - http://www.interact.se
X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-isp@FreeBSD.ORG
Subject: Multi networkcards
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org



Have anyone successfully tryed a gateway/firewall
with more than ten or six interfaces?

-- 
InterACT Luleå / Jonas Eriksson
Network & Security Administrator
Tel: +46 (0)920 88803 - Fax: +46 (0)920 88399
Current temp in Lulea/Sweden is 13.8C (56.8F)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  6:18: 0 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id B3E921524F
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 06:17:53 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id WAA13633;
	Mon, 9 Aug 1999 22:50:34 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Mon, 9 Aug 1999 22:50:31 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-Reply-To: <199908091216.NAA02239@keep.lan.Awfulhak.org>
Message-ID: <Pine.BSF.4.01.9908092247560.9432-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, Brian Somers wrote:

> > Anyway, the problem is that when running as a server (started with
> > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> > carrier is lost. There's nothing suggesting it actually detects the loss
> > of CD when I pull the (line) plug on the modem, and about 3 minutes later

Just to complicate things, one of the links just went down so I kill
-TERM'd the ppp process at the originating router. This is what things
look like at the other end now:

 9999  ??  I      0:00.13 /usr/local/sbin/mgetty cuaa1
10055  ??  I      0:00.13 /usr/local/sbin/mgetty cuaa4

mgetty running, it appears carrier loss has been detected on both lines...

10056  ??  Ss     0:00.27 /usr/sbin/ppp -direct mp
16792  ??  Is     0:00.01 /usr/sbin/ppp -direct mp

unfortunately, ppp is still running. ;-(

Off to try the other version now.

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  6:18:44 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id DF11915227
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 06:18:34 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id WAA13477;
	Mon, 9 Aug 1999 22:45:54 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Mon, 9 Aug 1999 22:45:52 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: jonathan michaels <jon@caamora.com.au>
Cc: Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
In-Reply-To: <19990809223335.A26076@caamora.com.au>
Message-ID: <Pine.BSF.4.01.9908092236390.9432-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, jonathan michaels wrote:

> On Mon, Aug 09, 1999 at 12:41:45PM +0100, Josef Karthauser wrote:
> 
> > May be a bug in PPP.  Brian is in the throws of incorporating ISDN support
> > into PPP, and I had problems with his Saturday version.
> 
> can anyone throw some light on what sort of (isdn) hardware will be 
> supported, thier isnt a lot of choice here in australia.
> 
> isdn is still a very expensive proposition here, and so 
> hardware is scarce and fairly esoteric, 'twas last time i 
> looked about 9 to 14 months ago from memory.

Now that Australia is migrating to Onramp (ETSI based?) there's a better
chance that more equipment will be compatible. Testing and certification
for legal use here is another matter, of course...

I use a TA220 ISDN modem which I believe is a rebadged Motorola - it has 2
serial ports (one per 64k circuit - not sure about elsewhere but in
Australia a standard Microlink or Onramp2 has a couple of 64k circuits), a
2 line LCD display and a keypad. I'm using it in AT mode which means that
for all intents and purposes it's just a normal analog modem - ATDT to
dial, CONNECT 64000 etc... it works on both Microlink and Onramp2.

Mine was given to me (in fact it's probably more a loan) so I don't know
the exact price.

The TA440 is apparently the successor, but at the price Telstra quoted me
(something like $1450 for the 2 port version) it might be cheaper just
buying a low end Cisco. Of course you lose the flexibility of an open
source router then...

I believe Tennyson also make TA modems (www.tennyson.com.au), and you can
buy Netjet ISDN cards (not sure if Netjet is the brand or model name) but
these don't yet support FreeBSD. "Real Soon Now", they promise.

In reality though, setup costs pale into relative insignificance when you
consider the long term (~$250/month) running costs for an Onramp2 with a
64k data call cap.

> ps, hello, rowan.

G'day. :)

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  6:30:26 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from iservern.teligent.se (www.teligent.se [194.17.198.46])
	by hub.freebsd.org (Postfix) with ESMTP id C84D414D74
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 06:30:17 -0700 (PDT)
	(envelope-from jakob@teligent.se)
Received: from fwse.teligent.se (gateway.teligent.se [192.168.3.254] (may be forged))
	by iservern.teligent.se (8.8.7/8.8.7) with SMTP id PAA10266
	for <freebsd-isp@freebsd.org>; Mon, 9 Aug 1999 15:27:57 +0200 (CEST)
	(envelope-from jakob@teligent.se)
Date: Mon, 9 Aug 1999 15:25:53 +0200 (CEST)
From: Jakob Alvermark <jakob@teligent.se>
Reply-To: alvermark@teligent.se
To: freebsd-isp@freebsd.org
Subject: Dial-out server?
Message-ID: <Pine.BSF.4.10.9908091504320.3181-100000@teligent.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi!

I have a lot of users using a modem to dial out to various locations. Up
til now I've had one machine with FreeBSD and a modem to do the job. Very
simple setup, I use the userland ppp with the -auto option. Problem is
that it can only be used to reach one destination at a time and I have to
manually quit ppp and start it with another setting whenever the user(s)
want it to reach another destination I'm now thinking of setting up a
dedicated server for this, with maybe 3 or 4 modems.

I was wondering if I can make ppp (or some other program) to pick a modem
thats not in use automatically, as there will be more "destinations" than
modems.

Or do you know about any good hardware to do this, that's not too
expensive.

I'm thinking about something like a box with an incoming ISDN PRI, a
number of modems, and then a FreeBSD box with a multiport card. But I
don't know if such hardward exists...

TIA,
=09Jakob Alvermark

-------------------------------------------------------
 Teligent AB, P.O. Box 213, S-149 23 Nyn=E4shamn, Sweden  =20
Telephone +46-(0)8 520 660 00 * Fax +46-(0)8 520 193 36=20
 Direct +46-(0)8 520 660 32 * GSM +46-(0)70 792 16 57







To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  6:54:21 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from gw.caamora.com.au (jonath5.lnk.telstra.net [139.130.41.237])
	by hub.freebsd.org (Postfix) with ESMTP id E78871517B
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 06:54:14 -0700 (PDT)
	(envelope-from jon@gw.caamora.com.au)
Received: (from jon@localhost)
	by gw.caamora.com.au (8.8.8/8.8.8) id XAA27011;
	Mon, 9 Aug 1999 23:49:15 +1000 (EST)
	(envelope-from jon)
Message-ID: <19990809234914.A26949@caamora.com.au>
Date: Mon, 9 Aug 1999 23:49:14 +1000
From: jonathan michaels <jon@caamora.com.au>
To: Rowan Crowe <rowan@sensation.net.au>
Cc: Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
Mail-Followup-To: Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
References: <19990809223335.A26076@caamora.com.au> <Pine.BSF.4.01.9908092236390.9432-100000@velvet.sensation.net.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
In-Reply-To: <Pine.BSF.4.01.9908092236390.9432-100000@velvet.sensation.net.au>; from Rowan Crowe on Mon, Aug 09, 1999 at 10:45:52PM +1000
X-Operating-System: FreeBSD gw.caamora.com.au 2.2.7-RELEASE i386
X-Mood: i'm alive, if it counts
Organisation: Caamora, PO Box 144, Rosebery NSW 1445 Australia
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

rowan,

On Mon, Aug 09, 1999 at 10:45:52PM +1000, Rowan Crowe wrote:
> On Mon, 9 Aug 1999, jonathan michaels wrote:
> 
> > On Mon, Aug 09, 1999 at 12:41:45PM +0100, Josef Karthauser wrote:
> > 
> > > May be a bug in PPP.  Brian is in the throws of incorporating ISDN support
> > > into PPP, and I had problems with his Saturday version.
> > 
> > can anyone throw some light on what sort of (isdn) hardware will be 
> > supported, thier isnt a lot of choice here in australia.
> > 
> > isdn is still a very expensive proposition here, and so 
> > hardware is scarce and fairly esoteric, 'twas last time i 
> > looked about 9 to 14 months ago from memory.
> 
> Now that Australia is migrating to Onramp (ETSI based?) there's a better
> chance that more equipment will be compatible. Testing and certification
> for legal use here is another matter, of course...
> 
> I use a TA220 ISDN modem which I believe is a rebadged Motorola - it has 2
> serial ports (one per 64k circuit - not sure about elsewhere but in
> Australia a standard Microlink or Onramp2 has a couple of 64k circuits), a
> 2 line LCD display and a keypad. I'm using it in AT mode which means that
> for all intents and purposes it's just a normal analog modem - ATDT to
> dial, CONNECT 64000 etc... it works on both Microlink and Onramp2.

yes, thats whats being considered for the worlds largest, small, 
bedroom network (grin). a pair of 64kbit channels (bonded, if 
telstra's ciscos can handle this level of abstraction).

though i've started to look at frame relay with a cir (circuit 
burst rate) of about 256 kbit ... should be interesting.

> Mine was given to me (in fact it's probably more a loan) so I don't know
> the exact price.

same here, though i'm in teh 'convincing its worthwhile' stage.

> The TA440 is apparently the successor, but at the price Telstra quoted me
> (something like $1450 for the 2 port version) it might be cheaper just
> buying a low end Cisco. Of course you lose the flexibility of an open
> source router then...

or, one simply uses what one gets and hopes for improvements 
latter.

> I believe Tennyson also make TA modems (www.tennyson.com.au), and you can
> buy Netjet ISDN cards (not sure if Netjet is the brand or model name) but
> these don't yet support FreeBSD. "Real Soon Now", they promise.

a few others have asked me over the past little bit, i'll pass 
this on, thx.
 
> In reality though, setup costs pale into relative insignificance when you
> consider the long term (~$250/month) running costs for an Onramp2 with a
> 64k data call cap.

a side issue but sort of relevent, would anyone running isdn 
know what sort bit rate (maximun traffic) can be expected from 
a 64 kbit, 128 kbit or even a 256 kbit link before saturation 
sets in links fallover so to speak.

in the old days i worked out that if i could get a 33k6 circuit 
to the back bone this would be as good as running a 64 kbit 
isdn (our isdn feeders are not to reliable in my part of the 
world, more so with the selloff). hence the interest in frame 
relay or even multiple 33k6 (or v.90) with some sort of pstn 
based 'channel bonding'.

off cource the effective 128 kbit path to the back bone (3x33k6 
pstn pots circuits) at dirt cheap rates has nothing to do with 
this line of questioning ... grin. 

> > ps, hello, rowan.
> 
> G'day. :)
> 
> Cheers.

hope things are ok in your camp.

regards

jonathan

-- 
===============================================================================
Jonathan Michaels
PO Box 144, Rosebery, NSW 1445 Australia
===========================================================<jon@caamora.com.au>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  7:17:46 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9])
	by hub.freebsd.org (Postfix) with ESMTP id 3EEF9150AF
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 07:17:43 -0700 (PDT)
	(envelope-from jeff@mercury.jorsm.com)
Received: from localhost (jeff@localhost)
	by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id JAA22690;
	Mon, 9 Aug 1999 09:14:59 -0500 (CDT)
Date: Mon, 9 Aug 1999 09:14:59 -0500 (CDT)
From: Jeff Lynch <jeff@mercury.jorsm.com>
To: Len Conrad <lconrad@Go2France.com>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Quad processor motherboard?
In-Reply-To: <4.2.0.58.19990807113645.01f77aa0@go2france.com>
Message-ID: <Pine.BSF.3.95q.990809090803.21877A-100000@mercury.jorsm.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Sat, 7 Aug 1999, Len Conrad wrote:

> Jeff,
> 
> What specific ASUS board numbers?  Have you tried FreeBSD with ASUS' 
> RAID5/caching controller, the 2100?
> 
> Thanks,
> Len

We have several P2B-S in service and are very happy with them. Note
these are duals, not quads. 

http://www.asus.com/Products/Motherboard/Pentiumpro/P2b-s/index.html

No. We haven't tried their Raid controllers.

--jeff

============================================================================ 
Jeffrey A. Lynch		| JORSM Internet, Regional Internet Services
email: jeff@jorsm.com		| 7 Area Codes in Chicagoland and NW Indiana
Voice: (219)322-2180		| 100Mbps+ Connectivity, 56K-DS3, V.90, ISDN
Autoresponse: info@jorsm.com	| Quality Service, Affordable Prices
http://www.jorsm.com		| Serving Gov, Biz, Indivds Since 1995



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  7:37:45 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1])
	by hub.freebsd.org (Postfix) with ESMTP id 5DE1A151EE
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 07:37:42 -0700 (PDT)
	(envelope-from cdillon@wolves.k12.mo.us)
Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1])
	by mail.wolves.k12.mo.us (8.9.3/8.9.2) with ESMTP id JAA98753;
	Mon, 9 Aug 1999 09:35:36 -0500 (CDT)
	(envelope-from cdillon@wolves.k12.mo.us)
Date: Mon, 9 Aug 1999 09:35:36 -0500 (CDT)
From: Chris Dillon <cdillon@wolves.k12.mo.us>
To: InterACT Info <je@interact.se>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Multi networkcards
In-Reply-To: <37AED3C1.7BD9B88@interact.se>
Message-ID: <Pine.BSF.4.10.9908090909180.98350-100000@mail.wolves.k12.mo.us>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, InterACT Info wrote:

> Have anyone successfully tryed a gateway/firewall
> with more than ten or six interfaces?

More than six, yes.  I've been using a Compaq Proliant 3000 (PIII-500,
256MB) with six Intel EtherExpress PRO 10/100B's (82558) and one Dual
EtherExpress PRO 10/100B (dual 82558 + PCI bridge) for a total of 8
interfaces.  FreeBSD 3.1-RELEASE didn't want to see all of the PCI
busses in this particular server, but 3.2 saw everything just fine,
and works without a hitch.  I could easily put 10 interfaces in this
thing since it has a couple of free PCI slots, and I wouldn't forsee a
problem doing so.

The performance is quite good, by the way.  I've managed to saturate 4
of the interfaces at 100Mbit FD and the server didn't break a sweat.  
This was with 36 ipfw rules, with most of the traffic passing through
14 rules on its way in and out (exactly 28 rules for a packet to pass
through the box from one of my private networks to another).  
Granted, this was a bunch of SMB traffic passing between multiple NT
(blech) boxes, so the packets on average were fairly large.

Maybe in a few months, time allowing, I'll set up some workstations on
each of the networks to pump as much data as they can through all 8
interfaces, packets both big and small, and see how it performs.


-- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net
   FreeBSD: The fastest and most stable server OS on the planet.
   For Intel x86 and Alpha architectures (SPARC under development).
   ( http://www.freebsd.org )

   "One should admire Windows users.  It takes a great deal of
    courage to trust Windows with your data."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  8:10: 5 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 8C826150D1
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 08:10:02 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA94831;
	Mon, 9 Aug 1999 16:06:23 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA49466;
	Mon, 9 Aug 1999 16:08:09 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091508.QAA49466@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Rowan Crowe <rowan@sensation.net.au>
Cc: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Mon, 09 Aug 1999 22:34:30 +1000."
             <Pine.BSF.4.01.9908092230460.9432-100000@velvet.sensation.net.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 16:08:08 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> On Mon, 9 Aug 1999, Brian Somers wrote:
> 
> > > Anyway, the problem is that when running as a server (started with
> > > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> > > carrier is lost. There's nothing suggesting it actually detects the loss
> > > of CD when I pull the (line) plug on the modem, and about 3 minutes later
> > > it complains about the lack of response to LQR packets and declares the
> > > bundle dead. However, the ppp task associated with that serial line
> > > doesn't exit! It's still sitting there 20 minutes later, with 'who' still
> > > showing up the login as if the modem was still connected. Meanwhile the
> > > dialin line is just ringing out as obviously mgetty isn't running. To
> > > regain control I have to log in via shell and kill off the ppp process.
> > [.....]
> > 
> > If you ``set log +debug'', ppp reports what it thinks about the state 
> > of carrier every second.  If your wiring is dodgy and carrier is 
> > not available, ppp will behave like this.
> 
> That still doesn't explain why ppp sticks around after it declares the
> bundle closed due to lack of LQR replies... surely that's basically
> equivalent to detecting carrier loss? :)

And what does ``show links'' say ?  Ppp will only delete -direct and 
-background links when they close.  It won't delete other link types.

> I'll increase the debug level and perhaps try an earlier version too, to
> see if that changes anything.
[.....]

If you fire a log file with ``set log lcp ipcp command phase'' this 
way, I can have a look and see if there's anything odd there.

> Cheers.
> 
> 
> --
> Rowan Crowe                              http://www.rowan.sensation.net.au/
> Sensation Internet Services                    http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  8:10:45 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 2AE421523E
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 08:10:42 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA94842;
	Mon, 9 Aug 1999 16:08:42 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA50817;
	Mon, 9 Aug 1999 16:10:27 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091510.QAA50817@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Rowan Crowe <rowan@sensation.net.au>
Cc: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Mon, 09 Aug 1999 22:50:31 +1000."
             <Pine.BSF.4.01.9908092247560.9432-100000@velvet.sensation.net.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 16:10:27 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> On Mon, 9 Aug 1999, Brian Somers wrote:
> 
> > > Anyway, the problem is that when running as a server (started with
> > > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when
> > > carrier is lost. There's nothing suggesting it actually detects the loss
> > > of CD when I pull the (line) plug on the modem, and about 3 minutes later
> 
> Just to complicate things, one of the links just went down so I kill
> -TERM'd the ppp process at the originating router. This is what things
> look like at the other end now:
> 
>  9999  ??  I      0:00.13 /usr/local/sbin/mgetty cuaa1
> 10055  ??  I      0:00.13 /usr/local/sbin/mgetty cuaa4
> 
> mgetty running, it appears carrier loss has been detected on both lines...
> 
> 10056  ??  Ss     0:00.27 /usr/sbin/ppp -direct mp
> 16792  ??  Is     0:00.01 /usr/sbin/ppp -direct mp
> 
> unfortunately, ppp is still running. ;-(

How about setting up a diagnostic port (set server ...) and 
connecting to the dodgy processes ?  Are you perhaps using the ``set 
mode'' command to change the mode of the incoming links - stopping 
ppp from exiting ?

> Off to try the other version now.
> 
> Cheers.
> 
> 
> --
> Rowan Crowe                              http://www.rowan.sensation.net.au/
> Sensation Internet Services                    http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  8:34:38 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from etinc.com (et-gw.etinc.com [207.252.1.2])
	by hub.freebsd.org (Postfix) with ESMTP id DE9E0151BE
	for <isp@freebsd.org>; Mon,  9 Aug 1999 08:34:16 -0700 (PDT)
	(envelope-from dennis@etinc.com)
Received: from dbsys (dbsys.etinc.com [207.252.1.18])
	by etinc.com (8.9.3/8.9.3) with SMTP id LAA05746
	for <isp@freebsd.org>; Mon, 9 Aug 1999 11:27:41 -0400 (EDT)
Message-Id: <199908091527.LAA05746@etinc.com>
X-Sender: dennis@etinc.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
Date: Mon, 09 Aug 1999 10:22:31 -0400
To: isp@freebsd.org
From: Dennis <dennis@etinc.com>
Subject: Quad DLINK ethernet
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Has anyone successfully tried these? They are rather inexpensive.

Dennis


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  8:53:49 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from xenetserver.harz.de (xenetserver.harz.de [193.159.181.125])
	by hub.freebsd.org (Postfix) with ESMTP id C6D4D14BF1
	for <isp@freebsd.org>; Mon,  9 Aug 1999 08:53:40 -0700 (PDT)
	(envelope-from Matthias.Meyser@harz.de)
Received: (from matthias@localhost)
	by xenetserver.harz.de (8.9.1/8.9.1) id RAA02008;
	Mon, 9 Aug 1999 17:48:54 +0200 (CEST)
Message-ID: <19990809174854.A1926@xenetserver.harz.de>
Date: Mon, 9 Aug 1999 17:48:54 +0200
From: Matthias Meyser <Matthias.Meyser@harz.de>
To: Dennis <dennis@etinc.com>
Cc: isp@freebsd.org
Subject: Re: Quad DLINK ethernet
References: <199908091527.LAA05746@etinc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
In-Reply-To: <199908091527.LAA05746@etinc.com>; from Dennis on Mon, Aug 09, 1999 at 10:22:31AM -0400
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi

On Mon, Aug 09, 1999 at 10:22:31AM -0400, Dennis wrote:
> Has anyone successfully tried these? They are rather inexpensive.

Works very fine here (2 Cards / 8 Ports in one machine)
with FreeBSD 3.2-STABLE.

As with other cards there is one problem, media autoselection
doesn't work reliable when directly connected to another 
autoselecting device. To fix this you have to nail one end
to a fixed media speed.

Grettings
   matthias
-- 
\\   //      N   N EEE TTT Matthias Meyser, Meyser@harz.de
 \\ //  eee  NN  N E    T  Gesellschaft fuer Informations- und 
  \X/  e   e N N N EE   T  Kommunikationssysteme mbH
 // \\ e ee  N  NN E    T  38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
//   \\ eeee N   N EEE  T  Telefon: +49-5323-94018 Fax: +49-5323-94011


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  9: 0:23 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132])
	by hub.freebsd.org (Postfix) with ESMTP id BE59E152B5
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 09:00:11 -0700 (PDT)
	(envelope-from thierry.herbelot@alcatel.fr)
Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80])
        by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id QAA04098;
        Mon, 9 Aug 1999 16:53:21 +0200
Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65])
        by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id RAA02210;
        Mon, 9 Aug 1999 17:50:26 +0200 (MET DST)
Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4])
	by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with ESMTP id RAA09183;
	Mon, 9 Aug 1999 17:44:16 +0200 (MEST)
Received: from alcatel.fr by telss1 (8.8.8+Sun/SMI-SVR4)
	id RAA03518; Mon, 9 Aug 1999 17:53:36 +0200 (MET DST)
Message-ID: <37AEF9B3.87259EFC@alcatel.fr>
Date: Mon, 09 Aug 1999 17:54:27 +0200
From: Thierry Herbelot <thierry.herbelot@alcatel.fr>
Reply-To: thierry.herbelot@alcatel.fr
Organization: ALCATEL CIT Nanterre
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Chris Dillon <cdillon@wolves.k12.mo.us>
Cc: InterACT Info <je@interact.se>, freebsd-isp@FreeBSD.ORG
Subject: maximum UDP output (was Re: Multi networkcards)
References: <Pine.BSF.4.10.9908090909180.98350-100000@mail.wolves.k12.mo.us>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Talking about saturating interfaces, I've got here a little program
spitting UDP packets as fast at it can, in a burst.

The program is just a loop :

while (1)
	usleep(delay) // to adjust the rate
	for i = 1 to n
		send(socket, packet)

I've set up the socket as "connected" to speed up the kernel processing
(it is even bound to a local address).

I am still wondering why I can't use a burst of 6 packets or more unless
the emitted rate drops to one fifth of the one attained with a 5-packet
burst.

I've had a look at the usual suspects (ip_output, udp_output, ...), but
I've not seen the light (I've increased UDP send space, but everything
remains the same).

Anyway, I've got a box processing around 10K packets per second with a
40% load (PIII-450)

	TfH

Chris Dillon wrote:
> 
> On Mon, 9 Aug 1999, InterACT Info wrote:
> 
> > Have anyone successfully tryed a gateway/firewall
> > with more than ten or six interfaces?
> 
> More than six, yes.  I've been using a Compaq Proliant 3000 (PIII-500,
> 256MB) with six Intel EtherExpress PRO 10/100B's (82558) and one Dual
> EtherExpress PRO 10/100B (dual 82558 + PCI bridge) for a total of 8
> interfaces.  FreeBSD 3.1-RELEASE didn't want to see all of the PCI
> busses in this particular server, but 3.2 saw everything just fine,
> and works without a hitch.  I could easily put 10 interfaces in this
> thing since it has a couple of free PCI slots, and I wouldn't forsee a
> problem doing so.
> 
> The performance is quite good, by the way.  I've managed to saturate 4
> of the interfaces at 100Mbit FD and the server didn't break a sweat.
> This was with 36 ipfw rules, with most of the traffic passing through
> 14 rules on its way in and out (exactly 28 rules for a packet to pass
> through the box from one of my private networks to another).
> Granted, this was a bunch of SMB traffic passing between multiple NT
> (blech) boxes, so the packets on average were fairly large.
> 
> Maybe in a few months, time allowing, I'll set up some workstations on
> each of the networks to pump as much data as they can through all 8
> interfaces, packets both big and small, and see how it performs.
> 
> -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net
>    FreeBSD: The fastest and most stable server OS on the planet.
>    For Intel x86 and Alpha architectures (SPARC under development).
>    ( http://www.freebsd.org )
> 
>    "One should admire Windows users.  It takes a great deal of
>     courage to trust Windows with your data."
> 
> 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  Mon Aug  9  9:10:53 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 9E9D01514D
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 09:10:49 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id RAA95079;
	Mon, 9 Aug 1999 17:06:13 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id RAA51636;
	Mon, 9 Aug 1999 17:07:58 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091607.RAA51636@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: jonathan michaels <jon@caamora.com.au>
Cc: Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Mon, 09 Aug 1999 23:49:14 +1000."
             <19990809234914.A26949@caamora.com.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 17:07:58 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

jon@caamora.com.au said:
> can anyone throw some light on what sort of (isdn) hardware will be
> supported, thier isnt a lot of choice here in australia.

Ppp only runs using i4b - therefore, the cards supported are only 
those supported by the i4b stuff.  I believe only ISDN2E is currently 
supported (the E at the end stands for Europe - these are European 
standard ISDN links with 2 B channels).

Take a look at the comments in the -current version of LINT for 
details of which cards are supported:

  http://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/sys/i386/conf/LINT

> a side issue but sort of relevent, would anyone running isdn 
> know what sort bit rate (maximun traffic) can be expected from 
> a 64 kbit, 128 kbit or even a 256 kbit link before saturation 
> sets in links fallover so to speak.

I see 60000 - 68000bps per link (even in MP mode) when a single 
transfer is happening.  User-ppp currently measures throughput as the 
total throughput (both ways) which has a theoretical max of 128bps 
per channel.  You get near maximum **all the time** through Pavilion 
Internet.  Demon's ISDN seems to get marginally less, and I haven't 
tried MP there.

> in the old days i worked out that if i could get a 33k6 circuit 
> to the back bone this would be as good as running a 64 kbit 
> isdn (our isdn feeders are not to reliable in my part of the 
> world, more so with the selloff). hence the interest in frame 
> relay or even multiple 33k6 (or v.90) with some sort of pstn 
> based 'channel bonding'.

You can run user-ppp at both ends of a set of analogue lines in MP 
mode - that's how I tested the software after I finished writing it 
(it was tested during development with ppp running ppp -direct 
back-to-back.

> off cource the effective 128 kbit path to the back bone (3x33k6 
> pstn pots circuits) at dirt cheap rates has nothing to do with 
> this line of questioning ... grin. 

I had exactly the same opinion, but there are a couple of other 
variables.  The biggie is the speed of bringing up an ISDN link - it 
comes up in seconds, not minutes.  This makes dial-on-demand a 
reality in my book.

The *real* problem with user-ppp in this arena is that it doesn't do 
any of the compression algorithms that the hardware at most ISPs does 
- ie, MPPC or STAC.


Does *ANYONE* know anybody that could push some buttons in this area 
and either get deflate/predictor supported on some server hardware or 
else get Microsoft/Stac to allow me to emulate their compression 
algorithms ?  It would make a huge difference !

> > > ps, hello, rowan.
> > 
> > G'day. :)
> > 
> > Cheers.
> 
> hope things are ok in your camp.
> 
> regards
> 
> jonathan
> 
> -- 
> ===============================================================================
> Jonathan Michaels
> PO Box 144, Rosebery, NSW 1445 Australia
> ===========================================================<jon@caamora.com.au

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  9:12:37 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 514441516C
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 09:12:33 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id RAA95092;
	Mon, 9 Aug 1999 17:10:17 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id RAA51695;
	Mon, 9 Aug 1999 17:12:02 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091612.RAA51695@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: alvermark@teligent.se
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Dial-out server? 
In-reply-to: Your message of "Mon, 09 Aug 1999 15:25:53 +0200."
             <Pine.BSF.4.10.9908091504320.3181-100000@teligent.se> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Mon, 09 Aug 1999 17:12:02 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> =

> Hi!
> =

> I have a lot of users using a modem to dial out to various locations. U=
p
> til now I've had one machine with FreeBSD and a modem to do the job. Ve=
ry
> simple setup, I use the userland ppp with the -auto option. Problem is
> that it can only be used to reach one destination at a time and I have =
to
> manually quit ppp and start it with another setting whenever the user(s=
)
> want it to reach another destination I'm now thinking of setting up a
> dedicated server for this, with maybe 3 or 4 modems.
> =

> I was wondering if I can make ppp (or some other program) to pick a mod=
em
> thats not in use automatically, as there will be more "destinations" th=
an
> modems.

How about

  set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 /dev/cuaa3

Ppp will attempt to lock each in order and will use the first one it =

manages to lock.  Locking is standard across all (standard) programs =

- see uucplock(3).

> Or do you know about any good hardware to do this, that's not too
> expensive.
> =

> I'm thinking about something like a box with an incoming ISDN PRI, a
> number of modems, and then a FreeBSD box with a multiport card. But I
> don't know if such hardward exists...

The sky's the limit :-]

> TIA,
> 	Jakob Alvermark
> =

> -------------------------------------------------------
>  Teligent AB, P.O. Box 213, S-149 23 Nyn=E4shamn, Sweden   =

> Telephone +46-(0)8 520 660 00 * Fax +46-(0)8 520 193 36 =

>  Direct +46-(0)8 520 660 32 * GSM +46-(0)70 792 16 57

-- =

Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  9:36:12 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id 8581D1516C
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 09:36:05 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id CAA21800;
	Tue, 10 Aug 1999 02:32:25 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Tue, 10 Aug 1999 02:32:23 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-Reply-To: <199908091508.QAA49466@keep.lan.Awfulhak.org>
Message-ID: <Pine.BSF.4.01.9908100228080.16934-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, Brian Somers wrote:

> And what does ``show links'' say ?


Thanks for the tip, this might be a clue:

PPP ON core1-mel> show links
Name: deflink [direct, open] bandwidth 115200, 1560 bps (195 bytes/sec)
Name: 1 [interactive, closed]
Name: 2 [interactive, closed]
Name: deflink-1 [direct, open] bandwidth 115200, 1528 bps (191 bytes/sec)

I wonder if "1" and "2" are anything to do with the processes that stay
around. Why does 'deflink' show up when there's a 'link deflink remove'
command in ppp.conf? Where does 'deflink-1' come from? Here's ppp.conf
again for your reference...

mp:
 allow user sbruns
 allow mode direct
 set openmode active
 set timeout 0
 set log phase chat
 set server +3000 12345
 open

 set login
 set ifaddr 203.20.114.32/0 10.0.0.2/0
 set authname ppp
 set authkey ppppassword
 set mrru 1500
 set enddisc label

 enable lqr
 accept lqr

# disable keep-session

 clone 1,2
 link deflink remove

>  Ppp will only delete -direct and 
> -background links when they close.  It won't delete other link types.

Originator is -auto (not the problem), server end is -direct. There's no
mode change settings in ppp.conf (I presume 'openmode' isn't relevant - I
had to set it to active and add in 'open' to make it talk)

The fact that '1' and '2' are listed as 'interactive' above might have
something to do with the prob...

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9  9:44: 4 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70])
	by hub.freebsd.org (Postfix) with SMTP id 3964C15267
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 09:43:58 -0700 (PDT)
	(envelope-from oppermann@pipeline.ch)
Received: (qmail 10765 invoked from network); 9 Aug 1999 16:38:50 -0000
Received: from unknown (HELO pipeline.ch) ([195.134.128.41]) (envelope-sender <oppermann@pipeline.ch>)
          by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP
          for <brian@FreeBSD.org.uk>; 9 Aug 1999 16:38:50 -0000
Message-ID: <37AF043C.D1A55F1E@pipeline.ch>
Date: Mon, 09 Aug 1999 18:39:24 +0200
From: Andre Oppermann <oppermann@pipeline.ch>
X-Mailer: Mozilla 4.03 [en] (WinNT; U)
MIME-Version: 1.0
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: jonathan michaels <jon@caamora.com.au>,
	Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality
References: <199908091607.RAA51636@keep.lan.Awfulhak.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Brian Somers wrote:
> The *real* problem with user-ppp in this arena is that it doesn't do
> any of the compression algorithms that the hardware at most ISPs does
> - ie, MPPC or STAC.
> 
> Does *ANYONE* know anybody that could push some buttons in this area
> and either get deflate/predictor supported on some server hardware or
> else get Microsoft/Stac to allow me to emulate their compression
> algorithms ?  It would make a huge difference !

RFC1967, RFC1974, RFC2118, RFC2395 has some hints on the subject.

-- 
Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 10: 4: 4 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id A441E15177
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 10:03:54 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id CAA22675;
	Tue, 10 Aug 1999 02:59:28 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Tue, 10 Aug 1999 02:59:20 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-Reply-To: <Pine.BSF.4.01.9908100228080.16934-100000@velvet.sensation.net.au>
Message-ID: <Pine.BSF.4.01.9908100252180.16934-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Tue, 10 Aug 1999, Rowan Crowe wrote:

>  clone 1,2
>  link deflink remove

Following on from the last message, I think this is where the extra links
are coming from. The man page doesn't say you *don't* have to clone on the
server side, so it looks like that was my mistake! I commented out the
above 2 lines and it's now working [better].

There's still the problem of the carrier drop not being detected - very
strange. Until the LQR kicks in no IP traffic passes over the mppp link,
but the good news is that once that happens everything seems to exit and
clean up; a subsequent redial attempt of the downed modem succeeds and IP
traffic is once again passed over the mppp link.

I've downed each modem once and the number of ppp processes is staying
stable at 2 once the modem comes back up.

I'm wondering how to fix the CD problem. Does the 'set cd' command work
for the server side? The way I read it it's only relevant for scripted
dialins (ie the client side).

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 10:19:39 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 4E32A1526F
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 10:19:35 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id SAA95324;
	Mon, 9 Aug 1999 18:12:43 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id SAA52188;
	Mon, 9 Aug 1999 18:14:29 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091714.SAA52188@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Rowan Crowe <rowan@sensation.net.au>
Cc: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Tue, 10 Aug 1999 02:59:20 +1000."
             <Pine.BSF.4.01.9908100252180.16934-100000@velvet.sensation.net.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 18:14:22 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> On Tue, 10 Aug 1999, Rowan Crowe wrote:
> 
> >  clone 1,2
> >  link deflink remove
> 
> Following on from the last message, I think this is where the extra links
> are coming from. The man page doesn't say you *don't* have to clone on the
> server side, so it looks like that was my mistake! I commented out the
> above 2 lines and it's now working [better].

You've got to bear in mind that ppp allows you to create new links 
even in -direct mode.  This will facilitate BACP nicely when I get 
time to implement it.  You only need to create links you plan to use.

Ppp is smart on the incoming side.  You make two links to machine A, 
and two ppp processes start up.  When they realize that they should 
be part of the same link, one invocation passes the link to the other 
then hangs around 'till the other version of ppp is finished with it 
(so that getty doesn't grab and revoke() the line).

> There's still the problem of the carrier drop not being detected - very
> strange. Until the LQR kicks in no IP traffic passes over the mppp link,
> but the good news is that once that happens everything seems to exit and
> clean up; a subsequent redial attempt of the downed modem succeeds and IP
> traffic is once again passed over the mppp link.
> 
> I've downed each modem once and the number of ppp processes is staying
> stable at 2 once the modem comes back up.
> 
> I'm wondering how to fix the CD problem. Does the 'set cd' command work
> for the server side? The way I read it it's only relevant for scripted
> dialins (ie the client side).

The server side will do the same as the client side except that it 
uses descriptor 0 (as set up by getty) rather than opening its own 
device.  You need to enable ``debug'' logging to see what's going on 
there.  A ``set cd 1!'' will tell ppp to wait up to 1 second for 
carrier and then close the link if it's not there - it may be worth 
experimenting with.  You may also want something like ``set cd 3!'' 
if your modems are slow at asserting carrier (I've only seen one such 
report before).

> Cheers.
> 
> 
> --
> Rowan Crowe                              http://www.rowan.sensation.net.au/
> Sensation Internet Services                    http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 10:32:22 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from daedal.oneway.com (daedal.oneway.com [205.252.89.49])
	by hub.freebsd.org (Postfix) with ESMTP id 3DEA6152DC
	for <isp@FreeBSD.ORG>; Mon,  9 Aug 1999 10:30:59 -0700 (PDT)
	(envelope-from jay@oneway.com)
Received: from localhost (jay@localhost)
	by daedal.oneway.com (8.9.1/8.9.1) with ESMTP id NAA24805;
	Mon, 9 Aug 1999 13:27:55 -0400 (EDT)
	(envelope-from jay@oneway.com)
Date: Mon, 9 Aug 1999 13:27:55 -0400 (EDT)
From: Jay Kuri <jay@oneway.com>
To: Dennis <dennis@etinc.com>
Cc: isp@FreeBSD.ORG
Subject: Re: Quad DLINK ethernet
In-Reply-To: <199908091527.LAA05746@etinc.com>
Message-ID: <Pine.BSF.4.05.9908091327080.24067-100000@daedal.oneway.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


> Has anyone successfully tried these? They are rather inexpensive.

	We have one in a new server (about to go online) and 4 more
waiting to find their way into gateway machines.  Thus far, we have seen
no problems at all.

Jay

- - - - - - - - - - - - - - - - - - - - - - - - - 
 UNIX: because reboots are for hardware upgrades

        Jay Kuri	 jay@oneway.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 10:46:14 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id CFB2314E14
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 10:46:04 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id AAA17523
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 00:32:23 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Tue, 10 Aug 1999 00:32:21 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: freebsd-isp@freebsd.org
Subject: ppp + multilink problem - followup
Message-ID: <Pine.BSF.4.01.9908100014430.16934-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Just as a followup here's the relevant part of ppp.log on the server and
my commentary...

Aug 10 00:14:22 core1-mel ppp[29387]: Phase: Using interface: tun0
Aug 10 00:14:22 core1-mel ppp[29387]: Phase: deflink: Created in closed state
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: Using interface: tun1
Aug 10 00:14:22 core1-mel ppp[29387]: Phase: bundle: Establish
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: deflink: Created in closed state
Aug 10 00:14:22 core1-mel ppp[29387]: Phase: deflink: closed -> opening
Aug 10 00:14:22 core1-mel ppp[29387]: Phase: 1: Cloned in closed state
Aug 10 00:14:22 core1-mel ppp[29387]: Phase: 2: Cloned in closed state
Aug 10 00:14:22 core1-mel ppp[29387]: Warning: remove: Cannot delete links that aren't closed
Aug 10 00:14:22 core1-mel ppp[29387]: Warning: link deflink remove: Failed 2

...is this a warning I can ignore or an indication of a problem?

Aug 10 00:14:22 core1-mel ppp[29387]: Phase: PPP Started (direct mode).
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: bundle: Establish
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: deflink: closed -> opening
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: 1: Cloned in closed state
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: 2: Cloned in closed state
Aug 10 00:14:22 core1-mel ppp[29213]: Warning: remove: Cannot delete links that aren't closed
Aug 10 00:14:22 core1-mel ppp[29213]: Warning: link deflink remove: Failed 2
Aug 10 00:14:22 core1-mel ppp[29213]: Phase: PPP Started (direct mode).
Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: Connected!
Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: opening -> lcp
Aug 10 00:14:23 core1-mel ppp[29213]: Phase: deflink: Connected!
Aug 10 00:14:23 core1-mel ppp[29213]: Phase: deflink: opening -> lcp
Aug 10 00:14:23 core1-mel ppp[29387]: Phase: mp: Listening on /var/run/ppp--01-6d70
Aug 10 00:14:23 core1-mel ppp[29387]: Phase:     First link: deflink
Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: lcp -> open
Aug 10 00:14:23 core1-mel ppp[29387]: Phase: bundle: Network
Aug 10 00:14:24 core1-mel ppp[29213]: Phase: mp: Transfer link on /var/run/ppp--01-6d70
Aug 10 00:14:24 core1-mel ppp[29387]: Phase: Receiving datalink
Aug 10 00:14:24 core1-mel ppp[29213]: Phase: Transmitting datalink deflink
Aug 10 00:14:24 core1-mel ppp[29213]: Phase: bundle: Dead
Aug 10 00:14:24 core1-mel ppp[29387]: Phase: Rename link deflink to deflink-1
Aug 10 00:14:24 core1-mel ppp[29387]: Phase: deflink-1: Transferred in lcp state
Aug 10 00:14:24 core1-mel ppp[29387]: Phase: deflink-1: lcp -> open
Aug 10 00:14:24 core1-mel ppp[29866]: Phase: 29213 -> 29866: Passed session control

Multilink successfully established, the 2 PIDs of ppp are 29387 and 29866

*pulls out cable of one of the modems at the client end*

The client end has detected the carrier drop after a few seconds, but the
server end is still sitting there doing nothing. According to 'who' the
modem is still connected at the server end.

As soon as the first link drops all IP traffic stops, and it will not
resume until both the stray PPP processes at the server are killed off and
the entire thing is redialled.

After a few minutes the lack of LQR replies causes this...

Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: ** Too many LQR packets lost **
Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: open -> lcp
Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: Disconnected!
Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: Connect time: 333 secs: 1075 octets in, 781 octets out
Aug 10 00:19:57 core1-mel ppp[29387]: Phase:  total 5 bytes/sec, peak 43 bytes/sec on Tue Aug 10 00:19:57 1999
Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: lcp -> closed

ppp pid 29387 has detected the link is down, but it's still running:

29387  a1  Ss+    0:01.39 /usr/sbin/ppp -direct mp

I'm wondering why it doesn't exit, am I doing something wrong in the
config? Perhaps it's sitting there in passive mode waiting for a new
connection to start? (even though it never will as long as it's attached
to cuaa1 which is now an offline modem)

If it helps this is what top says about 29387...

  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
29387 sbruns    2   0   852K  1368K select   0:02  0.00%  0.00% ppp

Thank you all for your suggestions so far. By the way, this is the ppp
that came with 3.2-RELEASE (recompiled on the 2.2.8-R machines) -
unfortunately it didn't fix the problem.

BTW, why does the originating ppp occasionally do strange things like
initiate a *new* dial 15-20 sec after I kill -TERM it? Is this the correct
way to shut it down? (I just did it then and it's dialled about 4-6 times
before exiting)

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 11: 1:59 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from host07.rwsystems.net (kasie.rwsystems.net [209.197.223.3])
	by hub.freebsd.org (Postfix) with ESMTP id EA0961516A
	for <isp@freebsd.org>; Mon,  9 Aug 1999 11:01:55 -0700 (PDT)
	(envelope-from jwyatt@RWSystems.net)
Received: from kasie.rwsystems.net([209.197.223.3]) (1426 bytes) by host07.rwsystems.net
	via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp
	(sender: <jwyatt@RWSystems.net>) 
	id <m11DtLO-000bxtC@host07.rwsystems.net>
	for <isp@freebsd.org>; Mon, 9 Aug 1999 12:36:18 -0500 (CDT)
	(Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-24)
Date: Mon, 9 Aug 1999 12:36:04 -0500 (CDT)
From: James Wyatt <jwyatt@RWSystems.net>
To: Dennis <dennis@etinc.com>
Cc: isp@freebsd.org
Subject: Re: Quad DLINK ethernet
In-Reply-To: <199908091527.LAA05746@etinc.com>
Message-ID: <Pine.BSF.4.05.9908091138401.17296-100000@kasie.rwsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, Dennis wrote:
> Has anyone successfully tried these? They are rather inexpensive.

They look like a standard DEC PCI bridge chip and four Tulip chips (like
the NetGear 10/100 PCI board). Thanks for the reference! The DLink web
page goes into great depth to push the NT driver - which does some cool
things - but completely misses Unix. (btw: the drivers were done by IP
Metrics Software just up the street from us) I need something like this,
so I have been looking around some. So far:

	www.cdw.com and www.cmpexpress.com - not available
	www.mcglen.com - $174.91       

www.pricewatch.com says www.pcnation.com has it for $177, but the pcnation
web site has no knowledge of it. If anyone else has a reputable vendor
that can convert VISA to UPS, I'd like to hear about them. - Jy@



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 11: 5:31 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from ccsales.com (ccsales.com [216.0.22.30])
	by hub.freebsd.org (Postfix) with ESMTP id E745514BEC
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 11:05:29 -0700 (PDT)
	(envelope-from randyk@ccsales.com)
Received: (from randyk@localhost)
	by ccsales.com (8.9.1/8.9.0) id LAA14774;
	Mon, 9 Aug 1999 11:03:46 -0700 (PDT)
Message-ID: <19990809110346.02936@ccsales.com>
Date: Mon, 9 Aug 1999 11:03:46 -0700
From: randyk <randyk@ccsales.com>
To: freebsd-isp@freebsd.org
Subject: Attack or What?
Reply-To: randyk@ccsales.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hello,

We have had this condition a few times. We thought it was a switch or
bandwidth limiter condition but after 3 brands of top name switches and
2 bandwidth limiters I am beginning to think otherwise.

The network has 2 ds3's coming into a Cisco 7507 on to a Xedia bandwidth
limiter on to gigabit ethernet cascaded Extreme Summit 48 switches.

The condition is as follows:

1. Extreme activity in the 90mbit range on 3 out of 4 of the switches.
2. This activity pumping up the outbound activity on one of the ds3 lines to
double our normal usage (from 18mbits to around 40mbits).
3. Activity subsides after around 15-20 minutes.

We have done all the usual Cisco limiting and filtering for SMURF broad-
casts that have been posted. We have around 200 FreeBSD machines internally.

I was wondering if there is something we should be doing to those machines
that might reduce this activity if it is:

  a) One of our machines being hijacked.
  b) One of our customers on the machines doing bad things.

The machines in question are webservers.

Thank you,
Randy Katz



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 16:10:38 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from awfulhak.org (dynamic-124.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.124])
	by hub.freebsd.org (Postfix) with ESMTP id 2B60615327
	for <freebsd-isp@FreeBSD.ORG>; Mon,  9 Aug 1999 16:09:49 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8])
	by awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA21641;
	Mon, 9 Aug 1999 20:51:59 +0100 (BST)
	(envelope-from brian@lan.awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA01465;
	Mon, 9 Aug 1999 19:31:19 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908091831.TAA01465@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Andre Oppermann <oppermann@pipeline.ch>
Cc: Brian Somers <brian@FreeBSD.org.uk>,
	jonathan michaels <jon@caamora.com.au>,
	Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Mon, 09 Aug 1999 18:39:24 +0200."
             <37AF043C.D1A55F1E@pipeline.ch> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 09 Aug 1999 19:31:19 +0100
From: Brian Somers <brian@Awfulhak.org>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Brian Somers wrote:
> > The *real* problem with user-ppp in this arena is that it doesn't do
> > any of the compression algorithms that the hardware at most ISPs does
> > - ie, MPPC or STAC.
> > 
> > Does *ANYONE* know anybody that could push some buttons in this area
> > and either get deflate/predictor supported on some server hardware or
> > else get Microsoft/Stac to allow me to emulate their compression
> > algorithms ?  It would make a huge difference !
> 
> RFC1967, RFC1974, RFC2118, RFC2395 has some hints on the subject.

Indeed.  I've read these and even talked to the people mentioned.  
They say that I must be a company (I can do that) and must sign an 
NDA (I won't do that).

I don't see why I have to sign an NDA to write some software using 
rfcs.  The MPPC spec publishes the format, but nobody's allowed to 
implement it without an NDA ?  You'd only ever get this from M$ !

Up 'till now, it didn't really bother me 'cos I had a modem that did 
hardware compression.  Now I have an ISDN line and nothing compresses 
anything - I've got a vested interest.

My previous message was more of an appeal for somebody with a bit of 
clout (this *is* freebsd-isp) to talk to Stac or M$ to convince them 
to give me written permission to implement their protocol.  They won't 
really say much to me except ``NDA'' :-(

> -- 
> Andre

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 17:13:37 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from velvet.sensation.net.au (multippp0-velvet-brunswick.sensation.net.au [203.20.114.195])
	by hub.freebsd.org (Postfix) with ESMTP id 07DE01519C
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 17:13:28 -0700 (PDT)
	(envelope-from rowan@sensation.net.au)
Received: from localhost (rowan@localhost)
	by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id KAA06689
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 10:09:39 +1000 (EST)
	(envelope-from rowan@sensation.net.au)
X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs
Date: Tue, 10 Aug 1999 10:09:38 +1000 (EST)
From: Rowan Crowe <rowan@sensation.net.au>
To: freebsd-isp@freebsd.org
Subject: Re: problem with user level ppp, using multilink functionality 
In-Reply-To: <199908091831.TAA01465@keep.lan.Awfulhak.org>
Message-ID: <Pine.BSF.4.01.9908101004370.23761-100000@velvet.sensation.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, 9 Aug 1999, Brian Somers wrote:

> > > Does *ANYONE* know anybody that could push some buttons in this area
> > > and either get deflate/predictor supported on some server hardware or
> > > else get Microsoft/Stac to allow me to emulate their compression
> > > algorithms ?  It would make a huge difference !

...

> Up 'till now, it didn't really bother me 'cos I had a modem that did 
> hardware compression.  Now I have an ISDN line and nothing compresses 
> anything - I've got a vested interest.

After seeing transfer rates of 65kbytes/sec over 2 x 33.6k modems using
deflate/predictor1 compression I'm also hanging out for compression that's
compatible with a typical proprietary router such as a Cisco.

Admittedly it was a highly compressible text file, but I'm sure there is
still some benefit to be had in general use. My upstream provider doesn't
even do _VJ_!! (I think this is more a policy decision though...)

I also have a direct peering link with another ISP, FreeBSD at my end,
Cisco his end. In this case there's no policy problem, just "compression
incompatibility" - VJ is the best we've been able to acheive.

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Mon Aug  9 21:25:20 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from linux1.usls.edu (linux1.usls.edu [202.47.133.46])
	by hub.freebsd.org (Postfix) with ESMTP id EDCD7150EE
	for <freebsd-isp@freebsd.org>; Mon,  9 Aug 1999 21:24:01 -0700 (PDT)
	(envelope-from francis@usls.edu)
Received: by linux1.usls.edu (Postfix, from userid 500)
	id A03A775CA; Tue, 10 Aug 1999 11:51:55 +0800 (PHT)
Received: from localhost (localhost [127.0.0.1])
	by linux1.usls.edu (Postfix) with ESMTP id 9ADC075BC
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 11:51:55 +0800 (PHT)
Date: Tue, 10 Aug 1999 11:51:55 +0800 (JST)
From: "Francis A. Vidal" <francis@usls.edu>
To: FreeBSD ISP <freebsd-isp@freebsd.org>
Message-ID: <Pine.LNX.4.05.9908101141050.1983-100000@linux1.usls.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

hi all,

we are planning of giving our students, faculty and staff e-mail accounts
this year (7,500 population). i have evaluated two web interface packages
-- IMP and TWIG -- which are both very good and offer a nice interface to 
the e-mail system.

however, adding, deleting, disabling, and changing user information is
quite a task for 7,200 accounts with only a couple of full-time staff.
what tools do we need to manage these accounts? it would also be nice if
all the accounts were stored in a SQL server. i have looked into the
possibility of using these packages:

	OS -- FreeBSD
	SQL server -- MySql 3.22.25
	MTA -- Postfix (supports SQL server lookups)
	IMAP & POP -- Cyrus
	Web Interface -- TWIG or IMP
	Web Server -- Apache 1.3.6 + SSL + PHP3

the problem is how to `glue' these packages together for easier
management. it's also good if the users were able to change the password
themselves via a web interface and not to call us everytime they want to
change their passwords.

-- 
francis vidal   university of st. la salle, bacolod city, philippines
. . . . . . .   PGP key available via e-mail / subject: get PGP key
u s l s N E T   tel. nos. (6334).435.2324 / 433.3526



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  2: 4:20 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 8EEED1527C
	for <freebsd-isp@FreeBSD.ORG>; Tue, 10 Aug 1999 02:04:12 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id KAA86054;
	Tue, 10 Aug 1999 10:03:49 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA00773;
	Tue, 10 Aug 1999 08:46:20 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908100746.IAA00773@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Rowan Crowe <rowan@sensation.net.au>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: ppp + multilink problem - followup 
In-reply-to: Your message of "Tue, 10 Aug 1999 00:32:21 +1000."
             <Pine.BSF.4.01.9908100014430.16934-100000@velvet.sensation.net.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 10 Aug 1999 08:46:20 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Just as a followup here's the relevant part of ppp.log on the server and
> my commentary...
> 
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: Using interface: tun0
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: deflink: Created in closed state
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: Using interface: tun1
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: bundle: Establish
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: deflink: Created in closed state
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: deflink: closed -> opening
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: 1: Cloned in closed state
> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: 2: Cloned in closed state
> Aug 10 00:14:22 core1-mel ppp[29387]: Warning: remove: Cannot delete links that aren't closed
> Aug 10 00:14:22 core1-mel ppp[29387]: Warning: link deflink remove: Failed 2
> 
> ...is this a warning I can ignore or an indication of a problem?

It's as it says.  When ppp starts in -direct mode, it uses descriptor 
0 as the incoming link.  The default name is ``deflink''.  You're 
trying to delete this link, but it's open so ppp refuses.

You shouldn't be trying to delete it - and you shouldn't be cloning 
links wither unless you're going to use them.  This'll stop ppp from 
exiting....

> Aug 10 00:14:22 core1-mel ppp[29387]: Phase: PPP Started (direct mode).
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: bundle: Establish
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: deflink: closed -> opening
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: 1: Cloned in closed state
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: 2: Cloned in closed state
> Aug 10 00:14:22 core1-mel ppp[29213]: Warning: remove: Cannot delete links that aren't closed
> Aug 10 00:14:22 core1-mel ppp[29213]: Warning: link deflink remove: Failed 2
> Aug 10 00:14:22 core1-mel ppp[29213]: Phase: PPP Started (direct mode).
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: Connected!
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: opening -> lcp
> Aug 10 00:14:23 core1-mel ppp[29213]: Phase: deflink: Connected!
> Aug 10 00:14:23 core1-mel ppp[29213]: Phase: deflink: opening -> lcp
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase: mp: Listening on /var/run/ppp--01-6d70
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase:     First link: deflink
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase: deflink: lcp -> open
> Aug 10 00:14:23 core1-mel ppp[29387]: Phase: bundle: Network
> Aug 10 00:14:24 core1-mel ppp[29213]: Phase: mp: Transfer link on /var/run/ppp--01-6d70
> Aug 10 00:14:24 core1-mel ppp[29387]: Phase: Receiving datalink
> Aug 10 00:14:24 core1-mel ppp[29213]: Phase: Transmitting datalink deflink
> Aug 10 00:14:24 core1-mel ppp[29213]: Phase: bundle: Dead
> Aug 10 00:14:24 core1-mel ppp[29387]: Phase: Rename link deflink to deflink-1
> Aug 10 00:14:24 core1-mel ppp[29387]: Phase: deflink-1: Transferred in lcp state
> Aug 10 00:14:24 core1-mel ppp[29387]: Phase: deflink-1: lcp -> open
> Aug 10 00:14:24 core1-mel ppp[29866]: Phase: 29213 -> 29866: Passed session control
> 
> Multilink successfully established, the 2 PIDs of ppp are 29387 and 29866

What really happened:

pid 29213 transferred it's link to pid 29387.  29387 now does all the 
work.  Normally, if you hadn't cloned things, ppp would now change 
it's process name ``session owner'' and wait to be killed by 29387 
(when it's finished with the link).

However, because 29213 still owns some other links (the ones you 
cloned), it fork()s and 29213 becomes the session owner, but the new 
pid (29866) continues to run with the cloned links.... after all, 
these could subsequently be changed to auto links and another 
connection could be established etc etc.

> *pulls out cable of one of the modems at the client end*
> 
> The client end has detected the carrier drop after a few seconds, but the
> server end is still sitting there doing nothing. According to 'who' the
> modem is still connected at the server end.

What's supposed to happen under these circumstances:

  29387 does a TIOCMGET 1 second later and notices that the link has no 
  carrier.  It does the equivalent of a ``down'' and realizes that the 
  link has a process id associated with it.  It sends a signal to 29213.

  29213 exits allowing the getty to be resurrected by init on the link. 
  Because the link is type ``direct'', 29387 automatically removes the 
  link.

  The end result:  There's a getty running, 29387 knows nothing about 
  the link and 29866 continues to fester.

> As soon as the first link drops all IP traffic stops, and it will not
> resume until both the stray PPP processes at the server are killed off and
> the entire thing is redialled.

This is because ppp still thinks there are two links and it's queued 
data on the dead link.  Until this data arrives at the other end for 
reassembly (which it never will), the data stream will be blocked.

This is the crux of the prolem - if we ignore the stray process 
that's the result of the ``clone''.

I've asked over and over that you enable debug logging so that we can 
see if ppp thinks that the link supports carrier.  It would also be 
nice if you could enable a diagnostic port (``set server /tmp/tun%d "" 
0177'' would be good) and connect to the relevant process and do a 
``link deflink-1 show physical''.  It should say near the top if 
carrier was found on the link.

> After a few minutes the lack of LQR replies causes this...
> 
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: ** Too many LQR packets lost **
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: open -> lcp
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: Disconnected!
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: Connect time: 333 secs: 1075 octets in, 781 octets out
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase:  total 5 bytes/sec, peak 43 bytes/sec on Tue Aug 10 00:19:57 1999
> Aug 10 00:19:57 core1-mel ppp[29387]: Phase: deflink-1: lcp -> closed
> 
> ppp pid 29387 has detected the link is down, but it's still running:
> 
> 29387  a1  Ss+    0:01.39 /usr/sbin/ppp -direct mp

29387 should still has the original link that it was started with - 
that wasn't disconnected was it ?

> I'm wondering why it doesn't exit, am I doing something wrong in the
> config? Perhaps it's sitting there in passive mode waiting for a new
> connection to start? (even though it never will as long as it's attached
> to cuaa1 which is now an offline modem)
> 
> If it helps this is what top says about 29387...
> 
>   PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 29387 sbruns    2   0   852K  1368K select   0:02  0.00%  0.00% ppp
> 
> Thank you all for your suggestions so far. By the way, this is the ppp
> that came with 3.2-RELEASE (recompiled on the 2.2.8-R machines) -
> unfortunately it didn't fix the problem.
> 
> BTW, why does the originating ppp occasionally do strange things like
> initiate a *new* dial 15-20 sec after I kill -TERM it? Is this the correct
> way to shut it down? (I just did it then and it's dialled about 4-6 times
> before exiting)

Depends on your link mode.  If you connect to the diagnostic socket 
(created with ``set server'' above) and do a ``show links'' or ``link 
* show physical'' it'll tell you the mode.  ``link * show datalink'' 
should tell you about redials and stuff.

> 
> Cheers.
> 
> 
> --
> Rowan Crowe                              http://www.rowan.sensation.net.au/
> Sensation Internet Services                    http://www.sensation.net.au/
> Melbourne, Australia                                 Phone: +61-3-9388-9260

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  3:35:32 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70])
	by hub.freebsd.org (Postfix) with SMTP id BE44415264
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 03:35:22 -0700 (PDT)
	(envelope-from oppermann@pipeline.ch)
Received: (qmail 25374 invoked from network); 10 Aug 1999 10:32:32 -0000
Received: from unknown (HELO pipeline.ch) ([195.134.128.41]) (envelope-sender <oppermann@pipeline.ch>)
          by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP
          for <brian@Awfulhak.org>; 10 Aug 1999 10:32:32 -0000
Message-ID: <37AFFFE3.AC1DAFFB@pipeline.ch>
Date: Tue, 10 Aug 1999 12:33:07 +0200
From: Andre Oppermann <oppermann@pipeline.ch>
X-Mailer: Mozilla 4.03 [en] (WinNT; U)
MIME-Version: 1.0
To: Brian Somers <brian@Awfulhak.org>
Cc: Brian Somers <brian@FreeBSD.org.uk>,
	jonathan michaels <jon@caamora.com.au>,
	Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@freebsd.org
Subject: Re: problem with user level ppp, using multilink functionality
References: <199908091831.TAA01465@keep.lan.Awfulhak.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Brian Somers wrote:
> 
> > Brian Somers wrote:
> > > The *real* problem with user-ppp in this arena is that it doesn't do
> > > any of the compression algorithms that the hardware at most ISPs does
> > > - ie, MPPC or STAC.
> > >
> > > Does *ANYONE* know anybody that could push some buttons in this area
> > > and either get deflate/predictor supported on some server hardware or
> > > else get Microsoft/Stac to allow me to emulate their compression
> > > algorithms ?  It would make a huge difference !
> >
> > RFC1967, RFC1974, RFC2118, RFC2395 has some hints on the subject.
> 
> Indeed.  I've read these and even talked to the people mentioned.
> They say that I must be a company (I can do that) and must sign an
> NDA (I won't do that).
> 
> I don't see why I have to sign an NDA to write some software using
> rfcs.  The MPPC spec publishes the format, but nobody's allowed to
> implement it without an NDA ?  You'd only ever get this from M$ !
> 
> Up 'till now, it didn't really bother me 'cos I had a modem that did
> hardware compression.  Now I have an ISDN line and nothing compresses
> anything - I've got a vested interest.
> 
> My previous message was more of an appeal for somebody with a bit of
> clout (this *is* freebsd-isp) to talk to Stac or M$ to convince them
> to give me written permission to implement their protocol.  They won't
> really say much to me except ``NDA'' :-(

OK, lemme see what they tell me when I ask them through my company.

-- 
Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  3:42:20 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from cronus.medianetwork.se (cronus.medianetwork.se [193.14.204.1])
	by hub.freebsd.org (Postfix) with ESMTP id 30C85153BC
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 03:42:05 -0700 (PDT)
	(envelope-from support@junglenote.com)
Received: from junglenote.com (digital12.medianetwork.se [193.14.204.230]) by cronus.medianetwork.se (8.9.3/8.7) with SMTP id MAA29263 for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 12:05:45 +0200
Received: from enigmatic [127.0.0.1] by junglenote.com [localhost] with SMTP (MDaemon.v2.7.SP5.R) for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 12:13:04 +0200
Received: by localhost with Microsoft MAPI; Tue, 10 Aug 1999 12:13:03 +0200
Message-ID: <01BEE329.B20F6430.support@junglenote.com>
From: Dan Larsson <support@junglenote.com>
To: "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@freebsd.org>
Subject: email to fax and/or sms query
Date: Tue, 10 Aug 1999 12:13:02 +0200
Organization: Portabla Datorer AB
X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-MDaemon-Deliver-To: freebsd-isp@freebsd.org
X-Return-Path: support@junglenote.com
Reply-To: support@junglenote.com
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi!

Has someone tested sendmail --> hylafax in an isp enviornment?
Does it cope? Are there any ready to go solutions for mail to sms?

Thanks!

/D




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  3:49:43 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from ender.ncsa.es (ender.ncsa.es [194.179.50.15])
	by hub.freebsd.org (Postfix) with ESMTP id 4DDAF15259
	for <freebsd-isp@FreeBSD.ORG>; Tue, 10 Aug 1999 03:49:36 -0700 (PDT)
	(envelope-from jesusr@ncsa.es)
Received: from ender.ncsa.es (localhost [127.0.0.1])
	by ender.ncsa.es (8.9.3/8.9.3) with ESMTP id MAA19305;
	Tue, 10 Aug 1999 12:51:04 +0200 (CEST)
	(envelope-from jesusr@ncsa.es)
Message-ID: <XFMail.990810125104.jesusr@ncsa.es>
X-Mailer: XFMail 1.3 [p0] on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <01BEE329.B20F6430.support@junglenote.com>
Date: Tue, 10 Aug 1999 12:51:04 +0200 (CEST)
Reply-To: jesusr@ncsa.es
Organization: Nexus Comunicaciones, S.A.
From: Jesus Rodriguez <jesusr@ncsa.es>
To: Dan Larsson <support@junglenote.com>
Subject: RE: email to fax and/or sms query
Cc: "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@FreeBSD.ORG>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


On 10-Aug-99 Dan Larsson wrote:
> Hi!
> 
> Has someone tested sendmail --> hylafax in an isp enviornment?

Yes... and works great!

Saludos
JesusR.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  4: 0:28 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id BDE2214A2E
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 04:00:23 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id LAA87076;
	Tue, 10 Aug 1999 11:58:45 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA01126;
	Tue, 10 Aug 1999 12:00:34 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908101100.MAA01126@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: Andre Oppermann <oppermann@pipeline.ch>
Cc: Brian Somers <brian@Awfulhak.org>,
	Brian Somers <brian@FreeBSD.org.uk>,
	jonathan michaels <jon@caamora.com.au>,
	Rowan Crowe <rowan@sensation.net.au>,
	Josef Karthauser <joe@pavilion.net>, freebsd-isp@freebsd.org
Subject: Re: problem with user level ppp, using multilink functionality 
In-reply-to: Your message of "Tue, 10 Aug 1999 12:33:07 +0200."
             <37AFFFE3.AC1DAFFB@pipeline.ch> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 10 Aug 1999 12:00:34 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Brian Somers wrote:
> > 
> > > Brian Somers wrote:
> > > > The *real* problem with user-ppp in this arena is that it doesn't do
> > > > any of the compression algorithms that the hardware at most ISPs does
> > > > - ie, MPPC or STAC.
> > > >
> > > > Does *ANYONE* know anybody that could push some buttons in this area
> > > > and either get deflate/predictor supported on some server hardware or
> > > > else get Microsoft/Stac to allow me to emulate their compression
> > > > algorithms ?  It would make a huge difference !
> > >
> > > RFC1967, RFC1974, RFC2118, RFC2395 has some hints on the subject.
> > 
> > Indeed.  I've read these and even talked to the people mentioned.
> > They say that I must be a company (I can do that) and must sign an
> > NDA (I won't do that).
> > 
> > I don't see why I have to sign an NDA to write some software using
> > rfcs.  The MPPC spec publishes the format, but nobody's allowed to
> > implement it without an NDA ?  You'd only ever get this from M$ !
> > 
> > Up 'till now, it didn't really bother me 'cos I had a modem that did
> > hardware compression.  Now I have an ISDN line and nothing compresses
> > anything - I've got a vested interest.
> > 
> > My previous message was more of an appeal for somebody with a bit of
> > clout (this *is* freebsd-isp) to talk to Stac or M$ to convince them
> > to give me written permission to implement their protocol.  They won't
> > really say much to me except ``NDA'' :-(
> 
> OK, lemme see what they tell me when I ask them through my company.

Thank you.  Looks like I'll owe you more than a few pints by the end 
of the month :-)

> -- 
> Andre

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  4: 0:38 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from binnen.mail.nl.demon.net (binnen.mail.nl.demon.net [194.159.72.192])
	by hub.freebsd.org (Postfix) with ESMTP id 778D714D40
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 04:00:34 -0700 (PDT)
	(envelope-from arjan@nl.demon.net)
Received: from inventionz.noc.nl.demon.net ([194.159.72.199])
	by binnen.mail.nl.demon.net with esmtp (Exim 3.02 #1)
	id 11E9cV-000PFm-00; Tue, 10 Aug 1999 12:59:03 +0200
Received: from arjan (helo=localhost)
	by inventionz.noc.nl.demon.net with local-esmtp (Exim 2.12 #1)
	id 11E9iE-000NFZ-00; Tue, 10 Aug 1999 13:04:58 +0200
Date: Tue, 10 Aug 1999 13:04:58 +0200 (CEST)
From: Arjan van der Oest <arjan@nl.demon.net>
X-Sender: arjan@inventionz.noc.nl.demon.net
To: Dan Larsson <support@junglenote.com>
Cc: freebsd-isp@freebsd.org
Subject: Re: email to fax and/or sms query
In-Reply-To: <01BEE329.B20F6430.support@junglenote.com>
Message-ID: <Pine.BSF.4.10.9908101256240.86057-100000@inventionz.noc.nl.demon.net>
X-no-archive: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Tue, 10 Aug 1999, Dan Larsson wrote:

> Has someone tested sendmail --> hylafax in an isp enviornment?
> Does it cope? Are there any ready to go solutions for mail to sms?

We're running a e-mail gateway for TPC here at Demon Internet (Both in the
UK and in Amsterdam). I don't know anything about the actual setup, as we
only provide the hardware facilities and the boxes are completely
maintained by TPC. I do know however that the only problems we're seeing
here are hardware failures (the scsi-rs-232 board nieeds to be kicked once
in a while).

ao
-- 
Jes: xntp is your friend. The evil empire of Redmond is not.
Evil Empire is a registered trademark of Ronald Reagan's sole
functioning brain cell.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  6:11:11 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107])
	by hub.freebsd.org (Postfix) with ESMTP id 53B2B14BDA
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 06:11:08 -0700 (PDT)
	(envelope-from jcptch@osfmail.isc.rit.edu)
Received: from grace ("port 2210"@[129.21.3.102])
 by osfmail.isc.rit.edu (PMDF V5.2-32 #34621)
 with SMTP id <0FG900NIG2EBB6@osfmail.isc.rit.edu> for freebsd-isp@freebsd.org;
 Tue, 10 Aug 1999 08:51:47 -0400 (EDT)
Received: by grace (5.65v4.0/1.1.19.2/21Sep98-0910AM)	id AA01465; Tue,
 10 Aug 1999 08:52:01 -0400
Date: Tue, 10 Aug 1999 08:52:00 -0400
From: Jon Parise <jcptch@osfmail.isc.rit.edu>
Subject: Re: your mail
In-reply-to: <Pine.LNX.4.05.9908101141050.1983-100000@linux1.usls.edu>; from
 francis@usls.edu on Tue, Aug 10, 1999 at 11:51:55AM +0800
To: FreeBSD ISP <freebsd-isp@freebsd.org>
Mail-followup-to: FreeBSD ISP <freebsd-isp@freebsd.org>
Message-id: <19990810085200.G31932@osfmail.isc.rit.edu>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
User-Agent: Mutt/0.96.3i
X-Operating-System: OSF1 V4.0 (alpha)
References: <Pine.LNX.4.05.9908101141050.1983-100000@linux1.usls.edu>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Tue, Aug 10, 1999 at 11:51:55AM +0800, Francis A. Vidal wrote:

> however, adding, deleting, disabling, and changing user information is
> quite a task for 7,200 accounts with only a couple of full-time staff.
> what tools do we need to manage these accounts? it would also be nice if
> all the accounts were stored in a SQL server. i have looked into the
> possibility of using these packages:
> 
> 	OS -- FreeBSD
> 	SQL server -- MySql 3.22.25
> 	MTA -- Postfix (supports SQL server lookups)
> 	IMAP & POP -- Cyrus
> 	Web Interface -- TWIG or IMP
> 	Web Server -- Apache 1.3.6 + SSL + PHP3
 
It looks like you could easily get away with storing your user
information in a mysql database.  Use 'mod_auth_mysql' to
authenticate web users in apache.  I'm not sure if cyrus will play
nice with sql, so that might be your only hack.

You could also run cistron radius with the mysql patches.  I
believe freebsd will can do authentication from a radius server
using a pam module.  I haven't really played with this before, so
this information might be incorrect.

> the problem is how to `glue' these packages together for easier
> management. it's also good if the users were able to change the password
> themselves via a web interface and not to call us everytime they want to
> change their passwords.

That should be trivial if you're storing your user information in a
database.  Just make sure they're properly authenticated beforehand
and that the connection is secure.

-- 
Jon Parise (parise@pobox.com)  .  Rochester Inst. of Technology
http://www.pobox.com/~parise/  :  Computer Science House Member


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  7:26:22 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from heaven.gigo.com (heaven.gigo.com [209.0.55.69])
	by hub.freebsd.org (Postfix) with ESMTP id AFC99153FF
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 07:26:21 -0700 (PDT)
	(envelope-from jfesler@gigo.com)
Received: from heaven.gigo.com (heaven.gigo.com [209.0.55.69])
	by heaven.gigo.com (Postfix) with ESMTP
	id 458AF5FD; Tue, 10 Aug 1999 07:22:18 -0700 (PDT)
Date: Tue, 10 Aug 1999 07:22:18 -0700 (PDT)
From: <jfesler@gigo.com>
To: Dan Larsson <support@junglenote.com>
Cc: "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@freebsd.org>
Subject: Re: email to fax and/or sms query
In-Reply-To: <01BEE329.B20F6430.support@junglenote.com>
Message-ID: <Pine.BSF.4.05.9908100721550.41543-100000@heaven.gigo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Has someone tested sendmail --> hylafax in an isp enviornment?
> Does it cope? Are there any ready to go solutions for mail to sms?

Depending on your volumn..  possibly look at efax.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  7:26:26 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from heaven.gigo.com (heaven.gigo.com [209.0.55.69])
	by hub.freebsd.org (Postfix) with ESMTP id D98481541D
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 07:26:24 -0700 (PDT)
	(envelope-from jfesler@gigo.com)
Received: from heaven.gigo.com (heaven.gigo.com [209.0.55.69])
	by heaven.gigo.com (Postfix) with ESMTP
	id 74D3862E; Tue, 10 Aug 1999 07:22:46 -0700 (PDT)
Date: Tue, 10 Aug 1999 07:22:46 -0700 (PDT)
From: <jfesler@gigo.com>
To: Dan Larsson <support@junglenote.com>
Cc: "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@freebsd.org>
Subject: Re: email to fax and/or sms query
In-Reply-To: <01BEE329.B20F6430.support@junglenote.com>
Message-ID: <Pine.BSF.4.05.9908100722270.41543-100000@heaven.gigo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Has someone tested sendmail --> hylafax in an isp enviornment?
> Does it cope? Are there any ready to go solutions for mail to sms?

As for SMS, most SMS providers I've seen, also have their own email
gateway..



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10  7:26:50 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17])
	by hub.freebsd.org (Postfix) with ESMTP id 887BF15431
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 07:26:44 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id RAA11182
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 17:28:09 +0300 (EEST)
	(envelope-from andyo@prime.net.ua)
Message-ID: <37B036F3.E9B8E7C9@prime.net.ua>
Date: Tue, 10 Aug 1999 17:28:04 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
Organization: M-Info
X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: en, ru, uk
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: HDLC error again (again not fatal for connection:)
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I'm very curious about last HDLC msg during ppp  session.
I've replaced pppd with ppp on modems pool. I did as
I planned  - getty rases ppp up  with -direct flag and ttyN as
profile. Everything works great but this HDLC error...
It's not fatal for connection - session with client still active
while I'm writing this post. I think Brian have answer surely :)
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: SendConfigAck(2)
state = Ack-Rcvd
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP:   [EMPTY]
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: State change
Ack-Rcvd --> Opened
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: LayerUp.
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: Out = none[-1], In
= none[-1]
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: RecvTerminateReq(3)
state = Opened
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: LayerDown.
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: SendTerminateAck(3)
state = Opened
Aug 10 17:01:36 gate ppp2[9179]: tun1: CCP: deflink: State change Opened
--> Stopping
Aug 10 17:01:38 gate ppp2[9179]: tun1: CCP: deflink: LayerFinish.
Aug 10 17:01:38 gate ppp2[9179]: tun1: CCP: deflink: State change
Stopping --> Stopped
Aug 10 17:02:33 gate ppp2[9179]: tun1: Phase: deflink: HDLC errors ->
FCS: 0, ADDR: 0, COMD: 0, PROTO: 2


--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money ö%-)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10 13:58:56 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from freja.webgiro.com (freja.webgiro.com [212.209.29.10])
	by hub.freebsd.org (Postfix) with ESMTP id B2B0215476
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 13:58:48 -0700 (PDT)
	(envelope-from abial@webgiro.com)
Received: by freja.webgiro.com (Postfix, from userid 1001)
	id 3FC871911; Tue, 10 Aug 1999 22:58:49 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by freja.webgiro.com (Postfix) with ESMTP
	id 3CE694A0B; Tue, 10 Aug 1999 22:58:49 +0200 (CEST)
Date: Tue, 10 Aug 1999 22:58:49 +0200 (CEST)
From: Andrzej Bialecki <abial@webgiro.com>
To: Jon Parise <jcptch@osfmail.isc.rit.edu>
Cc: FreeBSD ISP <freebsd-isp@freebsd.org>
Subject: Re: your mail
In-Reply-To: <19990810085200.G31932@osfmail.isc.rit.edu>
Message-ID: <Pine.BSF.4.05.9908102258100.9440-100000@freja.webgiro.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Tue, 10 Aug 1999, Jon Parise wrote:

> You could also run cistron radius with the mysql patches.  I
> believe freebsd will can do authentication from a radius server
> using a pam module.  I haven't really played with this before, so
> this information might be incorrect.

Yes, it works very well.

Andrzej Bialecki

//  <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com)
// -------------------------------------------------------------------
// ------ FreeBSD: The Power to Serve. http://www.freebsd.org --------
// --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10 14:40:46 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mail.iol.ie (mail2.mail.iol.ie [194.125.2.193])
	by hub.freebsd.org (Postfix) with ESMTP id E0FFC14D41
	for <freebsd-isp@FreeBSD.ORG>; Tue, 10 Aug 1999 14:40:42 -0700 (PDT)
	(envelope-from martind@iol.ie)
Received: from oemcomputer (dialup-299.cork.iol.ie [193.203.148.43]) by mail.iol.ie 
	  Sendmail (v8.9.3) with SMTP id WAA86482 for <freebsd-isp@FreeBSD.ORG>;
	  Tue, 10 Aug 1999 22:40:20 +0100 (IST)
Message-ID: <003b01bee378$e911ef80$2b94cbc1@oemcomputer>
From: "Martind" <martind@iol.ie>
To: <freebsd-isp@FreeBSD.ORG>
Subject: online control panel 
Date: Tue, 10 Aug 1999 22:40:00 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0038_01BEE381.47877AA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This is a multi-part message in MIME format.

------=_NextPart_000_0038_01BEE381.47877AA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I want is an online control panel to allow  webusers to change their =
e-mail setup/add pop's/ alter passwords, view stats/ change unix =
passwords etc,
is there anything like this, or even does SOME of these things around, I =
know some have been developed inhouse, im just wondering if there is =
anything you can download,
Thanks for your time
Martin

------=_NextPart_000_0038_01BEE381.47877AA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I want is an online control panel to =
allow&nbsp;=20
webusers to change their e-mail setup/add pop's/ alter passwords, view =
stats/=20
change unix passwords etc,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>is there anything like this, or even =
does SOME=20
of these things around, I know some have been developed inhouse, im just =

wondering if there is anything you can download,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks for your time</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Martin</FONT></DIV></BODY></HTML>

------=_NextPart_000_0038_01BEE381.47877AA0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10 15:22:54 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mail.delanet.com (hermes.delanet.com [208.9.136.62])
	by hub.freebsd.org (Postfix) with SMTP id C10E814CA7
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 15:22:51 -0700 (PDT)
	(envelope-from stevec@delanet.com)
Received: (qmail 77683 invoked from network); 10 Aug 1999 22:23:42 -0000
Received: from unknown (HELO delanet.com) (208.9.136.123)
  by mail.delanet.com with SMTP; 10 Aug 1999 22:23:42 -0000
Message-ID: <37B0A5DC.6B983446@delanet.com>
Date: Tue, 10 Aug 1999 18:21:16 -0400
From: "Stephen C. Comoletti" <stevec@delanet.com>
Organization: DelaNET, Inc.
X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: Problems with 100Base on Qlogic 1040b
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I've recently upgraded to a 100base switch and put all of our main
servers on it. Some of the servers are running FreeBSD 3.2r with a
Qlogic 1040b controller on the MB (DEC 300i+ workstations). Problem I am
having is that they refuse to negotiate at 100base on powerup or reboot.
I added a 'ifconfig de0 media 100BaseTX' to the rc.conf for them, and
while I have a green light on the switch, until I ifconfig down, then up
the interface, it is not active. My 3.1 boxes seem somewhat more
tollerant to this problem. I've put new cables in to be sure they were
not an issue.  I also have several MS NT4 machines on the same hardware
which do not have any problems at all, which leads me to believe it's
unique to this paticular driver....Are there any updates to this driver
and/or changes I can make to fix this? Otherwise I'm stuck with a
machine that is unable to have an unattended reboot or I run at 10Base
again.

Please cc me in any replies as I'm not on this list.

Thanks in advance,

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10 15:31:37 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134])
	by hub.freebsd.org (Postfix) with SMTP id CBBB014E6D
	for <freebsd-isp@FreeBSD.ORG>; Tue, 10 Aug 1999 15:31:17 -0700 (PDT)
	(envelope-from barrett@phoenix.aye.net)
Received: (qmail 10807 invoked by uid 1000); 3 Aug 1999 13:57:31 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 3 Aug 1999 13:57:31 -0000
Date: Tue, 3 Aug 1999 09:57:31 -0400 (EDT)
From: Barrett Richardson <barrett@phoenix.aye.net>
To: Steve Hovey <shovey@buffnet.net>
Cc: Mitch Vincent <cygone@zoomnet.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
In-Reply-To: <Pine.BSF.4.05.9908030847010.9007-100000@buffnet11.buffnet.net>
Message-ID: <Pine.BSF.4.01.9908030955260.2994-100000@phoenix.aye.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


You can just have multiple address records 

www      IN    A    x.x.x.3
         IN    A    x.x.x.4
              .
              .
              .
         IN    A    x.x.x.n

On Tue, 3 Aug 1999, Steve Hovey wrote:

> 
> Anyone know a good place they can point me to for the how-tos of round
> robin DNS?
> 
> On Mon, 2 Aug 1999, Mitch Vincent wrote:
> 
> > Isn't the most common way of load balancing  something like a web server,
> > just round-robin DNS?
> > 
> > I know there are several hardware solutions for load balancing, but I'd say
> > round-robin is the most commonly used non-hardware method.
> > 
> > 
> > -Mitch
> > 
> > "When all your plans fail, backup, re-group and press on. The only real
> > failure is quitting..."
> > 
> > -----Original Message-----
> > From: Craig W. Shaver <cshaver@infoseek.com>
> > To: LutzRab@omc.net <LutzRab@omc.net>; freebsd-isp@FreeBSD.ORG
> > <freebsd-isp@FreeBSD.ORG>
> > Date: Monday, August 02, 1999 5:04 PM
> > Subject: Re: Loadbalance webservers
> > 
> > 
> > >
> > >> Subject: Loadbalance webservers
> > >> Reply-To: LutzRab@omc.net
> > >> X-mailer: Pegasus Mail for Win32 (v3.11)
> > >> Sender: owner-freebsd-isp@FreeBSD.ORG
> > >> X-Loop: FreeBSD.org
> > >> Precedence: bulk
> > >>
> > >> We have the problem to split the traffic to a busy website on two or
> > >> more webservers. This needs to be done in a way that the client doesn't
> > >> realize that there are different machines serving the same domain.
> > >>
> > >> We use 3.2.STABLE with apache 1.3.6/php.
> > >>
> > >> Is there an approach to do this under FreeBSD?
> > >>
> > >> I guess that yahoo.com does not have just one frontend webserver...
> > >>
> > >> lutz rabing
> > >> -OMCnet Internet Service GmbH-
> > >>
> > >
> > >
> > >I've seen two that work pretty well, but they are not shareware/open
> > >source.  One method is to use cisco local director.  The cisco people
> > >are coming out with a revision on this that allows you to run a load
> > >input back to the director from a program running at a specific port on
> > >your individual web server.  That would allow you to determine a factor
> > >that tells the cisco box how loaded you are :).  That could be
> > >determined by load, cpu utilization, memory usage, swap, etc.  The
> > >current version of local director uses the number of connections and any
> > >predetermined heuristic that you input for load balancing.
> > >
> > >Another solution is Resonate.  I am currently using that on
> > >http://translator.go.com/ for both the front ends and back ends.  It is
> > >very flexible and can be configured to do all sorts of custom load
> > >balancing.  It can even be used to map a single port to multiple ports.
> > >They have a version for Linux, but not for freebsd.  Maybe if enough of
> > >us ask they could do one for freebsd.  They seem to be pretty responsive
> > >to my questions.  They run agents on multiple servers that have been
> > >ifconfig'd to answer to the same ip.  The agents talk to each other and
> > >do heartbeats.  One agent is the master, another is the failover
> > >scheduler, and the rest are just plain servers.  This package is easy to
> > >set up and administer.  I like it.
> > >
> > >
> > >
> > >--
> > >cshaver@infoseek.com (408)543-6451
> > >Craig Shaver, Productivity Group
> > >POB 60458 Sunnyvale, CA  94088 (650)390-0654
> > >http://www.progroup.com/ mailto:craig@progroup.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
> > 
> 
> 
> 
> 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 Aug 10 17:10:11 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134])
	by hub.freebsd.org (Postfix) with SMTP id AE858154D3
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 17:10:07 -0700 (PDT)
	(envelope-from barrett@phoenix.aye.net)
Received: (qmail 1337 invoked by uid 1000); 5 Aug 1999 00:03:02 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 5 Aug 1999 00:03:02 -0000
Date: Wed, 4 Aug 1999 20:03:02 -0400 (EDT)
From: Barrett Richardson <barrett@phoenix.aye.net>
To: Luis Moreno <luis@cantv.net>
Cc: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org
Subject: Re: Troubles with Apache on FreeBSD
In-Reply-To: <37A8AF77.7515952F@cantv.net>
Message-ID: <Pine.BSF.4.01.9908041953500.27916-100000@phoenix.aye.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Try this as a cgi script.

-----  cut ----
#!/bin/sh
echo Content-type: text/html
echo
echo "<html>"
echo "<pre>"
ulimit  -a          #check resource limits
echo
echo
/usr/sbin/pstat -T  #check fd usage
echo
echo
/usr/sbin/swapinfo -k  #check swap usage
echo "</pre>"
echo "</html>"
--------- cut ----------

There is also a potential gotcha with login.conf to look out for.
The resource limits may be different for daemon processes than for
user processes. Apache could have different resource limits
depending on whether it was started from an rc file at boot time,
or from the command line.

-

Barrett


On Wed, 4 Aug 1999, Luis Moreno wrote:

> Hello there.
>=20
> I=B4m runing Apache Web Server/1.3.0 with Ben-SSL/1.19 and
> FrontPage/3.0.4.2 PHP/3.0.6 on FreeBSD 2.2.6
>=20
> A snapshot of the head of top command is like this:
> Last pid:  8175;  load averages:  0.71,  0.19,  0.06
> 17:15:22
> 126 processes: 2 running, 124 sleeping CPU states:  3.1% user,  0.0%
> nice,  3.5% system,  1.2% interrupt, 92.2% idle
> Mem: 137M Active, 44M Inact, 30M Wired, 39M Cache, 8348K Buf, 788K Free
> Swap: 512M Total, 64K Used, 512M Free
>=20
> The server seems to be ok, but eventualy I=B4m geting problems with the
> execution of cgi script=B4s. This is the error message from the error
> Apache logs
> [Wed Aug  4 17:13:17 1999] [error] (35)Resource temporarily unavailable:
> couldn't spawn child process: /var/www/cgi-bin/Count.cgi
>=20
> Did anybody get=B4s the same?
>=20
> Thanks in advance for yor help.
>=20
> Luis.
>=20
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>=20



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Tue Aug 10 19:51:17 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mailb.telia.com (mailb.telia.com [194.22.194.6])
	by hub.freebsd.org (Postfix) with ESMTP id 4D0D714D06
	for <freebsd-isp@freebsd.org>; Tue, 10 Aug 1999 19:50:57 -0700 (PDT)
	(envelope-from girgen@partitur.se)
Received: from stordatan.telia.com (t7o62p15.telia.com [195.198.199.135])
	by mailb.telia.com (8.8.8/8.8.8) with ESMTP id EAA00224
	for <freebsd-isp@freebsd.org>; Wed, 11 Aug 1999 04:50:53 +0200 (CEST)
Received: from partitur.se (localhost [127.0.0.1])
	by stordatan.telia.com (8.9.3/8.9.1) with ESMTP id EAA28120
	for <freebsd-isp@freebsd.org>; Wed, 11 Aug 1999 04:50:32 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Message-ID: <37B0E4F8.4C7D7235@partitur.se>
Date: Wed, 11 Aug 1999 04:50:32 +0200
From: Palle Girgensohn <girgen@partitur.se>
Organization: Partitur
X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.2-STABLE i386)
X-Accept-Language: sv, en
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: fresh fbsd-stable and real audio server hangs
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi!

I'm experiencing something strange: I just updated one of our servers
this week-end, and now the real audio server won't run. I have rmserver
on a bunch of similar machines, and it works fine for them with
practically the same setup. 

I updated the system from FreeBSD-3-STABLE as of March 31st to
FreeBSD-3-STABLE as of Aug 8. I also added a second processor. It works
very satisfactory, apart from this.

There's no way to access any of the rmserver's services; there's no
answer on the http admin port either.... When trying to connect with
rvplayer, the connection hangs on "Contacting host" until I kill the
server. I then get an error message 29, server disconnected.

The log files are never touched.

I'm of course sending this to the RealAudio support folks, but I get the
feeling they might not be able to help, since this seems pretty OS
related (I updated the OS, other machines run fine with the same
realaudio installation but with older (July 7th) FreeBSD systems). 

I'm not to familiar at debugging this sort of thing, but I can see  a
few differencies:

on the machines where rmserver works fine, lsof -i reveals:
# lsof -i | grep rmserver
rmserver 38163   root    6u  inet 0xca8caa80      0t0  TCP
pingpong-ing.hj.se:7070 (LISTEN)
rmserver 38163   root    7u  inet 0xca8ca720      0t0  TCP
pingpong-ing.hj.se:rtsp (LISTEN)
rmserver 38163   root    8u  inet 0xca8c6720      0t0  TCP
pingpong-ing.hj.se:8080 (LISTEN)
rmserver 38163   root    9u  inet 0xca8c72a0      0t0  TCP
pingpong-ing.hj.se:2737 (LISTEN)
rmserver 38163   root   10u  inet 0xca8cd3c0      0t0  TCP
localhost:7070 (LISTEN)
rmserver 38163   root   11u  inet 0xca8c82a0      0t0  TCP
localhost:rtsp (LISTEN)
rmserver 38163   root   12u  inet 0xca8c7720      0t0  TCP
localhost:8080 (LISTEN)
rmserver 38163   root   13u  inet 0xca8ceba0      0t0  TCP
localhost:2737 (LISTEN)
rmserver 38165   root    5u  inet 0xca8cc3c0      0t0  TCP *:4040
(LISTEN)
rmserver 38167   root    5u  inet 0xca8c8720      0t0  TCP *:mmcc
(LISTEN)
rmserver 38170   root    5u  inet 0xca8cb960      0t0  TCP *:9090
(LISTEN)
rmserver 38172   root    7u  inet 0xca853d80      0t0  UDP *:1131 
rmserver 38172   root    8u  inet 0xca853de0      0t0  UDP *:6770 


while on the bad machine, the last "*:port#" rows are missing:


rmserver 62759   root    6u  inet 0xc9f01de0      0t0  TCP
puka.partitur.se:7070 (LISTEN)
rmserver 62759   root    7u  inet 0xc9f12720      0t0  TCP
puka.partitur.se:rtsp (LISTEN)
rmserver 62759   root    8u  inet 0xc9f0e3c0      0t0  TCP
puka.partitur.se:8080 (LISTEN)
rmserver 62759   root    9u  inet 0xc9f124e0      0t0  TCP
puka.partitur.se:3098 (LISTEN)
rmserver 62759   root   10u  inet 0xc9f11180      0t0  TCP
localhost.partitur.se:7070 (LISTEN)
rmserver 62759   root   11u  inet 0xc9f09180      0t0  TCP
localhost.partitur.se:rtsp (LISTEN)
rmserver 62759   root   12u  inet 0xc9f07960      0t0  TCP
localhost.partitur.se:8080 (LISTEN)
rmserver 62759   root   13u  inet 0xc9f10de0      0t0  TCP
localhost.partitur.se:3098 (LISTEN)

-------------------

When running the server from the command line with no redirect to
dev/null, I can see it stopping before reading all of the Plugins:

# /usr/local/libexec/rmserver/Bin/rmserver
/usr/local/libexec/rmserver/rmserver.cfg
Creating Server Space...
Starting RealServer 6.0 Core...
Loading RealServer License Files...
I: Loading Plugins...
I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0 RealNetworks Admin
File System          
I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0 RealNetworks Basic
Allowance Plugin     
I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0 RealNetworks Live
Archiver Plugin       
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AU
Renderer Plugin         
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks PCM
Renderer Plugin        
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AU
File Format Plugin      
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks WAVE
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AIFF
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks DVI4
Renderer Plugin       
I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0 RealNetworks
Authentication Manager     
I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0 RealNetworks
Basic Authenticator        
I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0 RealNetworks
Database Manager           
I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0 RealNetworks 5.0
Database Wrapper       
I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0 RealNetworks
Encoder Broadcast Plugin   
I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0 RealNetworks Farm
Split Broadcast Plugin
I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0 RealNetworks Live
Broadcast Plugin      
I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0 RealNetworks
Logging Plugin             
I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0 RealNetworks
PlusURL File Format Plugin 
I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0 RealNetworks
Scalable Multicast Plugin  
I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0 RealNetworks Pay
Per View Allowance Plug
I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0 RealNetworks
FlatFile Database Plugin   
I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0 RealNetworks Mini
SQL PPV Database Plugi
I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0 RealNetworks
RealPix BMP Codec Plugin   
I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0 RealNetworks
RealPix GIF Codec Plugin   
I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0 RealNetworks
RealPix JPEG Codec Plugin  
I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0 RealNetworks
RealPix External Effect Sam
I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0 RealNetworks RealPix
Format Plugin      
I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0 RealNetworks GIF File
Format Plugin     
I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0 RealNetworks JPEG
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0 RealNetworks
Ramgen File System         
I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0 RealNetworks
RealMedia File Format Plugi
I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0 RealNetworks RN5
Authenticator          
I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0 RealNetworks
RealText File Format Plugin
I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0 RealNetworks SDP
Stream Description Plug
I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0 RealNetworks SMIL
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0 RealNetworks
System Monitor             
I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0 RealNetworks
Splitter Broadcast Plugin  
I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0 RealNetworks
Local File System          
I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0 Shockwave Flash
Format Plugin           


But the a working copy goes somewhat further:

# /usr/local/libexec/rmserver/Bin/rmserver /opt/etc/rmserver.cfg
Creating Server Space...
Starting RealServer 6.0 Core...
Loading RealServer License Files...
I: Loading Plugins...
I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0 RealNetworks Admin
File System          
I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0 RealNetworks Basic
Allowance Plugin     
I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0 RealNetworks Live
Archiver Plugin       
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AU
Renderer Plugin         
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks PCM
Renderer Plugin        
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AU
File Format Plugin      
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks WAVE
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks AIFF
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 RealNetworks DVI4
Renderer Plugin       
I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0 RealNetworks
Authentication Manager     
I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0 RealNetworks
Basic Authenticator        
I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0 RealNetworks
Database Manager           
I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0 RealNetworks 5.0
Database Wrapper       
I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0 RealNetworks
Encoder Broadcast Plugin   
I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0 RealNetworks Farm
Split Broadcast Plugin
I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0 RealNetworks Live
Broadcast Plugin      
I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0 RealNetworks
Logging Plugin             
I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0 RealNetworks
PlusURL File Format Plugin 
I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0 RealNetworks
Scalable Multicast Plugin  
I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0 RealNetworks Pay
Per View Allowance Plug
I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0 RealNetworks
FlatFile Database Plugin   
I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0 RealNetworks Mini
SQL PPV Database Plugi
I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0 RealNetworks
RealPix BMP Codec Plugin   
I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0 RealNetworks
RealPix GIF Codec Plugin   
I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0 RealNetworks
RealPix JPEG Codec Plugin  
I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0 RealNetworks
RealPix External Effect Sam
I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0 RealNetworks RealPix
Format Plugin      
I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0 RealNetworks GIF File
Format Plugin     
I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0 RealNetworks JPEG
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0 RealNetworks
Ramgen File System         
I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0 RealNetworks
RealMedia File Format Plugi
I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0 RealNetworks RN5
Authenticator          
I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0 RealNetworks
RealText File Format Plugin
I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0 RealNetworks SDP
Stream Description Plug
I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0 RealNetworks SMIL
File Format Plugin    
I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0 RealNetworks
System Monitor             
I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0 RealNetworks
Splitter Broadcast Plugin  
I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0 RealNetworks
Local File System          
I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0 Shockwave Flash
Format Plugin           
I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 RealNetworks RGB
Renderer Plugin        
I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 RealNetworks AVI
File Format Plugin     
I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 RealNetworks
QuickTime File Format Plugi
I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 RealNetworks
Active Stream Format Versio
I: /usr/local/libexec/rmserver/Plugins/vivff.so.6.0 VivoActive File
Format Plugin           


The last five lines are missing from the bad server startup.

$ rmserver -v
Creating Server Space...
Starting RealServer 6.0 Core...
RealServer (c) 1995-1998 RealNetworks, Inc. All rights reserved.
Version:        6.0.3.353
Platform: freebsd3


Here's a tcpdump from trying to connect:

03:10:46.610541 elbas.partitur.se.4251 > puka.partitur.se.7070: S
3043916040:3043916040(0) win 16384 <mss 1460> (DF)
03:10:46.610692 puka.partitur.se.7070 > elbas.partitur.se.4251: S
1357161008:1357161008(0) ack 3043916041 win 17520 <mss 1460> (DF)
03:10:46.610729 elbas.partitur.se.4251 > puka.partitur.se.7070: . ack 1
win 17520 (DF)
03:10:46.611024 elbas.partitur.se.4251 > puka.partitur.se.7070: P
1:399(398) ack 1 win 17520 (DF)
03:10:46.715954 puka.partitur.se.7070 > elbas.partitur.se.4251: . ack
399 win 17122 (DF)
03:10:46.715992 elbas.partitur.se.4251 > puka.partitur.se.7070: P
399:400(1) ack 1 win 17520 (DF)
03:10:46.915932 puka.partitur.se.7070 > elbas.partitur.se.4251: . ack
400 win 17121 (DF)


And when I click stop:
03:10:50.829169 elbas.partitur.se.4251 > puka.partitur.se.7070: F
400:400(0) ack 1 win 17520 (DF)
03:10:50.829279 puka.partitur.se.7070 > elbas.partitur.se.4251: . ack
401 win 17121 (DF)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  6:48:46 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from Samizdat.uucom.com (samizdat.uucom.com [198.202.217.54])
	by hub.freebsd.org (Postfix) with ESMTP id 442FE14D33
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 06:48:39 -0700 (PDT)
	(envelope-from cshenton@uucom.com)
Received: (from cshenton@localhost)
	by Samizdat.uucom.com (8.9.3/8.9.3) id JAA15710;
	Wed, 11 Aug 1999 09:48:39 -0400 (EDT)
To: Barrett Richardson <barrett@phoenix.aye.net>
Cc: Steve Hovey <shovey@buffnet.net>,
	Mitch Vincent <cygone@zoomnet.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
References: <Pine.BSF.4.01.9908030955260.2994-100000@phoenix.aye.net>
User-Agent: SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) Emacs/20.3 (i386-pc-solaris2.7) MULE/4.0 (HANANOEN)
MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko")
Content-Type: text/plain; charset=US-ASCII
From: Chris Shenton <cshenton@uucom.com>
Date: 11 Aug 1999 09:48:39 -0400
In-Reply-To: Barrett Richardson's message of "Tue, 3 Aug 1999 09:57:31 -0400 (EDT)"
Message-ID: <lfd7wul96w.fsf@Samizdat.uucom.com>
Lines: 30
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Barrett wrote:

    You can just have multiple address records 

    www      IN    A    x.x.x.3
	     IN    A    x.x.x.4
		  .
		  .
		  .
	     IN    A    x.x.x.n


Found some solid info on ISC's BIND documentation about trying to do
load balancing with DNS. The "SRV" record is designed for this but I
haven't found software that uses it (tho BIND8 implements it). So the
multiple records are a bit of a hack and will hose you if one of the
servers dies.

There's a pointer to "lbnamed" from Stanford which looks worth
trying. It puts a little load-monitor daemon on each server which the
balancing named queries; presumably it hands out records for the
least-loaded server and won't hand out records for servers that don't
respond. 

It would be way cool to modify the server-based daemon to have it
determine the network distance/cost to the *client* then feed that to
the lbnamed so it could return a record corresponding to the server
fastest/closest to the actual client. This would implement WAN load
balancing much like F5 Lab's $27K (each) 3DNS.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  8: 3:27 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134])
	by hub.freebsd.org (Postfix) with SMTP id 83E0315527
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 08:03:22 -0700 (PDT)
	(envelope-from barrett@phoenix.aye.net)
Received: (qmail 4623 invoked by uid 1000); 11 Aug 1999 14:56:53 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 11 Aug 1999 14:56:53 -0000
Date: Wed, 11 Aug 1999 10:56:53 -0400 (EDT)
From: Barrett Richardson <barrett@phoenix.aye.net>
To: Chris Shenton <cshenton@uucom.com>
Cc: Steve Hovey <shovey@buffnet.net>,
	Mitch Vincent <cygone@zoomnet.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
In-Reply-To: <lfd7wul96w.fsf@Samizdat.uucom.com>
Message-ID: <Pine.BSF.4.01.9908110948040.16040-100000@phoenix.aye.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org



On 11 Aug 1999, Chris Shenton wrote:

> Barrett wrote:
> 
>>     You can just have multiple address records 
>> 
>>     www      IN    A    x.x.x.3
>> 	        IN    A    x.x.x.4
>> 		    .
>> 		    .
>> 		    .
>> 	        IN    A    x.x.x.n
> 
> 
> Found some solid info on ISC's BIND documentation about trying to do
> load balancing with DNS. The "SRV" record is designed for this but I
> haven't found software that uses it (tho BIND8 implements it). So the
> multiple records are a bit of a hack and will hose you if one of the
> servers dies.
>

Use OSPF. Assign the IP address that it answers to a loopback interface.
Have the ethernet (or other) interface on a different network than
the IP address that answers requests. 

Say you have two machines -

www.whatever.com that DNS assigns via round robin to these
addresses.

     x.x.x.2
     x.x.x.3

On machine A assign these addresses to lo1

       x.x.x.2
   and x.x.x.3 as an alias
 
On machine B assign the same addresses (again on lo1)

       x.x.x.3
   and x.x.x.2 as an alias

On machine A cost the IP address like this (as stub hosts in OSPF)

      x.x.x.2  cost 1
      x.x.x.3  cost 99

On machine B cost the IP addresses like this (again as stub hosts)

      x.x.x.2  cost 99
      x.x.x.3  cost 1

If machine A goes down, the traffic headed for it goes to machine B.
The same for machine B (except the other way around in reverse).

If you can run OSPF on the routers on the exit/entry points of the
segment you can accomplish the necessary costing of routes on the
servers via the public version of gated.

For machine A you could have (in the simplest form) in your gated.conf

ospf yes {
   backbone {
      stubhosts {
         x.x.x.2 cost 1;
         x.x.x.3 cost 99;
      };
   }
};

And for machine B

ospf yes {
   backbone {
      stubhosts {
         x.x.x.3 cost 1;
         x.x.x.2 cost 99;
      };
   };
};


> There's a pointer to "lbnamed" from Stanford which looks worth
> trying. It puts a little load-monitor daemon on each server which the
> balancing named queries; presumably it hands out records for the
> least-loaded server and won't hand out records for servers that don't
> respond. 

In internet land, other name servers are cacheing info your nameserver
doles out to them about your domain. When a client browser hits
www.whatever.com the information returned by the nameserver _it_
is using may be days old. What *was* your most lightly loaded server
days ago may be getting hammered (or down) when the remote browser
does a lookup for www.whatever.com. The only way you can control
that is decrease the TTL significantly on your DNS records, which
introduces additional delay as your DNS constantly has to 
repropagate to be in sync with the real-time loads on your server.
If the load is primarily random accesses from internet land the
end result is that (realistically) you don't have any more finer
grained load balancing that with the simple hack of round robin
DNS. One reason why is that the benefits of having a fairly long TTL
on A records in DNS (say a week) are tough to compete against for
any scheme that would favor the TTL being very small.

> 
> It would be way cool to modify the server-based daemon to have it
> determine the network distance/cost to the *client* then feed that to
> the lbnamed so it could return a record corresponding to the server
> fastest/closest to the actual client. This would implement WAN load
> balancing much like F5 Lab's $27K (each) 3DNS.

I could see such a scheme working for client softwares that are directly
using this nameserver (should be great on your own networks). The
model becomes less feasible if the accesses are coming from random
locations not directly using your nameserver (for example the internet).

-

Barrett

> 
> 
> 
> 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 Aug 11  8: 8:24 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from post.mail.areti.net (meteora.areti.com [194.207.26.51])
	by hub.freebsd.org (Postfix) with ESMTP id 06BFE15502
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 08:08:20 -0700 (PDT)
	(envelope-from ndear@areti.net)
Received: from patras.areti.com (patras.areti.com [194.207.96.187])
	by post.mail.areti.net (8.9.3/8.9.3/Areti-2.0.0) with SMTP id QAA21355
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 16:13:15 +0100
Message-Id: <199908111513.QAA21355@post.mail.areti.net>
From: "Nicholas J. Dear" <ndear@areti.net>
Organization: Areti Internet Ltd.
To: freebsd-isp@FreeBSD.ORG
Date: Wed, 11 Aug 1999 16:10:01 +0100
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: mbuf clusters.
Reply-To: ndear@areti.net
X-mailer: Pegasus Mail for Win32 (v3.11)
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

We had an increase in web requests today (about 500/sec) because of the UK 
solar eclipse here, and it caused one of our web servers to have some trouble.  It 
was also coupled with the live broadcast being put up by FTP, and there was a lot 
of FTP activity.  

Where can I alter the item below, and what would be a sensible, but reasonably 
high figure?

TIA.

Aug 11 09:37:25 sithonia /kernel: Out of mbuf clusters - adjust 
NMBCLUSTERS or increase maxusers!

N.
--
Nicholas J. Dear
Mail: ndear@areti.net Tel: +44 (0)208-402-4041
Areti Internet Ltd., http://www.areti.co.uk/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  8:33:33 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from proteus.eclipse.net.uk (proteus.eclipse.net.uk [195.188.32.118])
	by hub.freebsd.org (Postfix) with ESMTP id 64C5A1553D
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 08:33:29 -0700 (PDT)
	(envelope-from stuart@eclipse.net.uk)
Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31])
	by proteus.eclipse.net.uk (Postfix) with ESMTP
	id 90FA59B20; Wed, 11 Aug 1999 16:31:24 +0100 (BST)
Message-ID: <37B197BF.97C095B0@eclipse.net.uk>
Date: Wed, 11 Aug 1999 16:33:19 +0100
From: Stuart Henderson <stuart@eclipse.net.uk>
Organization: Eclipse Networking Ltd.
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en-GB
MIME-Version: 1.0
To: Chris Shenton <cshenton@uucom.com>
Cc: Barrett Richardson <barrett@phoenix.aye.net>,
	Steve Hovey <shovey@buffnet.net>, Mitch Vincent <cygone@zoomnet.net>,
	freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
References: <Pine.BSF.4.01.9908030955260.2994-100000@phoenix.aye.net> <lfd7wul96w.fsf@Samizdat.uucom.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> So the multiple records are a bit of a hack 

Yep,

> and will hose you if one of the servers dies.

Not really - most web browsers, proxies and telnets cycle through until 
they find one that answers. Round robin DNS is in common enough usage that 
it is quite well supported by client software. (Also, bind will randomise
the order and puts local networks first).

> It would be way cool to modify the server-based daemon to have it
> determine the network distance/cost to the *client* then feed that to
> the lbnamed so it could return a record corresponding to the server
> fastest/closest to the actual client. This would implement WAN load
> balancing much like F5 Lab's $27K (each) 3DNS.

I think Netscape used to do this in software (at least I always used
to get the IP address of their UK mirror returned) but they seem not to
be doing that now.

Stuart


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  8:42: 6 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from almazs.pacex.net (almazs.pacex.net [204.1.219.156])
	by hub.freebsd.org (Postfix) with ESMTP id DA36F156AA
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 08:41:58 -0700 (PDT)
	(envelope-from danielb@almazs.pacex.net)
Received: from localhost (danielb@localhost)
	by almazs.pacex.net (8.9.2/8.9.3) with SMTP id IAA04412;
	Wed, 11 Aug 1999 08:40:34 -0700 (PDT)
Date: Wed, 11 Aug 1999 08:40:34 -0700 (PDT)
From: daniel B <danielb@pacex.net>
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: alvermark@teligent.se, freebsd-isp@FreeBSD.ORG
Subject: Re: Dial-out server? 
In-Reply-To: <199908091612.RAA51695@keep.lan.Awfulhak.org>
Message-ID: <Pine.BSF.3.96.990811083418.4370A-100000@almazs.pacex.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org



On Mon, 9 Aug 1999, Brian Somers wrote:

> > 
> > Hi!
> > 
> > I have a lot of users using a modem to dial out to various locations. Up
> > til now I've had one machine with FreeBSD and a modem to do the job. Very
> > simple setup, I use the userland ppp with the -auto option. Problem is
> > that it can only be used to reach one destination at a time and I have to
> > manually quit ppp and start it with another setting whenever the user(s)
> > want it to reach another destination I'm now thinking of setting up a
> > dedicated server for this, with maybe 3 or 4 modems.
> > 
> > I was wondering if I can make ppp (or some other program) to pick a modem
> > thats not in use automatically, as there will be more "destinations" than
> > modems.
> 
> How about
> 
>   set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 /dev/cuaa3
> 
> Ppp will attempt to lock each in order and will use the first one it 
> manages to lock.  Locking is standard across all (standard) programs 
> - see uucplock(3).
> 
> > Or do you know about any good hardware to do this, that's not too
> > expensive.
> > 
> > I'm thinking about something like a box with an incoming ISDN PRI, a
> > number of modems, and then a FreeBSD box with a multiport card. But I
> > don't know if such hardward exists...
 Yea! we have such a setup like you've just mentioned but a RAS with a 
PRI interface and modems is not cheap! 8K+ is what you're looking at.
You could go with modem racks that has biuilt-in terminal servers and that
simply connect to your FBSD network and talk IP, users just telnet to the 
rack and get IP/PPP/SLIP sessions.


Dan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  8:55:30 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from bozeman.pwrh.com (bozeman.vlt.com [199.201.184.209])
	by hub.freebsd.org (Postfix) with ESMTP id 0E2A214D1D
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 08:55:16 -0700 (PDT)
	(envelope-from Ptacek@pwrh.com)
Received: by bozeman.pwrh.com with Internet Mail Service (5.5.2448.0)
	id <Q40YNRD6>; Wed, 11 Aug 1999 09:56:40 -0600
Message-ID: <A48DBC4E0A0CD311BE0E0060B06A21BA93D080@bozeman.pwrh.com>
From: "Ptacek, Chris" <Ptacek@pwrh.com>
To: daniel B <danielb@pacex.net>, Brian Somers <brian@FreeBSD.org.uk>
Cc: alvermark@teligent.se, freebsd-isp@FreeBSD.ORG
Subject: RE: Dial-out server? 
Date: Wed, 11 Aug 1999 09:56:40 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

What kind of card are you using for this?
I have been looking for a multimodem card that I can use with FreeBSD.

  Thanks,
     Chris

> -----Original Message-----
> From:	daniel B [SMTP:danielb@pacex.net]
> Sent:	Wednesday, August 11, 1999 9:41 AM
> To:	Brian Somers
> Cc:	alvermark@teligent.se; freebsd-isp@FreeBSD.ORG
> Subject:	Re: Dial-out server? 
> 
> 
> 
> On Mon, 9 Aug 1999, Brian Somers wrote:
> 
> > > 
> > > Hi!
> > > 
> > > I have a lot of users using a modem to dial out to various locations.
> Up
> > > til now I've had one machine with FreeBSD and a modem to do the job.
> Very
> > > simple setup, I use the userland ppp with the -auto option. Problem is
> > > that it can only be used to reach one destination at a time and I have
> to
> > > manually quit ppp and start it with another setting whenever the
> user(s)
> > > want it to reach another destination I'm now thinking of setting up a
> > > dedicated server for this, with maybe 3 or 4 modems.
> > > 
> > > I was wondering if I can make ppp (or some other program) to pick a
> modem
> > > thats not in use automatically, as there will be more "destinations"
> than
> > > modems.
> > 
> > How about
> > 
> >   set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 /dev/cuaa3
> > 
> > Ppp will attempt to lock each in order and will use the first one it 
> > manages to lock.  Locking is standard across all (standard) programs 
> > - see uucplock(3).
> > 
> > > Or do you know about any good hardware to do this, that's not too
> > > expensive.
> > > 
> > > I'm thinking about something like a box with an incoming ISDN PRI, a
> > > number of modems, and then a FreeBSD box with a multiport card. But I
> > > don't know if such hardward exists...
>  Yea! we have such a setup like you've just mentioned but a RAS with a 
> PRI interface and modems is not cheap! 8K+ is what you're looking at.
> You could go with modem racks that has biuilt-in terminal servers and that
> simply connect to your FBSD network and talk IP, users just telnet to the 
> rack and get IP/PPP/SLIP sessions.
> 
> 
> Dan
> 
> 
> 
> 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 Aug 11  9: 7:17 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from www.SLipmat.net (slipmat.net [216.4.88.80])
	by hub.freebsd.org (Postfix) with ESMTP id 0F41114E97
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 09:06:55 -0700 (PDT)
	(envelope-from brian.scott@SLipmat.net)
Received: (from nobody@localhost)
	by www.SLipmat.net (8.9.3/8.9.3) id LAA28343;
	Wed, 11 Aug 1999 11:04:46 -0500 (CDT)
	(envelope-from brian.scott@SLipmat.net)
Date: Wed, 11 Aug 1999 11:04:46 -0500 (CDT)
Message-Id: <199908111604.LAA28343@www.SLipmat.net>
X-Authentication-Warning: www.SLipmat.net: nobody set sender to brian.scott@SLipmat.net using -f
From: Brian Scott <brian.scott@SLipmat.net>
To: Palle Girgensohn <girgen@partitur.se>
Reply-To: Brian Scott <brian.scott@SLipmat.net>
Cc: freebsd-isp@FreeBSD.ORG
References: <37B0E4F8.4C7D7235@partitur.se>
In-Reply-To: <37B0E4F8.4C7D7235@partitur.se>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: IMP/PHP3 Imap webMail Program 2.0.10
Subject: Re: fresh fbsd-stable and real audio server hangs
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Palle,
    Make sure that you're specifying IP Binding in the 
rmserver/pnserver config

rmserver like...
<List Name="IPBindings">
    <Var Address_0="216.4.88.80"/>
</List>

pmserver like...
IPBindingList [{216.4.88.80}]

You never had to do this before, but it seems that 3.1 
and up wants it.

Brian -

Senior Network Administrator
Worldnet Communications Inc.

p.s. oh yes, all real audio servers run better if 
they're playing Hard Te/<n0 musik (just a tip)


Quoting Palle Girgensohn <girgen@partitur.se>:

> Hi!
>
> I'm experiencing something strange: I just updated one 
of our servers
> this week-end, and now the real audio server won't 
run. I have rmserver
> on a bunch of similar machines, and it works fine for 
them with
> practically the same setup.
>
> I updated the system from FreeBSD-3-STABLE as of March 
31st to
> FreeBSD-3-STABLE as of Aug 8. I also added a second 
processor. It works
> very satisfactory, apart from this.
>
> There's no way to access any of the rmserver's 
services; there's no
> answer on the http admin port either.... When trying 
to connect with
> rvplayer, the connection hangs on "Contacting host" 
until I kill the
> server. I then get an error message 29, server 
disconnected.
>
> The log files are never touched.
>
> I'm of course sending this to the RealAudio support 
folks, but I get the
> feeling they might not be able to help, since this 
seems pretty OS
> related (I updated the OS, other machines run fine 
with the same
> realaudio installation but with older (July 7th) 
FreeBSD systems).
>
> I'm not to familiar at debugging this sort of thing, 
but I can see  a
> few differencies:
>
> on the machines where rmserver works fine, lsof -i 
reveals:
> # lsof -i | grep rmserver
> rmserver 38163   root    6u  inet 0xca8caa80      0t0 
 TCP
> pingpong-ing.hj.se:7070 (LISTEN)
> rmserver 38163   root    7u  inet 0xca8ca720      0t0 
 TCP
> pingpong-ing.hj.se:rtsp (LISTEN)
> rmserver 38163   root    8u  inet 0xca8c6720      0t0 
 TCP
> pingpong-ing.hj.se:8080 (LISTEN)
> rmserver 38163   root    9u  inet 0xca8c72a0      0t0 
 TCP
> pingpong-ing.hj.se:2737 (LISTEN)
> rmserver 38163   root   10u  inet 0xca8cd3c0      0t0 
 TCP
> localhost:7070 (LISTEN)
> rmserver 38163   root   11u  inet 0xca8c82a0      0t0 
 TCP
> localhost:rtsp (LISTEN)
> rmserver 38163   root   12u  inet 0xca8c7720      0t0 
 TCP
> localhost:8080 (LISTEN)
> rmserver 38163   root   13u  inet 0xca8ceba0      0t0 
 TCP
> localhost:2737 (LISTEN)
> rmserver 38165   root    5u  inet 0xca8cc3c0      0t0 
 TCP *:4040
> (LISTEN)
> rmserver 38167   root    5u  inet 0xca8c8720      0t0 
 TCP *:mmcc
> (LISTEN)
> rmserver 38170   root    5u  inet 0xca8cb960      0t0 
 TCP *:9090
> (LISTEN)
> rmserver 38172   root    7u  inet 0xca853d80      0t0 
 UDP *:1131
> rmserver 38172   root    8u  inet 0xca853de0      0t0 
 UDP *:6770
>
>
> while on the bad machine, the last "*:port#" rows are 
missing:
>
>
> rmserver 62759   root    6u  inet 0xc9f01de0      0t0 
 TCP
> puka.partitur.se:7070 (LISTEN)
> rmserver 62759   root    7u  inet 0xc9f12720      0t0 
 TCP
> puka.partitur.se:rtsp (LISTEN)
> rmserver 62759   root    8u  inet 0xc9f0e3c0      0t0 
 TCP
> puka.partitur.se:8080 (LISTEN)
> rmserver 62759   root    9u  inet 0xc9f124e0      0t0 
 TCP
> puka.partitur.se:3098 (LISTEN)
> rmserver 62759   root   10u  inet 0xc9f11180      0t0 
 TCP
> localhost.partitur.se:7070 (LISTEN)
> rmserver 62759   root   11u  inet 0xc9f09180      0t0 
 TCP
> localhost.partitur.se:rtsp (LISTEN)
> rmserver 62759   root   12u  inet 0xc9f07960      0t0 
 TCP
> localhost.partitur.se:8080 (LISTEN)
> rmserver 62759   root   13u  inet 0xc9f10de0      0t0 
 TCP
> localhost.partitur.se:3098 (LISTEN)
>
> -------------------
>
> When running the server from the command line with no 
redirect to
> dev/null, I can see it stopping before reading all of 
the Plugins:
>
> # /usr/local/libexec/rmserver/Bin/rmserver
> /usr/local/libexec/rmserver/rmserver.cfg
> Creating Server Space...
> Starting RealServer 6.0 Core...
> Loading RealServer License Files...
> I: Loading Plugins...
> I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0 
RealNetworks Admin
> File System
> I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0 
RealNetworks Basic
> Allowance Plugin
> I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0 
RealNetworks Live
> Archiver Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AU
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks PCM
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AU
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks WAVE
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AIFF
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks DVI4
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0 
RealNetworks
> Authentication Manager
> I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0 
RealNetworks
> Basic Authenticator
> I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0 
RealNetworks
> Database Manager
> I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0 
RealNetworks 5.0
> Database Wrapper
> I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0 
RealNetworks
> Encoder Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0 
RealNetworks Farm
> Split Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0 
RealNetworks Live
> Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0 
RealNetworks
> Logging Plugin
> I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0 
RealNetworks
> PlusURL File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0 
RealNetworks
> Scalable Multicast Plugin
> I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0 
RealNetworks Pay
> Per View Allowance Plug
> I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0 
RealNetworks
> FlatFile Database Plugin
> I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0 
RealNetworks Mini
> SQL PPV Database Plugi
> I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0 
RealNetworks
> RealPix BMP Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0 
RealNetworks
> RealPix GIF Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0 
RealNetworks
> RealPix JPEG Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0 
RealNetworks
> RealPix External Effect Sam
> I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0 
RealNetworks RealPix
> Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0 
RealNetworks GIF File
> Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0 
RealNetworks JPEG
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0 
RealNetworks
> Ramgen File System
> I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0 
RealNetworks
> RealMedia File Format Plugi
> I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0 
RealNetworks RN5
> Authenticator
> I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0 
RealNetworks
> RealText File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0 
RealNetworks SDP
> Stream Description Plug
> I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0 
RealNetworks SMIL
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0 
RealNetworks
> System Monitor
> I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0 
RealNetworks
> Splitter Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0 
RealNetworks
> Local File System
> I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0 
Shockwave Flash
> Format Plugin
>
>
> But the a working copy goes somewhat further:
>
> # /usr/local/libexec/rmserver/Bin/rmserver 
/opt/etc/rmserver.cfg
> Creating Server Space...
> Starting RealServer 6.0 Core...
> Loading RealServer License Files...
> I: Loading Plugins...
> I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0 
RealNetworks Admin
> File System
> I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0 
RealNetworks Basic
> Allowance Plugin
> I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0 
RealNetworks Live
> Archiver Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AU
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks PCM
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AU
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks WAVE
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks AIFF
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0 
RealNetworks DVI4
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0 
RealNetworks
> Authentication Manager
> I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0 
RealNetworks
> Basic Authenticator
> I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0 
RealNetworks
> Database Manager
> I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0 
RealNetworks 5.0
> Database Wrapper
> I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0 
RealNetworks
> Encoder Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0 
RealNetworks Farm
> Split Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0 
RealNetworks Live
> Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0 
RealNetworks
> Logging Plugin
> I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0 
RealNetworks
> PlusURL File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0 
RealNetworks
> Scalable Multicast Plugin
> I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0 
RealNetworks Pay
> Per View Allowance Plug
> I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0 
RealNetworks
> FlatFile Database Plugin
> I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0 
RealNetworks Mini
> SQL PPV Database Plugi
> I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0 
RealNetworks
> RealPix BMP Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0 
RealNetworks
> RealPix GIF Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0 
RealNetworks
> RealPix JPEG Codec Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0 
RealNetworks
> RealPix External Effect Sam
> I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0 
RealNetworks RealPix
> Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0 
RealNetworks GIF File
> Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0 
RealNetworks JPEG
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0 
RealNetworks
> Ramgen File System
> I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0 
RealNetworks
> RealMedia File Format Plugi
> I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0 
RealNetworks RN5
> Authenticator
> I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0 
RealNetworks
> RealText File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0 
RealNetworks SDP
> Stream Description Plug
> I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0 
RealNetworks SMIL
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0 
RealNetworks
> System Monitor
> I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0 
RealNetworks
> Splitter Broadcast Plugin
> I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0 
RealNetworks
> Local File System
> I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0 
Shockwave Flash
> Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 
RealNetworks RGB
> Renderer Plugin
> I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 
RealNetworks AVI
> File Format Plugin
> I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 
RealNetworks
> QuickTime File Format Plugi
> I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0 
RealNetworks
> Active Stream Format Versio
> I: /usr/local/libexec/rmserver/Plugins/vivff.so.6.0 
VivoActive File
> Format Plugin
>
>
> The last five lines are missing from the bad server 
startup.
>
> $ rmserver -v
> Creating Server Space...
> Starting RealServer 6.0 Core...
> RealServer (c) 1995-1998 RealNetworks, Inc. All rights 
reserved.
> Version:        6.0.3.353
> Platform: freebsd3
>
>
> Here's a tcpdump from trying to connect:
>
> 03:10:46.610541 elbas.partitur.se.4251 > 
puka.partitur.se.7070: S
> 3043916040:3043916040(0) win 16384 <mss 1460> (DF)
> 03:10:46.610692 puka.partitur.se.7070 > 
elbas.partitur.se.4251: S
> 1357161008:1357161008(0) ack 3043916041 win 17520 <mss 
1460> (DF)
> 03:10:46.610729 elbas.partitur.se.4251 > 
puka.partitur.se.7070: . ack 1
> win 17520 (DF)
> 03:10:46.611024 elbas.partitur.se.4251 > 
puka.partitur.se.7070: P
> 1:399(398) ack 1 win 17520 (DF)
> 03:10:46.715954 puka.partitur.se.7070 > 
elbas.partitur.se.4251: . ack
> 399 win 17122 (DF)
> 03:10:46.715992 elbas.partitur.se.4251 > 
puka.partitur.se.7070: P
> 399:400(1) ack 1 win 17520 (DF)
> 03:10:46.915932 puka.partitur.se.7070 > 
elbas.partitur.se.4251: . ack
> 400 win 17121 (DF)
>
>
> And when I click stop:
> 03:10:50.829169 elbas.partitur.se.4251 > 
puka.partitur.se.7070: F
> 400:400(0) ack 1 win 17520 (DF)
> 03:10:50.829279 puka.partitur.se.7070 > 
elbas.partitur.se.4251: . ack
> 401 win 17121 (DF)
>
>
> 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 Aug 11  9: 9: 3 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from implode.root.com (root.com [209.102.106.178])
	by hub.freebsd.org (Postfix) with ESMTP id 793C91555D
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 09:08:54 -0700 (PDT)
	(envelope-from root@implode.root.com)
Received: from implode.root.com (localhost [127.0.0.1])
	by implode.root.com (8.8.8/8.8.5) with ESMTP id JAA25523;
	Wed, 11 Aug 1999 09:04:32 -0700 (PDT)
Message-Id: <199908111604.JAA25523@implode.root.com>
To: ndear@areti.net
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters. 
In-reply-to: Your message of "Wed, 11 Aug 1999 16:10:01 BST."
             <199908111513.QAA21355@post.mail.areti.net> 
From: David Greenman <dg@root.com>
Reply-To: dg@root.com
Date: Wed, 11 Aug 1999 09:04:32 -0700
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

>We had an increase in web requests today (about 500/sec) because of the UK 
>solar eclipse here, and it caused one of our web servers to have some trouble.  It 
>was also coupled with the live broadcast being put up by FTP, and there was a lot 
>of FTP activity.  
>
>Where can I alter the item below, and what would be a sensible, but reasonably 
>high figure?
>
>TIA.
>
>Aug 11 09:37:25 sithonia /kernel: Out of mbuf clusters - adjust 
>NMBCLUSTERS or increase maxusers!

   That's controlled by the NMBCLUSTERS kernel option. Try something like:

options		"NMBCLUSTERS=10000"


-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org
Creator of high-performance Internet servers - http://www.terasolutions.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11  9:50:55 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 0C684156B6
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 09:50:45 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id RAA16747;
	Wed, 11 Aug 1999 17:50:08 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id RAA02502;
	Wed, 11 Aug 1999 17:52:06 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908111652.RAA02502@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: "Ptacek, Chris" <Ptacek@pwrh.com>
Cc: daniel B <danielb@pacex.net>,
	Brian Somers <brian@FreeBSD.org.uk>, alvermark@teligent.se,
	freebsd-isp@FreeBSD.ORG
Subject: Re: Dial-out server? 
In-reply-to: Your message of "Wed, 11 Aug 1999 09:56:40 MDT."
             <A48DBC4E0A0CD311BE0E0060B06A21BA93D080@bozeman.pwrh.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 11 Aug 1999 17:52:06 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Digiboard Xem's should do the job (using the dgm driver).

> What kind of card are you using for this?
> I have been looking for a multimodem card that I can use with FreeBSD.
> 
>   Thanks,
>      Chris
> 
> > -----Original Message-----
> > From:	daniel B [SMTP:danielb@pacex.net]
> > Sent:	Wednesday, August 11, 1999 9:41 AM
> > To:	Brian Somers
> > Cc:	alvermark@teligent.se; freebsd-isp@FreeBSD.ORG
> > Subject:	Re: Dial-out server? 
> > 
> > 
> > 
> > On Mon, 9 Aug 1999, Brian Somers wrote:
> > 
> > > > 
> > > > Hi!
> > > > 
> > > > I have a lot of users using a modem to dial out to various locations.
> > Up
> > > > til now I've had one machine with FreeBSD and a modem to do the job.
> > Very
> > > > simple setup, I use the userland ppp with the -auto option. Problem is
> > > > that it can only be used to reach one destination at a time and I have
> > to
> > > > manually quit ppp and start it with another setting whenever the
> > user(s)
> > > > want it to reach another destination I'm now thinking of setting up a
> > > > dedicated server for this, with maybe 3 or 4 modems.
> > > > 
> > > > I was wondering if I can make ppp (or some other program) to pick a
> > modem
> > > > thats not in use automatically, as there will be more "destinations"
> > than
> > > > modems.
> > > 
> > > How about
> > > 
> > >   set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 /dev/cuaa3
> > > 
> > > Ppp will attempt to lock each in order and will use the first one it 
> > > manages to lock.  Locking is standard across all (standard) programs 
> > > - see uucplock(3).
> > > 
> > > > Or do you know about any good hardware to do this, that's not too
> > > > expensive.
> > > > 
> > > > I'm thinking about something like a box with an incoming ISDN PRI, a
> > > > number of modems, and then a FreeBSD box with a multiport card. But I
> > > > don't know if such hardward exists...
> >  Yea! we have such a setup like you've just mentioned but a RAS with a 
> > PRI interface and modems is not cheap! 8K+ is what you're looking at.
> > You could go with modem racks that has biuilt-in terminal servers and that
> > simply connect to your FBSD network and talk IP, users just telnet to the 
> > rack and get IP/PPP/SLIP sessions.
> > 
> > 
> > Dan

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 10:25:51 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101])
	by hub.freebsd.org (Postfix) with ESMTP id 889BE14D00
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 10:25:44 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Received: from gorean.org (master [10.0.0.2])
	by dt011n65.san.rr.com (8.9.3/8.8.8) with ESMTP id KAA67578;
	Wed, 11 Aug 1999 10:25:01 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Message-ID: <37B1B1EE.4DCF214F@gorean.org>
Date: Wed, 11 Aug 1999 10:25:02 -0700
From: Doug <Doug@gorean.org>
Organization: Triborough Bridge & Tunnel Authority
X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT-0730 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: ndear@areti.net
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters.
References: <199908111513.QAA21355@post.mail.areti.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

"Nicholas J. Dear" wrote:
> 
> Hi,
> 
> We had an increase in web requests today (about 500/sec) because of the UK
> solar eclipse here, and it caused one of our web servers to have some trouble.  It
> was also coupled with the live broadcast being put up by FTP, and there was a lot
> of FTP activity.
> 
> Where can I alter the item below, and what would be a sensible, but reasonably
> high figure?
> 
> TIA.
> 
> Aug 11 09:37:25 sithonia /kernel: Out of mbuf clusters - adjust
> NMBCLUSTERS or increase maxusers!

	It's impossible to answer this question intelligently without knowing your
version of the OS and your current kernel maxusers setting, not to mention
memory, processor, etc. However in general for a short term crisis
situation like this you can go to 512 maxusers and 15000 NMBCLUSTERS on a
2.2.8 system, assuming that you have enough ram. I'd say 256M ought to do
it. If you have a 3.2 system you can go higher on these numbers, but
chances are you won't need to. netstat [-s | -sr | -m] will give you a
better idea of hot to tune it when the crisis is over. 

Good luck,

Doug


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 10:59:55 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from tgn2.tgn.net (tgn2.tgn.net [205.241.85.2])
	by hub.freebsd.org (Postfix) with ESMTP id 73D1F15697
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 10:59:48 -0700 (PDT)
	(envelope-from butlermd@tgn.net)
Received: from dial105.tgn.net (dial105.tgn.net [205.241.85.35])
	by tgn2.tgn.net (8.9.3/8.8.8) with SMTP id NAA02622
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 13:02:53 -0500 (CDT)
From: butlermd@tgn.net (Michael Butler)
To: freebsd-isp@FreeBSD.ORG
Subject: www.tzo.com hijacks  DNS??
Date: Wed, 11 Aug 1999 12:58:51 -0500
Organization: Texas GulfNet
Reply-To: butlermd@tgn.net
Message-ID: <37b5b9bc.43485477@mail.tgn.net>
X-Mailer: Forte Agent 1.5/32.451
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This may be old stuff but is anyone getting dns mods fromtzo.com
hijacking ip addresses to their domains?

What do we do about it?

see www.tzo.com

They're about to be cut off at the FW

TIA
___________________________________
____________________________________________________________
Michael Butler,  Texas GulfNet,    | www.tgn.net     =20
908 South Brooks, PO Box 2089      |=20
Brazoria, TX 77422-2089            | Voice 409-798-NETT
Part of the Pointecom International| FAX   409-798-6398 =20
Network and the Global Internet    |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 11:56:32 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134])
	by hub.freebsd.org (Postfix) with SMTP id 9782215585
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 11:56:28 -0700 (PDT)
	(envelope-from barrett@phoenix.aye.net)
Received: (qmail 5946 invoked by uid 1000); 11 Aug 1999 18:49:25 -0000
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 11 Aug 1999 18:49:25 -0000
Date: Wed, 11 Aug 1999 14:49:25 -0400 (EDT)
From: Barrett Richardson <barrett@phoenix.aye.net>
To: Stuart Henderson <stuart@eclipse.net.uk>
Cc: Chris Shenton <cshenton@uucom.com>,
	Steve Hovey <shovey@buffnet.net>, Mitch Vincent <cygone@zoomnet.net>,
	freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
In-Reply-To: <37B197BF.97C095B0@eclipse.net.uk>
Message-ID: <Pine.BSF.4.01.9908111434290.1086-100000@phoenix.aye.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org



On Wed, 11 Aug 1999, Stuart Henderson wrote:

> > So the multiple records are a bit of a hack 
> 
> Yep,
> 
> > and will hose you if one of the servers dies.
> 
> Not really - most web browsers, proxies and telnets cycle through until 
> they find one that answers. Round robin DNS is in common enough usage that 
> it is quite well supported by client software. (Also, bind will randomise
> the order and puts local networks first).
> 
> > It would be way cool to modify the server-based daemon to have it
> > determine the network distance/cost to the *client* then feed that to
> > the lbnamed so it could return a record corresponding to the server
> > fastest/closest to the actual client. This would implement WAN load
> > balancing much like F5 Lab's $27K (each) 3DNS.
> 
> I think Netscape used to do this in software (at least I always used
> to get the IP address of their UK mirror returned) but they seem not to
> be doing that now.
> 
> Stuart
> 

Could be an artifact of normal BIND behaviour. When a nameserver
queries for something in somedomain.com it is given a list of
randomly ordered NS records to try for a zone. The RTT to each
of the nameservers is measured and queries are sent to the server
that replies the quickest. The tracking of RTTs is done continually
to account for any significant changes in the routes between the
server that is asking and the server that is answering.

-

Barrett






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 12:50:52 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from irc.ircnet.dk (irc.ircnet.dk [195.215.15.254])
	by hub.freebsd.org (Postfix) with ESMTP id C02B614BFA
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 12:50:40 -0700 (PDT)
	(envelope-from robert@ircnet.dk)
Received: from localhost (robert@localhost)
	by irc.ircnet.dk (8.9.3/8.9.1) with ESMTP id VAA07408;
	Wed, 11 Aug 1999 21:50:21 +0200 (CEST)
	(envelope-from robert@ircnet.dk)
Date: Wed, 11 Aug 1999 21:50:20 +0200 (CEST)
From: =?ISO-8859-1?Q?Robert_Martin-Leg=E8ne?= <robert-spam99@nisse.dk>
To: Michael Butler <butlermd@tgn.net>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: www.tzo.com hijacks  DNS??
In-Reply-To: <37b5b9bc.43485477@mail.tgn.net>
Message-ID: <Pine.BSF.4.10.9908112134520.7190-100000@irc.ircnet.dk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Wed, 11 Aug 1999, Michael Butler wrote:

> This may be old stuff but is anyone getting dns mods fromtzo.com
> hijacking ip addresses to their domains?
>=20
> What do we do about it?
>=20
> see www.tzo.com
>=20
> They're about to be cut off at the FW

If you run BIND you probably don't need to do a lot, since it by default
rejects them.

DK Hostmaster got a lot of these and I wrote a layer 5 (I believe it's
layer 5) divert-thingie that drops any UDP DNS packet crossing your
FreeBSD with the opcode of UPDATE (=3D5).

If anyones interested in buying a copy, please contact me (expect 2 week
response as I'm going travelling in a few days)

-- Robert Martin-Leg=E8ne



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 13:44:16 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from bastuba.partitur.se (bastuba.partitur.se [193.219.246.194])
	by hub.freebsd.org (Postfix) with ESMTP id 91D9B14BFE
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 13:44:02 -0700 (PDT)
	(envelope-from girgen@partitur.se)
Received: from elbas.partitur.se (elbas.partitur.se [193.219.246.222])
	by bastuba.partitur.se (8.8.8/8.8.8) with ESMTP id WAA01175;
	Wed, 11 Aug 1999 22:43:44 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Received: from partitur.se (localhost [127.0.0.1])
	by elbas.partitur.se (8.9.3/8.9.3) with ESMTP id WAA22499;
	Wed, 11 Aug 1999 22:43:43 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Message-ID: <37B1E07F.D64F16B@partitur.se>
Date: Wed, 11 Aug 1999 20:43:43 +0000
From: Palle Girgensohn <girgen@partitur.se>
Organization: Partitur
X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: sv, en
MIME-Version: 1.0
To: Brian Scott <brian.scott@SLipmat.net>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: fresh fbsd-stable and real audio server hangs
References: <37B0E4F8.4C7D7235@partitur.se> <199908111604.LAA28343@www.SLipmat.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi!

Thanks for the tip. Unfortunately, it didn't help. :(

Brian Scott wrote:
> 
> Palle,
>     Make sure that you're specifying IP Binding in the
> rmserver/pnserver config
> 
> rmserver like...
> <List Name="IPBindings">
>     <Var Address_0="216.4.88.80"/>
> </List>
> 
> pmserver like...
> IPBindingList [{216.4.88.80}]
> 
> You never had to do this before, but it seems that 3.1
> and up wants it.
> 
> Brian -
> 
> Senior Network Administrator
> Worldnet Communications Inc.
> 
> p.s. oh yes, all real audio servers run better if
> they're playing Hard Te/<n0 musik (just a tip)
> 
> Quoting Palle Girgensohn <girgen@partitur.se>:
> 
> > Hi!
> >
> > I'm experiencing something strange: I just updated one
> of our servers
> > this week-end, and now the real audio server won't
> run. I have rmserver
> > on a bunch of similar machines, and it works fine for
> them with
> > practically the same setup.
> >
> > I updated the system from FreeBSD-3-STABLE as of March
> 31st to
> > FreeBSD-3-STABLE as of Aug 8. I also added a second
> processor. It works
> > very satisfactory, apart from this.
> >
> > There's no way to access any of the rmserver's
> services; there's no
> > answer on the http admin port either.... When trying
> to connect with
> > rvplayer, the connection hangs on "Contacting host"
> until I kill the
> > server. I then get an error message 29, server
> disconnected.
> >
> > The log files are never touched.
> >
> > I'm of course sending this to the RealAudio support
> folks, but I get the
> > feeling they might not be able to help, since this
> seems pretty OS
> > related (I updated the OS, other machines run fine
> with the same
> > realaudio installation but with older (July 7th)
> FreeBSD systems).
> >
> > I'm not to familiar at debugging this sort of thing,
> but I can see  a
> > few differencies:
> >
> > on the machines where rmserver works fine, lsof -i
> reveals:
> > # lsof -i | grep rmserver
> > rmserver 38163   root    6u  inet 0xca8caa80      0t0
>  TCP
> > pingpong-ing.hj.se:7070 (LISTEN)
> > rmserver 38163   root    7u  inet 0xca8ca720      0t0
>  TCP
> > pingpong-ing.hj.se:rtsp (LISTEN)
> > rmserver 38163   root    8u  inet 0xca8c6720      0t0
>  TCP
> > pingpong-ing.hj.se:8080 (LISTEN)
> > rmserver 38163   root    9u  inet 0xca8c72a0      0t0
>  TCP
> > pingpong-ing.hj.se:2737 (LISTEN)
> > rmserver 38163   root   10u  inet 0xca8cd3c0      0t0
>  TCP
> > localhost:7070 (LISTEN)
> > rmserver 38163   root   11u  inet 0xca8c82a0      0t0
>  TCP
> > localhost:rtsp (LISTEN)
> > rmserver 38163   root   12u  inet 0xca8c7720      0t0
>  TCP
> > localhost:8080 (LISTEN)
> > rmserver 38163   root   13u  inet 0xca8ceba0      0t0
>  TCP
> > localhost:2737 (LISTEN)
> > rmserver 38165   root    5u  inet 0xca8cc3c0      0t0
>  TCP *:4040
> > (LISTEN)
> > rmserver 38167   root    5u  inet 0xca8c8720      0t0
>  TCP *:mmcc
> > (LISTEN)
> > rmserver 38170   root    5u  inet 0xca8cb960      0t0
>  TCP *:9090
> > (LISTEN)
> > rmserver 38172   root    7u  inet 0xca853d80      0t0
>  UDP *:1131
> > rmserver 38172   root    8u  inet 0xca853de0      0t0
>  UDP *:6770
> >
> >
> > while on the bad machine, the last "*:port#" rows are
> missing:
> >
> >
> > rmserver 62759   root    6u  inet 0xc9f01de0      0t0
>  TCP
> > puka.partitur.se:7070 (LISTEN)
> > rmserver 62759   root    7u  inet 0xc9f12720      0t0
>  TCP
> > puka.partitur.se:rtsp (LISTEN)
> > rmserver 62759   root    8u  inet 0xc9f0e3c0      0t0
>  TCP
> > puka.partitur.se:8080 (LISTEN)
> > rmserver 62759   root    9u  inet 0xc9f124e0      0t0
>  TCP
> > puka.partitur.se:3098 (LISTEN)
> > rmserver 62759   root   10u  inet 0xc9f11180      0t0
>  TCP
> > localhost.partitur.se:7070 (LISTEN)
> > rmserver 62759   root   11u  inet 0xc9f09180      0t0
>  TCP
> > localhost.partitur.se:rtsp (LISTEN)
> > rmserver 62759   root   12u  inet 0xc9f07960      0t0
>  TCP
> > localhost.partitur.se:8080 (LISTEN)
> > rmserver 62759   root   13u  inet 0xc9f10de0      0t0
>  TCP
> > localhost.partitur.se:3098 (LISTEN)
> >
> > -------------------
> >
> > When running the server from the command line with no
> redirect to
> > dev/null, I can see it stopping before reading all of
> the Plugins:
> >
> > # /usr/local/libexec/rmserver/Bin/rmserver
> > /usr/local/libexec/rmserver/rmserver.cfg
> > Creating Server Space...
> > Starting RealServer 6.0 Core...
> > Loading RealServer License Files...
> > I: Loading Plugins...
> > I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0
> RealNetworks Admin
> > File System
> > I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0
> RealNetworks Basic
> > Allowance Plugin
> > I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0
> RealNetworks Live
> > Archiver Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AU
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks PCM
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AU
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks WAVE
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AIFF
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks DVI4
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0
> RealNetworks
> > Authentication Manager
> > I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0
> RealNetworks
> > Basic Authenticator
> > I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0
> RealNetworks
> > Database Manager
> > I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0
> RealNetworks 5.0
> > Database Wrapper
> > I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0
> RealNetworks
> > Encoder Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0
> RealNetworks Farm
> > Split Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0
> RealNetworks Live
> > Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0
> RealNetworks
> > Logging Plugin
> > I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0
> RealNetworks
> > PlusURL File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0
> RealNetworks
> > Scalable Multicast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0
> RealNetworks Pay
> > Per View Allowance Plug
> > I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0
> RealNetworks
> > FlatFile Database Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0
> RealNetworks Mini
> > SQL PPV Database Plugi
> > I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0
> RealNetworks
> > RealPix BMP Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0
> RealNetworks
> > RealPix GIF Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0
> RealNetworks
> > RealPix JPEG Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0
> RealNetworks
> > RealPix External Effect Sam
> > I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0
> RealNetworks RealPix
> > Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0
> RealNetworks GIF File
> > Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0
> RealNetworks JPEG
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0
> RealNetworks
> > Ramgen File System
> > I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0
> RealNetworks
> > RealMedia File Format Plugi
> > I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0
> RealNetworks RN5
> > Authenticator
> > I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0
> RealNetworks
> > RealText File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0
> RealNetworks SDP
> > Stream Description Plug
> > I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0
> RealNetworks SMIL
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0
> RealNetworks
> > System Monitor
> > I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0
> RealNetworks
> > Splitter Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0
> RealNetworks
> > Local File System
> > I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0
> Shockwave Flash
> > Format Plugin
> >
> >
> > But the a working copy goes somewhat further:
> >
> > # /usr/local/libexec/rmserver/Bin/rmserver
> /opt/etc/rmserver.cfg
> > Creating Server Space...
> > Starting RealServer 6.0 Core...
> > Loading RealServer License Files...
> > I: Loading Plugins...
> > I: /usr/local/libexec/rmserver/Plugins/adminfs.so.6.0
> RealNetworks Admin
> > File System
> > I: /usr/local/libexec/rmserver/Plugins/allow.so.6.0
> RealNetworks Basic
> > Allowance Plugin
> > I: /usr/local/libexec/rmserver/Plugins/archplin.so.6.0
> RealNetworks Live
> > Archiver Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AU
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks PCM
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AU
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks WAVE
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks AIFF
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/audplin.so.6.0
> RealNetworks DVI4
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/authmgr.so.6.0
> RealNetworks
> > Authentication Manager
> > I: /usr/local/libexec/rmserver/Plugins/bascauth.so.6.0
> RealNetworks
> > Basic Authenticator
> > I: /usr/local/libexec/rmserver/Plugins/dbmgr.so.6.0
> RealNetworks
> > Database Manager
> > I: /usr/local/libexec/rmserver/Plugins/dbwrap.so.6.0
> RealNetworks 5.0
> > Database Wrapper
> > I: /usr/local/libexec/rmserver/Plugins/encoplin.so.6.0
> RealNetworks
> > Encoder Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/farmplin.so.6.0
> RealNetworks Farm
> > Split Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/liv3plin.so.6.0
> RealNetworks Live
> > Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/logplin.so.6.0
> RealNetworks
> > Logging Plugin
> > I: /usr/local/libexec/rmserver/Plugins/plusplin.so.6.0
> RealNetworks
> > PlusURL File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pplyplin.so.6.0
> RealNetworks
> > Scalable Multicast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ppvallow.so.6.0
> RealNetworks Pay
> > Per View Allowance Plug
> > I: /usr/local/libexec/rmserver/Plugins/ppvbasic.so.6.0
> RealNetworks
> > FlatFile Database Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ppvmsql.so.6.0
> RealNetworks Mini
> > SQL PPV Database Plugi
> > I: /usr/local/libexec/rmserver/Plugins/pxcbmp.so.6.0
> RealNetworks
> > RealPix BMP Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxcgif.so.6.0
> RealNetworks
> > RealPix GIF Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxcjpeg.so.6.0
> RealNetworks
> > RealPix JPEG Codec Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxexfx.so.6.0
> RealNetworks
> > RealPix External Effect Sam
> > I: /usr/local/libexec/rmserver/Plugins/pxff.so.6.0
> RealNetworks RealPix
> > Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxgf.so.6.0
> RealNetworks GIF File
> > Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/pxjf.so.6.0
> RealNetworks JPEG
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/ramplin.so.6.0
> RealNetworks
> > Ramgen File System
> > I: /usr/local/libexec/rmserver/Plugins/rmffplin.so.6.0
> RealNetworks
> > RealMedia File Format Plugi
> > I: /usr/local/libexec/rmserver/Plugins/rn5auth.so.6.0
> RealNetworks RN5
> > Authenticator
> > I: /usr/local/libexec/rmserver/Plugins/rtffplin.so.6.0
> RealNetworks
> > RealText File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/sdpplin.so.6.0
> RealNetworks SDP
> > Stream Description Plug
> > I: /usr/local/libexec/rmserver/Plugins/smlffpln.so.6.0
> RealNetworks SMIL
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/smonplin.so.6.0
> RealNetworks
> > System Monitor
> > I: /usr/local/libexec/rmserver/Plugins/spltplin.so.6.0
> RealNetworks
> > Splitter Broadcast Plugin
> > I: /usr/local/libexec/rmserver/Plugins/smplfsys.so.6.0
> RealNetworks
> > Local File System
> > I: /usr/local/libexec/rmserver/Plugins/swff.so.6.0
> Shockwave Flash
> > Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0
> RealNetworks RGB
> > Renderer Plugin
> > I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0
> RealNetworks AVI
> > File Format Plugin
> > I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0
> RealNetworks
> > QuickTime File Format Plugi
> > I: /usr/local/libexec/rmserver/Plugins/vidplin.so.6.0
> RealNetworks
> > Active Stream Format Versio
> > I: /usr/local/libexec/rmserver/Plugins/vivff.so.6.0
> VivoActive File
> > Format Plugin
> >
> >
> > The last five lines are missing from the bad server
> startup.
> >
> > $ rmserver -v
> > Creating Server Space...
> > Starting RealServer 6.0 Core...
> > RealServer (c) 1995-1998 RealNetworks, Inc. All rights
> reserved.
> > Version:        6.0.3.353
> > Platform: freebsd3
> >
> >
> > Here's a tcpdump from trying to connect:
> >
> > 03:10:46.610541 elbas.partitur.se.4251 >
> puka.partitur.se.7070: S
> > 3043916040:3043916040(0) win 16384 <mss 1460> (DF)
> > 03:10:46.610692 puka.partitur.se.7070 >
> elbas.partitur.se.4251: S
> > 1357161008:1357161008(0) ack 3043916041 win 17520 <mss
> 1460> (DF)
> > 03:10:46.610729 elbas.partitur.se.4251 >
> puka.partitur.se.7070: . ack 1
> > win 17520 (DF)
> > 03:10:46.611024 elbas.partitur.se.4251 >
> puka.partitur.se.7070: P
> > 1:399(398) ack 1 win 17520 (DF)
> > 03:10:46.715954 puka.partitur.se.7070 >
> elbas.partitur.se.4251: . ack
> > 399 win 17122 (DF)
> > 03:10:46.715992 elbas.partitur.se.4251 >
> puka.partitur.se.7070: P
> > 399:400(1) ack 1 win 17520 (DF)
> > 03:10:46.915932 puka.partitur.se.7070 >
> elbas.partitur.se.4251: . ack
> > 400 win 17121 (DF)
> >
> >
> > And when I click stop:
> > 03:10:50.829169 elbas.partitur.se.4251 >
> puka.partitur.se.7070: F
> > 400:400(0) ack 1 win 17520 (DF)
> > 03:10:50.829279 puka.partitur.se.7070 >
> elbas.partitur.se.4251: . ack
> > 401 win 17121 (DF)
> >
> >
> > 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 Aug 11 13:45:58 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from Thanatos.Shenton.Org (cshenton.customer.execdsl.net [206.64.112.238])
	by hub.freebsd.org (Postfix) with ESMTP id A4CBE15580
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 13:45:36 -0700 (PDT)
	(envelope-from chris@shenton.org)
Received: (from chris@localhost)
	by Thanatos.Shenton.Org (8.9.3/8.9.2) id QAA93099;
	Wed, 11 Aug 1999 16:44:59 -0400 (EDT)
	(envelope-from chris)
To: Barrett Richardson <barrett@phoenix.aye.net>
Cc: Steve Hovey <shovey@buffnet.net>,
	Mitch Vincent <cygone@zoomnet.net>, freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
References: <Pine.BSF.4.01.9908110948040.16040-100000@phoenix.aye.net>
User-Agent: SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) Emacs/20.3 (i386--freebsd) MULE/4.0 (HANANOEN)
MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko")
Content-Type: text/plain; charset=US-ASCII
From: Chris Shenton <chris@shenton.org>
Date: 11 Aug 1999 16:44:59 -0400
In-Reply-To: Barrett Richardson's message of "Wed, 11 Aug 1999 10:56:53 -0400 (EDT)"
Message-ID: <874si63v3o.fsf@Thanatos.Shenton.Org>
Lines: 48
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Barrett Richardson <barrett@phoenix.aye.net> writes:

> Use OSPF. Assign the IP address that it answers to a loopback interface.
> Have the ethernet (or other) interface on a different network than
> the IP address that answers requests. 
> [geek-speak elided :-]

Who, it'll take me a while to digest that, but I think I understand
what you're going for. I like it.



> In internet land, other name servers are cacheing info your nameserver
> doles out to them about your domain. When a client browser hits
> www.whatever.com the information returned by the nameserver _it_
> is using may be days old. [...] The only way you can control
> that is decrease the TTL significantly on your DNS records, which
> introduces additional delay as your DNS constantly has to 
> repropagate to be in sync with the real-time loads on your server.

Yeah, I think worse is that the clients (IE, NS) cache the record
forever, regardless of the TTL. If the server at the address dies you
have to stop and restart the browser. Yech.

> If the load is primarily random accesses from internet land the
> end result is that (realistically) you don't have any more finer
> grained load balancing that with the simple hack of round robin
> DNS.

Understood. And I think it would be hard to craft a metric which
doesn't swing wildly from under- to over-used; have to have the right
"damping" but also respond quickly to increased loading.



> I could see such a scheme working for client softwares that are directly
> using this nameserver (should be great on your own networks). The
> model becomes less feasible if the accesses are coming from random
> locations not directly using your nameserver (for example the internet).

All the ones I've read about employ a hacked/proxy DNS which changes
responses based on <something>, at best by trying to triangulate on the
client's network. But you're right: increasing accuracy depends on
decreasing TTL and therefore you increase DNS traffic. A big win would
be if you could triangulate back to the client's local DNS; if the DNS
were one used by a large site (e.g. an ISP, AoL, etc) then the DNS
refresh load would be insignificant compared to the user population
being served.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 16: 1:46 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mail.delanet.com (hermes.delanet.com [208.9.136.62])
	by hub.freebsd.org (Postfix) with SMTP id 1DA0615580
	for <freebsd-isp@freebsd.org>; Wed, 11 Aug 1999 16:01:41 -0700 (PDT)
	(envelope-from stevec@delanet.com)
Received: (qmail 40782 invoked from network); 11 Aug 1999 22:59:25 -0000
Received: from unknown (HELO delanet.com) (208.9.136.123)
  by mail.delanet.com with SMTP; 11 Aug 1999 22:59:25 -0000
Message-ID: <37B20106.40A6203C@delanet.com>
Date: Wed, 11 Aug 1999 19:02:30 -0400
From: "Stephen C. Comoletti" <stevec@delanet.com>
Organization: DelaNET, Inc.
X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: Try 2... Problems with 100Base on DEC 21143 controller
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Seems I need more sleep. Previously posted this and mixedup two
different posts when I wrote it. Need more caffiene I guess. Anyhow, if
anyone can help on the following problem (now with the correct
information) I'd greatly appreciate it.

I've recently upgraded to a 100base switch and put all of our main
servers on it. Some of the servers are running FreeBSD 3.2r with a
DEC 21143 controller on the MB (DEC 300i+ workstations). Problem I am
having is that they refuse to negotiate at 100base on powerup or reboot.
I added a 'ifconfig de0 media 100BaseTX' to the rc.conf for them, and
while I have a green light on the switch, until I ifconfig down, then up
the interface, it is not active. My 3.1 boxes seem somewhat more
tollerant to this problem. I've put new cables in to be sure they were
not an issue.  I also have several MS NT4 machines on the same hardware
which do not have any problems at all, which leads me to believe it's
unique to this paticular driver (tulip driver?)....Are there any updates 
to this driver and/or changes I can make to fix this? Otherwise I'm
stuck
with a machine that is unable to have an unattended reboot or I run at 
10Base again.

Please cc me in any replies as I'm not on this list.

Thanks in advance,

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Wed Aug 11 17: 9:18 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from snafu.adept.org (adsl-63-193-112-19.dsl.snfc21.pacbell.net [63.193.112.19])
	by hub.freebsd.org (Postfix) with ESMTP id 7E8A815670
	for <freebsd-isp@FreeBSD.ORG>; Wed, 11 Aug 1999 17:09:12 -0700 (PDT)
	(envelope-from mike@snafu.adept.org)
Received: from localhost (mike@localhost)
	by snafu.adept.org (8.9.3/8.9.3) with ESMTP id RAA01311;
	Wed, 11 Aug 1999 17:08:41 -0700 (PDT)
Date: Wed, 11 Aug 1999 17:08:41 -0700 (PDT)
From: Mike Hoskins <mike@snafu.adept.org>
To: Chris Shenton <chris@shenton.org>
Cc: Barrett Richardson <barrett@phoenix.aye.net>,
	Steve Hovey <shovey@buffnet.net>, Mitch Vincent <cygone@zoomnet.net>,
	freebsd-isp@FreeBSD.ORG
Subject: Re: Loadbalance webservers
In-Reply-To: <874si63v3o.fsf@Thanatos.Shenton.Org>
Message-ID: <Pine.BSF.4.10.9908111659460.1268-100000@snafu.adept.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On 11 Aug 1999, Chris Shenton wrote:

> Yeah, I think worse is that the clients (IE, NS) cache the record
> forever, regardless of the TTL. If the server at the address dies you
> have to stop and restart the browser. Yech.

Yes, this is definately not crescent fresh (uh, not good).

That's why I prefer the fresh and cool spiffiness of Foundry Network's
ServerIron's...  point your DNS to a 'virtual server's' public IP
(one IP...  never changes...  no client restarts) which rotates among
multiple internal IPs (implementing your choice of load balancing
techniques and providing downed host detection, etc.).

A lot of clients use these, even more than those with f5's stuff, and they
tout their praises all the day long.  I'm also starting to suggest these
to friends...  Something one must always be cautious about.  ;)

If you're trying to be creative or cut costs, then there's room for
debate...  If you just want something that works well, and is pretty
darned fast to boot, try a ServerIron (I think there's even 'trial'
packages available)...  'Gosh, it sure is swell.' :)

						-Mike




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12  0: 4: 1 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from main.piter.net (main.piter.net [195.201.22.10])
	by hub.freebsd.org (Postfix) with ESMTP id 7705714E69
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 00:03:55 -0700 (PDT)
	(envelope-from cyril@main.piter.net)
Received: (from cyril@localhost)
	by main.piter.net (8.9.3/8.5.2/sply) id LAA23176;
	Thu, 12 Aug 1999 11:04:30 +0400 (MSD)
Date: Thu, 12 Aug 1999 11:04:30 +0400 (MSD)
From: "Cyril A. Vechera" <cyril@main.piter.net>
Message-Id: <199908120704.LAA23176@main.piter.net>
To: barrett@phoenix.aye.net, stuart@eclipse.net.uk
Subject: Re: Loadbalance webservers
Cc: cshenton@uucom.com, cygone@zoomnet.net, freebsd-isp@FreeBSD.ORG,
	shovey@buffnet.net
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > > It would be way cool to modify the server-based daemon to have it
> > > determine the network distance/cost to the *client* then feed that to
> > > the lbnamed so it could return a record corresponding to the server
> > > fastest/closest to the actual client. This would implement WAN load
> > > balancing much like F5 Lab's $27K (each) 3DNS.
> > 
> > I think Netscape used to do this in software (at least I always used
> > to get the IP address of their UK mirror returned) but they seem not to
> > be doing that now.
> > 
> > Stuart
> > 
>
> Could be an artifact of normal BIND behaviour. When a nameserver
> queries for something in somedomain.com it is given a list of
> randomly ordered NS records to try for a zone. The RTT to each
> of the nameservers is measured and queries are sent to the server
> that replies the quickest. The tracking of RTTs is done continually
> to account for any significant changes in the routes between the
> server that is asking and the server that is answering.

Yes. IMO, the most simple and most usefull way is to split DNS for every
WWW/etc server, for example, if we have three machines in different
networks, they could be configured by this scheme

Network 1, WWW1 has ip-addres x.x.x.x
Network 2, WWW2 has ip-addres y.y.y.y
Network 3, WWW3 has ip-addres z.z.z.z


And there are three DNS-servers,
and DNS1 placed near WWW1, DNS2 - near WWW2 etc.
all DNS-server must disable round-robin feature,
and each one must have first A record for closest
WWW-server, i.e.
DNS1 
		www.your-domain.com A x.x.x.x
		www.your-domain.com A y.y.y.y
		www.your-domain.com A z.z.z.z
DNS2 
		www.your-domain.com A y.y.y.y
		www.your-domain.com A z.z.z.z
		www.your-domain.com A x.x.x.x
DNS3 
		www.your-domain.com A z.z.z.z
		www.your-domain.com A x.x.x.x
		www.your-domain.com A y.y.y.y


Sincerely your,
	Cyril A. Vechera

email:cyril@piter.net          ---------              http://sply.piter.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12  2:57:40 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17])
	by hub.freebsd.org (Postfix) with ESMTP id 701EF14DBE
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 02:57:35 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id MAA01408
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 12:58:35 +0300 (EEST)
	(envelope-from andyo@prime.net.ua)
Message-ID: <37B29AC9.124CF65E@prime.net.ua>
Date: Thu, 12 Aug 1999 12:58:34 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
Organization: M-Info
X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: en, ru, uk
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: Problem with aliasing unregistered IPs on dialup server.
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi everybody,

I'm trying to configure dialup ppp server to

assign unregistered IP to dialup clients.

Before begining this process clients was assigned

real IPs per ttyd* basis. All the changes I made

was entry for one of the clients in ppp.secret like this:

testclient    *    10.0.0.1    *

to override "set iffaddr" statements in ppp.conf's profiles

like this:

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 57600
 accept pap
 enable pap

# enable alias yes

# alias unregistered_only yes

# alias addr REALSERVERIP 10.0.0.1

 enable passwdauth
 allow user *
 allow mode direct
 set timeout 0
 accept dns

ttyd1:
 set ifaddr SERVERREALIP CLIENTREALIP1

[..]

ttydN:
 set ifaddr SERVERREALIP CLIENTREALIPN

ppp starts like "ppp -direct $TTYN" from ppplogin.sh.

Also I've tried commented commands in ppp.conf. The result was that

client could communicate only with hosts on the same subnet as dialup

server was but not with hosts on another subnets of my network and

naturally not with the rest of Internet.

I've investigated that packets from client went outside with 10.0.0.1

source address w/o being aliased. And this is a reason of why client

cannot communicate with the rest of Internet.

Who can point me right way to force aliasing of unregistered IPs?

Thank U in advance.

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money ö%-)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12  3:43:31 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31])
	by hub.freebsd.org (Postfix) with ESMTP id C1B0B14FDF
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 03:43:25 -0700 (PDT)
	(envelope-from des@flood.ping.uio.no)
Received: (from des@localhost)
	by flood.ping.uio.no (8.9.3/8.9.3) id MAA17469;
	Thu, 12 Aug 1999 12:43:14 +0200 (CEST)
	(envelope-from des)
To: Doug <Doug@gorean.org>
Cc: ndear@areti.net, freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters.
References: <199908111513.QAA21355@post.mail.areti.net> <37B1B1EE.4DCF214F@gorean.org>
From: Dag-Erling Smorgrav <des@flood.ping.uio.no>
Date: 12 Aug 1999 12:43:13 +0200
In-Reply-To: Doug's message of "Wed, 11 Aug 1999 10:25:02 -0700"
Message-ID: <xzphfm5th32.fsf@flood.ping.uio.no>
Lines: 32
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Doug <Doug@gorean.org> writes:
> 	It's impossible to answer this question intelligently without knowing your
> version of the OS and your current kernel maxusers setting, not to mention
> memory, processor, etc. However in general for a short term crisis
> situation like this you can go to 512 maxusers and 15000 NMBCLUSTERS on a
> 2.2.8 system, assuming that you have enough ram.

No. Increasing MAXUSERS beyond 128 on a pre-3.2 system is very risky.
The problem is not RAM, but kernel virtual memory space.

BTW, there's no point in increasing MAXUSERS if you set NMBCLUSTERS
separately. The only other parameters controlled by MAXUSERS are NPROC
(20 + 16 * MAXUSERS) and MAXFILES (NPROC * 2), but MAXFILES can be
tuned at run time by setting the kern.maxfiles sysctl variable.

The default for NMBCLUSTERS is (512 + MAXUSERS * 16).

>                                                  I'd say 256M ought to do
> it. If you have a 3.2 system you can go higher on these numbers, but
> chances are you won't need to. netstat [-s | -sr | -m] will give you a
> better idea of hot to tune it when the crisis is over. 

If you have a 3.2 system, you can simply add the following line to
/boot/loader.conf:

kern.ipc.nmbclusters="8192"

No need to build a new kernel.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12  8:25:33 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id ECE28157E5
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 08:25:26 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA47611;
	Thu, 12 Aug 1999 16:25:32 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA03980;
	Thu, 12 Aug 1999 16:27:35 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908121527.QAA03980@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: "Andy V. Oleynik" <andyo@prime.net.ua>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server. 
In-reply-to: Your message of "Thu, 12 Aug 1999 12:58:34 +0300."
             <37B29AC9.124CF65E@prime.net.ua> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Thu, 12 Aug 1999 16:27:35 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> =

> Hi everybody,
> =

> I'm trying to configure dialup ppp server to
> =

> assign unregistered IP to dialup clients.
> =

> Before begining this process clients was assigned
> =

> real IPs per ttyd* basis. All the changes I made
> =

> was entry for one of the clients in ppp.secret like this:
> =

> testclient    *    10.0.0.1    *
> =

> to override "set iffaddr" statements in ppp.conf's profiles
[.....]

Sounds like your Internet gateway doesn't know how to route 10.0.0.1 =

to your ppp server.

> --
> WBW  Andy V. Oleynik            (When U work in virtual office
> prime.net.ua's                   U have good chance to obtain
> system administrator             virtual money =F6%-)
> +380442448363

-- =

Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12  9: 9:19 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101])
	by hub.freebsd.org (Postfix) with ESMTP id C0BC414F06
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 09:09:15 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Received: from gorean.org (master [10.0.0.2])
	by dt011n65.san.rr.com (8.9.3/8.8.8) with ESMTP id JAA79508;
	Thu, 12 Aug 1999 09:07:34 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Message-ID: <37B2F147.1BFC9C39@gorean.org>
Date: Thu, 12 Aug 1999 09:07:35 -0700
From: Doug <Doug@gorean.org>
Organization: Triborough Bridge & Tunnel Authority
X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT-0811 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc: ndear@areti.net, freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters.
References: <199908111513.QAA21355@post.mail.areti.net> <37B1B1EE.4DCF214F@gorean.org> <xzphfm5th32.fsf@flood.ping.uio.no>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Dag-Erling Smorgrav wrote:
> 
> Doug <Doug@gorean.org> writes:
> >       It's impossible to answer this question intelligently without knowing your
> > version of the OS and your current kernel maxusers setting, not to mention
> > memory, processor, etc. However in general for a short term crisis
> > situation like this you can go to 512 maxusers and 15000 NMBCLUSTERS on a
> > 2.2.8 system, assuming that you have enough ram.
> 
> No. Increasing MAXUSERS beyond 128 on a pre-3.2 system is very risky.
> The problem is not RAM, but kernel virtual memory space.

	I ran highly loaded IRC servers like that for years. In 2.2.8 increasing
maxusers beyond 512 or NMBCLUSTERS above 15k is a pessimization, but those
levels are safe as long as you have the physical ram to handle it. 

> BTW, there's no point in increasing MAXUSERS if you set NMBCLUSTERS
> separately.

	Unless you also need more of those other things too. :) In our case it
was 	maxfiles that was the issue. One of my servers often ran 5,000
simultaneous connections and we needed about 2.5 times that in open files
to handle it all. We could have gotten by with just adjusting those two
parameters by hand, but things seemed to run "better" with maxusers set
higher, and we could afford the wasted space in the process table. 

	I suggested raising everything at once because this is/was a crisis
situation for the user. However I also suggested that once he reaches a
stable level he should tune it back down to his actual needs. 

Doug


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 10: 3:54 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31])
	by hub.freebsd.org (Postfix) with ESMTP id E46E015770
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 10:03:46 -0700 (PDT)
	(envelope-from des@flood.ping.uio.no)
Received: (from des@localhost)
	by flood.ping.uio.no (8.9.3/8.9.3) id TAA18653;
	Thu, 12 Aug 1999 19:01:11 +0200 (CEST)
	(envelope-from des)
To: Doug <Doug@gorean.org>
Cc: Dag-Erling Smorgrav <des@flood.ping.uio.no>, ndear@areti.net,
	freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters.
References: <199908111513.QAA21355@post.mail.areti.net> <37B1B1EE.4DCF214F@gorean.org> <xzphfm5th32.fsf@flood.ping.uio.no> <37B2F147.1BFC9C39@gorean.org>
From: Dag-Erling Smorgrav <des@flood.ping.uio.no>
Date: 12 Aug 1999 19:01:10 +0200
In-Reply-To: Doug's message of "Thu, 12 Aug 1999 09:07:35 -0700"
Message-ID: <xzp4si5szl5.fsf@flood.ping.uio.no>
Lines: 17
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Doug <Doug@gorean.org> writes:
> 	I ran highly loaded IRC servers like that for years. In 2.2.8 increasing
> maxusers beyond 512 or NMBCLUSTERS above 15k is a pessimization, but those
> levels are safe as long as you have the physical ram to handle it. 

No, they're not. There are "sweet spots" (specific values of maxusers
which work), but increasing maxusers beyond 128 on quarter-gig-kva
systems basically makes the system unstable.

> 	Unless you also need more of those other things too. :) In our case it
> was 	maxfiles that was the issue.

maxfiles can be set at run time.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 11:17: 9 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from hoemlsrv.firewall.lucent.com (hoemail1.lucent.com [192.11.226.161])
	by hub.freebsd.org (Postfix) with ESMTP id 3CAE61577D
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 11:17:00 -0700 (PDT)
	(envelope-from jmcswain@lucent.com)
Received: from cbemh.cb.lucent.com (h135-7-35-160.lucent.com [135.7.35.160])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id NAA28282
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 13:21:06 -0400 (EDT)
Received: by cbemh.cb.lucent.com (8.8.8+Sun/EMS-1.5 sol2)
	id NAA24457; Thu, 12 Aug 1999 13:21:05 -0400 (EDT)
Received: from lucent.com by cbemh.cb.lucent.com (8.8.8+Sun/EMS-1.5 sol2)
	id NAA24453; Thu, 12 Aug 1999 13:21:04 -0400 (EDT)
Message-ID: <37B30081.30F0C5F6@lucent.com>
Date: Thu, 12 Aug 1999 13:12:33 -0400
From: Dale McSwain <jmcswain@lucent.com>
Organization: Lucent Technologies
X-Mailer: Mozilla 4.51C-CCK-MCD EMS-1.4 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-isp@freebsd.org
Subject: Autoboot with 3.1?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Greetings,

How do I get my 3.1 system to autoboot?
I have to press F1 and then F5 manually for the
system to boot. FreeBSD is the only OS installed
on the box. 

Dale McSwain
communigate internet


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 11:23: 4 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252])
	by hub.freebsd.org (Postfix) with ESMTP id 2BB9E15874
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 11:22:56 -0700 (PDT)
	(envelope-from ales@megared.net.mx)
Received: from ales (ales.megared.net.mx [207.249.163.252])
	by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id NAA84327;
	Thu, 12 Aug 1999 13:22:04 -0500 (CDT)
	(envelope-from ales@megared.net.mx)
Message-ID: <006401bee4ef$a1b28320$fca3f9cf@megared.net.mx>
From: "Alejandro Ramirez" <ales@megared.net.mx>
To: "Dale McSwain" <jmcswain@lucent.com>, <freebsd-isp@FreeBSD.ORG>
References: <37B30081.30F0C5F6@lucent.com>
Subject: RE: Autoboot with 3.1?
Date: Thu, 12 Aug 1999 13:22:27 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

    Just install an standard MBR, you can doit in two ways a:\fdisk /mbr or
through sysinstall.


Ales

----- Original Message -----
From: Dale McSwain <jmcswain@lucent.com>
To: <freebsd-isp@FreeBSD.ORG>
Sent: Thursday, August 12, 1999 12:12 PM
Subject: Autoboot with 3.1?


>
> Greetings,
>
> How do I get my 3.1 system to autoboot?
> I have to press F1 and then F5 manually for the
> system to boot. FreeBSD is the only OS installed
> on the box.
>
> Dale McSwain
> communigate internet
>
>
> 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  Thu Aug 12 11:36:11 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6])
	by hub.freebsd.org (Postfix) with ESMTP id 21D891584F
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 11:36:04 -0700 (PDT)
	(envelope-from billf@jade.chc-chimes.com)
Received: by jade.chc-chimes.com (Postfix, from userid 1001)
	id 58E201C09; Thu, 12 Aug 1999 13:35:25 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
	by jade.chc-chimes.com (Postfix) with ESMTP
	id 4DF55381F; Thu, 12 Aug 1999 13:35:25 -0400 (EDT)
Date: Thu, 12 Aug 1999 13:35:25 -0400 (EDT)
From: Bill Fumerola <billf@jade.chc-chimes.com>
To: Dale McSwain <jmcswain@lucent.com>
Cc: freebsd-isp@freebsd.org
Subject: Re: Autoboot with 3.1?
In-Reply-To: <37B30081.30F0C5F6@lucent.com>
Message-ID: <Pine.BSF.4.10.9908121334210.99851-100000@jade.chc-chimes.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Thu, 12 Aug 1999, Dale McSwain wrote:

> How do I get my 3.1 system to autoboot?
> I have to press F1 and then F5 manually for the
> system to boot. FreeBSD is the only OS installed
> on the box. 

You mean 'F5' then 'F1'. Just let it go, once you do it once, the next
time it will do it automatically.

BTW - This is a stupid question for -isp, why on $DIETY's green earth
would you send it to -isp. Use -questions next time.

-- 
- bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
- ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 11:43:23 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101])
	by hub.freebsd.org (Postfix) with ESMTP id D8E8B14DB9
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 11:43:14 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Received: from localhost (doug@localhost)
	by dt011n65.san.rr.com (8.9.3/8.8.8) with ESMTP id LAA81168;
	Thu, 12 Aug 1999 11:43:13 -0700 (PDT)
	(envelope-from Doug@gorean.org)
Date: Thu, 12 Aug 1999 11:43:13 -0700 (PDT)
From: Doug <Doug@gorean.org>
X-Sender: doug@dt011n65.san.rr.com
To: Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc: ndear@areti.net, freebsd-isp@FreeBSD.ORG
Subject: Re: mbuf clusters.
In-Reply-To: <xzp4si5szl5.fsf@flood.ping.uio.no>
Message-ID: <Pine.BSF.4.05.9908121141360.81162-100000@dt011n65.san.rr.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On 12 Aug 1999, Dag-Erling Smorgrav wrote:

> Doug <Doug@gorean.org> writes:
> > 	I ran highly loaded IRC servers like that for years. In 2.2.8 increasing
> > maxusers beyond 512 or NMBCLUSTERS above 15k is a pessimization, but those
> > levels are safe as long as you have the physical ram to handle it. 
> 
> No, they're not. There are "sweet spots" (specific values of maxusers
> which work), but increasing maxusers beyond 128 on quarter-gig-kva
> systems basically makes the system unstable.

	If you believe that you should document it with accompanying
evidence to support your claims. I'm talking real world experience on
several machines (c. 20) over the course of two years, so I'm not going to
back down from saying that those settings do work. 

Doug
-- 
On account of being a democracy and run by the people, we are the only
nation in the world that has to keep a government four years, no matter
what it does.
                -- Will Rogers



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 13:31:41 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from P1M13.prime.net.ua (P1M13.prime.net.ua [195.64.229.45])
	by hub.freebsd.org (Postfix) with ESMTP id 9AB1414C83
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 13:31:18 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by andyo.prime.net (8.9.3/8.8.7) with ESMTP id XAA00385;
	Thu, 12 Aug 1999 23:09:57 +0300 (EEST)
	(envelope-from andyo@prime.net.ua)
Message-ID: <37B32A12.6369EC44@prime.net.ua>
Date: Thu, 12 Aug 1999 23:09:54 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: ru, en, uk
MIME-Version: 1.0
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server.
References: <199908121527.QAA03980@keep.lan.Awfulhak.org>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Brian Somers wrote:

> >
> > Hi everybody,
> >
> > I'm trying to configure dialup ppp server to
> >
> > assign unregistered IP to dialup clients.
> >
> > Before begining this process clients was assigned
> >
> > real IPs per ttyd* basis. All the changes I made
> >
> > was entry for one of the clients in ppp.secret like this:
> >
> > testclient    *    10.0.0.1    *
> >
> > to override "set iffaddr" statements in ppp.conf's profiles
> [.....]
>
> Sounds like your Internet gateway doesn't know how to route 10.0.0.1
> to your ppp server.
>

No, it knows. I can ping from client ppp server and other hosts residing on

the same ethernet in the same subnet can too . Also I can reach 10.0.0.1
client from ppp server
and these hosts. I understand that while ppp-server has direct route to the
client and
other hosts on the ether have this ppp-server as defaultrouter they can
reach client.
But hosts from outside this subnet, such as host that is defaultrouter for
my ppp-server
doesnt know how to reach 10.0.0.0/24 hosts and they sends their repleys to
their
defaultrouters - checked with tcpdump. And my question was why ppp doesnt
alias the
packets from unregistered networks. I think  ppp have to works like natd in
this case.
I.e. every packet from unregistered have to be resent to destination by ppp
with its own  addr.
And answers have to be retransmitted to the client. Isnt it? What is the
reason of my failure?

>

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money Ã%o)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 13:50:26 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from P1M13.prime.net.ua (P1M8.prime.net.ua [195.64.229.40])
	by hub.freebsd.org (Postfix) with ESMTP id F0C5D1589A
	for <freebsd-isp@FreeBSD.ORG>; Thu, 12 Aug 1999 13:50:19 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by P1M13.prime.net.ua (8.9.3/8.9.3) with ESMTP id XAA00639;
	Thu, 12 Aug 1999 23:52:03 +0300 (EEST)
Message-ID: <37B333EF.4F2A8CDC@prime.net.ua>
Date: Thu, 12 Aug 1999 23:52:00 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: ru, en, uk
MIME-Version: 1.0
To: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server.
References: <199908121527.QAA03980@keep.lan.Awfulhak.org> <37B32A12.6369EC44@prime.net.ua>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

"Andy V. Oleynik" wrote:

> Brian Somers wrote:
>
> > >
> > > Hi everybody,
> > >
> > > I'm trying to configure dialup ppp server to
> > >
> > > assign unregistered IP to dialup clients.
> > >
> > > Before begining this process clients was assigned
> > >
> > > real IPs per ttyd* basis. All the changes I made
> > >
> > > was entry for one of the clients in ppp.secret like this:
> > >
> > > testclient    *    10.0.0.1    *
> > >
> > > to override "set iffaddr" statements in ppp.conf's profiles
> > [.....]
> >
> > Sounds like your Internet gateway doesn't know how to route 10.0.0.1
> > to your ppp server.
>

Hmm. In previous letter I misunderstood U. Yes, of course my border router
doesnt
know where 10.0.0.0/24 or similar resides. It probably asks roots and obtains
no or
invalidate answers. But I beleaved that ppp masquerding such an addresses so
answers reach the ppp server where they are retransmitted to 10.0.0.1 or
similar.
What did I misunderstand?

> >
>
>

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money Ã%o)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 15:32: 2 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mu.egroups.com (mu.egroups.com [207.138.41.151])
	by hub.freebsd.org (Postfix) with SMTP id 1A35114D87
	for <freebsd-isp@freebsd.org>; Thu, 12 Aug 1999 15:31:59 -0700 (PDT)
	(envelope-from rmartine@infosel.com.mx)
Received: from [10.1.2.26] by mu.egroups.com with NNFMP; 12 Aug 1999 23:29:30 -0000
Date: Thu, 12 Aug 1999 15:29:20 -0700
From: rmartine@infosel.com.mx
To: freebsd-isp@freebsd.org
Subject: small isp
Message-ID: <7ovhs0$59cb@eGroups.com>
User-Agent: eGroups-EW/0.76
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Length: 166
X-Mailer: www.eGroups.com Message Poster
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I want to start a small isp bussines.

Can somebody help with what=B4s need of hardware and software to start
and how much does it cost ?

I=B4ll appreciated a lot !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Thu Aug 12 15:39:57 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from Aries.utstar.com (mail.utstar.com [205.185.99.6])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4B8EC15682; Thu, 12 Aug 1999 15:39:51 -0700 (PDT)
	(envelope-from suvrat@utstar.com)
Received: from suvrat.utstar.com (nj48.utstar.com [172.16.2.48] (may be forged))
	by Aries.utstar.com (8.9.3/8.9.3) with ESMTP id SAA19524;
	Thu, 12 Aug 1999 18:36:24 -0400 (EDT)
Message-Id: <199908122236.SAA19524@Aries.utstar.com>
From: "Suvrat" <suvrat@utstar.com>
To: <freebsd-net@freebsd.org>, <freebsd-isp@freebsd.org>,
	<freebsd-small@freebsd.org>
Subject: userPPP vs kernel PPP performance
Date: Thu, 12 Aug 1999 18:38:39 -0400
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,
Any pointers to userPPP(iijPPP) vs kernelPPP(pppd) performance?
thanks
-suvrat
email: suvrat@utstar.com   
Senior Software Engineer            Ph (w) 732-767-5219
UTStarcom Inc                                 (r)  732-721-3304
33 Wood Ave. south, 8th Flr.
Iselin, NJ 08830


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  0:50:11 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from webhotel.combo.dk (webhotel.combo.dk [212.10.14.142])
	by hub.freebsd.org (Postfix) with SMTP id A7AA614DAC
	for <freebsd-isp@freebsd.org>; Fri, 13 Aug 1999 00:50:01 -0700 (PDT)
	(envelope-from kak@bitnisse.dk)
Received: (qmail 22897 invoked from network); 13 Aug 1999 07:46:31 -0000
Received: from ip114.naenxr1.ras.tele.dk (HELO wrkkak) (195.249.33.114)
  by webhotel.combo.dk with SMTP; 13 Aug 1999 07:46:31 -0000
Message-ID: <002a01bee560$2ef3bfe0$0a69a8c0@combo.dk>
From: "Kenneth Karlsson" <kak@bitnisse.dk>
To: <freebsd-isp@freebsd.org>
Cc: <rmartine@infosel.com.mx>
References: <7ovhs0$59cb@eGroups.com>
Subject: Sv: small isp
Date: Fri, 13 Aug 1999 09:42:44 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Define small !

I run a webhotel / mailhotel on a IBM PC Server 320 / 64 MB / 4 GB, and =
host some 25 domains, with approx. 150 mailaccounts. And i have to say, =
it runs GREAT ! that said, i am aware i in the future have to offer some =
new products, which might need better HW, (PHP, SQL Database etc.). I am =
currently running FBSD2.2.8R, the plans are to upgrade to 3.3R when it =
comes - so i am currently testing methods of moving user accounts / =
homedirs etc (any good ressources ?).

The IBM320 is a P120 with PCI/EISA Bus - latest purchase was a UPS for =
it :-))

In Denmark we can get internet access without fee (other than tele), so =
i rely on this connection type rather than making my own dial-in.

M.v.h
Kenneth Karlsson
* CDS / CCA
* BSD/Dk - http://www.bsd-dk.dk


----- Original Message -----=20
From: <rmartine@infosel.com.mx>
To: <freebsd-isp@freebsd.org>
Sent: Friday, August 13, 1999 12:29 AM
Subject: small isp


I want to start a small isp bussines.

Can somebody help with what=B4s need of hardware and software to start
and how much does it cost ?

I=B4ll appreciated a lot !



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 Aug 13  1:34:16 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id C88DF14D82
	for <freebsd-isp@FreeBSD.ORG>; Fri, 13 Aug 1999 01:34:05 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id JAA37122;
	Fri, 13 Aug 1999 09:33:45 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id JAA00498;
	Fri, 13 Aug 1999 09:03:23 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908130803.JAA00498@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: "Andy V. Oleynik" <andyo@prime.net.ua>
Cc: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server. 
In-reply-to: Your message of "Thu, 12 Aug 1999 23:09:54 +0300."
             <37B32A12.6369EC44@prime.net.ua> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Fri, 13 Aug 1999 09:03:23 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Brian Somers wrote:
> =

> > >
> > > Hi everybody,
> > >
> > > I'm trying to configure dialup ppp server to
> > >
> > > assign unregistered IP to dialup clients.
> > >
> > > Before begining this process clients was assigned
> > >
> > > real IPs per ttyd* basis. All the changes I made
> > >
> > > was entry for one of the clients in ppp.secret like this:
> > >
> > > testclient    *    10.0.0.1    *
> > >
> > > to override "set iffaddr" statements in ppp.conf's profiles
> > [.....]
> >
> > Sounds like your Internet gateway doesn't know how to route 10.0.0.1
> > to your ppp server.
> >
> =

> No, it knows. I can ping from client ppp server and other hosts residin=
g on
> =

> the same ethernet in the same subnet can too . Also I can reach 10.0.0.=
1
> client from ppp server
> and these hosts. I understand that while ppp-server has direct route to=
 the
> client and
> other hosts on the ether have this ppp-server as defaultrouter they can=

> reach client.
> But hosts from outside this subnet, such as host that is defaultrouter =
for
> my ppp-server
> doesnt know how to reach 10.0.0.0/24 hosts and they sends their repleys=
 to
> their
> defaultrouters - checked with tcpdump. And my question was why ppp does=
nt
> alias the
> packets from unregistered networks. I think  ppp have to works like nat=
d in
> this case.
> I.e. every packet from unregistered have to be resent to destination by=
 ppp
> with its own  addr.
> And answers have to be retransmitted to the client. Isnt it? What is th=
e
> reason of my failure?

If you've got the following setup:


          -------           -------------       --------
  'net---| Box A |-- LAN --| Box B (ppp) |-----| Client |
          -------           -------------       --------

You need to run the aliasing software on the 'net side of Box A and =

make sure that Box A knows how to route to Client via Box B (10/24) =

so that it makes everything look like it comes from itself when it =

transmits to the 'net and so that it knows what to do with the =

replies when it gets them back.

My suspicion was that Box A didn't know how to route to Client via =

Box B.

If Box A can talk directly to Client, and Box A runs either natd or =

ppp -alias on it's 'net interface, there should be no problem.

> --
> WBW  Andy V. Oleynik            (When U work in virtual office
> prime.net.ua's                   U have good chance to obtain
> system administrator             virtual money =C3%o)
> +380442448363

-- =

Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  1:49:15 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17])
	by hub.freebsd.org (Postfix) with ESMTP id 86B3014D82
	for <freebsd-isp@FreeBSD.ORG>; Fri, 13 Aug 1999 01:49:04 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id LAA00383;
	Fri, 13 Aug 1999 11:48:41 +0300 (EEST)
	(envelope-from andyo@prime.net.ua)
Message-ID: <37B3DBE7.F575EF31@prime.net.ua>
Date: Fri, 13 Aug 1999 11:48:40 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
Organization: M-Info
X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: en, ru, uk
MIME-Version: 1.0
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server.
References: <199908130803.JAA00498@keep.lan.Awfulhak.org>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Brian Somers wrote:

> >
> > No, it knows. I can ping from client ppp server and other hosts residing on
> >
> > the same ethernet in the same subnet can too . Also I can reach 10.0.0.1
> > client from ppp server
> > and these hosts. I understand that while ppp-server has direct route to the
> > client and
> > other hosts on the ether have this ppp-server as defaultrouter they can
> > reach client.
> > But hosts from outside this subnet, such as host that is defaultrouter for
> > my ppp-server
> > doesnt know how to reach 10.0.0.0/24 hosts and they sends their repleys to
> > their
> > defaultrouters - checked with tcpdump. And my question was why ppp doesnt
> > alias the
> > packets from unregistered networks. I think  ppp have to works like natd in
> > this case.
> > I.e. every packet from unregistered have to be resent to destination by ppp
> > with its own  addr.
> > And answers have to be retransmitted to the client. Isnt it? What is the
> > reason of my failure?
>
> If you've got the following setup:
>
>           -------           -------------       --------
>   'net---| Box A |-- LAN --| Box B (ppp) |-----| Client |
>           -------           -------------       --------
>

No, but similar:

                    _______
________
INET------|BOXA|---PPP-leased-multi-line---|BOX B  |---PPP-dialup--|Client|
                    ----------
-------------
On the BOXB ppp-server side I have aliasing with:
alias enable yes
alias unregistered_only yes
BOXB have real IP. All the packets from Client go w/o aliasing through the BOXB
outside the subnet.

>
> You need to run the aliasing software on the 'net side of Box A and
> make sure that Box A knows how to route to Client via Box B (10/24)
> so that it makes everything look like it comes from itself when it
> transmits to the 'net and so that it knows what to do with the
> replies when it gets them back.
>
> My suspicion was that Box A didn't know how to route to Client via
> Box B.
>
> If Box A can talk directly to Client, and Box A runs either natd or
> ppp -alias on it's 'net interface, there should be no problem.
>
> > --
> > WBW  Andy V. Oleynik            (When U work in virtual office
> > prime.net.ua's                   U have good chance to obtain
> > system administrator             virtual money Ã%o)
> > +380442448363
>
> --
> Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
>       <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
> Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money ö%-)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  3: 9:44 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198])
	by hub.freebsd.org (Postfix) with ESMTP id 2135414DE8
	for <freebsd-isp@FreeBSD.ORG>; Fri, 13 Aug 1999 03:09:39 -0700 (PDT)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1])
	by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id LAA39837;
	Fri, 13 Aug 1999 11:07:46 +0100 (BST)
	(envelope-from brian@Awfulhak.org)
Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1])
	by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id LAA27283;
	Fri, 13 Aug 1999 11:09:54 +0100 (BST)
	(envelope-from brian@keep.lan.Awfulhak.org)
Message-Id: <199908131009.LAA27283@keep.lan.Awfulhak.org>
X-Mailer: exmh version 2.0.2 2/24/98
To: "Andy V. Oleynik" <andyo@prime.net.ua>
Cc: Brian Somers <brian@FreeBSD.org.uk>, freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server. 
In-reply-to: Your message of "Fri, 13 Aug 1999 11:48:40 +0300."
             <37B3DBE7.F575EF31@prime.net.ua> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Fri, 13 Aug 1999 11:09:54 +0100
From: Brian Somers <brian@FreeBSD.org.uk>
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

You need to run the aliasing software on the external interface - in =

your case, either the external BoxB interface or have the client box =

run it.

Running it on the private interface of Box B doesn't work :-|

> Brian Somers wrote:
> =

> > >
> > > No, it knows. I can ping from client ppp server and other hosts res=
iding on
> > >
> > > the same ethernet in the same subnet can too . Also I can reach 10.=
0.0.1
> > > client from ppp server
> > > and these hosts. I understand that while ppp-server has direct rout=
e to the
> > > client and
> > > other hosts on the ether have this ppp-server as defaultrouter they=
 can
> > > reach client.
> > > But hosts from outside this subnet, such as host that is defaultrou=
ter for
> > > my ppp-server
> > > doesnt know how to reach 10.0.0.0/24 hosts and they sends their rep=
leys to
> > > their
> > > defaultrouters - checked with tcpdump. And my question was why ppp =
doesnt
> > > alias the
> > > packets from unregistered networks. I think  ppp have to works like=
 natd in
> > > this case.
> > > I.e. every packet from unregistered have to be resent to destinatio=
n by ppp
> > > with its own  addr.
> > > And answers have to be retransmitted to the client. Isnt it? What i=
s the
> > > reason of my failure?
> >
> > If you've got the following setup:
> >
> >           -------           -------------       --------
> >   'net---| Box A |-- LAN --| Box B (ppp) |-----| Client |
> >           -------           -------------       --------
> >
> =

> No, but similar:
> =

>                     _______
> ________
> INET------|BOXA|---PPP-leased-multi-line---|BOX B  |---PPP-dialup--|Cli=
ent|
>                     ----------
> -------------
> On the BOXB ppp-server side I have aliasing with:
> alias enable yes
> alias unregistered_only yes
> BOXB have real IP. All the packets from Client go w/o aliasing through =
the BOXB
> outside the subnet.
> =

> >
> > You need to run the aliasing software on the 'net side of Box A and
> > make sure that Box A knows how to route to Client via Box B (10/24)
> > so that it makes everything look like it comes from itself when it
> > transmits to the 'net and so that it knows what to do with the
> > replies when it gets them back.
> >
> > My suspicion was that Box A didn't know how to route to Client via
> > Box B.
> >
> > If Box A can talk directly to Client, and Box A runs either natd or
> > ppp -alias on it's 'net interface, there should be no problem.
> >
> > > --
> > > WBW  Andy V. Oleynik            (When U work in virtual office
> > > prime.net.ua's                   U have good chance to obtain
> > > system administrator             virtual money =C3%o)
> > > +380442448363

-- =

Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  7:27:40 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from proteus.eclipse.net.uk (proteus.eclipse.net.uk [195.188.32.118])
	by hub.freebsd.org (Postfix) with ESMTP id 9ED0514DE4
	for <freebsd-isp@FreeBSD.ORG>; Fri, 13 Aug 1999 07:27:37 -0700 (PDT)
	(envelope-from stuart@eclipse.net.uk)
Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31])
	by proteus.eclipse.net.uk (Postfix) with ESMTP
	id 862AF9B36; Fri, 13 Aug 1999 15:27:31 +0100 (BST)
Message-ID: <37B42BC7.668B9A1D@eclipse.net.uk>
Date: Fri, 13 Aug 1999 15:29:27 +0100
From: Stuart Henderson <stuart@eclipse.net.uk>
Organization: Eclipse Networking Ltd.
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en-GB
MIME-Version: 1.0
To: Kenneth Karlsson <kak@bitnisse.dk>
Cc: freebsd-isp@FreeBSD.ORG, rmartine@infosel.com.mx
Subject: Re: Sv: small isp
References: <7ovhs0$59cb@eGroups.com> <002a01bee560$2ef3bfe0$0a69a8c0@combo.dk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This document: http://www.interlinkweb.com/~main/isp-faq-list.htm
is a good place to start reading. Also, I would recommend getting 
Greg Lehey's "Complete FreeBSD" book if you don't already have a
copy and are new to the OS. 

-sh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  9:20:27 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from troi.csw.net (troi.csw.net [209.136.192.23])
	by hub.freebsd.org (Postfix) with ESMTP id 02A6615029
	for <FreeBSD-ISP@FreeBSD.org>; Fri, 13 Aug 1999 09:20:19 -0700 (PDT)
	(envelope-from lambert@cswnet.com)
Received: from ssaos2.csw.net (ssaos2.csw.net [209.136.201.13])
	by troi.csw.net (8.9.3/8.9.3) with SMTP id LAA98264
	for <FreeBSD-ISP@FreeBSD.org>; Fri, 13 Aug 1999 11:17:43 -0500 (CDT)
	(envelope-from lambert@cswnet.com)
Message-Id: <199908131617.LAA98264@troi.csw.net>
From: lambert@cswnet.com
Date: Fri, 13 Aug 1999 11:06:09 -0500
To: FreeBSD-ISP@FreeBSD.org
Subject: pwd_mkdb and system processes
X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.60 
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I've been trying to track down a problem on my e-mail server where it
stops processing smtp and pop processes for 5 minutes at a time.  

# wc -l /etc/passwd
    14945 /etc/passwd

We rebuild this file once per hour to add or remove customers.

I finally caught it with a top session running at the time.

Inetd was accepting new connections and starting popper but people  can't
authenticate.
Sendmail accepts new connections but they stall until pwd_mkdb goes away. 
 When I try to run a command from the command line, it doesn't execute 
until pwd_mkdb gets done.
The CPU is 97% idle during this time.  

Does all file access in the system stop while pwd_mkdb runs?  

3.2-STABLE June 30ish.  SMP

-- 
Scott Lambert
lambert@cswnet.com
Systems and Security Administrator
CSW Net, Inc.
================================================================
Written: Friday, August 13, 1999 - 11:06 AM




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  9:35:56 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mail.toplink.net (mail.toplink.net [195.2.171.8])
	by hub.freebsd.org (Postfix) with ESMTP id 72C7D1502D
	for <FreeBSD-ISP@FreeBSD.ORG>; Fri, 13 Aug 1999 09:35:35 -0700 (PDT)
	(envelope-from ck@toplink.net)
Received: from babylon.toplink.net (babylon.toplink.net [195.2.171.90])
	by mail.toplink.net (8.9.3/8.9.3) with ESMTP id SAA19122;
	Fri, 13 Aug 1999 18:35:30 +0200 (CEST)
Received: from localhost (ck@localhost)
	by babylon.toplink.net (8.9.1/8.9.1) with ESMTP id SAA20162;
	Fri, 13 Aug 1999 18:30:42 +0200 (CEST)
	(envelope-from ck@toplink.net)
From: ck@toplink.net
Date: Fri, 13 Aug 1999 18:30:41 +0200 (CEST)
To: lambert@cswnet.com
Cc: FreeBSD-ISP@FreeBSD.ORG
Subject: Re: pwd_mkdb and system processes
In-Reply-To: <199908131617.LAA98264@troi.csw.net>
Message-ID: <Pine.BSF.4.10.9908131828180.19829-100000@babylon.toplink.net>
X-NCC-RegID: de.toplink
X-Spammer-Kill-Ratio: 75%
X-Jihad: Will hunt down all cases of Spam and Net abuse.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

it takes quite some time to build a dbm file of 15k users.

pwd_mkdb would need to be rewritten to build the dbm file somewhere
else and then quickly unlink the old dbm file und replace it with the
new one.

We do similar stuff when building our dbm users file for radius. We build
it somewhere else and then quickly replace it.

pwd_mkdb is propably not made with this kind of stuff in mind. You would
need to fix that.

Greetings
Christian


On Fri, 13 Aug 1999 lambert@cswnet.com wrote:

> I've been trying to track down a problem on my e-mail server where it
> stops processing smtp and pop processes for 5 minutes at a time.  
> 
> # wc -l /etc/passwd
>     14945 /etc/passwd
> 
> We rebuild this file once per hour to add or remove customers.
> 
> I finally caught it with a top session running at the time.
> 
> Inetd was accepting new connections and starting popper but people  can't
> authenticate.
> Sendmail accepts new connections but they stall until pwd_mkdb goes away. 
>  When I try to run a command from the command line, it doesn't execute 
> until pwd_mkdb gets done.
> The CPU is 97% idle during this time.  
> 
> Does all file access in the system stop while pwd_mkdb runs?  
> 
> 3.2-STABLE June 30ish.  SMP
> 
> 

-- 
TopLink Internet Services GmbH			ck@171.2.195.in-addr.arpa
Christian Kratzer				http://www.toplink.net/
Phone: 	+49 7032 2701-0
Fax: 	+49 7032 2701-19	FreeBSD spoken here!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  9:41:18 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from corwin.nall.com (corwin.nall.com [216.30.44.163])
	by hub.freebsd.org (Postfix) with ESMTP id 8C5E914E9D
	for <FreeBSD-ISP@FreeBSD.ORG>; Fri, 13 Aug 1999 09:41:14 -0700 (PDT)
	(envelope-from joe@nall.com)
Received: from nall.com (localhost [127.0.0.1]) by corwin.nall.com with ESMTP (8.7.1/8.7.1) id LAA14588; Fri, 13 Aug 1999 11:40:19 -0500 (CDT)
Message-ID: <37B44A72.94B35E78@nall.com>
Date: Fri, 13 Aug 1999 11:40:18 -0500
From: Joe Nall <joe@nall.com>
Organization: Nall Design Works
X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.26 9000/770)
X-Accept-Language: en
MIME-Version: 1.0
To: lambert@cswnet.com
Cc: FreeBSD-ISP@FreeBSD.ORG
Subject: Re: pwd_mkdb and system processes
References: <199908131617.LAA98264@troi.csw.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

lambert@cswnet.com wrote:
> 
> I've been trying to track down a problem on my e-mail server where it
> stops processing smtp and pop processes for 5 minutes at a time.
> 
> # wc -l /etc/passwd
>     14945 /etc/passwd
> 
> We rebuild this file once per hour to add or remove customers.
> 
> I finally caught it with a top session running at the time.
> 
> Inetd was accepting new connections and starting popper but people  can't
> authenticate.
> Sendmail accepts new connections but they stall until pwd_mkdb goes away.
>  When I try to run a command from the command line, it doesn't execute
> until pwd_mkdb gets done.
> The CPU is 97% idle during this time.
> 
> Does all file access in the system stop while pwd_mkdb runs?
No but all password lookups do.  Both of theses commands rely on the
file you are rebuilding and the files involved are locked during the
process.  You might try  pwd_mkdp -d /tmp <> followed by a mv of the
relevant files into /etc or try pwd_mkdb -u <user> at the time the
passwd file gets modified and avoid the overhead of the total rebuild. 
YMMV, I haven't used the -d option.
Joe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13  9:48:55 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13])
	by hub.freebsd.org (Postfix) with ESMTP id 93BD414F9F
	for <FreeBSD-ISP@FreeBSD.ORG>; Fri, 13 Aug 1999 09:48:51 -0700 (PDT)
	(envelope-from shovey@buffnet.net)
Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55])
	by buffnet4.buffnet.net (8.8.7/8.8.7) with ESMTP id MAA26158;
	Fri, 13 Aug 1999 12:47:46 -0400 (EDT)
	(envelope-from shovey@buffnet.net)
Date: Fri, 13 Aug 1999 12:47:46 -0400 (EDT)
From: Steve Hovey <shovey@buffnet.net>
To: Joe Nall <joe@nall.com>
Cc: lambert@cswnet.com, FreeBSD-ISP@FreeBSD.ORG
Subject: Re: pwd_mkdb and system processes
In-Reply-To: <37B44A72.94B35E78@nall.com>
Message-ID: <Pine.BSF.4.05.9908131247350.11175-100000@buffnet11.buffnet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Or just increase the cache size it uses to it gets done quicker

On Fri, 13 Aug 1999, Joe Nall wrote:

> lambert@cswnet.com wrote:
> > 
> > I've been trying to track down a problem on my e-mail server where it
> > stops processing smtp and pop processes for 5 minutes at a time.
> > 
> > # wc -l /etc/passwd
> >     14945 /etc/passwd
> > 
> > We rebuild this file once per hour to add or remove customers.
> > 
> > I finally caught it with a top session running at the time.
> > 
> > Inetd was accepting new connections and starting popper but people  can't
> > authenticate.
> > Sendmail accepts new connections but they stall until pwd_mkdb goes away.
> >  When I try to run a command from the command line, it doesn't execute
> > until pwd_mkdb gets done.
> > The CPU is 97% idle during this time.
> > 
> > Does all file access in the system stop while pwd_mkdb runs?
> No but all password lookups do.  Both of theses commands rely on the
> file you are rebuilding and the files involved are locked during the
> process.  You might try  pwd_mkdp -d /tmp <> followed by a mv of the
> relevant files into /etc or try pwd_mkdb -u <user> at the time the
> passwd file gets modified and avoid the overhead of the total rebuild. 
> YMMV, I haven't used the -d option.
> Joe
> 
> 
> 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 Aug 13 10:47:27 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from troi.csw.net (troi.csw.net [209.136.192.23])
	by hub.freebsd.org (Postfix) with ESMTP id A4E6414F2B
	for <FreeBSD-ISP@FreeBSD.org>; Fri, 13 Aug 1999 10:47:25 -0700 (PDT)
	(envelope-from lambert@cswnet.com)
Received: from ssaos2.csw.net (ssaos2.csw.net [209.136.201.13])
	by troi.csw.net (8.9.3/8.9.3) with SMTP id MAA21122
	for <FreeBSD-ISP@FreeBSD.org>; Fri, 13 Aug 1999 12:46:05 -0500 (CDT)
	(envelope-from lambert@cswnet.com)
Message-Id: <199908131746.MAA21122@troi.csw.net>
From: lambert@cswnet.com
Date: Fri, 13 Aug 1999 12:40:11 -0500
To: FreeBSD-ISP@FreeBSD.org
In-Reply-To: <Pine.BSF.4.05.9908131247350.11175-100000@buffnet11.buffnet.net>
Subject: Re: pwd_mkdb and system processes
X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.60 
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

That did it.  It went from 4:40 seconds to 20 seconds.  I just gave it a 
cache size of 10 MB on the command line args.  I could probably tune it
down from there but I'm not into swap on this box anyway so it isn't
hurting me and as my userbase grows it will handle the load.

Thanks,

In <Pine.BSF.4.05.9908131247350.11175-100000@buffnet11.buffnet.net>, on
08/13/99 
   at 12:47 PM, Steve Hovey <shovey@buffnet.net> said:

>Or just increase the cache size it uses to it gets done quicker

>On Fri, 13 Aug 1999, Joe Nall wrote:

>> lambert@cswnet.com wrote:
>> > 
>> > I've been trying to track down a problem on my e-mail server where it
>> > stops processing smtp and pop processes for 5 minutes at a time.
>> > 
>> > # wc -l /etc/passwd
>> >     14945 /etc/passwd
>> > 
>> > We rebuild this file once per hour to add or remove customers.
>> > 
>> > I finally caught it with a top session running at the time.
>> > 
>> > Inetd was accepting new connections and starting popper but people  can't
>> > authenticate.
>> > Sendmail accepts new connections but they stall until pwd_mkdb goes away.
>> >  When I try to run a command from the command line, it doesn't execute
>> > until pwd_mkdb gets done.
>> > The CPU is 97% idle during this time.
>> > 
>> > Does all file access in the system stop while pwd_mkdb runs?
>> No but all password lookups do.  Both of theses commands rely on the
>> file you are rebuilding and the files involved are locked during the
>> process.  You might try  pwd_mkdp -d /tmp <> followed by a mv of the
>> relevant files into /etc or try pwd_mkdb -u <user> at the time the
>> passwd file gets modified and avoid the overhead of the total rebuild. 
>> YMMV, I haven't used the -d option.
>> Joe
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-isp" in the body of the message
>> 



-- 
Scott Lambert
lambert@cswnet.com
Systems and Security Administrator
CSW Net, Inc.
================================================================
Written: Friday, August 13, 1999 - 12:40 PM




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 13:40:18 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from prime.net.ua (P1M3.prime.net.ua [195.64.229.35])
	by hub.freebsd.org (Postfix) with ESMTP id 859ED14D6E
	for <freebsd-isp@FreeBSD.ORG>; Fri, 13 Aug 1999 13:40:09 -0700 (PDT)
	(envelope-from andyo@prime.net.ua)
Received: from prime.net.ua (localhost [127.0.0.1])
	by  prime.net.ua (8.9.3/8.9.3) with ESMTP id XAA00839;
	Fri, 13 Aug 1999 23:39:52 +0300 (EEST)
Message-ID: <37B48296.B85E7E15@prime.net.ua>
Date: Fri, 13 Aug 1999 23:39:51 +0300
From: "Andy V. Oleynik" <andyo@prime.net.ua>
X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.2-STABLE i386)
X-Accept-Language: ru, en, uk
MIME-Version: 1.0
To: Brian Somers <brian@FreeBSD.org.uk>
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: Problem with aliasing unregistered IPs on dialup server.
References: <199908121527.QAA03980@keep.lan.Awfulhak.org>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Thank U, Brian, once more. Aliasing of external interface helped.
Now masquearading works just fine.  May be there is reason
to clarify in the ppp related docs where the aliasing should be
performed to work properly?
Brian Somers wrote:

> >
> > Hi everybody,
> >
> > I'm trying to configure dialup ppp server to
> >
> > assign unregistered IP to dialup clients.
> >
> > Before begining this process clients was assigned
> >
> > real IPs per ttyd* basis. All the changes I made
> >
> > was entry for one of the clients in ppp.secret like this:
> >
> > testclient    *    10.0.0.1    *
> >
> > to override "set iffaddr" statements in ppp.conf's profiles
> [.....]
>
> Sounds like your Internet gateway doesn't know how to route 10.0.0.1
> to your ppp server.
>
> > --
> > WBW  Andy V. Oleynik            (When U work in virtual office
> > prime.net.ua's                   U have good chance to obtain
> > system administrator             virtual money Ã%-)
> > +380442448363
>
> --
> Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
>       <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
> Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money Ã%o)
+380442448363





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 14:29:56 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252])
	by hub.freebsd.org (Postfix) with ESMTP id 62BE314EAB
	for <FreeBSD-ISP@FreeBSD.ORG>; Fri, 13 Aug 1999 14:29:51 -0700 (PDT)
	(envelope-from ales@megared.net.mx)
Received: from ales (ales.megared.net.mx [207.249.163.252])
	by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id QAA69953;
	Fri, 13 Aug 1999 16:29:11 -0500 (CDT)
	(envelope-from ales@megared.net.mx)
Message-ID: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>
From: "Alejandro Ramirez" <ales@megared.net.mx>
To: "Steve Hovey" <shovey@buffnet.net>, "Joe Nall" <joe@nall.com>
Cc: <lambert@cswnet.com>, <FreeBSD-ISP@FreeBSD.ORG>
References: <Pine.BSF.4.05.9908131247350.11175-100000@buffnet11.buffnet.net>
Subject: RE: pwd_mkdb and system processes
Date: Fri, 13 Aug 1999 16:29:29 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

How do you do it ???

Ales

----- Original Message -----
From: Steve Hovey <shovey@buffnet.net>
To: Joe Nall <joe@nall.com>
Cc: <lambert@cswnet.com>; <FreeBSD-ISP@FreeBSD.ORG>
Sent: Friday, August 13, 1999 11:47 AM
Subject: Re: pwd_mkdb and system processes


>
> Or just increase the cache size it uses to it gets done quicker
>
> On Fri, 13 Aug 1999, Joe Nall wrote:
>
> > lambert@cswnet.com wrote:
> > >
> > > I've been trying to track down a problem on my e-mail server where it
> > > stops processing smtp and pop processes for 5 minutes at a time.
> > >
> > > # wc -l /etc/passwd
> > >     14945 /etc/passwd
> > >
> > > We rebuild this file once per hour to add or remove customers.
> > >
> > > I finally caught it with a top session running at the time.
> > >
> > > Inetd was accepting new connections and starting popper but people
can't
> > > authenticate.
> > > Sendmail accepts new connections but they stall until pwd_mkdb goes
away.
> > >  When I try to run a command from the command line, it doesn't execute
> > > until pwd_mkdb gets done.
> > > The CPU is 97% idle during this time.
> > >
> > > Does all file access in the system stop while pwd_mkdb runs?
> > No but all password lookups do.  Both of theses commands rely on the
> > file you are rebuilding and the files involved are locked during the
> > process.  You might try  pwd_mkdp -d /tmp <> followed by a mv of the
> > relevant files into /etc or try pwd_mkdb -u <user> at the time the
> > passwd file gets modified and avoid the overhead of the total rebuild.
> > YMMV, I haven't used the -d option.
> > Joe
> >
> >
> > 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




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 14:39:39 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from troi.csw.net (troi.csw.net [209.136.192.23])
	by hub.freebsd.org (Postfix) with ESMTP id 0B5C315425
	for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 14:39:28 -0700 (PDT)
	(envelope-from lambert@cswnet.com)
Received: from ssaos2.csw.net (ssaos2.csw.net [209.136.201.13])
	by troi.csw.net (8.9.3/8.9.3) with SMTP id QAA80727
	for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 16:39:21 -0500 (CDT)
	(envelope-from lambert@cswnet.com)
Message-Id: <199908132139.QAA80727@troi.csw.net>
From: lambert@cswnet.com
Date: Fri, 13 Aug 1999 16:38:57 -0500
To: FreeBSD-ISP@freebsd.org
In-Reply-To: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>
Subject: RE: pwd_mkdb and system processes
X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.60 
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

man pwd_mkdb


In <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>, on 08/13/99 
   at 04:29 PM, "Alejandro Ramirez" <ales@megared.net.mx> said:

>Hi,

>How do you do it ???

>Ales


-- 
Scott Lambert
lambert@cswnet.com
Systems and Security Administrator
CSW Net, Inc.
================================================================
Written: Friday, August 13, 1999 - 04:38 PM




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 18:32:39 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from ms.securenet.net (ms.securenet.net [205.236.147.20])
	by hub.freebsd.org (Postfix) with ESMTP id C77E014E7C
	for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 18:32:35 -0700 (PDT)
	(envelope-from vandj@securenet.net)
Received: from office (office.securenet.net [205.236.147.3])
	by ms.securenet.net (8.9.3/8.9.3) with SMTP id VAA04546
	for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 21:31:11 -0400 (EDT)
Message-Id: <4.1.19990813211946.01409cc0@ms.securenet.net>
X-Sender: vandj@ms.securenet.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 
Date: Fri, 13 Aug 1999 21:31:11 -0400
To: FreeBSD-ISP@freebsd.org
From: "Jean M. Vandette" <vandj@securenet.net>
Subject: NFS server
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Greetings all....

I just finished making up a new system disk to upgrade one of our 
servers to 3.2-STABLE because we use nfsd I have attempted to 
set this up on the new disk.

On start-up I get the following in the message logs.

Aug 13 21:11:50 squid mountd[126]: can't register mount
Aug 13 21:11:50 squid nfsd:[129]: can't register tcp with portmap

If I start "mountd -r " and "nfsd -u -t -n 4" manually after the system is
up no problem it just won't do it automatically at boot... rpc.statd doesn't
even try to start.

The setup is exactly the same as the 2.2.8-STABLE machine which
is working fine.
I'm a bit puzzled any ideas where to look or what to try?

Please advise

John M. Vandette

**John M. Vandette, Consultant       vandj@securenet.net**
**SecureNet Information Services Inc. Internet Providers**
**100 Alexis Nihon Blvd #283 St. Laurent, Quebec, Canada**
**"Who does BSD Unix....?"    "We do Chucky... We do..."**


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 19:17:30 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1])
	by hub.freebsd.org (Postfix) with ESMTP id C317614C57
	for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 19:17:26 -0700 (PDT)
	(envelope-from mike@sentex.net)
Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id WAA19469 for <FreeBSD-ISP@freebsd.org>; Fri, 13 Aug 1999 22:15:12 -0400 (EDT)
From: mike@sentex.net (Mike Tancsa)
To: FreeBSD-ISP@freebsd.org
Subject: Re: pwd_mkdb and system processes
Date: Sat, 14 Aug 1999 02:27:40 GMT
Message-ID: <37b4d14c.830045772@mail.sentex.net>
References: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx> <MAIL199908132139.QAA80727@troi.csw.net>
In-Reply-To: <MAIL199908132139.QAA80727@troi.csw.net>
X-Mailer: Forte Agent .99e/32.227
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On 13 Aug 1999 17:41:39 -0400, in sentex.lists.freebsd.isp you wrote:

>man pwd_mkdb
>
>
>In <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>, on 08/13/99 
>   at 04:29 PM, "Alejandro Ramirez" <ales@megared.net.mx> said:
>
>>Hi,
>
>>How do you do it ???


You can also change the source code so that the default cache size is much
bigger. see
/usr/src/usr.sbin/pwd_mkdb
HASHINFO openinfo = {
        4096,           /* bsize */
        32,             /* ffactor */
        256,            /* nelem */
        2048 * 1024,    /* cachesize */
        NULL,           /* hash() */
        0               /* lorder */
};

Change it to something like

        2048 * 1024 * 5,    /* cachesize */

make depend
make
make install

We use *10 here...

	---Mike
Mike Tancsa  (mdtancsa@sentex.net)		
Sentex Communications Corp,   		
Waterloo, Ontario, Canada
"Who is this 'BSD', and why should we free him?"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Fri Aug 13 22:55:59 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from pamela.servicenet.com.ar (mail.servicenet.com.ar [200.41.148.16])
	by hub.freebsd.org (Postfix) with ESMTP id 7912E1504E
	for <freebsd-isp@freebsd.org>; Fri, 13 Aug 1999 22:55:35 -0700 (PDT)
	(envelope-from esalom@mbox.servicenet.com.ar)
Received: from esalom.servicenet.com.ar ([200.41.157.70])
          by pamela.servicenet.com.ar (Netscape Mail Server v2.02)
          with SMTP id AAA15043; Sat, 14 Aug 1999 02:21:35 +0300
Date: Sat, 14 Aug 99 00:43:35 ARG
From: "Eduardo J. Salom" <esalom@mbox.servicenet.com.ar>
Subject: La Pagina de los Buscadores en Castellano 
To: lista-10.3@pymes-plus.com.ar
X-MAILER: Chameleon 4.6.6, TCP/IP for Windows, NetManage Inc.
X-PRIORITY: 3 (Normal)
Message-ID: <Chameleon.990814004452.ServiceNet@>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Este mensaje es s=F3lo para invitarte a visitar:=20
"La P=E1gina de los Buscadores en Castellano"
<http://www.servicenet.com.ar/esalom/buscador.htm>
desde la cual podr=E1s iniciar b=FAsquedas en mas de 150 buscadores en=20
castellano localizados en 21 pa=EDses.

Si te interesan los temas jur=EDdicos visita:
"La P=E1gina de los Links de Derecho"
<http://www.servicenet.com.ar/esalom/ley-prin.htm>
Con m=E1s de 240 links en castellano y m=E1s de 650 en ingl=E9s, adem=E1s h=
ay=20
p=E1ginas con algunos links en italiano, franc=E9s, alem=E1n y portugu=E9s.

S=F3lo se trata de un esfuerzo personal para hacernos la vida mas f=E1cil a=
=20
los hispano-parlantes y tratar de aumentar nuestra presencia en la red.

Espero que te resulte =FAtil y si no fuera as=ED disculpa la molestia!

Eduardo.






=0D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sat Aug 14  5:48:52 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from hotmail.com (law2-f177.hotmail.com [216.32.181.177])
	by hub.freebsd.org (Postfix) with SMTP id CAEE315228
	for <freebsd-isp@FreeBSD.ORG>; Sat, 14 Aug 1999 05:48:49 -0700 (PDT)
	(envelope-from a_3shmaoy@hotmail.com)
Received: (qmail 11490 invoked by uid 0); 14 Aug 1999 12:47:29 -0000
Message-ID: <19990814124729.11489.qmail@hotmail.com>
Received: from 209.198.248.85 by www.hotmail.com with HTTP;
	Sat, 14 Aug 1999 05:47:29 PDT
X-Originating-IP: [209.198.248.85]
From: "3mr M. M. 3shmaoy" <a_3shmaoy@hotmail.com>
To: freebsd-isp@FreeBSD.ORG
Subject: Squid & MS proxy
Date: Sat, 14 Aug 1999 15:47:29 EEST
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I've installed Squid on FBSD 2.2.8 and I'm tring to configure it to use MS 
Proxy as its gateway. Can anybody help.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sat Aug 14  6:13:52 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from mailhub.ncsa.es (mailhub.ncsa.es [194.179.50.14])
	by hub.freebsd.org (Postfix) with ESMTP id 47F1414C20
	for <freebsd-isp@FreeBSD.ORG>; Sat, 14 Aug 1999 06:13:35 -0700 (PDT)
	(envelope-from jesusr@chuck.jerocu.net)
Received: from chuck.jerocu.net (chuck.jerocu.net [194.224.235.59])
	by mailhub.ncsa.es (8.9.3/8.9.3) with ESMTP id PAA10068;
	Sat, 14 Aug 1999 15:16:21 +0200 (CEST)
Received: (from jesusr@localhost)
	by chuck.jerocu.net (8.9.3/8.9.3) id PAA01146;
	Sat, 14 Aug 1999 15:14:45 +0200 (CEST)
Message-ID: <XFMail.990814151445.jesusr@ncsa.es>
X-Mailer: XFMail 1.3 [p0] on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <19990814124729.11489.qmail@hotmail.com>
Date: Sat, 14 Aug 1999 15:14:45 +0200 (CEST)
Reply-To: jesusr@ncsa.es
Organization: Nexus Comunicaciones, S.A.
From: Jesus Rodriguez <jesusr@ncsa.es>
To: "3mr M. M. 3shmaoy" <a_3shmaoy@hotmail.com>
Subject: RE: Squid & MS proxy
Cc: freebsd-isp@FreeBSD.ORG
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


On 14-Aug-99 3mr M. M. 3shmaoy wrote:
> I've installed Squid on FBSD 2.2.8 and I'm tring to configure it to use MS 
> Proxy as its gateway. Can anybody help.

It's explained on squid docs. You have to define MS Proxy like squid's parent,
and use port 7 (echo) for icp port.

Saludos
JesusR.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


From owner-freebsd-isp  Sat Aug 14  7:57:35 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252])
	by hub.freebsd.org (Postfix) with ESMTP id 30986150DC
	for <FreeBSD-ISP@FreeBSD.ORG>; Sat, 14 Aug 1999 07:57:24 -0700 (PDT)
	(envelope-from ales@megared.net.mx)
Received: from ales (ales.megared.net.mx [207.249.163.252])
	by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id JAA43148;
	Sat, 14 Aug 1999 09:57:00 -0500 (CDT)
	(envelope-from ales@megared.net.mx)
Message-ID: <001501bee665$4b380340$fca3f9cf@megared.net.mx>
From: "Alejandro Ramirez" <ales@megared.net.mx>
To: "Mike Tancsa" <mike@sentex.net>, <FreeBSD-ISP@FreeBSD.ORG>
References: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx> <MAIL199908132139.QAA80727@troi.csw.net> <37b4d14c.830045772@mail.sentex.net>
Subject: RE: pwd_mkdb and system processes
Date: Sat, 14 Aug 1999 09:57:13 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

Thanks, this is great and permanent, just what I was looking for.

Ales

----- Original Message -----
From: Mike Tancsa <mike@sentex.net>
To: <FreeBSD-ISP@FreeBSD.ORG>
Sent: Friday, August 13, 1999 9:27 PM
Subject: Re: pwd_mkdb and system processes


> On 13 Aug 1999 17:41:39 -0400, in sentex.lists.freebsd.isp you wrote:
>
> >man pwd_mkdb
> >
> >
> >In <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>, on 08/13/99
> >   at 04:29 PM, "Alejandro Ramirez" <ales@megared.net.mx> said:
> >
> >>Hi,
> >
> >>How do you do it ???
>
>
> You can also change the source code so that the default cache size is much
> bigger. see
> /usr/src/usr.sbin/pwd_mkdb
> HASHINFO openinfo = {
>         4096,           /* bsize */
>         32,             /* ffactor */
>         256,            /* nelem */
>         2048 * 1024,    /* cachesize */
>         NULL,           /* hash() */
>         0               /* lorder */
> };
>
> Change it to something like
>
>         2048 * 1024 * 5,    /* cachesize */
>
> make depend
> make
> make install
>
> We use *10 here...
>
> ---Mike
> Mike Tancsa  (mdtancsa@sentex.net)
> Sentex Communications Corp,
> Waterloo, Ontario, Canada
> "Who is this 'BSD', and why should we free him?"
>
>
> 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 Aug 14 18:21:42 1999
Delivered-To: freebsd-isp@freebsd.org
Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13])
	by hub.freebsd.org (Postfix) with ESMTP id 632F614D9D
	for <FreeBSD-ISP@FreeBSD.ORG>; Sat, 14 Aug 1999 18:21:39 -0700 (PDT)
	(envelope-from shovey@buffnet.net)
Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55])
	by buffnet4.buffnet.net (8.8.7/8.8.7) with ESMTP id VAA10525;
	Sat, 14 Aug 1999 21:19:29 -0400 (EDT)
	(envelope-from shovey@buffnet.net)
Date: Sat, 14 Aug 1999 21:19:29 -0400 (EDT)
From: Steve Hovey <shovey@buffnet.net>
To: Alejandro Ramirez <ales@megared.net.mx>
Cc: Joe Nall <joe@nall.com>, lambert@cswnet.com,
	FreeBSD-ISP@FreeBSD.ORG
Subject: RE: pwd_mkdb and system processes
In-Reply-To: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>
Message-ID: <Pine.BSF.4.05.9908142118540.4273-100000@buffnet11.buffnet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-isp@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


I believe there are command line switches - but just to not have to think
or remember too much, I went into the source and did it.. the area where
the cache is defined is right at the top of the source file, cant miss it.

On Fri, 13 Aug 1999, Alejandro Ramirez wrote:

> Hi,
> 
> How do you do it ???
> 
> Ales
> 
> ----- Original Message -----
> From: Steve Hovey <shovey@buffnet.net>
> To: Joe Nall <joe@nall.com>
> Cc: <lambert@cswnet.com>; <FreeBSD-ISP@FreeBSD.ORG>
> Sent: Friday, August 13, 1999 11:47 AM
> Subject: Re: pwd_mkdb and system processes
> 
> 
> >
> > Or just increase the cache size it uses to it gets done quicker
> >
> > On Fri, 13 Aug 1999, Joe Nall wrote:
> >
> > > lambert@cswnet.com wrote:
> > > >
> > > > I've been trying to track down a problem on my e-mail server where it
> > > > stops processing smtp and pop processes for 5 minutes at a time.
> > > >
> > > > # wc -l /etc/passwd
> > > >     14945 /etc/passwd
> > > >
> > > > We rebuild this file once per hour to add or remove customers.
> > > >
> > > > I finally caught it with a top session running at the time.
> > > >
> > > > Inetd was accepting new connections and starting popper but people
> can't
> > > > authenticate.
> > > > Sendmail accepts new connections but they stall until pwd_mkdb goes
> away.
> > > >  When I try to run a command from the command line, it doesn't execute
> > > > until pwd_mkdb gets done.
> > > > The CPU is 97% idle during this time.
> > > >
> > > > Does all file access in the system stop while pwd_mkdb runs?
> > > No but all password lookups do.  Both of theses commands rely on the
> > > file you are rebuilding and the files involved are locked during the
> > > process.  You might try  pwd_mkdp -d /tmp <> followed by a mv of the
> > > relevant files into /etc or try pwd_mkdb -u <user> at the time the
> > > passwd file gets modified and avoid the overhead of the total rebuild.
> > > YMMV, I haven't used the -d option.
> > > Joe
> > >
> > >
> > > 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
> 
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message