From owner-freebsd-small Tue Jul 21 07:59:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06277 for freebsd-small-outgoing; Tue, 21 Jul 1998 07:59:01 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from chickenbean.ais-gwd.com (chickenbean.com [205.160.97.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06269; Tue, 21 Jul 1998 07:58:59 -0700 (PDT) (envelope-from charlespeters@chickenbean.com) From: charlespeters@chickenbean.com Received: from ci1000971-c.sptnbrg1.sc.home.com (charles@ci1000971-c.sptnbrg1.sc.home.com [24.4.113.32]) by chickenbean.ais-gwd.com (8.8.8/8.8.8) with SMTP id LAA00349; Tue, 21 Jul 1998 11:04:18 -0400 (EDT) (envelope-from charlespeters@chickenbean.com) To: , Subject: Setting up PicoBSD as a dialup router / gateway. Assiatance needed. Date: Tue, 21 Jul 1998 10:55:00 -0400 Message-ID: <000001bdb4b7$894a3a80$20710418@ci1000971-c.sptnbrg1.sc.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am interested in setting up a dialup router to route internet requests from a lan to the internet via a dialup account. This system should be "self sustaining", and should not require daily maintenance once configures and installed. I think the PicoBSD is the way to go, but the information on the www.freebsd.org/~picobsd/ website is very limited. I am still fairly new to bsd. I am getting frustrated in setting up a simple router (I've been working on this little project for about 2 weeks so far, with no success). Is there anyone here who has experience using PicoBSD who is willing to assist me. Thanks in advance! Charles charlespeters@chickebean.com charlespeters@tecpro.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jul 21 17:45:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25234 for freebsd-small-outgoing; Tue, 21 Jul 1998 17:45:24 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from www.devco.ca (root@[199.126.248.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25205 for ; Tue, 21 Jul 1998 17:45:09 -0700 (PDT) (envelope-from teck@devco.ca) Received: from dww.devco.ca ([199.126.248.201]) by www.devco.ca (8.8.5/8.8.5) with SMTP id WAA18427 for ; Tue, 21 Jul 1998 22:02:58 -0300 (ADT) Message-Id: <3.0.5.32.19980721212701.007c5e20@devco.ca> X-Sender: teck@devco.ca X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 21 Jul 1998 21:27:01 -0300 To: freebsd-small@FreeBSD.ORG From: DJ MacDonald Subject: router Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Anyone use freebsd as a router? If so with what package? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jul 21 22:55:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12349 for freebsd-small-outgoing; Tue, 21 Jul 1998 22:55:56 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12327 for ; Tue, 21 Jul 1998 22:55:40 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id HAA17283; Wed, 22 Jul 1998 07:58:41 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Wed, 22 Jul 1998 07:58:40 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: DJ MacDonald cc: freebsd-small@FreeBSD.ORG Subject: Re: router In-Reply-To: <3.0.5.32.19980721212701.007c5e20@devco.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Jul 1998, DJ MacDonald wrote: > Hello > > Anyone use freebsd as a router? If so with what package? Heh. Many people - see archives of freebsd-isp. It's cheap, fast and reliable. Most people use stock FreeBSD installation with 'routed' (for small internal networks) or, more often, with GateD (/usr/ports/net/gated). You can of course use PicoBSD "net" floppy, which is equipped with routed and several ethernet drivers, as well as PPP. I'm in process of preparing new PicoBSD release (v.0.32), which contains some bugfixes and new features. I'm also working on more specialized "router" setup, which will be available somewhere around v.0.4.. :-) Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Jul 22 09:02:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA26772 for freebsd-small-outgoing; Wed, 22 Jul 1998 09:02:33 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from excalibur.oceanis.net (ns.dotcom.fr [194.133.21.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA26736 for ; Wed, 22 Jul 1998 09:02:27 -0700 (PDT) (envelope-from jerome@excalibur.oceanis.net) Received: (from jerome@localhost) by excalibur.oceanis.net (8.8.8/8.7.3) id SAA19838; Wed, 22 Jul 1998 18:02:05 +0200 (MET DST) From: Jerome DE VIVIE Posted-Date: Wed, 22 Jul 1998 18:02:05 +0200 (MET DST) Message-Id: <199807221602.SAA19838@excalibur.oceanis.net> Subject: netstat with a kernel.kz To: freebsd-small@FreeBSD.ORG Date: Wed, 22 Jul 1998 18:02:04 +0200 (MET DST) Cc: jerome@DotCom.FR MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have to put up a very small system which need kernel symbols. I use dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all . Some fuction like kvm_openfiles need the uncompressed /kernel file and, i have to run netstat which call kvm_openfiles => problem ! I have put up a /var/db/kvm_kernel.db and i would like to use it instead of the uncompressed /kernel (with the whole MFS inside). Is it possible ? and how ? thanks in advance, j. -- ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`) Jerome de Vivie (_Y_.)' ._ ) `._ `. ``-..-' jerome@dotcom.fr _..`--'_..-_/ /--'_.' ,' (il),-'' (li),' ((!.-' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Jul 22 17:12:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26776 for freebsd-small-outgoing; Wed, 22 Jul 1998 17:12:06 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26709 for ; Wed, 22 Jul 1998 17:12:01 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id RAA02415; Wed, 22 Jul 1998 17:10:29 -0700 (PDT) Message-Id: <199807230010.RAA02415@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Jerome DE VIVIE cc: freebsd-small@FreeBSD.ORG Subject: Re: netstat with a kernel.kz In-reply-to: Your message of "Wed, 22 Jul 1998 18:02:04 +0200." <199807221602.SAA19838@excalibur.oceanis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Jul 1998 17:10:29 -0700 From: Mike Smith Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > I have to put up a very small system which need kernel symbols. I use > dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all . > > Some fuction like kvm_openfiles need the uncompressed /kernel file and, > i have to run netstat which call kvm_openfiles => problem ! > > I have put up a /var/db/kvm_kernel.db and i would like to use it > instead of the uncompressed /kernel (with the whole MFS inside). > > Is it possible ? and how ? The correct fix would be to fix netstat to not require this. We would be happy to accept patches. 8) You could also try linking /kernel to /dev/kmem, but I am thinking that's a bit optomistic... -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Jul 22 23:58:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA23427 for freebsd-small-outgoing; Wed, 22 Jul 1998 23:58:41 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA23414 for ; Wed, 22 Jul 1998 23:58:27 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id JAA25223; Thu, 23 Jul 1998 09:00:34 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 23 Jul 1998 09:00:34 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Mike Smith cc: Jerome DE VIVIE , freebsd-small@FreeBSD.ORG Subject: Re: netstat with a kernel.kz In-Reply-To: <199807230010.RAA02415@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Jul 1998, Mike Smith wrote: > > Hi, > > > > I have to put up a very small system which need kernel symbols. I use > > dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all . > > > > Some fuction like kvm_openfiles need the uncompressed /kernel file and, > > i have to run netstat which call kvm_openfiles => problem ! > > > > I have put up a /var/db/kvm_kernel.db and i would like to use it > > instead of the uncompressed /kernel (with the whole MFS inside). > > > > Is it possible ? and how ? > > The correct fix would be to fix netstat to not require this. We would > be happy to accept patches. 8) > > You could also try linking /kernel to /dev/kmem, but I am thinking > that's a bit optomistic... I'm kind of working on this now... I mean, the simplified version of netstat which doesn't stick its little fingers into kernel's brains... I have some working code already (dumping the routing table), the statistics part is much easier than that; well, it just needs some time, and this is a scarce resource for me at the moment... If you want to play with it, I can send you what I've got so far... Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Jul 23 00:13:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA25445 for freebsd-small-outgoing; Thu, 23 Jul 1998 00:13:18 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA25440 for ; Thu, 23 Jul 1998 00:13:13 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id JAA29307; Thu, 23 Jul 1998 09:15:42 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 23 Jul 1998 09:15:42 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Mike Smith cc: Jerome DE VIVIE , freebsd-small@FreeBSD.ORG Subject: Re: netstat with a kernel.kz In-Reply-To: <199807230010.RAA02415@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Jul 1998, Mike Smith wrote: > > Hi, > > > > I have to put up a very small system which need kernel symbols. I use > > dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all . > > > > Some fuction like kvm_openfiles need the uncompressed /kernel file and, > > i have to run netstat which call kvm_openfiles => problem ! > > > > I have put up a /var/db/kvm_kernel.db and i would like to use it > > instead of the uncompressed /kernel (with the whole MFS inside). > > > > Is it possible ? and how ? ... and one more thought: some time ago someone (Martin Kammerhofer , Subject: kernel symbols) sent a patch to 'strip' and friends which allows to install a very limited symbol table as /kernel, so that those pesky programs could open and read it. It's something you could use, but IMHO using sysctl(3) is more appropriate and flexible. Poking the kernel memory to get at some obscure bits and pieces is evil. The only problem is that there are still some data missing in the MIB tree. They could be added to the MIB, but I'm not sure if sysctl(3) is checking the _read_ privileges of the asking process, so that it wouldn't leak sensitive information... Also, I think that the whole kvm mess is just a legacy way to get info which was unavailable in any other decent way; but, again, now that we have so robust sysctl mechanism, it should go away (IMVHO of course :-). Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Jul 24 03:15:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA06077 for freebsd-small-outgoing; Fri, 24 Jul 1998 03:15:07 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA06052 for ; Fri, 24 Jul 1998 03:14:57 -0700 (PDT) (envelope-from dada@localhost.tu-graz.ac.at) Received: from fcggsg07.icg.tu-graz.ac.at by ns1.tu-graz.ac.at with SMTP id AA17681 (5.67c/IDA-1.5t for ); Fri, 24 Jul 1998 12:14:13 +0200 Received: from localhost.tu-graz.ac.at (isdn098.tu-graz.ac.at [129.27.240.98]) by fcggsg07.icg.tu-graz.ac.at (8.8.8/8.8.8) with ESMTP id MAA20595; Fri, 24 Jul 1998 12:14:09 +0200 (MDT) Received: from localhost (localhost.tu-graz.ac.at [127.0.0.1]) by localhost.tu-graz.ac.at (8.8.8/8.8.5) with SMTP id MAA00826; Fri, 24 Jul 1998 12:18:47 +0200 (CEST) Date: Fri, 24 Jul 1998 12:18:47 +0200 (CEST) From: Martin Kammerhofer To: Jerome DE VIVIE Cc: freebsd-small@FreeBSD.ORG Subject: Re: netstat with a kernel.kz In-Reply-To: <199807221602.SAA19838@excalibur.oceanis.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Jul 1998, Jerome DE VIVIE wrote: > Hi, > > I have to put up a very small system which need kernel symbols. I use > [snip] > > Is it possible ? and how ? > If your API is nlist(3) you're lucky. I also needed some kernel symbols on a floppy booted system and solved that problem. You simply add all the symbols you need to /usr/src/sys/i386/i386/symbols.raw, restrict the kernel symbol list to those symbols (with symorder -t), and strip of everything but the symbols from the kernel. The last step need's a patch to strip(1) because it's just the opposite of what strip is usually good for. You also need a patched symorder(1) binary, because option -t does not work :( I have sent you all the files you need in private email. No changes to programs accessing those symbols are required, but of course they can get only symbols from the list "symbols.raw". I haven't used the kvm(3) interface. So if you use that YMMV. HTH, Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message