From owner-freebsd-hackers Sun Jun 16 0:35: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 94FAB37B400 for ; Sun, 16 Jun 2002 00:34:57 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g5G7YuY26510; Sun, 16 Jun 2002 01:34:56 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g5G7YtG61135; Sun, 16 Jun 2002 01:34:55 -0600 (MDT) (envelope-from imp@village.org) Date: Sun, 16 Jun 2002 01:33:52 -0600 (MDT) Message-Id: <20020616.013352.106819313.imp@village.org> To: dp@dove.penix.org Cc: hackers@FreeBSD.ORG Subject: Re: freebsd<-802.11b->linux From: "M. Warner Losh" In-Reply-To: <20020616002202.R18485-100000@dove.penix.org> References: <20020616002202.R18485-100000@dove.penix.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020616002202.R18485-100000@dove.penix.org> Paul Halliday writes: : Hi. : : I was just wondering if anyone else has experienced crashes due to : attempting to connect a linux box to fbsd via a wireless nic. Quite sad : actually that an ipaq can crash a fbsd or obsd box while it scans in : infrastructure mode. I've never ever seen this. Ever. : Anyone have any ideas? the only solution as of yet is to literally : remove the wireless card from the bsd box until the ipaq has been properly : configured to work Ad-hoc. However upon a suspend/resume the ipaq easilly : takes the machine offline again. What wireless card is in the FreeBSD box? What driver does it use? Got a traceback? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 6: 6:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by hub.freebsd.org (Postfix) with ESMTP id 0EE8937B440 for ; Sun, 16 Jun 2002 06:06:29 -0700 (PDT) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.12.2/8.10.2) with ESMTP id g5GD5JqD015308; Sun, 16 Jun 2002 15:05:19 +0200 (CEST) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Sun, 16 Jun 2002 15:05:19 +0200 (CEST) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Sun, 16 Jun 2002 15:05:19 +0200 (CEST) From: dirkx@covalent.net X-X-Sender: dirkx@mobile.webweaving.org To: dp@dove.penix.org Cc: hackers@FreeBSD.ORG Subject: Re: freebsd<-802.11b->linux In-Reply-To: <20020616002202.R18485-100000@dove.penix.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I was just wondering if anyone else has experienced crashes due to > attempting to connect a linux box to fbsd via a wireless nic. Quite sad > actually that an ipaq can crash a fbsd or obsd box while it scans in > infrastructure mode. > > Anyone have any ideas? the only solution as of yet is to literally > remove the wireless card from the bsd box until the ipaq has been properly > configured to work Ad-hoc. However upon a suspend/resume the ipaq easilly > takes the machine offline again. I've got a similar setup; and with both wi/an driver's have not seen this (the IPaq uses a lucent, linksys or D-Link card). The only panic's I hever had where on early AP mode running wi's - which has been fixed for sure in -CURRENT and 4.5-RC2. Could you show a backtrace and/or list in detail the set up (cards, kernel versions, etc). Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 7:17:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cheer.mahoroba.org (flets19-004.kamome.or.jp [218.45.19.4]) by hub.freebsd.org (Postfix) with ESMTP id 67A5237B40A; Sun, 16 Jun 2002 07:17:32 -0700 (PDT) Received: from piano.mahoroba.org (IDENT:FUVs7K6oni7hjGEXeUooOOnA2YqxhnRwnRwUR5lDakwlvb9Hgf1To+AVzhmYLgTQ@piano.mahoroba.org [IPv6:2001:200:301:0:240:96ff:fe48:4ea8]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.4/8.12.4) with ESMTP/inet6 id g5GEHRAK003613 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 16 Jun 2002 23:17:28 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 16 Jun 2002 23:17:27 +0900 Message-ID: From: Hajimu UMEMOTO To: arch@FreeBSD.org, hackers@FreeBSD.org Subject: [CFR] max-child-per-ip restriction for inetd User-Agent: Wanderlust/2.9.13 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.6-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I wish to add max-child-per-ip option to inetd. This enables us to restrict maximum number of simultaneous invocations of each service from a single IP address. The proposed patch can be found from: http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-5c.diff (for 5-CURRENT) http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-4s.diff (for 4-STABLE) If there is no objection, I'll commit it at next weekend. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 7:21:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bluezone.no (a217-118-46-75.bluecom.no [217.118.46.75]) by hub.freebsd.org (Postfix) with SMTP id 3646637B437 for ; Sun, 16 Jun 2002 07:21:10 -0700 (PDT) Received: (qmail 383 invoked from network); 16 Jun 2002 14:21:12 -0000 Received: from localhost (HELO eirikn.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2002 14:21:12 -0000 Received: (from eirik@localhost) by eirikn.net (8.12.3/8.12.3/Submit) id g5GEHBBY000377 for freebsd-hackers@freebsd.org; Sun, 16 Jun 2002 16:17:11 +0200 (CEST) Date: Sun, 16 Jun 2002 16:17:10 +0200 From: Eirik Nygaard To: freebsd-hackers@freebsd.org Subject: Kernel hacking Message-ID: <20020616161710.A339@eirikn.net> Reply-To: eirikn@bluezone.no Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I want to start recodeing the FreeBSD kernel, just for fun. Are there any good kernel hacking guides? Eirik Nygaard --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9DJ3m1JB0Z4PFXt4RAplDAJ4ifetARGJPEyPi8JrxlypTaxTpygCdHIaE bks6sWLkbWq/4h/7fZh0kn8= =VBSG -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 7:35:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 94D2337B407; Sun, 16 Jun 2002 07:35:26 -0700 (PDT) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g5GEZOc53917; Sun, 16 Jun 2002 23:35:24 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: References: X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 10 From: Makoto Matsushita To: arch@FreeBSD.org, hackers@FreeBSD.org Subject: Re: [CFR] max-child-per-ip restriction for inetd Date: Sun, 16 Jun 2002 23:35:21 +0900 Message-Id: <20020616233521G.matusita@jp.FreeBSD.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ume> I wish to add max-child-per-ip option to inetd. This enables us to ume> restrict maximum number of simultaneous invocations of each service ume> from a single IP address. FYI: This patch is already tested at snapshots.jp.FreeBSD.org, and it seems fine to me. Thank you, ume-san! -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 9:47:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dove.penix.org (dove.penix.org [216.144.7.82]) by hub.freebsd.org (Postfix) with ESMTP id 7800B37B403 for ; Sun, 16 Jun 2002 09:47:37 -0700 (PDT) Received: from dove.penix.org (dp@localhost.nls.net [127.0.0.1]) by dove.penix.org (8.12.2/8.12.2) with ESMTP id g5GGlUOd019139; Sun, 16 Jun 2002 12:47:30 -0400 (EDT) (envelope-from dp@dove.penix.org) Received: from localhost (dp@localhost) by dove.penix.org (8.12.2/8.12.2/Submit) with ESMTP id g5GGlTqF019136; Sun, 16 Jun 2002 12:47:30 -0400 (EDT) (envelope-from dp@dove.penix.org) Date: Sun, 16 Jun 2002 12:47:29 -0400 (EDT) From: Paul Halliday To: "M. Warner Losh" Cc: hackers@FreeBSD.ORG Subject: Re: freebsd<-802.11b->linux In-Reply-To: <20020616.013352.106819313.imp@village.org> Message-ID: <20020616123247.Q19073-100000@dove.penix.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Jun 2002, M. Warner Losh wrote: > I've never ever seen this. Ever. > > What wireless card is in the FreeBSD box? > What driver does it use? > Got a traceback? > > Warner [12:22pm]-root@hidden~# uname -a FreeBSD hidden.router.box 4.5-STABLE FreeBSD 4.5-STABLE #2: Wed Mar 6 12:59:48 EST 2002 root@hidden.router.box:/usr/src/sys/compile/router_4.5 i386 ->Card is an SMC 2632W (both machines) wi0: at port 0x280-0x2bf irq 3 flags 0x10000 slot 1 on pccard1 [12:13pm]-root@hidden~# ifconfig wi0 up 192.168.0.6 (hangs for a while these errors appear (bright white) wi0: init failed wi0: failed to allocate 1594 bytes on NIC wi0: tx buffer allocation failed wi0: failed to allocate 1594 bytes on NIC wi0: mgmt. buffer allocation failed wi0: watchdog timeout (then kernel spews same lines but grey w/ date etc) Jun 16 12:22:37 hidden /kernel: wi0: init failed Jun 16 12:22:37 hidden /kernel: wi0: timeout in wi_seek to 0/0; last status 4000 Jun 16 12:22:37 hidden /kernel: wi0: timeout in wi_seek to 0/44; last status 4044 Jun 16 12:22:37 hidden /kernel: wi0: watchdog timeout wi0: timeout in wi_seek to ffff/0; last status ffff wi0: timeout in wi_seek to ffff/0; last status ffff wi0: timeout in wi_seek to fc80/0; last status ffff wi0: timeout in wi_seek to fc80/0; last status ffff wi0: timeout in wi_seek to fc80/0; last status ffff wi0: detached pccard: card removed, slot 1 wi0: oversized packet received (wi_dat_len=12688, wi_status=0x4000) wi0: oversized packet received (wi_dat_len=40912, wi_status=0x4000) -> hangs for about 5 minutes then loops through the errors again until I physically remove the NIC. It takes a while for the box to realize the card has been ejected, ~2-10 minutes. if I startup the ipaq and bring up the wireless card -before- the fbsd box everything is fine. as for the panic, the box rebooted awfully quick, maybe coulda been anything no kernel gdb sorry. and I have not been able to reproduce it as of yet. This behavior seems to affect openbsd the same way. and for the record linux sucks. I would love to see the daemon on my ipaq. Paul H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 10:38: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id D21E837B40F; Sun, 16 Jun 2002 10:37:50 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g5GHaSO33687; Sun, 16 Jun 2002 19:36:28 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200206161736.g5GHaSO33687@zibbi.icomtek.csir.co.za> Subject: Re: [CFR] max-child-per-ip restriction for inetd In-Reply-To: from Hajimu UMEMOTO at "Jun 16, 2002 11:17:27 pm" To: ume@mahoroba.org (Hajimu UMEMOTO) Date: Sun, 16 Jun 2002 19:36:28 +0200 (SAT) Cc: arch@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > I wish to add max-child-per-ip option to inetd. This enables us to > restrict maximum number of simultaneous invocations of each service > from a single IP address. The proposed patch can be found from: > > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-5c.diff (for 5-CURRENT) > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-4s.diff (for 4-STABLE) Both the patches needs a colon (:) after the s on the getopt() line, otherwise you just get a nasty coredump if you try to use the "-s num" commandline option. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 10:49:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cheer.mahoroba.org (flets19-004.kamome.or.jp [218.45.19.4]) by hub.freebsd.org (Postfix) with ESMTP id 67C3437B401; Sun, 16 Jun 2002 10:49:34 -0700 (PDT) Received: from piano.mahoroba.org (IDENT:wH+5/SAOEYYoDSIiUVbeI3L73nh3xvZzPUk1mkVn9VRhRXBlrNGQHrsnPoVF/8PD@piano.mahoroba.org [IPv6:2001:200:301:0:240:96ff:fe48:4ea8]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.4/8.12.4) with ESMTP/inet6 id g5GHnTAK062078 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 17 Jun 2002 02:49:29 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 17 Jun 2002 02:49:29 +0900 Message-ID: From: Hajimu UMEMOTO To: John Hay Cc: arch@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: [CFR] max-child-per-ip restriction for inetd In-Reply-To: <200206161736.g5GHaSO33687@zibbi.icomtek.csir.co.za> References: <200206161736.g5GHaSO33687@zibbi.icomtek.csir.co.za> User-Agent: xcite1.38> Wanderlust/2.9.13 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.6-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Sun, 16 Jun 2002 19:36:28 +0200 (SAT) >>>>> John Hay said: jhay> Both the patches needs a colon (:) after the s on the getopt() line, jhay> otherwise you just get a nasty coredump if you try to use the "-s num" jhay> commandline option. Oops, thanks. I just fix it and re-put it. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 13:26:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pakastelohi.cypherpunks.to (pakastelohi.cypherpunks.to [213.130.163.34]) by hub.freebsd.org (Postfix) with ESMTP id E472C37B42B for ; Sun, 16 Jun 2002 13:26:48 -0700 (PDT) Received: from LUCKYVAIO (unknown [209.148.102.121]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pakastelohi.cypherpunks.to (Postfix) with ESMTP id 1A9C03662D; Sun, 16 Jun 2002 22:26:39 +0200 (CEST) From: "Lucky Green" To: "'Mike Silbersack'" Cc: Subject: RE: LINT CPU features table Date: Sun, 16 Jun 2002 13:24:31 -0700 Message-ID: <002d01c21573$d692ea50$0100a8c0@LUCKYVAIO> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020612150308.W28937-100000@patrocles.silby.com> Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Silbersack wrote: > On Fri, 7 Jun 2002, Lucky Green wrote: > > > [This inquiry found no takers on -questions, so I am trying it on > > -hackers] > > > > I found the list of CPU options in LINT to be not very accessible. > > What would be considerably more useful, perhaps in addition to the > > information in LINT, would be a table of CPU's, with a checkbox for > > each CPU feature that should/could be enabled for this > particular CPU. > > > > Is anybody here aware of such a table? If not, is anybody > here able to > > perhaps create such a table and add it to the Handbook? I > believe it > > would be of substantial help to the user. > > > > "OK, I have an AMD K6-333". [User looks down the "AMD K6" > row of the > > table]. "I can turn on feature L, M, and Y". > > > > Thanks in advance, > > --Lucky > > For most cpus, there is little to be gained by fiddling with > cpu specific options. Hence, there is little reason to > provide a complex table; having all cpu types enabled as in > GENERIC is just fine. If only a few CPU's would benefit from the CPU-specific options, creating a table of CPU options for those few CPU's should be all the simpler. What I am I missing? Thanks, --Lucky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 13:42:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 59C7337B405; Sun, 16 Jun 2002 13:42:05 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5GKg5CV041656; Sun, 16 Jun 2002 13:42:05 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5GKg5JW041655; Sun, 16 Jun 2002 13:42:05 -0700 (PDT) (envelope-from dillon) Date: Sun, 16 Jun 2002 13:42:05 -0700 (PDT) From: Matthew Dillon Message-Id: <200206162042.g5GKg5JW041655@apollo.backplane.com> To: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Cc: jdp@polstra.com, obrien@freebsd.org Subject: rtld-elf patches for non-i386 architectures (review / test request) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG These are the rtld-elf patches for -current for non-i386 architectures. Since I can't test these I would appreciate it if people could review them, and test if possible on alpha, ia64, sparc64, and alpha. The ia64 patch is the most complex. The rest are essentially the same as i386. I will email the one remaining patch for -stable (for alpha) to David directly. Thanks, -Matt Index: rtld-elf/alpha/reloc.c =================================================================== RCS file: /home/ncvs/src/libexec/rtld-elf/alpha/reloc.c,v retrieving revision 1.15 diff -u -r1.15 reloc.c --- rtld-elf/alpha/reloc.c 18 Feb 2002 02:24:10 -0000 1.15 +++ rtld-elf/alpha/reloc.c 16 Jun 2002 20:24:52 -0000 @@ -152,10 +152,18 @@ const Elf_Rela *relalim; const Elf_Rela *rela; SymCache *cache; + int bytes = obj->nchains * sizeof(SymCache); + int r = -1; - cache = (SymCache *)alloca(obj->nchains * sizeof(SymCache)); + /* + * The dynamic loader may be called from a thread, we have + * limited amounts of stack available so we cannot use alloca(). + */ + cache = mmap(NULL, bytes, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0); + if (cache == MAP_FAILED) + cache = NULL; if (cache != NULL) - memset(cache, 0, obj->nchains * sizeof(SymCache)); + memset(cache, 0, bytes); /* Perform relocations without addend if there are any: */ rellim = (const Elf_Rel *) ((caddr_t) obj->rel + obj->relsize); @@ -166,16 +174,20 @@ locrela.r_offset = rel->r_offset; locrela.r_addend = 0; if (reloc_non_plt_obj(obj_rtld, obj, &locrela, cache)) - return -1; + goto done; } /* Perform relocations with addend if there are any: */ relalim = (const Elf_Rela *) ((caddr_t) obj->rela + obj->relasize); for (rela = obj->rela; obj->rela != NULL && rela < relalim; rela++) { if (reloc_non_plt_obj(obj_rtld, obj, rela, cache)) - return -1; + goto done; } - return 0; + r = 0; +done: + if (cache) + munmap(cache, bytes); + return(r); } /* Process the PLT relocations. */ Index: rtld-elf/ia64/reloc.c =================================================================== RCS file: /home/ncvs/src/libexec/rtld-elf/ia64/reloc.c,v retrieving revision 1.6 diff -u -r1.6 reloc.c --- rtld-elf/ia64/reloc.c 21 May 2002 00:04:08 -0000 1.6 +++ rtld-elf/ia64/reloc.c 16 Jun 2002 20:35:05 -0000 @@ -190,24 +190,35 @@ const Elf_Rela *rela; SymCache *cache; struct fptr **fptrs; + int bytes = obj->nchains * sizeof(SymCache); + int fbytes = obj->nchains * sizeof(struct fptr *); + int r = -1; - cache = (SymCache *)alloca(obj->nchains * sizeof(SymCache)); + /* + * The dynamic loader may be called from a thread, we have + * limited amounts of stack available so we cannot use alloca(). + */ + cache = mmap(NULL, bytes, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0); + if (cache == MAP_FAILED) + cache = NULL; if (cache != NULL) - memset(cache, 0, obj->nchains * sizeof(SymCache)); + memset(cache, 0, bytes); /* * When relocating rtld itself, we need to avoid using malloc. */ - if (obj == obj_rtld) - fptrs = (struct fptr **) - alloca(obj->nchains * sizeof(struct fptr *)); - else + if (obj == obj_rtld) { + fptrs = mmap(NULL, fbytes, PROT_READ|PROT_WRITE, + MAP_ANON, -1, 0); + if (fptrs == MAP_FAILED) + fptrs = NULL; + } else { fptrs = (struct fptr **) malloc(obj->nchains * sizeof(struct fptr *)); - + } if (fptrs == NULL) - return -1; - memset(fptrs, 0, obj->nchains * sizeof(struct fptr *)); + goto done; + memset(fptrs, 0, fbytes); /* Perform relocations without addend if there are any: */ rellim = (const Elf_Rel *) ((caddr_t) obj->rel + obj->relsize); @@ -218,28 +229,43 @@ locrela.r_offset = rel->r_offset; locrela.r_addend = 0; if (reloc_non_plt_obj(obj_rtld, obj, &locrela, cache, fptrs)) - return -1; + goto done; } /* Perform relocations with addend if there are any: */ relalim = (const Elf_Rela *) ((caddr_t) obj->rela + obj->relasize); for (rela = obj->rela; obj->rela != NULL && rela < relalim; rela++) { if (reloc_non_plt_obj(obj_rtld, obj, rela, cache, fptrs)) - return -1; + goto done; } /* * Remember the fptrs in case of later calls to dlsym(). Don't * bother for rtld - we will lazily create a table in - * make_function_pointer(). At this point we still can't risk - * calling malloc(). + * make_function_pointer(). We still can't risk calling malloc() + * in the rtld case. + * + * When remembering fptrs, NULL out our local fptrs variable so we + * do not free it. */ - if (obj != obj_rtld) - obj->priv = fptrs; - else + if (obj == obj_rtld) { obj->priv = NULL; + } else { + obj->priv = fptrs; + fptrs = NULL; + } - return 0; + r = 0; +done: + if (cache) + munmap(cache, bytes); + if (fptrs) { + if (obj == obj_rtld) + munmap(fptrs, fbytes); + else + free(fptrs); + } + return (r); } /* Process the PLT relocations. */ Index: rtld-elf/sparc64/reloc.c =================================================================== RCS file: /home/ncvs/src/libexec/rtld-elf/sparc64/reloc.c,v retrieving revision 1.1 diff -u -r1.1 reloc.c --- rtld-elf/sparc64/reloc.c 13 Mar 2002 02:40:39 -0000 1.1 +++ rtld-elf/sparc64/reloc.c 16 Jun 2002 20:27:15 -0000 @@ -249,18 +249,29 @@ const Elf_Rela *relalim; const Elf_Rela *rela; SymCache *cache; + int bytes = obj->nchains * sizeof(SymCache); + int r = -1; - cache = (SymCache *)alloca(obj->nchains * sizeof(SymCache)); + /* + * The dynamic loader may be called from a thread, we have + * limited amounts of stack available so we cannot use alloca(). + */ + cache = mmap(NULL, bytes, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0); + if (cache == MAP_FAILED) + cache = NULL; if (cache != NULL) memset(cache, 0, obj->nchains * sizeof(SymCache)); relalim = (const Elf_Rela *)((caddr_t)obj->rela + obj->relasize); for (rela = obj->rela; rela < relalim; rela++) { if (reloc_nonplt_object(obj, rela, cache) < 0) - return (-1); + goto done; } - - return (0); + r = 0; +done: + if (cache) + munmap(cache, bytes); + return (r); } static int To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 13:57:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 5EA7737B406; Sun, 16 Jun 2002 13:57:19 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 295E1AE147; Sun, 16 Jun 2002 13:57:19 -0700 (PDT) Date: Sun, 16 Jun 2002 13:57:19 -0700 From: Alfred Perlstein To: Matthew Dillon Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org, jdp@polstra.com, obrien@freebsd.org Subject: Re: rtld-elf patches for non-i386 architectures (review / test request) Message-ID: <20020616205719.GC67925@elvis.mu.org> References: <200206162042.g5GKg5JW041655@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206162042.g5GKg5JW041655@apollo.backplane.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Matthew Dillon [020616 13:43] wrote: > These are the rtld-elf patches for -current for non-i386 architectures. > Since I can't test these I would appreciate it if people could > review them, and test if possible on alpha, ia64, sparc64, and alpha. > The ia64 patch is the most complex. The rest are essentially the > same as i386. > > I will email the one remaining patch for -stable (for alpha) to David > directly. Why memset(3) the anon memory to zero, isn't that what it's supposed to be initialized to anyway? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 14:22: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by hub.freebsd.org (Postfix) with ESMTP id 018AC37B406 for ; Sun, 16 Jun 2002 14:22:04 -0700 (PDT) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.12.2/8.10.2) with ESMTP id g5GLKuqD002356 for ; Sun, 16 Jun 2002 23:20:56 +0200 (CEST) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Sun, 16 Jun 2002 23:20:56 +0200 (CEST) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Sun, 16 Jun 2002 23:20:55 +0200 (CEST) From: dirkx@covalent.net X-X-Sender: dirkx@mobile.webweaving.org To: freebsd-hackers@FreeBSD.ORG Subject: forth/kernel name with a variable. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG During a diskless boot (i.e. after the PXE stage); I'd like to get to load (or try to load) a configuration file which is machine specific; e.g. something along the lines of: # >> /mboot/boot/defaults/loader.conf # .... loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local /boot/\\${boot.netif.ip}.conf /boot/nextboot.conf" .... where at least an attempt is made to get a machine specific file (in this case to define a kernel boot file which is specific to that machine) - as this would allow me to reduce the footprint on the boot/dhcp/tftp server considerably. Any hints ? (The above does not get substituted). Dw -- Dirk-Willem van Gulik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 15:11:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id F398A37B40A; Sun, 16 Jun 2002 15:11:42 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5GMBgCV042007; Sun, 16 Jun 2002 15:11:42 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5GMBgri042006; Sun, 16 Jun 2002 15:11:42 -0700 (PDT) (envelope-from dillon) Date: Sun, 16 Jun 2002 15:11:42 -0700 (PDT) From: Matthew Dillon Message-Id: <200206162211.g5GMBgri042006@apollo.backplane.com> To: Alfred Perlstein Cc: freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, jdp@polstra.com, obrien@FreeBSD.ORG Subject: Re: rtld-elf patches for non-i386 architectures (review / test request) References: <200206162042.g5GKg5JW041655@apollo.backplane.com> <20020616205719.GC67925@elvis.mu.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : :Why memset(3) the anon memory to zero, isn't that what it's supposed :to be initialized to anyway? : :-- :-Alfred Perlstein [alfred@freebsd.org] I was just being ultra-conservative. You are absolutely correct in regards to the anonymous area already being zero. I would like to commit with the memset()'s in just for uniformity and then make another pass to remove them. (there's no real issue of cpu waste since we are going to take faults on the anonymous pages anyway). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 15:48:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 3020C37B405; Sun, 16 Jun 2002 15:48:04 -0700 (PDT) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g5GMkff66045; Sun, 16 Jun 2002 15:46:41 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200206162211.g5GMBgri042006@apollo.backplane.com> Date: Sun, 16 Jun 2002 15:46:41 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Matthew Dillon Subject: Re: rtld-elf patches for non-i386 architectures (review / test r Cc: obrien@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, Alfred Perlstein Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: >: >:Why memset(3) the anon memory to zero, isn't that what it's supposed >:to be initialized to anyway? >: >:-- >:-Alfred Perlstein [alfred@freebsd.org] > > I was just being ultra-conservative. You are absolutely correct > in regards to the anonymous area already being zero. I would like > to commit with the memset()'s in just for uniformity and then make > another pass to remove them. (there's no real issue of cpu waste > since we are going to take faults on the anonymous pages anyway). Sounds OK to me, although I worry a little bit about relying on the zeroing of the memory by mmap. I don't see it documented in the man page, so there's a (slight) risk that somebody could remove that feature in the future. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 15:54:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 4A49737B436; Sun, 16 Jun 2002 15:54:48 -0700 (PDT) Received: from pool0202.cvx40-bradley.dialup.earthlink.net ([216.244.42.202] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17JisT-0000mp-00; Sun, 16 Jun 2002 15:52:09 -0700 Message-ID: <3D0D1673.632F2386@mindspring.com> Date: Sun, 16 Jun 2002 15:51:31 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Hajimu UMEMOTO Cc: arch@FreeBSD.org, hackers@FreeBSD.org Subject: Re: [CFR] max-child-per-ip restriction for inetd References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hajimu UMEMOTO wrote: > I wish to add max-child-per-ip option to inetd. This enables us to > restrict maximum number of simultaneous invocations of each service > from a single IP address. The proposed patch can be found from: > > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-5c.diff (for 5-CURRENT) > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-4s.diff (for 4-STABLE) > > If there is no objection, I'll commit it at next weekend. Your search_ip() function is a linear list traversal, which makes a lookup O(N). Is there any change you could use a hash or a btree or a skiplist or a trie or some other data structure *other* than a linear list traversal? It seems to me that this will make things incredibly slow for everyone, if you have one IP address that's abusive enough that it approaches the limit you set. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 20: 7: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 0C87B37B40B for ; Sun, 16 Jun 2002 20:07:04 -0700 (PDT) Received: from pool0036.cvx21-bradley.dialup.earthlink.net ([209.179.192.36] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Jmr7-0005ti-00; Sun, 16 Jun 2002 20:07:01 -0700 Message-ID: <3D0D522D.F30747A4@mindspring.com> Date: Sun, 16 Jun 2002 20:06:21 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: eirikn@bluezone.no Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel hacking References: <20020616161710.A339@eirikn.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eirik Nygaard wrote: > I want to start recodeing the FreeBSD kernel, just for fun. What do you intend to do? > Are there any good kernel hacking guides? It depends: what do you intend to do? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 20:37:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d71.as29.nwbl0.wi.voyager.net [169.207.73.71]) by hub.freebsd.org (Postfix) with ESMTP id 04C6D37B40D for ; Sun, 16 Jun 2002 20:37:50 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.4/8.12.4) with ESMTP id g5H3dFcv013600; Sun, 16 Jun 2002 22:39:15 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.4/8.12.4/Submit) with ESMTP id g5H3cs22013597; Sun, 16 Jun 2002 22:39:11 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Sun, 16 Jun 2002 22:38:53 -0500 (CDT) From: Mike Silbersack To: Lucky Green Cc: freebsd-hackers@freebsd.org Subject: RE: LINT CPU features table In-Reply-To: <002d01c21573$d692ea50$0100a8c0@LUCKYVAIO> Message-ID: <20020616223526.B13544-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Jun 2002, Lucky Green wrote: > Mike Silbersack wrote: > > For most cpus, there is little to be gained by fiddling with > > cpu specific options. Hence, there is little reason to > > provide a complex table; having all cpu types enabled as in > > GENERIC is just fine. > > If only a few CPU's would benefit from the CPU-specific options, > creating a table of CPU options for those few CPU's should be all the > simpler. What I am I missing? > > Thanks, > --Lucky IMHO, the performance benefits are so small, that it's best to not even concern people with making cpu-specific kernels. CPU-specific compiler options might actually make a difference, but those tend to create kernels that crash. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 20:56: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from parhelion.firedrake.org (parhelion.firedrake.org [212.135.138.219]) by hub.freebsd.org (Postfix) with ESMTP id 6278237B405 for ; Sun, 16 Jun 2002 20:55:55 -0700 (PDT) Received: from float by parhelion.firedrake.org with local (Exim 3.35 #1 (Debian)) id 17JncN-0004iG-00; Mon, 17 Jun 2002 04:55:51 +0100 Date: Mon, 17 Jun 2002 04:55:51 +0100 To: void Cc: hackers@freebsd.org Subject: Re: security bug in /etc/rc in -STABLE? Message-ID: <20020617035551.GB18088@parhelion.firedrake.org> References: <20020613161739.GA25926@parhelion.firedrake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020613161739.GA25926@parhelion.firedrake.org> User-Agent: Mutt/1.3.28i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 13, 2002 at 05:17:39PM +0100, void wrote: > > # Remove X lock files, since they will prevent you from restarting X11 > # after a system crash. > # > -rm -f /tmp/.X*-lock /tmp/.X11-unix/* > +rm -f /tmp/.X*-lock > +rm -fr /tmp/.X11-unix > > Aren't both the old and new versions vulnerable to symlink attacks? No. From rm(1): The rm utility removes symbolic links, not the files referenced by the links. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 22:35:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bluezone.no (a217-118-46-75.bluecom.no [217.118.46.75]) by hub.freebsd.org (Postfix) with SMTP id 5DC2437B428 for ; Sun, 16 Jun 2002 22:35:17 -0700 (PDT) Received: (qmail 56342 invoked from network); 17 Jun 2002 05:35:22 -0000 Received: from localhost (HELO eirikn.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2002 05:35:22 -0000 Received: (from eirik@localhost) by eirikn.net (8.12.3/8.12.3/Submit) id g5H5ZKu9056340 for freebsd-hackers@freebsd.org; Mon, 17 Jun 2002 07:35:20 +0200 (CEST) Date: Mon, 17 Jun 2002 07:35:20 +0200 From: Eirik Nygaard To: freebsd-hackers@freebsd.org Subject: Re: Re: Kernel hacking Message-ID: <20020617073520.A55596@eirikn.net> Reply-To: eirikn@bluezone.no References: <20020616161710.A339@eirikn.net> <3D0D522D.F30747A4@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D0D522D.F30747A4@mindspring.com>; from tlambert2@mindspring.com on Sun, Jun 16, 2002 at 08:06:21PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 16, 2002 at 08:06:21PM -0700, Terry Lambert wrote: > Eirik Nygaard wrote: > > I want to start recodeing the FreeBSD kernel, just for fun. >=20 > What do you intend to do? >=20 > > Are there any good kernel hacking guides? >=20 > It depends: what do you intend to do? >=20 > -- Terry I really just want to learn more about the kernel, since my C skills is not= godd enough. I can't make something usefull yet, but I want to learn. - Eirik Nygaard --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9DXUY1JB0Z4PFXt4RAvV2AJ95EcWwXqwpa+/ycJUV5/hPjaRGRwCbBxdA vJx+tALSGmnwPcL7yOhZshA= =EhGi -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 22:46:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.y-21st.com (ns.y-21st.com [203.141.140.195]) by hub.freebsd.org (Postfix) with ESMTP id B4DE437B420 for ; Sun, 16 Jun 2002 22:46:18 -0700 (PDT) Received: from so (ac211.lip.ttcn.ne.jp [211.10.230.211]) by www.y-21st.com (8.9.3+3.2W/3.7-MailExchanger) with SMTP id OAA03934 for hackers@FreeBSD.org; Mon, 17 Jun 2002 14:45:35 +0900 Message-Id: <200206170545.OAA03934@www.y-21st.com> From: =?ISO-2022-JP?B?GyRCJU0lQyVIJVclaSVzJUohPBsoQg==?= To: Reply-To: sou@netplanna.com Date: Mon, 17 Jun 2002 14:45:01 +0900 Subject: =?ISO-2022-JP?B?GyRCISo5LTlwISpFUE8/QmU5VENXJDckXiQ5GyhC?= MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit X-Mailer: Oshirase(2.13)-Mailer Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG $B#W#E#B4IM}pJs$,I,MW$NL5$$J}$K%a!<%k$,FO$$$F$7$^$C$?J}$O@?$K?=$7Lu$4$6$$$^$;$s$,!"(B $B$3$N$^$^JV?.$7$F2<$5$k$+!"Aw?.ITMW$H$7$FO"MmD:$1$l$P:#8e0l@ZAw$i$J$$$h$&$KCW$7$^$9$N$G!"(B $B$I$&$>59$7$/$*4j$$$$$?$7$^$9!#(B $BEv%M%C%H%W%i%s%J!<$G$O(B $B"#!V8!:w%(%s%8%s!WEPO?Be9T(B 250$B%v=j(B//500$B%v=j(B/$B=w@-MQ8!:w%(%s%8%s(B30$B%v=j(B/$BCO0hJL8!:w%(%s%8%s(B/$B3$308!:w%(%s%8%s(B 1000$B%v=j(B $B"#!V%a!<%k%^%,%8%s!WEj9FBe9T(B120$B%v=j(B $B"#!V%7%g%C%T%s%0%b!<%k!WEPO?Be9T(B120$B%v=j(B $B"#!V7|>^%^%,%8%s!WEj9FBe9T(B120$B%v=j(B $B"#!V(Bi$B%b!<%I8!:w%(%s%8%s!WEPO?Be9T(B120$B%v=j(B $B"#!V7G<(HD!W=q$-9~$_Be9T(B1000$B%v=j(B $B3J0BNA6b$K$F$d$i$;$FD:$$$F$*$j$^$9!#(B $B@'Hs2<5-$N(BHP$B$r$4Mw$K$J$C$F!"5.e$2$^$9!#$*IU$-9g$$D:$-$"$j$,$H(B $B$&$4$6$$$^$7$?!#(B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 16 23:59:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 8351937B407 for ; Sun, 16 Jun 2002 23:59:07 -0700 (PDT) Received: from pool0214.cvx21-bradley.dialup.earthlink.net ([209.179.192.214] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17JqTC-0003wb-00; Sun, 16 Jun 2002 23:58:34 -0700 Message-ID: <3D0D8874.CCDE2464@mindspring.com> Date: Sun, 16 Jun 2002 23:57:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: eirikn@bluezone.no Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel hacking References: <20020616161710.A339@eirikn.net> <3D0D522D.F30747A4@mindspring.com> <20020617073520.A55596@eirikn.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eirik Nygaard wrote: > On Sun, Jun 16, 2002 at 08:06:21PM -0700, Terry Lambert wrote: > > Eirik Nygaard wrote: > > > I want to start recodeing the FreeBSD kernel, just for fun. > > > > What do you intend to do? > > > > > Are there any good kernel hacking guides? > > > > It depends: what do you intend to do? > > I really just want to learn more about the kernel, since my C skills is > not godd enough. I can't make something usefull yet, but I want to learn. The word "recoding" implies that you want to rewrite the code from scratch. If you wanted to do something else, then you need to pick it; otherwise we can all probably mail-bomb you with thousands of suggestions, based on 20/20 hindsight. We all know what we would do different, if we had it all to do over again. If you just want to learn about some part, then you need to pick the part you want to learn about first, look at the code, and ask questions about what you don't understand, when you run into it. If you already know some other system pretty well, then the easiest thing to do is to take some code you know, and port it to FreeBSD, or, if that's too complicated, then compare it with code already in FreeBSD. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 2:47:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.nentec.de (gate2.nentec.de [194.25.215.66]) by hub.freebsd.org (Postfix) with ESMTP id D580837B400 for ; Mon, 17 Jun 2002 02:47:20 -0700 (PDT) Received: from nenny.nentec.de (root@nenny.nentec.de [153.92.64.1]) by gate.nentec.de (8.11.3/8.9.3) with ESMTP id g5H9lJA22772 for ; Mon, 17 Jun 2002 11:47:19 +0200 Received: from nentec.de (andromeda.nentec.de [153.92.64.34]) by nenny.nentec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g5H9lDZ27207 for ; Mon, 17 Jun 2002 11:47:14 +0200 Message-ID: <3D0DB021.4080102@nentec.de> Date: Mon, 17 Jun 2002 11:47:13 +0200 From: Andy Sporner User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204 X-Accept-Language: de-at, de, en, en-us MIME-Version: 1.0 To: freebsd-hackers Subject: Kernel Panic using kproc_exit() on FreeBSD 5.0-20020302-PREVIEW References: <3D099F31.8F0F0702@mindspring.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Hackers, First of all... > >Knuth's books: Collect them all! Be the first on your block! > This is funny--mainly because I have one of these-- it was the bible in college (I think the one I have is "Data structures and Algorithms") Now to the real question: I have some logic to stop a daemon thread running in a module: ------------SNIP #include "modtcp.h" #include static struct proc *modtcpproc; static void modtcpd(void); static struct kproc_desc kp = { "modtcpd", modtcpd, &modtcpproc }; extern int should_die; SYSINIT(modtcpd, SI_SUB_KTHREAD_BUF, SI_ORDER_FIRST, kproc_start, &kp) static void modtcpd(void) { tsleep(0x0dead0001, 0, "General Wait", 400); kthread_exit(0); } ---------------------SNIP ENDS This is not the actual usage that I have for the daemon, but I wanted to reduce the problem set so that I can get the minimal amount of code to produce the same failure. After the sleep concludes and 'kthread_exit()' runs, the following occurs... panic: mutex Giant not owned at ../../../kern/kern_exit.c"131 Debuger("panic") Stopped at Debugger+0x40: xorl %eax,%eax Is this a bug in the kernel or??? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 4:18:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from go4.ext.ti.com (dlezb.ext.ti.com [192.91.75.132]) by hub.freebsd.org (Postfix) with ESMTP id AB2EE37B407 for ; Mon, 17 Jun 2002 04:18:35 -0700 (PDT) Received: from dlep8.itg.ti.com ([157.170.134.88]) by go4.ext.ti.com (8.11.6/8.11.6) with ESMTP id g5HBIZH06707 for ; Mon, 17 Jun 2002 06:18:35 -0500 (CDT) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA17315 for ; Mon, 17 Jun 2002 06:18:34 -0500 (CDT) Received: from popsvr.india.ti.com (popsvr.india.ti.com [157.87.95.215]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA17292 for ; Mon, 17 Jun 2002 06:18:32 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id QAA15541 for ; Mon, 17 Jun 2002 16:48:28 +0530 (IST) Reply-To: From: "Gautham Ganapathy" To: "FreeBSD.org - Hackers" Subject: Inserting a kernel module b/w IP and ethernet Date: Mon, 17 Jun 2002 16:49:38 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_017E_01C2161E.F7C618E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_017E_01C2161E.F7C618E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi How can I add an extra layer of processing b/w the IP and ethernet layers using a kernel module ? If I load a module, I should be able to access the functions exported by IP and ethernet. Also, I think the ethernet layer can be configured to use my module as the protocol by patching ifconfig. Am I right so far ? So, how do I get IP to use my module as it's link layer ? If I am wrong, what's the proper way ? Or is there any other simpler way ? My requirement is to add a compression layer (RFC 2507) Regards Gautham ------=_NextPart_000_017E_01C2161E.F7C618E0 Content-Type: text/x-vcard; name="Gautham Ganapathy.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Gautham Ganapathy.vcf" BEGIN:VCARD VERSION:2.1 N:Ganapathy;Gautham FN:Gautham Ganapathy ORG:Wipro Technologies;TI PIC (DSP) TITLE:Technical Support Engg NOTE:=20 TEL;WORK;VOICE:+91-80-8520408x4271 TEL;HOME;VOICE:+91-80-6542292 TEL;CELL;VOICE:+91 9844263180 ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;Plot No 76,=3D0D=3D0AElectronics = City,=3D0D=3D0AHosur Road;Bangalore;Karnataka;;In=3D dia LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Plot No 76,=3D0D=3D0AElectronics = City,=3D0D=3D0AHosur Road=3D0D=3D0ABangalore, Karnataka=3D =3D0D=3D0AIndia ADR;HOME;ENCODING=3DQUOTED-PRINTABLE:;;D-26, SBI Colony,=3D0D=3D0AJ P = Nagar 1st Phase;Bangalore;Karnataka;561076;Indi=3D a LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:D-26, SBI Colony,=3D0D=3D0AJ P = Nagar 1st Phase=3D0D=3D0ABangalore, Karnataka 561076=3D =3D0D=3D0AIndia URL: URL:http://www.geocities.com/gauthamg123/ ROLE:Software Engg BDAY:20020606 EMAIL;PREF;INTERNET:xgautham@ti.com EMAIL;INTERNET:gautham.ganapathy@wipro.com EMAIL;INTERNET:gauthamg123@myrealbox.com EMAIL;INTERNET:9844263180@sms.spicetele.com REV:20020607T042149Z END:VCARD ------=_NextPart_000_017E_01C2161E.F7C618E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 5: 5:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web10105.mail.yahoo.com (web10105.mail.yahoo.com [216.136.130.55]) by hub.freebsd.org (Postfix) with SMTP id 3199A37B414 for ; Mon, 17 Jun 2002 05:05:20 -0700 (PDT) Message-ID: <20020617120520.46891.qmail@web10105.mail.yahoo.com> Received: from [194.141.250.21] by web10105.mail.yahoo.com via HTTP; Mon, 17 Jun 2002 05:05:20 PDT Date: Mon, 17 Jun 2002 05:05:20 -0700 (PDT) From: Vladimir Terziev Subject: Problem building 4.6-STABLE kernel To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi hackers, I've cvsupped to 4.6-STABLE and tryed to update my existing 4.5-STABLE system. make buildworld has passed OK, but in make buildkernel KERNCONF=MY_KERNEL I've got an error: ... ===> netgraph/pppoe cc -O -pipe -Wall -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:860: redefinition of `send_sessionid' /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:843: `send_sessionid' previously defined here {standard input}: Assembler messages: {standard input}:1531: Error: Symbol send_sessionid already defined. *** Error code 1 Stop in /usr/src/sys/modules/netgraph/pppoe. *** Error code 1 I look in the code and saw there is a redefinition of 'send_sessionid'. As I'm not a kernel hacker neither an assembler guru, can someone help me? Vladimir P.S. Pleace re-play to me at vlady@rila.bg, not at this address. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 5: 7:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 37B8837B40F for ; Mon, 17 Jun 2002 05:07:06 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 9356E471DA; Mon, 17 Jun 2002 05:07:04 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 4DA18FEBE; Mon, 17 Jun 2002 05:07:03 -0700 (PDT) Message-ID: <3D0DD0E7.98E90240@pantherdragon.org> Date: Mon, 17 Jun 2002 05:07:03 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: gauthamg123list@myrealbox.com Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gautham Ganapathy wrote: > > Hi > > How can I add an extra layer of processing b/w the IP and ethernet layers > using a kernel module ? If I load a module, I should be able to access the > functions exported by IP and ethernet. Also, I think the ethernet layer can > be configured to use my module as the protocol by patching ifconfig. Am I > right so far ? So, how do I get IP to use my module as it's link layer ? If > I am wrong, what's the proper way ? Or is there any other simpler way ? My > requirement is to add a compression layer (RFC 2507) Have you looked at netgraph(4)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 5:20:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by hub.freebsd.org (Postfix) with ESMTP id 64EEA37B434 for ; Mon, 17 Jun 2002 05:20:02 -0700 (PDT) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id g5HCJs6k030080; Mon, 17 Jun 2002 14:19:57 +0200 Date: Mon, 17 Jun 2002 14:19:54 +0200 (CEST) From: Lukas Ertl X-X-Sender: le@pcle2.cc.univie.ac.at To: vlady@rila.bg Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Problem building 4.6-STABLE kernel In-Reply-To: <20020617120520.46891.qmail@web10105.mail.yahoo.com> Message-ID: <20020617141918.M73368-100000@pcle2.cc.univie.ac.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Vladimir Terziev wrote: > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:860: > redefinition of `send_sessionid' > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:843: > `send_sessionid' previously defined here > {standard input}: Assembler messages: > {standard input}:1531: Error: Symbol send_sessionid > already defined. > *** Error code 1 I have exactly the same problem here, but I don't know how to solve it. regards, le --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universit=E4t Wien http://mailbox.univie.ac.at/~le/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 5:29:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mimer.null.dk (mimer.null.dk [130.228.230.9]) by hub.freebsd.org (Postfix) with SMTP id EAB4A37B422 for ; Mon, 17 Jun 2002 05:29:34 -0700 (PDT) Received: (qmail 28250 invoked by uid 543); 17 Jun 2002 12:28:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Jun 2002 12:28:35 -0000 Date: Mon, 17 Jun 2002 14:28:35 +0200 (CEST) From: Jonas Anderson To: Lukas Ertl Cc: vlady@rila.bg, freebsd-hackers@FreeBSD.ORG Subject: Re: Problem building 4.6-STABLE kernel In-Reply-To: <20020617141918.M73368-100000@pcle2.cc.univie.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Lukas Ertl wrote: > On Mon, 17 Jun 2002, Vladimir Terziev wrote: > > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:860: > > redefinition of `send_sessionid' > > /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:843: > > `send_sessionid' previously defined here > > {standard input}: Assembler messages: > > {standard input}:1531: Error: Symbol send_sessionid > > already defined. > > *** Error code 1 > > I have exactly the same problem here, but I don't know how to solve it. I fixed this problem by removing one of the blocks defining send_sessionid in ng_pppoe.c .. I've submitted this as a bug-report too. I'm not much of a C programmer or anything, but taking out that one blick fixed it just fine. I'm guessing the double definition is simply a cut and paste flaw or something of the sort. > regards, > le -- -Jonas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 7:39: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 42A6E37B423 for ; Mon, 17 Jun 2002 07:39:03 -0700 (PDT) Received: from pool0073.cvx40-bradley.dialup.earthlink.net ([216.244.42.73] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Jxen-0005AP-00; Mon, 17 Jun 2002 07:39:01 -0700 Message-ID: <3D0DF45F.C616C7CA@mindspring.com> Date: Mon, 17 Jun 2002 07:38:23 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: gauthamg123list@myrealbox.com Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gautham Ganapathy wrote: > How can I add an extra layer of processing b/w the IP and ethernet layers > using a kernel module ? If I load a module, I should be able to access the > functions exported by IP and ethernet. Also, I think the ethernet layer can > be configured to use my module as the protocol by patching ifconfig. Am I > right so far ? So, how do I get IP to use my module as it's link layer ? If > I am wrong, what's the proper way ? Or is there any other simpler way ? My > requirement is to add a compression layer (RFC 2507) Questions like this should probably be sent to -net, rather than -hackers. You will probably find a better answer than mine, just by searching the -net list archives at www.freebsd.org. The RFC specifically references a NetBSD implementation for PPP; is this for PPP? If it's for PPP, then mpd may have already implemented what you need as a netgraph node. One thing you aren't going to be able to do is BPF on input after netgraph catches the data. Don't bother with a protocol family, unless you want to have to implement everything; TCP in tcp_output() calls ip_output() directly, so you will not be able to wedge it in there (TCP and IP are not implemented as stackable protocol layers seperate and distinct from each other). I can point you at code that does this, but it requires changing your application in order to make it open sockets with the new family instead of AF_INET; if you ar adamant, the code is at Rice University, as part of the Scala Server Project. My particular choice for an example would be /sys/netgraph/ng_pppoe.c but others might point you to something else. Julian or Archie are always the best people to ask (obviously). You could also create an interface (see /sys/netgraph/ng_iface.c) that pretended to be a plain old interface, and did the encapsulation/deincapsulation, and sent to the regular interface. The basics are going to be that you replace the mbuf with your modified mbuf, rather than eating it outright, if you want the input/output processing to proceed normally on the (de)compressed packet. I don't know if there is a ng_null that anyone has written; it would *really* be the best starting point. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 8: 0:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by hub.freebsd.org (Postfix) with ESMTP id 49F0937B415; Mon, 17 Jun 2002 08:00:32 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g5HF0Bl28594; Mon, 17 Jun 2002 11:00:11 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g5HF08O03329; Mon, 17 Jun 2002 11:00:08 -0400 (EDT) Received: from mm112324-2k.mitre.org (128.29.105.135) by mailhub1.mitre.org with SMTP id 10589530; Mon, 17 Jun 2002 10:59:28 -0400 Message-ID: <3D0DF96C.EAAFB18A@mitre.org> Date: Mon, 17 Jun 2002 10:59:56 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Daniel C. Sobral" Cc: Vitor de Matos Carvalho , FreeBSD-Questions , FreeBSD-Hackers Subject: Re: CPU Temperature and MRTG References: <004b01c21466$81638d40$020aa8c0@acaraje> <3D0B5CA9.46E03003@newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > > Vitor de Matos Carvalho wrote: > > > > Hi :)) > > > > It would like to know if somebody uses some program to measure the > > temperature of CPU (Intel) and motherboard, so that it can be read by the > > MRTG and thus to generate graphs? > > Mmmmmm. I'm particularly familiar with the APCI code nowadays, but it > would surprise me if there wasn't SOME command which returns the current > temperature. In that case, net-snmp can easily do the job, even if not > with the correct MIB (it can do the job with the correct MIB too, just > not easily), through it's exec feature. If there isn't an SNMP module for it, you can write an MRTG module that just runs xmbmon to grab the temp. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 8:51:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rekin.go2.pl (rekin4.go2.pl [212.126.20.8]) by hub.freebsd.org (Postfix) with ESMTP id EB22737B419 for ; Mon, 17 Jun 2002 08:51:07 -0700 (PDT) Received: from usul (pa160.szprotawa.sdi.tpnet.pl [217.96.187.160]) by rekin.go2.pl (Mailer_v2.01) with SMTP id 0F39B6EEE4 for ; Mon, 17 Jun 2002 17:50:58 +0200 (CEST) Message-ID: <005501c21616$9c88d560$0a00a8c0@usul> From: "usul" To: Subject: a "small" part in th project Date: Mon, 17 Jun 2002 17:49:45 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0052_01C21627.5E5EC540" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0052_01C21627.5E5EC540 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable hi! i think that the FreeBSD i a cool system, and although i'm a newbie in = programming... well i would like to have a small part in Your project. = let's say that i would like to create a game :-) ... for a start. so, my question is : what requirements do i have to meet in order to add = my game to Your system? ------=_NextPart_000_0052_01C21627.5E5EC540 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
hi!
i think that the FreeBSD i a cool = system, and=20 although i'm a newbie in programming... well i would like to have a = small part=20 in Your project.  let's say that i would like to create a game = :-) ...=20 for a start.
so, my question is : what = requirements do i=20 have to meet in order to add my game to Your system?
 
------=_NextPart_000_0052_01C21627.5E5EC540-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 8:58: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dayab.ch (mail.dayab.ch [193.135.253.139]) by hub.freebsd.org (Postfix) with SMTP id 0367C37B406 for ; Mon, 17 Jun 2002 08:57:58 -0700 (PDT) Received: (qmail 2933 invoked from network); 17 Jun 2002 14:17:22 -0000 Received: from unknown (HELO bturtle.ch) (193.135.253.141) by mail.dayab.ch with SMTP; 17 Jun 2002 14:17:22 -0000 Message-ID: <3D0E22DE.8030209@bturtle.ch> Date: Mon, 17 Jun 2002 17:56:46 +0000 From: "S.Aeschbacher" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528 X-Accept-Language: en-us, en MIME-Version: 1.0 To: usul Cc: freebsd-hackers@FreeBSD.org Subject: Re: a "small" part in th project References: <005501c21616$9c88d560$0a00a8c0@usul> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi usul write the game (obviously ;). Then create a port of it for the FreeBSD system and submit it. Just read the porters-handbook to learn how to do this. You can find the handbook here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ greets Stefan usul wrote: > hi! > i think that the FreeBSD i a cool system, and although i'm a newbie in > programming... well i would like to have a small part in Your > project. let's say that i would like to create a game :-) ... for a > start. > so, my question is : what requirements do i have to meet in order to > add my game to Your system? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 9:20:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cheer.mahoroba.org (flets19-004.kamome.or.jp [218.45.19.4]) by hub.freebsd.org (Postfix) with ESMTP id 0C73137B405; Mon, 17 Jun 2002 09:20:54 -0700 (PDT) Received: from piano.mahoroba.org (IDENT:psfEUXNs6ze5Tb/6LpMvyp1eEIUUquk+AdeyQzVhBqWyRVK04kx9dqfzIxJwgW9t@piano.mahoroba.org [IPv6:2001:200:301:0:240:96ff:fe48:4ea8]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.4/8.12.4) with ESMTP/inet6 id g5HGKmIk030480 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 18 Jun 2002 01:20:49 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 18 Jun 2002 01:20:47 +0900 Message-ID: From: Hajimu UMEMOTO To: Terry Lambert Cc: arch@FreeBSD.org, hackers@FreeBSD.org Subject: Re: [CFR] max-child-per-ip restriction for inetd In-Reply-To: <3D0D1673.632F2386@mindspring.com> References: <3D0D1673.632F2386@mindspring.com> User-Agent: xcite1.38> Wanderlust/2.9.13 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.6-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Sun, 16 Jun 2002 15:51:31 -0700 >>>>> Terry Lambert said: tlambert2> Your search_ip() function is a linear list traversal, which tlambert2> makes a lookup O(N). Oh, yes. I'm thinking that at begining. tlambert2> Is there any change you could use a hash or a btree or a tlambert2> skiplist or a trie or some other data structure *other* tlambert2> than a linear list traversal? Yes, I have a plan to reimplement it to use maybe btree or something. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 10: 3:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id DCDD037B401 for ; Mon, 17 Jun 2002 10:03:39 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXV00L810Q3FS@mtaout03.icomcast.net> for FreeBSD-Hackers@freebsd.org; Mon, 17 Jun 2002 13:03:39 -0400 (EDT) Date: Mon, 17 Jun 2002 12:03:38 -0500 (CDT) From: "Brandon D. Valentine" Subject: winbond w83782d (was Re: CPU Temperature and MRTG) In-reply-to: <3D0DF96C.EAAFB18A@mitre.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: FreeBSD-Hackers Message-id: <20020617115120.X8520-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Jason Andresen wrote: >"Daniel C. Sobral" wrote: >> Vitor de Matos Carvalho wrote: >> > Hi :)) >> > >> > It would like to know if somebody uses some program to measure the >> > temperature of CPU (Intel) and motherboard, so that it can be read by the >> > MRTG and thus to generate graphs? >> >> Mmmmmm. I'm particularly familiar with the APCI code nowadays, but it >> would surprise me if there wasn't SOME command which returns the current >> temperature. In that case, net-snmp can easily do the job, even if not >> with the correct MIB (it can do the job with the correct MIB too, just >> not easily), through it's exec feature. > >If there isn't an SNMP module for it, you can write an MRTG module that >just runs xmbmon to grab the temp. This brings up something I was trying to find a solution for over the weekend. I just purchased the latest Tyan dual Athlon motherboard (S2466N-4M)[0] and got FreeBSD 4.6 up and running on it. It's working flawlessly so far, which I'm quite pleased with. It's always a roll of the dice buying new hardware without verified compatibility reports. I would like to monitor the CPU temperature to keep an eye on how efficient my cooling setup is (these dual Athlons get hot). The motherboard uses a Winbond W83782D hardware monitoring chip and comes with Windows software which supports it. Does anyone know of an open source app which will read the temperature off of this thing, or have pointers to documentation so I can write my own? I have had no luck getting [x]mbmon to use it. mbmon seems to only support the Winbond 83627HF chip. Gkrellm only appears to support LM7[89] chips via lm_sensors. Something which provided an SNMP interface would be ideal, even if I have to write that wrapper myself, since I'd like to be able to graph it via mrtg or similiar. I've been googling around without much success. Any thoughts or suggestions on where to turn? [0] - http://www.tyan.com/products/html/tigermpx.html Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11: 2:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from voi.aagh.net (pc1-hart1-4-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id 715CC37B449 for ; Mon, 17 Jun 2002 11:01:11 -0700 (PDT) Received: from freaky by voi.aagh.net with local (Exim 3.36 #1) id 17K0oP-0003Pm-00 for FreeBSD-Hackers@freebsd.org; Mon, 17 Jun 2002 19:01:09 +0100 Date: Mon, 17 Jun 2002 19:01:09 +0100 From: Thomas Hurst To: FreeBSD-Hackers Subject: Re: winbond w83782d (was Re: CPU Temperature and MRTG) Message-ID: <20020617180109.GA12919@voi.aagh.net> Mail-Followup-To: FreeBSD-Hackers References: <3D0DF96C.EAAFB18A@mitre.org> <20020617115120.X8520-100000@dallben.homeportal.2wire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020617115120.X8520-100000@dallben.homeportal.2wire.net> Organization: Not much. X-Operating-System: FreeBSD/4.6-STABLE (i386) X-Uptime: 6:58PM up 16:28, 4 users, load averages: 2.02, 2.03, 2.00 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Brandon D. Valentine (bandix@geekpunk.net) wrote: > The motherboard uses a Winbond W83782D hardware monitoring chip This is the same chip the Abit BP6 uses; healthd supports it, as you can see at http://freak.aagh.net/mrtg/ healthd lives in sysutils/healthd and http://healthd.thehousleys.net/ -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - LEVERAGE: Even if someone doesn't care what the world thinks about them, they always hope their mother doesn't find out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11:17:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id C795C37B445 for ; Mon, 17 Jun 2002 11:17:52 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXV00LAJ4555X@mtaout03.icomcast.net> for FreeBSD-Hackers@freebsd.org; Mon, 17 Jun 2002 14:17:30 -0400 (EDT) Date: Mon, 17 Jun 2002 13:17:29 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: winbond w83782d (was Re: CPU Temperature and MRTG) In-reply-to: <20020617180109.GA12919@voi.aagh.net> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Thomas Hurst Cc: FreeBSD-Hackers Message-id: <20020617131500.O8520-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Thomas Hurst wrote: >* Brandon D. Valentine (bandix@geekpunk.net) wrote: > >> The motherboard uses a Winbond W83782D hardware monitoring chip > >This is the same chip the Abit BP6 uses; healthd supports it, as you can >see at http://freak.aagh.net/mrtg/ > >healthd lives in sysutils/healthd and http://healthd.thehousleys.net/ Thank you! Man, I've gotta get more sleep or something. Maybe I should stop writing .sigs in 8 operator turing complete languages... Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11:21:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 3C3CD37B417 for ; Mon, 17 Jun 2002 11:21:10 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020617182015.OUKH11659.rwcrmhc53.attbi.com@InterJet.elischer.org>; Mon, 17 Jun 2002 18:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA15437; Mon, 17 Jun 2002 11:06:57 -0700 (PDT) Date: Mon, 17 Jun 2002 11:06:57 -0700 (PDT) From: Julian Elischer To: Gautham Ganapathy Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG use netgraph to instantiate another layer using teh ng interface type and feeding the result to teh actual ethernet. On Mon, 17 Jun 2002, Gautham Ganapathy wrote: > Hi > > How can I add an extra layer of processing b/w the IP and ethernet layers > using a kernel module ? If I load a module, I should be able to access the > functions exported by IP and ethernet. Also, I think the ethernet layer can > be configured to use my module as the protocol by patching ifconfig. Am I > right so far ? So, how do I get IP to use my module as it's link layer ? If > I am wrong, what's the proper way ? Or is there any other simpler way ? My > requirement is to add a compression layer (RFC 2507) > > Regards > Gautham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11:21:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id B994737B40F for ; Mon, 17 Jun 2002 11:21:25 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020617182027.OUNX11659.rwcrmhc53.attbi.com@InterJet.elischer.org>; Mon, 17 Jun 2002 18:20:27 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA15443; Mon, 17 Jun 2002 11:08:15 -0700 (PDT) Date: Mon, 17 Jun 2002 11:08:15 -0700 (PDT) From: Julian Elischer To: Gautham Ganapathy Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I forgot... you can intercept the packets at te top of the ethernet with netgraph and fiddle with them to your heart's content as well. Even send them to user space for extra processing.. On Mon, 17 Jun 2002, Gautham Ganapathy wrote: > Hi > > How can I add an extra layer of processing b/w the IP and ethernet layers > using a kernel module ? If I load a module, I should be able to access the > functions exported by IP and ethernet. Also, I think the ethernet layer can > be configured to use my module as the protocol by patching ifconfig. Am I > right so far ? So, how do I get IP to use my module as it's link layer ? If > I am wrong, what's the proper way ? Or is there any other simpler way ? My > requirement is to add a compression layer (RFC 2507) > > Regards > Gautham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11:21:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 8949C37B425 for ; Mon, 17 Jun 2002 11:21:36 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020617182037.OURJ11659.rwcrmhc53.attbi.com@InterJet.elischer.org>; Mon, 17 Jun 2002 18:20:37 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA15451; Mon, 17 Jun 2002 11:14:25 -0700 (PDT) Date: Mon, 17 Jun 2002 11:14:24 -0700 (PDT) From: Julian Elischer To: Terry Lambert Cc: gauthamg123list@myrealbox.com, "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet In-Reply-To: <3D0DF45F.C616C7CA@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Terry Lambert wrote: > > I don't know if there is a ng_null that anyone has written; it > would *really* be the best starting point. there is an ng_sample.c that is a skelaton that you are supposed to start from.. it's in the netgraph directory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 11:58:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id E43D637B40B; Mon, 17 Jun 2002 11:58:47 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5HIwhKB010495; Mon, 17 Jun 2002 14:58:43 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5HIwgCB010492; Mon, 17 Jun 2002 14:58:42 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Mon, 17 Jun 2002 14:58:42 -0400 (EDT) From: Trish Lynch X-X-Sender: To: , Cc: Subject: MDFUG Announcement Message-ID: <20020617144210.L464-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am pleased to announce the start of a local FreeBSD User Group in the DC/Baltimore/Annapolis area. We haven;t planned our first meeting yet, so get on the (discussion) mailing list by sending email to mdfug-request@bsdunix.net, and put "subscribe" in the message. We'll most likely be planning a place to meet over dinner and have a bit of fun :) To get on the announcement list, please do the same, but email mdfug-announce-request@bsdunix.net. Thanks! -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 13:54:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 5794E37B400 for ; Mon, 17 Jun 2002 13:54:22 -0700 (PDT) Received: (qmail 6537 invoked from network); 17 Jun 2002 20:54:21 -0000 Received: from unknown (HELO asus.tddhome) ([64.81.20.229]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 Jun 2002 20:54:21 -0000 Received: from asus.tddhome (localhost [127.0.0.1]) by asus.tddhome (8.12.3/8.12.3) with ESMTP id g5HHx5qB001326; Mon, 17 Jun 2002 11:01:45 -0700 (PDT) (envelope-from tomdean@speakeasy.org) Received: (from tomdean@localhost) by asus.tddhome (8.12.3/8.12.3/Submit) id g5HHx5aW001323; Mon, 17 Jun 2002 10:59:05 -0700 (PDT) Date: Mon, 17 Jun 2002 10:59:05 -0700 (PDT) Message-Id: <200206171759.g5HHx5aW001323@asus.tddhome> X-Authentication-Warning: asus.tddhome: tomdean set sender to tomdean@speakeasy.org using -f From: "Thomas D. Dean" To: bandix@geekpunk.net Cc: FreeBSD-Hackers@freebsd.org In-reply-to: <20020617115120.X8520-100000@dallben.homeportal.2wire.net> (bandix@geekpunk.net) Subject: Re: winbond w83782d (was Re: CPU Temperature and MRTG) References: <20020617115120.X8520-100000@dallben.homeportal.2wire.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG lm-sensors has information on this chip. tomdean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 14:53:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f191.pav1.hotmail.com [64.4.31.191]) by hub.freebsd.org (Postfix) with ESMTP id C249A37B428 for ; Mon, 17 Jun 2002 14:52:47 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 17 Jun 2002 14:52:47 -0700 Received: from 12.229.156.134 by pv1fd.pav1.hotmail.msn.com with HTTP; Mon, 17 Jun 2002 21:52:46 GMT X-Originating-IP: [12.229.156.134] From: "Evan Dower" To: freebsd-hackers@freebsd.org Subject: AS99127F Hardware Monitor Date: Mon, 17 Jun 2002 14:52:46 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Jun 2002 21:52:47.0585 (UTC) FILETIME=[51846510:01C21649] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is somewhat related to the winbond posts. I have an Asus a7m266-d motherboard with an as99127f monitor chip, which both healthd and xmbmon claim to support, yet neither will detect the chip. Actually, healthd doesn't complain, it just outputs what appear to be garbage values: localhost 255.0 0.0 0.0 0000 0000 0000 4.08 4.08 4.08 6.85 15.50 -14.16 -6.12 For some reason, I don't buy it's temps of 255 and 0 If anybody knows anything about what's going on here, I'd appreciate the help. Thanks, Evan Dower -- You must remove "nospam" when replying _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 15: 8:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 4B53B37B429 for ; Mon, 17 Jun 2002 15:05:42 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXV00609EP8X6@mtaout05.icomcast.net> for FreeBSD-Hackers@freebsd.org; Mon, 17 Jun 2002 18:05:32 -0400 (EDT) Date: Mon, 17 Jun 2002 17:05:32 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: winbond w83782d (was Re: CPU Temperature and MRTG) In-reply-to: <200206171759.g5HHx5aW001323@asus.tddhome> X-X-Sender: bandix@dallben.homeportal.2wire.net To: "Thomas D. Dean" Cc: FreeBSD-Hackers@freebsd.org Message-id: <20020617165905.V8520-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Thomas D. Dean wrote: >lm-sensors has information on this chip. Yes, thank you. I've just been reading through the bug database at lm-sensors.nu on a recommendation from a fellow Tyan Tiger MPX owner. I now have healthd installed but am only able to grab the voltages from the hardware, not the CPU temp or fan speeds. This is evidently related to the fact that there are actually two Winbond hardware monitoring chips onboard and the functions are divided between them. According to the linux guys in order to initialize the second monitoring chip on boot you must either go into a BIOS hardware monitoring menu or temporarily boot Windows and launch the included monitoring software. The Tiger MPX BIOS does not currently contain a hardware monitoring menu because the original revision of the board only had a 2MB BIOS ROM. The newer revision I have has a 4MB BIOS ROM on it so I hope that I will be able to obtain a BIOS from Tyan which includes this functionality. I would very much like to verify this theory. I would also like to see if I can figure out a workaround to initialize this chipset without requiring a trip to the BIOS or Windows. Hopefully the Linux lm_sensors folks can help me make sense of it. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 15:38:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id AA50237B40B for ; Mon, 17 Jun 2002 15:38:37 -0700 (PDT) Received: (qmail 8538 invoked from network); 17 Jun 2002 22:32:52 -0000 Received: from unknown (HELO asus.tddhome) ([64.81.20.229]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 Jun 2002 22:32:52 -0000 Received: from asus.tddhome (localhost [127.0.0.1]) by asus.tddhome (8.12.3/8.12.3) with ESMTP id g5HMWq80001807; Mon, 17 Jun 2002 15:32:52 -0700 (PDT) (envelope-from tomdean@speakeasy.org) Received: (from tomdean@localhost) by asus.tddhome (8.12.3/8.12.3/Submit) id g5HMWqfK001804; Mon, 17 Jun 2002 15:32:52 -0700 (PDT) Date: Mon, 17 Jun 2002 15:32:52 -0700 (PDT) Message-Id: <200206172232.g5HMWqfK001804@asus.tddhome> X-Authentication-Warning: asus.tddhome: tomdean set sender to tomdean@speakeasy.org using -f From: "Thomas D. Dean" To: evantd@hotmail.com Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: (evantd@hotmail.com) Subject: Re: AS99127F Hardware Monitor References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have an ASUS A7N266-E motherboard with an as99127f monitor chip. I cannot get the drivers to recognize the smbus. I have posted several times to this and other lists - no response. I think this was because of the pending release. I will try again in a week or two. tomdean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 20: 9:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by hub.freebsd.org (Postfix) with ESMTP id 5783637B432 for ; Mon, 17 Jun 2002 20:09:36 -0700 (PDT) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.11.6/8.11.6) with ESMTP id g5I39ZK28773; Mon, 17 Jun 2002 22:09:35 -0500 (CDT) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA15426; Mon, 17 Jun 2002 22:09:34 -0500 (CDT) Received: from popsvr.india.ti.com (popsvr.india.ti.com [157.87.95.215]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA15404; Mon, 17 Jun 2002 22:09:32 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id IAA27051; Tue, 18 Jun 2002 08:39:27 +0530 (IST) From: "Gautham Ganapathy" To: "Darren Pilgrim" Cc: "FreeBSD.org - Hackers" Subject: RE: Inserting a kernel module b/w IP and ethernet Date: Tue, 18 Jun 2002 08:40:40 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3D0DD0E7.98E90240@pantherdragon.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, June 17, 2002 5:37 PM, Darren Pilgrim wrote: > > Gautham Ganapathy wrote: > > > > Hi > > > > How can I add an extra layer of processing b/w the IP and > ethernet layers > > using a kernel module ? If I load a module, I should be able to > access the > > functions exported by IP and ethernet. Also, I think the > ethernet layer can > > be configured to use my module as the protocol by patching > ifconfig. Am I > > right so far ? So, how do I get IP to use my module as it's > link layer ? If > > I am wrong, what's the proper way ? Or is there any other > simpler way ? My > > requirement is to add a compression layer (RFC 2507) > > Have you looked at netgraph(4)? > Thanx. i went throught the man page and i think it should be fine. is there a tutorial available that I can download as a zip file ? my net access is rather restricted except for mail. also, is netgraph a new feature? I have started on Richard Stevens' tcpip illus 2 and it does not have anything on netgraph. this book is for 4.4 BSD Lite To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 20:24:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id C885537B430 for ; Mon, 17 Jun 2002 20:24:30 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 96638A809; Tue, 18 Jun 2002 13:21:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 93B2B542D; Tue, 18 Jun 2002 13:21:25 +1000 (EST) Date: Tue, 18 Jun 2002 13:21:25 +1000 (EST) From: Andrew To: Gautham Ganapathy Cc: Darren Pilgrim , "FreeBSD.org - Hackers" Subject: RE: Inserting a kernel module b/w IP and ethernet In-Reply-To: Message-ID: <20020618131555.L67196-100000@starbug.ugh.net.au> X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Gautham Ganapathy wrote: > Thanx. i went throught the man page and i think it should be fine. is there > a tutorial available that I can download as a zip file ? my net access is > rather restricted except for mail. There is a good article at daemonnews that IIRC is just one page (+ illustrations however) > also, is netgraph a new feature? I have started on Richard Stevens' tcpip > illus 2 and it does not have anything on netgraph. this book is for 4.4 BSD > Lite Turned up in FreeBSD 3.4 (says me having just looked it up in the man page). HTH, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 17 20:34:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by hub.freebsd.org (Postfix) with ESMTP id 228CE37B41F; Mon, 17 Jun 2002 20:34:13 -0700 (PDT) Received: from dlep8.itg.ti.com ([157.170.134.88]) by jester.ti.com (8.11.6/8.11.6) with ESMTP id g5I3YBK12187; Mon, 17 Jun 2002 22:34:12 -0500 (CDT) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA23975; Mon, 17 Jun 2002 22:34:11 -0500 (CDT) Received: from popsvr.india.ti.com (popsvr.india.ti.com [157.87.95.215]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA23949; Mon, 17 Jun 2002 22:34:08 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id JAA01395; Tue, 18 Jun 2002 09:03:58 +0530 (IST) Reply-To: From: "Gautham Ganapathy" To: "Terry Lambert" Cc: "FreeBSD.org - Hackers" , "FreeBSD. org - Net" Subject: RE: Inserting a kernel module b/w IP and ethernet (Moving to net-) Date: Tue, 18 Jun 2002 09:05:10 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3D0DF45F.C616C7CA@mindspring.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, June 17, 2002 8:08 PM, Terry Lambert wrote: > > Gautham Ganapathy wrote: > > How can I add an extra layer of processing b/w the IP and > ethernet layers > > using a kernel module ? If I load a module, I should be able to > access the > > functions exported by IP and ethernet. Also, I think the > ethernet layer can > > be configured to use my module as the protocol by patching > ifconfig. Am I > > right so far ? So, how do I get IP to use my module as it's > link layer ? If > > I am wrong, what's the proper way ? Or is there any other > simpler way ? My > > requirement is to add a compression layer (RFC 2507) > > Questions like this should probably be sent to -net, rather than > -hackers. You will probably find a better answer than mine, just > by searching the -net list archives at www.freebsd.org. > ok. will do > The RFC specifically references a NetBSD implementation for PPP; is > this for PPP? If it's for PPP, then mpd may have already implemented > what you need as a netgraph node. One thing you aren't going to be > able to do is BPF on input after netgraph catches the data. > it is not for ppp. this will currently be used on a LAN. it is used for reducing header bandwidth on wireless transmission systems. the ip packets generated after compression are not compatible with standard ipv4 packets and probably cannot be used on the same network. as in tcp/ip, there is no dependency on an underlying protocol. i'll check if the netbsd ppp will be of use. > Don't bother with a protocol family, unless you want to have to > implement everything; TCP in tcp_output() calls ip_output() > directly, so you will not be able to wedge it in there (TCP and IP > are not implemented as stackable protocol layers seperate and > distinct from each other). I can point you at code that does > this, but it requires changing your application in order to > make it open sockets with the new family instead of AF_INET; if > you ar adamant, the code is at Rice University, as part of the > Scala Server Project. i won't need to embed it between tcp and ip. it would have to be between ip and ethernet. > My particular choice for an example would be /sys/netgraph/ng_pppoe.c > but others might point you to something else. Julian or Archie are > always the best people to ask (obviously). > > You could also create an interface (see /sys/netgraph/ng_iface.c) > that pretended to be a plain old interface, and did the > encapsulation/deincapsulation, and sent to the regular interface. > this sounds good, but i think i have a lot of code to go through since i have just started studying the kernel. > The basics are going to be that you replace the mbuf with your > modified mbuf, rather than eating it outright, if you want the > input/output processing to proceed normally on the (de)compressed > packet. > > I don't know if there is a ng_null that anyone has written; it > would *really* be the best starting point. > thanx a lot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 0:26:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.nentec.de (gate2.nentec.de [194.25.215.66]) by hub.freebsd.org (Postfix) with ESMTP id D4DB337B401 for ; Tue, 18 Jun 2002 00:26:26 -0700 (PDT) Received: from nenny.nentec.de (root@nenny.nentec.de [153.92.64.1]) by gate.nentec.de (8.11.3/8.9.3) with ESMTP id g5I7QNA18523 for ; Tue, 18 Jun 2002 09:26:23 +0200 Received: from nentec.de (andromeda.nentec.de [153.92.64.34]) by nenny.nentec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g5I7QIZ01838 for ; Tue, 18 Jun 2002 09:26:19 +0200 Message-ID: <3D0EE09A.7000008@nentec.de> Date: Tue, 18 Jun 2002 09:26:18 +0200 From: Andy Sporner User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204 X-Accept-Language: de-at, de, en, en-us MIME-Version: 1.0 To: freebsd-hackers Subject: Help need please--Kernel Panic... 2nd post.... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Hackers, I am using FreeBSD 5.0-20020302-PREVIEW and have the following panic. Will some nice person give me some feedback. Could this be a bug??? Thanks! Andy ------------SNIP #include "modtcp.h" #include static struct proc *modtcpproc; static void modtcpd(void); static struct kproc_desc kp = { "modtcpd", modtcpd, &modtcpproc }; SYSINIT(modtcpd, SI_SUB_KTHREAD_BUF, SI_ORDER_FIRST, kproc_start, &kp) static void modtcpd(void) { tsleep(0x0dead0001, 0, "General Wait", 400); kthread_exit(0); } ---------------------SNIP ENDS This is not the actual usage that I have for the daemon, but I wanted to reduce the problem set so that I can get the minimal amount of code to produce the same failure. After the sleep concludes and 'kthread_exit()' runs, the following occurs... panic: mutex Giant not owned at ../../../kern/kern_exit.c"131 Debuger("panic") Stopped at Debugger+0x40: xorl %eax,%eax Is this a bug in the kernel or??? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 0:41:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by hub.freebsd.org (Postfix) with ESMTP id 0AF3F37B410 for ; Tue, 18 Jun 2002 00:41:29 -0700 (PDT) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id 11E9C8B5B6; Tue, 18 Jun 2002 00:41:02 -0700 (PDT) Message-ID: <3D0EE40D.FA9B7C00@FreeBSD.org> Date: Tue, 18 Jun 2002 00:41:01 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Andy Sporner Cc: freebsd-hackers Subject: Re: Help need please--Kernel Panic... 2nd post.... References: <3D0EE09A.7000008@nentec.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ You should post questions about 5.0-current on the freebsd-current mailing list first, for future reference. ] Andy Sporner wrote: > > Hi Hackers, > > I am using FreeBSD 5.0-20020302-PREVIEW and have the following panic. This is actually a pretty good time to cvsup your sources and build the latest -current. Numerous problems have been fixed in the last two months. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 1:40:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f218.law14.hotmail.com [64.4.21.218]) by hub.freebsd.org (Postfix) with ESMTP id 70C8A37B407; Tue, 18 Jun 2002 01:40:00 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 18 Jun 2002 01:40:00 -0700 Received: from 195.235.247.100 by lw14fd.law14.hotmail.msn.com with HTTP; Tue, 18 Jun 2002 08:39:57 GMT X-Originating-IP: [195.235.247.100] From: "Bill Flamerola" To: hackers@freebsd.org Cc: chat@freebsd.org Subject: The problem with FreeBSD Date: Tue, 18 Jun 2002 08:39:57 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Jun 2002 08:40:00.0301 (UTC) FILETIME=[BB9E9DD0:01C216A3] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Okay, this is not really intended as a flame, but kinda necessary, given the current situation in the FreeBSD camp. Let's see, some weeks ago a couple of people dropped their ports maintainership, why did this happen? Sergey dropped his ports because David O'Brien is an asshole. Yes, no news, we all know that. Asmodai resigned some days ago, why? Because fucking Bill Fumerola is a royal asshole. Has fucking Bill Fumerola ever done any worthwhile work for FreeBSD? NO. He prefers to spend his time flaming other people. FUCK YOU FUMEROLA! Jordan Hubbard left, Mike Smith left. Why? Because a large number of the people involved in FreeBSD are either assholes or hypocrites. What's the prefered game in #bsdcode? Right, flaming Terry Lambert. Terry may not be perfect, but he has *never* insulted anyone, he's a nice person to talk to, and pretty often comes up with nice ideas. I'm talking to you, fucking Hiten Pandya, damned asshole. And I'm talking to you, stupid Alfred Perlstein. Alfred is an interesting person. He seems to be drunk most of the time, has never contributed anything important to the project, yet he likes to flame around all the time. Matthew Dillon is one of the few hackers worth his salt, what does he get in return? A 5 day commit bit suspension. Matt, please, join NetBSD, they need help in the SMP code, and leave all these hypocrites alone. David O'Brien -> good hacker but a total asshole Dag-Erling Smorgrav -> a total asshole Alfred Perlstein -> drunktard and hypocrite Bill Fumerola -> The überasshole, FUCK FUMEROLA!!!! Kris Kennaway -> Hyprocrite Hiten Pandya -> an IMBECILE, grow up fucking moron You all owe Terry Lambert an apology, stupid hypocrites. To the rest of the people, jump shit now, and join NetBSD while you can. FreeBSD is not worth the hassle. _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 3: 9: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cse.cs.huji.ac.il (cse.cs.huji.ac.il [132.65.16.30]) by hub.freebsd.org (Postfix) with ESMTP id 6DCE037B407 for ; Tue, 18 Jun 2002 03:08:58 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cse.cs.huji.ac.il with esmtp id 17KFuz-000Jod-00 for hackers@freebsd.org; Tue, 18 Jun 2002 13:08:57 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: hackers@freebsd.org Subject: sbc/embedded FreeBSD friendly Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Jun 2002 13:08:57 +0300 From: Danny Braniss Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG for a lab course, we are looking for FreeBSD friendly boards, any suggestions are welcome, thanks, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 3:33:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from goose.mail.pas.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id 704F237B405 for ; Tue, 18 Jun 2002 03:33:47 -0700 (PDT) Received: from pool0040.cvx21-bradley.dialup.earthlink.net ([209.179.192.40] helo=mindspring.com) by goose.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17KGIu-0005ms-00; Tue, 18 Jun 2002 03:33:40 -0700 Message-ID: <3D0F0C5E.C0A2414E@mindspring.com> Date: Tue, 18 Jun 2002 03:33:02 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Danny Braniss Cc: hackers@freebsd.org Subject: Re: sbc/embedded FreeBSD friendly References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Danny Braniss wrote: > for a lab course, we are looking for FreeBSD friendly boards, any suggestions > are welcome, Depends on quantity. My favorite boards for this kind of thing are laptop motherboards, since they have the connections for a built in UPS, automatic software controlled power management, and the majority of the cost is in the display, with most of the rest of it being in the micro mechanicals that you don't need in an embedded system (PCMCIA slots, keyboard, tiny floppy, docking crap, speakers, microphone, expansion bays for CDROM, etc.). If you can get them, they make for cheap little boxes. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 3:45:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by hub.freebsd.org (Postfix) with ESMTP id 3752C37B400 for ; Tue, 18 Jun 2002 03:45:19 -0700 (PDT) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.12.2/8.10.2) with ESMTP id g5IAiIqD016211; Tue, 18 Jun 2002 12:44:18 +0200 (CEST) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Tue, 18 Jun 2002 12:44:18 +0200 (CEST) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Tue, 18 Jun 2002 12:44:17 +0200 (CEST) From: dirkx@covalent.net X-X-Sender: dirkx@mobile.webweaving.org To: danny@cs.huji.ac.il Cc: hackers@FreeBSD.ORG Subject: Re: sbc/embedded FreeBSD friendly In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The soekris.com boxes work very well for me. Dw. -- Dirk-Willem van Gulik On Tue, 18 Jun 2002, Danny Braniss wrote: > for a lab course, we are looking for FreeBSD friendly boards, any suggestions > are welcome, > > thanks, > > danny > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 4:13:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.inter7.com (ns1.inter7.com [209.218.8.2]) by hub.freebsd.org (Postfix) with SMTP id 7B50637B40D for ; Tue, 18 Jun 2002 04:13:26 -0700 (PDT) Received: (qmail 26346 invoked from network); 18 Jun 2002 11:13:11 -0000 Received: from unknown (HELO niteone) (12.245.3.123) by evanston.inter7.com with SMTP; 18 Jun 2002 11:13:11 -0000 Message-ID: <000701c216b9$2a0b4e20$7b03f50c@niteone> From: "Randall Hamilton" To: "Bill Flamerola" , Cc: References: Subject: Re: The problem with FreeBSD Date: Tue, 18 Jun 2002 07:13:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Okay, this is not really intended as a flame, but kinda necessary, given the > current situation in the FreeBSD camp. > > Let's see, some weeks ago a couple of people dropped their ports > maintainership, why did this happen? Sergey dropped his ports because David > O'Brien is an asshole. Yes, no news, we all know that. Asmodai resigned some > days ago, why? Because fucking Bill Fumerola is a royal asshole. Has fucking > Bill Fumerola ever done any worthwhile work for FreeBSD? NO. He prefers to > spend his time flaming other people. FUCK YOU FUMEROLA! > > Jordan Hubbard left, Mike Smith left. Why? Because a large number of the > people involved in FreeBSD are either assholes or hypocrites. What's the > prefered game in #bsdcode? Right, flaming Terry Lambert. Terry may not be > perfect, but he has *never* insulted anyone, he's a nice person to talk to, > and pretty often comes up with nice ideas. I'm talking to you, fucking Hiten > Pandya, damned asshole. And I'm talking to you, stupid Alfred Perlstein. > Alfred is an interesting person. He seems to be drunk most of the time, has > never contributed anything important to the project, yet he likes to flame > around all the time. > > Matthew Dillon is one of the few hackers worth his salt, what does he get in > return? A 5 day commit bit suspension. Matt, please, join NetBSD, they need > help in the SMP code, and leave all these hypocrites alone. > > David O'Brien -> good hacker but a total asshole > Dag-Erling Smorgrav -> a total asshole > Alfred Perlstein -> drunktard and hypocrite > Bill Fumerola -> The überasshole, FUCK FUMEROLA!!!! > Kris Kennaway -> Hyprocrite > Hiten Pandya -> an IMBECILE, grow up fucking moron > > You all owe Terry Lambert an apology, stupid hypocrites. > > To the rest of the people, jump shit now, and join NetBSD while you can. > FreeBSD is not worth the hassle. right... and to bring all these VILE people to public knowledge...you use a hotmail addr and a name that we are supposed to see as 'witty' or 'clever'. please don't take the silence from the people on the respeced boards you decided to spam your email the wrong way....I'm sure most of us are shocked into silence from the profound and insightful statements you have made. well...that..or none of us really care what anonymous posters have to say. duck that identity...make full use of the internet to hide the source of your venting. bill...alfred..was some kid denied a port or something to warrent this silly temper tantrum? :) --randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 7:38:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web8007.mail.in.yahoo.com (web8007.in.yahoo.com [203.199.70.94]) by hub.freebsd.org (Postfix) with SMTP id D078637B422 for ; Tue, 18 Jun 2002 07:38:06 -0700 (PDT) Message-ID: <20020618143756.42830.qmail@web8007.mail.in.yahoo.com> Received: from [65.115.46.162] by web8007.mail.in.yahoo.com via HTTP; Tue, 18 Jun 2002 07:37:56 PDT Date: Tue, 18 Jun 2002 07:37:56 -0700 (PDT) From: joy ganguly Subject: mmap and MAP_NOSYNC To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Hi, I want to use mmap as a means of doing IPC between unrelated processes. I do *not* want the data to hit the disk. So this is what I do :- fd = open(file, O_RDWR); p = mmap(fd, MAP_NOSYNC | MAP_SHARED); mlock(p, len); /* Whack around with shmem */ Now my question is , once I have wired the shared memory region, is it possible that the data still hits the disk ? One would think the pager will not look at wired pages. Is that correct ? Thanks in advance. Joy __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 7:50:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.nentec.de (gate2.nentec.de [194.25.215.66]) by hub.freebsd.org (Postfix) with ESMTP id AB12F37B407 for ; Tue, 18 Jun 2002 07:50:23 -0700 (PDT) Received: from nenny.nentec.de (root@nenny.nentec.de [153.92.64.1]) by gate.nentec.de (8.11.3/8.9.3) with ESMTP id g5IEoGA27241; Tue, 18 Jun 2002 16:50:16 +0200 Received: from nentec.de (andromeda.nentec.de [153.92.64.34]) by nenny.nentec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g5IEoAZ22415; Tue, 18 Jun 2002 16:50:10 +0200 Message-ID: <3D0F48A2.9080902@nentec.de> Date: Tue, 18 Jun 2002 16:50:10 +0200 From: Andy Sporner User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204 X-Accept-Language: de-at, de, en, en-us MIME-Version: 1.0 To: joy ganguly Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: mmap and MAP_NOSYNC References: <20020618143756.42830.qmail@web8007.mail.in.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joy ganguly wrote: >Hi all, > >Hi, > >I want to use mmap as a means of doing IPC between >unrelated processes. I do *not* want the data to hit >the disk. So this is what I do :- > >fd = open(file, O_RDWR); >p = mmap(fd, MAP_NOSYNC | MAP_SHARED); >mlock(p, len); > >/* Whack around with shmem */ > > >Now my question is , once I have wired the shared >memory region, is it possible that the data still hits >the disk ? One would think the pager will not look at >wired pages. Is that correct ? > Is there some reason not to use SYSV shared memory??? Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8: 4:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 18EA137B409; Tue, 18 Jun 2002 08:04:50 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5IF2RG12382; Tue, 18 Jun 2002 11:02:28 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Tue, 18 Jun 2002 11:02:27 -0400 From: Bosko Milekic To: Bill Flamerola Cc: hackers@FreeBSD.ORG, chat@FreeBSD.ORG Subject: Re: The problem with FreeBSD Message-ID: <20020618110227.A12370@unixdaemons.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from flamerola@hotmail.com on Tue, Jun 18, 2002 at 08:39:57AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill H., is that you? On Tue, Jun 18, 2002 at 08:39:57AM +0000, Bill Flamerola wrote: > Okay, this is not really intended as a flame, but kinda necessary, given the > current situation in the FreeBSD camp. [...useless stuff...] -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:20:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id D8AA937B404 for ; Tue, 18 Jun 2002 08:20:19 -0700 (PDT) Received: (qmail 4562 invoked from network); 18 Jun 2002 15:20:16 -0000 Received: from unknown (HELO asus.tddhome) ([64.81.20.229]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 18 Jun 2002 15:20:16 -0000 Received: from asus.tddhome (localhost [127.0.0.1]) by asus.tddhome (8.12.3/8.12.3) with ESMTP id g5IFKG80005498 for ; Tue, 18 Jun 2002 08:20:16 -0700 (PDT) (envelope-from tomdean@speakeasy.org) Received: (from tomdean@localhost) by asus.tddhome (8.12.3/8.12.3/Submit) id g5IFKFjp005495; Tue, 18 Jun 2002 08:20:15 -0700 (PDT) Date: Tue, 18 Jun 2002 08:20:15 -0700 (PDT) Message-Id: <200206181520.g5IFKFjp005495@asus.tddhome> X-Authentication-Warning: asus.tddhome: tomdean set sender to tomdean@speakeasy.org using -f From: "Thomas D. Dean" To: hackers@FreeBSD.ORG In-reply-to: <000701c216b9$2a0b4e20$7b03f50c@niteone> (nitedog@silly.pikachu.org) Subject: Thanks Developers (Was The problem with FreeBSD) References: <000701c216b9$2a0b4e20$7b03f50c@niteone> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Please ignore the rhetoric from the anonymous poster... Thanks developers for good work. tomdean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:24:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clink.schulte.org (clink.schulte.org [209.134.156.193]) by hub.freebsd.org (Postfix) with ESMTP id AF8B737B401; Tue, 18 Jun 2002 08:24:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by clink.schulte.org (Postfix) with ESMTP id 47A8D243C0; Tue, 18 Jun 2002 10:24:28 -0500 (CDT) Received: from schulte-laptop.nospam.schulte.org (nb-65.netbriefings.com [209.134.134.65]) by clink.schulte.org (Postfix) with ESMTP id 1FCE2243BE; Tue, 18 Jun 2002 10:24:26 -0500 (CDT) Message-Id: <5.1.1.6.2.20020618101617.03ddde20@pop3s.schulte.org> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 18 Jun 2002 10:21:57 -0500 To: "Bill Flamerola" , hackers@freebsd.org From: Christopher Schulte Subject: Re: The problem with FreeBSD Cc: chat@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS 0.3.12pre6 on clink.schulte.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:39 AM 6/18/2002 +0000, Bill Flamerola wrote: >Okay, this is not really intended as a flame, but kinda necessary, given >the current situation in the FreeBSD camp. OMG R U SERIOUS? Thx for the warning, I'll ditch FreeBSD and load NetBSD right now. >_________________________________________________________________ >Join the world's largest e-mail service with MSN Hotmail. >http://www.hotmail.com Ahh yes, using a respected hotmail address... *giggle* thanks for the morning laugh. Don't feed the trolls, any more than is required for good humor. -- Christopher Schulte http://www.schulte.org/ Do not un-munge my @nospam.schulte.org email address. This address is valid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:27:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spxgate.servplex.com (66-105-58-82.customer.algx.net [66.105.58.82]) by hub.freebsd.org (Postfix) with ESMTP id 9736A37B401 for ; Tue, 18 Jun 2002 08:27:28 -0700 (PDT) Received: from peter.servplex.com (gnclr8997@[192.168.0.61]) by spxgate.servplex.com (8.11.6/8.11.1) with ESMTP id g5IFXut49096 for ; Tue, 18 Jun 2002 10:33:56 -0500 (CDT) (envelope-from peter@servplex.com) Message-Id: <5.1.0.14.2.20020618101550.00a5ca50@mail.servplex.com> X-Sender: peter@mail.servplex.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 18 Jun 2002 10:27:26 -0500 To: freebsd-hackers@freebsd.org From: Peter Elsner Subject: Couple of issues with TGIF and HylaFax Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_8972016==_.ALT" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=====================_8972016==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hi all, I just installed HylaFax on our FreeBSD 4.5-STABLE machine. Couple of small issues. First with regards to TGIF (in particular netpbm). 1) I created a fax cover sheet/page using the TGIF program. First problem with this is that the netpbm port that is required to properly install TGIF is apparently not functioning. make runs fine, but I get the following error when I try to do a make install in /usr/ports/graphics/tgif spxdev:root# make install ===> Installing for tgif-4.1.41 ===> tgif-4.1.41 depends on executable: giftopnm - not found ===> Verifying install for giftopnm in /usr/ports/graphics/netpbm ===> Extracting for netpbm-9.24 >> Checksum mismatch for netpbm-9.24.tgz. Make sure the Makefile and distinfo file (/usr/ports/graphics/netpbm/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/graphics/netpbm. *** Error code 1 Stop in /usr/ports/graphics/netpbm. *** Error code 1 Stop in /usr/ports/graphics/netpbm. *** Error code 1 Stop in /usr/ports/graphics/netpbm. *** Error code 1 Stop in /usr/ports/graphics/netpbm. *** Error code 1 spxdev:root# Commenting out the RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm line in Makefile allows tgif to be installed fine, with the exception that I can not import gif/jpg/png graphics. 2) The HylaFax problem I have is that the to-company and regarding fields to not appear on my cover page. I'm calling sendfax with the following example: sendfax -d"name@faxnumber" -x "company name" -r "subject/regarding" filename The fax sends fine, and uses my default cover page, but the Company: and Re: fields are blank as if sendfax didn't pass the variables at all. I decided to try the default cover page (Silicon Graphics logo and all)... And noticed that the Company and Re: fields are blank there as well. So it would appear that there's a bug in HylaFax for FreeBSD. I have tried this on a Linux box and it works fine. Just wondering if anyone else has seen this problem and has perhaps a fix for it? Thanks in advance. Peter Elsner ---------------------------------------------------------------------------------------------------------- Peter Elsner Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. --=====================_8972016==_.ALT Content-Type: text/html; charset="us-ascii" Hi all,

I just installed HylaFax on our FreeBSD 4.5-STABLE machine. 

Couple of small issues. 

First with regards to TGIF (in particular netpbm).

1) I created a fax cover sheet/page using the TGIF program. 
First problem with this is that the netpbm port that is required to properly install TGIF is apparently not functioning.
make runs fine, but I get the following error when I try to do a make install in /usr/ports/graphics/tgif

spxdev:root# make install
===>  Installing for tgif-4.1.41
===>   tgif-4.1.41 depends on executable: giftopnm - not found
===>    Verifying install for giftopnm in /usr/ports/graphics/netpbm
===>  Extracting for netpbm-9.24
>> Checksum mismatch for netpbm-9.24.tgz.
Make sure the Makefile and distinfo file (/usr/ports/graphics/netpbm/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop in /usr/ports/graphics/netpbm.
*** Error code 1

Stop in /usr/ports/graphics/netpbm.
*** Error code 1

Stop in /usr/ports/graphics/netpbm.
*** Error code 1

Stop in /usr/ports/graphics/netpbm.
*** Error code 1

Stop in /usr/ports/graphics/netpbm.
*** Error code 1

spxdev:root#

Commenting out the

RUN_DEPENDS=    giftopnm:${PORTSDIR}/graphics/netpbm

line in Makefile allows tgif to be installed fine, with the exception that I can not import gif/jpg/png graphics.



2)  The HylaFax problem I have is that the to-company and regarding fields to not appear on my cover page.

I'm calling sendfax with the following example:

sendfax -d"name@faxnumber" -x "company name" -r "subject/regarding" filename

The fax sends fine, and uses my default cover page,
but the Company:  and Re: fields are blank as if sendfax didn't pass the variables at all.

I decided to try the default cover page (Silicon Graphics logo and all)... And noticed that the
Company and Re: fields are blank there as well.  So it would appear that there's a bug in HylaFax for FreeBSD.
I have tried this on a Linux box and it works fine. 


Just wondering if anyone else has seen this problem and has perhaps a fix for it?

Thanks in advance.

Peter Elsner



----------------------------------------------------------------------------------------------------------
Peter Elsner <peter@servplex.com>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax

Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.

Standard $500/message proofreading fee applies for UCE.

--=====================_8972016==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:30:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id D3BC837B404; Tue, 18 Jun 2002 08:30:13 -0700 (PDT) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 5912E3F28; Tue, 18 Jun 2002 11:32:35 -0400 (EDT) From: "Dan Langille" Organization: DVL Software Limited To: Christopher Schulte Date: Tue, 18 Jun 2002 11:30:07 -0400 MIME-Version: 1.0 Subject: Re: The problem with FreeBSD Reply-To: dan@langille.org Cc: chat@freebsd.org, hackers@freebsd.org In-reply-to: <5.1.1.6.2.20020618101617.03ddde20@pop3s.schulte.org> References: X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020618153235.5912E3F28@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 18 Jun 2002 at 10:21, Christopher Schulte wrote: > At 08:39 AM 6/18/2002 +0000, Bill Flamerola wrote: > >Okay, this is not really intended as a flame, but kinda necessary, given > >the current situation in the FreeBSD camp. > > OMG R U SERIOUS? Thx for the warning, I'll ditch FreeBSD and load NetBSD > right now. I wonder if NetBSDDiary is available... -- Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:53:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A4DFE37B40C; Tue, 18 Jun 2002 08:53:28 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 7F31FAE2AB; Tue, 18 Jun 2002 08:53:28 -0700 (PDT) Date: Tue, 18 Jun 2002 08:53:28 -0700 From: Alfred Perlstein To: Randall Hamilton Cc: hackers@freebsd.org, chat@freebsd.org Subject: Re: The problem with FreeBSD Message-ID: <20020618155328.GA12139@elvis.mu.org> References: <000701c216b9$2a0b4e20$7b03f50c@niteone> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c216b9$2a0b4e20$7b03f50c@niteone> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Randall Hamilton [020618 04:13] wrote: > > right... > and to bring all these VILE people to public knowledge...you use a hotmail > addr and a name that we are supposed to see as 'witty' or 'clever'. > > please don't take the silence from the people on the respeced boards you > decided to spam your email the wrong way....I'm sure most of us are shocked > into silence from the profound and insightful statements you have made. > > well...that..or none of us really care what anonymous posters have to say. > duck that identity...make full use of the internet to hide the source of > your venting. > > bill...alfred..was some kid denied a port or something to warrent this silly > temper tantrum? :) All I really have to say about the matter is that nothing says "lack of genitalia" like an anonymous hotmail account. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 8:58:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id E841A37B40E for ; Tue, 18 Jun 2002 08:58:00 -0700 (PDT) Received: by freebsd.org.ru (Postfix, from userid 1000) id B7BAC18; Tue, 18 Jun 2002 19:57:58 +0400 (MSD) Date: Tue, 18 Jun 2002 19:57:58 +0400 From: "Sergey A. Osokin" To: Peter Elsner Cc: freebsd-hackers@freebsd.org Subject: Re: Couple of issues with TGIF and HylaFax Message-ID: <20020618155758.GA704@freebsd.org.ru> References: <5.1.0.14.2.20020618101550.00a5ca50@mail.servplex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20020618101550.00a5ca50@mail.servplex.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 10:27:26AM -0500, Peter Elsner wrote: > Hi all, > > I just installed HylaFax on our FreeBSD 4.5-STABLE machine. > > Couple of small issues. > > First with regards to TGIF (in particular netpbm). > > 1) I created a fax cover sheet/page using the TGIF program. > First problem with this is that the netpbm port that is required to > properly install TGIF is apparently not functioning. > make runs fine, but I get the following error when I try to do a make > install in /usr/ports/graphics/tgif > > spxdev:root# make install > ===> Installing for tgif-4.1.41 > ===> tgif-4.1.41 depends on executable: giftopnm - not found > ===> Verifying install for giftopnm in /usr/ports/graphics/netpbm > ===> Extracting for netpbm-9.24 > >> Checksum mismatch for netpbm-9.24.tgz. > Make sure the Makefile and distinfo file > (/usr/ports/graphics/netpbm/distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=yes [other args]". > *** Error code 1 [skip] AFAIK portstree now containes tgif-4.1.42 and netpbm-9.25_1, try to resup ports and rebuild tgif/netpbm. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 9:59:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from c000.snv.cp.net (h001.c000.snv.cp.net [209.228.32.65]) by hub.freebsd.org (Postfix) with SMTP id 976D737B48B for ; Tue, 18 Jun 2002 09:59:23 -0700 (PDT) Received: (cpmta 3402 invoked from network); 18 Jun 2002 09:59:22 -0700 Received: from 63.114.153.104 (HELO wooten.com) by smtp.wooten.com (209.228.32.65) with SMTP; 18 Jun 2002 09:59:22 -0700 X-Sent: 18 Jun 2002 16:59:22 GMT Message-ID: <3D0F66EA.1000003@wooten.com> Date: Tue, 18 Jun 2002 09:59:22 -0700 From: "Kevin D. Wooten" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Retrieving interface MAC address Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG How can I go about retrieving the MAC address for an interface? Since SIOCGHWADDR doesn't seem to be implemented. Can anyone help?? Thanks, Kevin Wooten To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 10: 2:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id B732437B400 for ; Tue, 18 Jun 2002 10:02:43 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.3/8.12.3) with SMTP id g5IH22b5030676; Tue, 18 Jun 2002 13:02:02 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 18 Jun 2002 13:02:01 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Kevin D. Wooten" Cc: freebsd-hackers@freebsd.org Subject: Re: Retrieving interface MAC address In-Reply-To: <3D0F66EA.1000003@wooten.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I tend to retrieve address information about interfaces using getifaddrs(), which will (among other things) retrieve the link layer addresses of an interface. It might be overkill for your application, however. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Tue, 18 Jun 2002, Kevin D. Wooten wrote: > How can I go about retrieving the MAC address for an interface? Since > SIOCGHWADDR doesn't seem to be implemented. Can anyone help?? > > Thanks, > Kevin Wooten > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 10:50:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spc.com (balsrv01.bal-flower.co.jp [210.172.103.34]) by hub.freebsd.org (Postfix) with SMTP id 8237037B401; Tue, 18 Jun 2002 10:50:08 -0700 (PDT) Received: from 30.149.144.80 ([30.149.144.80]) by anther.webhostingtotalk.com with local; 18 Jun 0102 23:59:16 -0400 Received: from unknown (147.120.190.31) by mailout2-eri1.midmouth.com with local; Tue, 18 Jun 0102 19:49:09 -0200 Reply-To: Message-ID: <025c60c78c2e$6557c7a4$0ca44de7@jvomkr> From: To: Septic@FreeBSD.ORG, Tank@FreeBSD.ORG, Owner@FreeBSD.ORG Subject: Septic Tank Information 3572Uzd-7 Date: Tue, 18 Jun 0102 20:44:45 -0300 MiME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00D3_31D76A2E.A0376D28" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ------=_NextPart_000_00D3_31D76A2E.A0376D28 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 SWYgeW91ciBob21lIGlzIHNlcnZlZCBieSBhIHNlcHRpYyBzeXN0ZW0sIHlv dSBhcmUNCmFibGUgdG8gcmVjZWl2ZSBpbnZhbHVhYmxlIGluZm9ybWF0aW9u IG9uIGhvdyB0bw0KZWxpbWluYXRlIHB1bXAgb3V0cywgaG93IHRvIG1haW50 YWluIHRoZSBzeXN0ZW0NCnByb3Blcmx5IGFuZCBjdXJlIHByb2JsZW1zIHN1 Y2ggYXMgYmFja3Vwcywgd2V0IHNwb3RzLA0Kb2RvciwgZXRjLiAtLSAgRk9S IEZSRUUhDQoNCllvdSBjYW4gZG8gdGhpcyBieSBjaGVja2luZyBvdXQgb3Vy IHNpdGUgYXQ6IA0KDQpodHRwOi8vd3d3LmJpenByby5idWxrcmVsYXlzLmNv bS8NCg0KSW4gYWRkaXRpb24sIHlvdSB3aWxsIGhhdmUgdGhlIG9wcG9ydHVu aXR5IHRvDQpwYXJ0aWNpcGF0ZSBpbiBhIGZyZWUgdHJpYWwgcHJvZ3JhbSB0 byB0ZXN0IHRoZQ0KZWZmZWN0aXZlbmVzcyBvZiBvdXIgcHJvZHVjdCwgSU4g WU9VUiBPV04gU1lTVEVNLiANCg0KUGxlYXNlIGNoZWNrIHVzIG91dC4NCg0K VGhhbmsgeW91Lg0KDQpTaW5jZXJlbHksDQoNClNQQw0KDQpQLlMuIFJlbWVt YmVyLCB5b3UgbXVzdCBjbGljayBvbiB0aGlzIGxpbmsgdG8gcmVjZWl2ZQ0K dGhpcyBoZWxwZnVsIGluZm9ybWF0aW9uIQ0KDQpodHRwOi8vd3d3LmJpenBy by5idWxrcmVsYXlzLmNvbS8NCg0KDQoNClRvIGJlIHJlbW92ZWQgZnJvbSBv dXIgZW1haWwgbGlzdCBwbGVhc2UgY2xpY2sgb24gdGhlIGxpbmsgYmVsb3cu DQpodHRwOi8vd3d3LmJpenByby5idWxrcmVsYXlzLmNvbS9yZW1vdmUuaHRt bA0KMDI3MnhhSHgzLTcwM3ZrdFE2M2wxOA== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 11:39: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from c000.snv.cp.net (h001.c000.snv.cp.net [209.228.32.65]) by hub.freebsd.org (Postfix) with SMTP id A33A537B427 for ; Tue, 18 Jun 2002 11:38:07 -0700 (PDT) Received: (cpmta 18772 invoked from network); 18 Jun 2002 11:38:06 -0700 Received: from 63.114.153.104 (HELO wooten.com) by smtp.wooten.com (209.228.32.65) with SMTP; 18 Jun 2002 11:38:06 -0700 X-Sent: 18 Jun 2002 18:38:06 GMT Message-ID: <3D0F7E0D.2050402@wooten.com> Date: Tue, 18 Jun 2002 11:38:05 -0700 From: "Kevin D. Wooten" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers Subject: Wide Character Support Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to figure out what wide character support is available for FreeBSD; I am in need of the i/o routines (i.e. swprintf). If they are not available standard ( which they dont appear to be ) is there a patch or a library that can provide this support?? Thank You! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 11:39:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web21102.mail.yahoo.com (web21102.mail.yahoo.com [216.136.227.104]) by hub.freebsd.org (Postfix) with SMTP id AD4FC37B428 for ; Tue, 18 Jun 2002 11:38:12 -0700 (PDT) Message-ID: <20020618183743.37218.qmail@web21102.mail.yahoo.com> Received: from [62.254.0.5] by web21102.mail.yahoo.com via HTTP; Tue, 18 Jun 2002 11:37:42 PDT Date: Tue, 18 Jun 2002 11:37:42 -0700 (PDT) From: Hiten Pandya Reply-To: hiten@uk.FreeBSD.org Subject: Re: The problem with FreeBSD To: Bill Flamerola , hackers@freebsd.org Cc: chat@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Bill Flamerola wrote: > I'm talking to you, fucking Hiten Pandya, damned asshole. And I'm talking > to you, stupid Alfred Perlstein. Alfred is an interesting person. He seems I know this address of yours is shit, but I know you read this list. I think you are making nice fun out of your fucking self; I think you should go and screw yourself in a big tub of water. If you are so inclined on judging people, please do so that with people who are stupid enough to listen to you. > Matthew Dillon is one of the few hackers worth his salt, what does he get > in return? A 5 day commit bit suspension. Matt, please, join NetBSD, they > need help in the SMP code, and leave all these hypocrites alone. Get your facts right! > David O'Brien -> good hacker but a total asshole > Dag-Erling Smorgrav -> a total asshole > Alfred Perlstein -> drunktard and hypocrite > Bill Fumerola -> The überasshole, FUCK FUMEROLA!!!! > Kris Kennaway -> Hyprocrite > Hiten Pandya -> an IMBECILE, grow up fucking moron I think you are the IMBECILE MORON! I think you should be the one who should apologise to all the people you have just said bad things about. -- Hiten Pandya -- hiten@xMach.org, hiten@uk.FreeBSD.org __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 11:45:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from proxy.centtech.com (moat.centtech.com [206.196.95.10]) by hub.freebsd.org (Postfix) with ESMTP id D24BA37B401; Tue, 18 Jun 2002 11:45:37 -0700 (PDT) Received: from sprint.centtech.com (sprint.centtech.com [10.177.173.31]) by proxy.centtech.com (8.11.6/8.11.6) with ESMTP id g5IIjY102741; Tue, 18 Jun 2002 13:45:34 -0500 (CDT) Received: (from root@localhost) by sprint.centtech.com (8.11.6+Sun/8.11.6) id g5IIjYj18970; Tue, 18 Jun 2002 13:45:34 -0500 (CDT) Received: from centtech.com (proton [10.177.173.77]) by sprint.centtech.com (8.11.6+Sun/8.11.6) with ESMTP id g5IIjV618963; Tue, 18 Jun 2002 13:45:31 -0500 (CDT) Message-ID: <3D0F7FCB.4117B704@centtech.com> Date: Tue, 18 Jun 2002 13:45:31 -0500 From: Eric Anderson X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: hiten@uk.freebsd.org Cc: Bill Flamerola , hackers@freebsd.org, chat@freebsd.org Subject: Re: The problem with FreeBSD References: <20020618183743.37218.qmail@web21102.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lets stop the thread now please. Hiten Pandya wrote: > > --- Bill Flamerola wrote: > > I'm talking to you, fucking Hiten Pandya, damned asshole. And I'm talking > > to you, stupid Alfred Perlstein. Alfred is an interesting person. He seems > > I know this address of yours is shit, but I know you read this list. > > I think you are making nice fun out of your fucking self; I think you should > go and screw yourself in a big tub of water. If you are so inclined on > judging people, please do so that with people who are stupid enough to listen > to you. > > > Matthew Dillon is one of the few hackers worth his salt, what does he get > > in return? A 5 day commit bit suspension. Matt, please, join NetBSD, they > > need help in the SMP code, and leave all these hypocrites alone. > > Get your facts right! > > > David O'Brien -> good hacker but a total asshole > > Dag-Erling Smorgrav -> a total asshole > > Alfred Perlstein -> drunktard and hypocrite > > Bill Fumerola -> The überasshole, FUCK FUMEROLA!!!! > > Kris Kennaway -> Hyprocrite > > > Hiten Pandya -> an IMBECILE, grow up fucking moron > > I think you are the IMBECILE MORON! I think you should be the one who > should apologise to all the people you have just said bad things about. > > -- Hiten Pandya > -- hiten@xMach.org, hiten@uk.FreeBSD.org > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-chat" in the body of the message -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology Torque, it makes the world go 'round. ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 12:18:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 3BE1037B400; Tue, 18 Jun 2002 12:18:38 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXX007PG1N1IV@mtaout03.icomcast.net>; Tue, 18 Jun 2002 15:18:37 -0400 (EDT) Date: Tue, 18 Jun 2002 14:18:37 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: The problem with FreeBSD In-reply-to: <20020618155328.GA12139@elvis.mu.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Alfred Perlstein Cc: hackers@freebsd.org, chat@freebsd.org Message-id: <20020618141343.K11808-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Alfred Perlstein wrote: >All I really have to say about the matter is that nothing says "lack of >genitalia" like an anonymous hotmail account. :) You have a way with words there, Alfred. To add insult to injury nothing says "lack of grey matter" like: "X-Originating-IP: [195.235.247.100]" [bandix@dallben ~]% whois 195.235.247.100 [snip] % This is the RIPE Whois server. % The objects are in RPSL format. % Please visit http://www.ripe.net/rpsl for more information. % Rights restricted by copyright. % See http://www.ripe.net/ripencc/pub-services/db/copyright.html inetnum: 195.235.247.96 - 195.235.247.111 netname: ALFONSOXELSABIO descr: Universidad Alfonso X El Sabio descr: Internet Public Addresses country: ES admin-c: RM5475-RIPE tech-c: RM5475-RIPE status: ASSIGNED PA mnt-by: MAINT-AS3352 changed: maria.lozanobarragan@telefonica-data.com 20010924 source: RIPE route: 195.235.0.0/16 descr: Telefonica Data Espan~a origin: AS3352 mnt-by: MAINT-AS3352 mnt-routes: MAINT-AS3352 mnt-lower: MAINT-AS3352 changed: administracion.ripe@telefonica-data.com 20010308 changed: administracion.ripe@telefonica-data.com 20020118 changed: administracion.ripe@telefonica-data.com 20020313 source: RIPE person: Raul Morata address: Universidad Alfonso X El Sabio address: Universidad, 1 address: Villanueva de la Canada 28691 (Madrid) address: SPAIN phone: +34 91 8105000 nic-hdl: RM5475-RIPE mnt-by: MAINT-AS3352 changed: olga.luna@telefonica-data.com 19991207 source: RIPE Anyone know who this might be? Probably wouldn't hurt for postmaster@FreeBSD.ORG to draft a polite email asking the admin on the other end of this pipe to LART his lame user. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 12:49:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lariat.org (lariat.org [63.229.157.2]) by hub.freebsd.org (Postfix) with ESMTP id 8579C37B407; Tue, 18 Jun 2002 12:49:07 -0700 (PDT) Received: from mustang.lariat.org (IDENT:ppp0.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id NAA04058; Tue, 18 Jun 2002 13:48:49 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20020618134059.00e05bf0@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 18 Jun 2002 13:48:44 -0600 To: "Bill Flamerola" , hackers@FreeBSD.ORG From: Brett Glass Subject: Re: The problem with FreeBSD Cc: chat@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 02:39 AM 6/18/2002, Bill Flamerola wrote: >Okay, this is not really intended as a flame, but kinda necessary, given the current situation in the FreeBSD camp. > >Let's see, some weeks ago a couple of people dropped their ports maintainership, why did this happen? Sergey dropped his ports because David O'Brien is an asshole. Yes, no news, we all know that. Asmodai resigned some days ago, why? Because fucking Bill Fumerola is a royal asshole. Has fucking Bill Fumerola ever done any worthwhile work for FreeBSD? NO. He prefers to spend his time flaming other people. FUCK YOU FUMEROLA! You actually make some good points about the nastiness of some people in the FreeBSD community. Alas, you discredit yourself by posting pseudonymously and by doing a great deal of flaming yourself. --Brett Glass To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13: 1:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gateway.wadham.ox.ac.uk (gateway.wadham.ox.ac.uk [163.1.161.253]) by hub.freebsd.org (Postfix) with SMTP id 661EB37B404 for ; Tue, 18 Jun 2002 13:01:50 -0700 (PDT) Received: (qmail 32331 invoked by uid 74); 18 Jun 2002 20:01:47 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.12 (sweep: 2.10/3.57. . Clear:. Processed in 1.433098 secs); 18 Jun 2002 20:01:48 -0000 Received: from dhcp1125.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.125) by gateway.wadham.ox.ac.uk with SMTP; 18 Jun 2002 20:01:46 -0000 X-Info-RBL1: ox.ac.uk filters email against various lists. X-Info-RBL2: If your replies bounce, try sending them to cperciva@sfu.ca Message-Id: <5.0.2.1.1.20020618205035.075884f0@popserver.sfu.ca> X-Sender: cperciva@popserver.sfu.ca X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Tue, 18 Jun 2002 21:01:43 +0100 To: chat@freebsd.org, hackers@freebsd.org From: Colin Percival Subject: Re: The problem with FreeBSD In-Reply-To: <4.3.2.7.2.20020618134059.00e05bf0@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 13:48 18/06/2002 -0600, Brett Glass wrote: >At 02:39 AM 6/18/2002, Bill Flamerola wrote: > >[snip] > >You actually make some good points about the nastiness of some people >in the FreeBSD community. I don't understand this. Where does all this nastiness happen? Maybe it's on -core. I don't read that. But in the year or so that I've been reading -security, -stable, and -hackers, I haven't seen any nastiness. I've seen people who disagree with each other, and I've seen people get annoyed when the same issues are brought up over and over again, but I really haven't seen anything which I'd call *nasty*. Can't we all be a bit more tolerant and get along with each other? Colin Percival To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13: 8:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id D93E937B40D; Tue, 18 Jun 2002 13:08:48 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXX007AJ3YNIV@mtaout03.icomcast.net>; Tue, 18 Jun 2002 16:08:48 -0400 (EDT) Date: Tue, 18 Jun 2002 15:08:47 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: The problem with FreeBSD In-reply-to: <4.3.2.7.2.20020618134059.00e05bf0@localhost> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Brett Glass Cc: Bill Flamerola , hackers@FreeBSD.ORG, chat@FreeBSD.ORG Message-id: <20020618145405.C11808-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Brett Glass wrote: >You actually make some good points about the nastiness of some people >in the FreeBSD community. Alas, you discredit yourself by posting >pseudonymously and by doing a great deal of flaming yourself. Perhaps you should qualify your definition of "good points". I saw no evidence behind any accusations made. I saw ad hominem attacks calling FreeBSD developers assholes and drunkards. Any points made by the author were merely begging the question. He gave no evidence that any of the attitudes of the people he mentioned were in some way detrimental to the project, he merely asserts that this must be true. He is also committing the sin of a /post hoc ergo propter hoc/ argument. The attitudes of a few developers within the FreeBSD community, if they are indeed causing a problem, may not be in any way related to the effects the poster was trying to justify cause for. Argument without substance is not argument at all. It's wasted breath and/or keystrokes. Brett, I've been reading your postings long enough to know you're an argumentative sort and also that your mien seems to be self-perpetuating because people now approach you as if to have an argument. Please understand I am not trying to argue with you. I am pointing out fallacies in someone else's opinions which I think you may have overlooked. I wish neither to defend the developers attacked by the poster nor defend the poster himself. Replies challenging me to do so will be directed to /dev/null. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13:15:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from darius.2y.net (korpen-86-208.ip-pluggen.com [212.181.86.208]) by hub.freebsd.org (Postfix) with ESMTP id 05B4937B413; Tue, 18 Jun 2002 13:15:12 -0700 (PDT) Received: by darius.2y.net (Postfix, from userid 1001) id DCE601C1A; Tue, 18 Jun 2002 22:15:00 +0200 (CEST) Date: Tue, 18 Jun 2002 22:15:00 +0200 From: Morsal Rodbay To: "Chad Leigh -- Shire. Net LLC" Cc: FreeBSD Questions , FreeBSD Hackers Subject: Re: Does FreeBSD have a problem with some AMD processors? Message-ID: <20020618221500.A62776@darius.2y.net> Reply-To: Morsal Rodbay References: <20020531023132.A36723@darius.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from chad@shire.net on Thu, May 30, 2002 at 08:38:23PM -0400 X-Operating-System: FreeBSD 4.5 [up 3:27] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 30, 2002 at 08:38:23PM -0400, Chad Leigh -- Shire. Net LLC wrote: > > On Thursday, May 30, 2002, at 08:31 , Morsal Rodbay wrote: > > > I recenetly bought an Athlon XP 1800+... and it turned out that it > > wouldnt > > run XFree. Everything worked well besides X. Since a workstation > > without X > > is useless I was forced to switch to WinXP and it's very stable so > > there is > > nothing wrong with the hardware which means it's a FreeBSD issue. > > Not necesarily. What video card did you have. Is it on the supported > list for xfree? Is it on the well supported list or the > take-your-chances list? Was your kernel and or xfree compiled with AMD > optimizations turned on in gcc? Lots of questions can be asked. GeForce 2 MX 200 CPU_TYPE = k7 > I have some servers running Athlon XP 1800+ processors and the kernel > was compiled with -march=k6 since I specified a k7 processor in the > make.conf. The machines would hang every few days. Once I recompiled > the kernel with no -march flag (just straight x86) I have not had a > problem (so far, knock on wood). I do not know where it was hanging up, > since the machines are 4000km away from me right now, but they have not > had a problem since I did that -- maybe you have a similar issue? Thanks for the tip, I'll try it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13:18: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from darius.2y.net (korpen-86-208.ip-pluggen.com [212.181.86.208]) by hub.freebsd.org (Postfix) with ESMTP id 4642637B40D; Tue, 18 Jun 2002 13:17:58 -0700 (PDT) Received: by darius.2y.net (Postfix, from userid 1001) id 338511C1A; Tue, 18 Jun 2002 22:17:57 +0200 (CEST) Date: Tue, 18 Jun 2002 22:17:57 +0200 From: Morsal Rodbay To: Jordan K Hubbard Cc: C J Michaels , Greg Lehey , FreeBSD Questions , FreeBSD Hackers Subject: Re: Does FreeBSD have a problem with some AMD processors? Message-ID: <20020618221756.C62776@darius.2y.net> Reply-To: Morsal Rodbay References: <20020531023132.A36723@darius.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jkh@queasyweasel.com on Thu, May 30, 2002 at 05:53:07PM -0700 X-Operating-System: FreeBSD 4.5 [up 3:27] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone mentioned this MTRR problem earlier, I even tried a patch but it was unsuccessful. I think I'll make a new try with FreeBSD 4.6, maybe things will be more successful then. On Thu, May 30, 2002 at 05:53:07PM -0700, Jordan K Hubbard wrote: > I'll bet you wouldn't have any trouble running -stable on it. There was a > problem with MTRR support which still needs a little fixing in order to > shut down properly but that's nowhere near as bad as X not running. Fix > should be in FreeBSD 4.6 as well. > > - Jordan > > > On Thursday, May 30, 2002, at 17:31 US/Pacific, Morsal Rodbay wrote: > > > I recenetly bought an Athlon XP 1800+... and it turned out that it wouldnt > > run XFree. Everything worked well besides X. Since a workstation without X > > is useless I was forced to switch to WinXP and it's very stable so there is > > nothing wrong with the hardware which means it's a FreeBSD issue. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13:21:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from darius.2y.net (korpen-86-208.ip-pluggen.com [212.181.86.208]) by hub.freebsd.org (Postfix) with ESMTP id F1B2137B403; Tue, 18 Jun 2002 13:21:35 -0700 (PDT) Received: by darius.2y.net (Postfix, from userid 1001) id 3692E1C1A; Tue, 18 Jun 2002 22:21:32 +0200 (CEST) Date: Tue, 18 Jun 2002 22:21:31 +0200 From: Morsal Rodbay To: Scott Cc: FreeBSD Questions , FreeBSD Hackers Subject: Re: Does FreeBSD have a problem with some AMD processors? Message-ID: <20020618222131.D62776@darius.2y.net> Reply-To: Morsal Rodbay References: <20020531023132.A36723@darius.2y.net> <20011228181009.F95692@monorchid.lemis.com> <20020531023132.A36723@darius.2y.net> <20020531102630.A61701@wantadilla.lemis.com> <5.1.0.14.0.20020530211434.00c5fb68@pop-server.nyc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.1.0.14.0.20020530211434.00c5fb68@pop-server.nyc.rr.com>; from scottro@nyc.rr.com on Thu, May 30, 2002 at 09:16:25PM -0400 X-Operating-System: FreeBSD 4.5 [up 3:27] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 30, 2002 at 09:16:25PM -0400, Scott wrote: > At 10:26 2002/05/31 +0930, Greg 'groggy' Lehey wrote: > >On Friday, 31 May 2002 at 2:31:32 +0200, Morsal Rodbay wrote: > > > I recenetly bought an Athlon XP 1800+... and it turned out that it wouldnt > > > run XFree. Everything worked well besides X. Since a workstation without X > > > is useless I was forced to switch to WinXP and it's very stable so there is > > > nothing wrong with the hardware which means it's a FreeBSD issue. > > Out of curiosity, is it an ASUS MB? There was a problem with some ASUS > boards and X, which has been fixed--that is, if you do a cvsup, make world > and recompile the kernel, X will work. Yes, Asus A7V333.. was this fix added to the stable tree? > If that was the problem well, then you could say the problem ~was~ with > FreeBSD, but--it's been fixed. :) I hope so. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13:42: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from c000.snv.cp.net (h001.c000.snv.cp.net [209.228.32.65]) by hub.freebsd.org (Postfix) with SMTP id 5228F37B411 for ; Tue, 18 Jun 2002 13:41:03 -0700 (PDT) Received: (cpmta 14384 invoked from network); 18 Jun 2002 13:41:02 -0700 Received: from 63.114.153.104 (HELO wooten.com) by smtp.wooten.com (209.228.32.65) with SMTP; 18 Jun 2002 13:41:02 -0700 X-Sent: 18 Jun 2002 20:41:02 GMT Message-ID: <3D0F9ADE.8070103@wooten.com> Date: Tue, 18 Jun 2002 13:41:02 -0700 From: "Kevin D. Wooten" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson Cc: freebsd-hackers@freebsd.org Subject: Re: Retrieving interface MAC address References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson wrote: >I tend to retrieve address information about interfaces using >getifaddrs(), which will (among other things) retrieve the link layer >addresses of an interface. It might be overkill for your application, >however. > >Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >robert@fledge.watson.org Network Associates Laboratories > >On Tue, 18 Jun 2002, Kevin D. Wooten wrote: > > > >>How can I go about retrieving the MAC address for an interface? Since >>SIOCGHWADDR doesn't seem to be implemented. Can anyone help?? >> >>Thanks, >>Kevin Wooten >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-hackers" in the body of the message >> >> >> > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > > > > Thanks getifaddrs() works great, just one more thing is there a simple way to tell the difference between "real" interfaces and virtual ones? I could obviously exclude the easy ones ( i.e. lo, lp, faith, ... ) by looking at the name, but I am not sure how many different virtual interfaces there are ( or will be ). Thanks Again, Kevin Wooten To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 13:54:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 8ABCD37B404; Tue, 18 Jun 2002 13:54:05 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g5IKruU95146; Tue, 18 Jun 2002 14:53:56 -0600 (MDT) (envelope-from ken) Date: Tue, 18 Jun 2002 14:53:56 -0600 From: "Kenneth D. Merry" To: "Kevin D. Wooten" Cc: Robert Watson , freebsd-hackers@FreeBSD.ORG Subject: Re: Retrieving interface MAC address Message-ID: <20020618145356.A95073@panzer.kdm.org> References: <3D0F9ADE.8070103@wooten.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D0F9ADE.8070103@wooten.com>; from kevin@wooten.com on Tue, Jun 18, 2002 at 01:41:02PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 13:41:02 -0700, Kevin D. Wooten wrote: > Robert Watson wrote: > >I tend to retrieve address information about interfaces using > >getifaddrs(), which will (among other things) retrieve the link layer > >addresses of an interface. It might be overkill for your application, > >however. > > > >Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > >robert@fledge.watson.org Network Associates Laboratories > > > >On Tue, 18 Jun 2002, Kevin D. Wooten wrote: > > > > > > > >>How can I go about retrieving the MAC address for an interface? Since > >>SIOCGHWADDR doesn't seem to be implemented. Can anyone help?? > >> > >>Thanks, > >>Kevin Wooten > >> > >> > Thanks getifaddrs() works great, just one more thing is there a simple > way to tell the difference between "real" interfaces and virtual ones? I > could obviously exclude the easy ones ( i.e. lo, lp, faith, ... ) by > looking at the name, but I am not sure how many different virtual > interfaces there are ( or will be ). You could cross-reference the interfaces returned by getifaddrs() with the list of PCI devices from the PCIOCGETCONF ioctl. (see pci(4)) It would only work for PCI NICs, but would be better than nothing. There are probably other ways to do it as well. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 14:49:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from darius.2y.net (korpen-86-208.ip-pluggen.com [212.181.86.208]) by hub.freebsd.org (Postfix) with ESMTP id 700CC37B40E; Tue, 18 Jun 2002 14:49:49 -0700 (PDT) Received: by darius.2y.net (Postfix, from userid 1001) id 957EF1C1A; Tue, 18 Jun 2002 23:49:48 +0200 (CEST) Date: Tue, 18 Jun 2002 23:49:48 +0200 From: Morsal Rodbay To: Scott Robbins Cc: Jordan K Hubbard , C J Michaels , Greg Lehey , FreeBSD Questions , FreeBSD Hackers Subject: Re: Does FreeBSD have a problem with some AMD processors? Message-ID: <20020618234948.T87052@darius.2y.net> Reply-To: Morsal Rodbay References: <20020531023132.A36723@darius.2y.net> <20020618221756.C62776@darius.2y.net> <20020618172438.B700@scott1.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020618172438.B700@scott1.homeunix.net>; from scottro@nyc.rr.com on Tue, Jun 18, 2002 at 05:24:38PM -0400 X-Operating-System: FreeBSD 4.5 [up 5:01] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 05:24:38PM -0400, Scott Robbins wrote: > On Tue, Jun 18, 2002 at 10:17:57PM +0200, Morsal Rodbay wrote: > > Someone mentioned this MTRR problem earlier, I even tried a patch but it was > > unsuccessful. I think I'll make a new try with FreeBSD 4.6, maybe things > > will be more successful then. > > The particular problem seems to be with some (not all) ASUS > boards. I had the problem and it has been fixed with 4.6 Glad to hear that, going to install 4.6 soon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 14:54:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 5F2BE37B40A for ; Tue, 18 Jun 2002 14:54:18 -0700 (PDT) Received: from hades.hell.gr (patr530-a231.otenet.gr [212.205.215.231]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5ILsBuJ020558; Wed, 19 Jun 2002 00:54:12 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5ILsADS010889; Wed, 19 Jun 2002 00:54:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5ILoIZC010849; Wed, 19 Jun 2002 00:50:18 +0300 (EEST) X-Authentication-Warning: hades.hell.gr: charon set sender to keramida@ceid.upatras.gr using -f Date: Wed, 19 Jun 2002 00:50:18 +0300 From: Giorgos Keramidas To: Mike Silbersack Cc: Lucky Green , freebsd-hackers@FreeBSD.ORG Subject: Re: LINT CPU features table Message-ID: <20020618215018.GD10528@hades.hell.gr> References: <002d01c21573$d692ea50$0100a8c0@LUCKYVAIO> <20020616223526.B13544-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020616223526.B13544-100000@patrocles.silby.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-16 22:38 -0500, Mike Silbersack wrote: > On Sun, 16 Jun 2002, Lucky Green wrote: > > If only a few CPU's would benefit from the CPU-specific options, > > creating a table of CPU options for those few CPU's should be all the > > simpler. What I am I missing? > > IMHO, the performance benefits are so small, that it's best to not even > concern people with making cpu-specific kernels. > > CPU-specific compiler options might actually make a difference, but those > tend to create kernels that crash. Or do not work flawlessly across hardware upgrades. I have an installation here at home that has gone through many hardware upgrades (motherboard, cpu, or other vital parts) and has worked like a charm, compiling worlds since 3.2-RELEASE from source. Having a userland or kernel that is 486-specific would have been a major PITA when I changed the cpu to a Pentium, with a new PITA waiting at the next corner, when I switched to a Celeron, etc. I feel that it's very nice that "uname -p" and "uname -m" still print "i386" in their output :-] - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 16:18:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 36F0E37B406 for ; Tue, 18 Jun 2002 16:18:11 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g5INGQIj035671 for ; Wed, 19 Jun 2002 01:16:26 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: hackers@freebsd.org Subject: 8" floppy drive anyone ? From: Poul-Henning Kamp Date: Wed, 19 Jun 2002 01:16:26 +0200 Message-ID: <35670.1024442186@critter.freebsd.dk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a bunch of 8" floppies I need to try to recover contents from, is there anybody out there who has a 8" drive they'd be willing to part with for $$ ? If it comes with the magic SA800-PC cable it would be just perfect. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 17: 0:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 9513B37B401; Tue, 18 Jun 2002 17:00:16 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020619000016.LBVZ2751.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 19 Jun 2002 00:00:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA21938; Tue, 18 Jun 2002 16:44:20 -0700 (PDT) Date: Tue, 18 Jun 2002 16:44:20 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: 8" floppy drive anyone ? In-Reply-To: <35670.1024442186@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hard or soft sectorred? what OS? what format? double or single sided? I have leads in AUS if that helps.. On Wed, 19 Jun 2002, Poul-Henning Kamp wrote: > > I have a bunch of 8" floppies I need to try to recover contents > from, is there anybody out there who has a 8" drive they'd be willing > to part with for $$ ? > > If it comes with the magic SA800-PC cable it would be just perfect. > > Poul-Henning > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 17: 4:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from malyn.eiomail.com (relay.trecorp.com [64.71.177.139]) by hub.freebsd.org (Postfix) with SMTP id 3554237B408 for ; Tue, 18 Jun 2002 17:04:03 -0700 (PDT) Message-ID: <774.2.1024445039934@malyn.eiomail.com> Date: Tue, 18 Jun 2002 17:03:59 -0700 From: Michael Alyn Miller Subject: jail with multiple IPs (patch) To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="774.2.1024445039934@malyn.eiomail.com" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --774.2.1024445039934@malyn.eiomail.com Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Hi, folks, I recently became interested in the jail code and have been very impressed with what I have seen so far. The one thing I found a bit surprising was the lack of support for multiple IP addresses in jail environments. I did some research into the issue, and I found the various posts discussing why this decision was made. While a ``true'' multiple IP address implementation (INADDR_ANY, loopback, etc.) may be rather involved, getting more than one IP address into the jailed environment might be much simpler. Here is my proposal: Rather than specifying a single IP address when constructing the jail, supply an IP address and netmask. The kernel can then use the IP address in conjunction with the netmask to determine what range of addresses are allowed in the jail without having to run through an actual list of addresses. This approach is similar to how ISPs assign CIDR blocks to their customers. It has various advantages and disadvantages over the method of providing a list of allowed addresses. I consider its primary advantage to be that it is extremely simple to implement (as can be seen by the attached diff) and does not affect jail's runtime performance. Granted, this method does not solve the INADDR_ANY and localhost issues, but any solution to that side of the jail puzzle is sure to be an invasive one. The attached diff is based on 4.6-RELEASE. To use it, build and install the jail binary and a new kernel. By default, this diff results in a jail binary that acts the same as before. Adding a ``/ne.tm.as.k'' to the jail call will allow the jail to allocate any of the IP addresses in the netmask. For example.. jail /home/jail myhost 10.20.30.8/255.255.255.248 /bin/sh ..would allow the jail to use all of the following addresses.. 10.20.30.8 10.20.30.9 10.20.30.10 10.20.30.11 10.20.30.12 10.20.30.13 10.20.30.14 10.20.30.15 INADDR_ANY and 127.0.0.1 still use the first address. I changed jail's version number (from 0 to 1) as this affects the syscall. I look forward to your comments, suggestions, criticisms, etc. Thank you for your time! Michael Alyn Miller ------------------------------- The best kept secret in e-mail. http://eioMAIL.com/ --774.2.1024445039934@malyn.eiomail.com Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="jail.diff" KioqIHN5cy9rZXJuL2tlcm5famFpbC5jLm9yaWcJVGh1IEF1ZyAxNiAxODowMDoyNiAyMDAxCi0t LSBzeXMva2Vybi9rZXJuX2phaWwuYwlUdWUgSnVuIDE4IDEzOjUyOjI3IDIwMDIKKioqKioqKioq KioqKioqCioqKiA2Miw2OCAqKioqCiAgCWVycm9yID0gY29weWluKHVhcC0+amFpbCwgJmosIHNp emVvZiBqKTsKICAJaWYgKGVycm9yKQogIAkJcmV0dXJuIChlcnJvcik7CiEgCWlmIChqLnZlcnNp b24gIT0gMCkKICAJCXJldHVybiAoRUlOVkFMKTsKICAJTUFMTE9DKHByLCBzdHJ1Y3QgcHJpc29u ICosIHNpemVvZiAqcHIgLCBNX1BSSVNPTiwgTV9XQUlUT0spOwogIAliemVybygoY2FkZHJfdClw ciwgc2l6ZW9mICpwcik7Ci0tLSA2Miw2OCAtLS0tCiAgCWVycm9yID0gY29weWluKHVhcC0+amFp bCwgJmosIHNpemVvZiBqKTsKICAJaWYgKGVycm9yKQogIAkJcmV0dXJuIChlcnJvcik7CiEgCWlm IChqLnZlcnNpb24gIT0gMSkKICAJCXJldHVybiAoRUlOVkFMKTsKICAJTUFMTE9DKHByLCBzdHJ1 Y3QgcHJpc29uICosIHNpemVvZiAqcHIgLCBNX1BSSVNPTiwgTV9XQUlUT0spOwogIAliemVybygo Y2FkZHJfdClwciwgc2l6ZW9mICpwcik7CioqKioqKioqKioqKioqKgoqKiogNzAsNzUgKioqKgot LS0gNzAsNzYgLS0tLQogIAlpZiAoZXJyb3IpIAogIAkJZ290byBiYWlsOwogIAlwci0+cHJfaXAg PSBqLmlwX251bWJlcjsKKyAJcHItPnByX21hc2sgPSBqLmlwX21hc2s7CiAgCiAgCWNhLnBhdGgg PSBqLnBhdGg7CiAgCWVycm9yID0gY2hyb290KHAsICZjYSk7CioqKioqKioqKioqKioqKgoqKiog MTExLDExNyAqKioqCiAgCQkJKmlwID0gaHRvbmwocC0+cF9wcmlzb24tPnByX2lwKTsKICAJCXJl dHVybiAoMCk7CiAgCX0KISAJaWYgKHAtPnBfcHJpc29uLT5wcl9pcCAhPSB0bXApCiAgCQlyZXR1 cm4gKDEpOwogIAlyZXR1cm4gKDApOwogIH0KLS0tIDExMiwxMTkgLS0tLQogIAkJCSppcCA9IGh0 b25sKHAtPnBfcHJpc29uLT5wcl9pcCk7CiAgCQlyZXR1cm4gKDApOwogIAl9CiEgCWlmICgocC0+ cF9wcmlzb24tPnByX21hc2sgJiBwLT5wX3ByaXNvbi0+cHJfaXApCiEgCQkJIT0gKHAtPnBfcHJp c29uLT5wcl9tYXNrICYgdG1wKSkKICAJCXJldHVybiAoMSk7CiAgCXJldHVybiAoMCk7CiAgfQoq Kiogc3lzL25ldGluZXQvaW5fcGNiLmMub3JpZwlXZWQgTWF5ICAxIDE5OjM2OjUwIDIwMDIKLS0t IHN5cy9uZXRpbmV0L2luX3BjYi5jCVR1ZSBKdW4gMTggMTM6NTI6MTUgMjAwMgoqKioqKioqKioq KioqKioKKioqIDEwMjgsMTAzNCAqKioqCiAgewogIAlpZiAoIXAtPnBfcHJpc29uKQogIAkJcmV0 dXJuICgwKTsKISAJaWYgKG50b2hsKGlucC0+aW5wX2xhZGRyLnNfYWRkcikgPT0gcC0+cF9wcmlz b24tPnByX2lwKQogIAkJcmV0dXJuICgwKTsKICAJcmV0dXJuICgxKTsKICB9Ci0tLSAxMDI4LDEw MzUgLS0tLQogIHsKICAJaWYgKCFwLT5wX3ByaXNvbikKICAJCXJldHVybiAoMCk7CiEgCWlmICgo cC0+cF9wcmlzb24tPnByX21hc2sgJiBudG9obChpbnAtPmlucF9sYWRkci5zX2FkZHIpKQohIAkJ CT09IChwLT5wX3ByaXNvbi0+cHJfbWFzayAmIHAtPnBfcHJpc29uLT5wcl9pcCkpCiAgCQlyZXR1 cm4gKDApOwogIAlyZXR1cm4gKDEpOwogIH0KKioqIHN5cy9zeXMvamFpbC5oLm9yaWcJV2VkIE5v diAgMSAwOTo1ODowNiAyMDAwCi0tLSBzeXMvc3lzL2phaWwuaAlUdWUgSnVuIDE4IDEzOjMzOjI4 IDIwMDIKKioqKioqKioqKioqKioqCioqKiAxOCwyMyAqKioqCi0tLSAxOCwyNCAtLS0tCiAgCWNo YXIJCSpwYXRoOwogIAljaGFyCQkqaG9zdG5hbWU7CiAgCXVfaW50MzJfdAlpcF9udW1iZXI7Cisg CXVfaW50MzJfdAlpcF9tYXNrOwogIH07CiAgCiAgI2lmbmRlZiBfS0VSTkVMCioqKioqKioqKioq KioqKgoqKiogNDAsNDUgKioqKgotLS0gNDEsNDcgLS0tLQogIAlpbnQJCXByX3JlZjsKICAJY2hh ciAJCXByX2hvc3RbTUFYSE9TVE5BTUVMRU5dOwogIAl1X2ludDMyX3QJcHJfaXA7CisgCXVfaW50 MzJfdAlwcl9tYXNrOwogIAl2b2lkCQkqcHJfbGludXg7CiAgfTsKICAKKioqIHVzci5zYmluL2ph aWwvamFpbC5jLm9yaWcJTW9uIEp1bCAzMCAwMzoxOTo1NCAyMDAxCi0tLSB1c3Iuc2Jpbi9qYWls L2phaWwuYwlUdWUgSnVuIDE4IDE0OjI4OjM2IDIwMDIKKioqKioqKioqKioqKioqCioqKiAyNCw0 MCAqKioqCiAgCXN0cnVjdCBqYWlsIGo7CiAgCWludCBpOwogIAlzdHJ1Y3QgaW5fYWRkciBpbjsK ICAKICAJaWYgKGFyZ2MgPCA1KSAKISAJCWVycngoMSwgIlVzYWdlOiAlcyBwYXRoIGhvc3RuYW1l IGlwLW51bWJlciBjb21tYW5kIC4uLlxuIiwKICAJCSAgICBhcmd2WzBdKTsKICAJaSA9IGNoZGly KGFyZ3ZbMV0pOwogIAlpZiAoaSkKICAJCWVycigxLCAiY2hkaXIgJXMiLCBhcmd2WzFdKTsKICAJ bWVtc2V0KCZqLCAwLCBzaXplb2YoaikpOwohIAlqLnZlcnNpb24gPSAwOwogIAlqLnBhdGggPSBh cmd2WzFdOwogIAlqLmhvc3RuYW1lID0gYXJndlsyXTsKICAJaSA9IGluZXRfYXRvbihhcmd2WzNd LCAmaW4pOwogIAlpZiAoIWkpCiAgCQllcnJ4KDEsICJDb3VsZG4ndCBtYWtlIHNlbnNlIG9mIGlw LW51bWJlclxuIik7Ci0tLSAyNCw1MSAtLS0tCiAgCXN0cnVjdCBqYWlsIGo7CiAgCWludCBpOwog IAlzdHJ1Y3QgaW5fYWRkciBpbjsKKyAJY2hhciAqcDsKICAKICAJaWYgKGFyZ2MgPCA1KSAKISAJ CWVycngoMSwgIlVzYWdlOiAlcyBwYXRoIGhvc3RuYW1lIGlwLW51bWJlclsvaXAtbWFza10gY29t bWFuZCAuLi5cbiIsCiAgCQkgICAgYXJndlswXSk7CiAgCWkgPSBjaGRpcihhcmd2WzFdKTsKICAJ aWYgKGkpCiAgCQllcnIoMSwgImNoZGlyICVzIiwgYXJndlsxXSk7CiAgCW1lbXNldCgmaiwgMCwg c2l6ZW9mKGopKTsKISAJai52ZXJzaW9uID0gMTsKICAJai5wYXRoID0gYXJndlsxXTsKICAJai5o b3N0bmFtZSA9IGFyZ3ZbMl07CisgCXAgPSBzdHJjaHIoYXJndlszXSwgJy8nKTsKKyAJaWYgKHAg IT0gTlVMTCkgeworIAkJaSA9IGluZXRfYXRvbihwICsgMSwgJmluKTsKKyAJCWlmICghaSkKKyAJ CQllcnJ4KDEsICJDb3VsZG4ndCBtYWtlIHNlbnNlIG9mIGlwLW1hc2tcbiIpOworIAkJai5pcF9t YXNrID0gbnRvaGwoaW4uc19hZGRyKTsKKyAJCSpwID0gJ1wwJzsKKyAJfSBlbHNlIHsKKyAJCWou aXBfbWFzayA9IDB4ZmZmZmZmZmY7CisgCX0KICAJaSA9IGluZXRfYXRvbihhcmd2WzNdLCAmaW4p OwogIAlpZiAoIWkpCiAgCQllcnJ4KDEsICJDb3VsZG4ndCBtYWtlIHNlbnNlIG9mIGlwLW51bWJl clxuIik7Cg== --774.2.1024445039934@malyn.eiomail.com-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 17:20:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by hub.freebsd.org (Postfix) with ESMTP id 12F8937B409 for ; Tue, 18 Jun 2002 17:20:09 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020619002008.QLJU20219.sccrmhc03.attbi.com@InterJet.elischer.org>; Wed, 19 Jun 2002 00:20:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA22049; Tue, 18 Jun 2002 17:13:14 -0700 (PDT) Date: Tue, 18 Jun 2002 17:13:12 -0700 (PDT) From: Julian Elischer To: Michael Alyn Miller Cc: freebsd-hackers@freebsd.org Subject: Re: jail with multiple IPs (patch) In-Reply-To: <774.2.1024445039934@malyn.eiomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Michael Alyn Miller wrote: > Hi, folks, [...] patch for multi addresses in jail. I apreciate that you have done this work, but I have a question.... "why would it be useful?" Do you have a need for it or is this an aesthetic issue? thanks Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 17:26:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from digitalfreaks.org (digitalfreaks.org [216.151.95.156]) by hub.freebsd.org (Postfix) with SMTP id 13CC037B400 for ; Tue, 18 Jun 2002 17:26:51 -0700 (PDT) Received: (qmail 66365 invoked by uid 1000); 19 Jun 2002 00:28:34 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Jun 2002 00:28:34 -0000 Date: Tue, 18 Jun 2002 20:28:34 -0400 (EDT) From: Chad Ziccardi To: Julian Elischer Cc: Michael Alyn Miller , Subject: Re: jail with multiple IPs (patch) In-Reply-To: Message-ID: <20020618202702.B40138-100000@digitalfreaks.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG begin quote from Julian Elischer written 2002-06-18: > > > On Tue, 18 Jun 2002, Michael Alyn Miller wrote: > > > Hi, folks, > [...] > patch for multi addresses in jail. > > I apreciate that you have done this work, but I have a question.... > "why would it be useful?" Do you have a need for it or is this > an aesthetic issue? If they are perhaps providing IP-based hosting services, and wanted them to all run within the jail? -- Chad Ziccardi, Professional Slacker cz@digitalfreaks.org "Some cause happiness wherever they go; others whenever they go." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 17:47:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web12802.mail.yahoo.com (web12802.mail.yahoo.com [216.136.174.37]) by hub.freebsd.org (Postfix) with SMTP id A9E5F37B407 for ; Tue, 18 Jun 2002 17:47:50 -0700 (PDT) Message-ID: <20020619004746.6558.qmail@web12802.mail.yahoo.com> Received: from [66.114.70.134] by web12802.mail.yahoo.com via HTTP; Tue, 18 Jun 2002 17:47:46 PDT Date: Tue, 18 Jun 2002 17:47:46 -0700 (PDT) From: Hans Zaunere Subject: Re: jail with multiple IPs (patch) To: Julian Elischer Cc: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Julian Elischer wrote: > On Tue, 18 Jun 2002, Michael Alyn Miller wrote: > > > Hi, folks, > [...] > patch for multi addresses in jail. > > I apreciate that you have done this work, but I have a question.... > "why would it be useful?" Do you have a need for it or is this > an aesthetic issue? I've asked my jail server provider numerous times for multiple IPs and he always said "next release". By the way, can anyone recommend a good jailed server provider that is cheap (I pay $5 a month - but up to $20-$40 is good). Thanks, Hans __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18: 4:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dilbert.robbins.dropbear.id.au (001.a.009.mel.iprimus.net.au [210.50.112.1]) by hub.freebsd.org (Postfix) with ESMTP id 7CCFA37B40E for ; Tue, 18 Jun 2002 18:04:14 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (tim@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g5J14BY2038348; Wed, 19 Jun 2002 11:04:11 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g5J12t8f038347; Wed, 19 Jun 2002 11:02:55 +1000 (EST) Date: Wed, 19 Jun 2002 11:02:54 +1000 From: Tim Robbins To: "Kevin D. Wooten" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Wide Character Support Message-ID: <20020619110254.A38295@dilbert.robbins.dropbear.id.au> References: <3D0F7E0D.2050402@wooten.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D0F7E0D.2050402@wooten.com>; from kevin@wooten.com on Tue, Jun 18, 2002 at 11:38:05AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 11:38:05AM -0700, Kevin D. Wooten wrote: > I am trying to figure out what wide character support > is available for FreeBSD; I am in need of the i/o > routines (i.e. swprintf). If they are not available > standard ( which they dont appear to be ) is there a > patch or a library that can provide this support?? We do plan to support wide-character stdio in the (hopefully near) future. The alternatives are to use part or all of a different libc: GNU, NetBSD, etc. These links might be helpful: http://citrus.bsdclub.org/ http://citrus.bsdclub.org/xpg4dl/ (I don't think their FreeBSD stuff is up-to-date) Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18:42:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 2F78E37B40D; Tue, 18 Jun 2002 18:42:29 -0700 (PDT) Received: from pool0336.cvx22-bradley.dialup.earthlink.net ([209.179.199.81] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17KUUO-00003h-00; Tue, 18 Jun 2002 18:42:28 -0700 Message-ID: <3D0FE15E.A85C6B38@mindspring.com> Date: Tue, 18 Jun 2002 18:41:50 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: 8" floppy drive anyone ? References: <35670.1024442186@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > I have a bunch of 8" floppies I need to try to recover contents > from, is there anybody out there who has a 8" drive they'd be willing > to part with for $$ ? > > If it comes with the magic SA800-PC cable it would be just perfect. You might try contacting this guy: http://www.imsai.net/ He may or may not have it, but he certainly has contact who would. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18:49:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id CBF8F37B407; Tue, 18 Jun 2002 18:49:31 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 426E281430; Wed, 19 Jun 2002 11:19:29 +0930 (CST) Date: Wed, 19 Jun 2002 11:19:29 +0930 From: Greg 'groggy' Lehey To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: 8" floppy drive anyone ? Message-ID: <20020619014929.GA29978@wantadilla.lemis.com> References: <35670.1024442186@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35670.1024442186@critter.freebsd.dk> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday, 19 June 2002 at 1:16:26 +0200, Poul-Henning Kamp wrote: > > I have a bunch of 8" floppies I need to try to recover contents > from, is there anybody out there who has a 8" drive they'd be willing > to part with for $$ ? Sure, I have a pile of them (DSDD) somewhere. > If it comes with the magic SA800-PC cable it would be just perfect. What's that? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18:53:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outmail-1.st1.spray.net (outmail-1.st1.spray.net [212.78.202.120]) by hub.freebsd.org (Postfix) with ESMTP id 15BE637B409 for ; Tue, 18 Jun 2002 18:53:45 -0700 (PDT) Received: from lycos.co.uk (newwww-18.st1.spray.net [212.78.202.28]) by outmail-1.st1.spray.net (8.8.8/8.8.8) with SMTP id DAA17215; Wed, 19 Jun 2002 03:53:05 +0200 (DST) Posted-Date: Wed, 19 Jun 2002 03:53:05 +0200 (DST) From: lomana kabilla To: chad@monkeymafia.net Message-ID: <1024451586013000@lycos.co.uk> X-Mailer: Caramail - www.caramail.com X-Originating-IP: [213.251.169.58] Mime-Version: 1.0 Subject: urgent business assistance Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_0130001024451586_ID" Date: Tue, 18 Jun 2002 18:53:45 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Caramail_0130001024451586_ID Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ATT:REQUEST FOR URGENT BUSINESS ASSISTANCE Your contact was availed to me by the stroke of luck. It was given to me because of my diplomatic status as I did not disclose the actual reasons for which I sought your contact. But I was assured That you are reputable and trustworthy if you will be of assistance. I am Lomana nonda Kabila (Jnr) the son of Late President LAURENT DESIRE KABILA the immediate Past president of the DEMOCRATIC REPUBLIC OF CONGO in Africa who was murdered by his opposition through his personal bodyguards in his bedroom on Tuesday 16th January, 2001. I have the privilege of being mandated by my father colleagues to seek your immediate and urgent co-operation to receive and clear a consignment containingthe sum of US $16,500,000.00. (sixteen million, five hundred thousand Dollars)cash and some thousands carats of Diamond. This money and treasures was lodged in a vault, with a security firm in south africa and transported to europe. SOURCES OF DIAMONDS AND FUND In August 2000, my father as a defence minister and! president had a meeting with his cabinet and army chief about the defence budget for 2000 to 2001 which was aboutUS $70million dollars. so he directed one of his best friend. Frederic Kibasa Maliba who was a minister of mines and a political party leader known as the Union Sacree de, I opposition radicale et ses allies (USORAL) to buy arms with US about$20million on 5th January 2001; for him to finalized the arm's deal, my father was murdered.And today, only 16.5 million dollars of the total money can be accounted for. F.K. Maliba (FKM) and I have decided to keep the money with a foreigner since neither i or him can explain the origin of the funds and treasures.He intends using these funds to contest for political elections in the future. Inspite of all this we have resolved to present you or your company as beneficiary to the consignment(the above sum and diamonds). This transaction should be finalized within seven (7) working days, we have unanimously agreed that, for your co-operation you will be entitled to 25df930d1cercent of the money when successfully clear the consignment in europe,70 141205256ll be ours and 5 134501932ll be for any expenses we may run into during the course of this transaction. The nature of your business is not relevant to the successful execution of this transaction what we require is your total co-operation and commitment. In other to ensure a 100risk-free transaction at both ends and to protect the persons involved in this transaction, strict confidentiality and utmost secrecy is required even after the successful conclusion of this ransaction. If this proposal is acceptable to you, kindly reply me and provide me with your personal telephone and fax No through my E-mail for immediate commencement of the transaction. I count on you to keep my secret, SECRET.Looking forward for your urgent replyThanks. Best Regards lomana nonda kabilla ______________________________________________________ Make your opinions heard with IPSOS - http://www.iap-interactive.com/lycosu6 Free domain names - http://webcentre.lycos.co.uk --=_NextPart_Caramail_0130001024451586_ID-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18:56:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 0C17937B409; Tue, 18 Jun 2002 18:56:45 -0700 (PDT) Received: from dialup-63.214.196.92.dial1.philadelphia1.level3.net ([63.214.196.92] helo=sparky) by gull.mail.pas.earthlink.net with smtp (Exim 3.33 #2) id 17KUhv-000590-00; Tue, 18 Jun 2002 18:56:28 -0700 From: Jud To: Scott Robbins , Morsal Rodbay Cc: Jordan K Hubbard , C J Michaels , Greg Lehey , FreeBSD Questions , FreeBSD Hackers Date: Tue, 18 Jun 2002 21:56:50 -0400 X-Priority: 3 (Normal) In-Reply-To: <20020618234948.T87052@darius.2y.net> Message-Id: <32NH761WWUKJ0FB41VSMJ52KE31XU1T.3d0fe4e2@sparky> Subject: Re: Does FreeBSD have a problem with some AMD processors? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Mailer: Opera 6.04 build 1129 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 6/18/2002 5:49:48 PM, Morsal Rodbay wrote: >On Tue, Jun 18, 2002 at 05:24:38PM -0400, Scott Robbins wrote: >> On Tue, Jun 18, 2002 at 10:17:57PM +0200, Morsal Rodbay wrote: >> > Someone mentioned this MTRR problem earlier, I even tried a patch but it was >> > unsuccessful. I think I'll make a new try with FreeBSD 4.6, maybe things >> > will be more successful then. >> >> The particular problem seems to be with some (not all) ASUS >> boards. I had the problem and it has been fixed with 4.6 > >Glad to hear that, going to install 4.6 soon. I don't think it's to do with MTRR. From on and off-list correspondence with folks trying to get FreeBSD running on the A7V333 (on which I'm happily running 4-STABLE), it's Soeren Schmidt's ATA driver improvements which allow FreeBSD to work with the PDC20276 controller chip. These were committed after 4.5-RELEASE. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 18:57:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 6EF3637B401; Tue, 18 Jun 2002 18:57:08 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXX00JVEK37NE@mtaout04.icomcast.net>; Tue, 18 Jun 2002 21:57:07 -0400 (EDT) Date: Tue, 18 Jun 2002 20:57:07 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: 8" floppy drive anyone ? In-reply-to: <35670.1024442186@critter.freebsd.dk> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Poul-Henning Kamp Cc: hackers@freebsd.org Message-id: <20020618205221.I12752-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 19 Jun 2002, Poul-Henning Kamp wrote: >I have a bunch of 8" floppies I need to try to recover contents >from, is there anybody out there who has a 8" drive they'd be willing >to part with for $$ ? Got rid of anything this ancient years ago, but I'd suggest checking with the local university to see if they keep surplus electronics onhand. I know that my employer here in the states. Vanderbilt University, keeps a rather large warehouse of surplused electronics equipment because it's illegal for them to dispose of it in landfills and their waste disposal contractor would cancel their contract if they did. These types of facilities are a goldmine for finding old, obscure equipment. I've heard of numerous professors scrounging complete test apparatus out of that warehouse. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 20:42: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from c000.snv.cp.net (h002.c000.snv.cp.net [209.228.32.66]) by hub.freebsd.org (Postfix) with SMTP id E777D37B40D for ; Tue, 18 Jun 2002 20:41:58 -0700 (PDT) Received: (cpmta 25976 invoked from network); 18 Jun 2002 20:41:58 -0700 Received: from 209.228.32.74 (HELO mail.wooten.com.criticalpath.net) by smtp.wooten.com (209.228.32.66) with SMTP; 18 Jun 2002 20:41:58 -0700 X-Sent: 19 Jun 2002 03:41:58 GMT Received: from [24.56.2.20] by mail.wooten.com with HTTP; Tue, 18 Jun 2002 20:41:57 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 To: tjr@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG From: kevin@wooten.com Subject: Re: Wide Character Support X-Sent-From: kevin@wooten.com Date: Tue, 18 Jun 2002 20:41:57 -0700 (PDT) X-Mailer: Web Mail 5.0.10-14 Message-Id: <20020618204158.16137.h010.c000.wm@mail.wooten.com.criticalpath.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am very interested in contributing in this area. Maybe you could point me to a starting place or person; as I have never contributed to FBSD as of yet. On Wed, 19 June 2002, Tim Robbins wrote > > On Tue, Jun 18, 2002 at 11:38:05AM -0700, Kevin D. Wooten wrote: > > > I am trying to figure out what wide character support > > is available for FreeBSD; I am in need of the i/o > > routines (i.e. swprintf). If they are not available > > standard ( which they dont appear to be ) is there a > > patch or a library that can provide this support?? > > We do plan to support wide-character stdio in the (hopefully near) future. > The alternatives are to use part or all of a different libc: GNU, NetBSD, etc. > > These links might be helpful: > http://citrus.bsdclub.org/ > http://citrus.bsdclub.org/xpg4dl/ > > (I don't think their FreeBSD stuff is up-to-date) > > > Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 21:34:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dilbert.robbins.dropbear.id.au (001.a.009.mel.iprimus.net.au [210.50.112.1]) by hub.freebsd.org (Postfix) with ESMTP id E6C9637B408 for ; Tue, 18 Jun 2002 21:34:35 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (tim@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g5J4YKY2039490; Wed, 19 Jun 2002 14:34:24 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g5J4WrLG039482; Wed, 19 Jun 2002 14:32:53 +1000 (EST) Date: Wed, 19 Jun 2002 14:32:28 +1000 From: Tim Robbins To: kevin@wooten.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Wide Character Support Message-ID: <20020619143228.A39465@dilbert.robbins.dropbear.id.au> References: <20020618204158.16137.h010.c000.wm@mail.wooten.com.criticalpath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020618204158.16137.h010.c000.wm@mail.wooten.com.criticalpath.net>; from kevin@wooten.com on Tue, Jun 18, 2002 at 08:41:57PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 08:41:57PM -0700, kevin@wooten.com wrote: > I am very interested in contributing in this area. > Maybe you could point me to a starting place or person; > as I have never contributed to FBSD as of yet. dec and kbyanc (both @freebsd.org) are apparently working on this area. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 21:44: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 0FB5337B41D for ; Tue, 18 Jun 2002 21:43:54 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g5J4hqY42350; Tue, 18 Jun 2002 22:43:53 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g5J4hpG39683; Tue, 18 Jun 2002 22:43:51 -0600 (MDT) (envelope-from imp@village.org) Date: Tue, 18 Jun 2002 22:43:44 -0600 (MDT) Message-Id: <20020618.224344.21332593.imp@village.org> To: danny@cs.huji.ac.il Cc: hackers@FreeBSD.ORG Subject: Re: sbc/embedded FreeBSD friendly From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Danny Braniss writes: : for a lab course, we are looking for FreeBSD friendly boards, any suggestions : are welcome, We've had good luck with boards from Axiom, Teknor, Megatel, and Adastra running FreeBSD. The model numbers change with time, but the first two were in the short ISA format, while the latter two were in pc100, or variations thereof. In fact, we've found very few boards that have issues with FreeBSD. And none where the issues were promptly resolved by the vendor. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 22:35:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f96.pav1.hotmail.com [64.4.31.96]) by hub.freebsd.org (Postfix) with ESMTP id A2E7937B405 for ; Tue, 18 Jun 2002 22:35:09 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 18 Jun 2002 22:35:09 -0700 Received: from 12.229.156.134 by pv1fd.pav1.hotmail.msn.com with HTTP; Wed, 19 Jun 2002 05:35:09 GMT X-Originating-IP: [12.229.156.134] From: "Evan Dower" To: freebsd-hackers@freebsd.org Subject: I Volunteer Date: Tue, 18 Jun 2002 22:35:09 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jun 2002 05:35:09.0485 (UTC) FILETIME=[136425D0:01C21753] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't know who might have use of my services (or what my services might be for that matter), but I hereby offer them up. I'm a student at the University of Washington and I'll be applying to the Computer Science major in February. I'd like to get involved with the OS that is serving me so well. I'll do what I can to help with whatever. Just let me know if anyone needs a minion. I could use the experience. Thanks, Evan Dower PS: This Hotmail account has kept the spam out of my primary accounts for years. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 22:57:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id CFD9137B40C for ; Tue, 18 Jun 2002 22:57:32 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id EFB2F471DA; Tue, 18 Jun 2002 22:57:31 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id F26E4FDA0; Tue, 18 Jun 2002 22:57:30 -0700 (PDT) Message-ID: <3D101D4A.5C3E9FD8@pantherdragon.org> Date: Tue, 18 Jun 2002 22:57:30 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Evan Dower Cc: freebsd-hackers@freebsd.org Subject: Re: I Volunteer References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Evan Dower wrote: > > I don't know who might have use of my services (or what my services might be > for that matter), but I hereby offer them up. I'm a student at the > University of Washington and I'll be applying to the Computer Science major > in February. I'd like to get involved with the OS that is serving me so > well. I'll do what I can to help with whatever. Just let me know if anyone > needs a minion. I could use the experience. It's not exactly FreeBSD, but how about rewriting pine and uw-imap? Last I heard they could use a little work. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 23:11: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smurf.jnielsen.net (12-254-136-47.client.attbi.com [12.254.136.47]) by hub.freebsd.org (Postfix) with ESMTP id A433E37B412 for ; Tue, 18 Jun 2002 23:10:52 -0700 (PDT) Received: from max (max.local [192.168.0.9]) by smurf.jnielsen.net (8.12.3/8.12.3) with SMTP id g5J6Eq1O016339; Wed, 19 Jun 2002 00:14:52 -0600 (MDT) (envelope-from hackers@jnielsen.net) Message-ID: <002301c21758$2f2a2fd0$0900a8c0@max> From: "John Nielsen" To: "Evan Dower" , References: Subject: Re: I Volunteer Date: Wed, 19 Jun 2002 00:11:43 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Evan Dower" To: Sent: Tuesday, June 18, 2002 11:35 PM Subject: I Volunteer > I don't know who might have use of my services (or what my services might be > for that matter), but I hereby offer them up. I'm a student at the > University of Washington and I'll be applying to the Computer Science major > in February. I'd like to get involved with the OS that is serving me so > well. I'll do what I can to help with whatever. Just let me know if anyone > needs a minion. I could use the experience. Probably the best thing you can do for the project is to show some initiative. The problem reports database (accessible over the web at http://www.freebsd.org/prstats/index.html) can always use a good looking-over. Some reports are outdated and just need to be closed; some have a working patch included but have fallen through the cracks; and depending on your interests and level of coding ability, some could be relatively easy to fix. Do some work, make some noise, and express your interests and then whoever wants you as a minion will be more likely to find you. Whether or not coding is your forte, you can support the project in other ways as well. FreeBSD has great documentation, but it can always be improved or added to. I tend to proofread everything I read, so I've sent in a couple "bug" reports about manpage typos. I've been pleasantly surprised at both the promptness with which they were addressed and the gratitude expressed for my filing the reports. Evangelism and peer support are other great things you can do. Educate people at your school about FreeBSD and suggest ways that using FreeBSD might improve a lab/program/service. Answer questions on the -questions mailing list and/or the comp.unix.bsd.freebsd.misc newsgroup. FreeBSD is a great platform with an even greater user/developer community, so letting people know about it is always a good thing. Just a few ideas from my own experience... :) JN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 18 23:35:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id AE19237B401 for ; Tue, 18 Jun 2002 23:35:09 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GXX00DYBWN6AP@mtaout03.icomcast.net> for freebsd-hackers@freebsd.org; Wed, 19 Jun 2002 02:28:18 -0400 (EDT) Date: Wed, 19 Jun 2002 01:28:18 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: I Volunteer In-reply-to: <3D101D4A.5C3E9FD8@pantherdragon.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Darren Pilgrim Cc: Evan Dower , freebsd-hackers@freebsd.org Message-id: <20020619012553.J12752-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Darren Pilgrim wrote: >It's not exactly FreeBSD, but how about rewriting pine and uw-imap? >Last I heard they could use a little work. It would have to be a complete reimplementation thanks to the retarded pine license. Besides, pine has been surpassed and it's called mutt. uw-imap has also been quite surpassed, it's called cyrus. This message posted by a pine user via pine who's desperately been trying for months to find enough hours in the day to learn mutt well enough that he can migrate his primary email accounts over to it. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 0:44:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id C4AF737B409 for ; Wed, 19 Jun 2002 00:44:51 -0700 (PDT) Received: from fwd11.sul.t-online.de by mailout08.sul.t-online.com with smtp id 17Ka93-0004aF-0L; Wed, 19 Jun 2002 09:44:49 +0200 Received: from ernie.kts.org (520021727764-0001@[217.80.9.120]) by fmrl11.sul.t-online.com with esmtp id 17Ka8w-1KAb6eC; Wed, 19 Jun 2002 09:44:42 +0200 Received: from bert.kts.org (bert.kts.org [194.55.156.2]) by ernie.kts.org (Postfix) with ESMTP id 2CFC74CA33 for ; Wed, 19 Jun 2002 09:44:42 +0200 (CEST) Received: by bert.kts.org (Postfix, from userid 100) id 0B59B55B1; Wed, 19 Jun 2002 09:44:42 +0200 (CEST) Subject: Re: The problem with FreeBSD In-Reply-To: <20020618141343.K11808-100000@dallben.homeportal.2wire.net> To: hackers@freebsd.org Date: Wed, 19 Jun 2002 09:44:42 +0200 (CEST) Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20020619074442.0B59B55B1@bert.kts.org> From: hm@kts.org (Hellmuth Michaelis) X-Sender: 520021727764-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Anyone know who this might be? Jesus Monroy jr. ? hellmuth -- Hellmuth Michaelis Hamburg, Europe hm@kts.org www.kts.org There is a difference between an open mind and a hole in the head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 0:49: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 0006037B405 for ; Wed, 19 Jun 2002 00:48:58 -0700 (PDT) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.3/8.12.3) with ESMTP id g5J7mu42018764 for ; Wed, 19 Jun 2002 11:48:56 +0400 (MSD) Date: Wed, 19 Jun 2002 11:48:56 +0400 (MSD) From: Varshavchick Alexander To: hackers@FreeBSD.ORG Subject: Getting pid of listening process Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi gurus, can anybody make a hint as how pid of a process listening on a specified tcp port can be determined? Of cause there are major utilities like lsof or sockstat but they gather a lot of extra information and work not too fast. What I need ideally would be a small C program which outputs pid given a port number as a parameter, can anybody help? Regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 0:52: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id C55D537B406; Wed, 19 Jun 2002 00:51:54 -0700 (PDT) Received: from fwd06.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17KaFt-0000kH-00; Wed, 19 Jun 2002 09:51:53 +0200 Received: from ernie.kts.org (520021727764-0001@[217.80.9.120]) by fmrl06.sul.t-online.com with esmtp id 17KaFn-1YzrbUC; Wed, 19 Jun 2002 09:51:47 +0200 Received: from bert.kts.org (bert.kts.org [194.55.156.2]) by ernie.kts.org (Postfix) with ESMTP id 6DED14C962; Wed, 19 Jun 2002 09:51:46 +0200 (CEST) Received: by bert.kts.org (Postfix, from userid 100) id 5A9AA5598; Wed, 19 Jun 2002 09:51:46 +0200 (CEST) Subject: Re: 8" floppy drive anyone ? In-Reply-To: <35670.1024442186@critter.freebsd.dk> To: Poul-Henning Kamp Date: Wed, 19 Jun 2002 09:51:46 +0200 (CEST) Cc: hackers@freebsd.org Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20020619075146.5A9AA5598@bert.kts.org> From: hm@kts.org (Hellmuth Michaelis) X-Sender: 520021727764-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > I have a bunch of 8" floppies I need to try to recover contents > from, is there anybody out there who has a 8" drive they'd be willing > to part with for $$ ? Sorry, but i'm in the same boat. I have an old Hewlett-Packard HPIB 8" Floppydrive here and i wonder if it is possible to connect (and access) it with one of those supported GPIB cards or directly by connecting it to a PC floppy controller ? Has anybody experience with this ? hellmuth -- Hellmuth Michaelis Hamburg, Europe hm@kts.org www.kts.org There is a difference between an open mind and a hole in the head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 0:55: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id E71F637B408 for ; Wed, 19 Jun 2002 00:54:55 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g5J7r4Ij032085; Wed, 19 Jun 2002 09:53:09 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: hm@kts.org Cc: hackers@freebsd.org Subject: Re: 8" floppy drive anyone ? In-Reply-To: Your message of "Wed, 19 Jun 2002 09:51:46 +0200." <20020619075146.5A9AA5598@bert.kts.org> Date: Wed, 19 Jun 2002 09:53:04 +0200 Message-ID: <32084.1024473184@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020619075146.5A9AA5598@bert.kts.org>, Hellmuth Michaelis writes: >Poul-Henning Kamp wrote: > >> I have a bunch of 8" floppies I need to try to recover contents >> from, is there anybody out there who has a 8" drive they'd be willing >> to part with for $$ ? > >Sorry, but i'm in the same boat. I have an old Hewlett-Packard HPIB 8" >Floppydrive here and i wonder if it is possible to connect (and access) >it with one of those supported GPIB cards or directly by connecting it >to a PC floppy controller ? Has anybody experience with this ? If you have a NEC7210 based GPIB card, I have a rudimentary userland driver for it. I use it for some HP boxes when I fiddle my timekeeping gadgets. I don't know about accessing floppies over GPIB (well, I _do_ know about the non-standard way Commodore did it but...) but if you can find the docs you can probably code it up pretty easily. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1: 3: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id 0FCB037B409 for ; Wed, 19 Jun 2002 01:03:00 -0700 (PDT) Received: (qmail 73504 invoked by uid 85); 19 Jun 2002 08:13:48 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 19 Jun 2002 08:13:44 -0000 Received: (qmail 7656 invoked by uid 1000); 19 Jun 2002 08:01:19 -0000 Date: Wed, 19 Jun 2002 11:01:19 +0300 From: Peter Pentchev To: Varshavchick Alexander Cc: hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process Message-ID: <20020619080119.GB369@straylight.oblivion.bg> Mail-Followup-To: Varshavchick Alexander , hackers@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander wrote: > Hi gurus, >=20 > can anybody make a hint as how pid of a process listening on a specified > tcp port can be determined? Of cause there are major utilities like lsof > or sockstat but they gather a lot of extra information and work not too > fast. What I need ideally would be a small C program which outputs pid > given a port number as a parameter, can anybody help? Very few things could work faster than lsof(1) with appropriate command-line options. I would suggest that you take the time to read the lsof manual page carefully, then try something like: lsof -nPli 4tcp:25 Of course, depending on your needs, you may want to drop the -P, -l or -n options. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If this sentence were in Chinese, it would say something else. --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EDpO7Ri2jRYZRVMRAuv/AKCHn8HE2TUcWbO9cpD9ZtRuD4wQxACdF6MR 1DA0Vw8SK8i5lvMAVBgxoT0= =cgy8 -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1: 4: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id C863637B40A for ; Wed, 19 Jun 2002 01:03:49 -0700 (PDT) Received: (qmail 73617 invoked by uid 85); 19 Jun 2002 08:14:47 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 19 Jun 2002 08:14:44 -0000 Received: (qmail 7686 invoked by uid 1000); 19 Jun 2002 08:02:33 -0000 Date: Wed, 19 Jun 2002 11:02:33 +0300 From: Peter Pentchev To: Varshavchick Alexander Cc: hackers@FreeBSD.org Subject: Re: Getting pid of listening process Message-ID: <20020619080233.GC369@straylight.oblivion.bg> Mail-Followup-To: Varshavchick Alexander , hackers@FreeBSD.org References: <20020619080119.GB369@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: <20020619080119.GB369@straylight.oblivion.bg> User-Agent: Mutt/1.3.99i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2002 at 11:01:19AM +0300, Peter Pentchev wrote: > On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander wrote: > > Hi gurus, > >=20 > > can anybody make a hint as how pid of a process listening on a specified > > tcp port can be determined? Of cause there are major utilities like lsof > > or sockstat but they gather a lot of extra information and work not too > > fast. What I need ideally would be a small C program which outputs pid > > given a port number as a parameter, can anybody help? >=20 > Very few things could work faster than lsof(1) with appropriate > command-line options. I would suggest that you take the time to read > the lsof manual page carefully, then try something like: >=20 > lsof -nPli 4tcp:25 >=20 > Of course, depending on your needs, you may want to drop the -P, -l or > -n options. Hit 'send' too fast; if you are only interested in pid's, take a look at the -t option, too :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If there were no counterfactuals, this sentence would not have been paradox= ical. --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EDqZ7Ri2jRYZRVMRAjTeAJ4+P3IlWdKxtntZwOzIW0JRQbEMaACgmhLH h+o3KYWgivV/i1ffzAC3OEI= =JYAd -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1:40:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 6360E37B40F for ; Wed, 19 Jun 2002 01:40:32 -0700 (PDT) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.3/8.12.3) with ESMTP id g5J8eU42025500; Wed, 19 Jun 2002 12:40:30 +0400 (MSD) Date: Wed, 19 Jun 2002 12:40:30 +0400 (MSD) From: Varshavchick Alexander To: Peter Pentchev Cc: hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process In-Reply-To: <20020619080233.GC369@straylight.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG lsof seems to have problems on the server in question, it takes all cpu time and never returns for a long time... Installing the latest lsof release didn't help :( Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Wed, 19 Jun 2002, Peter Pentchev wrote: > Date: Wed, 19 Jun 2002 11:02:33 +0300 > From: Peter Pentchev > To: Varshavchick Alexander > Cc: hackers@FreeBSD.ORG > Subject: Re: Getting pid of listening process > > On Wed, Jun 19, 2002 at 11:01:19AM +0300, Peter Pentchev wrote: > > On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander wrote: > > > Hi gurus, > > > > > > can anybody make a hint as how pid of a process listening on a specified > > > tcp port can be determined? Of cause there are major utilities like lsof > > > or sockstat but they gather a lot of extra information and work not too > > > fast. What I need ideally would be a small C program which outputs pid > > > given a port number as a parameter, can anybody help? > > > > Very few things could work faster than lsof(1) with appropriate > > command-line options. I would suggest that you take the time to read > > the lsof manual page carefully, then try something like: > > > > lsof -nPli 4tcp:25 > > > > Of course, depending on your needs, you may want to drop the -P, -l or > > -n options. > > Hit 'send' too fast; if you are only interested in pid's, take a look at > the -t option, too :) > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > If there were no counterfactuals, this sentence would not have been paradoxical. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1:45:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.nentec.de (gate2.nentec.de [194.25.215.66]) by hub.freebsd.org (Postfix) with ESMTP id 29BAA37B40E for ; Wed, 19 Jun 2002 01:45:14 -0700 (PDT) Received: from nenny.nentec.de (root@nenny.nentec.de [153.92.64.1]) by gate.nentec.de (8.11.3/8.9.3) with ESMTP id g5J8jBA21254 for ; Wed, 19 Jun 2002 10:45:12 +0200 Received: from nentec.de (andromeda.nentec.de [153.92.64.34]) by nenny.nentec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g5J8j6Z01377 for ; Wed, 19 Jun 2002 10:45:06 +0200 Message-ID: <3D104492.4050906@nentec.de> Date: Wed, 19 Jun 2002 10:45:06 +0200 From: Andy Sporner User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:0.9.8) Gecko/20020204 X-Accept-Language: de-at, de, en, en-us MIME-Version: 1.0 To: freebsd-hackers Subject: (kein Betreff) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG unsubscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1:46:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id BF1E137B40D for ; Wed, 19 Jun 2002 01:46:10 -0700 (PDT) Received: (qmail 76388 invoked by uid 85); 19 Jun 2002 08:57:08 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 19 Jun 2002 08:56:53 -0000 Received: (qmail 9966 invoked by uid 1000); 19 Jun 2002 08:44:12 -0000 Date: Wed, 19 Jun 2002 11:44:12 +0300 From: Peter Pentchev To: Varshavchick Alexander Cc: hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process Message-ID: <20020619084411.GD369@straylight.oblivion.bg> Mail-Followup-To: Varshavchick Alexander , hackers@FreeBSD.ORG References: <20020619080233.GC369@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tqI+Z3u+9OQ7kwn0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2002 at 12:40:30PM +0400, Varshavchick Alexander wrote: > On Wed, 19 Jun 2002, Peter Pentchev wrote: >=20 > > Date: Wed, 19 Jun 2002 11:02:33 +0300 > > From: Peter Pentchev > > To: Varshavchick Alexander > > Cc: hackers@FreeBSD.ORG > > Subject: Re: Getting pid of listening process > >=20 > > On Wed, Jun 19, 2002 at 11:01:19AM +0300, Peter Pentchev wrote: > > > On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander wrot= e: > > > > Hi gurus, > > > >=20 > > > > can anybody make a hint as how pid of a process listening on a spec= ified > > > > tcp port can be determined? Of cause there are major utilities like= lsof > > > > or sockstat but they gather a lot of extra information and work not= too > > > > fast. What I need ideally would be a small C program which outputs = pid > > > > given a port number as a parameter, can anybody help? > > >=20 > > > Very few things could work faster than lsof(1) with appropriate > > > command-line options. I would suggest that you take the time to read > > > the lsof manual page carefully, then try something like: > > >=20 > > > lsof -nPli 4tcp:25 > > >=20 > > > Of course, depending on your needs, you may want to drop the -P, -l or > > > -n options. > >=20 > > Hit 'send' too fast; if you are only interested in pid's, take a look at > > the -t option, too :) >=20 > lsof seems to have problems on the server in question, it takes all cpu > time and never returns for a long time... Installing the latest lsof > release didn't help :( Have you actually tried the -n option? If it hangs with -n, try -b, too. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 No language can express every thought unambiguously, least of all this one. --tqI+Z3u+9OQ7kwn0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EERb7Ri2jRYZRVMRAn2TAKC6TyaXH3GL5ufZ43/g7lej+svKuQCfQFf1 PqripgrKzBHqfz5at2WdAaA= =Feql -----END PGP SIGNATURE----- --tqI+Z3u+9OQ7kwn0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1:53: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 5FC5637B411 for ; Wed, 19 Jun 2002 01:52:57 -0700 (PDT) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.3/8.12.3) with ESMTP id g5J8qs42029670; Wed, 19 Jun 2002 12:52:54 +0400 (MSD) Date: Wed, 19 Jun 2002 12:52:54 +0400 (MSD) From: Varshavchick Alexander To: Peter Pentchev Cc: hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process In-Reply-To: <20020619084411.GD369@straylight.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, it hangs in either cases, here is exactly how I try running it: lsof -t -nbPli 4tcp:80 If anybody could suggest what source code in lsof is dealing with tcp ports it would save a lot of time browsing through all lsof sources... Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Wed, 19 Jun 2002, Peter Pentchev wrote: > Date: Wed, 19 Jun 2002 11:44:12 +0300 > From: Peter Pentchev > To: Varshavchick Alexander > Cc: hackers@FreeBSD.ORG > Subject: Re: Getting pid of listening process > > On Wed, Jun 19, 2002 at 12:40:30PM +0400, Varshavchick Alexander wrote: > > On Wed, 19 Jun 2002, Peter Pentchev wrote: > > > > > Date: Wed, 19 Jun 2002 11:02:33 +0300 > > > From: Peter Pentchev > > > To: Varshavchick Alexander > > > Cc: hackers@FreeBSD.ORG > > > Subject: Re: Getting pid of listening process > > > > > > On Wed, Jun 19, 2002 at 11:01:19AM +0300, Peter Pentchev wrote: > > > > On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander wrote: > > > > > Hi gurus, > > > > > > > > > > can anybody make a hint as how pid of a process listening on a specified > > > > > tcp port can be determined? Of cause there are major utilities like lsof > > > > > or sockstat but they gather a lot of extra information and work not too > > > > > fast. What I need ideally would be a small C program which outputs pid > > > > > given a port number as a parameter, can anybody help? > > > > > > > > Very few things could work faster than lsof(1) with appropriate > > > > command-line options. I would suggest that you take the time to read > > > > the lsof manual page carefully, then try something like: > > > > > > > > lsof -nPli 4tcp:25 > > > > > > > > Of course, depending on your needs, you may want to drop the -P, -l or > > > > -n options. > > > > > > Hit 'send' too fast; if you are only interested in pid's, take a look at > > > the -t option, too :) > > > > lsof seems to have problems on the server in question, it takes all cpu > > time and never returns for a long time... Installing the latest lsof > > release didn't help :( > > Have you actually tried the -n option? If it hangs with -n, try -b, > too. > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > No language can express every thought unambiguously, least of all this one. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 1:57:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 50E8B37B412 for ; Wed, 19 Jun 2002 01:57:17 -0700 (PDT) Received: from fwd07.sul.t-online.de by mailout03.sul.t-online.com with smtp id 17KbH8-00068Q-0B; Wed, 19 Jun 2002 10:57:14 +0200 Received: from ernie.kts.org (520021727764-0001@[217.80.9.24]) by fmrl07.sul.t-online.com with esmtp id 17KbGz-1QaUsKC; Wed, 19 Jun 2002 10:57:05 +0200 Received: from bert.kts.org (bert.kts.org [194.55.156.2]) by ernie.kts.org (Postfix) with ESMTP id 613534C965; Wed, 19 Jun 2002 10:57:04 +0200 (CEST) Received: by bert.kts.org (Postfix, from userid 100) id 4D37C5598; Wed, 19 Jun 2002 10:57:04 +0200 (CEST) Subject: Re: 8" floppy drive anyone ? In-Reply-To: <32084.1024473184@critter.freebsd.dk> To: Poul-Henning Kamp Date: Wed, 19 Jun 2002 10:57:04 +0200 (CEST) Cc: hackers@freebsd.org Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20020619085704.4D37C5598@bert.kts.org> From: hm@kts.org (Hellmuth Michaelis) X-Sender: 520021727764-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > >Sorry, but i'm in the same boat. I have an old Hewlett-Packard HPIB 8" > >Floppydrive here and i wonder if it is possible to connect (and access) > >it with one of those supported GPIB cards or directly by connecting it > >to a PC floppy controller ? Has anybody experience with this ? > > If you have a NEC7210 based GPIB card, I have a rudimentary userland > driver for it. I use it for some HP boxes when I fiddle my timekeeping > gadgets. Yes, i've got an ISA card from Scientific Solutions, just mailed them for jumper docs ... > I don't know about accessing floppies over GPIB (well, I _do_ know about > the non-standard way Commodore did it but...) but if you can find the > docs you can probably code it up pretty easily. Yes, i have docs (i suppose its the "Amigo" and/or SS1 command set) :-) Would you please mail me the driver ? hellmuth -- Hellmuth Michaelis Hamburg, Europe hm@kts.org www.kts.org There is a difference between an open mind and a hole in the head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 2:43:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id D50D037B403 for ; Wed, 19 Jun 2002 02:43:07 -0700 (PDT) Received: (qmail 76590 invoked by uid 85); 19 Jun 2002 09:54:09 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 19 Jun 2002 09:54:06 -0000 Received: (qmail 27809 invoked by uid 1000); 19 Jun 2002 09:41:54 -0000 Date: Wed, 19 Jun 2002 12:41:53 +0300 From: Peter Pentchev To: Varshavchick Alexander Cc: hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process Message-ID: <20020619094153.GE369@straylight.oblivion.bg> Mail-Followup-To: Varshavchick Alexander , hackers@FreeBSD.ORG References: <20020619084411.GD369@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NtwzykIc2mflq5ck" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --NtwzykIc2mflq5ck Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2002 at 12:52:54PM +0400, Varshavchick Alexander wrote: > On Wed, 19 Jun 2002, Peter Pentchev wrote: > > On Wed, Jun 19, 2002 at 12:40:30PM +0400, Varshavchick Alexander wrote: > > > On Wed, 19 Jun 2002, Peter Pentchev wrote: > > >=20 > > > > Date: Wed, 19 Jun 2002 11:02:33 +0300 > > > > From: Peter Pentchev > > > > To: Varshavchick Alexander > > > > Cc: hackers@FreeBSD.ORG > > > > Subject: Re: Getting pid of listening process > > > >=20 > > > > On Wed, Jun 19, 2002 at 11:01:19AM +0300, Peter Pentchev wrote: > > > > > On Wed, Jun 19, 2002 at 11:48:56AM +0400, Varshavchick Alexander = wrote: > > > > > > Hi gurus, > > > > > >=20 > > > > > > can anybody make a hint as how pid of a process listening on a = specified > > > > > > tcp port can be determined? Of cause there are major utilities = like lsof > > > > > > or sockstat but they gather a lot of extra information and work= not too > > > > > > fast. What I need ideally would be a small C program which outp= uts pid > > > > > > given a port number as a parameter, can anybody help? > > > > >=20 > > > > > Very few things could work faster than lsof(1) with appropriate > > > > > command-line options. I would suggest that you take the time to = read > > > > > the lsof manual page carefully, then try something like: > > > > >=20 > > > > > lsof -nPli 4tcp:25 > > > > >=20 > > > > > Of course, depending on your needs, you may want to drop the -P, = -l or > > > > > -n options. > > > >=20 > > > > Hit 'send' too fast; if you are only interested in pid's, take a lo= ok at > > > > the -t option, too :) > > >=20 > > > lsof seems to have problems on the server in question, it takes all c= pu > > > time and never returns for a long time... Installing the latest lsof > > > release didn't help :( > >=20 > > Have you actually tried the -n option? If it hangs with -n, try -b, > > too. > > Yes, it hangs in either cases, here is exactly how I try running it: > lsof -t -nbPli 4tcp:80 >=20 > If anybody could suggest what source code in lsof is dealing with tcp > ports it would save a lot of time browsing through all lsof sources... Could you try using ktrace or truss on it, to see just where it hangs? Running lsof under ktrace and then running kdump | tail might give a pretty good indication.. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If you think this sentence is confusing, then change one pig. --NtwzykIc2mflq5ck Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EFHh7Ri2jRYZRVMRAiIrAJ9m5D/YEGNo2W/w5qO2jMn/KeqX/gCfRGY/ I6TfsheNt7qZwYdxmTLqgpU= =cQ90 -----END PGP SIGNATURE----- --NtwzykIc2mflq5ck-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 3: 1:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id BA4F737B401; Wed, 19 Jun 2002 03:01:24 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5J8pvKB018812; Wed, 19 Jun 2002 04:51:58 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5J8lpm9018798; Wed, 19 Jun 2002 04:51:55 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Wed, 19 Jun 2002 04:45:08 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Bill Flamerola Cc: , Subject: Re: The problem with FreeBSD In-Reply-To: Message-ID: <20020619043457.K464-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 18 Jun 2002, Bill Flamerola wrote: > Okay, this is not really intended as a flame, but kinda necessary, given the > current situation in the FreeBSD camp. > If its neccesary, then stand up and use your real name. Messages are not carried around here by anonymous emailers. > > Jordan Hubbard left, Mike Smith left. Why? Because, honestly, FreeBSD got old for them? People leave. Get over it. > What's the > prefered game in #bsdcode? Right, flaming Terry Lambert. Actually,I don;t think thats the case, a number of times I've said that I like Terry's posts. Sometimes informative, sometimes entertaining, sometimes a little too obvous trolling. I think theres only one fault with Terry :) (forgive me Terry, because I've learned a lot from you). And that problem is that he has to say something about everything :) Many peopleon #bsdcode have come to Terry's defense. > Terry may not be > perfect, but he has *never* insulted anyone, he's a nice person to talk to, > and pretty often comes up with nice ideas. Yep. > I'm talking to you, fucking Hiten Pandya, damned asshole. Hiten is young, he'll learn, since when does Hiten have any say in the direction of FreeBSD as a whole? > And I'm talking to you, stupid Alfred Perlstein. > Alfred is an interesting person. He seems to be drunk most of the time, has > never contributed anything important to the project, yet he likes to flame > around all the time. As someone who has known Alfred a long time, yes, he can be an asshole, he also does a hell of a lot of work, is willing to do "grunt" work, and while these aren;t huge projects, he's filled in where needed. That says so much more for his willingness to actually do something to advance the project as a whole. > > Matthew Dillon is one of the few hackers worth his salt, what does he get in > return? A 5 day commit bit suspension. Matt, please, join NetBSD, they need > help in the SMP code, and leave all these hypocrites alone. Matt makes his decisions based on what Matt wants to do. The commit bit thing has been going on ever since I can remember. If Matt wanted to leave, he would have done so long ago. One of the reasons I admire Matt so much is because he keeps going despite the politics. > > To the rest of the people, jump shit now, and join NetBSD while you can. > FreeBSD is not worth the hassle. > TIme for you to jump ship or show yourself for who you are, instead of being a coward and hiding behind a hotmail address. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 5:48: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from Danovitsch.dnsq.org (b74143.upc-b.chello.nl [212.83.74.143]) by hub.freebsd.org (Postfix) with ESMTP id 5359637B40A for ; Wed, 19 Jun 2002 05:47:59 -0700 (PDT) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Danovitsch.dnsq.org (8.11.3/8.11.3) with SMTP id g5JCkIO56276; Wed, 19 Jun 2002 14:46:18 +0200 (CEST) (envelope-from Danovitsch@Danovitsch.dnsq.org) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" Reply-To: Danovitsch@Danovitsch.dnsq.org To: Varshavchick Alexander Subject: Re: Getting pid of listening process Date: Wed, 19 Jun 2002 14:56:34 +0200 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: FreeBSD-Hackers@FreeBSD.org MIME-Version: 1.0 Message-Id: <02061914563400.02778@FreeBSD.Danovitsch.LAN> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 19 June 2002 09:48, you wrote: > Hi gurus, > > can anybody make a hint as how pid of a process listening on a specified > tcp port can be determined? Of cause there are major utilities like lsof > or sockstat but they gather a lot of extra information and work not too > fast. What I need ideally would be a small C program which outputs pid > given a port number as a parameter, can anybody help? Try : sockstat -4 grtz, Daan -- Control the lights in my room: http://www.Danovitsch.dnsq.org/webcam Moo, ]:8) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 5:52:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 4C8A837B40A for ; Wed, 19 Jun 2002 05:52:12 -0700 (PDT) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.3/8.12.3) with ESMTP id g5JCq7vJ019054; Wed, 19 Jun 2002 16:52:07 +0400 (MSD) Date: Wed, 19 Jun 2002 16:52:07 +0400 (MSD) From: Varshavchick Alexander To: "Daan Vreeken [PA4DAN]" Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: Getting pid of listening process In-Reply-To: <02061914563400.02778@FreeBSD.Danovitsch.LAN> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG yes, sockstat works, however not expecially fast, but it seems to solve the matter. I don't know why lsof hangs but considering sockstat working it's not important. Thanks for helping. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Wed, 19 Jun 2002, Daan Vreeken [PA4DAN] wrote: > Date: Wed, 19 Jun 2002 14:56:34 +0200 > From: "Daan Vreeken [PA4DAN]" > To: Varshavchick Alexander > Cc: FreeBSD-Hackers@FreeBSD.ORG > Subject: Re: Getting pid of listening process > > On Wednesday 19 June 2002 09:48, you wrote: > > Hi gurus, > > > > can anybody make a hint as how pid of a process listening on a specified > > tcp port can be determined? Of cause there are major utilities like lsof > > or sockstat but they gather a lot of extra information and work not too > > fast. What I need ideally would be a small C program which outputs pid > > given a port number as a parameter, can anybody help? > Try : > sockstat -4 > > grtz, > Daan > -- > Control the lights in my room: > http://www.Danovitsch.dnsq.org/webcam > > Moo, > ]:8) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 6:23:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id CD49537B410 for ; Wed, 19 Jun 2002 06:23:21 -0700 (PDT) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id F423219DEA for ; Wed, 19 Jun 2002 16:23:12 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g5JDQYw54464 for ; Wed, 19 Jun 2002 16:26:34 +0300 (EEST) Message-ID: <006401c21793$30721750$6d36120a@pm5149> From: "Andrey Simonenko" To: Subject: Is it possible to store process state and then restore process Date: Wed, 19 Jun 2002 16:14:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello FreeBSD developers, I have one principal question. Suppose there is a process, let this process doesn't have any childs, open sockets, it has one thread, etc. But this process can malloc() memory, open local files. Let's take very simple case. Is it possible to store process state to the file (i.e. say somehow the kernel to do this), and then after rebooting restore from the file this process back to system and continue executing it? I understand that it is not very simple, but I want to know if it is possible. Are there any problem with memory addressetion? Some years ago I implemented the same thing under MS-DOS, so in general I understand the way what it should look like, and I successfuly stored process state and restored this process in MS-DOS to continue very long calculations on slow PC (this wasn't my software, so I could't patch it to store results in temporary file). Of course it is impossible to compare how I did it for MS-DOS and how it can be done on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 6:32:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail02.svc.cra.dublin.eircom.net (mail02.svc.cra.dublin.eircom.net [159.134.118.18]) by hub.freebsd.org (Postfix) with SMTP id C258137B401 for ; Wed, 19 Jun 2002 06:32:43 -0700 (PDT) Received: (qmail 22962 messnum 123565 invoked from network[159.134.237.78/wendell.eircom.net]); 19 Jun 2002 13:32:42 -0000 Received: from wendell.eircom.net (HELO webmail.eircom.net) (159.134.237.78) by mail02.svc.cra.dublin.eircom.net (qp 22962) with SMTP; 19 Jun 2002 13:32:42 -0000 From: "Peter Edwards" To: hackers@freebsd.org Subject: sched_setscheduler() permissions and the linux JDK 1.4 Date: Wed, 19 Jun 2002 14:32:42 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Originating-IP: 62.17.151.61 X-Mailer: Eircom Net CRC Webmail (http://www.eircom.net/) Organization: Eircom Net (http://www.eircom.net/) Message-Id: <20020619133243.C258137B401@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, A couple of people have noted that the linux JDK 1.4 doesn't work for a non-root user (on -STABLE). This is caused by sched_getscheduler() (in sys/posix4/p1003_1b.c) failing for non-root users: by hacking p31b_proc() to have a "read/write" flag, and a more lenient variant of CAN_AFFECT() for read operations, my JDK works fine: but I don't feel comfortable posting patches without understanding the security ramifications more clearly The manpage for sched_getscheduler() doesn't document the permissions very well, other than to defer to POSIX 1003.1b (which I don't have a copy of, and SUSv2 is less than forthcoming) I would at least have thought that any process should at least be able to get it's own scheduling parameter, and would have thought that this was _not_ a "write-style" operation. Am I right? I was also wondering if it should be allowable for a non-root process to set their scheduling parameters: I suppose this might lead to users creating processes that could starve system processes. Should this indeed be forbidden? (There's a #if 0'ed out version of CAN_AFFECT which is much less paranoid, but there's no decent comment to describe why its even there.) Can anyone shed (or even sched :-)) light on why CAN_AFFECT is defined as it is? -- Peter Edwards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 6:47: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 3350037B40A for ; Wed, 19 Jun 2002 06:46:59 -0700 (PDT) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g5JDkqH37599; Wed, 19 Jun 2002 09:46:52 -0400 (EDT) (envelope-from mwlucas) Date: Wed, 19 Jun 2002 09:46:52 -0400 From: Michael Lucas To: Evan Dower Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: I Volunteer Message-ID: <20020619094652.A37433@blackhelicopters.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from evantd@hotmail.com on Tue, Jun 18, 2002 at 10:35:09PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 18, 2002 at 10:35:09PM -0700, Evan Dower wrote: > I don't know who might have use of my services (or what my services might be > for that matter), but I hereby offer them up. I'm a student at the > University of Washington and I'll be applying to the Computer Science major > in February. I'd like to get involved with the OS that is serving me so > well. I'll do what I can to help with whatever. Just let me know if anyone > needs a minion. I could use the experience. > Thanks, > Evan Dower > PS: This Hotmail account has kept the spam out of my primary accounts for > years. Hello, Pardon the self-promotion, but: http://www.onlamp.com/pub/a/bsd/2002/01/17/Big_Scary_Daemons.html gives some advice on how to contribute. Welcome! ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.oreillynet.com/pub/q/Big_Scary_Daemons Absolute BSD: http://www.nostarch.com/abs_bsd.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 7:15:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 80EDF37B403 for ; Wed, 19 Jun 2002 07:15:47 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g5JECiSc050070 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 19 Jun 2002 16:12:49 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g5JECgFJ009177 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 19 Jun 2002 16:12:42 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g5JECgI7009176; Wed, 19 Jun 2002 16:12:42 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 19 Jun 2002 16:12:41 +0200 From: Bernd Walter To: Andrey Simonenko Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Is it possible to store process state and then restore process Message-ID: <20020619141241.GO43253@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <006401c21793$30721750$6d36120a@pm5149> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006401c21793$30721750$6d36120a@pm5149> User-Agent: Mutt/1.3.99i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 19, 2002 at 04:14:05PM +0300, Andrey Simonenko wrote: > Hello FreeBSD developers, > > I have one principal question. > > Suppose there is a process, let this process doesn't have any > childs, open sockets, it has one thread, etc. But this process > can malloc() memory, open local files. Let's take very simple case. > > Is it possible to store process state to the file (i.e. say > somehow the kernel to do this), and then after rebooting restore > from the file this process back to system and continue executing it? > > I understand that it is not very simple, but I want to know if it is > possible. Are there any problem with memory addressetion? > > Some years ago I implemented the same thing under MS-DOS, so > in general I understand the way what it should look like, and I > successfuly stored process state and restored this process in MS-DOS > to continue very long calculations on slow PC (this wasn't my software, > so I could't patch it to store results in temporary file). Of course it is > impossible to compare how I did it for MS-DOS and how it can be > done on FreeBSD. Some programms dump theirself into an obj file after initialization. If you hold global resources such as filehandles, shared memory you should know how they are used to make restoring them easier. The kernel has no support to help you here. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 7:32:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from malyn.eiomail.com (relay.trecorp.com [64.71.177.139]) by hub.freebsd.org (Postfix) with SMTP id 3539337B403 for ; Wed, 19 Jun 2002 07:32:31 -0700 (PDT) Message-ID: <949.2.1024497148909@malyn.eiomail.com> Date: Wed, 19 Jun 2002 07:32:28 -0700 From: Michael Alyn Miller Subject: Re: jail with multiple IPs (patch) In-Reply-To: References: <774.2.1024445039934@malyn.eiomail.com> To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Julian, > I apreciate that you have done this work, but I have a question.... > "why would it be useful?" Do you have a need for it or is this > an aesthetic issue? I am looking at using a jail-based colocation provider, but the lack of multiple IP addresses in the jail would be a problem for me. So I went in and solved the problem. Some of the past messages that I read on the subject indicated that other FreeBSD users were looking for a way to get multiple IP addresses in jails as well. Michael Alyn Miller ------------------------------- The best kept secret in e-mail. http://eioMAIL.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 7:42:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by hub.freebsd.org (Postfix) with ESMTP id 9DEA837B40D for ; Wed, 19 Jun 2002 07:41:49 -0700 (PDT) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.3/8.12.3) with ESMTP id g5JEfkeR082525; Wed, 19 Jun 2002 09:41:46 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g5JEfka22969; Wed, 19 Jun 2002 09:41:46 -0500 Date: Wed, 19 Jun 2002 09:41:45 -0500 From: "Richard Seaman, Jr." To: Peter Edwards Cc: hackers@FreeBSD.ORG Subject: Re: sched_setscheduler() permissions and the linux JDK 1.4 Message-ID: <20020619094145.H20472@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Peter Edwards , hackers@FreeBSD.ORG References: <20020619133243.C258137B401@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020619133243.C258137B401@hub.freebsd.org>; from pmedwards@eircom.net on Wed, Jun 19, 2002 at 02:32:42PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 19, 2002 at 02:32:42PM +0100, Peter Edwards wrote: > > Hi, > A couple of people have noted that the linux JDK 1.4 doesn't work for a > non-root user (on -STABLE). This is caused by sched_getscheduler() (in > sys/posix4/p1003_1b.c) failing for non-root users: by hacking > p31b_proc() to have a "read/write" flag, and a more lenient variant of > CAN_AFFECT() for read operations, my JDK works fine: but I don't feel > comfortable posting patches without understanding the security > ramifications more clearly > > The manpage for sched_getscheduler() doesn't document the permissions > very well, other than to defer to POSIX 1003.1b (which I don't have a > copy of, and SUSv2 is less than forthcoming) > > I would at least have thought that any process should at least be able > to get it's own scheduling parameter, and would have thought that this > was _not_ a "write-style" operation. Am I right? > > I was also wondering if it should be allowable for a non-root process to > set their scheduling parameters: I suppose this might lead to users > creating processes that could starve system processes. Should this > indeed be forbidden? (There's a #if 0'ed out version of CAN_AFFECT which > is much less paranoid, but there's no decent comment to describe why its > even there.) Can anyone shed (or even sched :-)) light on why CAN_AFFECT > is defined as it is? sched_setscheduler/sched_getscheduler are broken, permission wise, in both stable and current. In stable, permissions are too unreasonably restrictive, and in current too unreasonably loose. However, the sched_XXXX functions are mostly broken anyway. -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:13:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 48EE537B405 for ; Wed, 19 Jun 2002 08:12:59 -0700 (PDT) Received: from hades.hell.gr (patr530-b192.otenet.gr [212.205.244.200]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5JFCtqK016342; Wed, 19 Jun 2002 18:12:56 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5JCxE4B048390; Wed, 19 Jun 2002 15:59:14 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5JCxESE048389; Wed, 19 Jun 2002 15:59:14 +0300 (EEST) X-Authentication-Warning: hades.hell.gr: charon set sender to keramida@FreeBSD.org using -f Date: Wed, 19 Jun 2002 15:59:14 +0300 From: Giorgos Keramidas To: Evan Dower Cc: freebsd-hackers@FreeBSD.org Subject: Re: I Volunteer Message-ID: <20020619125913.GD45894@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2002-06-18 22:35 +0000, Evan Dower wrote: > I don't know who might have use of my services (or what my services > might be for that matter), but I hereby offer them up. I'm a student > at the University of Washington and I'll be applying to the Computer > Science major in February. I'd like to get involved with the OS that > is serving me so well. I'll do what I can to help with whatever. > Just let me know if anyone needs a minion. I could use the > experience. There are quite a few things that you can help with, if you're feeling like spending a bit of time in improving FreeBSD. I really do not like the term 'minion', since all contributions to the development of FreeBSD are considered valuable, important and something that both the developers and the rest of the FreeBSD users are grateful for. I'm not the one to speak as if I "represent" anyone, but all I can say is: by all means, do help in whichever ways you see fit. A nice starting place, is the article you can find at: http://www.FreeBSD.org/doc/en_US.ISO8895-1/articles/contributing/ This should provide enough pointers to get you started :) - Giorgos --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EIAh1g+UGjGGA7YRAsg6AJ4lhUJQPsQShUJsiKPUUgpW6hJRkgCfZ1aq 8nMQ0y7bLsFQReKZ9N4ntqQ= =Mp5H -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:20: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 30DF737B409; Wed, 19 Jun 2002 08:19:45 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 017EFAE162; Wed, 19 Jun 2002 08:19:44 -0700 (PDT) Date: Wed, 19 Jun 2002 08:19:44 -0700 From: Alfred Perlstein To: Trish Lynch Cc: Bill Flamerola , hackers@FreeBSD.ORG, chat@FreeBSD.ORG Subject: Re: The problem with FreeBSD Message-ID: <20020619151944.GB85935@elvis.mu.org> References: <20020619043457.K464-100000@femme.listmistress.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020619043457.K464-100000@femme.listmistress.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Trish Lynch [020619 03:01] wrote: > On Tue, 18 Jun 2002, Bill Flamerola wrote: > > > And I'm talking to you, stupid Alfred Perlstein. > > Alfred is an interesting person. He seems to be drunk most of the time, has > > never contributed anything important to the project, yet he likes to flame > > around all the time. > > As someone who has known Alfred a long time, yes, he can be an asshole, he > also does a hell of a lot of work, is willing to do "grunt" work, and > while these aren;t huge projects, he's filled in where needed. That says > so much more for his willingness to actually do something to advance the > project as a whole. I must commend your ability to pretend to stick up for someone and at the same time call them names and belittle their work. The difference between you and I is that I know when I'm being an asshole, you seem to be having a good time being able to blunder about not realizing it for the good part of your life. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:29:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id 8324037B41F; Wed, 19 Jun 2002 08:29:08 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5JFSmKB020396; Wed, 19 Jun 2002 11:28:50 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5JFSk2C020393; Wed, 19 Jun 2002 11:28:47 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Wed, 19 Jun 2002 11:28:46 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Alfred Perlstein Cc: Trish Lynch , Bill Flamerola , , Subject: Re: The problem with FreeBSD In-Reply-To: <20020619151944.GB85935@elvis.mu.org> Message-ID: <20020619112745.H464-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 19 Jun 2002, Alfred Perlstein wrote: > * Trish Lynch [020619 03:01] wrote: > > On Tue, 18 Jun 2002, Bill Flamerola wrote: > > > > > And I'm talking to you, stupid Alfred Perlstein. > > > Alfred is an interesting person. He seems to be drunk most of the time, has > > > never contributed anything important to the project, yet he likes to flame > > > around all the time. > > > > As someone who has known Alfred a long time, yes, he can be an asshole, he > > also does a hell of a lot of work, is willing to do "grunt" work, and > > while these aren;t huge projects, he's filled in where needed. That says > > so much more for his willingness to actually do something to advance the > > project as a whole. > > I must commend your ability to pretend to stick up for someone and > at the same time call them names and belittle their work. > > The difference between you and I is that I know when I'm being an > asshole, you seem to be having a good time being able to blunder > about not realizing it for the good part of your life. > If you would like to take offense, do so. Obviously you didn't really see what I was saying. It weas not meant to be belittling or anything of the sort. If you would like to take it that way, go ahead. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:33:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from proxy.centtech.com (moat.centtech.com [206.196.95.10]) by hub.freebsd.org (Postfix) with ESMTP id 1632A37B481; Wed, 19 Jun 2002 08:33:27 -0700 (PDT) Received: from sprint.centtech.com (sprint.centtech.com [10.177.173.31]) by proxy.centtech.com (8.11.6/8.11.6) with ESMTP id g5JFXK129533; Wed, 19 Jun 2002 10:33:20 -0500 (CDT) Received: (from root@localhost) by sprint.centtech.com (8.11.6+Sun/8.11.6) id g5JFXKa13738; Wed, 19 Jun 2002 10:33:20 -0500 (CDT) Received: from centtech.com (proton [10.177.173.77]) by sprint.centtech.com (8.11.6+Sun/8.11.6) with ESMTP id g5JFXH613726; Wed, 19 Jun 2002 10:33:17 -0500 (CDT) Message-ID: <3D10A43D.D21D189D@centtech.com> Date: Wed, 19 Jun 2002 10:33:17 -0500 From: Eric Anderson X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Trish Lynch Cc: Alfred Perlstein , hackers@freebsd.org, chat@freebsd.org Subject: Re: The problem with FreeBSD References: <20020619112745.H464-100000@femme.listmistress.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Don't give in to the dark side of the Force! This is exactly what Mr Hotmail wanted.. Eric ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology He who laughs last didn't get the joke. ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:54: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id 8DB8837B40E for ; Wed, 19 Jun 2002 08:53:55 -0700 (PDT) Received: from brain.timing.com (brain.timing.com [206.168.13.195]) by Daffy.timing.com (8.11.3/8.11.3) with ESMTP id g5JFroK71110; Wed, 19 Jun 2002 09:53:50 -0600 (MDT) (envelope-from jhein@timing.com) Received: from brain.timing.com (localhost [127.0.0.1]) by brain.timing.com (8.12.2/8.12.2) with ESMTP id g5JFrocq076177; Wed, 19 Jun 2002 09:53:50 -0600 (MDT) (envelope-from jhein@brain.timing.com) Received: (from jhein@localhost) by brain.timing.com (8.12.2/8.12.2/Submit) id g5JFrRYb076172; Wed, 19 Jun 2002 09:53:27 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15632.43255.450681.215587@brain.timing.com> Date: Wed, 19 Jun 2002 09:53:27 -0600 From: John E Hein To: kevin@wooten.com Cc: hackers@FreeBSD.ORG Subject: Retrieving interface MAC address In-Reply-To: References: X-Mailer: VM 7.03 under Emacs 21.1.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Kevin D. Wooten" wrote at 13:41:02 -0700 on 18 Jun 2002: > Thanks getifaddrs() works great, just one more thing is there a simple > way to tell the difference between "real" interfaces and virtual ones? I > could obviously exclude the easy ones ( i.e. lo, lp, faith, ... ) by > looking at the name, but I am not sure how many different virtual > interfaces there are ( or will be ). This gets link interfaces and further checks for just ethernet types: get_if_name(char if_name[IFNAMSIZ]) { struct ifaddrs *ifaphead; if (getifaddrs(&ifaphead) != 0) perror("get_if_name: getifaddr() failed"); else { bool found = false; struct ifaddrs *ifap; for (ifap = ifaphead; ifap && !found; ifap = ifap->ifa_next) { if ((ifap->ifa_addr->sa_family == AF_LINK) && (((struct sockaddr_dl *) ifap->ifa_addr)->sdl_type == IFT_ETHER)) { found = true; strlcpy(if_name, ifap->ifa_name, IFNAMSIZ); printf("found ethernet if: %s\n", if_name); } } if (!found) { fprintf(stderr, "get_if_name: did not find ethernet if\n"); strlcpy(if_name, "", IFNAMSIZ); } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:54:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 403EE37B410; Wed, 19 Jun 2002 08:53:58 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5JFrr132642; Wed, 19 Jun 2002 10:53:53 -0500 Date: Wed, 19 Jun 2002 10:53:53 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: freebsd-multimedia@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: midi on FreeBSD 4.5: good progress! i now have a midi.ko based on the tanimura-san code. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi; since i mentioned about two months ago that i was going to work on finishing the midi code that seigo tanimura-san stopped working on in 1999 (http://people.freebsd.org/~tanimura/newmidi/) i thought it might be appropriate to report on my progress. good news is that i have successfully built and loaded a midi.ko from this code base. the files in the code are midi.c, midibuf.c sequencer.c midisynth.c and the associated header files. A. it compiles without errors or warnings. B. it loads and unloads repeatedly without exploding my laptop. bad news is that it's utterly comatose. :-) one might argue that good news B. is dependent on the fact that this module is comatose, because once i get it to the point where it actually does something ( i am gonna try to get /dev/midistat to work first ) it will probably start trashing my laptop with great frequency. :-) the conversion to a kld was greatly facilitated by the articles in the dev handbook and on daemonnews. tnx so much to all the doc writers! i'll write one too once i get this to work. my next activity will be to compare the code in /usr/src/sys/dev/sound against the stuff that i have currently and try to ascertain what it is that i am doing wrong. if somebody with commit priveledges would get in touch with me about eventually checking this stuff in i would really appreciate it. tnx! johnu -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 8:57:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id C891B37B404 for ; Wed, 19 Jun 2002 08:57:54 -0700 (PDT) Received: from brain.timing.com (brain.timing.com [206.168.13.195]) by Daffy.timing.com (8.11.3/8.11.3) with ESMTP id g5JFvrK71136; Wed, 19 Jun 2002 09:57:53 -0600 (MDT) (envelope-from jhein@timing.com) Received: from brain.timing.com (localhost [127.0.0.1]) by brain.timing.com (8.12.2/8.12.2) with ESMTP id g5JFvrcq076195; Wed, 19 Jun 2002 09:57:53 -0600 (MDT) (envelope-from jhein@brain.timing.com) Received: (from jhein@localhost) by brain.timing.com (8.12.2/8.12.2/Submit) id g5JFvraY076192; Wed, 19 Jun 2002 09:57:53 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15632.43520.992789.967232@brain.timing.com> Date: Wed, 19 Jun 2002 09:57:52 -0600 From: John E Hein To: kevin@wooten.com Cc: hackers@FreeBSD.ORG Subject: Retrieving interface MAC address In-Reply-To: <15632.43255.450681.215587@brain.timing.com> References: <15632.43255.450681.215587@brain.timing.com> X-Mailer: VM 7.03 under Emacs 21.1.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John E Hein wrote at 09:53 -0600 on Jun 19: > "Kevin D. Wooten" wrote at 13:41:02 -0700 on 18 Jun 2002: > > Thanks getifaddrs() works great, just one more thing is there a simple > > way to tell the difference between "real" interfaces and virtual ones? I > > could obviously exclude the easy ones ( i.e. lo, lp, faith, ... ) by > > looking at the name, but I am not sure how many different virtual > > interfaces there are ( or will be ). > > This gets link interfaces and further checks for just ethernet types: > > get_if_name(char if_name[IFNAMSIZ]) > { > struct ifaddrs *ifaphead; > > if (getifaddrs(&ifaphead) != 0) > perror("get_if_name: getifaddr() failed"); > else > { > bool found = false; > struct ifaddrs *ifap; > > for (ifap = ifaphead; ifap && !found; ifap = ifap->ifa_next) > { > if ((ifap->ifa_addr->sa_family == AF_LINK) > && (((struct sockaddr_dl *) ifap->ifa_addr)->sdl_type == > IFT_ETHER)) > { > found = true; > strlcpy(if_name, ifap->ifa_name, IFNAMSIZ); > printf("found ethernet if: %s\n", if_name); > } > } > if (!found) > { > fprintf(stderr, "get_if_name: did not find ethernet if\n"); > strlcpy(if_name, "", IFNAMSIZ); > } > } > } Minor correction... that just finds the first match (which was just what my app needed ;). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 9: 5:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id A61A737B400; Wed, 19 Jun 2002 09:05:20 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5JG5BKB020589; Wed, 19 Jun 2002 12:05:13 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5JG5AuG020586; Wed, 19 Jun 2002 12:05:11 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Wed, 19 Jun 2002 12:05:09 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Cc: Subject: Alfred and Trish crap Message-ID: <20020619120059.M464-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG has now been taken offlist, if he wants to feel free to air dirty laundry on-list, I don't honestly. Sorry for the disruption, I will however publically apologize that I said something that he took offense to in defense of him. Being the one who does "grunt" work is a thankless job, and I was attempting to bring some attention to it. Its like the Marines, first-in-last-out. But I realize that my ramblings at 3 am may have offended, and for that I'm sorry. It was not meant to be an attack or anything else. But since this has no happened, I have decided to also leave the BSD community. With a baby on the way, and a family to deal with soon, I really have no time for the petty arguments and politics happening lately. I hope that my last few years helping out in the advocacy areas was productive. Sorry that I gave "Mr. Hotmail" what he wanted, but I don;t have time for this. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 9:31:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lariat.org (lariat.org [63.229.157.2]) by hub.freebsd.org (Postfix) with ESMTP id B6EBC37B401; Wed, 19 Jun 2002 09:31:28 -0700 (PDT) Received: from mustang.lariat.org (IDENT:ppp0.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id KAA20476; Wed, 19 Jun 2002 10:31:08 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20020619102758.023b2960@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 19 Jun 2002 10:30:59 -0600 To: "Brandon D. Valentine" From: Brett Glass Subject: Re: The problem with FreeBSD Cc: Bill Flamerola , hackers@FreeBSD.ORG, chat@FreeBSD.ORG In-Reply-To: <20020618145405.C11808-100000@dallben.homeportal.2wire.net> References: <4.3.2.7.2.20020618134059.00e05bf0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 02:08 PM 6/18/2002, Brandon D. Valentine wrote: >Perhaps you should qualify your definition of "good points". I saw no >evidence behind any accusations made. I saw ad hominem attacks calling >FreeBSD developers assholes Some of them do act that way at times. >and drunkards. Don't know about that part. >Brett, I've been reading your postings long enough to know you're an >argumentative sort Am not! ;-) >and also that your mien seems to be self-perpetuating >because people now approach you as if to have an argument. Some people seem to WANT arguments, and intentionally approach people whom they think will give them a challenging one. They do this to Terry and others too. I'm reminded of the Monty Python skit: "I'd like an argument, please." Alas, as in the skit, they too often wind up hurling abuse (which may have been what they really wanted to do). --Brett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 10:19:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail04.svc.cra.dublin.eircom.net (mail04.svc.cra.dublin.eircom.net [159.134.118.20]) by hub.freebsd.org (Postfix) with SMTP id 586D537B414 for ; Wed, 19 Jun 2002 10:19:16 -0700 (PDT) Received: (qmail 23758 messnum 1152883 invoked from network[159.134.237.75/jimbo.eircom.net]); 19 Jun 2002 17:19:15 -0000 Received: from jimbo.eircom.net (HELO webmail.eircom.net) (159.134.237.75) by mail04.svc.cra.dublin.eircom.net (qp 23758) with SMTP; 19 Jun 2002 17:19:15 -0000 From: "Peter Edwards" To: "Richard Seaman, Jr." Cc: hackers@freebsd.org Subject: Re: sched_setscheduler() permissions and the linux JDK 1.4 Date: Wed, 19 Jun 2002 18:19:15 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Originating-IP: 62.17.151.61 X-Mailer: Eircom Net CRC Webmail (http://www.eircom.net/) Organization: Eircom Net (http://www.eircom.net/) Message-Id: <20020619171916.586D537B414@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Richard Seaman, Jr." wrote: > sched_setscheduler/sched_getscheduler are broken, permission wise, in > both stable and current. In stable, permissions are too unreasonably > restrictive, and in current too unreasonably loose. Can you either describe what would be acceptable, or point me to somewhere that does? (Without having to fork out €BIGNUM to a standards body.) If I can get a decent description, I'm sure I can come up with something that comes closer to the standard, and doesnt produce as many unpleasant surprises for linux apps. > However, the sched_XXXX functions are mostly broken anyway. In what way? Is there something broken in their local implementation, a lack of semantically adequate mappings to the FreeBSD scheduler, or a general lack of functionality in the BSD rtprio stuff it maps to? -- Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 10:21:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A44D437B435; Wed, 19 Jun 2002 10:21:07 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 4A8FCAE2AB; Wed, 19 Jun 2002 10:21:07 -0700 (PDT) Date: Wed, 19 Jun 2002 10:21:07 -0700 From: Alfred Perlstein To: Don Lewis Cc: jhb@freebsd.org, hackers@freebsd.org Subject: Re: Suggested fixes for uidinfo "would sleep" messages Message-ID: <20020619172107.GF85935@elvis.mu.org> References: <20020619061332.GA85935@elvis.mu.org> <200206190810.g5J8AKM1065115@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206190810.g5J8AKM1065115@gw.catspoiler.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG re execve() issues... * Don Lewis [020619 01:10] wrote: > On 18 Jun, Alfred Perlstein wrote: > > Thanks a ton for taking care of it, your patch is actually cleaner > > than what I had started on, I'll be committing it shortly. > > While you're working in this area, take a look at execve(). If the > fdcheckstd() test fails, we leak ucred and uidinfo structures, and also > leave the proc locked. The fix is pretty straightforward. I'm a bit confused actually, it looks like just unlocking the proc and then moving the 'exec_fail_dealloc' label higher would fix it, except I'm not sure about the: /* * Handle deferred decrement of ref counts. */ if (textvp != NULL) vrele(textvp); #ifdef KTRACE if (tracevp != NULL) vrele(tracevp); #endif pargs_drop(oldargs); part... should that be before or after exec_fail_dealloc? Any ideas? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 10:24: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id E971E37B408; Wed, 19 Jun 2002 10:23:52 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id A6DE4AE027; Wed, 19 Jun 2002 10:23:52 -0700 (PDT) Date: Wed, 19 Jun 2002 10:23:52 -0700 From: Alfred Perlstein To: Don Lewis Cc: jhb@freebsd.org, hackers@freebsd.org Subject: Re: Suggested fixes for uidinfo "would sleep" messages Message-ID: <20020619172352.GH85935@elvis.mu.org> References: <20020619061332.GA85935@elvis.mu.org> <200206190810.g5J8AKM1065115@gw.catspoiler.org> <20020619172107.GF85935@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020619172107.GF85935@elvis.mu.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Alfred Perlstein [020619 10:22] wrote: > re execve() issues... > > * Don Lewis [020619 01:10] wrote: > > On 18 Jun, Alfred Perlstein wrote: > > > Thanks a ton for taking care of it, your patch is actually cleaner > > > than what I had started on, I'll be committing it shortly. > > > > While you're working in this area, take a look at execve(). If the > > fdcheckstd() test fails, we leak ucred and uidinfo structures, and also > > leave the proc locked. The fix is pretty straightforward. > > I'm a bit confused actually, it looks like just unlocking the proc > and then moving the 'exec_fail_dealloc' label higher would fix it, > except I'm not sure about the: > > /* > * Handle deferred decrement of ref counts. > */ > if (textvp != NULL) > vrele(textvp); > #ifdef KTRACE > if (tracevp != NULL) > vrele(tracevp); > #endif > pargs_drop(oldargs); > > part... should that be before or after exec_fail_dealloc? > > Any ideas? This is what I have so far, I'll look at it more, but I'm a bit cafinated and irritated (at other things) at the current moment. :) Index: kern_exec.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_exec.c,v retrieving revision 1.165 diff -u -r1.165 kern_exec.c --- kern_exec.c 19 Jun 2002 06:39:24 -0000 1.165 +++ kern_exec.c 19 Jun 2002 17:18:32 -0000 @@ -385,8 +385,10 @@ #endif /* Make sure file descriptors 0..2 are in use. */ error = fdcheckstd(td); - if (error != 0) + if (error != 0) { + PROC_UNLOCK(p); goto exec_fail_dealloc; + } /* * Set the new credentials. */ @@ -471,6 +473,8 @@ } PROC_UNLOCK(p); +exec_fail_dealloc: + /* * Free any resources malloc'd earlier that we didn't use. */ @@ -490,8 +494,6 @@ vrele(tracevp); #endif pargs_drop(oldargs); - -exec_fail_dealloc: /* * free various allocated resources To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 11:13:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by hub.freebsd.org (Postfix) with ESMTP id D7F1937B406 for ; Wed, 19 Jun 2002 11:13:46 -0700 (PDT) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.3/8.12.3) with ESMTP id g5JIDheR083324; Wed, 19 Jun 2002 13:13:44 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g5JIDhM31303; Wed, 19 Jun 2002 13:13:43 -0500 Date: Wed, 19 Jun 2002 13:13:42 -0500 From: "Richard Seaman, Jr." To: Peter Edwards Cc: "Richard Seaman, Jr." , hackers@FreeBSD.ORG Subject: Re: sched_setscheduler() permissions and the linux JDK 1.4 Message-ID: <20020619131342.I20472@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Peter Edwards , hackers@FreeBSD.ORG References: <20020619171916.586D537B414@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020619171916.586D537B414@hub.freebsd.org>; from pmedwards@eircom.net on Wed, Jun 19, 2002 at 06:19:15PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Jun 19, 2002 at 06:19:15PM +0100, Peter Edwards wrote: > "Richard Seaman, Jr." wrote: > > > sched_setscheduler/sched_getscheduler are broken, permission wise, in > > both stable and current. In stable, permissions are too unreasonably > > restrictive, and in current too unreasonably loose. > > Can you either describe what would be acceptable, or point me to > somewhere that does? (Without having to fork out €BIGNUM to a standards > body.) > > If I can get a decent description, I'm sure I can come up with something > that comes closer to the standard, and doesnt produce as many unpleasant > surprises for linux apps. I'm not aware of any standard for permissions. But, the permissions in rtprio(2) are probably right for sched_get/setscheduler and sched_get/setparam. I have a patch for the permissions in current, but this is just a temporary hack because there are deeper issues. I've attached it. > > However, the sched_XXXX functions are mostly broken anyway. > > In what way? Is there something broken in their local implementation, > a lack of semantically adequate mappings to the FreeBSD scheduler, or > a general lack of functionality in the BSD rtprio stuff it maps to? All the above. Its been on my "todo" list for quite a while to try to describe and fix the brokenness. The list is too long for a simple message. And, there are different issues in current vs. stable. -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff Index: p1003_1b.c =================================================================== RCS file: /home/ncvs/src/sys/posix4/p1003_1b.c,v retrieving revision 1.19 diff -u -r1.19 p1003_1b.c --- p1003_1b.c 19 May 2002 00:14:49 -0000 1.19 +++ p1003_1b.c 2 Jun 2002 18:26:53 -0000 @@ -201,6 +201,10 @@ targettd = td; PROC_LOCK(targetp); } else { + if (suser(td) != 0) { + e = EPERM; + goto done2; + } targetp = pfind(uap->pid); if (targetp == NULL) { e = ESRCH; @@ -210,6 +214,8 @@ } e = p_cansched(td, targetp); + if (e == 0 && uap->policy != SCHED_OTHER && suser(td) != 0) + e = EPERM; PROC_UNLOCK(targetp); if (e == 0) { e = ksched_setscheduler(&td->td_retval[0], ksched, targettd, --+HP7ph2BbKc20aGI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 11:52:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from vienna9.his.com (vienna9.his.com [216.200.68.14]) by hub.freebsd.org (Postfix) with ESMTP id 2E8E037B405; Wed, 19 Jun 2002 11:52:48 -0700 (PDT) Received: from [1.141.31.164] (root@LOCALHOST [127.0.0.1]) by vienna9.his.com (8.11.6/8.10.1) with ESMTP id g5J9N1n00541; Wed, 19 Jun 2002 05:23:16 -0400 (EDT) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20020617144210.L464-100000@femme.listmistress.org> References: <20020617144210.L464-100000@femme.listmistress.org> X-Grok: +++ath X-WebTV-Stationery: Standard; BGColor=black; TextColor=black Reply-By: Wed, 1 Jan 1984 12:34:56 +0100 X-Message-Flag: Your copy of Outlook will expire in 3 days. Please contact Microsoft about purchasing a new license. Remember: software piracy is a felony! Date: Wed, 19 Jun 2002 10:57:28 +0200 To: Trish Lynch , , From: Brad Knowles Subject: Re: MDFUG Announcement Cc: Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 2:58 PM -0400 2002/06/17, Trish Lynch wrote: > I am pleased to announce the start of a local FreeBSD User Group in the > DC/Baltimore/Annapolis area. You may want to send a notice to the OldBaySAGE and dc.sage groups. They're the two main SAGE locals in the DC & Baltimore areas. See and . -- Brad Knowles, "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 11:55:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7FFAD37B405 for ; Wed, 19 Jun 2002 11:55:35 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 19 Jun 2002 19:55:31 +0100 (BST) To: Andy Sporner Cc: freebsd-hackers Subject: Re: Kernel Panic using kproc_exit() on FreeBSD 5.0-20020302-PREVIEW In-Reply-To: Your message of "Mon, 17 Jun 2002 11:47:13 +0200." <3D0DB021.4080102@nentec.de> Date: Wed, 19 Jun 2002 19:55:30 +0100 From: Ian Dowse Message-ID: <200206191955.aa29511@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3D0DB021.4080102@nentec.de>, Andy Sporner writes: >SYSINIT(modtcpd, SI_SUB_KTHREAD_BUF, SI_ORDER_FIRST, kproc_start, &kp) >static void modtcpd(void) >{ > tsleep(0x0dead0001, 0, "General Wait", 400); > kthread_exit(0); >} ... >panic: mutex Giant not owned at ../../../kern/kern_exit.c"131 If you haven't guessed already by looking at other kernel threads, you need to "mtx_lock(&Giant);" before calling kthread_exit(). Most kthreads acquire Giant at the start and hold it throughout their execution (it it implicitly dropped when the thread is sleeping). You should do this too unless you are sure that all operations that the thread is performing are safe to do without Giant. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 11:59:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gypsy.cad.gatech.edu (gypsy.cad.gatech.edu [130.207.84.16]) by hub.freebsd.org (Postfix) with ESMTP id 67F1C37B443 for ; Wed, 19 Jun 2002 11:58:44 -0700 (PDT) Received: from gypsy.cad.gatech.edu (localhost [127.0.0.1]) by gypsy.cad.gatech.edu (8.12.3/8.12.3) with ESMTP id g5JIwhIB008611 for ; Wed, 19 Jun 2002 14:58:43 -0400 (EDT) Received: (from gte743n@localhost) by gypsy.cad.gatech.edu (8.12.3/8.12.2/Submit) id g5JIwhhO008610 for freebsd-hackers@freebsd.org; Wed, 19 Jun 2002 14:58:43 -0400 (EDT) Date: Wed, 19 Jun 2002 14:58:43 -0400 From: Joseph Holland King To: freebsd-hackers@freebsd.org Subject: Re: I Volunteer Message-ID: <20020619185843.GB8337@cad.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 19, 2002 at 12:11:43AM -0600, John Nielsen had the gall to say: > looking-over. Some reports are outdated and just need to be closed; some > have a working patch included but have fallen through the cracks; and what is the proper method with dealing with these? i have found several that just need to be closed and nothing more but don't know how to proceed. thank you. -- Holland King gte743n@cad.gatech.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 12:12: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smurf.jnielsen.net (12-254-136-47.client.attbi.com [12.254.136.47]) by hub.freebsd.org (Postfix) with ESMTP id 6C89037B40E for ; Wed, 19 Jun 2002 12:11:57 -0700 (PDT) Received: from max (max.local [192.168.0.9]) by smurf.jnielsen.net (8.12.3/8.12.3) with SMTP id g5JJLRNJ017731 for ; Wed, 19 Jun 2002 13:21:27 -0600 (MDT) (envelope-from hackers@jnielsen.net) Message-ID: <01d601c217c5$4db774e0$0900a8c0@max> From: "John Nielsen" To: References: <20020619185843.GB8337@cad.gatech.edu> Subject: Re: I Volunteer Date: Wed, 19 Jun 2002 13:12:49 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Joseph Holland King" To: Sent: Wednesday, June 19, 2002 12:58 PM Subject: Re: I Volunteer Apparently I have the gall to say a lot of things. :) > On Wed, Jun 19, 2002 at 12:11:43AM -0600, John Nielsen had the gall to say: > > looking-over. Some reports are outdated and just need to be closed; some > > have a working patch included but have fallen through the cracks; and > > what is the proper method with dealing with these? i have found several that > just need to be closed and nothing more but don't know how to proceed. > thank you. Assuming you're not a committer, you need to bring it to the attention of someone who is. Add a comment with your name and contact info (as well as why you think it should be closed if it's not obvious) to the PR. Then, if the PR is assigned to anyone in particular, check with them. If not, e-mailing the appropriate list (-stable, -current, -doc, etc) with the PR number is usually sufficient. JN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 12:15:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 6507937B404 for ; Wed, 19 Jun 2002 12:15:04 -0700 (PDT) Received: from bullseye.apana.org.au (dialup-1.acis.com.au [203.14.230.80] (may be forged)) by posgate.acis.com.au (8.11.6/8.11.6) with ESMTP id g5JJF0j01323 for ; Thu, 20 Jun 2002 05:15:00 +1000 Received: from bullseye.apana.org.au (tenring.andymac.org [203.9.107.238]) by bullseye.apana.org.au (8.11.6/8.11.6) with ESMTP id g5JCxh310117 for ; Wed, 19 Jun 2002 22:59:43 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Wed, 19 Jun 2002 22:54:49 +1100 (edt) From: Andrew MacIntyre To: Subject: signals in apps built with -pthread Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY="1715413041-547168944-1022835651=:17749" Content-ID: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1715413041-547168944-1022835651=:17749 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: [originally posted to -questions on June 2, with no response. If this doesn't belong on this list, please say so.] This question is in the context of a scripting language interpreter (Python) which is built with threads (gcc -pthread), but which is used to run scripts which don't activate any threads. In such instances, signal handling differs from an interpreter built without threads. The attached C code is a simple example of a signal handling situation which works in the non-threaded interpreter, but fails in a threaded interpreter. When compiled without -pthread (ie gcc -o sigp sigp.c), the attached code behaves as expected like so: $ ./sigp 1, run 2 $ When compiled with -pthread (ie gcc -pthread -o sigp sigp.c): $ ./sigp and then it hangs. Sending it a SIGHUP from another terminal has no effect, but other likely signals (eg SIGINT) kill it. There appears to have been a thread on a closely related topic, found at (long URL): http://groups.google.com/groups?hl=en&lr=&threadm=fa.n97llov.1lict2d%40ifi.uio.no However, no information from that thread has illuminated the situation at hand. Having two interpreter executables (with and without threads) is unpalatable. Is there any way that the thread enabled interpreter can be setup to handle signals in the same way, in the absence of activated threads, as it would without thread support? (without disturbing the signal handling when threads _are_ activated, of course...) Thanks for any advice, Andrew. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia --1715413041-547168944-1022835651=:17749 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="sigp.c" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="sigp.c" I2luY2x1ZGUgPHN0ZGxpYi5oPg0KI2luY2x1ZGUgPHNpZ25hbC5oPg0KI2lu Y2x1ZGUgPHN0ZGlvLmg+DQoNCnZvbGF0aWxlIGludCBydW4gPSAwOw0KDQoj ZGVmaW5lIFJVTihpKSBpZiAocnVuKSBwcmludGYoInJ1biAlZFxuIixpKQ0K DQp2b2lkDQpkb19ub3RoaW5nKGludCBzaWdudW0pDQp7DQoJcnVuID0gMTsN CglyZXR1cm47DQp9DQoNCnZvaWQNCnByaW50X3NpZ3NldChjb25zdCBzaWdz ZXRfdCogc2V0KQ0Kew0KCWludCBzaWc7DQoNCglmb3IgKHNpZyA9IDE7IHNp ZyA8IE5TSUc7IHNpZysrKSB7DQoJCWlmIChzaWdpc21lbWJlcihzZXQsIHNp ZykpIHsNCgkJCXByaW50ZigiJWQsICIsIHNpZyk7DQoJCX0NCgl9DQoJcHJp bnRmKCJcbiIpOw0KfQ0KDQppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFy Z3YpDQp7DQoJc2lnc2V0X3Qgc2V0Ow0KCXN0cnVjdCBzaWdhY3Rpb24gYWN0 aW9uOw0KDQoJYWN0aW9uLnNhX2hhbmRsZXIgPSBkb19ub3RoaW5nOw0KCXNp Z2VtcHR5c2V0KCZhY3Rpb24uc2FfbWFzayk7DQoJYWN0aW9uLnNhX2ZsYWdz ID0gMDsNCg0KCXNpZ2VtcHR5c2V0KCZzZXQpOw0KDQoJc2lnYWRkc2V0KCZz ZXQsIFNJR0hVUCk7DQoNCglzaWdwcm9jbWFzayhTSUdfQkxPQ0ssICZzZXQs IE5VTEwpOw0KDQoJc2lnYWN0aW9uKFNJR0hVUCwgJmFjdGlvbiwgTlVMTCk7 DQoNCglraWxsKGdldHBpZCgpLCBTSUdIVVApOw0KDQoJUlVOKDApOw0KCQ0K CXNpZ3BlbmRpbmcoJnNldCk7DQoNCglwcmludF9zaWdzZXQoJnNldCk7DQoN CglzaWdlbXB0eXNldCgmc2V0KTsNCg0KCVJVTigxKTsNCg0KCXNpZ3N1c3Bl bmQoJnNldCk7DQoNCglSVU4oMik7DQoNCglyZXR1cm4gMDsNCn0NCg== --1715413041-547168944-1022835651=:17749-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 12:47:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 0A93737B401 for ; Wed, 19 Jun 2002 12:47:40 -0700 (PDT) Received: from pool0424.cvx40-bradley.dialup.earthlink.net ([216.244.43.169] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17KlLl-0002Hh-00; Wed, 19 Jun 2002 12:42:41 -0700 Message-ID: <3D10DE8B.F259D0BA@mindspring.com> Date: Wed, 19 Jun 2002 12:42:03 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrey Simonenko Cc: freebsd-hackers@freebsd.org Subject: Re: Is it possible to store process state and then restore process References: <006401c21793$30721750$6d36120a@pm5149> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrey Simonenko wrote: > Suppose there is a process, let this process doesn't have any > childs, open sockets, it has one thread, etc. But this process > can malloc() memory, open local files. Let's take very simple case. > > Is it possible to store process state to the file (i.e. say > somehow the kernel to do this), and then after rebooting restore > from the file this process back to system and continue executing it? > > I understand that it is not very simple, but I want to know if it is > possible. Are there any problem with memory addressetion? Do a web search on the two terms "checkpoint restart". You can also do a web search on the term "undump". In a general sense, this won't be able to work for any process which uses sockets, because the endpoint information will not be recoverable (in case you decide to not take the "simple case" in the future). It's possible to make it (mostly) recoverable, but it requires modifications, such as pausing the TCP stack so that after reboot, but before checkpointed jobs that will be restarted are recovered, since you don't want to be sending RST packets to the peers on network connections. As a rule, most checkpoint and restart systems that you will find out there on the net when you run the search will also not support things like re-sharing of descriptors for a set of processes that have used UNIX domain sockets to pass them, maintaining proper parent/child process relationships for things like SIGCHLD, etc.. You should assume that anything you checkpoint will be restarted on another machine halfway around the planet, without any of the other local processes running. Anything having to do with pending outstanding operations (e.g. alarms, I/O, etc.) will require OS support to recover. Since it's a lot simpler to restart a long running application *almost* where it left off, most of the useful and non-invasive packages you will find from your web search will try to do a periodic snapshot of process state, and restore it from the point of last snapshot, not failure. This will also lose any implied IPC state, so it's best if the application in question is written to open any resources, access them, close them, do the long term computation, and then open and write an output file only after it's done, rather than, say, holding the output file open. If the output file is written incrementally, you will likely end up with duplicate results, otherwise. For these reasons, and others I haven't mentioned, you will probably be most happy with "undump", unless you plan on doing a large project. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 12:48:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scl8out02.exodus.net (scl8out02.exodus.net [66.35.230.242]) by hub.freebsd.org (Postfix) with ESMTP id E2E5837B403 for ; Wed, 19 Jun 2002 12:48:45 -0700 (PDT) Received: from SJDCEX01.int.exodus.net ([165.193.27.80]) by SCL8OWA02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Sat, 15 Jun 2002 08:51:49 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: sorting in C Date: Sat, 15 Jun 2002 08:51:49 -0700 Message-ID: <45258A4365C6B24A9832BFE224837D552B1233@SJDCEX01.int.exodus.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sorting in C Thread-Index: AcIUCrGmWVpTYhZMT+SPwjtA+Dn1OgAeaZkq From: "Maksim Yevmenkin" To: "Cyrille Lefevre" , "echo dev" Cc: X-OriginalArrivalTime: 15 Jun 2002 15:51:49.0600 (UTC) FILETIME=[8F86A600:01C21484] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 14, 2002 at 07:06:06AM +0000, echo dev wrote: > > I am pooling in as many different ways of sorting data in C i can = anyone=20 > > have a fav??? If anyone can give me some ideas on the best way to = sort > data=20 > > in C would be helpful.. Thanks > > is that references helping you ? > > qsort(3), bsearch(3), hsearch(3), lsearch(3), db(3). enough already :) http://www.nist.gov/dads thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 13: 8:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.broadpark.no (217-13-4-9.dd.nextgentel.com [217.13.4.9]) by hub.freebsd.org (Postfix) with ESMTP id 2BE0037B40C for ; Wed, 19 Jun 2002 13:08:20 -0700 (PDT) Received: from antares (80-202-4-159.dd.nextgentel.com [80.202.4.159]) by mail.broadpark.no (Postfix) with SMTP id D45447DFE for ; Wed, 19 Jun 2002 22:08:17 +0200 (MEST) Message-ID: <004501c217cd$12cca050$0201a8c0@antares> From: "Antonio Bravo" To: References: <20020619074442.0B59B55B1@bert.kts.org> Subject: Re: The problem with FreeBSD Date: Wed, 19 Jun 2002 22:08:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Okay, this is not really intended as a flame, but kinda necessary, given the >current situation in the FreeBSD camp. > >Let's see, some weeks ago a couple of people dropped >their ports >maintainership, why did this happen? Sergey dropped >his ports because David >O'Brien is an asshole. Yes, no news, we all know that. >Asmodai resigned some >days ago, why? Because fucking Bill Fumerola is a royal >asshole. Has fucking >Bill Fumerola ever done any worthwhile work for >FreeBSD? NO. He prefers to >spend his time flaming other people. FUCK YOU >FUMEROLA! > >Jordan Hubbard left, Mike Smith left. Why? Because a >large number of the >people involved in FreeBSD are either assholes or >hypocrites. What's the >prefered game in #bsdcode? Right, flaming Terry >Lambert. Terry may not be >perfect, but he has *never* insulted anyone, he's a nice >person to talk to, >and pretty often comes up with nice ideas. I'm talking to >you, fucking Hiten >Pandya, damned asshole. And I'm talking to you, stupid >Alfred Perlstein. >Alfred is an interesting person. He seems to be drunk >most of the time, has >never contributed anything important to the project, yet >he likes to flame >around all the time. > >Matthew Dillon is one of the few hackers worth his salt, >what does he get in >return? A 5 day commit bit suspension. Matt, please, >join NetBSD, they need >help in the SMP code, and leave all these hypocrites >alone. > >David O'Brien -> good hacker but a total asshole >Dag-Erling Smorgrav -> a total asshole >Alfred Perlstein -> drunktard and hypocrite >Bill Fumerola -> The überasshole, FUCK >FUMEROLA!!!! >Kris Kennaway -> Hyprocrite >Hiten Pandya -> an IMBECILE, grow up fucking >moron > >You all owe Terry Lambert an apology, stupid >hypocrites. > >To the rest of the people, jump shit now, and join >NetBSD while you can. >FreeBSD is not worth the hassle. > > > >_________________________________________________________________ >Join the world's largest e-mail service with MSN >Hotmail. >http://www.hotmail.com > > >To Unsubscribe: send mail to >majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the >message Oooooh!! -??- I'm reading BSD lists for a while...valuable. - OpenBSD: One found some US kiddies using more or less slang on OpenBSD, but excepted the now old war between Theo De Raadt and some other guys of NetBSD - the petty war that created the new state in BSDland (=OpenBSD) - there are really few flames or silly talks. - NetBSD: I do not remember rude and non-technical topics.Excepted previous: the De Raadt case.And I guess De Raadt was ok, he is an extremely clever and efficient hacker...so his straight talking is just superficial.Like some artists... - FreeBSD: The FreeBSD foundation is one of the best thing in the area of computing: the unix spirit of research and freedom plus a broad audience, many balanced figures like Hubbard and Lehey , dedicated to some noble goal.This is just like Renaissance Humanism, but in computers science. And now I read this post from Fumerola : ??? Anyway: not important. I hope there aren't really serious ego problems at FreeBSD, I mean problems that could damage the development itself. About Hubbard: I guess he has became just too busy with Apple, and well, so many years at core FreeBSD... To talk more technical: "the problem with FreeBSD" for me is this one: why no implementation of the ATA cd-rom access as a scsi one ? that makes things much easier for the burning process among other things.The ata <--> scsi code is in Net, Open ( and Linux) for a while now and works fine. You see: this not a theological problem :-)... Antonio - an "advanced" BSD luser... NB: I apologize.I write this on OutLook under w2k, because I need sometimes to use that anyway.But when more software will be ported to unix the world will burn micro$oft... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 14:31:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.kozubik.com (www.kozubik.com [198.78.70.162]) by hub.freebsd.org (Postfix) with ESMTP id 7F44737B406 for ; Wed, 19 Jun 2002 14:31:23 -0700 (PDT) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id g5JLQlG41990; Wed, 19 Jun 2002 14:26:47 -0700 (PDT) (envelope-from john@kozubik.com) Date: Wed, 19 Jun 2002 14:26:47 -0700 (PDT) From: John Kozubik X-Sender: john@www To: Michael Alyn Miller Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: jail with multiple IPs (patch) In-Reply-To: <949.2.1024497148909@malyn.eiomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Multiple IP jails are a _highly_ sought after feature in certain environments. I'm very excited to test this patch. ----- John Kozubik - john@kozubik.com - http://www.kozubik.com On Wed, 19 Jun 2002, Michael Alyn Miller wrote: > Hi, Julian, > > > I apreciate that you have done this work, but I have a question.... > > "why would it be useful?" Do you have a need for it or is this > > an aesthetic issue? > > I am looking at using a jail-based colocation provider, but the lack > of multiple IP addresses in the jail would be a problem for me. So > I went in and solved the problem. Some of the past messages > that I read on the subject indicated that other FreeBSD users were > looking for a way to get multiple IP addresses in jails as well. > > Michael Alyn Miller > > ------------------------------- > The best kept secret in e-mail. > http://eioMAIL.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 14:41:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from net2.gendyn.com (gate2.gendyn.com [204.60.171.23]) by hub.freebsd.org (Postfix) with ESMTP id 4E69B37B40A for ; Wed, 19 Jun 2002 14:41:17 -0700 (PDT) Received: from [153.11.11.3] (helo=ebnext01) by net2.gendyn.com with esmtp (Exim 2.12 #1) id 17KnCO-000Hj6-00 for freebsd-hackers@freebsd.org; Wed, 19 Jun 2002 17:41:08 -0400 Received: from clcrtr.gdeb.com ([153.11.109.11]) by ebnext01 with SMTP id g5JLf5dG044970; Wed, 19 Jun 2002 17:41:06 -0400 Received: from vigrid.com (gpz.clc.gdeb.com [192.168.3.12]) by clcrtr.gdeb.com (8.11.4/8.11.4) with ESMTP id g5J0BVE00923; Tue, 18 Jun 2002 20:11:31 -0400 (EDT) (envelope-from eischen@vigrid.com) Message-ID: <3D10FA39.878E8703@vigrid.com> Date: Wed, 19 Jun 2002 17:40:09 -0400 From: Daniel Eischen X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Andrew MacIntyre Cc: freebsd-hackers@freebsd.org Subject: Re: signals in apps built with -pthread References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew MacIntyre wrote: > > [originally posted to -questions on June 2, with no response. If this > doesn't belong on this list, please say so.] > > This question is in the context of a scripting language interpreter > (Python) which is built with threads (gcc -pthread), but which is > used to run scripts which don't activate any threads. > > In such instances, signal handling differs from an interpreter built > without threads. > > The attached C code is a simple example of a signal handling situation > which works in the non-threaded interpreter, but fails in a threaded > interpreter. > > When compiled without -pthread (ie gcc -o sigp sigp.c), the attached code > behaves as expected like so: > > $ ./sigp > 1, > run 2 > $ > > When compiled with -pthread (ie gcc -pthread -o sigp sigp.c): > > $ ./sigp > > and then it hangs. Sending it a SIGHUP from another terminal has no > effect, but other likely signals (eg SIGINT) kill it. > > There appears to have been a thread on a closely related topic, found at > (long URL): > http://groups.google.com/groups?hl=en&lr=&threadm=fa.n97llov.1lict2d%40ifi.uio.no > > However, no information from that thread has illuminated the situation at > hand. Having two interpreter executables (with and without threads) is > unpalatable. > > Is there any way that the thread enabled interpreter can be setup to > handle signals in the same way, in the absence of activated threads, as it > would without thread support? (without disturbing the signal handling when > threads _are_ activated, of course...) > > Thanks for any advice, Try the patch included at the bottom. -- Dan Eischen Index: uthread/uthread_sigpending.c =================================================================== RCS file: /opt/FreeBSD/cvs/src/lib/libc_r/uthread/uthread_sigpending.c,v retrieving revision 1.6 diff -u -r1.6 uthread_sigpending.c --- uthread/uthread_sigpending.c 29 Jan 2000 22:53:53 -0000 1.6 +++ uthread/uthread_sigpending.c 19 Jun 2002 21:43:34 -0000 @@ -31,6 +31,9 @@ * * $FreeBSD: src/lib/libc_r/uthread/uthread_sigpending.c,v 1.6 2000/01/29 22:53:53 jasone Exp $ */ +#include +#include +#include #include #include #ifdef _THREAD_SAFE @@ -40,6 +43,7 @@ int _sigpending(sigset_t * set) { + sigset_t sigset; int ret = 0; /* Check for a null signal set pointer: */ @@ -49,7 +53,10 @@ } else { *set = _thread_run->sigpend; + sigset = _process_sigpending; + SIGSETOR(*set, sigset); } + /* Return the completion status: */ return (ret); } Index: uthread/uthread_sigsuspend.c =================================================================== RCS file: /opt/FreeBSD/cvs/src/lib/libc_r/uthread/uthread_sigsuspend.c,v retrieving revision 1.9 diff -u -r1.9 uthread_sigsuspend.c --- uthread/uthread_sigsuspend.c 27 Jan 2000 23:07:19 -0000 1.9 +++ uthread/uthread_sigsuspend.c 19 Jun 2002 21:35:57 -0000 @@ -31,6 +31,9 @@ * * $FreeBSD: src/lib/libc_r/uthread/uthread_sigsuspend.c,v 1.9 2000/01/27 23:07:19 jasone Exp $ */ +#include +#include +#include #include #include #ifdef _THREAD_SAFE @@ -41,7 +44,7 @@ _sigsuspend(const sigset_t * set) { int ret = -1; - sigset_t oset; + sigset_t oset, sigset; /* Check if a new signal set was provided by the caller: */ if (set != NULL) { @@ -51,14 +54,30 @@ /* Change the caller's mask: */ _thread_run->sigmask = *set; - /* Wait for a signal: */ - _thread_kern_sched_state(PS_SIGSUSPEND, __FILE__, __LINE__); - - /* Always return an interrupted error: */ - errno = EINTR; + /* + * Check if there are pending signals for the running + * thread or process that aren't blocked: + */ + sigset = _thread_run->sigpend; + SIGSETOR(sigset, _process_sigpending); + SIGSETNAND(sigset, _thread_run->sigmask); + if (SIGNOTEMPTY(sigset)) { + /* + * Call the kernel scheduler which will safely + * install a signal frame for the running thread: + */ + _thread_kern_sched_sig(); + } else { + /* Wait for a signal: */ + _thread_kern_sched_state(PS_SIGSUSPEND, + __FILE__, __LINE__); + } /* Restore the signal mask: */ _thread_run->sigmask = oset; + + /* Always return an interrupted error: */ + errno = EINTR; } else { /* Return an invalid argument error: */ errno = EINVAL; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 15:44: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f67.law15.hotmail.com [64.4.23.67]) by hub.freebsd.org (Postfix) with ESMTP id 2D4C237B411 for ; Wed, 19 Jun 2002 15:43:56 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 19 Jun 2002 15:43:56 -0700 Received: from 160.81.218.114 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 19 Jun 2002 22:43:55 GMT X-Originating-IP: [160.81.218.114] From: "Mark Dutton" To: freebsd-hackers@FreeBSD.ORG Subject: Loader Code for INT13 Date: Wed, 19 Jun 2002 15:43:55 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jun 2002 22:43:56.0048 (UTC) FILETIME=[CB4A3100:01C217E2] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a PCI card that has a programmable ROM adjacent to the PCI interface. I'm looking for "loader code" to put in the ROM for the system bios to load to make it a INT13 compatible device until the block device driver(s) are loaded. Anyone know where I might get my hands on this elusive stuff, or at least some info that might help me write it? Guessing it's written in assembly but not sure. Thanks, Mark _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 15:56:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by hub.freebsd.org (Postfix) with ESMTP id 1216E37B404; Wed, 19 Jun 2002 15:56:22 -0700 (PDT) Received: from scratch.catspoiler.org (scratch.catspoiler.org [192.168.101.3]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g5JMuCM1067585; Wed, 19 Jun 2002 15:56:17 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200206192256.g5JMuCM1067585@gw.catspoiler.org> Date: Wed, 19 Jun 2002 15:56:12 -0700 (PDT) From: Don Lewis Subject: Re: Suggested fixes for uidinfo "would sleep" messages To: bright@mu.org Cc: jhb@freebsd.org, hackers@freebsd.org In-Reply-To: <20020619172107.GF85935@elvis.mu.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19 Jun, Alfred Perlstein wrote: > re execve() issues... > > * Don Lewis [020619 01:10] wrote: >> On 18 Jun, Alfred Perlstein wrote: >> > Thanks a ton for taking care of it, your patch is actually cleaner >> > than what I had started on, I'll be committing it shortly. >> >> While you're working in this area, take a look at execve(). If the >> fdcheckstd() test fails, we leak ucred and uidinfo structures, and also >> leave the proc locked. The fix is pretty straightforward. > > I'm a bit confused actually, it looks like just unlocking the proc > and then moving the 'exec_fail_dealloc' label higher would fix it, > except I'm not sure about the: I was thinking more along the lines of how this is handled in the set*uid() implementations, basically calling PROC_UNLOCK() and doing the deallocation within the "if" block before bailing out. The problem with sliding the label is that you have to also initialize euip to NULL at the beginning and then check its value before calling uifree() so that you don't pass garbage to uifree(). > /* > * Handle deferred decrement of ref counts. > */ > if (textvp != NULL) > vrele(textvp); > #ifdef KTRACE > if (tracevp != NULL) > vrele(tracevp); > #endif > pargs_drop(oldargs); > > part... should that be before or after exec_fail_dealloc? I hadn't looked at this before ... I think the proper solution is to move the fdcheckstd() test to the beginning of its enclosing "if" block so that textvp and tracevp are only set after the test is passed. I'd rearrange the code so that all the cleanup at the end is done in the reverse order that the allocations were done at the beginning. Doing so allowed me to see that there is also a potential leak of newargs. The following patch compiles without error, but I haven't had a chance to run it. --- kern_exec.c.prev Tue Jun 18 12:09:06 2002 +++ kern_exec.c Wed Jun 19 15:26:09 2002 @@ -368,6 +368,12 @@ ((attr.va_mode & VSGID) && oldcred->cr_gid != attr.va_gid)) && (imgp->vp->v_mount->mnt_flag & MNT_NOSUID) == 0 && (p->p_flag & P_TRACED) == 0) { + /* Make sure file descriptors 0..2 are in use. */ + error = fdcheckstd(td); + if (error != 0) { + PROC_UNLOCK(p); + goto exec_fail_dealloc_more; + } /* * Turn off syscall tracing for set-id programs, except for * root. Record any set-id flags first to make sure that @@ -383,10 +389,6 @@ mtx_unlock(&ktrace_mtx); } #endif - /* Make sure file descriptors 0..2 are in use. */ - error = fdcheckstd(td); - if (error != 0) - goto exec_fail_dealloc; /* * Set the new credentials. */ @@ -471,15 +473,9 @@ } PROC_UNLOCK(p); - /* - * Free any resources malloc'd earlier that we didn't use. - */ - uifree(euip); - if (newcred == NULL) - crfree(oldcred); - else - crfree(newcred); KASSERT(newargs == NULL, ("leaking p_args")); + pargs_drop(oldargs); + /* * Handle deferred decrement of ref counts. */ @@ -489,7 +485,18 @@ if (tracevp != NULL) vrele(tracevp); #endif - pargs_drop(oldargs); + +exec_fail_dealloc_more: + /* + * Free any resources malloc'd earlier that we didn't use. + */ + if (newargs != NULL) + pargs_drop(newargs); + uifree(euip); + if (newcred == NULL) + crfree(oldcred); + else + crfree(newcred); exec_fail_dealloc: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 16: 6:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C42137B41A; Wed, 19 Jun 2002 16:06:28 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.86.84]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 19 Jun 2002 16:00:47 -0400 Received: by i8k.babbleon.org (Postfix, from userid 111) id 3E3ECBB2C; Wed, 19 Jun 2002 16:00:34 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Trish Lynch , Subject: Re: Alfred and Trish crap Date: Wed, 19 Jun 2002 16:00:34 -0400 X-Mailer: KMail [version 1.3] Cc: References: <20020619120059.M464-100000@femme.listmistress.org> In-Reply-To: <20020619120059.M464-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020619200034.3E3ECBB2C@i8k.babbleon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 19 June 2002 12:05 pm, Trish Lynch wrote: | has now been taken offlist, if he wants to feel free to air dirty laundry | on-list, I don't honestly. | | Sorry for the disruption, I will however publically apologize that I said | something that he took offense to in defense of him. I certainly read it as a compliment, but it's nice of you to apologize anyway. | Being the one who does "grunt" work is a thankless job, and I was | attempting to bring some attention to it. Its like the Marines, | first-in-last-out. But I realize that my ramblings at 3 am may have | offended, and for that I'm sorry. It was not meant to be an attack or | anything else. But since this has no happened, I have decided to also | leave the BSD community. With a baby on the way, and a family to deal with | soon, I really have no time for the petty arguments and politics happening | lately. I hope that my last few years helping out in the advocacy areas | was productive. Of course nobody begrudges you favoring family over O/S, and petty arguments can wear on one, but please . . . | Sorry that I gave "Mr. Hotmail" what he wanted, but I don;t have time for | this. Just ignore it. Responding (directly or indirectly) to a troll like "Mr. Hotmail" like this is just a crying shame. | -Trish -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org If you smell the smoke you don't need to be told what you've got to do; Yet there's a certain breed, so very in-between, they'd rather take a vote. -- DEVO -- Here To Go To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 16:25: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.nebulatech.com (nebulatech.com [63.203.53.131]) by hub.freebsd.org (Postfix) with ESMTP id 014AE37B408; Wed, 19 Jun 2002 16:24:39 -0700 (PDT) Received: from mail.ru ([210.172.90.115]) by mail.nebulatech.com (Netscape Messaging Server 3.5) with SMTP id 323; Wed, 19 Jun 2002 16:18:04 -0700 From: NOVIKOV To: "" <> Subject: ÔÈËÜÌ "Ãîðåö" ñ ÌàÊëàóäîì èìååò ðåàëüíóþ îñíîâó!!!! Reply-To: vppzqn@mailru.com X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: The Bat! (v1.52f) Business Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Date: Thu, 20 Jun 2002 03:23:01 +0400 Message-ID: <20020619231738671.AAA449.323@mail.ru> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Òåïåðü ýòî òû ìîæåøü çíàòü!!! Êàê âñåãäà ÷åëîâåê äóìàåò ,÷òî ÷óäåñà íå äëÿ íåãî.!? Ìîÿ èñòîðèÿ è ìîÿ æèçíü òåïåðü îòêðûòà äëÿ òåáÿ: http://multimail.ru/people/novikov ×òî æ,óäèâèñü, íå ìíå,à òîìó,÷òî ýòî ìîæåøü áûòü è ÒÛ! Äà, òû ìîæåøü æèòü òàê äîëãî è çäîðîâûì,÷òî ñàì åùå íå çíàåøü! Ìíå ñåé÷àñ 73 ãîäà, à íà ñàìîì äåëå íå äàøü è 45! (ñì. ìîè ôîòî) ß ðàññêàæó êàê ñäåëàòü ñåáÿ ìîëîäûì ñ ëþáîãî âîçðàñòà, äàæå åñëè òû óæå ãîòîâèøüñÿ ê ñàìîìó ïëîõîìó -ê ñìåðòè. Ïðèâåòñòâóþ òåáÿ ìîé áóäóùèé äðóã. Ñåðãåé Íîâèêîâ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 16:48:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsdsystems.com (mx1.freebsdsystems.com [216.126.94.33]) by hub.freebsd.org (Postfix) with ESMTP id EA57D37B412 for ; Wed, 19 Jun 2002 16:48:47 -0700 (PDT) Received: (qmail 50458 invoked from network); 19 Jun 2002 23:48:46 -0000 Received: from unknown (HELO mx1.freebsdsystems.com) (216.126.94.33) by mx1.freebsdsystems.com with SMTP; 19 Jun 2002 23:48:46 -0000 Subject: The -not- problem with FreeBSD From: Lanny Baron To: hackers@FreeBSD.ORG Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 19 Jun 2002 19:48:46 -0400 Message-Id: <1024530526.40147.90.camel@panda.FreeBSDsystems.COM> Mime-Version: 1.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Q. Why is FreeBSD, if not the best, then one of the very top, PC UNIX Operating systems? A. The developers, committers, and, other extremely SELFLESS people that take a huge amount of pride in their very excellent work, and for whom, use a lot of personal UNPAID time to keep the OS as fine as it is. -- +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ Lanny Baron Proud to be 100% FreeBSD FreeBSD Systems, Inc / Freedom Technologies Corp. http://www.FreeBSDsystems.COM 1.877.963.1900 +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 19: 9:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id C21E537B421 for ; Wed, 19 Jun 2002 19:09:09 -0700 (PDT) Received: from monica.cs.rpi.edu (monica.cs.rpi.edu [128.213.7.3]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id WAA19849 for ; Wed, 19 Jun 2002 22:09:08 -0400 (EDT) Received: from monica.cs.rpi.edu (crossd@localhost) by monica.cs.rpi.edu (8.11.6/8.11.6) with ESMTP id g5K297R14456 for ; Wed, 19 Jun 2002 22:09:07 -0400 (EDT) (envelope-from crossd@monica.cs.rpi.edu) Message-Id: <200206200209.g5K297R14456@monica.cs.rpi.edu> To: hackers@freebsd.org Subject: projects? Date: Wed, 19 Jun 2002 22:09:07 -0400 From: "David E. Cross" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a graduate student who cam to me about a masters project involving some work with FreeBSD. He has currently zero knowledge of the Kernel, and is looking to change that, but he needs ideas. His previous areas of interest are primarily focused on networking; RED/GRED/ECN, routing, etc. He is however "quite sick" of networking, and was originally looking at the VM code as a potential area (he is gaining an interest in parallelization and synchronization). I suggested this may be too ambitious for someone with zero previous exposure to the kernel (what do others think?) As alternate projects I suggested: Memory Compaction: compacting physical memory, maintaining coloring VFS: nullfs, unionfs, etc... OpenAFS: Speaks for itself. What do people here think? Anyone have other ideas that I can forward on? He is eager to work with others and seek guidance; some of which I can provide (how much depends on the project of course ;). (He is looking to spend 2 hours a day for roughly 6 months on this project; ideally he would want a project where he can gather data on the results, most of my projects do not fall into that category). -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 19:13:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 09BB037B40A; Wed, 19 Jun 2002 19:13:34 -0700 (PDT) Received: from kokeb.ambesa.net ([64.172.25.248]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GXZ0040NFIL9M@mta5.snfc21.pbi.net>; Wed, 19 Jun 2002 19:13:33 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [127.0.0.1]) by kokeb.ambesa.net (8.12.3/8.12.3) with ESMTP id g5K2IleU022445; Wed, 19 Jun 2002 19:18:47 -0700 (PDT envelope-from mikem@kokeb.ambesa.net) Received: (from mikem@localhost) by kokeb.ambesa.net (8.12.3/8.12.3/Submit) id g5K2Ik7O022444; Wed, 19 Jun 2002 19:18:46 -0700 (PDT envelope-from mikem) Date: Wed, 19 Jun 2002 19:18:46 -0700 From: Mike Makonnen Subject: Re: Suggested fixes for uidinfo "would sleep" messages In-reply-to: <200206192256.g5JMuCM1067585@gw.catspoiler.org> To: Don Lewis Cc: bright@mu.org, jhb@FreeBSD.ORG, hackers@FreeBSD.ORG Message-id: <20020619191846.4aa74dd6.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20020619172107.GF85935@elvis.mu.org> <200206192256.g5JMuCM1067585@gw.catspoiler.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I actually submitted a patch for this a few days ago to John Baldwin, but I think he's busy right now 'cause I haven't heard from him. Here it is: Index: sys/kern/kern_exec.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_exec.c,v retrieving revision 1.164 diff -u -r1.164 kern_exec.c --- sys/kern/kern_exec.c 7 Jun 2002 05:41:27 -0000 1.164 +++ sys/kern/kern_exec.c 16 Jun 2002 14:14:37 -0000 @@ -133,7 +133,7 @@ struct image_params image_params, *imgp; struct vattr attr; int (*img_first)(struct image_params *); - struct pargs *oldargs, *newargs = NULL; + struct pargs *oldargs=NULL, *newargs = NULL; struct procsig *oldprocsig, *newprocsig; #ifdef KTRACE struct vnode *tracevp = NULL; @@ -383,8 +383,10 @@ #endif /* Make sure file descriptors 0..2 are in use. */ error = fdcheckstd(td); - if (error != 0) - goto exec_fail_dealloc; + if (error != 0) { + oldcred = NULL; + goto done1; + } /* * Set the new credentials. */ @@ -467,6 +469,7 @@ p->p_args = newargs; newargs = NULL; } +done1: PROC_UNLOCK(p); /* @@ -476,7 +479,6 @@ crfree(oldcred); else crfree(newcred); - KASSERT(newargs == NULL, ("leaking p_args")); /* * Handle deferred decrement of ref counts. */ @@ -486,7 +488,10 @@ if (tracevp != NULL) vrele(tracevp); #endif - pargs_drop(oldargs); + if (oldargs != NULL) + pargs_drop(oldargs); + if (newargs != NULL) + pargs_drop(newargs); exec_fail_dealloc: Cheers, Mike. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 19:26:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 77E1937B400 for ; Wed, 19 Jun 2002 19:26:09 -0700 (PDT) Received: from pool0411.cvx21-bradley.dialup.earthlink.net ([209.179.193.156] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17KreA-0007Mg-00; Wed, 19 Jun 2002 19:26:06 -0700 Message-ID: <3D113D16.6D1A0238@mindspring.com> Date: Wed, 19 Jun 2002 19:25:26 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "David E. Cross" Cc: hackers@freebsd.org Subject: Re: projects? References: <200206200209.g5K297R14456@monica.cs.rpi.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David E. Cross" wrote: > I have a graduate student who cam to me about a masters project involving > some work with FreeBSD. He has currently zero knowledge of the Kernel, and > is looking to change that, but he needs ideas. His previous areas of > interest are primarily focused on networking; RED/GRED/ECN, routing, etc. > He is however "quite sick" of networking, and was originally looking at > the VM code as a potential area (he is gaining an interest in > parallelization and synchronization). I suggested this may be too > ambitious for someone with zero previous exposure to the kernel (what > do others think?) As alternate projects I suggested: > > Memory Compaction: compacting physical memory, maintaining coloring > VFS: nullfs, unionfs, etc... > OpenAFS: Speaks for itself. Too bad he's sick of networking. There a lot of intersting code that could be implemented in the main line FreeBSD that would be really beneficial, overall. The memory compaction is an intersting problem, but might require some really serious changes, since you could not compact anything that was in the compaction code path. Reclaiming large sections of kernel memory (basically defragging it) would help those people who want to build camera and other drivers that need to call for a contigmalloc, and which are expected to be loaded potentially well after boot time. A similar set of changes would be necessary to handle kernel paging (basically, it breaks down into section attributes to allow or to disallow paging of code/data in specific ELF sections). I would say, though, that they were two seperate projects (but the second one would leverage the first to greater benefit). Most of the VFS stuff is really VM stuff. An interesting VFS project would be to create a pseudo-device that would proxy VOP requests to/from user space, so that you could develop stacking layers in user space. THis would also very quickly and concisely identify where things in the current VFS/VM interaction make assumptions that they ought not to be making. The OpenAFS code is not very interesting, to me. However, if you have an AFS license there, then your location is probably one of the few places the work could be done, so my preferences not withstanding, as long as you have a real AFS to run against for testing, then the OpenAFS could be a good project that could happen nowhere else. > What do people here think? Anyone have other ideas that I can forward on? > He is eager to work with others and seek guidance; some of which I can > provide (how much depends on the project of course ;). > > (He is looking to spend 2 hours a day for roughly 6 months on this project; > ideally he would want a project where he can gather data on the results, most > of my projects do not fall into that category). I hesistate to mention this; you would have to see if the University of Guelph is working on it already. But... how about an NFSv4 implementation for FreeBSD? At 2 hours a day for 6 months, you are talking 260 man hours, approximately, or the equivalent of 1/8th of a year... 1.5 man months. So whatever project that's picked will have to fit in that wrapper. If the 2 hours a day includes the data analysis and writeup, then you are probably talking about half that time for the actual project work. This is almost too little to take on most kernel projects, if it's not in an area that you're already familiar with, like networking, in this students case. I don't know if it would be considered "worthy", but a project to document CAM, NewBus, etc. ...device driver related FreeBSD internals... would also be really welcomed by a lot of people. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 20:16:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from math.smsu.edu (math.smsu.edu [146.7.45.198]) by hub.freebsd.org (Postfix) with SMTP id C93C337B40C for ; Wed, 19 Jun 2002 20:16:43 -0700 (PDT) Received: (qmail 21663 invoked by uid 1000); 20 Jun 2002 03:16:44 -0000 Date: Wed, 19 Jun 2002 22:16:44 -0500 From: Erik Greenwald To: freebsd-hackers@freebsd.org Subject: Re: projects? Message-ID: <20020620031644.GA21643@math.smsu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David E. Cross" said: > I have a graduate student who cam to me about a masters project > involving > some work with FreeBSD. He has currently zero knowledge of the > Kernel, and > is looking to change that, but he needs ideas. His previous areas of > interest are primarily focused on networking; RED/GRED/ECN, routing, > etc. interesting stuff > He is however "quite sick" of networking, and was originally looking > at > the VM code as a potential area (he is gaining an interest in > parallelization and synchronization). I suggested this may be too > ambitious for someone with zero previous exposure to the kernel (what > do others think?) As alternate projects I suggested: I've found the fbsd kernel to be pretty clean, but I'm not kernel guru :D I had no problem jumping into driver stuff, the only thing slowing me down is trying to get a listening/accepting socket inside of the kernel > > Memory Compaction: compacting physical memory, maintaining coloring > VFS: nullfs, unionfs, etc... > OpenAFS: Speaks for itself. > > What do people here think? Anyone have other ideas that I can forward > on? > He is eager to work with others and seek guidance; some of which I can > provide (how much depends on the project of course ;). > > (He is looking to spend 2 hours a day for roughly 6 months on this > project; > ideally he would want a project where he can gather data on the > results, most > of my projects do not fall into that category). > what about distributed computing? linux has been making a lot of noise with beowulf and mosix stuff, it's an interesting concept with a lot of theoretical work behind it, but it seems to be "coming of age" with people looking to move away from expensive proprietary mainframes? fbsd has good computational abilities, excellent networking abilities, and runs well on commodity hardware, this might be a good avenue to use his network expertise, expose him to kernel/system issues, and produce something of utility that can get some use as well as something he can show prospective employers? :) > -- > David Cross | email: crossd@cs.rpi.edu > Lab Director | Rm: 308 Lally Hall > Rensselaer Polytechnic Institute, | Ph: 518.276.2860 > Department of Computer Science | Fax: 518.276.4033 > I speak only for myself. | WinNT:Linux::Linux:FreeBSD > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 20:45:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 4C68837B405 for ; Wed, 19 Jun 2002 20:45:35 -0700 (PDT) Received: from monica.cs.rpi.edu (monica.cs.rpi.edu [128.213.7.3]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id XAA21709; Wed, 19 Jun 2002 23:45:32 -0400 (EDT) Received: from monica.cs.rpi.edu (crossd@localhost) by monica.cs.rpi.edu (8.11.6/8.11.6) with ESMTP id g5K3jXT14645; Wed, 19 Jun 2002 23:45:33 -0400 (EDT) (envelope-from crossd@monica.cs.rpi.edu) Message-Id: <200206200345.g5K3jXT14645@monica.cs.rpi.edu> To: Terry Lambert Cc: "David E. Cross" , hackers@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: projects? In-Reply-To: Message from Terry Lambert of "Wed, 19 Jun 2002 19:25:26 PDT." <3D113D16.6D1A0238@mindspring.com> References: <200206200209.g5K297R14456@monica.cs.rpi.edu> <3D113D16.6D1A0238@mindspring.com> Date: Wed, 19 Jun 2002 23:45:33 -0400 From: "David E. Cross" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Too bad he's sick of networking. There a lot of intersting code > that could be implemented in the main line FreeBSD that would be > really beneficial, overall. Well, I mentioned it for 2 reasons. The first to demonstrate his background, and potential related areas that he might be interested in. The second was I think he could be convinced to do networking again if it was "intreesting", or could be made to seem interesting. So if you have ideas in this area, feel free to share ;) > The memory compaction is an intersting problem, but might require > some really serious changes, since you could not compact anything > that was in the compaction code path. Reclaiming large sections > of kernel memory (basically defragging it) would help those people > who want to build camera and other drivers that need to call for a > contigmalloc, and which are expected to be loaded potentially well > after boot time. Exactly. This is why I brought it up. I personally have been bit by not being able to allocate large, unfragmented, blocks of physical RAM. I think this is potentially of the greatest benefit to the project, and the closest to VM work that is reasonable given the other criteria, but I don't see the data gathering aspects for him in this. Would it be possible that such a defragmentation could 'recolor' pages? Or are pages allocated with optimal colors already? One could gather data on cache performance at that point. > Most of the VFS stuff is really VM stuff. An interesting VFS > project would be to create a pseudo-device that would proxy > VOP requests to/from user space, so that you could develop > stacking layers in user space. THis would also very quickly > and concisely identify where things in the current VFS/VM > interaction make assumptions that they ought not to be making. This is the section of the kernel where I am the weakest by far, we would need substantial outside help for this. > The OpenAFS code is not very interesting, to me. However, if > you have an AFS license there, then your location is probably > one of the few places the work could be done, so my preferences > not withstanding, as long as you have a real AFS to run against > for testing, then the OpenAFS could be a good project that could > happen nowhere else. We have an intense interest in OpenAFS, and a license, but . Also it appears that OpenAFS is going along well on its own at this point. If this goes well for everyone, it could very easily be the start of many more such projects. Potentially on a continual basis. That is my real goal here. -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 19 20:47:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outhub2.tibco.com (outhub2.tibco.com [63.100.100.156]) by hub.freebsd.org (Postfix) with ESMTP id 5B82637B411 for ; Wed, 19 Jun 2002 20:47:15 -0700 (PDT) Received: by outhub2.tibco.com; id UAA09246; Wed, 19 Jun 2002 20:47:17 -0700 (PDT) Received: from na-h-inhub2.tibco.com(10.106.128.34) by outhub2.tibco.com via smap (V4.1) id xma009223; Wed, 19 Jun 02 20:46:22 -0700 Received: from mail1.tibco.com (nsmail2.tibco.com [10.106.128.42]) by na-h-inhub2.tibco.com (8.12.2/8.12.2) with ESMTP id g5K3a7Fl022587 for ; Wed, 19 Jun 2002 20:36:07 -0700 (PDT) Received: from tibco.com ([10.105.146.230]) by mail1.tibco.com (Netscape Messaging Server 4.15) with ESMTP id GXZJT700.4RQ; Wed, 19 Jun 2002 20:46:19 -0700 Message-ID: <3D114FE7.3020304@tibco.com> Date: Wed, 19 Jun 2002 20:45:43 -0700 From: "Aram Compeau" User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en,zh,fr,ja,ko MIME-Version: 1.0 To: Terry Lambert Cc: "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? References: <200206200209.g5K297R14456@monica.cs.rpi.edu> <3D113D16.6D1A0238@mindspring.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > >Too bad he's sick of networking. There a lot of intersting code >that could be implemented in the main line FreeBSD that would be >really beneficial, overall. > Could you elaborate briefly on what you'd like to see worked on with respect to this? I don't want you to spend a lot of time describing anything, but I am curious. I don't generally have large blocks of spare time, but could work on something steadily with a low flame. Thanks, Aram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 0: 4:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by hub.freebsd.org (Postfix) with ESMTP id 5162737B401; Thu, 20 Jun 2002 00:04:29 -0700 (PDT) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g5K74OM1068558; Thu, 20 Jun 2002 00:04:28 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200206200704.g5K74OM1068558@gw.catspoiler.org> Date: Thu, 20 Jun 2002 00:04:41 -0700 (PDT) From: Don Lewis Subject: fdcheckstd() test bug in execve() (was: Re: Suggested fixes for uidinfo "would sleep" messages) To: makonnen@pacbell.net Cc: bright@mu.org, jhb@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: <20020619191846.4aa74dd6.makonnen@pacbell.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19 Jun, Mike Makonnen wrote: > I actually submitted a patch for this a few days ago to John Baldwin, but > I think he's busy right now 'cause I haven't heard from him. Here it > is: Your patch also looks like it should fix the bug. I prefer my patch, though, because I think the resultant code is structured better and should be easier to understand. For instance, the reason for the assignment to oldcred in the "if (error != 0)" block in your patch is not immediately obvious. My version should probably run at tiny bit faster as well, though this is unlikely to be measureable. BTW, it is possible to further optimize the code if both instances of: p->p_ucred = newcred; newcred = NULL; are changed to: p->p_ucred = newcred; newcred = oldcred; This allows: if (newcred == NULL) crfree(oldcred); else crfree(newcred); to be simplified to: crfree(newcred); and the initialization of newcred in its declaration could be eliminated. I'd rename newcred to something else like cred or tmpcred that would hopefully be less likely to cause confusion. > Index: sys/kern/kern_exec.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/kern_exec.c,v > retrieving revision 1.164 > diff -u -r1.164 kern_exec.c > --- sys/kern/kern_exec.c 7 Jun 2002 05:41:27 -0000 1.164 > +++ sys/kern/kern_exec.c 16 Jun 2002 14:14:37 -0000 > @@ -133,7 +133,7 @@ > struct image_params image_params, *imgp; > struct vattr attr; > int (*img_first)(struct image_params *); > - struct pargs *oldargs, *newargs = NULL; > + struct pargs *oldargs=NULL, *newargs = NULL; > struct procsig *oldprocsig, *newprocsig; > #ifdef KTRACE > struct vnode *tracevp = NULL; > @@ -383,8 +383,10 @@ > #endif > /* Make sure file descriptors 0..2 are in use. */ > error = fdcheckstd(td); > - if (error != 0) > - goto exec_fail_dealloc; > + if (error != 0) { > + oldcred = NULL; > + goto done1; > + } > /* > * Set the new credentials. > */ > @@ -467,6 +469,7 @@ > p->p_args = newargs; > newargs = NULL; > } > +done1: > PROC_UNLOCK(p); > > /* > @@ -476,7 +479,6 @@ > crfree(oldcred); > else > crfree(newcred); > - KASSERT(newargs == NULL, ("leaking p_args")); > /* > * Handle deferred decrement of ref counts. > */ > @@ -486,7 +488,10 @@ > if (tracevp != NULL) > vrele(tracevp); > #endif > - pargs_drop(oldargs); > + if (oldargs != NULL) > + pargs_drop(oldargs); > + if (newargs != NULL) > + pargs_drop(newargs); > > exec_fail_dealloc: > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 1:38: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id E465837B40C for ; Thu, 20 Jun 2002 01:37:48 -0700 (PDT) Received: from pool0062.cvx22-bradley.dialup.earthlink.net ([209.179.198.62] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17KxRj-0006CH-00; Thu, 20 Jun 2002 01:37:40 -0700 Message-ID: <3D119425.7EF9BE3E@mindspring.com> Date: Thu, 20 Jun 2002 01:36:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Aram Compeau Cc: "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? References: <200206200209.g5K297R14456@monica.cs.rpi.edu> <3D113D16.6D1A0238@mindspring.com> <3D114FE7.3020304@tibco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Aram Compeau wrote: > >Too bad he's sick of networking. There a lot of intersting code > >that could be implemented in the main line FreeBSD that would be > >really beneficial, overall. > > Could you elaborate briefly on what you'd like to see worked on with > respect to this? I don't want you to spend a lot of time describing > anything, but I am curious. I don't generally have large blocks of spare > time, but could work on something steadily with a low flame. --- LRP --- I would like FreeBSD to support LRP (Lazy Receiver Processing), an idea which came from the Scala Server Project at Rice University. LRP gets rid of the need to run network processing in kernel threads, in order to get parallel operation on SMP systems; so long as the interrupt processing load is balanced, it's possible to handle interrupts in an overlapped fashion. Right now, there are four sets of source code: SunOS 4.1.3_U1, FreeBSD 2.2-BETA, FreeBSD 4.0, FreeBSD 4.3. The first three are from Rice University. The fourth is from Duke University, and is a port forward of the 4.0 Rice code. The Rice code, other than the FreeBSD 2.2-BETA, is unusable. It mixes in an idea called "Resource Containers" (RESCON), that is really not very useful (I can go into great detail on this, if necessary). It also has a restrictive license. The FreeBSD 2.2-BETA implementation has a CMU MACH style license (same as some FreeBSD code already has). The LRP implementation in all these cases is flawed, in that it assumes that the LRP processing will be universal across an entire address family, and the experimental implementation loads a full copy of the AF_INET stack under another family name. A real integration is tricky, including credentials on accept calls, an attribute on the family struct, to indicate that it's LRP'ed, so that common subsystems can behave very differently, support for Accept filters and othe Kevents, etc.). LRP gives a minimum of a factor of 3 improvement in connections per second, without the SYN cache code involved at all, through an overall reduction in processing latency. It also has the effect of preventing "receiver livelock". http://www.cs.rice.edu/CS/Systems/LRP/ http://www.cs.duke.edu/~anderson/freebsd/muse-sosp/readme.txt ---------------- TCP Rate Halving ---------------- I would like to see FreeBSD support TCP Rate Halving, and idea from the Pittsburgh Cupercomputing Center (PSC) at Carengie Mellon University (CMU). These are the people who invented "traceroute". TCP Rate halving is an alternative to the RFC-2581 Fast Recovery algorithm for congestion control. It effectively causes the congestion recovery to be self-clocked by ACKs, which has the overall effect of avoiding the normal burstiness of TCP recovery following congestion. This builds on work by Van Jacobsen, J. Hoe, and Sally Floyd. Their current implementation is for NetBSD 1.3.2. http://www.psc.edu/networking/rate_halving.html --------------- SACK, FACK, ECN --------------- Also from PSC at CMU. SACK and FACK are well known. It's annnoying that Luigi Rizzo's code from 1997 or so was never integrated into FreeBSD. ECN is an implementation of Early Congestion Notification. http://www.psc.edu/networking/tcp.html ---- VRRP ---- There is an implementation of a real VRRP for FreeBSD available; it is in ports. This is a real VRRP (Virtual Router Redundancy Protocol), not like the Linux version which uses the multicast mask and thus loses multicast capability. There are intersting issues in actual deployment of this code; specifically, the VMAC that needs to be used in order to logically seperate virtual routers is not really implemented well, so there are common ARP issues. There are a couple of projects that one could take on here; by far, the most interesting (IMO) would be to support multiple virtual network cards on a single physical network card. Most of the Gigabit Ethernet cards, and some of the 10/100Mbit cards, can support multiple MAC addresses (the Intel Gigabit card can support 16, the Tigon III supports 4, and the Tigone II supports 2). The work required would be to support the ability to have a single driver, single NIC, multiple virtual NICs. There are also interesting issues, like being able to selectively control ARP response from a VRRP interface which is not the master interface. This has intersting implications for the routing code, and for the initialization code, which normally handles the gratuitous ARP. More information can be found in the VRRP RFC, RFC-2338. ---------- TCP Timers ---------- I've discussed this before in depth. Basically, the timer code is very poor for a large number of connections, and increasing the size of the callout wheel is not a real/reasonable answer. I would like to see the code go back to the BSD 4.2 model, which is a well known model. There is plenty of prior art in this area, but the main thing that needs to be taken from the BSD 4.2 is per interval timer lists, so that the list scanning, for the most part, scans only those timers that have expired (+ 1). Basically, a TAILQ per interval for ficed interval timers. A very obvious way to measure the performance improvement here is to establish a very large number of connections. If you have 4G of memory in an IA32 machine, you should have no problem getting to 300,000 connections. If you really work at it, I have been able to push this number to 1.6 Million simultaneous connections. --------------- SMP Safe Queues --------------- For simple queue types, it should be possible to make queueing and dequing an intrinsically atomic operation. This basically means that the queue locking that is being added to make the networking code SMP safe, is largely unnecessary, and is caused solely by the fact that the queue macros themselves are not being properly handled through ordering of operations, rather than being locked around. In theory, this is also possible for a "counted queue". A "counted queue" is a necessary construct for RED queueing, which needs to maintain a moving average for comparison to the actual queue depth, so that it can do RED (Random Early Drop) of packets. --- WFS --- Weighted fair share queueing is a method of handling scheduling of processes, such that the kernel processing. This isn't technically a networking issue. However, if the programs in user space which are intended to operate (or, if you are a 5.x purist, the kernel threads in kernel space, if you pull an Ingo Mollnar and cram everything that shouldn't be in the kernel, into the kernel) do not remove data from the input processing queue fast enough, you will still suffer from receiver livelock. Basically, you need to be able to run the programs with a priority, relative to interrupt processing. Some of the work that Jon Lemon and Luigi Rizzo have done in this area is interesting, but it's not sufficient to resolve the problem (sorry guys). Unfortunately, they don't tend to run their systems under breaking point stress, so they don't see the drop-off in performance that happens at high enough load.To be able to test this, you would have to have a lab with the ability to throw a large number of clients against a large number of servers, with the packets transiting an applicaiton in a FreeBSD box, at close to wire speeds. We are talking at least 32 clients and servers, unless you have access to purpose built code (it's easier to just throw the machines at it, and be done with it). --- --- --- Basically, that's my short list. There are actually a lot more things that could be done in the networking area; there are things to do in the routing area, and things to do with RED queueing, and things to do with resource tuning, etc., and, of course, there's the bugs that you normally see in the BSD stack only when you try to dothings like open more than 65535 outbound connections from a single box, etc.. Personally, I'm tired of solving the same problems over and over again, so I'd like to see the code in FreeBSD proper, so that it becomes part of the intellectual commons. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 2: 9:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cc-gw.1anetworks.net (cc-gw.1anetworks.net [193.243.179.83]) by hub.freebsd.org (Postfix) with SMTP id 0A31D37B409 for ; Thu, 20 Jun 2002 02:09:07 -0700 (PDT) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id KAA28434 for ; Thu, 20 Jun 2002 10:09:04 +0100 (BST) From: "Bri" To: Subject: FW: Problem: unregistered isr number 18 Date: Thu, 20 Jun 2002 10:05:13 +0100 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wondering if you guys can shed any light on this matter. Bri, -----Original Message----- From: owner-freebsd-sparc@FreeBSD.ORG [mailto:owner-freebsd-sparc@FreeBSD.ORG]On Behalf Of Bri Sent: 19 June 2002 11:29 To: freebsd-sparc@FreeBSD.ORG Subject: Problem: unregistered isr number 18 Hi I'm using dhclient to obtain an ip address off my ISP and I sometimes get the message swi_net unregistered isr number 18 but this is a kernel message and it only seems to happen as a result of running dhclient -cf /etc/dhclient.conf -lf /var/db/dhclient.leases hme0 I don't know what the message means but normally if it doesn't show that continuing message I recieve_packet failed invalid argument on hme0. I'm also not sure what thats referering to but I know that doesn't seem to affect the operation of dhclient because I know this from testing it on my laptop with another dhcp server and ip's detect fine.. the only thing is, is I can't seem to obtain an ip from my ISP when a Windows machine detects it almost instantly and I'm not sure why. my sparc64 kernel is compiled with options IPDIVERT options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_FORWARD which are quite standard options. I have had it detect an ip once but only once and I must of left it detecting one for like 12hrs which isn't good. a cry for help Bri, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 2:14:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id F194037B409 for ; Thu, 20 Jun 2002 02:14:03 -0700 (PDT) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 5AAF11990C for ; Thu, 20 Jun 2002 12:14:01 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g5K9HNw58500 for ; Thu, 20 Jun 2002 12:17:23 +0300 (EEST) Message-ID: <007f01c21839$8a0b3cf0$6d36120a@pm5149> From: "Andrey Simonenko" To: References: <006401c21793$30721750$6d36120a@pm5149> <20020619141241.GO43253@cicely5.cicely.de.lucky.freebsd.hackers> Subject: Re: Is it possible to store process state and then restore process Date: Thu, 20 Jun 2002 12:04:52 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Bernd Walter" Newsgroups: lucky.freebsd.hackers Sent: Wednesday, June 19, 2002 5:16 PM Subject: Re: Is it possible to store process state and then restore process > Some programms dump theirself into an obj file after initialization. > If you hold global resources such as filehandles, shared memory you > should know how they are used to make restoring them easier. > The kernel has no support to help you here. > I meaned _potential_ ability of FreeBSD kernel to dump a process state (image) and when it is needed to restore process image back to the system and restored process should continue its executing. I didn't mean that application's object files should be relinked with some special library for checkpointing and restoring or an application should be designed for this (any modifications to existing application code). Of course it is clear for me that parent/childs relations can't be restored, as well as TCP connections, shared file descriptors, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 2:19:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 323F137B40B for ; Thu, 20 Jun 2002 02:19:32 -0700 (PDT) Received: from pool0062.cvx22-bradley.dialup.earthlink.net ([209.179.198.62] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Ky6C-0002zM-00; Thu, 20 Jun 2002 02:19:29 -0700 Message-ID: <3D119DEF.9540FFAE@mindspring.com> Date: Thu, 20 Jun 2002 02:18:39 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bri Cc: freebsd-hackers@freebsd.org Subject: Re: FW: Problem: unregistered isr number 18 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bri wrote: > > wondering if you guys can shed any light on this matter. This happens when you receive an ARP before the ARP software interrupt handler has been registered. It should not cause problems for you. It's usually another workstation doing a DHCP requeust on 0.0.0.0 to get its lease. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 2:49:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 250DF37B40D for ; Thu, 20 Jun 2002 02:49:07 -0700 (PDT) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id A698F19B76; Thu, 20 Jun 2002 12:49:03 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g5K9qPw58628; Thu, 20 Jun 2002 12:52:25 +0300 (EEST) Message-ID: <00d501c2183e$6f35a1e0$6d36120a@pm5149> From: "Andrey Simonenko" To: Cc: References: <006401c21793$30721750$6d36120a@pm5149> <20020619141241.GO43253@cicely5.cicely.de.lucky.freebsd.hackers> <007501c21839$3caabc60$6d36120a@pm5149> <20020620092343.GU43253@cicely5.cicely.de> Subject: Re: Is it possible to store process state and then restore process Date: Thu, 20 Jun 2002 12:39:55 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Bernd Walter" To: "Andrey Simonenko" Cc: ; Sent: Thursday, June 20, 2002 12:23 PM Subject: Re: Is it possible to store process state and then restore process > But that's the main problem: > You almost ever have shared filedescriptors (stdin, ...). > Such a mechanism wouldn't work without the application support unless > you build the complete support into the kernel. I try to consider very simple example, because my knowledges in this field are limited. > You could dump core and convert the dump into an object format. That is, can I say that it is possible with FreeBSD to dump process image (allocated memory, changed data segment, stack, PCB, ...) to a file and then restore this image? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 7:39:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by hub.freebsd.org (Postfix) with ESMTP id 7906037B408 for ; Thu, 20 Jun 2002 07:39:17 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g5KEcvl28445; Thu, 20 Jun 2002 10:38:57 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g5KEctO12999; Thu, 20 Jun 2002 10:38:55 -0400 (EDT) Received: from vsw088.mitre.org (128.29.156.88) by mailhub1.mitre.org with SMTP id 10637413; Thu, 20 Jun 2002 10:38:02 -0400 Message-ID: <3D11E8F7.14C12D96@mitre.org> Date: Thu, 20 Jun 2002 10:38:47 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Brandon D. Valentine" Cc: Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: I Volunteer References: <20020619012553.J12752-100000@dallben.homeportal.2wire.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Brandon D. Valentine" wrote: > > On Tue, 18 Jun 2002, Darren Pilgrim wrote: > > >It's not exactly FreeBSD, but how about rewriting pine and uw-imap? > >Last I heard they could use a little work. > > It would have to be a complete reimplementation thanks to the retarded > pine license. Besides, pine has been surpassed and it's called mutt. > uw-imap has also been quite surpassed, it's called cyrus. I thought the strength of uw-imap was that it was fairly easy to configure for a machine with local users. The same certainly couldn't be said for Cyrus. Heck, I nearly slit my own wrists out of frustration trying to get Cyrus working. Doesn't help that its online documentation is poo either. On the other hand, dkimap is perfect as long as you don't mind your mail databases slowly corrupting themselves. :P -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 7:55:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f282.law10.hotmail.com [64.4.14.157]) by hub.freebsd.org (Postfix) with ESMTP id 44B8A37B404; Thu, 20 Jun 2002 07:55:16 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 20 Jun 2002 07:55:16 -0700 Received: from 195.235.247.100 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 20 Jun 2002 14:55:15 GMT X-Originating-IP: [195.235.247.100] From: "Bill Fumerola" To: hackers@freebsd.org Cc: chat@freebsd.org Subject: FreeBSD Date: Thu, 20 Jun 2002 14:55:15 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Jun 2002 14:55:16.0116 (UTC) FILETIME=[7CEAD540:01C2186A] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mmmkay, So some people have privately e-mailed asking me who I am. I'll give a hint, yes, I am a committer, and no, I'm not Bill Huey. Now some fast comments... Hiten: YHBT. YHL. HAND. MORON Trish: Too bad you left, actually Alfred is an *asshole*, too bad. Alfred: You're a clueless fuckwit indeed. Fumerola: Fuck you Fumerola! Patrick Li: You're a hypocrite. The BSD license is about freedom, but you closed my PR without reason. It took me time to code that game, and there are at least 2,500 people interested in using it, why close it? games/fumerola will live for ever! I want to apologize for putting Kris in my asshole list, wasn't really intended. I hope more committers join the FFL license movement. Btw, vote for me for the core elections :) Yours, Bill Fumerola _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 9:24:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id B3EDC37B415; Thu, 20 Jun 2002 09:24:29 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY00028JIWQP8@mtaout02.icomcast.net>; Thu, 20 Jun 2002 12:24:26 -0400 (EDT) Date: Thu, 20 Jun 2002 11:24:26 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: FreeBSD In-reply-to: X-X-Sender: bandix@dallben.homeportal.2wire.net To: billf@freebsd.org Cc: hackers@freebsd.org, chat@freebsd.org Message-id: <20020620111751.F753-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Bill Fumerola wrote: >So some people have privately e-mailed asking me who I am. I'll give a hint, >yes, I am a committer, and no, I'm not Bill Huey. Different hotmail account[0], same X-Originating-IP. If billf@freebsd.org would reply to this email confirming that this is indeed an attempt at identity theft it would be appreciated. [0] - s/flamerola/fumerola/ this time around. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 10:26:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clink.schulte.org (clink.schulte.org [209.134.156.193]) by hub.freebsd.org (Postfix) with ESMTP id 8515237B406; Thu, 20 Jun 2002 10:26:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by clink.schulte.org (Postfix) with ESMTP id 97816243F7; Thu, 20 Jun 2002 12:26:11 -0500 (CDT) Received: from schulte-laptop.nospam.schulte.org (nb-65.netbriefings.com [209.134.134.65]) by clink.schulte.org (Postfix) with ESMTP id 55E2B243C2; Thu, 20 Jun 2002 12:26:08 -0500 (CDT) Message-Id: <5.1.1.6.2.20020620121900.04152e60@pop3s.schulte.org> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Thu, 20 Jun 2002 12:23:36 -0500 To: "Brandon D. Valentine" , billf@freebsd.org From: Christopher Schulte Subject: Re: FreeBSD Cc: hackers@freebsd.org, chat@freebsd.org In-Reply-To: <20020620111751.F753-100000@dallben.homeportal.2wire.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS 0.3.12pre6 on clink.schulte.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:24 AM 6/20/2002 -0500, Brandon D. Valentine wrote: >Different hotmail account[0], same X-Originating-IP. If >billf@freebsd.org would reply to this email confirming that this is >indeed an attempt at identity theft it would be appreciated. > >[0] - s/flamerola/fumerola/ this time around. That IP seems to like random hotmail.com addresses - a google search brings up a few more addresses used @hotmail. Public silence is probably the best deterrent to this type of abuse, with a few abuse reports to ISP, hotmail, so on. >Brandon D. Valentine >-- >http://www.geekpunk.net bandix@geekpunk.net >++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ >+.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. -- Christopher Schulte http://www.schulte.org/ Do not un-munge my @nospam.schulte.org email address. This address is valid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 10:31:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 293D637B409 for ; Thu, 20 Jun 2002 10:31:38 -0700 (PDT) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g5KHVVri000632; Thu, 20 Jun 2002 10:31:31 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g5KHVUg0000631; Thu, 20 Jun 2002 10:31:30 -0700 Date: Thu, 20 Jun 2002 10:31:30 -0700 From: Brooks Davis To: "David E. Cross" Cc: hackers@FreeBSD.ORG Subject: Re: projects? Message-ID: <20020620103130.B23020@Odin.AC.HMC.Edu> References: <200206200209.g5K297R14456@monica.cs.rpi.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206200209.g5K297R14456@monica.cs.rpi.edu>; from crossd@cs.rpi.edu on Wed, Jun 19, 2002 at 10:09:07PM -0400 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2002 at 10:09:07PM -0400, David E. Cross wrote: > He is however "quite sick" of networking, and was originally looking at > the VM code as a potential area (he is gaining an interest in=20 > parallelization and synchronization). Something I'd like to see which is unfortunatly network releated is ng_ip, ng_tcp, and ng_udp netgraph modules. Since the networking code already exists (though it's probably got a number of layering violations in it that would need to be sorted out) this would be more of an infrastructure project then a networking project. It would have things to measure (comparative throughput and latency, for example.) If these modules were available, netgraph would become much more intresting as a basis for network research (say building distributed simulators). Later researchers could add ng_tcp_reno, ng_tcp_vegas, or even ng_tca_daytona (the messed up "accelerated" tcp which acks each byte seperatly.) -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EhFyXY6L6fI4GtQRAlkZAJ9MFi0QodxvX35nyutA///79x8IcACg4eR0 hL3RB/O3VKCojQSE2XA/A5A= =18Gc -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 12: 2:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 34BBD37B405 for ; Thu, 20 Jun 2002 12:02:35 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 75CB0471DA; Thu, 20 Jun 2002 12:02:33 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id E426BFEBE; Thu, 20 Jun 2002 12:02:30 -0700 (PDT) Message-ID: <3D1226C6.1870F02F@pantherdragon.org> Date: Thu, 20 Jun 2002 12:02:30 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jason Andresen Cc: "Brandon D. Valentine" , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: I Volunteer References: <20020619012553.J12752-100000@dallben.homeportal.2wire.net> <3D11E8F7.14C12D96@mitre.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jason Andresen wrote: > "Brandon D. Valentine" wrote: > > uw-imap has also been quite surpassed, it's called cyrus. > > I thought the strength of uw-imap was that it was fairly easy to > configure for a machine with local users. The same certainly > couldn't be said for Cyrus. Heck, I nearly slit my own wrists > out of frustration trying to get Cyrus working. Doesn't help > that its online documentation is poo either. > > On the other hand, dkimap is perfect as long as you don't mind your > mail databases slowly corrupting themselves. :P Personally I'm all for courier-imap. IMAP and POP3, Maildirs, SSL, and the ability to access both real and virtual mailboxes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 12:27:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 41F5637B411 for ; Thu, 20 Jun 2002 12:27:13 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5KJOs523647 for freebsd-hackers@freebsd.org; Thu, 20 Jun 2002 15:24:54 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Thu, 20 Jun 2002 15:24:54 -0400 From: Bosko Milekic To: freebsd-hackers@freebsd.org Subject: Some small projects for mutt(1) Message-ID: <20020620152454.A23499@unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Two ideas have come up recently to extend the features of the mutt(1) Email client. I'm not one who has hacked on mutt, nor who really intends to (if I can avoid it, I will), so hence the reason for this post. So this post is directed at those people who have some extra time on their hands and are looking to make some sort of contribution to FreeBSD, but aren't prepared (or don't want to) muck in the kernel source. 1) The first feature is a persistent-thread-delete. This idea was given by Jonathan Mini at Usenix. I'm not aware of any client that supports this right now, but such a client may exist (in any case, it would be cool if mutt did it). What this does is pretty straightforward: I see a thread with subject "foo." I don't like it. I really don't like it. I hit a key combination such as, I don't know, CTRL+B (or something not bound yet), and not only is the entire thread instantly marked for deletion, but a carefully crafted rule is also dropped into a sh*tlist file (that can be handled by procmail?) which will ensure that all _future_ mailings that are in response to said thread will immediately be marked for deletion, or merely filtered. Hence, "persistent thread suppression/deletion." 2) An optional feature that would, when you hit 'y' to send that Email off, attempt to roughly analyze your message and present an "Are you sure you want to send this Email, it contains potentially inflammatory content?" confirmation request, based on the content of the message. I believe Eudora Lite has this sort of thing where if you key in something that looks offensive/like a flame, it will generate a popup with a warning like "Warning: this Email may offend the average reader, are you sure you went to send it?" I think this would help some of us out with controlling our tempers. If you want to make this extra cool, you could have a system where Email can be classified as "INFLAMMATORY" and "REALLY INFLAMMATORY," and the "REALLY INFLAMMATORY" Email would not only generate the warning, but would also set off a timer and only blast the Email away in N minutes, unless it is cancelled prior to the blastoff time. Anyway, I really think that (1) would be extremely useful. As for (2), well, it's kind of funny. :-) Cheers, -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 12:36:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from edgemaster.zombie.org (ip68-13-69-9.om.om.cox.net [68.13.69.9]) by hub.freebsd.org (Postfix) with ESMTP id AF73E37B400 for ; Thu, 20 Jun 2002 12:36:42 -0700 (PDT) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 245E466B04; Thu, 20 Jun 2002 14:36:41 -0500 (CDT) Date: Thu, 20 Jun 2002 14:36:41 -0500 From: Sean Kelly To: Bosko Milekic Cc: freebsd-hackers@freebsd.org Subject: Re: Some small projects for mutt(1) Message-ID: <20020620193641.GA63920@edgemaster.zombie.org> References: <20020620152454.A23499@unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020620152454.A23499@unixdaemons.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 03:24:54PM -0400, Bosko Milekic wrote: > > Hi, > > Two ideas have come up recently to extend the features of the mutt(1) > Email client. I'm not one who has hacked on mutt, nor who really > intends to (if I can avoid it, I will), so hence the reason for this > post. It might just be me, but I don't see how the mutt e-mail client falls in the scope of freebsd-hackers. Perhaps you should bring this up with the mutt mailing lists? -- Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 12:46: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 9B6D037B476 for ; Thu, 20 Jun 2002 12:45:12 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5KJglA23872; Thu, 20 Jun 2002 15:42:47 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Thu, 20 Jun 2002 15:42:46 -0400 From: Bosko Milekic To: Sean Kelly Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020620154246.A23829@unixdaemons.com> References: <20020620152454.A23499@unixdaemons.com> <20020620193641.GA63920@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020620193641.GA63920@edgemaster.zombie.org>; from smkelly@zombie.org on Thu, Jun 20, 2002 at 02:36:41PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 02:36:41PM -0500, Sean Kelly wrote: > On Thu, Jun 20, 2002 at 03:24:54PM -0400, Bosko Milekic wrote: > > > > Hi, > > > > Two ideas have come up recently to extend the features of the mutt(1) > > Email client. I'm not one who has hacked on mutt, nor who really > > intends to (if I can avoid it, I will), so hence the reason for this > > post. > > It might just be me, but I don't see how the mutt e-mail client falls in > the scope of freebsd-hackers. Perhaps you should bring this up with the > mutt mailing lists? Ohhhh, riiight. Sorry about that; we deffinately should go back to discussing only what's in the scope of freebsd-hackers, as you say; so back to your regularly scheduled flame wars! > -- > Sean Kelly | PGP KeyID: 77042C7B > smkelly@zombie.org | http://www.zombie.org -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 12:52:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id B2AFC37B406 for ; Thu, 20 Jun 2002 12:52:18 -0700 (PDT) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020620195218.UDOU11426.rwcrmhc51.attbi.com@bmah.dyndns.org>; Thu, 20 Jun 2002 19:52:18 +0000 Received: from intruder.bmah.org (localhost [IPv6:::1]) by bmah.dyndns.org (8.12.3/8.12.3) with ESMTP id g5KJqIkR006939; Thu, 20 Jun 2002 12:52:18 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.3/8.12.3/Submit) id g5KJqELQ006938; Thu, 20 Jun 2002 12:52:14 -0700 (PDT) (envelope-from bmah) Message-Id: <200206201952.g5KJqELQ006938@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020506 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Cc: bmah@packetdesign.com, casner@packetdesign.com Subject: FreeBSD on a MaxAttach? From: bmah@packetdesign.com (Bruce A. Mah) Reply-To: bmah@packetdesign.com X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1928488758P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 20 Jun 2002 12:52:14 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_-1928488758P Content-Type: text/plain; charset=us-ascii Sorry to interrupt various flamewars with some actual technical discussion... :-) At ${REALJOB}, we've got a couple of Maxtor MaxAttach boxes we're trying to play with. These are dedicated NFS/SMB servers. Physically they are 1U boxes with four 70GB IDE disks on them (wd0, wd1, wd2, wd3). They have Pentium (P55C) processors, 128MB of RAM, an on-board fxp device, no slots, and no removable media devices, all this on what appears to be a semi-custom motherboard. We managed to find a serial console with the help of a multimeter and an oscilloscope. The OS appears to be a stripped-down FreeBSD 3.X...they have some kind of concatenated disk driver that seems similar to ccd(4). For various reasons, we're trying to figure out how to get a stock FreeBSD 4-STABLE on them. We tossed in a scratch disk with 4.5-STABLE as the primary master disk; the machine wouldn't even give a loader prompt. We also tried booting with the existing wd0 and wd1, and our disk on the secondary master; we could boot, but got a kernel panic during an attempted boot to single-user mode...I suspect in the concatenated disk driver trying to do some consistency checking. I should mention that with all four of the original disks installed, it functions properly, if slowly, as an NFS server. We're trying not to wipe out the existing boot disk until we have at least a warm, furry feeling that this is going to work. We haven't gotten that yet. In theory we could put a populated obj/ tree on the existing disks and use this to do a installkernel/installworld, but this commits us to a course of action really early without an easy way to back out if something goes wrong (see last paragraph). Has anyone played around with one of these boxes? Thanks in advance! Bruce. PS. It's crossed my mind that the staff time involved in making this work could quickly exceed the cost of buying equivalent (maybe even better) "normal" hardware. :-) --==_Exmh_-1928488758P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE9EjJu2MoxcVugUsMRAqhqAJ91kyvDsysZp3+Dh5iwsBhr9NzGTACgso9Q /e+5Eu9/NrqQZgELmD1ZClo= =CuUG -----END PGP SIGNATURE----- --==_Exmh_-1928488758P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13: 7: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 09E5437B669 for ; Thu, 20 Jun 2002 13:04:51 -0700 (PDT) Received: from frejya.corp.netapp.com (frejya [10.10.20.91]) by mx01-a.netapp.com (8.12.3/8.12.3/NTAP-1.4) with ESMTP id g5KK4lAg021607; Thu, 20 Jun 2002 13:04:47 -0700 (PDT) Received: from elwood-fe.eng (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.12.2/8.12.2/NTAP-1.4) with ESMTP id g5KK4k0E001880; Thu, 20 Jun 2002 13:04:47 -0700 (PDT) Received: from localhost (kmacy@localhost) by elwood-fe.eng (8.11.6+Sun/8.11.6) with ESMTP id g5KK4b809858; Thu, 20 Jun 2002 13:04:45 -0700 (PDT) Date: Thu, 20 Jun 2002 13:04:37 -0700 (PDT) From: Kip Macy To: "Bruce A. Mah" Cc: freebsd-hackers@FreeBSD.ORG, casner@packetdesign.com Subject: Re: FreeBSD on a MaxAttach? In-Reply-To: <200206201952.g5KJqELQ006938@intruder.bmah.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Having had to make Lilo boot Linux on these boards I have some familiarity with them. They don't have a standard BIOS, so they don't support the standard routines that the newer bootloader expects (e.g. memory sizing). If you have more questions feel free to follow up off list - I doubt the particulars of these boards or CDS' custom/hacked version of FreeBSD 3.0 are of much interest to those on the list. If need be I can contact the person who designed the board - I know it is a bit of a kludge but he was working on a very limited time frame. Also you'll find that the MAC address is stored on the boot ROM. Maxtor has moved from FreeBSD to the Windows SAK so the newer boxes are likely to have full BIOS support (they could not keep any of the CDS developers to maintain the FreeBSD code base). On Thu, 20 Jun 2002, Bruce A. Mah wrote: > Sorry to interrupt various flamewars with some actual technical > discussion... :-) > > At ${REALJOB}, we've got a couple of Maxtor MaxAttach boxes we're trying > to play with. These are dedicated NFS/SMB servers. Physically they are > 1U boxes with four 70GB IDE disks on them (wd0, wd1, wd2, wd3). They > have Pentium (P55C) processors, 128MB of RAM, an on-board fxp device, no > slots, and no removable media devices, all this on what appears to be a > semi-custom motherboard. We managed to find a serial console with the > help of a multimeter and an oscilloscope. The OS appears to be a > stripped-down FreeBSD 3.X...they have some kind of concatenated disk > driver that seems similar to ccd(4). > > For various reasons, we're trying to figure out how to get a stock > FreeBSD 4-STABLE on them. We tossed in a scratch disk with 4.5-STABLE > as the primary master disk; the machine wouldn't even give a loader > prompt. We also tried booting with the existing wd0 and wd1, and our > disk on the secondary master; we could boot, but got a kernel panic > during an attempted boot to single-user mode...I suspect in the > concatenated disk driver trying to do some consistency checking. > > I should mention that with all four of the original disks installed, > it functions properly, if slowly, as an NFS server. We're trying not > to wipe out the existing boot disk until we have at least a warm, furry > feeling that this is going to work. We haven't gotten that yet. > > In theory we could put a populated obj/ tree on the existing disks and > use this to do a installkernel/installworld, but this commits us to a > course of action really early without an easy way to back out if > something goes wrong (see last paragraph). > > Has anyone played around with one of these boxes? > > Thanks in advance! > > Bruce. > > PS. It's crossed my mind that the staff time involved in making this > work could quickly exceed the cost of buying equivalent (maybe even > better) "normal" hardware. :-) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:11:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by hub.freebsd.org (Postfix) with ESMTP id E953237B738 for ; Thu, 20 Jun 2002 13:10:40 -0700 (PDT) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.3/8.12.3) with ESMTP id g5KKAePh007487; Thu, 20 Jun 2002 13:10:40 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.3/8.12.3/Submit) id g5KKAdIx007486; Thu, 20 Jun 2002 13:10:39 -0700 (PDT) Date: Thu, 20 Jun 2002 13:10:39 -0700 From: Matthew Hunt To: Bosko Milekic Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020620131039.A7042@wopr.caltech.edu> References: <20020620152454.A23499@unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020620152454.A23499@unixdaemons.com>; from bmilekic@unixdaemons.com on Thu, Jun 20, 2002 at 03:24:54PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 03:24:54PM -0400, Bosko Milekic wrote: > cool if mutt did it). What this does is pretty straightforward: I see > a thread with subject "foo." I don't like it. I really don't like it. > I hit a key combination such as, I don't know, CTRL+B (or something not > bound yet), and not only is the entire thread instantly marked for > deletion, but a carefully crafted rule is also dropped into a sh*tlist > file (that can be handled by procmail?) which will ensure that all > _future_ mailings that are in response to said thread will immediately > be marked for deletion, or merely filtered. Hence, "persistent thread > suppression/deletion." This shouldn't be hard to glue together without modifying mutt itself. Make a little program, foo, that takes the message on stdin, passes it through "formail -x subject", massages it into a procmail rule, and appends it to some procmail rule file. The "massage" step should include escaping characters that have special meanings in procmail regexps, and adding something like (Re: *)? at the beginning of the subject when appropriate. Shouldn't be more than a screenful of Perl. -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:11:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 6F87137B624 for ; Thu, 20 Jun 2002 13:11:06 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY000297TEGXP@mtaout02.icomcast.net> for freebsd-hackers@freebsd.org; Thu, 20 Jun 2002 16:11:05 -0400 (EDT) Date: Thu, 20 Jun 2002 15:11:04 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: FreeBSD on a MaxAttach? In-reply-to: <200206201952.g5KJqELQ006938@intruder.bmah.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: "Bruce A. Mah" Cc: freebsd-hackers@freebsd.org, casner@packetdesign.com Message-id: <20020620145956.F753-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Bruce A. Mah wrote: >PS. It's crossed my mind that the staff time involved in making this >work could quickly exceed the cost of buying equivalent (maybe even >better) "normal" hardware. :-) s/could/will/ If I were you I'd look at the 1U dual Xeon servers from SuperMicro. Onboard Gigabit Ethernet, DDR SDRAM, 4 internal 3.5" drive bays plus slimline CDROM and floppy, 64bit/133Mhz PCI-X slots. They're /nice/. You can find benchmarks on them here: http://www.vampire.vanderbilt.edu/benchmarks.php Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:21:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 6AF4137B415 for ; Thu, 20 Jun 2002 13:20:58 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5KKIcd24341; Thu, 20 Jun 2002 16:18:38 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Thu, 20 Jun 2002 16:18:38 -0400 From: Bosko Milekic To: Matthew Hunt Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020620161838.A24262@unixdaemons.com> References: <20020620152454.A23499@unixdaemons.com> <20020620131039.A7042@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020620131039.A7042@wopr.caltech.edu>; from mph@astro.caltech.edu on Thu, Jun 20, 2002 at 01:10:39PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 01:10:39PM -0700, Matthew Hunt wrote: > On Thu, Jun 20, 2002 at 03:24:54PM -0400, Bosko Milekic wrote: > > > cool if mutt did it). What this does is pretty straightforward: I see > > a thread with subject "foo." I don't like it. I really don't like it. > > I hit a key combination such as, I don't know, CTRL+B (or something not > > bound yet), and not only is the entire thread instantly marked for > > deletion, but a carefully crafted rule is also dropped into a sh*tlist > > file (that can be handled by procmail?) which will ensure that all > > _future_ mailings that are in response to said thread will immediately > > be marked for deletion, or merely filtered. Hence, "persistent thread > > suppression/deletion." > > This shouldn't be hard to glue together without modifying mutt itself. > Make a little program, foo, that takes the message on stdin, passes > it through "formail -x subject", massages it into a procmail rule, and > appends it to some procmail rule file. The "massage" step should include > escaping characters that have special meanings in procmail regexps, and > adding something like (Re: *)? at the beginning of the subject when > appropriate. Shouldn't be more than a screenful of Perl. Interesting. How would you have a key bound sequence in mutt set off the script on the message, though? For instance, if I do a "ctrl+B", how would you ensure that the Right Thing happens, without modifying mutt code? > -- > Matthew Hunt * Stay close to the Vorlon. > http://www.pobox.com/~mph/ * -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:24:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 4753237B40E for ; Thu, 20 Jun 2002 13:24:27 -0700 (PDT) Received: from frejya.corp.netapp.com (frejya [10.10.20.91]) by mx01-a.netapp.com (8.12.3/8.12.3/NTAP-1.4) with ESMTP id g5KKOQAg022545; Thu, 20 Jun 2002 13:24:26 -0700 (PDT) Received: from elwood-fe.eng (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.12.2/8.12.2/NTAP-1.4) with ESMTP id g5KKOQ2e004241; Thu, 20 Jun 2002 13:24:26 -0700 (PDT) Received: from localhost (kmacy@localhost) by elwood-fe.eng (8.11.6+Sun/8.11.6) with ESMTP id g5KKOPr10497; Thu, 20 Jun 2002 13:24:25 -0700 (PDT) Date: Thu, 20 Jun 2002 13:24:25 -0700 (PDT) From: Kip Macy To: "Brandon D. Valentine" Cc: "Bruce A. Mah" , freebsd-hackers@FreeBSD.ORG, casner@packetdesign.com Subject: Re: FreeBSD on a MaxAttach? In-Reply-To: <20020620145956.F753-100000@dallben.homeportal.2wire.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Based on the amount of effort we had to put in, I have to agree that you're going to have to need a _lot_ of hardware for the software effort to pay off. -Kip On Thu, 20 Jun 2002, Brandon D. Valentine wrote: > On Thu, 20 Jun 2002, Bruce A. Mah wrote: > > >PS. It's crossed my mind that the staff time involved in making this > >work could quickly exceed the cost of buying equivalent (maybe even > >better) "normal" hardware. :-) > > s/could/will/ > > If I were you I'd look at the 1U dual Xeon servers from SuperMicro. > Onboard Gigabit Ethernet, DDR SDRAM, 4 internal 3.5" drive bays plus > slimline CDROM and floppy, 64bit/133Mhz PCI-X slots. They're /nice/. > You can find benchmarks on them here: > > http://www.vampire.vanderbilt.edu/benchmarks.php > > Brandon D. Valentine > -- > http://www.geekpunk.net bandix@geekpunk.net > ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ > +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:29:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id D253837B41A for ; Thu, 20 Jun 2002 13:29:09 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY0007ZJU5OD8@mtaout01.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Thu, 20 Jun 2002 16:27:25 -0400 (EDT) Date: Thu, 20 Jun 2002 15:27:24 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: Some small projects for mutt(1) In-reply-to: <20020620161838.A24262@unixdaemons.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Bosko Milekic Cc: Matthew Hunt , freebsd-hackers@FreeBSD.ORG Message-id: <20020620152533.H753-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Bosko Milekic wrote: >On Thu, Jun 20, 2002 at 01:10:39PM -0700, Matthew Hunt wrote: >> This shouldn't be hard to glue together without modifying mutt itself. >> Make a little program, foo, that takes the message on stdin, passes >> it through "formail -x subject", massages it into a procmail rule, and >> appends it to some procmail rule file. The "massage" step should include >> escaping characters that have special meanings in procmail regexps, and >> adding something like (Re: *)? at the beginning of the subject when >> appropriate. Shouldn't be more than a screenful of Perl. > > Interesting. How would you have a key bound sequence in mutt set off >the script on the message, though? For instance, if I do a "ctrl+B", how >would you ensure that the Right Thing happens, without modifying mutt >code? Check out mutt2procmailrc written by my good friend timball: http://www.ghettohack.net/timball/ It rocks. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:33:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by hub.freebsd.org (Postfix) with ESMTP id 492B137B414 for ; Thu, 20 Jun 2002 13:32:54 -0700 (PDT) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.3/8.12.3) with ESMTP id g5KKWrPh008693; Thu, 20 Jun 2002 13:32:53 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.3/8.12.3/Submit) id g5KKWrF8008692; Thu, 20 Jun 2002 13:32:53 -0700 (PDT) Date: Thu, 20 Jun 2002 13:32:53 -0700 From: Matthew Hunt To: Bosko Milekic Cc: freebsd-hackers@freebsd.org Subject: Re: Some small projects for mutt(1) Message-ID: <20020620133253.A8311@wopr.caltech.edu> References: <20020620152454.A23499@unixdaemons.com> <20020620131039.A7042@wopr.caltech.edu> <20020620161838.A24262@unixdaemons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020620161838.A24262@unixdaemons.com>; from bmilekic@unixdaemons.com on Thu, Jun 20, 2002 at 04:18:38PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 04:18:38PM -0400, Bosko Milekic wrote: > Interesting. How would you have a key bound sequence in mutt set off > the script on the message, though? For instance, if I do a "ctrl+B", how > would you ensure that the Right Thing happens, without modifying mutt > code? By adding something like this to your .muttrc: macro index \Cb '|/usr/local/bin/junkmail^M' -- Matthew Hunt * Science rules. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:33:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 66C3437B416 for ; Thu, 20 Jun 2002 13:33:28 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5KKUxY24506; Thu, 20 Jun 2002 16:30:59 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Thu, 20 Jun 2002 16:30:59 -0400 From: Bosko Milekic To: "Brandon D. Valentine" Cc: Matthew Hunt , freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020620163059.A24472@unixdaemons.com> References: <20020620161838.A24262@unixdaemons.com> <20020620152533.H753-100000@dallben.homeportal.2wire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020620152533.H753-100000@dallben.homeportal.2wire.net>; from bandix@geekpunk.net on Thu, Jun 20, 2002 at 03:27:24PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 03:27:24PM -0500, Brandon D. Valentine wrote: > On Thu, 20 Jun 2002, Bosko Milekic wrote: > > >On Thu, Jun 20, 2002 at 01:10:39PM -0700, Matthew Hunt wrote: > >> This shouldn't be hard to glue together without modifying mutt itself. > >> Make a little program, foo, that takes the message on stdin, passes > >> it through "formail -x subject", massages it into a procmail rule, and > >> appends it to some procmail rule file. The "massage" step should include > >> escaping characters that have special meanings in procmail regexps, and > >> adding something like (Re: *)? at the beginning of the subject when > >> appropriate. Shouldn't be more than a screenful of Perl. > > > > Interesting. How would you have a key bound sequence in mutt set off > >the script on the message, though? For instance, if I do a "ctrl+B", how > >would you ensure that the Right Thing happens, without modifying mutt > >code? > > Check out mutt2procmailrc written by my good friend timball: > > http://www.ghettohack.net/timball/ Hey, this is awesome stuff! Thanks! How come we don't have a port? > It rocks. > > Brandon D. Valentine > -- > http://www.geekpunk.net bandix@geekpunk.net > ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ > +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. Regards, -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:39:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id EA92337B40D for ; Thu, 20 Jun 2002 13:39:26 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY000747UOH6R@mtaout01.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Thu, 20 Jun 2002 16:38:41 -0400 (EDT) Date: Thu, 20 Jun 2002 15:38:41 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: Some small projects for mutt(1) In-reply-to: <20020620163059.A24472@unixdaemons.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Bosko Milekic Cc: Matthew Hunt , freebsd-hackers@FreeBSD.ORG Message-id: <20020620153816.L753-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Bosko Milekic wrote: > Hey, this is awesome stuff! Thanks! How come we don't have a port? I've been busy. ;-) Feel free to do the port if you get time before I do. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 13:40:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id F18C937B43B for ; Thu, 20 Jun 2002 13:40:09 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020620204009.VNXP11426.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 20 Jun 2002 20:40:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA32360; Thu, 20 Jun 2002 13:21:32 -0700 (PDT) Date: Thu, 20 Jun 2002 13:21:30 -0700 (PDT) From: Julian Elischer To: Brooks Davis Cc: "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? In-Reply-To: <20020620103130.B23020@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Brooks Davis wrote: > On Wed, Jun 19, 2002 at 10:09:07PM -0400, David E. Cross wrote: > > He is however "quite sick" of networking, and was originally looking at > > the VM code as a potential area (he is gaining an interest in > > parallelization and synchronization). > > Something I'd like to see which is unfortunatly network releated is ng_ip, > ng_tcp, and ng_udp netgraph modules. Since the networking code already > exists (though it's probably got a number of layering violations in it > that would need to be sorted out) this would be more of an infrastructure > project then a networking project. It would have things to measure > (comparative throughput and latency, for example.) If these modules > were available, netgraph would become much more intresting as a basis > for network research (say building distributed simulators). Later > researchers could add ng_tcp_reno, ng_tcp_vegas, or even ng_tca_daytona > (the messed up "accelerated" tcp which acks each byte seperatly.) I've been considereing this as a fun project. The difficult comes at the interface/IP boundary.. we'd need am ng_route node to multiplex the packets to the correct output nodes... :-) > > -- Brooks > > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:12:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outhub2.tibco.com (outhub2.tibco.com [63.100.100.156]) by hub.freebsd.org (Postfix) with ESMTP id D8FE537B40C for ; Thu, 20 Jun 2002 14:12:22 -0700 (PDT) Received: by outhub2.tibco.com; id OAA06453; Thu, 20 Jun 2002 14:12:24 -0700 (PDT) Received: from na-h-inhub2.tibco.com(10.106.128.34) by outhub2.tibco.com via smap (V4.1) id xmaa06376; Thu, 20 Jun 02 14:11:55 -0700 Received: from mail1.tibco.com (nsmail2.tibco.com [10.106.128.42]) by na-h-inhub2.tibco.com (8.12.2/8.12.2) with ESMTP id g5KL1eFl020538 for ; Thu, 20 Jun 2002 14:01:40 -0700 (PDT) Received: from tibco.com ([10.105.146.230]) by mail1.tibco.com (Netscape Messaging Server 4.15) with ESMTP id GY0W7T00.947; Thu, 20 Jun 2002 14:11:53 -0700 Message-ID: <3D1244F1.8020900@tibco.com> Date: Thu, 20 Jun 2002 14:11:13 -0700 From: "Aram Compeau" User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en,zh,fr,ja,ko MIME-Version: 1.0 To: Terry Lambert Cc: hackers@FreeBSD.ORG Subject: Re: projects? References: <200206200209.g5K297R14456@monica.cs.rpi.edu> <3D113D16.6D1A0238@mindspring.com> <3D114FE7.3020304@tibco.com> <3D119425.7EF9BE3E@mindspring.com> Content-Type: multipart/alternative; boundary="------------000306030500070200080206" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --------------000306030500070200080206 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Great list, thanks for that. While I think LRP and TCP Rate Halving are quite interesting, I think tackling the SMP Safe Queues makes the best use my resources. I fear that testing some of the other items requires setups that are not feasible for me. Cheers, Aram Terry Lambert wrote: >Aram Compeau wrote: > >>>Too bad he's sick of networking. There a lot of intersting code >>>that could be implemented in the main line FreeBSD that would be >>>really beneficial, overall. >>> >>Could you elaborate briefly on what you'd like to see worked on with >>respect to this? I don't want you to spend a lot of time describing >>anything, but I am curious. I don't generally have large blocks of spare >>time, but could work on something steadily with a low flame. >> > >--- >LRP >--- > >I would like FreeBSD to support LRP (Lazy Receiver Processing), >an idea which came from the Scala Server Project at Rice >University. > >LRP gets rid of the need to run network processing in kernel >threads, in order to get parallel operation on SMP systems; >so long as the interrupt processing load is balanced, it's >possible to handle interrupts in an overlapped fashion. > >Right now, there are four sets of source code: SunOS 4.1.3_U1, >FreeBSD 2.2-BETA, FreeBSD 4.0, FreeBSD 4.3. The first three >are from Rice University. The fourth is from Duke University, >and is a port forward of the 4.0 Rice code. > >The Rice code, other than the FreeBSD 2.2-BETA, is unusable. >It mixes in an idea called "Resource Containers" (RESCON), >that is really not very useful (I can go into great detail on >this, if necessary). It also has a restrictive license. The >FreeBSD 2.2-BETA implementation has a CMU MACH style license >(same as some FreeBSD code already has). > >The LRP implementation in all these cases is flawed, in that >it assumes that the LRP processing will be universal across >an entire address family, and the experimental implementation >loads a full copy of the AF_INET stack under another family >name. A real integration is tricky, including credentials on >accept calls, an attribute on the family struct, to indicate >that it's LRP'ed, so that common subsystems can behave very >differently, support for Accept filters and othe Kevents, etc.). > >LRP gives a minimum of a factor of 3 improvement in connections >per second, without the SYN cache code involved at all, through >an overall reduction in processing latency. It also has the >effect of preventing "receiver livelock". > > http://www.cs.rice.edu/CS/Systems/LRP/ > http://www.cs.duke.edu/~anderson/freebsd/muse-sosp/readme.txt > >---------------- >TCP Rate Halving >---------------- > >I would like to see FreeBSD support TCP Rate Halving, and idea >from the Pittsburgh Cupercomputing Center (PSC) at Carengie >Mellon University (CMU). > >These are the people who invented "traceroute". > >TCP Rate halving is an alternative to the RFC-2581 Fast Recovery >algorithm for congestion control. It effectively causes the >congestion recovery to be self-clocked by ACKs, which has the >overall effect of avoiding the normal burstiness of TCP recovery >following congestion. > >This builds on work by Van Jacobsen, J. Hoe, and Sally Floyd. > >Their current implementation is for NetBSD 1.3.2. > > http://www.psc.edu/networking/rate_halving.html > >--------------- >SACK, FACK, ECN >--------------- > >Also from PSC at CMU. > >SACK and FACK are well known. It's annnoying that Luigi Rizzo's >code from 1997 or so was never integrated into FreeBSD. > >ECN is an implementation of Early Congestion Notification. > > http://www.psc.edu/networking/tcp.html > > >---- >VRRP >---- > >There is an implementation of a real VRRP for FreeBSD available; >it is in ports. > >This is a real VRRP (Virtual Router Redundancy Protocol), not >like the Linux version which uses the multicast mask and thus >loses multicast capability. > >There are intersting issues in actual deployment of this code; >specifically, the VMAC that needs to be used in order to >logically seperate virtual routers is not really implemented >well, so there are common ARP issues. > >There are a couple of projects that one could take on here; by >far, the most interesting (IMO) would be to support multiple >virtual network cards on a single physical network card. Most >of the Gigabit Ethernet cards, and some of the 10/100Mbit cards, >can support multiple MAC addresses (the Intel Gigabit card can >support 16, the Tigon III supports 4, and the Tigone II supports >2). > >The work required would be to support the ability to have a >single driver, single NIC, multiple virtual NICs. > >There are also interesting issues, like being able to selectively >control ARP response from a VRRP interface which is not the >master interface. This has intersting implications for the >routing code, and for the initialization code, which normally >handles the gratuitous ARP. More information can be found in >the VRRP RFC, RFC-2338. > >---------- >TCP Timers >---------- > >I've discussed this before in depth. Basically, the timer code >is very poor for a large number of connections, and increasing >the size of the callout wheel is not a real/reasonable answer. > >I would like to see the code go back to the BSD 4.2 model, which >is a well known model. There is plenty of prior art in this area, >but the main thing that needs to be taken from the BSD 4.2 is per >interval timer lists, so that the list scanning, for the most part, >scans only those timers that have expired (+ 1). Basically, a >TAILQ per interval for ficed interval timers. > >A very obvious way to measure the performance improvement here is >to establish a very large number of connections. If you have 4G >of memory in an IA32 machine, you should have no problem getting >to 300,000 connections. If you really work at it, I have been >able to push this number to 1.6 Million simultaneous connections. > > >--------------- >SMP Safe Queues >--------------- > >For simple queue types, it should be possible to make queueing >and dequing an intrinsically atomic operation. > >This basically means that the queue locking that is being added >to make the networking code SMP safe, is largely unnecessary, >and is caused solely by the fact that the queue macros themselves >are not being properly handled through ordering of operations, >rather than being locked around. > >In theory, this is also possible for a "counted queue". A >"counted queue" is a necessary construct for RED queueing, >which needs to maintain a moving average for comparison to >the actual queue depth, so that it can do RED (Random Early >Drop) of packets. > >--- >WFS >--- > >Weighted fair share queueing is a method of handling scheduling >of processes, such that the kernel processing. > >This isn't technically a networking issue. However, if the >programs in user space which are intended to operate (or, if >you are a 5.x purist, the kernel threads in kernel space, if >you pull an Ingo Mollnar and cram everything that shouldn't >be in the kernel, into the kernel) do not remove data from >the input processing queue fast enough, you will still suffer >from receiver livelock. Basically, you need to be able to >run the programs with a priority, relative to interrupt processing. > >Some of the work that Jon Lemon and Luigi Rizzo have done in >this area is interesting, but it's not sufficient to resolve >the problem (sorry guys). Unfortunately, they don't tend to >run their systems under breaking point stress, so they don't >see the drop-off in performance that happens at high enough >load.To be able to test this, you would have to have a lab >with the ability to throw a large number of clients against >a large number of servers, with the packets transiting an >applicaiton in a FreeBSD box, at close to wire speeds. We >are talking at least 32 clients and servers, unless you have >access to purpose built code (it's easier to just throw the >machines at it, and be done with it). > >--- >--- >--- > >Basically, that's my short list. There are actually a lot more >things that could be done in the networking area; there are things >to do in the routing area, and things to do with RED queueing, and >things to do with resource tuning, etc., and, of course, there's >the bugs that you normally see in the BSD stack only when you try >to dothings like open more than 65535 outbound connections from a >single box, etc.. > >Personally, I'm tired of solving the same problems over and over >again, so I'd like to see the code in FreeBSD proper, so that it >becomes part of the intellectual commons. > >-- Terry > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > > --------------000306030500070200080206 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Great list, thanks for that. While I think LRP and TCP Rate Halving are quite interesting, I think tackling the SMP Safe Queues makes the best use my resources. I fear that testing some of the other items requires setups that are not feasible for me.

Cheers,

Aram


Terry Lambert wrote:

Aram Compeau wrote:
Too bad he's sick of networking.  There a lot of intersting code
that could be implemented in the main line FreeBSD that would be
really beneficial, overall.
Could you elaborate briefly on what you'd like to see worked on with
respect to this? I don't want you to spend a lot of time describing
anything, but I am curious. I don't generally have large blocks of spare
time, but could work on something steadily with a low flame.

---
LRP
---

I would like FreeBSD to support LRP (Lazy Receiver Processing),
an idea which came from the Scala Server Project at Rice
University.

LRP gets rid of the need to run network processing in kernel
threads, in order to get parallel operation on SMP systems;
so long as the interrupt processing load is balanced, it's
possible to handle interrupts in an overlapped fashion.

Right now, there are four sets of source code: SunOS 4.1.3_U1,
FreeBSD 2.2-BETA, FreeBSD 4.0, FreeBSD 4.3. The first three
are from Rice University. The fourth is from Duke University,
and is a port forward of the 4.0 Rice code.

The Rice code, other than the FreeBSD 2.2-BETA, is unusable.
It mixes in an idea called "Resource Containers" (RESCON),
that is really not very useful (I can go into great detail on
this, if necessary). It also has a restrictive license. The
FreeBSD 2.2-BETA implementation h as a CMU MACH style license
(same as some FreeBSD code already has).

The LRP implementation in all these cases is flawed, in that
it assumes that the LRP processing will be universal across
an entire address family, and the experimental implementation
loads a full copy of the AF_INET stack under another family
name. A real integration is tricky, including credentials on
accept calls, an attribute on the family struct, to indicate
that it's LRP'ed, so that common subsystems can behave very
differently, support for Accept filters and othe Kevents, etc.).

LRP gives a minimum of a factor of 3 improvement in connections
per second, without the SYN cache code involved at all, through
an overall reduction in processing latency. It also has the
effect of preventing "receiver livelock".

http://www.cs.rice.edu/CS/Systems/LRP/
http://www.cs.duke.edu/~anderson/freebsd/muse-sosp/readme.txt

----------------
TCP Rate Halving
----------------

I would like to see FreeBSD support TCP Rate Halving, and idea
from the Pittsburgh Cupercomputing Center (PSC) at Carengie
Mellon University (CMU).

These are the people who invented "traceroute".

TCP Rate halving is an alternative to the RFC-2581 Fast Recovery
algorithm for congestion control. It effectively causes the
congestion recovery to be self-clocked by ACKs, which has the
overall effect of avoiding the normal burstiness of TCP recovery
following congestion.

This builds on work by Van Jacobsen, J. Hoe, and Sally Floyd.

Their current implementation is for NetBSD 1.3.2.

http://www.psc.edu/networking/rate_halving.h tml

---------------
SACK, FACK, ECN
---------------

Also from PSC at CMU.

SACK and FACK are well known. It's annnoying that Luigi Rizzo's
code from 1997 or so was never integrated into FreeBSD.

ECN is an implementation of Early Congestion Notification.

http://www.psc.edu/networking/tcp.html


----
VRRP
----

There is an implementation of a real VRRP for FreeBSD available;
it is in ports.

This is a real VRRP (Virtual Router Redundancy Protocol), not
like the Linux version which uses the multicast mask and thus
loses multicast capability.

There are intersting issues in actual deployment of this code;
specifically, the VMAC that needs to be used in order to
logically seperate virtual routers is not really implemented
well, so there are common ARP issues.

There are a couple of projects that one could take on here; by
far, the most interesting (IMO) would be to support multiple
virtual network cards on a single physical network card. Most
of the Gigabit Ethernet cards, and some of the 10/100Mbit cards,
can support multiple MAC addresses (the Intel Gigabit card can
support 16, the Tigon III supports 4, and the Tigone II supports
2).

The work required would be to support the ability to have a
single driver, single NIC, multiple virtual NICs.

There are also interesting issues, like being able to selectively
control ARP response from a VRRP interface which is not the
master interface. This has intersting implications for the
routing code, and for the initialization code, which normally
handles the gratuitous ARP. More information can be found in
the VRRP RFC, RFC-2338.

----------
TCP Timers
----------

I've discussed this before in depth. Basically, the timer code
is very poor for a large nu mber of connections, and increasing
the size of the callout wheel is not a real/reasonable answer.

I would like to see the code go back to the BSD 4.2 model, which
is a well known model. There is plenty of prior art in this area,
but the main thing that needs to be taken from the BSD 4.2 is per
interval timer lists, so that the list scanning, for the most part,
scans only those timers that have expired (+ 1). Basically, a
TAILQ per interval for ficed interval timers.

A very obvious way to measure the performance improvement here is
to establish a very large number of connections. If you have 4G
of memory in an IA32 machine, you should have no problem getting
to 300,000 connections. If you really work at it, I have been
able to push this number to 1.6 Million simultaneous connections.


---------------
SMP Safe Queues
---------------

For simple queue types, it should be possible to make queueing
and dequi ng an intrinsically atomic operation.

This basically means that the queue locking that is being added
to make the networking code SMP safe, is largely unnecessary,
and is caused solely by the fact that the queue macros themselves
are not being properly handled through ordering of operations,
rather than being locked around.

In theory, this is also possible for a "counted queue". A
"counted queue" is a necessary construct for RED queueing,
which needs to maintain a moving average for comparison to
the actual queue depth, so that it can do RED (Random Early
Drop) of packets.

---
WFS
---

Weighted fair share queueing is a method of handling scheduling
of processes, such that the kernel processing.

This isn't technically a networking issue. However, if the
programs in user space which are intended to operate (or, if
you are a 5.x purist, the kernel threads in kernel space, if
you pull an Ingo Mollnar an d cram everything that shouldn't
be in the kernel, into the kernel) do not remove data from
the input processing queue fast enough, you will still suffer
from receiver livelock. Basically, you need to be able to
run the programs with a priority, relative to interrupt processing.

Some of the work that Jon Lemon and Luigi Rizzo have done in
this area is interesting, but it's not sufficient to resolve
the problem (sorry guys). Unfortunately, they don't tend to
run their systems under breaking point stress, so they don't
see the drop-off in performance that happens at high enough
load.To be able to test this, you would have to have a lab
with the ability to throw a large number of clients against
a large number of servers, with the packets transiting an
applicaiton in a FreeBSD box, at close to wire speeds. We
are talking at least 32 clients and servers, unless you have
access to purpose built code (it's easier to just throw the
machines at it, and be done with it).

---
---
---

Basically, that's my short list. There are actually a lot more
things that could be done in the networking area; there are things
to do in the routing area, and things to do with RED queueing, and
things to do with resource tuning, etc., and, of course, there's
the bugs that you normally see in the BSD stack only when you try
to dothings like open more than 65535 outbound connections from a
single box, etc..

Personally, I'm tired of solving the same problems over and over
again, so I'd like to see the code in FreeBSD proper, so that it
becomes part of the intellectual commons.

-- Terry

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



--------------000306030500070200080206-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:13:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by hub.freebsd.org (Postfix) with ESMTP id 9844A37B406 for ; Thu, 20 Jun 2002 14:13:13 -0700 (PDT) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 0BC0D7CEFE for ; Thu, 20 Jun 2002 23:13:09 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1091) id 1959B7CEC8; Thu, 20 Jun 2002 23:13:03 +0200 (CEST) Date: Thu, 20 Jun 2002 23:13:02 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Subject: Procfs patch (for FreeBSd 4.x). Message-ID: <20020620231302.A57333@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-PGP-Key-URL: http://garage.freebsd.pl/jules.pgp X-OS: FreeBSD 4.5-STABLE i386 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What You think about something like that: [17:33:39] [ttyv8] [61] leila:root:/sys/miscfs/procfs# diff procfs_subr.c.orig procfs_subr.c 42a43 > #include 80a82,119 > > SYSCTL_NODE(_vfs, OID_AUTO, procfs, CTLFLAG_RW, 0, "vfs-procfs-level"); > > int procfsumask = 077; > > static int > sysctl_vfs_procfsumask(SYSCTL_HANDLER_ARGS) > { > int error, umask, mn, pfsu, tmpumask; > > pfsu = procfsumask; > for (umask = 0, mn = 1; pfsu > 0; mn *= 10) { > umask += (pfsu % 8) * mn; > pfsu /= 8; > } > > error = sysctl_handle_int(oidp, &umask, 0, req); > > if (error || !req->newptr) > return (error); > > tmpumask = pfsu = umask; > for (umask = 0, mn = 1; pfsu > 0; mn *= 8) { > umask += (pfsu % 10) << mn; > pfsu /= 10; > } > > if (tmpumask < 0 || tmpumask > 0777) > return (EPERM); > > procfsumask = tmpumask; > > return (error); > } > > SYSCTL_PROC(_vfs_procfs, OID_AUTO, umask, CTLTYPE_INT|CTLFLAG_RW, > 0, 0, sysctl_vfs_procfsumask, "I", "Current procfs umask"); > 203a243,245 > > if (pfs->pfs_type != Pcurproc) > pfs->pfs_mode &= ~procfsumask; This gives us new sysctl (vfs.procfs.umask) and with this we can control permissions of procfs files (this works like umask(2)). Or maybe just: [17:33:39] [ttyv8] [61] leila:root:/sys/miscfs/procfs# diff procfs_subr.c.orig procfs_subr.c.2 51a52,53 > extern int ps_showallprocs; > 203a206,208 > > if ((!ps_showallprocs) && pfs->pfs_type != Pcurproc) > pfs->pfs_mode &= 0700; Hmm? -- Pawe³ Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:21:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 8000637B4A0 for ; Thu, 20 Jun 2002 14:20:46 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5KLHf489024 for ; Thu, 20 Jun 2002 14:17:46 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Thu, 20 Jun 2002 14:17:41 -0700 (PDT) From: Patrick Thomas To: Subject: inuring FreeBSD to the apache bug without upgrading apache ? Message-ID: <20020620141424.U68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is it possible to patch/recompile FreeBSD 4.5 in such a way that your system is no longer vulnerable to the "chunking" attack, even if you are still running a vulnerable apache ? I ask because I see in one of the chunking exploits that: * Remote OpenBSD/Apache exploit for the "chunking" vulnerability. Kudos to * the OpenBSD developers (Theo, DugSong, jnathan, *@#!w00w00, ...) and * their crappy memcpy implementation that makes this 32-bit impossibility * very easy to accomplish. Which leads me to believe there are structures in the OS which "help" this vulnerability to exist. I am _very_ interested to find out if it is possible to patch this bug at the FreeBSD OS level and not the apache level. thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:24:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 18CAC37B4F4 for ; Thu, 20 Jun 2002 14:23:48 -0700 (PDT) Received: from heavygear (qing4.isi.com [192.103.54.235]) by mail.wrs.com (8.9.3/8.9.1) with SMTP id OAA10377 for ; Thu, 20 Jun 2002 14:22:24 -0700 (PDT) From: "Qing Li" To: "FreeBSD Hackers" Subject: FW: pcmcia weirdness Date: Thu, 20 Jun 2002 14:23:07 -0700 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hoping to find some answers here... -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org]On Behalf Of Qing Li Sent: Wednesday, June 19, 2002 6:45 PM To: FreeBSD Stable Subject: pcmcia weirdness I encountered this problem in both 4.5 and 4.6 PREREL. I have a 3COM 3C509 pcmcia card. It used to work. I don't remember when I did a CVSup the last time in the 4.5 branch but after the update when the system boots up, it finds the card but does not recognize it as the 3c509. I found a work around for this. Once the system boots up, I eject the card, get the message, then I reboot the system. During the next kernel load I reinsert the card back into its slot, this time the card is recognized and driver is loaded approriately. Does anyone know what the problem is ?? -- Qing To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:29:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 1272E37B408; Thu, 20 Jun 2002 14:29:22 -0700 (PDT) Received: from bsdpc ([80.60.248.65]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GY0X0W00.U3B; Thu, 20 Jun 2002 23:29:20 +0200 Content-Type: text/plain; charset="us-ascii" From: "Peter J. Blok" To: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: multiple gateways Date: Thu, 20 Jun 2002 23:29:17 +0200 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206202329.17885.Peter.Blok@inter.NL.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I know this topic has been brought up numerous times. I have 4 IP4 internal networks (sf0 .. sf3) I have a cable modem connection ep0 and a DSL ep1 connection too. I'd like to route all traffic from sf0 and sf1 to the DSL connection and the others to the cable modem. At the same time I'd like to offer the protection of ipfilter. Traffic on sf0 should not see traffic on sf1 etc. Since this seems not possible with the both stable and current, I would like to make a solution for it, inside the kernel. I am thinking of creating a routing table based on source address and designate the right gateway. Thoughts and opinions are very welcome. Where do you suggest I start? Peter P.S. If this functionality exists (without bridging) I'd like to know as well To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:34:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A0BA737B408; Thu, 20 Jun 2002 14:34:11 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1098) id 69DD7AE2BE; Thu, 20 Jun 2002 14:34:11 -0700 (PDT) Date: Thu, 20 Jun 2002 14:34:11 -0700 From: Bill Fumerola To: "Peter J. Blok" Cc: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: multiple gateways Message-ID: <20020620213411.GD75238@elvis.mu.org> References: <200206202329.17885.Peter.Blok@inter.NL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206202329.17885.Peter.Blok@inter.NL.net> User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-MUORG-20020423 i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 11:29:17PM +0200, Peter J. Blok wrote: > Since this seems not possible with the both stable and current, I would like > to make a solution for it, inside the kernel. I am thinking of creating a > routing table based on source address and designate the right gateway. man ipfw, particularly the section describing 'fwd'. for future reference, questions belong on , not cross-posted to -hackers & -net. -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org / billf@mu.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 14:56:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 3253D37B40C for ; Thu, 20 Jun 2002 14:56:45 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY0006GAYA89J@mtaout03.icomcast.net> for freebsd-hackers@freebsd.org; Thu, 20 Jun 2002 17:56:33 -0400 (EDT) Date: Thu, 20 Jun 2002 16:56:32 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: I Volunteer In-reply-to: <3D11E8F7.14C12D96@mitre.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Jason Andresen Cc: Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Message-id: <20020620164727.A1108-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Jason Andresen wrote: >I thought the strength of uw-imap was that it was fairly easy to >configure for a machine with local users. The strength of uw-imap is clearly that it's fairly easy to allow remote users to root your machine. courier-imap has a bit better track record but still isn't stellar. This month there were exploits for both uw-imap and courier-imap. >The same certainly couldn't be said for Cyrus. Heck, I nearly slit my >own wrists out of frustration trying to get Cyrus working. Doesn't >help that its online documentation is poo either. Configuring Cyrus isn't any more difficult than any sufficiently useful piece of software like a good MTA, amanda, BIND, etc. The Linux Cyrus HOWTO is helpful as is the O'Reilly Managing IMAP book. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15: 0:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by hub.freebsd.org (Postfix) with ESMTP id F20CB37B411 for ; Thu, 20 Jun 2002 15:00:46 -0700 (PDT) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id AE5EB7CF7D for ; Fri, 21 Jun 2002 00:00:43 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1091) id 20A327CEFE; Fri, 21 Jun 2002 00:00:37 +0200 (CEST) Date: Fri, 21 Jun 2002 00:00:37 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Subject: Re: Procfs patch (for FreeBSD 4.x). Message-ID: <20020621000037.A58573@prioris.mini.pw.edu.pl> References: <20020620231302.A57333@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20020620231302.A57333@prioris.mini.pw.edu.pl>; from nick@garage.freebsd.pl on Thu, Jun 20, 2002 at 11:13:02PM +0200 X-PGP-Key-URL: http://garage.freebsd.pl/jules.pgp X-OS: FreeBSD 4.5-STABLE i386 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 11:13:02PM +0200, Pawel Jakub Dawidek wrote: +> What You think about something like that: +> [17:33:39] [ttyv8] [61] leila:root:/sys/miscfs/procfs# diff procfs_subr.c.orig procfs_subr.c [...] +> This gives us new sysctl (vfs.procfs.umask) and with this we can control +> permissions of procfs files (this works like umask(2)). +> Or maybe add something like that as mount option (look at "-m" in mount_msdos(8))? -- Pawe³ Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15: 1:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 4E4B037B412; Thu, 20 Jun 2002 15:01:11 -0700 (PDT) Received: from jogega jogegabsd@smtp-send.myrealbox.com [216.230.149.171] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.9 $ on Novell NetWare; Thu, 20 Jun 2002 16:01:07 -0600 From: "jogegabsd" To: Cc: Subject: can't mount cdrom 4.6-RELEASE Date: Thu, 20 Jun 2002 16:01:07 -0600 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just upgrade to 4.6-RELEASE. In the 4.5-RELEASE I was able to mount and umount my CD-R/DVD with no problems. In both versions my dmesg shows: acd0: CD-RW at ata1-master PIO4 But after the upgrade I try to mount a cd and I get # mount_cd9660 /dev/acd0c /cdrom /dev/acd0c: Device not configured # I check in /dev/ and there it is. Try to reconfigure it by # sh MAKEDEV acd0 # But still the same. What I don't get is, why it works with 4.5-RELEASE and not with 4.6-RELEASE. Is this posiible? I will really apreciate your help, I need to burn some info. thanks in advance and please CC cuz I'm not in the list Gerardo Amaya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15: 9: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by hub.freebsd.org (Postfix) with ESMTP id 1D97C37B42B for ; Thu, 20 Jun 2002 15:06:38 -0700 (PDT) Received: by mail.eecs.harvard.edu (Postfix, from userid 465) id 2BBD154C8FC; Thu, 20 Jun 2002 18:06:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 29E0C54C8FA for ; Thu, 20 Jun 2002 18:06:37 -0400 (EDT) Date: Thu, 20 Jun 2002 18:06:37 -0400 (EDT) From: Dan Ellard To: hackers@freebsd.org Subject: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Has anyone done a side-by-side benchmark of the FreeBSD, OpenBSD, and NetBSD NFS servers on the same hardware? Note that I'm interested in server performance, not client performance. I'm particularly interested in read performance, but anything would be interesting. In lieu of actual data, which system do people think makes the best NFS server for heavily-loaded systems? Thanks, -Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15:10:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 7369E37B489 for ; Thu, 20 Jun 2002 15:09:35 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY000CS8YVYPJ@mtaout05.icomcast.net> for freebsd-hackers@freebsd.org; Thu, 20 Jun 2002 18:09:35 -0400 (EDT) Date: Thu, 20 Jun 2002 17:09:34 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: I Volunteer In-reply-to: <3D1226C6.1870F02F@pantherdragon.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Darren Pilgrim Cc: Jason Andresen , Evan Dower , freebsd-hackers@freebsd.org Message-id: <20020620170155.P1108-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Darren Pilgrim wrote: >Personally I'm all for courier-imap. IMAP and POP3, Maildirs, SSL, and >the ability to access both real and virtual mailboxes. See my other recent message about the security implications of running courier-imap. Also, maildirs are a mediocre idea for general use, and a horrible idea for high volume mail spools. The whole idea behind IMAP is for the mail to reside on the mail server, not a user's workstation. Maildirs eat inodes like nobody's business. If you're using FFS to host a fairly high traffic mail spool you'll probably need to newfs your filesystem with a /ton/ of inodes. The only solution is to use a filesystem which dynamically allocates inodes like XFS. Cyrus uses a much more efficient storage mechanism. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15:14:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 312E037B420 for ; Thu, 20 Jun 2002 15:13:45 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY000FFDZ1XLE@mtaout04.icomcast.net> for hackers@freebsd.org; Thu, 20 Jun 2002 18:13:09 -0400 (EDT) Date: Thu, 20 Jun 2002 17:13:09 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? In-reply-to: X-X-Sender: bandix@dallben.homeportal.2wire.net To: Dan Ellard Cc: hackers@freebsd.org Message-id: <20020620171215.L1108-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Dan Ellard wrote: >In lieu of actual data, which system do people think makes the best >NFS server for heavily-loaded systems? I've got no numbers to back it up but I'd say the performance I've seen is in this order: IRIX/XFS/NFSv3 FreeBSD/FFS/NFSv3 Linux/XFS/NFSv3 Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 15:36:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 1273437B410; Thu, 20 Jun 2002 15:36:33 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 20 Jun 2002 23:36:31 +0100 (BST) To: jogegabsd Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: can't mount cdrom 4.6-RELEASE In-Reply-To: Your message of "Thu, 20 Jun 2002 16:01:07 MDT." Date: Thu, 20 Jun 2002 23:36:31 +0100 From: Ian Dowse Message-ID: <200206202336.aa22602@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , jogegabsd wr ites: >I just upgrade to 4.6-RELEASE. ... ># mount_cd9660 /dev/acd0c /cdrom >/dev/acd0c: Device not configured What way did you upgrade? The device minor number for acdXc changed between 4.5 and 4.6, so you need to ensure that you have an up-to-date /dev/MAKEDEV as well as re-running "sh MAKEDEV acd0". If you did a buildworld, you probably forgot the mergemaster step or did it in the wrong order. The output of "ls -l /dev/acd0c" should look something like: crw-r----- 4 root operator 117, 0 Apr 27 20:24 /dev/acd0c Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 16: 1:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 45D5137B420; Thu, 20 Jun 2002 16:00:31 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020620230030.ZOAX11426.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 20 Jun 2002 23:00:30 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA32992; Thu, 20 Jun 2002 15:56:07 -0700 (PDT) Date: Thu, 20 Jun 2002 15:56:06 -0700 (PDT) From: Julian Elischer To: "Peter J. Blok" Cc: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: multiple gateways In-Reply-To: <200206202329.17885.Peter.Blok@inter.NL.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You an do this for OUTGOING packets using ipfw and teh 'fwd' keyword. (it can be used to override 'next hop' routing decisions.) INCOMING is a whole different problem. On Thu, 20 Jun 2002, Peter J. Blok wrote: > Hi, > > I know this topic has been brought up numerous times. I have 4 IP4 internal > networks (sf0 .. sf3) > > I have a cable modem connection ep0 and a DSL ep1 connection too. I'd like to > route all traffic from sf0 and sf1 to the DSL connection and the others to > the cable modem. At the same time I'd like to offer the protection of > ipfilter. Traffic on sf0 should not see traffic on sf1 etc. > > Since this seems not possible with the both stable and current, I would like > to make a solution for it, inside the kernel. I am thinking of creating a > routing table based on source address and designate the right gateway. > > Thoughts and opinions are very welcome. Where do you suggest I start? > > Peter > > P.S. If this functionality exists (without bridging) I'd like to know as well > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 16:29:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 77D8937B412; Thu, 20 Jun 2002 16:29:33 -0700 (PDT) Received: from kokeb.ambesa.net ([66.122.213.147]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GY100EG82L8XU@mta7.pltn13.pbi.net>; Thu, 20 Jun 2002 16:29:33 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [127.0.0.1]) by kokeb.ambesa.net (8.12.3/8.12.3) with ESMTP id g5KNYfeU041592; Thu, 20 Jun 2002 16:34:41 -0700 (PDT envelope-from mikem@kokeb.ambesa.net) Received: (from mikem@localhost) by kokeb.ambesa.net (8.12.3/8.12.3/Submit) id g5KNYfIb041591; Thu, 20 Jun 2002 16:34:41 -0700 (PDT envelope-from mikem) Date: Thu, 20 Jun 2002 16:34:41 -0700 From: Mike Makonnen Subject: Re: fdcheckstd() test bug in execve() (was: Re: Suggested fixes for uidinfo "would sleep" messages) In-reply-to: <200206200704.g5K74OM1068558@gw.catspoiler.org> To: Don Lewis Cc: bright@mu.org, jhb@FreeBSD.ORG, hackers@FreeBSD.ORG Message-id: <20020620163441.5f204b3f.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20020619191846.4aa74dd6.makonnen@pacbell.net> <200206200704.g5K74OM1068558@gw.catspoiler.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002 00:04:41 -0700 (PDT) Don Lewis wrote: > > Your patch also looks like it should fix the bug. I prefer my patch, > though, because I think the resultant code is structured better and > should be easier to understand. For instance, the reason for the > assignment to oldcred in the "if (error != 0)" block in your patch is > not immediately obvious. You can remove it, it was part of something else I was working on. I haven't taken a look at your patch. I was working on something else and already had a patch for it, before I saw yours. I sent it as a reference because there was something in the thread about leaking p_args. I really don't care which patch makes it into the tree. If it solves the problem, it solves the problem. There's not much more to it. Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 17: 9:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id A0B5337B401 for ; Thu, 20 Jun 2002 17:09:29 -0700 (PDT) Received: from hades.hell.gr (patr530-b140.otenet.gr [212.205.244.148]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5L09QMW016414 for ; Fri, 21 Jun 2002 03:09:27 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5L09PLa002232 for ; Fri, 21 Jun 2002 03:09:25 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5L09PaO002231 for hackers@freebsd.org; Fri, 21 Jun 2002 03:09:25 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 21 Jun 2002 03:09:25 +0300 From: Giorgos Keramidas To: hackers@FreeBSD.org Subject: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621000924.GA2178@hades.hell.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello all, I've been thinking for quite some time to add per-client-IP limiting to ftpd, and I had almost decided upon something like the following, where each child of ftpd has two numbers associated with it. The client IP address, and the PID of the ftpd child that serves it. The hash at the beginning of the lists serves as a minor assistance in splitting the 2^32 address space in smaller chunks so that we don't end up with a singly linked list of a few thousand entries. addrhash % % .------------------. .------------------. 0 [ ]----->| struct childaddr |------->| struct childaddr |----- ... 1 [ ] |==================| |==================| 3 [ ] | in_addr ca_addr | | in_addr ca_addr | 4 [ ] | int ca_count | | int ca_count | 5 [ ] | LIST(pids) |--+ | LIST(pids) |--+ ... [ ] `------------------' | `------------------' | 65535 [ ] | | .-----------------. | .-----------------. | | struct childpid |<--+ | struct childpid |<--+ +--|=================| +--|=================| | | pid_t cp_pid | | | pid_t cp_pid | | `-----------------' | `-----------------' | | +->.-----------------. +-> ... | struct childpid | +--|=================| | | pid_t cp_pid | | `-----------------' | +-> ... A simple hash function, can be used in selecting which entry of the addrhash[] array points to the head of the proper list. The first level lists are lists of IP addresses, stored in ca_addr, and the second level of lists contain just the process ID of the child that serves a client from that address. The ca_count field of the address structure can be used to quickly find out if more clients are allowed or not, without doing a LIST_FOREACH() every time we want to see if another client socket can be accepted or dropped. I am not sure if using simple lists instead of some more sophisticated scheme is OK in this case, since I don't have a multi-thousand FTP server handy to test the patches. The inetd discussion brought this up from old things I had been thinking about, and I wondered, is there any case we could make ftpd limit client sockets per IP address too? And if that is feasible, could inetd and ftpd be made to use the same limiting code (instead of rolling two different versions), reducing code duplication? There is also the following problem, that I am not sure if I have solved it correctly. If the parent process plays around with those hashes and structures, then a signal handler that calls reapchild() to remove parts of those structures can probably do a lot of harm. The race condition seems easy to fix if I use something like: nosignals(); /* Fool around with the structures. */ signals(); Where signals() and nosignals() use sigaction() to block & unblock the signals that ftpd already installs a handler for. Does this all sound reasonable? Below is a prototype I'm playing the last few days with, trying to make something that implements the above scheme using macros. Now, what do you all think about this? Does it sound like a nice idea to pursue further? - Giorgos --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Em601g+UGjGGA7YRAmSgAJ44WU4C+skCQUbY8joL+no/wLvwqQCffNJW gJp6EhjnnMN91gZvP4J2jog= =atlJ -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 17:13: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C7A7E37B40C for ; Thu, 20 Jun 2002 17:12:37 -0700 (PDT) Received: from hades.hell.gr (patr530-b140.otenet.gr [212.205.244.148]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5L0CYMW018370 for ; Fri, 21 Jun 2002 03:12:35 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5L0CYLa002291 for ; Fri, 21 Jun 2002 03:12:34 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5L0CXb0002290 for hackers@FreeBSD.ORG; Fri, 21 Jun 2002 03:12:33 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 21 Jun 2002 03:12:33 +0300 From: Giorgos Keramidas To: hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621001233.GB2178@hades.hell.gr> References: <20020621000924.GA2178@hades.hell.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: <20020621000924.GA2178@hades.hell.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --5I6of5zJg18YgZEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2002-06-21 03:09 +0000, Giorgos Keramidas wrote: > Below is a prototype I'm playing the last few days with, trying to > make something that implements the above scheme using > macros. Now, what do you all think about this? Does it sound like a > nice idea to pursue further? It would be nice if I also included the source *grin* %%% #include #include #include #include #include #include #include #include LIST_HEAD(cpidhead, childpid); struct childpid { pid_t cp_pid; /* Process ID of a child. */ LIST_ENTRY(childpid) cp_entry; /* Glue to the other list elements. */ }; LIST_HEAD(ciphead, childaddr); struct childaddr { struct in_addr ca_addr; /* Address of a host. */ int ca_count; /* Number of items in pid list. */ struct cpidhead ca_pid; /* Head of the PID list. */ LIST_ENTRY(childaddr) ca_entry; /* Glue to the other list elements. */ }; /* * This hash keeps a number of pointers to `ciphead' lists. * Use the iphash() function to find the proper element of this array * for the records related to an IP address. */ struct ciphead *ciphash[UINT16_MAX]; static unsigned short iphash(struct in_addr *paddr); static struct childaddr *cip_find(struct ciphead *ph, struct in_addr *addr); static struct childaddr *cip_add(struct ciphead *ph, struct in_addr *addr); static struct childpid *cpid_find(struct cpidhead *ph, pid_t pid); static struct childpid *cpid_add(struct childaddr *pa, pid_t pid); int main(void) { struct in_addr lo; struct childaddr *pa; struct childpid *pp; uint16_t hval; /* Add the address of localhost to the proper place in ciphash[]. */ lo.s_addr = htonl(0x7f000001); hval = iphash(&lo); if (ciphash[hval] == NULL) { ciphash[hval] = malloc(sizeof(struct ciphead)); if (ciphash[hval] == NULL) exit(1); } else LIST_INIT(ciphash[hval]); pa = cip_find(ciphash[hval], &lo); if (pa == NULL && (pa = cip_add(ciphash[hval], &lo)) == NULL) { if (LIST_FIRST(ciphash[hval]) == NULL) free(ciphash[hval]); exit(1); } /* Add the PID to the list `pa->ca_pid'. */ cpid_add(pa, getpid()); /* Print the mess we created so far. */ printf("%p: struct ciphead {\n", ciphash[hval]); printf(" lh_first = %p,\n", pa = LIST_FIRST((ciphash[hval]))); printf("};\n"); printf("\n"); printf("%p: struct childaddr {\n", pa); printf(" ca_addr = 0x%08x,\n", (pa->ca_addr).s_addr); printf(" ca_count = %d,\n", pa->ca_count); printf(" ca_pid = %p,\n", &(pa->ca_pid)); printf("};\n"); printf("\n"); printf("%p: struct cpidhead {\n", &(pa->ca_pid)); printf(" lh_first = %p,\n", pp = LIST_FIRST((&(pa->ca_pid)))); printf("};\n"); printf("\n"); printf("%p: struct childpid {\n", pp); printf(" pid = %d,\n", pp->cp_pid); printf("};\n"); printf("\n"); return (0); } /* * Return a very simple XOR-based hash value, derived from the bytes of a * `struct in_addr' structure. */ static uint16_t iphash(struct in_addr *paddr) { uint16_t *sp; uint16_t val; size_t len; size_t k; assert(paddr != NULL); sp = ((uint16_t *) paddr); val = 0; len = sizeof(struct in_addr) / sizeof(uint16_t); if (len == 0 || len == 1) { val = 0xffff; } else { for (k = 0; k < len; k++) val ^= sp[k]; val &= 0xffff; } return (val); } /* * Look in all the elements of `ph' and see if they match `addr'. * Return the address of the first match, or NULL if none is found. */ static struct childaddr * cip_find(struct ciphead *ph, struct in_addr *addr) { struct childaddr *pa; assert(ph != NULL && addr != NULL); LIST_FOREACH(pa, ph, ca_entry) if ((pa->ca_addr).s_addr == (*addr).s_addr) return (pa); return (NULL); } /* * Add a new address structure, in the list of childaddr's pointed at by * the `ph' list head. This doesn't check for an existing match, so * duplicates might end up in your list, if you don't use cip_find() first to * look for older matches. */ struct childaddr * cip_add(struct ciphead *ph, struct in_addr *addr) { struct childaddr *pa; assert(ph != NULL && addr != NULL); /* Try to allocate a new childaddr record. */ if ((pa = malloc(sizeof(struct childaddr))) == NULL) return (NULL); pa->ca_addr = *addr; pa->ca_count = 0; LIST_INIT(&(pa->ca_pid)); LIST_INSERT_HEAD(ph, pa, ca_entry); return (pa); } /* * Look in the list of childpid records pointed at by `ph' for the given PID. * Return a pointer to the proper (struct childpid) or NULL if a match can not * be found at all. */ static struct childpid * cpid_find(struct cpidhead *ph, pid_t pid) { struct childpid *p; assert(ph != NULL); LIST_FOREACH(p, ph, cp_entry) if (p->cp_pid == pid) return (p); return (NULL); } /* * Add a new PID to the list of process IDs help under `pa'. */ static struct childpid * cpid_add(struct childaddr *pa, pid_t pid) { struct childpid *pp; struct cpidhead *ph; assert(pa != NULL); ph = &(pa->ca_pid); pp = cpid_find(ph, pid); if (pp == NULL) { pp = malloc(sizeof(struct childpid)); if (pp == NULL) return (NULL); pp->cp_pid = pid; LIST_INSERT_HEAD(ph, pp, cp_entry); pa->ca_count++; return pp; } return (NULL); } %%% --5I6of5zJg18YgZEa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Em9w1g+UGjGGA7YRAif6AJ49abLA7PiNVdEGmJ1xyKPOcCtWrgCfY1D0 rhAqNdnQW2ITgQvXZ+N0x+w= =x+Yz -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 17:34:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.kozubik.com (www.kozubik.com [198.78.70.162]) by hub.freebsd.org (Postfix) with ESMTP id 01F9D37B400; Thu, 20 Jun 2002 17:34:43 -0700 (PDT) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id g5L0TUR22421; Thu, 20 Jun 2002 17:29:30 -0700 (PDT) (envelope-from john@kozubik.com) Date: Thu, 20 Jun 2002 17:29:30 -0700 (PDT) From: John Kozubik X-Sender: john@www To: Ian Dowse Cc: jogegabsd , freebsd-hackers@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG Subject: Re: can't mount cdrom 4.6-RELEASE In-Reply-To: <200206202336.aa22602@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > The output of "ls -l /dev/acd0c" should look something like: > > crw-r----- 4 root operator 117, 0 Apr 27 20:24 /dev/acd0c And, if for some reason it does not look like that, and for some reason you do not have an appropriate MAKEDEV, you can create it by hand with: # rm -rf /dev/acd0c # mknod /dev/acd0c c 117 0 ----- John Kozubik - john@kozubik.com - http://www.kozubik.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 18:35:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by hub.freebsd.org (Postfix) with ESMTP id 848CF37B40B for ; Thu, 20 Jun 2002 18:35:35 -0700 (PDT) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id B2B497CEFE for ; Fri, 21 Jun 2002 03:35:33 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 250) id 86F647CEC8; Fri, 21 Jun 2002 03:35:25 +0200 (CEST) Date: Fri, 21 Jun 2002 03:35:25 +0200 From: Slawek Zak To: freebsd-hackers@freebsd.org Subject: Net resources problem? Message-ID: <20020621033525.A62535@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I have a problem with some application, which is supposed to receive lots of network connections. For some time now, it cannot accept any connections at all. Trussing it gives following output: # truss -p 57897 accept(0x4,0xbfbff9ac,0xbfbff9a8) ERR#35 'Resource temporarily unavailable' gettimeofday(0xbfbff9d4,0x0) = 0 (0x0) gettimeofday(0xbfbff9f4,0x0) = 0 (0x0) select(0x6,0xbfbffabc,0xbfbffa3c,0x0,0xbfbffa34) = 0 (0x0) gettimeofday(0xbfbff9c4,0x0) = 0 (0x0) gettimeofday(0xbfbff9b4,0x0) = 0 (0x0) accept(0x4,0xbfbff9ac,0xbfbff9a8) ERR#35 'Resource temporarily unavailable' gettimeofday(0xbfbff9d4,0x0) = 0 (0x0) gettimeofday(0xbfbff9f4,0x0) = 0 (0x0) ... and so on There are no resource limits in place: # cat /proc/57897/rlimit cpu -1 -1 fsize -1 -1 data 536870912 536870912 stack 67108864 67108864 core -1 -1 rss -1 -1 memlock -1 -1 nproc 7390 7390 nofile 14781 14781 sbsize -1 -1 Network memory is okay too: # netstat -m 114/496/128000 mbufs in use (current/peak/max): 112 mbufs allocated to data 2 mbufs allocated to packet headers 95/250/32000 mbuf clusters in use (current/peak/max) 624 Kbytes allocated to network (0% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Lsof doesn't show anything serious either. Any ideas? Anyone? Thanks, /S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 19: 6:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 65BEB37B403 for ; Thu, 20 Jun 2002 19:06:51 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LDoy-00064v-00; Thu, 20 Jun 2002 19:06:45 -0700 Message-ID: <3D128A0D.9599F9CF@mindspring.com> Date: Thu, 20 Jun 2002 19:06:05 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jason Andresen Cc: "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Subject: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020619012553.J12752-100000@dallben.homeportal.2wire.net> <3D11E8F7.14C12D96@mitre.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jason Andresen wrote: > "Brandon D. Valentine" wrote: > > On Tue, 18 Jun 2002, Darren Pilgrim wrote: > > >It's not exactly FreeBSD, but how about rewriting pine and uw-imap? > > >Last I heard they could use a little work. > > > > It would have to be a complete reimplementation thanks to the retarded > > pine license. Besides, pine has been surpassed and it's called mutt. > > uw-imap has also been quite surpassed, it's called cyrus. > > I thought the strength of uw-imap was that it was fairly easy to > configure for a machine with local users. The same certainly > couldn't be said for Cyrus. Heck, I nearly slit my own wrists > out of frustration trying to get Cyrus working. Doesn't help > that its online documentation is poo either. The online documentation sucks, but once you understand that you have to use an admin program (cyradm) that has to be able to authenticate to the server in order to manage it, it's not very hard at all. The main problem with UW-IMAP is that it has some serious bugs; not only are there security bugs, but there are tons of bugs in the user libraries -- which is what most people are using for web based mail clients, and other programs... like "Pine". The main problem is that there are a lot of instances where it is possible to result in calling unintialized function pointers when you attempt to access a mailbox provider type. The easiest way to see this is to make the function pointer containing struct into a pure virtual base class, each provider into a implementation class for that base class, and then pass around pointers to the provider class coerced to the virtual base class. You'll see all sorts of errors reported by the compiler about the use of a member of a class that can't be, or for which there is not a member function defined. A long time ago, I did this exercise for a commercial company, and found no less than 150 instances where this type of problem existed in the UW IMAP code. My personal recommendation, having contributed patches to both server maintainers, and used both servers in a commercia setting, is that the Cyrus IMAP server is far and away the better code base. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 19:18: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id 4F19037B403 for ; Thu, 20 Jun 2002 19:17:36 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id D464462D1A; Thu, 20 Jun 2002 19:17:31 -0700 (PDT) Date: Thu, 20 Jun 2002 19:22:40 -0700 (PDT) From: Lamont Granquist To: Terry Lambert Cc: Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-Reply-To: <3D128A0D.9599F9CF@mindspring.com> Message-ID: <20020620191939.U1870-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cyrus imapd is a real pain in the ass to administer local user accounts with though. The cyradm program is extremely deficient. Its great if you want to offer people imap e-mail without offering them shell access. For local access, though, there's a higher administrative overhead. I'm back to using the UW imapd even though I know it is a poorer codebase... On Thu, 20 Jun 2002, Terry Lambert wrote: > Jason Andresen wrote: > > "Brandon D. Valentine" wrote: > > > On Tue, 18 Jun 2002, Darren Pilgrim wrote: > > > >It's not exactly FreeBSD, but how about rewriting pine and uw-imap? > > > >Last I heard they could use a little work. > > > > > > It would have to be a complete reimplementation thanks to the retarded > > > pine license. Besides, pine has been surpassed and it's called mutt. > > > uw-imap has also been quite surpassed, it's called cyrus. > > > > I thought the strength of uw-imap was that it was fairly easy to > > configure for a machine with local users. The same certainly > > couldn't be said for Cyrus. Heck, I nearly slit my own wrists > > out of frustration trying to get Cyrus working. Doesn't help > > that its online documentation is poo either. > > The online documentation sucks, but once you understand that > you have to use an admin program (cyradm) that has to be able > to authenticate to the server in order to manage it, it's not > very hard at all. > > The main problem with UW-IMAP is that it has some serious bugs; > not only are there security bugs, but there are tons of bugs in > the user libraries -- which is what most people are using for > web based mail clients, and other programs... like "Pine". > > The main problem is that there are a lot of instances where it > is possible to result in calling unintialized function pointers > when you attempt to access a mailbox provider type. > > The easiest way to see this is to make the function pointer > containing struct into a pure virtual base class, each provider > into a implementation class for that base class, and then pass > around pointers to the provider class coerced to the virtual > base class. You'll see all sorts of errors reported by the > compiler about the use of a member of a class that can't be, > or for which there is not a member function defined. > > A long time ago, I did this exercise for a commercial company, > and found no less than 150 instances where this type of problem > existed in the UW IMAP code. > > My personal recommendation, having contributed patches to both > server maintainers, and used both servers in a commercia setting, > is that the Cyrus IMAP server is far and away the better code > base. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 19:27: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id D23A137B410 for ; Thu, 20 Jun 2002 19:27:03 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LE8a-0007Md-00; Thu, 20 Jun 2002 19:27:00 -0700 Message-ID: <3D128ECA.FF7D7562@mindspring.com> Date: Thu, 20 Jun 2002 19:26:18 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Darren Pilgrim Cc: Jason Andresen , "Brandon D. Valentine" , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: I Volunteer References: <20020619012553.J12752-100000@dallben.homeportal.2wire.net> <3D11E8F7.14C12D96@mitre.org> <3D1226C6.1870F02F@pantherdragon.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Darren Pilgrim wrote: > Personally I'm all for courier-imap. IMAP and POP3, Maildirs, SSL, and > the ability to access both real and virtual mailboxes. Courrier is derived from one of the two under discussion, just like the Netscape IMAP server. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 19:28:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-56.dsl.lsan03.pacbell.net [63.207.60.56]) by hub.freebsd.org (Postfix) with ESMTP id ADF4F37B406 for ; Thu, 20 Jun 2002 19:28:40 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2CDA266BA3; Thu, 20 Jun 2002 19:28:39 -0700 (PDT) Date: Thu, 20 Jun 2002 19:28:39 -0700 From: Kris Kennaway To: Patrick Thomas Cc: freebsd-hackers@freebsd.org Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-ID: <20020620192839.A72755@xor.obsecurity.org> References: <20020620141424.U68572-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020620141424.U68572-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, Jun 20, 2002 at 02:17:41PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 20, 2002 at 02:17:41PM -0700, Patrick Thomas wrote: >=20 > Is it possible to patch/recompile FreeBSD 4.5 in such a way that your > system is no longer vulnerable to the "chunking" attack, even if you are > still running a vulnerable apache ? Surely it's easier to just upgrade the apache port, instead of recompiling your kernel and the entire OS. Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9Eo9XWry0BWjoQKURAhchAKCWea1n03Z9gbQVhbcAJRIRhz7zZQCdH9R6 SqZTYAE+LiaA19atWYPvRm4= =TgIY -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 19:35: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by hub.freebsd.org (Postfix) with ESMTP id F00E637B432 for ; Thu, 20 Jun 2002 19:34:08 -0700 (PDT) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g5L2Xt48069218; Thu, 20 Jun 2002 19:33:55 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.3/8.12.2) with ESMTP id g5L2Xtac040374; Thu, 20 Jun 2002 19:33:55 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.3/8.12.3/Submit) id g5L2Xsil040371; Thu, 20 Jun 2002 19:33:54 -0700 (PDT) From: Frank Mayhar Message-Id: <200206210233.g5L2Xsil040371@realtime.exit.com> Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <20020620192839.A72755@xor.obsecurity.org> To: Kris Kennaway Date: Thu, 20 Jun 2002 19:33:54 -0700 (PDT) Cc: Patrick Thomas , freebsd-hackers@FreeBSD.ORG Reply-To: frank@exit.com X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > Surely it's easier to just upgrade the apache port, instead of > recompiling your kernel and the entire OS. Not always. (I'm running an old version of Covalent Raven SSL and I'm loathe to upgrade. "If it works, don't fix it" and there are only so many hours in a day.) -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 20: 0:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 15CEA37B413 for ; Thu, 20 Jun 2002 20:00:13 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LEeW-0007fP-00; Thu, 20 Jun 2002 20:00:01 -0700 Message-ID: <3D129688.356A87D0@mindspring.com> Date: Thu, 20 Jun 2002 19:59:20 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: freebsd-hackers@freebsd.org Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? References: <20020620141424.U68572-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > Is it possible to patch/recompile FreeBSD 4.5 in such a way that your > system is no longer vulnerable to the "chunking" attack, even if you are > still running a vulnerable apache ? Not FreeBSD, but it's possible to reconfigure Apache. The way you would deal with this would be to tell Apache that it was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. The only place this is an issue is if you need to reuse an HTTP connection, and that only occurs in HTTP 1.1 when you are doing pipelining. Everywhere else, you can indicate an end of data by having the server close the connection. Thus you do not need to use chunking in order to get around the fact that the CGI was written by someone who did not attach a proper "Content-Length:" header because they were too lazy to determine ahjead of time how much data they would be putting out. The exploit is chunking from the client to the server. I guess you would have to endure that Apache in 1.0 mode refused chunked data in POST's, etc. (last time I looked at the source code, I thought it did). This won't work if you are requiring 1.1 features for your applciation, but in most cases, no one uses these features much anyway. Though turning this off if you have a Netscaler or a similar connection reusing cache might drop your overall throughput, so if you are over the border on that, you may want to take that into account (most people don't know what their web servers are doing anyway, so it's probably never going to make a difference for you, anyway). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 20:16:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id A7A1B37B407 for ; Thu, 20 Jun 2002 20:16:30 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LEuN-0003Cm-00; Thu, 20 Jun 2002 20:16:28 -0700 Message-ID: <3D129A60.99AA2608@mindspring.com> Date: Thu, 20 Jun 2002 20:15:44 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Ellard Cc: hackers@freebsd.org Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Ellard wrote: > Has anyone done a side-by-side benchmark of the FreeBSD, OpenBSD, and > NetBSD NFS servers on the same hardware? Note that I'm interested in > server performance, not client performance. > > I'm particularly interested in read performance, but anything would be > interesting. > > In lieu of actual data, which system do people think makes the best > NFS server for heavily-loaded systems? I don't think anyone has benchmarked this; if they had, color me astonished. Your best bet would be to compare them yourself, since it's not that hard to install them. FWIW, You can't seperate server and client performance. If you have two clients and two servers, the first client caches operation X, and the second client does not, and you have two servers, one where operation X is very fast, and reads are OK, and the other where operation X is very slow, but reads are slightly faster than just "OK", which one shows up as being better is going to depend in the client you use in the benchmarks. If you're asking about a server and not a client, then you would be better of asking about the particular client by name vs. each of the possible server choices. PS: Your answers are going to differ based on UDP vs. TCP and rsize/wsize. In particular, if you need to have an rsize/wsize larger than the MTU, make sure you are using TCP, not UDP, or you will be shooting yourself in the foot (most Linux clients wonder why when they use UDP, their nubers go to hell; that's why). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 20:26:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 3513537B40F; Thu, 20 Jun 2002 20:26:09 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LF3m-00067x-00; Thu, 20 Jun 2002 20:26:07 -0700 Message-ID: <3D129CA8.EFADA4FF@mindspring.com> Date: Thu, 20 Jun 2002 20:25:28 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Giorgos Keramidas Cc: hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) References: <20020621000924.GA2178@hades.hell.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas wrote: > I've been thinking for quite some time to add per-client-IP limiting > to ftpd, and I had almost decided upon something like the following, > where each child of ftpd has two numbers associated with it. The > client IP address, and the PID of the ftpd child that serves it. The > hash at the beginning of the lists serves as a minor assistance in > splitting the 2^32 address space in smaller chunks so that we don't > end up with a singly linked list of a few thousand entries. Someone just did something similar for inetd (per IP per port). The more I think about this, and the fact that there is code growing to do basically the same thing in every program, the more I think that the code to do this needs to be centralized. I would prefer a divert to an administrative daemon approach, using ipfw rules and exisitng code. You could also do it in the kernel, or you could do it by adding a wrapper library for "accept" and "close", where the accounting on connections can be enforced. Putting this code into a seperate daemon, or even natd, makes a lot more sense to me than hacking up the kernel, or every network application ever written. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 20:34: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id D72D637B404 for ; Thu, 20 Jun 2002 20:34:04 -0700 (PDT) Received: from pool0544.cvx21-bradley.dialup.earthlink.net ([209.179.194.34] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17LFBI-0005aW-00; Thu, 20 Jun 2002 20:33:52 -0700 Message-ID: <3D129E79.A32431EB@mindspring.com> Date: Thu, 20 Jun 2002 20:33:13 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lamont Granquist Cc: Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020620191939.U1870-100000@coredump.scriptkiddie.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lamont Granquist wrote: > Cyrus imapd is a real pain in the ass to administer local user accounts > with though. You mean that it doesn't integrate well with the UNIX credentials system. THe issue here is that Cyrus needs to be able to hook create/delete actions on accounts, and UNIX fails to provide a means of doing this. I look at this as a UNIX deficiency. You can actually get around it by using "pw" and utilizing the script hooks it has. The easiest real fix for this would be to write a PAM module to cause the UNIX users to authenticate against the Cyrus database. > The cyradm program is extremely deficient. Not a big issue, I think. Writing scripts to encapsulate it and be "less deficient" is really very trivial. > Its great if you > want to offer people imap e-mail without offering them shell access. For > local access, though, there's a higher administrative overhead. I'm back > to using the UW imapd even though I know it is a poorer codebase... I recommend you do not publicize the IP addresses of the servers, if they are net accessible outside your organization. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 21:15: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 5EF5337B406 for ; Thu, 20 Jun 2002 21:15:00 -0700 (PDT) Received: from bullseye.apana.org.au (dialup-3.aaa.net.au [203.14.230.68]) by posgate.acis.com.au (8.11.6/8.11.6) with ESMTP id g5L4EpT27324; Fri, 21 Jun 2002 14:14:51 +1000 Received: from bullseye.apana.org.au (tenring.andymac.org [203.9.107.238]) by bullseye.apana.org.au (8.11.6/8.11.6) with ESMTP id g5KN3c323407; Fri, 21 Jun 2002 09:03:38 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Fri, 21 Jun 2002 08:58:41 +1100 (edt) From: Andrew MacIntyre To: Daniel Eischen Cc: Subject: Re: signals in apps built with -pthread In-Reply-To: <3D10FA39.878E8703@vigrid.com> Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 19 Jun 2002, Daniel Eischen wrote: > Try the patch included at the bottom. Thanks! I will, but I don't have the library sources installed at the moment so it will be a few days before I can test. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 22: 8:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ip68-14-62-49.no.no.cox.net (ip68-14-62-49.no.no.cox.net [68.14.62.49]) by hub.freebsd.org (Postfix) with ESMTP id 649CA37B404; Thu, 20 Jun 2002 22:08:38 -0700 (PDT) Received: from ip68-14-62-49.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-62-49.no.no.cox.net (8.12.3/8.12.3) with ESMTP id g5L58q3D032318; Fri, 21 Jun 2002 00:08:52 -0500 (CDT) (envelope-from conrads@ip68-14-62-49.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-62-49.no.no.cox.net (8.12.3/8.12.3/Submit) id g5L58l6K032317; Fri, 21 Jun 2002 00:08:48 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 21 Jun 2002 00:08:47 -0500 (CDT) Reply-To: conrads@cox.net Organization: A Rag-Tag Band of Drug-crazed Hippies From: Conrad Sabatier To: John Utz Subject: Re: midi on FreeBSD 4.5: good progress! i now have a midi.ko bas Cc: freebsd-hackers@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John, Please keep us informed as to your progress. I'm sure I'm not the only one who would be *very* happy to see your work come to fruition! If I can help in any way (testing or whatever), let me know. -- Conrad Sabatier Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 22:11:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from priv-edtnes15-hme0.telusplanet.net (defout.telus.net [199.185.220.240]) by hub.freebsd.org (Postfix) with ESMTP id 2CAAF37B405 for ; Thu, 20 Jun 2002 22:11:45 -0700 (PDT) Received: from a7a42593 ([64.180.205.214]) by priv-edtnes15-hme0.telusplanet.net (InterMail vM.5.01.04.01 201-253-122-122-101-20011014) with SMTP id <20020621051144.UCYP165.priv-edtnes15-hme0.telusplanet.net@a7a42593> for ; Thu, 20 Jun 2002 23:11:44 -0600 To: freebsd-hackers@freebsd.org From: Tyler Spivey Reply-To: Tyler Spivey Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Subject: freebsd sound card performance vs. linux Message-Id: <20020621051144.UCYP165.priv-edtnes15-hme0.telusplanet.net@a7a42593> Date: Thu, 20 Jun 2002 23:11:44 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ok - i've noticed (on an awe64, p200 W/ 128 mb of ram), that recording a sound at 44100 hz stareo: rec -r 44100 -c 2 file.wav takes up all my cpu, but under linux, it barely takes up any. freebsd creates a lot of stuttering/clipping because it's taking up all the CPU recording. is this an audio driver bug, or a freebsd bug in general? tested on 4.5-R. P.S.: sorry for my bad capatialazation, I am not very good at that part of english yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 22:20:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 89D8C37B40E; Thu, 20 Jun 2002 22:20:34 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5L5KWK76298; Thu, 20 Jun 2002 22:20:32 -0700 (PDT) (envelope-from rizzo) Date: Thu, 20 Jun 2002 22:20:32 -0700 From: Luigi Rizzo To: Terry Lambert Cc: Giorgos Keramidas , hackers@FreeBSD.ORG Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020620222032.A73450@iguana.icir.org> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D129CA8.EFADA4FF@mindspring.com>; from tlambert2@mindspring.com on Thu, Jun 20, 2002 at 08:25:28PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 08:25:28PM -0700, Terry Lambert wrote: > Giorgos Keramidas wrote: > > I've been thinking for quite some time to add per-client-IP limiting > > to ftpd, and I had almost decided upon something like the following, ... > Someone just did something similar for inetd (per IP per port). > > The more I think about this, and the fact that there is code growing > to do basically the same thing in every program, the more I think > that the code to do this needs to be centralized. in fact there is an ipfw rule which does just this: ipfw add allow ip from any to any limit src-addr 5 and here you go... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 23: 8:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by hub.freebsd.org (Postfix) with ESMTP id 1E8E137B435; Thu, 20 Jun 2002 23:07:18 -0700 (PDT) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g5L67DM1071831; Thu, 20 Jun 2002 23:07:17 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200206210607.g5L67DM1071831@gw.catspoiler.org> Date: Thu, 20 Jun 2002 23:07:32 -0700 (PDT) From: Don Lewis Subject: Re: fdcheckstd() test bug in execve() (was: Re: Suggested fixes for uidinfo "would sleep" messages) To: makonnen@pacbell.net Cc: bright@mu.org, jhb@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: <20020620163441.5f204b3f.makonnen@pacbell.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 20 Jun, Mike Makonnen wrote: > On Thu, 20 Jun 2002 00:04:41 -0700 (PDT) > Don Lewis wrote: > >> >> Your patch also looks like it should fix the bug. I prefer my patch, >> though, because I think the resultant code is structured better and >> should be easier to understand. For instance, the reason for the >> assignment to oldcred in the "if (error != 0)" block in your patch is >> not immediately obvious. > > You can remove it, it was part of something else I was working on. When I looked at it last night, it appeared to be necessary, since if the fdcheckstd() test fails oldcred will be left pointing to the credential held by the process. On further review, I see that this assignment isn't necessary after all because of the code that calls crfree() just looks at the state of newcred. > I haven't taken a look at your patch. I was working on something else > and already had a patch for it, before I saw yours. I sent it as a > reference because there was something in the thread about > leaking p_args. I suprised that things didn't even get more mucked up because the process was never unlocked. > I really don't care which patch makes it into the tree. If it solves > the problem, it solves the problem. There's not much more to it. Alfred committed yours earlier today. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 23:32:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by hub.freebsd.org (Postfix) with SMTP id 6B0DA37B412 for ; Thu, 20 Jun 2002 23:32:09 -0700 (PDT) Received: (qmail 17543 invoked by uid 417); 21 Jun 2002 06:31:38 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 21 Jun 2002 06:31:38 -0000 Received: from unknown ([216.194.2.179]) (AUTH: LOGIN yid@softhome.net) by softhome.net with esmtp; Fri, 21 Jun 2002 00:31:36 -0600 Date: Fri, 21 Jun 2002 02:29:30 -0400 From: Joshua Lee To: Terry Lambert Cc: root@utility.clubscholarship.com, freebsd-hackers@freebsd.org Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-Id: <20020621022930.088904b7.yid@softhome.net> In-Reply-To: <3D129688.356A87D0@mindspring.com> References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> Organization: Plan B Software Labs X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002 19:59:20 -0700 Terry Lambert wrote: > Patrick Thomas wrote: > > Is it possible to patch/recompile FreeBSD 4.5 in such a way that your > > system is no longer vulnerable to the "chunking" attack, even if you are > > still running a vulnerable apache ? Why not upgrade Apache...?? Both the 1 and 2 series have been updated I think. (I'm a newbie at server stuff, so bear with me if I made a faux pas.) > The way you would deal with this would be to tell Apache that it > was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. > > The only place this is an issue is if you need to reuse an HTTP > connection, and that only occurs in HTTP 1.1 when you are doing > pipelining. Everywhere else, you can indicate an end of data Mozilla has an option to enable http pipelining as a performance option. I regularly used this, maybe I shouldn't? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 23:52:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id A76DF37B405 for ; Thu, 20 Jun 2002 23:52:12 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 9316C62D1A; Thu, 20 Jun 2002 23:52:11 -0700 (PDT) Date: Thu, 20 Jun 2002 23:57:21 -0700 (PDT) From: Lamont Granquist To: Kris Kennaway Cc: Patrick Thomas , Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <20020620192839.A72755@xor.obsecurity.org> Message-ID: <20020620235248.L567-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think that libsafe would "protect" against this bug to at least prevent against any possible malicious code execution. I think it still leaves the DoS possibility open though... Even some kind of non-exec stack protection patched into FBSD would only generate a SEGV if it got triggered[*]. Very hard to stop the DoS. [*] and yes does nothing to prevent against malicious code execution attacks on x86 architecture either, only obscures... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 20 23:59: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id CE79437B403 for ; Thu, 20 Jun 2002 23:58:51 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 1606662D1A; Thu, 20 Jun 2002 23:58:51 -0700 (PDT) Date: Fri, 21 Jun 2002 00:04:01 -0700 (PDT) From: Lamont Granquist To: Terry Lambert Cc: Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-Reply-To: <3D129E79.A32431EB@mindspring.com> Message-ID: <20020621000043.H567-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Terry Lambert wrote: > Lamont Granquist wrote: > > Cyrus imapd is a real pain in the ass to administer local user accounts > > with though. > > You mean that it doesn't integrate well with the UNIX credentials > system. THe issue here is that Cyrus needs to be able to hook > create/delete actions on accounts, and UNIX fails to provide a > means of doing this. I look at this as a UNIX deficiency. You > can actually get around it by using "pw" and utilizing the script > hooks it has. Well, that's trying to place blame on how it should get fixed. From my perspective I don't care, it is just more difficult to use. > The easiest real fix for this would be to write a PAM module to > cause the UNIX users to authenticate against the Cyrus database. Creating mailboxes is also a PITA, I like procmail to be able to do this and not have a 2nd configuration step... > > The cyradm program is extremely deficient. > > Not a big issue, I think. Writing scripts to encapsulate it and > be "less deficient" is really very trivial. Yeah, these days I don't have that much time to script... If I did have more scripting time, I'd be fixing more shit at work to help me sleep through the night when I'm on call... > > Its great if you > > want to offer people imap e-mail without offering them shell access. For > > local access, though, there's a higher administrative overhead. I'm back > > to using the UW imapd even though I know it is a poorer codebase... > > I recommend you do not publicize the IP addresses of the servers, > if they are net accessible outside your organization. 8-). Nope. Well protected by firewall in one case, and I'll be updating my ipf rules when I convert scriptkiddie... I never use remote IMAP anyways... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 0: 0:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id C3DFE37B42C; Thu, 20 Jun 2002 23:59:27 -0700 (PDT) Received: from pool0087.cvx22-bradley.dialup.earthlink.net ([209.179.198.87] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LIOE-0004ed-00; Thu, 20 Jun 2002 23:59:27 -0700 Message-ID: <3D12CE82.C6761D96@mindspring.com> Date: Thu, 20 Jun 2002 23:58:10 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: Giorgos Keramidas , hackers@FreeBSD.ORG Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <20020620222032.A73450@iguana.icir.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > On Thu, Jun 20, 2002 at 08:25:28PM -0700, Terry Lambert wrote: > > Giorgos Keramidas wrote: > > > I've been thinking for quite some time to add per-client-IP limiting > > > to ftpd, and I had almost decided upon something like the following, > ... > > Someone just did something similar for inetd (per IP per port). > > > > The more I think about this, and the fact that there is code growing > > to do basically the same thing in every program, the more I think > > that the code to do this needs to be centralized. > > in fact there is an ipfw rule which does just this: > > ipfw add allow ip from any to any limit src-addr 5 > > and here you go... Can this be done per port? THis is what both the FTP and the inetd modification movements have been about... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 0:35:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 5B2D437B400; Fri, 21 Jun 2002 00:35:20 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5L7ZJ977130; Fri, 21 Jun 2002 00:35:19 -0700 (PDT) (envelope-from rizzo) Date: Fri, 21 Jun 2002 00:35:18 -0700 From: Luigi Rizzo To: Terry Lambert Cc: Giorgos Keramidas , hackers@FreeBSD.ORG Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621003518.A77089@iguana.icir.org> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <20020620222032.A73450@iguana.icir.org> <3D12CE82.C6761D96@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D12CE82.C6761D96@mindspring.com>; from tlambert2@mindspring.com on Thu, Jun 20, 2002 at 11:58:10PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 11:58:10PM -0700, Terry Lambert wrote: ... > > in fact there is an ipfw rule which does just this: > > > > ipfw add allow ip from any to any limit src-addr 5 > > > > and here you go... > > Can this be done per port? THis is what both the FTP and the inetd > modification movements have been about... ipfw add allow ip from any to any limit src-addr src-port 5 (you can select a subset of the src-addr src-port dst-addr dst-port as the match mask to determine if connections belong to the same group. With the new ipfw code that i have posted it should be trivial to extend the match mask to use real bitmasks (so you can limit per-subnet, per port ranges, etc etc.) BTW in terms of implementation efficiency: this limit thing uses the same hash table used by dynamic ipfw rules. There is currently an (arbitrary) limit of a total of 1000 dynamic entries in the table, but no reason not to raise it much higher if you have memory. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 0:36:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 45A5637B40E; Fri, 21 Jun 2002 00:36:04 -0700 (PDT) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id LAA16091; Fri, 21 Jun 2002 11:37:10 +0400 (MSD) Message-Id: <200206210737.LAA16091@aaz.links.ru> Subject: Re: multiple gateways In-Reply-To: <200206202329.17885.Peter.Blok@inter.NL.net> from "Peter J. Blok" at "Jun 20, 2 11:29:17 pm" To: Peter.Blok@inter.NL.net (Peter J. Blok) Date: Fri, 21 Jun 2002 11:37:09 +0400 (MSD) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter J. Blok writes: > I know this topic has been brought up numerous times. I have 4 IP4 internal > networks (sf0 .. sf3) > > I have a cable modem connection ep0 and a DSL ep1 connection too. I'd like to > route all traffic from sf0 and sf1 to the DSL connection and the others to > the cable modem. At the same time I'd like to offer the protection of > ipfilter. Traffic on sf0 should not see traffic on sf1 etc. > > Since this seems not possible with the both stable and current, I would like > to make a solution for it, inside the kernel. I am thinking of creating a > routing table based on source address and designate the right gateway. Source interface instead of source address. source address can be spoofed Or better some thing for routes as jail for processes? Different routing tables in one kernel And assign interfaces to tables. > Thoughts and opinions are very welcome. Where do you suggest I start? > > Peter > > P.S. If this functionality exists (without bridging) I'd like to know as well -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 0:49:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-56.dsl.lsan03.pacbell.net [63.207.60.56]) by hub.freebsd.org (Postfix) with ESMTP id 6BCF637B40E for ; Fri, 21 Jun 2002 00:49:54 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E068566B95; Fri, 21 Jun 2002 00:49:53 -0700 (PDT) Date: Fri, 21 Jun 2002 00:49:53 -0700 From: Kris Kennaway To: Frank Mayhar Cc: Kris Kennaway , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-ID: <20020621004953.A80059@xor.obsecurity.org> References: <20020620192839.A72755@xor.obsecurity.org> <200206210233.g5L2Xsil040371@realtime.exit.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206210233.g5L2Xsil040371@realtime.exit.com>; from frank@exit.com on Thu, Jun 20, 2002 at 07:33:54PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 20, 2002 at 07:33:54PM -0700, Frank Mayhar wrote: > Kris Kennaway wrote: > > Surely it's easier to just upgrade the apache port, instead of > > recompiling your kernel and the entire OS. >=20 > Not always. (I'm running an old version of Covalent Raven SSL and I'm > loathe to upgrade. "If it works, don't fix it" and there are only so > many hours in a day.) The exact same argument can be made for not upgrading the OS, which is a much larger endeavour and can potentially screw things up much worse. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9EtqhWry0BWjoQKURAua7AJ99+LzYmev+pUUnhVIsgv/rhQg0zgCg2xK5 MMGW2ubxZJEyGbH7NLTDUYo= =kTmV -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1: 2:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 8D0DD37B40E for ; Fri, 21 Jun 2002 01:02:55 -0700 (PDT) Received: from pool0077.cvx21-bradley.dialup.earthlink.net ([209.179.192.77] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LJNP-0006Pc-00; Fri, 21 Jun 2002 01:02:39 -0700 Message-ID: <3D12DD71.65F531A5@mindspring.com> Date: Fri, 21 Jun 2002 01:01:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Joshua Lee Cc: root@utility.clubscholarship.com, freebsd-hackers@freebsd.org Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> <20020621022930.088904b7.yid@softhome.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joshua Lee wrote: > > The way you would deal with this would be to tell Apache that it > > was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. > > > > The only place this is an issue is if you need to reuse an HTTP > > connection, and that only occurs in HTTP 1.1 when you are doing > > pipelining. Everywhere else, you can indicate an end of data > > Mozilla has an option to enable http pipelining as a performance option. > I regularly used this, maybe I shouldn't? It depends. Does it still use 4 outstanding connections to the server on the other end, or does it serialize all your picture download requests through a single pipe? If the latter, what is the measured latency between the end of one response and the beginning of another? Basically, this is going to boild down to how the web server on the back end is written, and what's between you and it, in the way of smart hardware. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1: 3:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 10E2D37B40B for ; Fri, 21 Jun 2002 01:03:01 -0700 (PDT) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g5L81oA31922; Fri, 21 Jun 2002 10:01:50 +0200 Received: (nullmailer pid 99902 invoked by uid 1000); Fri, 21 Jun 2002 06:37:16 -0000 Date: Fri, 21 Jun 2002 08:37:15 +0200 From: Mark Santcroos To: Julian Elischer Cc: Brooks Davis , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? Message-ID: <20020621063715.GA94724@laptop.6bone.nl> References: <20020620103130.B23020@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 01:21:30PM -0700, Julian Elischer wrote: > I've been considereing this as a fun project. The difficult comes at the > interface/IP boundary.. we'd need am ng_route node to multiplex > the packets to the correct output nodes... Would it be needed to duplicate the whole stack in the netgraph node or would it be relatively easy to hook it up to the existing ip and tcp code? Just wondering. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1:26:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 016CD37B40F for ; Fri, 21 Jun 2002 01:26:44 -0700 (PDT) Received: from pool0077.cvx21-bradley.dialup.earthlink.net ([209.179.192.77] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LJkO-00056K-00; Fri, 21 Jun 2002 01:26:25 -0700 Message-ID: <3D12E301.53E779D8@mindspring.com> Date: Fri, 21 Jun 2002 01:25:37 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lamont Granquist Cc: Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020621000043.H567-100000@coredump.scriptkiddie.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lamont Granquist wrote: > > > Cyrus imapd is a real pain in the ass to administer local user accounts > > > with though. > > > > You mean that it doesn't integrate well with the UNIX credentials > > system. THe issue here is that Cyrus needs to be able to hook > > create/delete actions on accounts, and UNIX fails to provide a > > means of doing this. I look at this as a UNIX deficiency. You > > can actually get around it by using "pw" and utilizing the script > > hooks it has. > > Well, that's trying to place blame on how it should get fixed. From my > perspective I don't care, it is just more difficult to use. It has functionality that can not be implemented without adding to how UNIX does things. Basically, it needs to be able to hook the account constructor/destructor. I think that it you are running shell acounts on your mail server, you are in trouble anyway. > > The easiest real fix for this would be to write a PAM module to > > cause the UNIX users to authenticate against the Cyrus database. > > Creating mailboxes is also a PITA, I like procmail to be able to do this > and not have a 2nd configuration step... You mean "new mailboxes". THat's an issue of a client program that you could run from procmail on a user's behalf, based on a credential correspondance. You have to establish that correspondance first. Actually, there are patches that let you auto-create mailboxes, but, like your "procmail" fix, they are subject to denial of service attacks from people who know the process is automatic. Probably if you have particular problems with Cyrus, you should take them up with the Cyrus mailing lists. This has really gotten away from the request for a recommendation of which IMAP server to run on a FreeBSD system. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1:30:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id A9E3C37B40F for ; Fri, 21 Jun 2002 01:30:28 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY100980RF703@mtaout02.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Fri, 21 Jun 2002 04:25:55 -0400 (EDT) Date: Fri, 21 Jun 2002 03:25:55 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-reply-to: <20020621004953.A80059@xor.obsecurity.org> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Kris Kennaway Cc: Frank Mayhar , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Message-id: <20020621031948.Y1582-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Kris Kennaway wrote: >On Thu, Jun 20, 2002 at 07:33:54PM -0700, Frank Mayhar wrote: >> Kris Kennaway wrote: >> > Surely it's easier to just upgrade the apache port, instead of >> > recompiling your kernel and the entire OS. >> >> Not always. (I'm running an old version of Covalent Raven SSL and I'm >> loathe to upgrade. "If it works, don't fix it" and there are only so >> many hours in a day.) > >The exact same argument can be made for not upgrading the OS, which is >a much larger endeavour and can potentially screw things up much >worse. That's a very valid point. I'm certainly not recommending that Frank upgrade his OS, but I must note that I trust ugprading the entire FreeBSD operating system to be a smoother operation than upgrading one single, solitary commercial closed source package. At least if I'm gonna go about installing a new world I /know/ what I'm getting myself into and that if my box gets screwed up: a) It's probably my fault. b) I can go reading the error messages and Makefiles and figure out what I botched. I have the source. However, I would ask Frank if there's a particular reason he needs to use Covalent Raven SSL. OpenSSL is free, works like gangbusters, and comes with FreeBSD. I have a feeling he'd be much happier with it if there's not some other reason he cannot move to it. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1:38:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id 610E037B407 for ; Fri, 21 Jun 2002 01:38:13 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 0D5CA62D1A; Fri, 21 Jun 2002 01:38:09 -0700 (PDT) Date: Fri, 21 Jun 2002 01:43:19 -0700 (PDT) From: Lamont Granquist To: Kris Kennaway Cc: Frank Mayhar , Patrick Thomas , Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <20020621004953.A80059@xor.obsecurity.org> Message-ID: <20020621014218.R933-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Kris Kennaway wrote: > On Thu, Jun 20, 2002 at 07:33:54PM -0700, Frank Mayhar wrote: > > Kris Kennaway wrote: > > > Surely it's easier to just upgrade the apache port, instead of > > > recompiling your kernel and the entire OS. > > > > Not always. (I'm running an old version of Covalent Raven SSL and I'm > > loathe to upgrade. "If it works, don't fix it" and there are only so > > many hours in a day.) > > The exact same argument can be made for not upgrading the OS, which is > a much larger endeavour and can potentially screw things up much > worse. You can just patch the running version of apache with the diffs that fix the security hole. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1:38:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 32D7037B41A for ; Fri, 21 Jun 2002 01:38:38 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g5L8cPMa017070 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 21 Jun 2002 10:38:29 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g5L8cNFJ035514 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 21 Jun 2002 10:38:24 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g5L8cLP4035513; Fri, 21 Jun 2002 10:38:21 +0200 (CEST)?g (envelope-from ticso) Date: Fri, 21 Jun 2002 10:38:21 +0200 From: Bernd Walter To: Joshua Lee Cc: Terry Lambert , root@utility.clubscholarship.com, freebsd-hackers@FreeBSD.ORG Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-ID: <20020621083821.GG31943@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> <20020621022930.088904b7.yid@softhome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020621022930.088904b7.yid@softhome.net> X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 21, 2002 at 02:29:30AM -0400, Joshua Lee wrote: > On Thu, 20 Jun 2002 19:59:20 -0700 > Terry Lambert wrote: > > > Patrick Thomas wrote: > > > Is it possible to patch/recompile FreeBSD 4.5 in such a way that your > > > system is no longer vulnerable to the "chunking" attack, even if you are > > > still running a vulnerable apache ? > > Why not upgrade Apache...?? Both the 1 and 2 series have been updated I think. (I'm a newbie at server stuff, so bear with me if I made a faux pas.) The apache13+ipv6 port has not, because the last ipv6 patchset is available for 1.13.22. > > The way you would deal with this would be to tell Apache that it > > was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. > > > > The only place this is an issue is if you need to reuse an HTTP > > connection, and that only occurs in HTTP 1.1 when you are doing > > pipelining. Everywhere else, you can indicate an end of data > > Mozilla has an option to enable http pipelining as a performance option. I regularly used this, maybe I shouldn't? It should fallback. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 1:41:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tungsten.btinternet.com (tungsten.btinternet.com [194.73.73.81]) by hub.freebsd.org (Postfix) with ESMTP id DDD4337B416 for ; Fri, 21 Jun 2002 01:41:47 -0700 (PDT) Received: from host213-121-123-146.in-addr.btopenworld.com ([213.121.123.146] helo=tachief.com) by tungsten.btinternet.com with smtp (Exim 3.22 #8) id 17LJzD-0005Sc-00 for freebsd-hackers@freebsd.org; Fri, 21 Jun 2002 09:41:43 +0100 Received: (qmail 21795 invoked from network); 21 Jun 2002 09:33:37 -0000 Received: from localhost (HELO cordelia.tachief.com) (127.0.0.1) by 0 with SMTP; 21 Jun 2002 09:33:37 -0000 Received: (from nick@localhost) by cordelia.tachief.com (8.12.1/8.12.1/Submit) id g5L9XZcq008692 for freebsd-hackers@freebsd.org; Fri, 21 Jun 2002 09:33:35 GMT X-Authentication-Warning: cordelia.tachief.com: nick set sender to nick@tachief.com using -f Date: Fri, 21 Jun 2002 09:33:35 +0000 From: Nick Jones To: freebsd-hackers@freebsd.org Subject: Loader causing reset on 4.6-STABLE Message-ID: <20020621093335.GA10994@cordelia.tachief.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i X-Operating-System: OpenBSD/3.0 (i386) X-Uptime: 9:28AM up 1:35, 2 users, load averages: 0.46, 0.39, 0.36 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I originally posted this to -stable, but as it seems to have stumped everyone there I thought I'd give you guys a try instead. I'm fairly certain it's not -STABLE specific anyway. Since updating my sources on the 17th and upgrading to 4.6-STABLE, I've encountered a problem with getting my machine to successfully boot. Before loader even finishes initialising, my box just resets. Some kind of error is echoed to the screen, and I've managed to capture this via a serial console: ------ FreeBSD/i386 bootstrap loader, Revision 0.8 (nick@tachief.com, Tue Jun 18 11:49:18 BST 2002) Loading /boot/defaults/loader.conf Console: serial port BIOS drive A: is disk2 BIOS drive C: is disk3 BIOS 640kB/261108kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 (nick@tachief.com, Tue Jun 18 11:49:18 BST 2002) Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0: Console: serial port BIOS drive A: is disk4 BIOS drive C: is disk5 BIOS 640kB/261108kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 (nick@tachief.com, Tue Jun 18 11:49:18 BST 2002) Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0: panic: free: guard1 fail @ 0x37574 ------ I can, however, issue a ^C just after I've selected which disk to boot from in the bootloader and before loader causes my box to reset. This then allows me to boot /kernel (instead of /boot/loader), and apart from it complaining about loader metadata being missing, it continues to boot and function just fine. So, any ideas? I've not noticed anyone else complain of a similar problem so far with -STABLE, and I'm at a bit of a loss as to what to try next. The hardware is fairly standard - Intel Celeron 433, Asus BX-based mainboard, Adaptec 2940U SCSI controller, and the bootdisk is an IBM DNES-309170 (9.1GB SCSI) designated da0. -- - Nick Jones | nick@tachief.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 3:43:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.21]) by hub.freebsd.org (Postfix) with ESMTP id EF64337B406 for ; Fri, 21 Jun 2002 03:43:14 -0700 (PDT) Received: from hibernate.cryolabs.net ([213.132.151.88]) by amsfep14-int.chello.nl (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with SMTP id <20020621104313.OCJY25038.amsfep14-int.chello.nl@hibernate.cryolabs.net> for ; Fri, 21 Jun 2002 12:43:13 +0200 Received: (qmail 27481 invoked from network); 21 Jun 2002 12:42:54 +0200 Received: from unknown (HELO ice.cryolabs.net) (192.168.196.1) by hibernate.cryolabs.net with SMTP; 21 Jun 2002 12:42:54 +0200 Received: from cocaine.cryolabs.net (cocaine.cryolabs.net [192.168.196.5]) by ice.cryolabs.net (Postfix) with ESMTP id 4C25B1AA; Fri, 21 Jun 2002 12:42:42 +0200 (CEST) Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) From: Wouter Van Hemel To: Terry Lambert Cc: Giorgos Keramidas , hackers@FreeBSD.org In-Reply-To: <3D129CA8.EFADA4FF@mindspring.com> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 21 Jun 2002 12:43:26 +0200 Message-Id: <1024656206.277.9.camel@cocaine> Mime-Version: 1.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-06-21 at 05:25, Terry Lambert wrote: > Giorgos Keramidas wrote: > > I've been thinking for quite some time to add per-client-IP limiting > > to ftpd, and I had almost decided upon something like the following, > > where each child of ftpd has two numbers associated with it. The > > client IP address, and the PID of the ftpd child that serves it. The > > hash at the beginning of the lists serves as a minor assistance in > > splitting the 2^32 address space in smaller chunks so that we don't > > end up with a singly linked list of a few thousand entries. > > Someone just did something similar for inetd (per IP per port). > > The more I think about this, and the fact that there is code growing > to do basically the same thing in every program, the more I think > that the code to do this needs to be centralized. > I agree with this... but I think that the reason many people like to do it by implementing the limitation in the daemon, is that they can send back some kind of reply, stating the reason of the refusal (which is a nice thing to do, since so many people are behind proxies, sharing the same ip). In that case, you need to speak the protocol of the specific service, even though most of it is plain text anyway. If not, the ipfw method works just fine. Just a thought. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 4:59: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dexter.zoopee.org (zoopee.org [192.117.108.58]) by hub.freebsd.org (Postfix) with ESMTP id 7C27737B40B for ; Fri, 21 Jun 2002 04:58:53 -0700 (PDT) Received: from alsbergt by dexter.zoopee.org with local (Exim 3.34 #2) id 17LN3t-0004hO-00 for freebsd-hackers@freebsd.org; Fri, 21 Jun 2002 14:58:45 +0300 Date: Fri, 21 Jun 2002 14:58:45 +0300 From: Tom Alsberg To: FreeBSD Hackers List Subject: Union filesystem / mount option Message-ID: <20020621115845.GA17902@zoopee.org> Reply-To: Tom Alsberg Mail-Followup-To: Tom Alsberg , FreeBSD Hackers List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there. I would like some clarification with regard to the union filesystem and mount option. First - what is the difference in principle between mounting with the union option (mount -o union) and the union filesystem type (mount_union)? Second - is there a way to have more than two filesystems stacked in a union? So that all writes will go to the upper layer, and reads will go down the stack until a lookup succeeds? That is - a way other than the inelegant and probably sub-optimal way of attaching some filesystem over an already-union filesystem to create another one? Thank you, any help appreciated, -- Tom -- Tom Alsberg - certified insane, complete illiterate. e-mail: Homepage: http://www.cs.huji.ac.il/~alsbergt/ * An idea is not responsible for the people who believe in it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 5:33:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jhs.muc.de (pD950E15D.dip.t-dialin.net [217.80.225.93]) by hub.freebsd.org (Postfix) with ESMTP id 558D337B40D; Fri, 21 Jun 2002 05:33:31 -0700 (PDT) Received: from flip.jhs.private (localhost [127.0.0.1]) by flip.jhs.private (8.11.6/8.11.6) with ESMTP id g5L196k63364; Fri, 21 Jun 2002 03:10:00 +0200 (CEST) (envelope-from jhs@flip.jhs.private) Message-Id: <200206210110.g5L196k63364@flip.jhs.private> To: Poul-Henning Kamp Cc: hackers@FreeBSD.ORG, Hans.Franke@mch20.sbs.de, hm@kts.org (Hellmuth Michaelis) Subject: Re: 8" floppy drive anyone ? In-Reply-To: Message from Poul-Henning Kamp of "Wed, 19 Jun 2002 01:16:26 +0200." <35670.1024442186@critter.freebsd.dk> Date: Fri, 21 Jun 2002 03:09:05 +0200 From: "Julian H. Stacey" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > I have a bunch of 8" floppies I need to try to recover contents > from, is there anybody out there who has a 8" drive they'd be willing > to part with for $$ ? > > If it comes with the magic SA800-PC cable it would be just perfect. > > Poul-Henning > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe Try Hans.Franke@mch20.sbs.de of http://www.vcfe.org he's in Munich Germany, he collects weird stuff for a proto-not-yet-museum, probably he'll not be keen to sell, but offer to trade some other weird stuff you can dredge up in exchange, & you may make his day. His associate Salam (email lost) of http://www.vintage.org also runs a museum in USA, might be able to help similarly, trading. Hypo Vereinsbank in Munich, Bavaria, Germany were still using 8" drives on computers in bank branches about 2 years ago, don't know if theyve been thrown out yet. PS I have a sector recovery tool I wrote for 5.25" on dos, but works on 3.25" on FreeBSD too, just that the recovery bit is better on DOS than BSD, on BSD it's vaguely dd'ish, on DOS it really recovers data. http://bim.bsn.com/~jhs/src/bsd/jhs/bin/public/valid/ Julian Stacey Munich Unix (FreeBSD, Linux etc) Independent Consultant jhs@bim.bsn.com http://bim.bsn.com/~jhs/ Ihr Rauchen = mein allergischer Kopfschmerz ! Schnupftabak probieren ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 6:31:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 8B47737B409 for ; Fri, 21 Jun 2002 06:31:27 -0700 (PDT) Received: from hades.hell.gr (patr530-b229.otenet.gr [212.205.244.237]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5LDVNuD018225; Fri, 21 Jun 2002 16:31:24 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5LDVILN002596; Fri, 21 Jun 2002 16:31:18 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5LDVHft002595; Fri, 21 Jun 2002 16:31:17 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 21 Jun 2002 16:31:17 +0300 From: Giorgos Keramidas To: Terry Lambert Cc: hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621133117.GB2476@hades.hell.gr> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D129CA8.EFADA4FF@mindspring.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-20 20:25 +0000, Terry Lambert wrote: > Giorgos Keramidas wrote: > > I've been thinking for quite some time to add per-client-IP limiting > > to ftpd, and I had almost decided upon something like the following, > > where each child of ftpd has two numbers associated with it. > > Someone just did something similar for inetd (per IP per port). I know. I missed that post (probably deleted it accidentally), and a friend told me that this was being discussed. Since I had been giving the topic a big of thought, I thought I'd post what I had and ask for comments. The friend who notified me about this mentioned that a linear list was being used and what I had so far would probably be OK for inetd too. > The more I think about this, and the fact that there is code growing > to do basically the same thing in every program, the more I think > that the code to do this needs to be centralized. A simple core reuse of ../../foo.c would probably be sufficient in this case, since the part that does the limiting only needs the following interface: find_client_addr(); find_client_pid(); add_client(addr, pid); del_client(pid); /* called by reapchild() */ > Putting this code into a seperate daemon, or even natd, makes a > lot more sense to me than hacking up the kernel, or every network > application ever written. Sound very general to me, and I can't say I don't like the idea. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 6:36:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 830F737B409 for ; Fri, 21 Jun 2002 06:36:39 -0700 (PDT) Received: from hades.hell.gr (patr530-b229.otenet.gr [212.205.244.237]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5LDaZuD027411; Fri, 21 Jun 2002 16:36:37 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5LDaVLN002678; Fri, 21 Jun 2002 16:36:31 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5LDaRkv002677; Fri, 21 Jun 2002 16:36:27 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Fri, 21 Jun 2002 16:36:26 +0300 From: Giorgos Keramidas To: Luigi Rizzo Cc: Terry Lambert , hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621133626.GC2476@hades.hell.gr> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <20020620222032.A73450@iguana.icir.org> <3D12CE82.C6761D96@mindspring.com> <20020621003518.A77089@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020621003518.A77089@iguana.icir.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-21 00:35 +0000, Luigi Rizzo wrote: > On Thu, Jun 20, 2002 at 11:58:10PM -0700, Terry Lambert wrote: > > > in fact there is an ipfw rule which does just this: > > > > > > ipfw add allow ip from any to any limit src-addr 5 > > > > > > and here you go... > > > > Can this be done per port? THis is what both the FTP and the inetd > > modification movements have been about... > > ipfw add allow ip from any to any limit src-addr src-port 5 > > ... > > BTW in terms of implementation efficiency: this limit thing > uses the same hash table used by dynamic ipfw rules. > There is currently an (arbitrary) limit of a total of 1000 > dynamic entries in the table, but no reason not to raise it > much higher if you have memory. The main reason I was looking for a userland implementation of this was that adding limiting to an FTP server that has an active number of a few thousand connections might be a little resource intensive to the kernel of the machine. It's probably OK to stay a bit to much within a userland function that searches a hash/list of addresses, but doing this in the kernel, is something I can't say I fully understand yet. I'm not familiar with the ipfw code. Would it be possible to limit the connections based on source address for a machine that has a few thousand connections and still not put a heavy load on the kernel? - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 6:41:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id A1C8C37B40A; Fri, 21 Jun 2002 06:41:11 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5LDfAt79866; Fri, 21 Jun 2002 06:41:10 -0700 (PDT) (envelope-from rizzo) Date: Fri, 21 Jun 2002 06:41:10 -0700 From: Luigi Rizzo To: Giorgos Keramidas Cc: Terry Lambert , hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621064110.A79754@iguana.icir.org> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <20020620222032.A73450@iguana.icir.org> <3D12CE82.C6761D96@mindspring.com> <20020621003518.A77089@iguana.icir.org> <20020621133626.GC2476@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020621133626.GC2476@hades.hell.gr>; from keramida@FreeBSD.org on Fri, Jun 21, 2002 at 04:36:26PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 21, 2002 at 04:36:26PM +0300, Giorgos Keramidas wrote: ... > > BTW in terms of implementation efficiency: this limit thing > > uses the same hash table used by dynamic ipfw rules. > > There is currently an (arbitrary) limit of a total of 1000 > > dynamic entries in the table, but no reason not to raise it > > much higher if you have memory. > > The main reason I was looking for a userland implementation of this > was that adding limiting to an FTP server that has an active number of > a few thousand connections might be a little resource intensive to the > kernel of the machine. It's probably OK to stay a bit to much within > a userland function that searches a hash/list of addresses, but doing > this in the kernel, is something I can't say I fully understand yet. > > I'm not familiar with the ipfw code. Would it be possible to limit > the connections based on source address for a machine that has a few > thousand connections and still not put a heavy load on the kernel? i'd say yes, as long as you make the hash table size and number of buckets large enough. Both are configurable via sysctl variables: net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.dyn_max: 1000 cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 6:47: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 508EC37B40B for ; Fri, 21 Jun 2002 06:46:47 -0700 (PDT) Received: (qmail 2238 invoked by uid 1000); 21 Jun 2002 13:46:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Jun 2002 13:46:43 -0000 Date: Fri, 21 Jun 2002 15:46:43 +0200 (CEST) From: Attila Nagy To: Giorgos Keramidas Cc: Luigi Rizzo , Terry Lambert , Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) In-Reply-To: <20020621133626.GC2476@hades.hell.gr> Message-ID: References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <20020620222032.A73450@iguana.icir.org> <3D12CE82.C6761D96@mindspring.com> <20020621003518.A77089@iguana.icir.org> <20020621133626.GC2476@hades.hell.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, > The main reason I was looking for a userland implementation of this was > that adding limiting to an FTP server that has an active number of a few > thousand connections might be a little resource intensive to the kernel > of the machine. It's probably OK to stay a bit to much within a > userland function that searches a hash/list of addresses, but doing this > in the kernel, is something I can't say I fully understand yet. Not only this. For example take the normal inetd behaviour for an FTP server. If the ftpd child processes grow above the limit, inetd simply won't spawn others. The users think that the service is dying (because it can be pinged, but the client can't log on) and begin to flame the operator (such a lame service :). Imagine this with the per IP address limit (this will hit more users, because of proxies, NAT boxes, etc). I think it is much better if the daemon can report this via a simple text message. The user limit thing is the last which is necessary to the FreeBSD ftpd for running an anonymous server. --------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 6:59: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lab.simerson.net (lab.simerson.net [64.224.9.172]) by hub.freebsd.org (Postfix) with ESMTP id 0E9BC37B403 for ; Fri, 21 Jun 2002 06:58:35 -0700 (PDT) Received: (qmail 83904 invoked from network); 21 Jun 2002 13:58:34 -0000 Received: from unknown (HELO matt-g4.interland.net) (63.96.155.254) by lab.simerson.net with DES-CBC3-SHA encrypted SMTP; 21 Jun 2002 13:58:34 -0000 Date: Fri, 21 Jun 2002 09:57:55 -0400 Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: Dan Ellard To: hackers@freebsd.org From: Matt Simerson In-Reply-To: <3D129A60.99AA2608@mindspring.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry makes some very excellent points that I've tested and documented in "Real Life". Two years ago I did a bunch of extensive testing between three NFS servers (Sun, FreeBSD, NetApp) and one set of NFS clients (FreeBSD). Anyone that knows NFS really well would have predicted our test results that demonstrated the FreeBSD NFS server as being the best performer. The FreeBSD system was a "home build" with a GigE card, tuned MTU, large window, etc... running on a Cisco GigE switch. It solidly outperformed every other NFS server. If you were to have used Solaris clients, it's quite likely that one of the other two servers would have outperformed the FreeBSD server. Tuning the NFS server and the clients also has enormous potential for improvement. It took dozens of iterations to find the ideal combination of MTU size, nfsiod clients, nfsd servers, in the mail cluster I build. However, the engineering effort held large dividends. That mail system is still in use, seldom touched by human hands. It's withstood mail storms, DoS attacks, and many other network events that have been catastrophic to some of our other mail systems. Your best bet is to take a look at each of the platforms and determine which suits your needs best. Once you've etched that in stone, install your OS of choice and start tuning it to best suit your environment. The above is all unbiased. I personally have used quite a few NFS systems, a few more than I'd like to have. Many others will have opinions but here are mine: BSDI has, IMHO, one of the finest NFS implementations anywhere. I've used it extensively with NT, Mac OS, Mac OS X, BSDI, FreeBSD, Linux, and Solaris clients. As of BSDI 4.0/4.1 (IIRC) it supported NFS locking and worked VERY, VERY well with BSDI clients (as should be expected). I don't know how it's doing these days, I've dropped off the BSDI mailing lists and stopped using it in favor of FreeBSD. FreeBSD has very solid NFS code in addition to being a very robust, versatile, and downright fun operating system. It's very easy to do everything I want to with FreeBSD. It's NFS is missing locking support but it's very fast and works very well with FreeBSD and Mac OS X clients. I haven't used it with anything else. OpenBSD and NetBSD both fall into the same category in my book. Both OS's attack a niche that is too narrow for my purposes. I've installed NetBSD on a HP 9000, Mac IIci, and Intel hardware and, it works, but I couldn't ever easily do anything useful with them. OpenBSD is OpenBSD and life is too short to fight some battles. Sun wrote the book on NFS. They also missed the boat. NFS on Sun is reliable and works well with Sun NFS clients. Good luck with anything else. Performance has never been a feature of Sun's NFS implementation so keep shopping if you care about it. Linux NFS sucks. Some will point out that it's made LOTs of progress. They should also note there's a long ways to go. Linux NFS interaction with NetApp, FreeBSD, and Sun NFS servers is very problematic and never achieves "good" performance. Matt On Thursday, June 20, 2002, at 11:15 PM, Terry Lambert wrote: > Dan Ellard wrote: >> Has anyone done a side-by-side benchmark of the FreeBSD, OpenBSD, and >> NetBSD NFS servers on the same hardware? Note that I'm interested in >> server performance, not client performance. >> >> I'm particularly interested in read performance, but anything would be >> interesting. >> >> In lieu of actual data, which system do people think makes the best >> NFS server for heavily-loaded systems? > > I don't think anyone has benchmarked this; if they had, color me > astonished. > > Your best bet would be to compare them yourself, since it's not > that hard to install them. > > FWIW, You can't seperate server and client performance. If you > have two clients and two servers, the first client caches operation > X, and the second client does not, and you have two servers, one > where operation X is very fast, and reads are OK, and the other > where operation X is very slow, but reads are slightly faster than > just "OK", which one shows up as being better is going to depend in > the client you use in the benchmarks. > > If you're asking about a server and not a client, then you would > be better of asking about the particular client by name vs. each > of the possible server choices. > > PS: Your answers are going to differ based on UDP vs. TCP and > rsize/wsize. In particular, if you need to have an rsize/wsize > larger than the MTU, make sure you are using TCP, not UDP, or > you will be shooting yourself in the foot (most Linux clients > wonder why when they use UDP, their nubers go to hell; that's > why). > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > `````````````````````````````````````````````````````````````````` Matt Simerson msimerson@interland.com Unix Systems Engineer Interland, Inc. -- I drive too fast to worry about cholesterol. `````````````````````````````````````````````````````````````````` To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 7:51:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D9AD037B41F for ; Fri, 21 Jun 2002 07:51:26 -0700 (PDT) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g5LEpF48071608; Fri, 21 Jun 2002 07:51:15 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.3/8.12.2) with ESMTP id g5LEpEac016471; Fri, 21 Jun 2002 07:51:14 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.3/8.12.3/Submit) id g5LEpDYL016466; Fri, 21 Jun 2002 07:51:13 -0700 (PDT) From: Frank Mayhar Message-Id: <200206211451.g5LEpDYL016466@realtime.exit.com> Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <20020621004953.A80059@xor.obsecurity.org> To: Kris Kennaway Date: Fri, 21 Jun 2002 07:51:13 -0700 (PDT) Cc: Frank Mayhar , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Reply-To: frank@exit.com X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > On Thu, Jun 20, 2002 at 07:33:54PM -0700, Frank Mayhar wrote: > > Kris Kennaway wrote: > > > Surely it's easier to just upgrade the apache port, instead of > > > recompiling your kernel and the entire OS. > > Not always. (I'm running an old version of Covalent Raven SSL and I'm > > loathe to upgrade. "If it works, don't fix it" and there are only so > > many hours in a day.) > The exact same argument can be made for not upgrading the OS, which is > a much larger endeavour and can potentially screw things up much > worse. Yep. Which is why the only times I've upgraded the kernel on my production boxes have been when there is a critical fix that I _had_ to install, usually a security fix. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 7:55:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by hub.freebsd.org (Postfix) with ESMTP id A371037B406 for ; Fri, 21 Jun 2002 07:55:13 -0700 (PDT) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g5LEt748071622; Fri, 21 Jun 2002 07:55:08 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.3/8.12.2) with ESMTP id g5LEt7ac017413; Fri, 21 Jun 2002 07:55:07 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.3/8.12.3/Submit) id g5LEt6H2017408; Fri, 21 Jun 2002 07:55:06 -0700 (PDT) From: Frank Mayhar Message-Id: <200206211455.g5LEt6H2017408@realtime.exit.com> Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <20020621031948.Y1582-100000@dallben.homeportal.2wire.net> To: "Brandon D. Valentine" Date: Fri, 21 Jun 2002 07:55:06 -0700 (PDT) Cc: Kris Kennaway , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Reply-To: frank@exit.com X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brandon D. Valentine wrote: > However, I would ask Frank if there's a particular reason he needs to > use Covalent Raven SSL. OpenSSL is free, works like gangbusters, and > comes with FreeBSD. I have a feeling he'd be much happier with it if > there's not some other reason he cannot move to it. As I mentioned, the two reasons are (1) it hasn't been broken (at least up to now) and (2) I haven't had time. These are colocated production boxes; I don't have easy physical access to them to fix things if they go seriously wrong, and having them be down for any length of time is a Bad Thing. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 8:22: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by hub.freebsd.org (Postfix) with ESMTP id 3E74537B40B for ; Fri, 21 Jun 2002 08:21:58 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g5LFLjl29221; Fri, 21 Jun 2002 11:21:49 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g5LFLgO07701; Fri, 21 Jun 2002 11:21:42 -0400 (EDT) Received: from vsw106.mitre.org (128.29.156.106) by mailhub2.mitre.org with SMTP id 10616187; Fri, 21 Jun 2002 11:21:36 -0400 Message-ID: <3D134480.8B7FB7D2@mitre.org> Date: Fri, 21 Jun 2002 11:21:36 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Brandon D. Valentine" Cc: Darren Pilgrim , Evan Dower , freebsd-hackers@freebsd.org Subject: Re: I Volunteer References: <20020620170155.P1108-100000@dallben.homeportal.2wire.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Brandon D. Valentine" wrote: > > On Thu, 20 Jun 2002, Darren Pilgrim wrote: > > >Personally I'm all for courier-imap. IMAP and POP3, Maildirs, SSL, and > >the ability to access both real and virtual mailboxes. > > See my other recent message about the security implications of running > courier-imap. Also, maildirs are a mediocre idea for general use, and a > horrible idea for high volume mail spools. The whole idea behind IMAP > is for the mail to reside on the mail server, not a user's workstation. > Maildirs eat inodes like nobody's business. If you're using FFS to host > a fairly high traffic mail spool you'll probably need to newfs your > filesystem with a /ton/ of inodes. The only solution is to use a > filesystem which dynamically allocates inodes like XFS. Cyrus uses a > much more efficient storage mechanism. That's exactly where the difficulties come from. Cyrus is a royal PITA to convince to run on a machine that also has shells. For instance: in my case my local mail provider doesn't support IMAP (and their mailserver is quite a long way away from me and behind some rather laggy and slow pipes). I wanted to be able to run Sylpheed when I'm on the X console and pine when I'm remotely logged in. The only option (given that they use different mail formats) seemed to be to dump all of my mail into a local IMAP server (it's not a ton of mail either) so both programs could see it. While the uw-imap can do this with a bit of prodding (you have to change a variable in a dependancy to get it to no spew your imap directories all throughout your home directory), it works OK. I originally tried Cyrus IMAP (because it was supposedly better), but nearly pulled my head off trying to get all of the authentication/permission/configuration/login/etc issues worked out. I never actually did successfully create a subdirectory on the Cyrus server, and after poring over the tons of not-very-helpful docs, I eventually gave up and went to the uw solution. UW might not be the best technically, but I wasn't going to have to spend 6 weeks learning the intricacies of the permissions system on my IMAP server to get it working. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 10:20:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id DC9BB37B40D for ; Fri, 21 Jun 2002 10:20:15 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020621172015.VMHY2751.rwcrmhc52.attbi.com@InterJet.elischer.org>; Fri, 21 Jun 2002 17:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA37091; Fri, 21 Jun 2002 10:04:01 -0700 (PDT) Date: Fri, 21 Jun 2002 10:03:59 -0700 (PDT) From: Julian Elischer To: Terry Lambert Cc: Aram Compeau , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? In-Reply-To: <3D119425.7EF9BE3E@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Terry Lambert wrote: > > Basically, that's my short list. There are actually a lot more > things that could be done in the networking area; there are things > to do in the routing area, and things to do with RED queueing, and > things to do with resource tuning, etc., and, of course, there's > the bugs that you normally see in the BSD stack only when you try > to dothings like open more than 65535 outbound connections from a > single box, etc.. > > Personally, I'm tired of solving the same problems over and over > again, so I'd like to see the code in FreeBSD proper, so that it > becomes part of the intellectual commons. > SO which project are you going to do terry? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 10:20:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id C5BA937B413 for ; Fri, 21 Jun 2002 10:20:25 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020621172025.VMMQ2751.rwcrmhc52.attbi.com@InterJet.elischer.org>; Fri, 21 Jun 2002 17:20:25 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA37123; Fri, 21 Jun 2002 10:12:25 -0700 (PDT) Date: Fri, 21 Jun 2002 10:12:24 -0700 (PDT) From: Julian Elischer To: Mark Santcroos Cc: Brooks Davis , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? In-Reply-To: <20020621063715.GA94724@laptop.6bone.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Mark Santcroos wrote: > On Thu, Jun 20, 2002 at 01:21:30PM -0700, Julian Elischer wrote: > > I've been considereing this as a fun project. The difficult comes at the > > interface/IP boundary.. we'd need am ng_route node to multiplex > > the packets to the correct output nodes... > > Would it be needed to duplicate the whole stack in the netgraph node or > would it be relatively easy to hook it up to the existing ip and tcp code? > I'd try start with a second copy of the existing code and see what needs to be hacked.. If it were easy enough you could retrofit th changes to th current code but I suspect that it woudl diverge... > Just wondering. > > Mark > > -- > Mark Santcroos RIPE Network Coordination Centre > http://www.ripe.net/home/mark/ New Projects Group/TTM > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 10:38:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 41CE037B403 for ; Fri, 21 Jun 2002 10:38:48 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5LHYgb43655; Fri, 21 Jun 2002 10:34:47 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Fri, 21 Jun 2002 10:34:42 -0700 (PDT) From: Patrick Thomas To: Frank Mayhar Cc: "Brandon D. Valentine" , Kris Kennaway , Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-Reply-To: <200206211455.g5LEt6H2017408@realtime.exit.com> Message-ID: <20020621103256.C68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What none of you has mentioned is the thought I had in mind when I asked this question, and that is, I have a r&d machine with 16 jails on it, each running apache. Therefore in a situation like this it would be _much_ easier to just tune a sysctl or rebuild the kernel, vs. rebuilding 16 differently configured, different versions of apache. YMMV. --PT On Fri, 21 Jun 2002, Frank Mayhar wrote: > Brandon D. Valentine wrote: > > However, I would ask Frank if there's a particular reason he needs to > > use Covalent Raven SSL. OpenSSL is free, works like gangbusters, and > > comes with FreeBSD. I have a feeling he'd be much happier with it if > > there's not some other reason he cannot move to it. > > As I mentioned, the two reasons are (1) it hasn't been broken (at least > up to now) and (2) I haven't had time. These are colocated production > boxes; I don't have easy physical access to them to fix things if they > go seriously wrong, and having them be down for any length of time is a > Bad Thing. > -- > Frank Mayhar frank@exit.com http://www.exit.com/ > Exit Consulting http://www.gpsclock.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 11: 4:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 1C07C37B40C for ; Fri, 21 Jun 2002 11:04:47 -0700 (PDT) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g5LI4bri005549; Fri, 21 Jun 2002 11:04:37 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g5LI4aCg005548; Fri, 21 Jun 2002 11:04:36 -0700 Date: Fri, 21 Jun 2002 11:04:36 -0700 From: Brooks Davis To: Mark Santcroos Cc: Julian Elischer , Brooks Davis , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? Message-ID: <20020621110434.A4614@Odin.AC.HMC.Edu> References: <20020620103130.B23020@Odin.AC.HMC.Edu> <20020621063715.GA94724@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020621063715.GA94724@laptop.6bone.nl>; from marks@ripe.net on Fri, Jun 21, 2002 at 08:37:15AM +0200 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 21, 2002 at 08:37:15AM +0200, Mark Santcroos wrote: > On Thu, Jun 20, 2002 at 01:21:30PM -0700, Julian Elischer wrote: > > I've been considereing this as a fun project. The difficult comes at the > > interface/IP boundary.. we'd need am ng_route node to multiplex > > the packets to the correct output nodes...=20 >=20 > Would it be needed to duplicate the whole stack in the netgraph node or > would it be relatively easy to hook it up to the existing ip and tcp code? For my purposes, it would need to be seperate so you could copy the module and hack in a new TCP without changing the existing one. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9E2qxXY6L6fI4GtQRApE4AJ9VuT2FDvJ58uGnm1S70FjLNuGRjwCaArj7 UF6g14ig88zaSh3tv2uuIVg= =oqgI -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 11:58:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 9EEE937B410; Fri, 21 Jun 2002 11:57:47 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5LIvar00696; Fri, 21 Jun 2002 13:57:36 -0500 Date: Fri, 21 Jun 2002 13:57:36 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Conrad Sabatier Cc: freebsd-hackers@FreeBSD.ORG, Subject: Re: midi on FreeBSD 4.5: good progress! i now have a midi.ko bas In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Conrad; On Fri, 21 Jun 2002, Conrad Sabatier wrote: > John, > > Please keep us informed as to your progress. I'm sure I'm not the only one > who would be *very* happy to see your work come to fruition! it will be very nice to have this work. i am pretty excited about it. i've wanted to work on it since the very beginning, but i lacked the skills and time. I'm able to do this now because i own a laptop with midi on it and i have an hour+ bus ride each way back and forth between home and work. but i have to be careful, i dont want to disappear under mysterious circumstance. or explode. working on freebsd midi support seems to have a lot in common with being the drummer in 'Spinal Tap'. :-) > If I can help in any way (testing or whatever), let me know. thankyou very much! i'll pop something out as soon as it works. -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 12:59:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by hub.freebsd.org (Postfix) with SMTP id BE18C37B408 for ; Fri, 21 Jun 2002 12:59:29 -0700 (PDT) Received: (qmail 26618 invoked by uid 417); 21 Jun 2002 19:21:56 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 21 Jun 2002 19:21:56 -0000 Received: from unknown ([216.194.20.218]) (AUTH: LOGIN yid@softhome.net) by softhome.net with esmtp; Fri, 21 Jun 2002 13:21:53 -0600 Date: Fri, 21 Jun 2002 15:19:50 -0400 From: Joshua Lee To: ticso@cicely.de Cc: ticso@cicely5.cicely.de, tlambert2@mindspring.com, root@utility.clubscholarship.com, freebsd-hackers@FreeBSD.ORG Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-Id: <20020621151950.545a48e3.yid@softhome.net> In-Reply-To: <20020621083821.GG31943@cicely5.cicely.de> References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> <20020621022930.088904b7.yid@softhome.net> <20020621083821.GG31943@cicely5.cicely.de> Organization: Plan B Software Labs X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002 10:38:21 +0200 Bernd Walter wrote: > On Fri, Jun 21, 2002 at 02:29:30AM -0400, Joshua Lee wrote: > > On Thu, 20 Jun 2002 19:59:20 -0700 > > Terry Lambert wrote: > > > The way you would deal with this would be to tell Apache that it > > > was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. > > > > > > The only place this is an issue is if you need to reuse an HTTP > > > connection, and that only occurs in HTTP 1.1 when you are doing > > > pipelining. Everywhere else, you can indicate an end of data > > > > Mozilla has an option to enable http pipelining as a performance option. I regularly used this, maybe I shouldn't? > > It should fallback. Considering that there's a warning concerning it's use "with some servers" maybe it doesn't... Luckily it's not on by default. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 14: 9:59 2002 Delivered-To: freebsd-hackers@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 B247837B400 for ; Fri, 21 Jun 2002 14:09:52 -0700 (PDT) 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.3) with ESMTP id QAA84646; Fri, 21 Jun 2002 16:09:27 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Fri, 21 Jun 2002 16:09:26 -0500 (CDT) From: Chris Dillon To: Terry Lambert Cc: Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-Reply-To: <3D12E301.53E779D8@mindspring.com> Message-ID: <20020621154902.O79338-100000@mail.wolves.k12.mo.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Terry Lambert wrote: > It has functionality that can not be implemented without adding to > how UNIX does things. Basically, it needs to be able to hook the > account constructor/destructor. It's quite simple to integrate Cyrus IMAP with the local system. Cyrus will by default use the system password database for its authentication, all that is left is to write up a script to your liking to manage the IMAP folders (I wrote one in PERL using the IMAP::Admin and Mail::IMAPClient modules, but please don't ask me for them, I'm not that proud of them :-). You can hook that script in to whatever you're using to create the system user accounts. In the near future, however, I plan to move the authentication database into LDAP and have Cyrus use that so that I can get rid of all of the local system accounts which are there for nothing other than authentication (the shells are just /sbin/nologin). All in all, I love the Cyrus design, and it hasn't given me a bit of trouble in over 6 years. It makes doing a secure "black-box" mail server very easy. -- Chris Dillon - cdillon(at)wolves.k12.mo.us - cdillon(at)inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 14:21:36 2002 Delivered-To: freebsd-hackers@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 9DD9F37B406 for ; Fri, 21 Jun 2002 14:21:30 -0700 (PDT) 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.3) with ESMTP id QAA84764; Fri, 21 Jun 2002 16:21:15 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Fri, 21 Jun 2002 16:21:15 -0500 (CDT) From: Chris Dillon To: Kip Macy Cc: "Bruce A. Mah" , , Subject: Re: FreeBSD on a MaxAttach? In-Reply-To: Message-ID: <20020621161248.K79338-100000@mail.wolves.k12.mo.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Kip Macy wrote: [...snip...] > Maxtor has moved from FreeBSD to the Windows SAK so the newer boxes > are likely to have full BIOS support (they could not keep any of the > CDS developers to maintain the FreeBSD code base). Maybe they all went to work for Quantum. :-) We have some Quantum SNAP Servers which are exactly the same thing as the older MaxAttach boxes except with bigger IDE drives, and they're still running the custom version of FreeBSD on them. They actually perform better than our much heftier Windows NT 4 servers. They even perform better than the newer MaxAttach boxes which are now running a form of Win2K and have much heftier hardware. -- Chris Dillon - cdillon(at)wolves.k12.mo.us - cdillon(at)inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 15:14:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 5F88037B401; Fri, 21 Jun 2002 15:13:23 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LWee-0000DH-00; Fri, 21 Jun 2002 15:13:21 -0700 Message-ID: <3D13A4DA.28F3B169@mindspring.com> Date: Fri, 21 Jun 2002 15:12:42 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Wouter Van Hemel Cc: Giorgos Keramidas , hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <1024656206.277.9.camel@cocaine> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wouter Van Hemel wrote: > I agree with this... but I think that the reason many people like to do it > by implementing the limitation in the daemon, is that they can send back > some kind of reply, stating the reason of the refusal (which is a nice > thing to do, since so many people are behind proxies, sharing the same > ip). In that case, you need to speak the protocol of the specific service, > even though most of it is plain text anyway. > > If not, the ipfw method works just fine. > > Just a thought. Attila Nagy makes a similar point. I think maybe the place for such a message is in a proxy server. The problem here is the point is to limit the number of connections by one IP address. The obvious reason for this constraint is to prevent a trivial denial of service attack occurring from a single IP address, so that clients from other IP address can get in. If you allow the connection to go through so that you can present a user with a capacity limitation message, then you are in much deeper trouble. You've already allowed your attacker to consume a connection resource, and enough of the protocol state engine has to be there for the inital connection negotiation, such that a failure message can be delivered down the protocol encapsulated channel (in the FTP case, the command channel, as a greetings message failure). After that happens, then you close the connection to the client. However, an attacking client can delay the handshake negotiation mechanism, thus consuming the per connection state information without a full connection. Alternately, for other protocols, immediately upon being connected to the server which is about to reject the connection, the client can wait for the server to do the connection close as part of the reject. This sends the socket into TIME-WAIT on the server, tying up the server resources for a full 2MSL. I think that permitting the connection to go through so that you can have a protocol rejection followed by a protocol close defeats much of the purpose of rate limiting based on IPs. If the patch were simply to set an overall connection limit, then it might make sense to allow the connection. Even so, you are then subject to attack. The ftp.cdrom.com server does a connection rejection based on protocol negotiation and a failure handshake message ("Too many users; maximum of 5000" or whatever). Technically, you could DOS attack this server: it's relying on pool retention in order to not run out of connections. In other words, it's assuming that the people connecting to it are legitimate. So a connection followed by a protocol rejection is for people who are playing nice. A connection reject outright is for people who are attacking you. In other words, it's a circuit breaker, not door security. Someone made the comment about people sitting behind a NAT, so that the number of connections from a given IP is actually legitimate traffic. This rate limitation is targetted at an attacker. One would expect that the number of connections would be set high enough that it would not trigger for these people, and low enough to catch an attacker. Really, if you get to this point in dropping connections, you are pretty much screwed anyway. It's not going to protect you from partial connection attempts, which are one of the most common attach types these days (e.g. SYN-flooding), since by the time you get through the protocol state machine, the resources that you should be worrying about protecting have already been compromised. If the idea is to prevent an attack, then you should not even queue the SYN requests from an IP after you hit the connection limit -- you should drop them. The network card DMA'ing them into memory in the first place is where you want to squelch the problem. That's probably a firmware issue, where you give the card a list of "squelch" IP addresses, and it ignores packets from there for . In any case, there's really little justification for accepting a connection and then immediately rejecting it with a protocol reject, since all of your overhead for protocol state, connection, etc., has already been consumed, if your intent is to guard against an attack. So I guess what needs to happen is a strict definition of what it is people expect to actually accomplish with this class of patches. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 15:34:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (law2-f67.hotmail.com [216.32.181.67]) by hub.freebsd.org (Postfix) with ESMTP id CAF8F37B410 for ; Fri, 21 Jun 2002 15:34:46 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 21 Jun 2002 15:34:46 -0700 Received: from 24.196.232.182 by lw2fd.hotmail.msn.com with HTTP; Fri, 21 Jun 2002 22:34:46 GMT X-Originating-IP: [24.196.232.182] From: "Kenneth Mays" To: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD on a MaxAttach? Date: Fri, 21 Jun 2002 18:34:46 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jun 2002 22:34:46.0796 (UTC) FILETIME=[D8BC7CC0:01C21973] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I noticed that the SNAP Servers are far better in performance than the MaxAttach. WinNT/2000 embedded was a nice idea, but its so bloated I think they screwed it up a bit in its efficiency. BSDI v4.3 and FreeBSD kernels are more up to the task (I have BSDI whick rocks in its own right). The mini iso does wonders for me for custom solutions. I wonder if Solaris 9 can hold a few candles to BSDI v4.3 or FreeBSD v4.6. We need a few articles to compare these notes!!! ;o> Ken _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 15:42:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id DA27337B40D for ; Fri, 21 Jun 2002 15:42:33 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5LMdH957477 for ; Fri, 21 Jun 2002 15:39:22 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Fri, 21 Jun 2002 15:39:16 -0700 (PDT) From: Patrick Thomas To: Subject: (jail) problem and a (possible) solution ? Message-ID: <20020621153616.Y68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A test server of mine running a number of jails keeps locking up - but the odd thing about the lockup is that the userland stops, but the kernel keeps running (sockets can be opened, but the servers never respond on them, the machine still responds to pings, but logs show that all real activity stops) I just noticed today that some jails still have writable /dev/mem and /dev/kmem and /dev/io nodes. I think it is plausable that some kind of fiddling (writing) to these nodes is causing this kind of lockup. ---- Is this assumption reasonable, or if some jail user fiddled with their /dev/mem or /dev/kmem or /dev/io node would it just totally crash out the machine and I _wouldn't_ still be able to ping the server after it crashes ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 15:45:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id A6F4537B412 for ; Fri, 21 Jun 2002 15:44:48 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LX91-0002xz-00; Fri, 21 Jun 2002 15:44:43 -0700 Message-ID: <3D13AC34.BDD03345@mindspring.com> Date: Fri, 21 Jun 2002 15:44:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer Cc: Aram Compeau , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian Elischer wrote: > On Thu, 20 Jun 2002, Terry Lambert wrote: > > Basically, that's my short list. There are actually a lot more > > things that could be done in the networking area; there are things > > to do in the routing area, and things to do with RED queueing, and > > things to do with resource tuning, etc., and, of course, there's > > the bugs that you normally see in the BSD stack only when you try > > to dothings like open more than 65535 outbound connections from a > > single box, etc.. > > > > Personally, I'm tired of solving the same problems over and over > > again, so I'd like to see the code in FreeBSD proper, so that it > > becomes part of the intellectual commons. > > > > SO which project are you going to do terry? I don't know, Julian... for which one will you give me a Masters degree from an accredited University? This thread is still about students looking for a projects. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16: 4:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 4889337B400 for ; Fri, 21 Jun 2002 16:04:47 -0700 (PDT) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g5LN3ZA23278; Sat, 22 Jun 2002 01:03:35 +0200 Received: (nullmailer pid 9398 invoked by uid 1000); Fri, 21 Jun 2002 23:03:34 -0000 Date: Sat, 22 Jun 2002 01:03:34 +0200 From: Mark Santcroos To: Brooks Davis Cc: Julian Elischer , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? Message-ID: <20020621230334.GA7060@laptop.6bone.nl> References: <20020620103130.B23020@Odin.AC.HMC.Edu> <20020621063715.GA94724@laptop.6bone.nl> <20020621110434.A4614@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020621110434.A4614@Odin.AC.HMC.Edu> User-Agent: Mutt/1.3.99i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 21, 2002 at 11:04:36AM -0700, Brooks Davis wrote: > For my purposes, it would need to be seperate so you could copy the > module and hack in a new TCP without changing the existing one. I understand, but you won't need to do that for the IP layer in your case. Other people might have a reverse situation, so some hooks to both these layers would come in handy, that was my point. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16:29:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id C417437B407 for ; Fri, 21 Jun 2002 16:29:18 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LXpf-0006zv-00; Fri, 21 Jun 2002 16:28:47 -0700 Message-ID: <3D13B688.3639FB47@mindspring.com> Date: Fri, 21 Jun 2002 16:28:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Joshua Lee Cc: ticso@cicely.de, ticso@cicely5.cicely.de, root@utility.clubscholarship.com, freebsd-hackers@FreeBSD.ORG Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> <20020621022930.088904b7.yid@softhome.net> <20020621083821.GG31943@cicely5.cicely.de> <20020621151950.545a48e3.yid@softhome.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joshua Lee wrote: > > > Mozilla has an option to enable http pipelining as a performance option. > > > I regularly used this, maybe I shouldn't? > > > > It should fallback. > > Considering that there's a warning concerning it's use "with some servers" > maybe it doesn't... Luckily it's not on by default. THat's not the issue. The issue is that some servers claim to be 1.1 servers, but do not implement pipelining. Older Apache servers fall into this category. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16:33: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id 6AA5737B406 for ; Fri, 21 Jun 2002 16:32:58 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LXtX-0003in-00; Fri, 21 Jun 2002 16:32:48 -0700 Message-ID: <3D13B778.1BB52411@mindspring.com> Date: Fri, 21 Jun 2002 16:32:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Dillon Cc: Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020621154902.O79338-100000@mail.wolves.k12.mo.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris Dillon wrote: > On Fri, 21 Jun 2002, Terry Lambert wrote: > > It has functionality that can not be implemented without adding to > > how UNIX does things. Basically, it needs to be able to hook the > > account constructor/destructor. > > It's quite simple to integrate Cyrus IMAP with the local system. > Cyrus will by default use the system password database for its > authentication, While I appreciate the positive support of Cyrus, I guess I need to point out that this approach only works if you are willing to send passwords over the wire in plaintext. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16:35:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id 548A837B40E for ; Fri, 21 Jun 2002 16:35:43 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LXwG-0007Gv-00; Fri, 21 Jun 2002 16:35:36 -0700 Message-ID: <3D13B821.537268A2@mindspring.com> Date: Fri, 21 Jun 2002 16:34:57 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Dillon Cc: Kip Macy , "Bruce A. Mah" , freebsd-hackers@FreeBSD.ORG, casner@packetdesign.com Subject: Re: FreeBSD on a MaxAttach? References: <20020621161248.K79338-100000@mail.wolves.k12.mo.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris Dillon wrote: > We have some Quantum SNAP Servers which are exactly the same thing as > the older MaxAttach boxes except with bigger IDE drives, and they're > still running the custom version of FreeBSD on them. They actually > perform better than our much heftier Windows NT 4 servers. They even > perform better than the newer MaxAttach boxes which are now running a > form of Win2K and have much heftier hardware. Uh... the version of FreeBSD on the Quantum boxes is probably the same version of FreeBSD that was on the InterJets... *cough*. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16:39: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id E7B4437B405 for ; Fri, 21 Jun 2002 16:39:01 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY200FACXP0KD@mtaout02.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Fri, 21 Jun 2002 19:39:01 -0400 (EDT) Date: Fri, 21 Jun 2002 18:39:00 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? In-reply-to: <3D13B688.3639FB47@mindspring.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Terry Lambert Cc: Joshua Lee , ticso@cicely.de, ticso@cicely5.cicely.de, root@utility.clubscholarship.com, freebsd-hackers@FreeBSD.ORG Message-id: <20020621183418.C3524-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Terry Lambert wrote: >THat's not the issue. The issue is that some servers claim to be >1.1 servers, but do not implement pipelining. Older Apache servers >fall into this category. I have been using pipelining in Mozilla for many months now without encountering a single, solitary server which caused me problems. I would guage that the number of servers out there which exhibit this problem is few. Netcraft could probably provide some fairly authoritative data in this regard, provided someone has a list of known buggy HTTP 1.1 implementations. It would probably be a much appreciated public service to the network if someone were resourceful enough to construct such a list, run it through netcraft, inform the admins of any and all known websites running buggy HTTP 1.1 implementations of the issue and recommend an upgrade path based on their currently installed HTTP server. This would be fairly simple to automate I would imagine with some help from the folks at netcraft. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 16:58:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2E4D537B40C for ; Fri, 21 Jun 2002 16:58:53 -0700 (PDT) Received: from hades.hell.gr (patr530-a165.otenet.gr [212.205.215.165]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5LNwnuD008124; Sat, 22 Jun 2002 02:58:49 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5LNwmLN007751; Sat, 22 Jun 2002 02:58:48 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5LNwltl007750; Sat, 22 Jun 2002 02:58:47 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Sat, 22 Jun 2002 02:58:47 +0300 From: Giorgos Keramidas To: Terry Lambert Cc: Wouter Van Hemel , hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) Message-ID: <20020621235847.GE5836@hades.hell.gr> References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <1024656206.277.9.camel@cocaine> <3D13A4DA.28F3B169@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D13A4DA.28F3B169@mindspring.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-21 15:12 +0000, Terry Lambert wrote: > Someone made the comment about people sitting behind a NAT, so that > the number of connections from a given IP is actually legitimate > traffic. This rate limitation is targetted at an attacker. Actually I was thinking more of ReGet and Godzilla-style software used by some users to play unfair and suck more bandwidth out of an FTP server, by opening a zillion sockets and downloading a single file in chunks. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 17: 6:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 0CF9537B419; Fri, 21 Jun 2002 17:05:44 -0700 (PDT) Received: from pool0462.cvx21-bradley.dialup.earthlink.net ([209.179.193.207] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LYPP-0002QN-00; Fri, 21 Jun 2002 17:05:43 -0700 Message-ID: <3D13BF30.565B7A53@mindspring.com> Date: Fri, 21 Jun 2002 17:05:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Giorgos Keramidas Cc: Wouter Van Hemel , hackers@FreeBSD.org Subject: Re: Limiting clients per source IP address (ftpd, inetd, etc.) References: <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com> <1024656206.277.9.camel@cocaine> <3D13A4DA.28F3B169@mindspring.com> <20020621235847.GE5836@hades.hell.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas wrote: > On 2002-06-21 15:12 +0000, Terry Lambert wrote: > > Someone made the comment about people sitting behind a NAT, so that > > the number of connections from a given IP is actually legitimate > > traffic. This rate limitation is targetted at an attacker. > > Actually I was thinking more of ReGet and Godzilla-style software used > by some users to play unfair and suck more bandwidth out of an FTP > server, by opening a zillion sockets and downloading a single file in > chunks. What a clever hack! I don't know if I should revise my argument to include per-IP-per-file, which would of necessity be user space, or just admire it and say they *deserve* more bandwidth for being smart... I guess I'll argue that it's a different problem space, and limiting the number of connections for that reason is really easy to get around: 1) Open as many connections as you can 2) Divide the download between the connections In other words, your workaround only works if you take the file into account, or if you set your per IP connection limit to "1 connection per IP". The former is a totally different problem, while the latter can be done with ipfw or one of the other approaches already discussed. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 17:11:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 85A2D37B403 for ; Fri, 21 Jun 2002 17:11:42 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 3D911471DA; Fri, 21 Jun 2002 17:11:41 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 564A5FDA0; Fri, 21 Jun 2002 17:11:33 -0700 (PDT) Message-ID: <3D13C0B5.5A72DE0@pantherdragon.org> Date: Fri, 21 Jun 2002 17:11:33 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Terry Lambert Cc: Chris Dillon , Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Evan Dower , freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020621154902.O79338-100000@mail.wolves.k12.mo.us> <3D13B778.1BB52411@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > Chris Dillon wrote: > > It's quite simple to integrate Cyrus IMAP with the local system. > > Cyrus will by default use the system password database for its > > authentication, > > While I appreciate the positive support of Cyrus, I guess I need > to point out that this approach only works if you are willing to > send passwords over the wire in plaintext. There's no support for SSL in Cyrus? What about secure authentication? Speaking of which, what does it take to get secure authentication to work on FreeBSD? Courier supports it, but the port compiles with options to disable the secure authentication methods. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 17:50:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 55CD537B40C for ; Fri, 21 Jun 2002 17:50:02 -0700 (PDT) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g5M0nvri003838; Fri, 21 Jun 2002 17:49:57 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g5M0nvvr003837; Fri, 21 Jun 2002 17:49:57 -0700 Date: Fri, 21 Jun 2002 17:49:57 -0700 From: Brooks Davis To: Mark Santcroos Cc: Brooks Davis , Julian Elischer , "David E. Cross" , hackers@FreeBSD.ORG Subject: Re: projects? Message-ID: <20020621174957.B4614@Odin.AC.HMC.Edu> References: <20020620103130.B23020@Odin.AC.HMC.Edu> <20020621063715.GA94724@laptop.6bone.nl> <20020621110434.A4614@Odin.AC.HMC.Edu> <20020621230334.GA7060@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020621230334.GA7060@laptop.6bone.nl>; from marks@ripe.net on Sat, Jun 22, 2002 at 01:03:34AM +0200 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 22, 2002 at 01:03:34AM +0200, Mark Santcroos wrote: > On Fri, Jun 21, 2002 at 11:04:36AM -0700, Brooks Davis wrote: > > For my purposes, it would need to be seperate so you could copy the > > module and hack in a new TCP without changing the existing one. >=20 > I understand, but you won't need to do that for the IP layer in your case. > Other people might have a reverse situation, so some hooks to both these > layers would come in handy, that was my point. It depends on what you're trying to do. If all you want to do is mess with in-kernel TCP implementations then just hooking into the existing IP layer is sufficent. I'm also thinking that the ability to run netgraph code in a hybrid userland/kernel environment for development would be useful in which case it would be useful to be able to implement the whole network stack in netgraph nodes. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9E8m0XY6L6fI4GtQRAj4CAJ4umh4ZyFpB+fo1zul87JnwZjlRFACfasGS hoU8x+4D2vKtrZ3ps+VJbAQ= =u2nA -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 18:58:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from alumni.cs.wisc.edu (alumni.cs.wisc.edu [128.105.2.11]) by hub.freebsd.org (Postfix) with ESMTP id 36C7C37B40F for ; Fri, 21 Jun 2002 18:58:24 -0700 (PDT) Received: from localhost (bnitin@localhost) by alumni.cs.wisc.edu (8.9.2/8.9.2) with ESMTP id UAA16932 for ; Fri, 21 Jun 2002 20:58:19 -0500 (CDT) Date: Fri, 21 Jun 2002 20:58:19 -0500 (CDT) From: Nitin Bahadur To: hackers@freebsd.org Subject: kernel file creation query... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, This might be a lame query...but ... I am trying to create a file from kernel space given the vnode of the parent directory using VOP_CREATE. The code is as below. int make_file(struct vnode *dvp, struct vnode **vpp, struct proc *p, char *name) { struct componentname cnp; struct vattr va, *vap = &va; /* set component name */ cnp.cn_nameiop = CREATE; cnp.cn_flags = LOCKLEAF; cnp.cn_proc = p; cnp.cn_cred = p->p_ucred; cnp.cn_pnbuf = cnp.cn_nameptr = name; cnp.cn_namelen = cnp.cn_consume = strlen(name); /* set attributes */ VATTR_NULL(vap); vap->va_type = VREG; return VOP_CREATE(dvp, vpp, &cnp, vap); } Now the file is getting created, but if I do an ls on its parent directory, I get something like; foo: Bad file descriptor. I am sure I am doing something wrong or missing something. I tried looking at the nfs and kern code, but couldn't figure out much. Can you experts just correct me.. thanks in advance nitin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 22: 7:10 2002 Delivered-To: freebsd-hackers@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 615C537B409 for ; Fri, 21 Jun 2002 22:07:05 -0700 (PDT) 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.3) with ESMTP id AAA88633; Sat, 22 Jun 2002 00:06:47 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Sat, 22 Jun 2002 00:06:46 -0500 (CDT) From: Chris Dillon To: Terry Lambert Cc: Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-Reply-To: <3D13B778.1BB52411@mindspring.com> Message-ID: <20020621235955.Y88554-100000@mail.wolves.k12.mo.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Terry Lambert wrote: > Chris Dillon wrote: > > On Fri, 21 Jun 2002, Terry Lambert wrote: > > > It has functionality that can not be implemented without adding to > > > how UNIX does things. Basically, it needs to be able to hook the > > > account constructor/destructor. > > > > It's quite simple to integrate Cyrus IMAP with the local system. > > Cyrus will by default use the system password database for its > > authentication, > > While I appreciate the positive support of Cyrus, I guess I need to > point out that this approach only works if you are willing to send > passwords over the wire in plaintext. Yes, but this is the case with any IMAP server and doesn't really have anything to do with Cyrus in particular. Unlike other IMAP servers, however, Cyrus supports SASL which offers plenty of non-plain-text authentication options, unfortunately none of which work with a local FreeBSD password database that I know of. There is always the option to use SSL, which is my preference, but unfortunately neither SSL nor SASL have widespread IMAP client support yet. -- Chris Dillon - cdillon(at)wolves.k12.mo.us - cdillon(at)inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 22:18: 3 2002 Delivered-To: freebsd-hackers@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 1F35637B448 for ; Fri, 21 Jun 2002 22:17:36 -0700 (PDT) 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.3) with ESMTP id AAA88731; Sat, 22 Jun 2002 00:17:30 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Sat, 22 Jun 2002 00:17:29 -0500 (CDT) From: Chris Dillon To: Terry Lambert Cc: Kip Macy , "Bruce A. Mah" , , Subject: Re: FreeBSD on a MaxAttach? In-Reply-To: <3D13B821.537268A2@mindspring.com> Message-ID: <20020622000736.H88554-100000@mail.wolves.k12.mo.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, Terry Lambert wrote: > Uh... the version of FreeBSD on the Quantum boxes is probably the > same version of FreeBSD that was on the InterJets... *cough*. 2.2.something? :-) Whatever version it is, I'm impressed with how well it works. The only problem I have with the Quantum SNAP boxes is the total lack of being able to script any kind of setting of file ownerships or ACLs. You have to set those entirely through the web interface, which is entirely unacceptable when you want to do it for 2000 user home directories. The NT command-line ACL tools don't work, which is how I script that kind of thing on NT servers, and I've tried in vain to write a PERL script that actually accessed and parsed the web interface and sent back the appropriate POSTs. It almost works, but I gave up for the time being. The only other option would be to write something to run in the JVM that is on them, and I can't find any API documentation on setting file ownership or ACLs, not to mention I don't know Java well enough to write such a thing in the first place. :-) -- Chris Dillon - cdillon(at)wolves.k12.mo.us - cdillon(at)inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 21 23:55:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.npubs.com (npubs.com [207.111.208.224]) by hub.freebsd.org (Postfix) with ESMTP id 88E4537B400 for ; Fri, 21 Jun 2002 23:55:07 -0700 (PDT) Received: 8.12.2-(Neptune) From: "Nielsen" To: "Patrick Thomas" , References: <20020621153616.Y68572-100000@utility.clubscholarship.com> Subject: Re: (jail) problem and a (possible) solution ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-Id: <20020622065507.88E4537B400@hub.freebsd.org> Date: Fri, 21 Jun 2002 23:55:07 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes I've had the same problem. One system runs just fine with it's jails, and another crashes habitually. It has to do with a certain jail (and services). Our system are set up to be able to move jails between them (great for backups and near perfect uptime), and a certain set of jails always hangs the system in this way. I'm trying to narrow it down. Do you get a core dump or does it just hang? Nate ----- Original Message ----- From: "Patrick Thomas" To: Sent: Friday, June 21, 2002 16:43 Subject: (jail) problem and a (possible) solution ? > > A test server of mine running a number of jails keeps locking up - but the > odd thing about the lockup is that the userland stops, but the kernel > keeps running > > (sockets can be opened, but the servers never respond on them, the machine > still responds to pings, but logs show that all real activity stops) > > I just noticed today that some jails still have writable /dev/mem and > /dev/kmem and /dev/io nodes. I think it is plausable that some kind of > fiddling (writing) to these nodes is causing this kind of lockup. > > ---- > > Is this assumption reasonable, or if some jail user fiddled with their > /dev/mem or /dev/kmem or /dev/io node would it just totally crash out the > machine and I _wouldn't_ still be able to ping the server after it crashes > ? > > thanks, > > PT > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 0:32: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.mailstart.com (i2i2mail.mailstart.com [207.231.76.102]) by hub.freebsd.org (Postfix) with ESMTP id 06C0937B6CB for ; Sat, 22 Jun 2002 00:31:35 -0700 (PDT) Received: from muave [207.231.76.117] by mail.mailstart.com (SMTPD32-5.05) id A7D68A5A00DA; Sat, 22 Jun 2002 00:31:34 -0700 To: hackers@FreeBSD.ORG Cc: From: "John Franz" Subject: help with PicoBSD for the DAR Message-Id: <220602173.1894@webbox.com> Mime-Version: 1.0 Content-Type: text/plain Date: Sat, 22 Jun 2002 00:31:35 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Im currently attemting to build a embeded type Digital Audio Recorder running PicoBSD booting off a zip disk. its a pretty strait forward project. unfortunatly none of the default scripts to make PicoBSD seem to work out of the box, let alone after adding the features i need, or writing a different image size. could anyone out there tell a proper step by step for making the picobsd image after adding the devices i need and removing those i dont, and how i configure the crunched binaries to include those progs i need, as well as how to call those binaries, the documentation is none to clear about any of it. has picoBSD stopped devel? that would be a shame. it has been extreamly usefull whenever i have been able to hack it into what i need.... the hack i have for this, so far , is just not pretty, i cant bear it. any help or comments would be appreciated, John Fränz johnfranz@geek.com icq: 44901799 PinkoBSD -- superiority through equality. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 0:49: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id CF7C037B9EB for ; Sat, 22 Jun 2002 00:47:13 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5M7l7a88127; Sat, 22 Jun 2002 00:47:07 -0700 (PDT) (envelope-from rizzo) Date: Sat, 22 Jun 2002 00:47:06 -0700 From: Luigi Rizzo To: John Franz Cc: hackers@FreeBSD.ORG Subject: Re: help with PicoBSD for the DAR Message-ID: <20020622004706.A88115@iguana.icir.org> References: <220602173.1894@webbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <220602173.1894@webbox.com>; from JohnFranz@geek.com on Sat, Jun 22, 2002 at 12:31:35AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 22, 2002 at 12:31:35AM -0700, John Franz wrote: > > Im currently attemting to build a embeded type Digital Audio > Recorder running PicoBSD booting off a zip disk. its a pretty > strait forward project. unfortunatly none of the default scripts > to make PicoBSD seem to work out of the box, let alone after > adding the features i need, or writing a different image size. the scripts with 4.5 and above work reasonably well. At least the "bridge" image should even compile. cheers luigi > > could anyone out there tell a proper step by step for making > the picobsd image after adding the devices i need and removing > those i dont, and how i configure the crunched binaries to include > those progs i need, as well as how to call those binaries, the > documentation is none to clear about any of it. has picoBSD stopped > devel? that would be a shame. it has been extreamly usefull whenever > i have been able to hack it into what i need.... the hack i have > for this, so far , is just not pretty, i cant bear it. > > any help or comments would be appreciated, > John Fränz > johnfranz@geek.com > icq: 44901799 > > PinkoBSD -- superiority through equality. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 1: 5:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pakastelohi.cypherpunks.to (pakastelohi.cypherpunks.to [213.130.163.34]) by hub.freebsd.org (Postfix) with ESMTP id 5112237B404 for ; Sat, 22 Jun 2002 01:05:35 -0700 (PDT) Received: from LUCKYVAIO (unknown [209.148.102.15]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pakastelohi.cypherpunks.to (Postfix) with ESMTP id 3C84436400 for ; Sat, 22 Jun 2002 10:05:32 +0200 (CEST) From: "Lucky Green" To: Subject: RE: LINT CPU features table Date: Sat, 22 Jun 2002 01:01:43 -0700 Message-ID: <007d01c219c3$102d8150$206694d1@LUCKYVAIO> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Let me turn my original inquiry into an offer: I volunteer to write the section for the Handbook or other documentation detailing the various CPU options in LINT if somebody who fully understands what these options do is willing to spend 30 minutes on the phone with me answering questions about the options. Any takers? Thanks, --Lucky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 1:18:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 4010537B4D3 for ; Sat, 22 Jun 2002 01:18:38 -0700 (PDT) Received: from pool0055.cvx22-bradley.dialup.earthlink.net ([209.179.198.55] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Lg6J-0001Uf-00; Sat, 22 Jun 2002 01:18:32 -0700 Message-ID: <3D1432B0.58F863B5@mindspring.com> Date: Sat, 22 Jun 2002 01:17:52 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Dillon Cc: Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <20020621235955.Y88554-100000@mail.wolves.k12.mo.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris Dillon wrote: > > While I appreciate the positive support of Cyrus, I guess I need to > > point out that this approach only works if you are willing to send > > passwords over the wire in plaintext. > > Yes, but this is the case with any IMAP server and doesn't really have > anything to do with Cyrus in particular. Unlike other IMAP servers, > however, Cyrus supports SASL which offers plenty of non-plain-text > authentication options, unfortunately none of which work with a local > FreeBSD password database that I know of. There is always the option > to use SSL, which is my preference, but unfortunately neither SSL nor > SASL have widespread IMAP client support yet. SASL requires a shared secret, not a crypt(3) hash of a shared secret. That's why the passwords have to be stored plaintext on the mail server, and why, if you use the UNIX password database as the account database for Cyrus, you must pass the passwords over the wire in plaintext. Personally, I think SASL should have specified that you crypt(3) the passwords, and then use the resulting hash as the password value for the shared secret on both ends. At least that way, you would not have to pass cleartext to use the UNIX account database. This is a client problem. Or you could assign paswords to the client, so that the user sees the hashed value as their mail password, and the unhashed value as their shell account password. But in actuality, the issue is still a client issue (because clients don't hash shared secrets before using them in SASL exchanges). Pretty obvious, really. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 1:56: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 87F4737B40D for ; Sat, 22 Jun 2002 01:55:41 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5M8pko93933; Sat, 22 Jun 2002 01:52:06 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sat, 22 Jun 2002 01:51:46 -0700 (PDT) From: Patrick Thomas To: Nielsen Cc: Subject: Re: (jail) problem and a (possible) solution ? In-Reply-To: <200206220652.g5M6qOV84476@utility.clubscholarship.com> Message-ID: <20020622014826.U68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What it does is the userland hangs, but the kernel keeps running. When the system is crashed, I can still ping it successfully, and I can still open sockets (like I can open a connection to a jails httpd or sshd, or the sshd of the underlying server itself) but nothing answers on the sockets - they just hang open. So everything stops running, but it is still "up" - still responds to pings...syslog stops logging though, cron stops running.... Two questions for you: 1) do you allow them write access to their /dev/mem, /dev/kmem, /dev/io ? 2) does this sound like what you see? Can you still ping the crashed server ? I'm mostly just curious if this kind of crash (userland hung but kernel running) is a possible outcome of someone in a jail fiddling with those /dev nodes, or if fiddling with dev/mem or /dev/kmem or io would just lock the machine up hard and completely. Terry? --PT On Fri, 21 Jun 2002, Nielsen wrote: > Yes I've had the same problem. One system runs just fine with it's jails, > and another crashes habitually. It has to do with a certain jail (and > services). Our system are set up to be able to move jails between them > (great for backups and near perfect uptime), and a certain set of jails > always hangs the system in this way. I'm trying to narrow it down. Do you > get a core dump or does it just hang? > > Nate > > ----- Original Message ----- > From: "Patrick Thomas" > To: > Sent: Friday, June 21, 2002 16:43 > Subject: (jail) problem and a (possible) solution ? > > > > > > A test server of mine running a number of jails keeps locking up - but the > > odd thing about the lockup is that the userland stops, but the kernel > > keeps running > > > > (sockets can be opened, but the servers never respond on them, the machine > > still responds to pings, but logs show that all real activity stops) > > > > I just noticed today that some jails still have writable /dev/mem and > > /dev/kmem and /dev/io nodes. I think it is plausable that some kind of > > fiddling (writing) to these nodes is causing this kind of lockup. > > > > ---- > > > > Is this assumption reasonable, or if some jail user fiddled with their > > /dev/mem or /dev/kmem or /dev/io node would it just totally crash out the > > machine and I _wouldn't_ still be able to ping the server after it crashes > > ? > > > > thanks, > > > > PT > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 2: 4: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 2D2E537B408 for ; Sat, 22 Jun 2002 02:03:56 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id EB420AE302; Sat, 22 Jun 2002 02:03:55 -0700 (PDT) Date: Sat, 22 Jun 2002 02:03:55 -0700 From: Alfred Perlstein To: Patrick Thomas Cc: Nielsen , hackers@freebsd.org Subject: Re: (jail) problem and a (possible) solution ? Message-ID: <20020622090355.GC53232@elvis.mu.org> References: <200206220652.g5M6qOV84476@utility.clubscholarship.com> <20020622014826.U68572-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020622014826.U68572-100000@utility.clubscholarship.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Patrick Thomas [020622 01:56] wrote: > > What it does is the userland hangs, but the kernel keeps running. > ... > I'm mostly just curious if this kind of crash (userland hung but kernel > running) is a possible outcome of someone in a jail fiddling with those > /dev nodes, or if fiddling with dev/mem or /dev/kmem or io would just lock > the machine up hard and completely. > > Terry? This typically means some sort of deadlock has happened, if possible getting a crash dump (this is detailed in the handbook i think) would help. The reason why it seems like apps are responding is because the kernel is only processing interrupts, something has hung the scheduler or deadlocked the kernel somehow... FYI, the kernel is not running except when interrupted by a device. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 3:39:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from goose.mail.pas.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id 8D28937B400 for ; Sat, 22 Jun 2002 03:39:11 -0700 (PDT) Received: from pool0038.cvx40-bradley.dialup.earthlink.net ([216.244.42.38] helo=mindspring.com) by goose.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LiI4-0006XB-00; Sat, 22 Jun 2002 03:38:49 -0700 Message-ID: <3D145392.3B09B1D3@mindspring.com> Date: Sat, 22 Jun 2002 03:38:10 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Nielsen , hackers@freebsd.org Subject: Re: (jail) problem and a (possible) solution ? References: <20020622014826.U68572-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > What it does is the userland hangs, but the kernel keeps running. > > When the system is crashed, I can still ping it successfully, and I can > still open sockets (like I can open a connection to a jails httpd or sshd, > or the sshd of the underlying server itself) but nothing answers on the > sockets - they just hang open. > > So everything stops running, but it is still "up" - still responds to > pings...syslog stops logging though, cron stops running.... > > Two questions for you: > > 1) do you allow them write access to their /dev/mem, /dev/kmem, /dev/io ? > > 2) does this sound like what you see? Can you still ping the crashed > server ? > > I'm mostly just curious if this kind of crash (userland hung but kernel > running) is a possible outcome of someone in a jail fiddling with those > /dev nodes, or if fiddling with dev/mem or /dev/kmem or io would just lock > the machine up hard and completely. > > Terry? I've kept quiet so far because I'm not the "jail" expert; Poul actually wrote the jail code, and there was someone else who understood it enough to recently add multiple IP support. Given your symptoms, I can pretty much guess where the problem is, but not really how to fix it, other than trial-and-error, since I tend to run jails on a number of my machines, and make them do things they aren't supposed to do... Knowing what version of FreeBSD you are running would be helpful. That you can still ping indicates that both hardware interrupts and NETISR are running. That NETISR runs indicates that things are still calling "splx()", which means things are still calling "spl*()" and coming back from it. The fact that you can still connect to servers that have active listens posted, but that you get no data is also indicative that the NETISR is running, at least up to the accept. It would be interesting to attempt a large number of connections, to see if the connections stop being accepted after you've tried more times than you set in listen(3) as the queue depth for the number of sockets allowed to sit there pending accept. If this happens (connection attempts start hanging, rather than being accepted), you know for certain that the process you are trying to talk to is not being scheduled to run. Basically, this implies one of two things is happening: 1) Your scheduler "lost" its head entry, so it's not scheduling anything to run, OR 2) You've used up all your resources on the machine (usually memory), and all of your processes are hung on a copy-on-write or allocate request, pending being serviced by the kernel If you can, compile the kernel for the box with the kernel debugger enabled, and "break to debugger" enabled, and break to the debugger on the console. The type "ps" and see what you get back as the wait channel everything you are trying to connect to is waiting on. This should be very informative, and it should be easy to locate the problem from there. If you have to, you can look at the scheduler queues, if there is anything in runnable state, and find out what's not there. Probably, it's not enough RAM, and your tuning parameters are set such that this isn't fatal to processes, when it should be. That you are able to ping, etc. guaranteed that you are not out of mbufs, and that you can connect that you aren't out of inpcb's or tcpcb's -- but mbufs are freelisted, so that's to be expected there (may not need more) and the pcb's are allocated at boot time (so are sockets, based on maxfiles), so tuning any of them after boot can get you in trouble. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 4:10:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id E503537B400 for ; Sat, 22 Jun 2002 04:10:29 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5MB6SB04924; Sat, 22 Jun 2002 04:06:38 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sat, 22 Jun 2002 04:06:27 -0700 (PDT) From: Patrick Thomas To: Terry Lambert Cc: Nielsen , Subject: Re: (jail) problem and a (possible) solution ? In-Reply-To: <3D145392.3B09B1D3@mindspring.com> Message-ID: <20020622040208.J68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry, Thanks for that informative email - just a quick reality check though (for myself) - the last time this type of crash happened, I was running and watching `top` on the machine - and when it froze, the `top` output froze as well, and this was the last display on the screen: last pid: 6603; load averages: 3.81, 1.84, 1.48 1032 processes:1 running, 1026 sleeping, 5 zombie CPU states: 1.8% user, 0.8% nice, 3.2% system, 0.1% interrupt, 94.1% idle Mem: 1129M Active, 1404M Inact, 351M Wired, 103M Cache, 199M Buf, 28M Free Swap: 2018M Total, 2732K Used, 2015M Free Since all of the things you spoke of basically revolved around "you're running out of memory", is it possible or reasonable to think that within the space of 1 second, I ran through 1404 megs inactive and 28 megs free memory ? machine is 4.5-RELEASE with 3gigs ram. swap never gets touched, although there is in fact 2gigs of swap. `pstat -s` always shows 0% used. I'll do the debug actions you suggested. --PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 4:38:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id 98B8D37B430 for ; Sat, 22 Jun 2002 04:38:43 -0700 (PDT) Received: from pool0038.cvx40-bradley.dialup.earthlink.net ([216.244.42.38] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17LjE1-0000rT-00; Sat, 22 Jun 2002 04:38:41 -0700 Message-ID: <3D146194.5496D5D7@mindspring.com> Date: Sat, 22 Jun 2002 04:37:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Nielsen , hackers@freebsd.org Subject: Re: (jail) problem and a (possible) solution ? References: <20020622040208.J68572-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > Since all of the things you spoke of basically revolved around "you're > running out of memory", is it possible or reasonable to think that within > the space of 1 second, I ran through 1404 megs inactive and 28 megs free > memory ? > > machine is 4.5-RELEASE with 3gigs ram. swap never gets touched, although > there is in fact 2gigs of swap. `pstat -s` always shows 0% used. OK, there's memory, and then there's memory. The amount of swap you have, the fact that it's 4.5, and the amount of RAM you have imply to me that the problem is that you are out of pmap entries. You should up your KVA space to 2G or maybe even 3G; the default in 4.5 was 1G. Basically, I now think that you don't have enough memory to map how much memory and virtual memory you have. Amusingly enough, you might actually have *better* luck with a lot less swap... If your KVA space is already enlarged above the default, then you can ignore this and just go ahead with the debugging to see what the wait channels for all the processes that won't run are stuck at. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 5:36:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from infinitive.futureperfectcorporation.com (infinitive.futureperfectcorporation.com [196.25.137.68]) by hub.freebsd.org (Postfix) with SMTP id 3B54A37B400 for ; Sat, 22 Jun 2002 05:36:25 -0700 (PDT) Received: (qmail 58423 invoked by uid 0); 22 Jun 2002 12:36:17 -0000 Received: from gerund.futureperfectcorporation.com (196.25.137.65) by infinitive.futureperfectcorporation.com with SMTP; 22 Jun 2002 12:36:17 -0000 Received: (qmail 34033 invoked by uid 1001); 22 Jun 2002 12:36:44 -0000 Date: Sat, 22 Jun 2002 14:36:44 +0200 From: Neil Blakey-Milner To: Chris Dillon Cc: Terry Lambert , Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) Message-ID: <20020622123644.GA33734@mithrandr.moria.org> References: <3D13B778.1BB52411@mindspring.com> <20020621235955.Y88554-100000@mail.wolves.k12.mo.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020621235955.Y88554-100000@mail.wolves.k12.mo.us> User-Agent: Mutt/1.3.27i Organization: iTouch Labs X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat 2002-06-22 (00:06), Chris Dillon wrote: > Yes, but this is the case with any IMAP server and doesn't really have > anything to do with Cyrus in particular. Unlike other IMAP servers, > however, Cyrus supports SASL which offers plenty of non-plain-text > authentication options, unfortunately none of which work with a local > FreeBSD password database that I know of. Courier-IMAP supports SASL (PLAIN, LOGIN, CRAM-MD5, CRAM-SHA1). > There is always the option > to use SSL, which is my preference, but unfortunately neither SSL nor > SASL have widespread IMAP client support yet. Most IMAP clients I know of support SSL. Outlook, Outlook Express, Eudora, Netscape, Evolution, mutt, pine, ... Which IMAP clients don't? Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 7: 2:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from postino10.prima.com.ar (postino10.prima.com.ar [200.42.0.181]) by hub.freebsd.org (Postfix) with SMTP id 7C32337B400 for ; Sat, 22 Jun 2002 07:02:11 -0700 (PDT) Received: (qmail 12326 invoked from network); 22 Jun 2002 11:16:25 -0000 Received: from a200042065019.rev.prima.com.ar (HELO relay1.gu.lviv.ua) (200.42.65.19) by postino10.prima.com.ar with SMTP; 22 Jun 2002 11:16:25 -0000 From: "Angla" To: "pcydpynxg@cs.com" Subject: Start now look great this summer Content-Type: text/plain; charset="us-ascii";format=flowed Content-Transfer-Encoding: 7bit Message-Id: <20020622140211.7C32337B400@hub.freebsd.org> Date: Sat, 22 Jun 2002 07:02:11 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As seen on NBC, CBS, CNN, and even Oprah! The health discovery that actually reverses aging while burning fat, without dieting or exercise! This proven discovery has even been reported on by the New England Journal of Medicine. Forget aging and dieting forever! And it's Guaranteed! Click here: http://web.kuhleersparnis.ch/hgh/index.html Would you like to lose weight while you sleep! No dieting! No hunger pains! No Cravings! No strenuous exercise! Change your life forever! 100% GUARANTEED! 1.Body Fat Loss 82% improvement. 2.Wrinkle Reduction 61% improvement. 3.Energy Level 84% improvement. 4.Muscle Strength 88% improvement. 5.Sexual Potency 75% improvement. 6.Emotional Stability 67% improvement. 7.Memory 62% improvement. *********************************************************** You are receiving this email as a subscriber to the Opt-In America Mailing List. To unsubscribe from future offers, just click here: mailto:affiliateoptout@btamail.net.cn?Subject=off To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 8:39:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.npubs.com (npubs.com [207.111.208.224]) by hub.freebsd.org (Postfix) with ESMTP id 17F6937B401 for ; Sat, 22 Jun 2002 08:39:14 -0700 (PDT) Received: 8.12.2-(Neptune) From: "Nielsen" To: "Patrick Thomas" Cc: References: <20020622014826.U68572-100000@utility.clubscholarship.com> Subject: Re: (jail) problem and a (possible) solution ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-Id: <20020622153914.17F6937B401@hub.freebsd.org> Date: Sat, 22 Jun 2002 08:39:14 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 1) do you allow them write access to their /dev/mem, /dev/kmem, /dev/io ? Actually haven't yet let anyone else inside a jail with root capabilities. Will soon though. So, no probably not, unless there's a daemon which does just that. > 2) does this sound like what you see? Can you still ping the crashed > server ? Kernel routing still works. And yes ping too. But come to think of this I've seen it on other (4.5, patched pretty much to date) machines I use exclusively as routers. These have no jails on them. In these cases after uptimes of let's say 2 or 3 months, the machine's daemons stop responding and although a socket can be opened (just barely) it closes again when the process listening on the other side doesn't pick it up. IPSEC, firewalls, kernel routing, and all that continue to function just fine. Like you said it's just the userland stuff that has problems. The strange thing is, on one of my machines I was (eventually) able to log in from the console, take the system down to single user mode and back up and then everything worked like a charm. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 9: 7: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by hub.freebsd.org (Postfix) with ESMTP id 72DAC37B405 for ; Sat, 22 Jun 2002 09:06:58 -0700 (PDT) Received: from bmah.dyndns.org ([12.233.149.189]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020622160657.OPNB1024.sccrmhc01.attbi.com@bmah.dyndns.org>; Sat, 22 Jun 2002 16:06:57 +0000 Received: from intruder.bmah.org (localhost [IPv6:::1]) by bmah.dyndns.org (8.12.3/8.12.3) with ESMTP id g5MG6ukR090015; Sat, 22 Jun 2002 09:06:56 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.3/8.12.3/Submit) id g5MG6u6F090014; Sat, 22 Jun 2002 09:06:56 -0700 (PDT) (envelope-from bmah) Message-Id: <200206221606.g5MG6u6F090014@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020506 with nmh-1.0.4 To: "Lucky Green" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: LINT CPU features table In-Reply-To: <007d01c219c3$102d8150$206694d1@LUCKYVAIO> References: <007d01c219c3$102d8150$206694d1@LUCKYVAIO> Comments: In-reply-to "Lucky Green" message dated "Sat, 22 Jun 2002 01:01:43 -0700." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1202343584P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 22 Jun 2002 09:06:56 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==_Exmh_1202343584P Content-Type: text/plain; charset=us-ascii If memory serves me right, "Lucky Green" wrote: > Let me turn my original inquiry into an offer: I volunteer to write the > section for the Handbook or other documentation detailing the various > CPU options in LINT if somebody who fully understands what these options > do is willing to spend 30 minutes on the phone with me answering > questions about the options. > > Any takers? Hi Lucky-- An excellent idea. A few thoughts for you: 1. You could peruse recent release notes (at least for i386) to get started. What little I know about the CPU-related options is encapsulated there, so thirty minutes on the phone with me is not likely to be useful, BTW. :-p 2. The CPU options in LINT are both version- and architecture-dependent. This fact probably makes this information a good candidate for the architecture-dependent hardware notes in the release documentation, with a pointer from the Handbook. 3. If you want a review on markup (or you want someone to mark up text for you), freebsd-doc@ is a great place to send things for feedback. Good luck, and thanks for volunteering to document this stuff! Bruce. --==_Exmh_1202343584P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE9FKCg2MoxcVugUsMRAiCfAKDo7Kun5SlUCFoZgP3Wfzdn0+y8FACdGDSK MSwydkqJeiDp5MKtzyDkBMI= =BPCE -----END PGP SIGNATURE----- --==_Exmh_1202343584P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 9:54:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d173.as21.nwbl0.wi.voyager.net [169.207.139.239]) by hub.freebsd.org (Postfix) with ESMTP id 0976537B401 for ; Sat, 22 Jun 2002 09:54:19 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.4/8.12.4) with ESMTP id g5MGuGcv043880; Sat, 22 Jun 2002 11:56:16 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.4/8.12.4/Submit) with ESMTP id g5MGuDPW043877; Sat, 22 Jun 2002 11:56:15 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Sat, 22 Jun 2002 11:56:13 -0500 (CDT) From: Mike Silbersack To: Lucky Green Cc: freebsd-hackers@freebsd.org Subject: RE: LINT CPU features table In-Reply-To: <007d01c219c3$102d8150$206694d1@LUCKYVAIO> Message-ID: <20020622115350.D43492-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Lucky Green wrote: > Let me turn my original inquiry into an offer: I volunteer to write the > section for the Handbook or other documentation detailing the various > CPU options in LINT if somebody who fully understands what these options > do is willing to spend 30 minutes on the phone with me answering > questions about the options. > > Any takers? > > Thanks, > --Lucky Despite your enthusiasm, it's still a rather pointless exercise. To make explaining the cpu options worthwhile, you must show that only specifying I686 is sufficiently more optimal than specifying I686/I586/I486/I386. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 10:29:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 9503837B400 for ; Sat, 22 Jun 2002 10:29:44 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g5MHTeJZ082215; Sat, 22 Jun 2002 11:29:40 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200206221729.g5MHTeJZ082215@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: Terry Lambert Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-reply-to: Your message of "Sat, 22 Jun 2002 01:17:52 PDT." <3D1432B0.58F863B5@mindspring.com> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Sat, 22 Jun 2002 11:29:40 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Terry" == Terry Lambert writes: Terry> Personally, I think SASL should have specified that you Terry> crypt(3) the passwords, and then use the resulting hash as Terry> the password value for the shared secret on both ends. At Terry> least that way, you would not have to pass cleartext to use Terry> the UNIX account database. The problem with this is that if you serve up your password database via NIS an attacker can grab the crypt()ed password and use it to perform a forged authentication. Note that in the next revision of the IMAP4 spec STARTTLS will be mandatory to implement. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 10:46:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1723037B400 for ; Sat, 22 Jun 2002 10:46:23 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5MHkFGZ000937; Sat, 22 Jun 2002 12:46:15 -0500 (CDT) (envelope-from dan) Date: Sat, 22 Jun 2002 12:46:15 -0500 From: Dan Nelson To: Mike Silbersack Cc: Lucky Green , freebsd-hackers@FreeBSD.ORG Subject: Re: LINT CPU features table Message-ID: <20020622174615.GA53971@dan.emsphone.com> References: <007d01c219c3$102d8150$206694d1@LUCKYVAIO> <20020622115350.D43492-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020622115350.D43492-100000@patrocles.silby.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jun 22), Mike Silbersack said: > On Sat, 22 Jun 2002, Lucky Green wrote: > > Let me turn my original inquiry into an offer: I volunteer to write > > the section for the Handbook or other documentation detailing the > > various CPU options in LINT if somebody who fully understands what > > these options do is willing to spend 30 minutes on the phone with > > me answering questions about the options. > > Despite your enthusiasm, it's still a rather pointless exercise. To > make explaining the cpu options worthwhile, you must show that only > specifying I686 is sufficiently more optimal than specifying > I686/I586/I486/I386. I think he's referring to the flotilla of CPU feature options, mainly aimed at AMD and old Cyrix processors. A while back I went through all the places the I?86_CPU defines were used and determined that the only option that degraded performace when added to a kernel that didn't need it was I386_CPU; due to the 386's lack of locking primitives. For 486 and higher chips it doesn't matter if you have all three I[456]86_CPU defined or just the one you need. Most of the code activated by the options are specialized bcopy routines accessed through an indirect pointer, or initialization code used only once during bootup. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 11:14:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 9C61137B400 for ; Sat, 22 Jun 2002 11:14:42 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5MIEgCV074082 for ; Sat, 22 Jun 2002 11:14:42 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5MIEggO074081; Sat, 22 Jun 2002 11:14:42 -0700 (PDT) (envelope-from dillon) Date: Sat, 22 Jun 2002 11:14:42 -0700 (PDT) From: Matthew Dillon Message-Id: <200206221814.g5MIEggO074081@apollo.backplane.com> To: hackers@freebsd.org Subject: Weird problems with BIND 8.3.1-REL Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having weird problems with BIND. It started happening about a month and a half ago. named would start returning immediate host name lookup failures for just about everything and never recover. I dumped named in one of these instances. The dump file (500K) is temporarily at: http://apollo.backplane.com/named_dump.db . If there are any DNS gurus out there I would appreciate a look-see. Is anyone aware of any issues with named? I see that the current version in the tree appears to be 8.3.2-T1B (which I just installed a second ago). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 11:52: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 2041A37B404 for ; Sat, 22 Jun 2002 11:51:58 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5MIlsc54756; Sat, 22 Jun 2002 11:48:14 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sat, 22 Jun 2002 11:47:54 -0700 (PDT) From: Patrick Thomas To: Terry Lambert Cc: Nielsen , Subject: Re: (jail) problem and a (possible) solution ? In-Reply-To: <3D146194.5496D5D7@mindspring.com> Message-ID: <20020622114506.K68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG How do you increase KVA space these days ? I see that in earlier releases you had to edit /sys/conf/ldscript.i386 and /sys/i386/include/pmap.h and do all sorts of crazy stuff. What is the procedure in 4.5-RELEASE (please say "just change KVA_PAGES=260 to KVA_PAGES=512) That's what you want me to do, right ? Is that all - can it be done just by changing that one value in my kernel config ? Again, thank you Terry for all your help. --PT On Sat, 22 Jun 2002, Terry Lambert wrote: > Patrick Thomas wrote: > > Since all of the things you spoke of basically revolved around "you're > > running out of memory", is it possible or reasonable to think that within > > the space of 1 second, I ran through 1404 megs inactive and 28 megs free > > memory ? > > > > machine is 4.5-RELEASE with 3gigs ram. swap never gets touched, although > > there is in fact 2gigs of swap. `pstat -s` always shows 0% used. > > OK, there's memory, and then there's memory. > > The amount of swap you have, the fact that it's 4.5, and the > amount of RAM you have imply to me that the problem is that > you are out of pmap entries. > > You should up your KVA space to 2G or maybe even 3G; the default > in 4.5 was 1G. > > Basically, I now think that you don't have enough memory to map > how much memory and virtual memory you have. > > Amusingly enough, you might actually have *better* luck with a > lot less swap... > > If your KVA space is already enlarged above the default, then > you can ignore this and just go ahead with the debugging to see > what the wait channels for all the processes that won't run are > stuck at. > > -- Terry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 12:11:21 2002 Delivered-To: freebsd-hackers@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 2CB4F37B404 for ; Sat, 22 Jun 2002 12:11:02 -0700 (PDT) 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.3) with ESMTP id OAA03293; Sat, 22 Jun 2002 14:10:33 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Sat, 22 Jun 2002 14:10:33 -0500 (CDT) From: Chris Dillon To: Neil Blakey-Milner Cc: Terry Lambert , Lamont Granquist , Jason Andresen , "Brandon D. Valentine" , Darren Pilgrim , Evan Dower , Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) In-Reply-To: <20020622123644.GA33734@mithrandr.moria.org> Message-ID: <20020622140116.G2885-100000@mail.wolves.k12.mo.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Neil Blakey-Milner wrote: > On Sat 2002-06-22 (00:06), Chris Dillon wrote: > > Yes, but this is the case with any IMAP server and doesn't really > > have anything to do with Cyrus in particular. Unlike other IMAP > > servers, however, Cyrus supports SASL which offers plenty of > > non-plain-text authentication options, unfortunately none of which > > work with a local FreeBSD password database that I know of. > > Courier-IMAP supports SASL (PLAIN, LOGIN, CRAM-MD5, CRAM-SHA1). I should have said "unlike some other IMAP servers". Thanks to the simple BSD-like license on the Cyrus SASL implementation, it has found its way into a lot of places. > > There is always the option to use SSL, which is my preference, but > > unfortunately neither SSL nor SASL have widespread IMAP client > > support yet. > > Most IMAP clients I know of support SSL. Outlook, Outlook Express, > Eudora, Netscape, Evolution, mutt, pine, ... I know Netscape didn't have that ability for a long time, and neither did Outlook or OE. Mutt and Pine have had it since around 1999, though. > Which IMAP clients don't? If all of the above now support SSL for IMAP connections, then I can't think of any. -- Chris Dillon - cdillon(at)wolves.k12.mo.us - cdillon(at)inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 13:41:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by hub.freebsd.org (Postfix) with SMTP id E5B1837B401 for ; Sat, 22 Jun 2002 13:41:38 -0700 (PDT) Received: (qmail 395 invoked by uid 1001); 22 Jun 2002 20:41:37 -0000 Date: Sat, 22 Jun 2002 16:41:37 -0400 From: Brian Reichert To: hackers@freebsd.org Subject: USB mouse probes, but I get uhci_timeout Message-ID: <20020622164137.A253@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Under FreeBSD-RELEASE, I'm messing with a USB mouse. I've compiled into the kernel the lot of USB devices, and the USB debug options. (More specifcally, the device is a Twiddler2, which acts as a keyboard and a mouse, and a keyboard/mouse -> USB converter the vendor sold me.) I get as far as: ... uhci0: port 0xe400-0xe41f irq 9 at device 7.2 on pci 0 uhci_run: setting run=0 uhci_run: done cmd=0x0 sts=0x20 uhci_run: setting run=1 uhci_run: done cmd=0x81 sts=0x0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ukbd0: MT606 MT606-1 PS/2 KB & MOUSE TO USB ADAPTOR, rev 1.00/0.01, addr 2, iclass 3/1 ukbd:set_leds: state=0xc043fa80 leds=0 kbd1 at ukbd0 ums0: MT606 MT606-1 PS/2 KB & MOUSE TO USB ADAPTOR, rev 1.00/0.01, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ums_attach: sc=0xc236e800 ums_attach: X 8/8 ums_attach: Y 16/8 ums_attach: Z 24/8 ums_attach: B1 0/1 ums_attach: B2 1/1 ums_attach: B3 2/1 ums_attach: size=4, id=0 ... uhci_timeout: ii=0xc2050120 The uhci0 on irq 9 worries me, as it's shared by other things: % dmesg | grep 'irq 9' IOAPIC #0 intpin 16 -> irq 9 pci1: at 0.0 irq 9 uhci0: port 0xe400-0xe41f irq 9 at device 7.2 on pci0 This is with the motherboard set to utililze PnP. If I disable _that_, the diff between dmesg's is: % diff dmesg.pnpos.* 14c14 < IOAPIC #0 intpin 16 -> irq 9 --- > IOAPIC #0 intpin 16 -> irq 5 15a16 > IOAPIC #0 intpin 19 -> irq 9 32c33 < pci1: at 0.0 irq 9 --- > pci1: at 0.0 irq 5 uhci0 doesn't move, I still get timeouts, and now my video card causes my sound card to time out. :/ I know the Twiddler2/USB combo works, per se, in that I can get it to work on a Vaio with Win98. I haven't further explored said combo on the same laptop under FreeBSD; I'll try that next. But, in the meantime, can someone shed some light on why I'm seeing the uhci_timeout message, and what steps I can take to getting this all to work? -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 14: 2:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id DCADF37B408 for ; Sat, 22 Jun 2002 14:02:21 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY4002OML2XS8@mtaout01.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Sat, 22 Jun 2002 17:01:45 -0400 (EDT) Date: Sat, 22 Jun 2002 16:01:44 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: LINT CPU features table In-reply-to: <20020622174615.GA53971@dan.emsphone.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Dan Nelson Cc: Mike Silbersack , Lucky Green , freebsd-hackers@FreeBSD.ORG Message-id: <20020622155537.T3524-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Dan Nelson wrote: >In the last episode (Jun 22), Mike Silbersack said: >> On Sat, 22 Jun 2002, Lucky Green wrote: >> > Let me turn my original inquiry into an offer: I volunteer to write >> > the section for the Handbook or other documentation detailing the >> > various CPU options in LINT if somebody who fully understands what >> > these options do is willing to spend 30 minutes on the phone with >> > me answering questions about the options. >> >> Despite your enthusiasm, it's still a rather pointless exercise. To >> make explaining the cpu options worthwhile, you must show that only >> specifying I686 is sufficiently more optimal than specifying >> I686/I586/I486/I386. > >I think he's referring to the flotilla of CPU feature options, mainly >aimed at AMD and old Cyrix processors. [snip] I would argue that any effort put toward documenting this is better spent documenting something else. That particular "flotilla" of options relates entirely to a group of rather old, rather slow, and rather rare processors. The incidence of their use or necessity in the general FreeBSD user base is likely to be quite small. If you're running on asome ancient bastard child of Cyrix processor then chances are you're not running a performance critical application. At that level I say to anyone who tries to squeeze every last ounce of performance out of their CPU, "buy a faster CPU or UTFSL". Feel free to disagree and work on what interests you. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 14: 8: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta02.fuse.net (mx2.fuse.net [216.68.1.120]) by hub.freebsd.org (Postfix) with ESMTP id 23DD237B419 for ; Sat, 22 Jun 2002 14:07:40 -0700 (PDT) Received: from rusty.am-productions.yi.org ([216.196.152.219]) by mta02.fuse.net (InterMail vM.5.01.03.01 201-253-122-118-101-20010319) with ESMTP id <20020622210740.NLTT25582.mta02.fuse.net@rusty.am-productions.yi.org> for ; Sat, 22 Jun 2002 17:07:40 -0400 Content-Type: text/plain; charset="us-ascii" From: Anish Mistry To: freebsd-hackers@freebsd.org Subject: Visor USB Problems Date: Sat, 22 Jun 2002 17:08:24 -0400 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206221708.24069.mistry.7@osu.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having some trouble reading data from a Handspring Visor Platinum. = What=20 I am trying to do is make the necessary modifications to pilot-link so th= at=20 it will work with the usb on FreeBSD. My problem is that I can open a=20 connection to the /dev/ugen0.2 endpoint, but whenever I try to call a rea= d()=20 it returns with error 5 (Input/Output Error). I used the coldsync code a= s a=20 base, but the read keeps failing. I can post the code, I just wanted to = see=20 if there were anyone with a similar problem. I have checked the permissi= ons=20 on the device nodes and they are fine, the same problem occurs when runni= ng=20 as root. What I do: 1) Press the HotSync Button on my crade 2) Run ./pilot-xfer -p usb:/dev/ugen0 --sync /home/amistry/bk 3) Watch it fail Thanks, --=20 Anish Mistry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 14:52:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by hub.freebsd.org (Postfix) with ESMTP id ABDD137B405 for ; Sat, 22 Jun 2002 14:52:20 -0700 (PDT) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id 4FA448B5A6; Sat, 22 Jun 2002 14:52:20 -0700 (PDT) Message-ID: <3D14F193.8551837E@FreeBSD.org> Date: Sat, 22 Jun 2002 14:52:19 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: hackers@FreeBSD.ORG Subject: Re: Weird problems with BIND 8.3.1-REL References: <200206221814.g5MIEggO074081@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > I am having weird problems with BIND. It started happening about a month > and a half ago. named would start returning immediate host name lookup > failures for just about everything and never recover. That's not good. :) I assume you're using it as a resolver from the dump. > I dumped named in one of these instances. The dump file (500K) is > temporarily at: http://apollo.backplane.com/named_dump.db . If there > are any DNS gurus out there I would appreciate a look-see. Unfortunately, the db is generally not the problem. The only way to diagnose it is to up the debug level and log what's happening while it's actually broken. > Is anyone aware of any issues with named? I see that the current > version in the tree appears to be 8.3.2-T1B (which I just installed > a second ago). I just updated the bind8 port to 8.3.2-RELEASE, which I recommend that you run instead. I saw some weird problems with the pre-release versions of 8.3.2 that seem to be fixed now. I also added a new knob to the port so you can make -DREPLACE_SYSTEM_BIND install and have it update the stuff in /usr instead of installing to /usr/local. Good luck, Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 15:30:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from overcee.wemm.org (12-232-114-102.client.attbi.com [12.232.114.102]) by hub.freebsd.org (Postfix) with ESMTP id 7349E37B400 for ; Sat, 22 Jun 2002 15:30:33 -0700 (PDT) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 1474F380E; Sat, 22 Jun 2002 15:30:36 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jonathan Lemon Cc: hackers@FreeBSD.ORG, Gerard Roudier Subject: Re: Ultra320 drivers? In-Reply-To: <20020604152333.H73755@prism.flugsvamp.com> Date: Sat, 22 Jun 2002 15:30:36 -0700 From: Peter Wemm Message-Id: <20020622223036.1474F380E@overcee.wemm.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jonathan Lemon wrote: > I have an IBM box that has a dual LSI 53c1030 controller on the > motherboard. Our SYM driver doesn't appear to have support for > this device; under Linux it is supported by a Fusion/MPT driver > from LSI. > > Any chance of getting a driver for this chip? I have an IA64 box with a 1030 as well. :-/ Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 15:43:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 7413537B400 for ; Sat, 22 Jun 2002 15:43:26 -0700 (PDT) Received: from pool0523.cvx21-bradley.dialup.earthlink.net ([209.179.194.13] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Ltb9-00050Z-00; Sat, 22 Jun 2002 15:43:16 -0700 Message-ID: <3D14FD5D.3BBA407@mindspring.com> Date: Sat, 22 Jun 2002 15:42:37 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lyndon Nerenberg Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Cyrus vs. UW IMAP (was: Re: I Volunteer) References: <200206221729.g5MHTeJZ082215@orthanc.ab.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lyndon Nerenberg wrote: > Terry> Personally, I think SASL should have specified that you > Terry> crypt(3) the passwords, and then use the resulting hash as > Terry> the password value for the shared secret on both ends. At > Terry> least that way, you would not have to pass cleartext to use > Terry> the UNIX account database. > > The problem with this is that if you serve up your password database via > NIS an attacker can grab the crypt()ed password and use it to perform a > forged authentication. I understand this. Which is why you don't use NIS, or at least do not make it externally accessible. The exchange would have to include the salt, anyway, or the client couldn't crypt the value to the correct hash. The point is really to allow all the SASL methods to be used by a client, when all the server has is a UNIX password database. Even you've got to admit that storing crypted passwords on the server is better than permitting unprivilged applications access to the plaintext passwords. 8-). > Note that in the next revision of the IMAP4 spec STARTTLS will > be mandatory to implement. Yeah, this is incredibly bogus. The proper way of handling this is SSL. It's very easy to man-in-the-middle a session that starts out unencrypted when a STARTTLS goes by for SMTP; it is just as easy for anything else that uses that rather bogus method. 8-(. -- TErry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 15:52:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id CEB8937B400 for ; Sat, 22 Jun 2002 15:52:24 -0700 (PDT) Received: from pool0523.cvx21-bradley.dialup.earthlink.net ([209.179.194.13] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Ltjn-0005Z4-00; Sat, 22 Jun 2002 15:52:12 -0700 Message-ID: <3D14FF75.9772644D@mindspring.com> Date: Sat, 22 Jun 2002 15:51:33 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Nielsen , hackers@freebsd.org Subject: Re: (jail) problem and a (possible) solution ? References: <20020622114506.K68572-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > How do you increase KVA space these days ? I see that in earlier releases > you had to edit /sys/conf/ldscript.i386 and /sys/i386/include/pmap.h and > do all sorts of crazy stuff. > > What is the procedure in 4.5-RELEASE (please say "just change > KVA_PAGES=260 to KVA_PAGES=512) > > That's what you want me to do, right ? Is that all - can it be done just > by changing that one value in my kernel config ? It's what I want you to do. For 4.5, you have to hack ldscript.i386 and pmap.h. I've posted on how to do this before (should be in the archives). The pages are all going to be off-by-one from your calculations, for the recursive page mapping, or off-by-two if your kernel is an SMP kernel, for the per CPU page, so remember that, or you will end up with a kernel that simply doesn't boot. The easiest way is to look at the numbers in pmap.h, and figure out how they relate to 0xc0000000 (remember to OR in 0x00100000 after your math, to count the kernel loading at 1M). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 16:52:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id F33EA37B400 for ; Sat, 22 Jun 2002 16:52:34 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5MNmFl65645; Sat, 22 Jun 2002 16:48:35 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sat, 22 Jun 2002 16:48:15 -0700 (PDT) From: Patrick Thomas To: Terry Lambert Cc: Nielsen , Subject: Re: (jail) problem and a (possible) solution ? In-Reply-To: <3D14FF75.9772644D@mindspring.com> Message-ID: <20020622164732.L68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think I'll just decrease my swap size from 2 gigs to 1 gig - is that a reasonable alternative that provides the same benefit and possible solution to this problem ? ...since bsically 0 swap has ever been used on the machine anyway... --PT On Sat, 22 Jun 2002, Terry Lambert wrote: > Patrick Thomas wrote: > > How do you increase KVA space these days ? I see that in earlier releases > > you had to edit /sys/conf/ldscript.i386 and /sys/i386/include/pmap.h and > > do all sorts of crazy stuff. > > > > What is the procedure in 4.5-RELEASE (please say "just change > > KVA_PAGES=260 to KVA_PAGES=512) > > > > That's what you want me to do, right ? Is that all - can it be done just > > by changing that one value in my kernel config ? > > It's what I want you to do. > > For 4.5, you have to hack ldscript.i386 and pmap.h. I've posted > on how to do this before (should be in the archives). > > The pages are all going to be off-by-one from your calculations, > for the recursive page mapping, or off-by-two if your kernel is an > SMP kernel, for the per CPU page, so remember that, or you will > end up with a kernel that simply doesn't boot. > > The easiest way is to look at the numbers in pmap.h, and figure > out how they relate to 0xc0000000 (remember to OR in 0x00100000 > after your math, to count the kernel loading at 1M). > > -- Terry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 18: 1:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id AC58C37B403; Sat, 22 Jun 2002 18:01:34 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g5N110P8020442; Sat, 22 Jun 2002 18:01:00 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.4/8.12.3/Submit) id g5N10xnP020441; Sat, 22 Jun 2002 18:00:59 -0700 (PDT) Date: Sat, 22 Jun 2002 18:00:59 -0700 From: "David O'Brien" To: Doug Barton Cc: Matthew Dillon , hackers@FreeBSD.org Subject: Re: Weird problems with BIND 8.3.1-REL Message-ID: <20020622180059.A20405@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Doug Barton , Matthew Dillon , hackers@FreeBSD.ORG References: <200206221814.g5MIEggO074081@apollo.backplane.com> <3D14F193.8551837E@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D14F193.8551837E@FreeBSD.org>; from DougB@FreeBSD.org on Sat, Jun 22, 2002 at 02:52:19PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 22, 2002 at 02:52:19PM -0700, Doug Barton wrote: > > version in the tree appears to be 8.3.2-T1B (which I just installed > > a second ago). > > I just updated the bind8 port to 8.3.2-RELEASE, which I recommend that > you run instead. I saw some weird problems with the pre-release versions Any reason to not import that version into /usr/src/contrib/bind? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 19:28: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3444F37B400 for ; Sat, 22 Jun 2002 19:28:06 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g5N2S3P8021230; Sat, 22 Jun 2002 19:28:03 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.4/8.12.3/Submit) id g5N2S3BM021229; Sat, 22 Jun 2002 19:28:03 -0700 (PDT) Date: Sat, 22 Jun 2002 19:28:03 -0700 From: "David O'Brien" To: Matt Simerson Cc: hackers@freebsd.org, Dan Ellard Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Message-ID: <20020622192803.B20405@dragon.nuxi.com> Reply-To: freebsd-hackers@freebsd.org Mail-Followup-To: David O'Brien , Matt Simerson , hackers@freebsd.org, Dan Ellard References: <3D129A60.99AA2608@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from freebsd@blockads.com on Fri, Jun 21, 2002 at 09:57:55AM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 21, 2002 at 09:57:55AM -0400, Matt Simerson wrote: > FreeBSD has very solid NFS code in addition to being a very robust, > versatile, and downright fun operating system. It's very easy to do > everything I want to with FreeBSD. It's NFS is missing locking support > but it's very fast and works very well with FreeBSD and Mac OS X > clients. I haven't used it with anything else. Actually Matt Jacob has some NFS testsuites that makes FreeBSD servers blow chunks. Solaris still is the most robust NFS server of the general purpose UNIXes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 19:34:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 4C60937B401; Sat, 22 Jun 2002 19:34:30 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY5009DU0HHKN@mtaout04.icomcast.net>; Sat, 22 Jun 2002 22:34:29 -0400 (EDT) Date: Sat, 22 Jun 2002 21:34:28 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? In-reply-to: <20020622192803.B20405@dragon.nuxi.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: freebsd-hackers@freebsd.org Cc: Matt Simerson , hackers@freebsd.org, Dan Ellard Message-id: <20020622213320.J3524-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, David O'Brien wrote: >Actually Matt Jacob has some NFS testsuites that makes FreeBSD servers >blow chunks. Solaris still is the most robust NFS server of the general >purpose UNIXes. I'm quite happy with the performance of my SGI machines as NFS servers. They're quite robust in my experience. I'd love to find some time to beat up on them a bit and compare my results to Slowlaris and FreeBSD. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 19:34:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 4C60937B401; Sat, 22 Jun 2002 19:34:30 -0700 (PDT) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GY5009DU0HHKN@mtaout04.icomcast.net>; Sat, 22 Jun 2002 22:34:29 -0400 (EDT) Date: Sat, 22 Jun 2002 21:34:28 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? In-reply-to: <20020622192803.B20405@dragon.nuxi.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: freebsd-hackers@freebsd.org Cc: Matt Simerson , hackers@freebsd.org, Dan Ellard Message-id: <20020622213320.J3524-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, David O'Brien wrote: >Actually Matt Jacob has some NFS testsuites that makes FreeBSD servers >blow chunks. Solaris still is the most robust NFS server of the general >purpose UNIXes. I'm quite happy with the performance of my SGI machines as NFS servers. They're quite robust in my experience. I'd love to find some time to beat up on them a bit and compare my results to Slowlaris and FreeBSD. Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 20: 4: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.ust.hk (mx2.ust.hk [143.89.14.128]) by hub.freebsd.org (Postfix) with ESMTP id 2486D37B404 for ; Sat, 22 Jun 2002 20:03:55 -0700 (PDT) Received: from ccsu13.ust.hk (ccsu13.ust.hk [143.89.103.42]) by mx2.ust.hk (8.12.2/8.12.2) with ESMTP id g5N33qhA010219 for ; Sun, 23 Jun 2002 11:03:53 +0800 (HKT) Received: (from ccyflai@localhost) by ccsu13.ust.hk (8.11.6+Sun/8.11.6) id g5N340211478 for freebsd-hackers@freebsd.org; Sun, 23 Jun 2002 11:04:00 +0800 (CST) Date: Sun, 23 Jun 2002 11:04:00 +0800 From: Lai Yiu Fai To: freebsd-hackers@freebsd.org Subject: bge driver not working in Dell 2650 Message-ID: <20020623030400.GH11408@ccsu13.ust.hk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anyone get the Broadcom BCM5701 gigibit ethernet working on new Dell 2650? I noted it has been fixed in latest STABLE branch from freebsd-hacker list. http://www.geocrawler.com/mail/thread.php3?subject=Broadcom+BCM5701+GigE+Ethernet+problems%3F%3F&list=159 I grabed the latest -STABLE branch but it still doesn't work for the Dell 2650. Any clues? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 20:48: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by hub.freebsd.org (Postfix) with ESMTP id 488EC37B400; Sat, 22 Jun 2002 20:48:05 -0700 (PDT) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id 169BA8B5A5; Sat, 22 Jun 2002 20:48:04 -0700 (PDT) Message-ID: <3D1544F3.1E5A92C0@FreeBSD.org> Date: Sat, 22 Jun 2002 20:48:03 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.org Cc: Matthew Dillon , hackers@FreeBSD.org, nectar@FreeBSD.org Subject: Re: Weird problems with BIND 8.3.1-REL References: <200206221814.g5MIEggO074081@apollo.backplane.com> <3D14F193.8551837E@FreeBSD.org> <20020622180059.A20405@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Sat, Jun 22, 2002 at 02:52:19PM -0700, Doug Barton wrote: > > > version in the tree appears to be 8.3.2-T1B (which I just installed > > > a second ago). > > > > I just updated the bind8 port to 8.3.2-RELEASE, which I recommend that > > you run instead. I saw some weird problems with the pre-release versions > > Any reason to not import that version into /usr/src/contrib/bind? I'm actually working on that, but there are a few bogons I need to clean up first. -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 21:22:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 083CE37B40A; Sat, 22 Jun 2002 21:22:45 -0700 (PDT) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g5N4Mhi8029440; Sun, 23 Jun 2002 00:22:43 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020622192803.B20405@dragon.nuxi.com> References: <3D129A60.99AA2608@mindspring.com> <20020622192803.B20405@dragon.nuxi.com> Date: Sun, 23 Jun 2002 00:22:42 -0400 To: freebsd-hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Cc: hackers@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:28 PM -0700 6/22/02, David O'Brien wrote: >Actually Matt Jacob has some NFS testsuites that makes >FreeBSD servers blow chunks. Is that still true, after the fixes to the bugs found by the NFS-exerciser program we picked up from Apple? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 21:22:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 083CE37B40A; Sat, 22 Jun 2002 21:22:45 -0700 (PDT) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g5N4Mhi8029440; Sun, 23 Jun 2002 00:22:43 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020622192803.B20405@dragon.nuxi.com> References: <3D129A60.99AA2608@mindspring.com> <20020622192803.B20405@dragon.nuxi.com> Date: Sun, 23 Jun 2002 00:22:42 -0400 To: freebsd-hackers@FreeBSD.ORG From: Garance A Drosihn Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Cc: hackers@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:28 PM -0700 6/22/02, David O'Brien wrote: >Actually Matt Jacob has some NFS testsuites that makes >FreeBSD servers blow chunks. Is that still true, after the fixes to the bugs found by the NFS-exerciser program we picked up from Apple? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 21:32:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by hub.freebsd.org (Postfix) with SMTP id 0AD9037B400 for ; Sat, 22 Jun 2002 21:32:56 -0700 (PDT) Received: (qmail 28602 invoked by uid 417); 23 Jun 2002 04:32:50 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 23 Jun 2002 04:32:50 -0000 Received: from unknown ([216.194.4.199]) (AUTH: LOGIN yid@softhome.net) by softhome.net with esmtp; Sat, 22 Jun 2002 22:32:48 -0600 Date: Sun, 23 Jun 2002 00:30:14 -0400 From: Joshua Lee To: Terry Lambert Cc: root@utility.clubscholarship.com, freebsd-hackers@freebsd.org Subject: Re: inuring FreeBSD to the apache bug without upgrading apache ? Message-Id: <20020623003014.1575c491.yid@softhome.net> In-Reply-To: <3D129688.356A87D0@mindspring.com> References: <20020620141424.U68572-100000@utility.clubscholarship.com> <3D129688.356A87D0@mindspring.com> Organization: Plan B Software Labs X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002 19:59:20 -0700 Terry Lambert wrote: > Patrick Thomas wrote: > > Is it possible to patch/recompile FreeBSD 4.5 in such a way that your > > system is no longer vulnerable to the "chunking" attack, even if you are > > still running a vulnerable apache ? > > Not FreeBSD, but it's possible to reconfigure Apache. > > The way you would deal with this would be to tell Apache that it > was an HTTP 1.0 server, since chunking is an HTTP 1.1 feature. I've found a better solution! On today's freshports there is something called mod_blowchunks :-) If installed, it will reject chunking and log it. This is an alternative to upgrading Apache. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 22:24: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id AC65037B400; Sat, 22 Jun 2002 22:23:59 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 7F32EAE160; Sat, 22 Jun 2002 22:23:59 -0700 (PDT) Date: Sat, 22 Jun 2002 22:23:59 -0700 From: Alfred Perlstein To: freebsd-hackers@freebsd.org Cc: Matt Simerson , hackers@freebsd.org, Dan Ellard Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Message-ID: <20020623052359.GJ53232@elvis.mu.org> References: <3D129A60.99AA2608@mindspring.com> <20020622192803.B20405@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020622192803.B20405@dragon.nuxi.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * David O'Brien [020622 19:28] wrote: > On Fri, Jun 21, 2002 at 09:57:55AM -0400, Matt Simerson wrote: > > FreeBSD has very solid NFS code in addition to being a very robust, > > versatile, and downright fun operating system. It's very easy to do > > everything I want to with FreeBSD. It's NFS is missing locking support > > but it's very fast and works very well with FreeBSD and Mac OS X > > clients. I haven't used it with anything else. Actually FreeBSD 5.x should have lockd support. I should know, I ported it from BSD/os. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Jun 22 22:24: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id AC65037B400; Sat, 22 Jun 2002 22:23:59 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 7F32EAE160; Sat, 22 Jun 2002 22:23:59 -0700 (PDT) Date: Sat, 22 Jun 2002 22:23:59 -0700 From: Alfred Perlstein To: freebsd-hackers@freebsd.org Cc: Matt Simerson , hackers@freebsd.org, Dan Ellard Subject: Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD? Message-ID: <20020623052359.GJ53232@elvis.mu.org> References: <3D129A60.99AA2608@mindspring.com> <20020622192803.B20405@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020622192803.B20405@dragon.nuxi.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * David O'Brien [020622 19:28] wrote: > On Fri, Jun 21, 2002 at 09:57:55AM -0400, Matt Simerson wrote: > > FreeBSD has very solid NFS code in addition to being a very robust, > > versatile, and downright fun operating system. It's very easy to do > > everything I want to with FreeBSD. It's NFS is missing locking support > > but it's very fast and works very well with FreeBSD and Mac OS X > > clients. I haven't used it with anything else. Actually FreeBSD 5.x should have lockd support. I should know, I ported it from BSD/os. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message