From billtotman at billtotman.com Wed Feb 1 09:13:47 2012 From: billtotman at billtotman.com (Bill Totman) Date: Wed, 1 Feb 2012 09:13:47 -0500 Subject: [nycbug-talk] "Maintainer is embarrased" Message-ID: Hi Talk, I was doing my due diligence this morning by reading 'freebsd-security Digest, Vol 400, Issue 1' and found this gem: "[ Vendor communication ] 2012-01-24 Send vulnerability details to sudo maintainer 2012-01-24 Maintainer is embarrased" and was wondering if anyone has found anything similar they'd care to share. -bt From nikolai at fetissov.org Thu Feb 2 10:26:33 2012 From: nikolai at fetissov.org (Nikolai Fetissov) Date: Thu, 2 Feb 2012 10:26:33 -0500 Subject: [nycbug-talk] February 2012 meeting audio Message-ID: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> Folks, Audio recording of yesterday BSD Networking Topics is online at http://www.fetissov.org/public/nycbug/nycbug-02-01-12.mp3 Cheers, -- Nikolai From ike at blackskyresearch.net Thu Feb 2 14:30:55 2012 From: ike at blackskyresearch.net (Isaac Levy) Date: Thu, 2 Feb 2012 14:30:55 -0500 Subject: [nycbug-talk] February 2012 meeting audio In-Reply-To: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> References: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> Message-ID: <201202021931.q12JV4Ll014860@rs134.luxsci.com> Thanks as always Nikolai! Here's my slides, (Henry's CARP picture is up there too, thanks Henry!): http://blackskyresearch.net/presentations/2012_02_01-nycbug-networking/ Best, .ike On Feb 2, 2012, at 10:26 AM, Nikolai Fetissov wrote: > Folks, > > Audio recording of yesterday BSD Networking Topics is online at > http://www.fetissov.org/public/nycbug/nycbug-02-01-12.mp3 > > Cheers, > -- > Nikolai > > _______________________________________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/mailman/listinfo/talk > From george at ceetonetechnology.com Thu Feb 2 14:49:41 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Thu, 02 Feb 2012 14:49:41 -0500 Subject: [nycbug-talk] February 2012 meeting audio In-Reply-To: <201202021931.q12JV4Ll014860@rs134.luxsci.com> References: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> <201202021931.q12JV4Ll014860@rs134.luxsci.com> Message-ID: <4F2AE8D5.7050800@ceetonetechnology.com> On 02/02/12 14:30, Isaac Levy wrote: > Thanks as always Nikolai! > > Here's my slides, (Henry's CARP picture is up there too, thanks Henry!): > > http://blackskyresearch.net/presentations/2012_02_01-nycbug-networking/ > > Best, > .ike > > > On Feb 2, 2012, at 10:26 AM, Nikolai Fetissov wrote: > >> Folks, >> >> Audio recording of yesterday BSD Networking Topics is online at >> http://www.fetissov.org/public/nycbug/nycbug-02-01-12.mp3 Yup. . .big thanks Nikolai. Here's the links to those two papers I mentioned: Two NYCBUG Links for 20120201 Meeting http://www.dodccrp.org/files/Alberts_Power.pdf http://emergentchaos.com/the-security-principles-of-saltzer-and-schroeder g From gnn at neville-neil.com Thu Feb 2 14:58:31 2012 From: gnn at neville-neil.com (George Neville-Neil) Date: Thu, 2 Feb 2012 14:58:31 -0500 Subject: [nycbug-talk] February 2012 meeting audio In-Reply-To: <4F2AE8D5.7050800@ceetonetechnology.com> References: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> <201202021931.q12JV4Ll014860@rs134.luxsci.com> <4F2AE8D5.7050800@ceetonetechnology.com> Message-ID: <9FE54B80-4624-42BC-B341-982A11ABD101@neville-neil.com> On Feb 2, 2012, at 14:49 , George Rosamond wrote: > On 02/02/12 14:30, Isaac Levy wrote: >> Thanks as always Nikolai! >> >> Here's my slides, (Henry's CARP picture is up there too, thanks Henry!): >> >> http://blackskyresearch.net/presentations/2012_02_01-nycbug-networking/ >> >> Best, >> .ike >> >> >> On Feb 2, 2012, at 10:26 AM, Nikolai Fetissov wrote: >> >>> Folks, >>> >>> Audio recording of yesterday BSD Networking Topics is online at >>> http://www.fetissov.org/public/nycbug/nycbug-02-01-12.mp3 > > Yup. . .big thanks Nikolai. > > Here's the links to those two papers I mentioned: > > Two NYCBUG Links for 20120201 Meeting > > http://www.dodccrp.org/files/Alberts_Power.pdf > > http://emergentchaos.com/the-security-principles-of-saltzer-and-schroeder > Yup, that's the Mike Schroeder I was thinking of last night. Also, if you want a good course in computer security you should read the papers listed here: http://www.cl.cam.ac.uk/teaching/1112/R206/ Most of which are available free, on-line. Best, George From matt at tablethotels.com Thu Feb 2 15:14:08 2012 From: matt at tablethotels.com (Matthew Story) Date: Thu, 2 Feb 2012 15:14:08 -0500 Subject: [nycbug-talk] February 2012 meeting audio In-Reply-To: <4F2AE8D5.7050800@ceetonetechnology.com> References: <7ad3b6125978507e89b9e298a9dce208.squirrel@geekisp.com> <201202021931.q12JV4Ll014860@rs134.luxsci.com> <4F2AE8D5.7050800@ceetonetechnology.com> Message-ID: <45988693-04CA-4570-ABF3-4323BD8A6FF5@tablethotels.com> On Feb 2, 2012, at 2:49 PM, George Rosamond wrote: > On 02/02/12 14:30, Isaac Levy wrote: >> Thanks as always Nikolai! >> >> Here's my slides, (Henry's CARP picture is up there too, thanks Henry!): >> >> http://blackskyresearch.net/presentations/2012_02_01-nycbug-networking/ https://docs.google.com/present/edit?id=0AfDUqFNz2o4eZGhoeDlnY3pfMTY5Zm00OTJ4Zm4 Please report any bugs in the presentation to me ... I'll by a round per bug at the next meeting. From henry95 at gmail.com Tue Feb 7 10:31:09 2012 From: henry95 at gmail.com (Henry M) Date: Tue, 7 Feb 2012 10:31:09 -0500 Subject: [nycbug-talk] FreeBSD 9.0 tuning Message-ID: Hi all, Has anyone come across, or know of any good 9.0 tuning tips/guides? I'm looking for improved sequential reads, (ZFS), and any networking tuning. I'm not sure if 9.0 introduced new compile options or sysctls. Thanks! -Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: From george at ceetonetechnology.com Tue Feb 7 10:34:02 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Tue, 07 Feb 2012 10:34:02 -0500 Subject: [nycbug-talk] FreeBSD 9.0 tuning In-Reply-To: References: Message-ID: <4F31446A.6000307@ceetonetechnology.com> On 02/07/12 10:31, Henry M wrote: > Hi all, > > Has anyone come across, or know of any good 9.0 tuning tips/guides? I'm > looking for improved sequential reads, (ZFS), and any networking tuning. > I'm not sure if 9.0 introduced new compile options or sysctls. > I know the FBSD handbook is sparse on 9 still, but did you check man tuning yet? Assume that was updated as a start. . . g From lists at eitanadler.com Tue Feb 7 10:57:51 2012 From: lists at eitanadler.com (Eitan Adler) Date: Tue, 7 Feb 2012 10:57:51 -0500 Subject: [nycbug-talk] FreeBSD 9.0 tuning In-Reply-To: <4F31446A.6000307@ceetonetechnology.com> References: <4F31446A.6000307@ceetonetechnology.com> Message-ID: On Tue, Feb 7, 2012 at 10:34 AM, George Rosamond wrote: > On 02/07/12 10:31, Henry M wrote: >> >> Hi all, >> >> Has anyone come across, or know of any good 9.0 tuning tips/guides? I'm >> looking for improved sequential reads, (ZFS), and any networking tuning. >> I'm not sure if 9.0 introduced new compile options or sysctls. >> > > I know the FBSD handbook is sparse on 9 still, but did you check man tuning > yet? > > Assume that was updated as a start. . . tuning(7) is very out of date. There is some work to update it being done here: http://wiki.freebsd.org/SystemTuning -- Eitan Adler From ike at blackskyresearch.net Wed Feb 8 09:18:38 2012 From: ike at blackskyresearch.net (Isaac Levy) Date: Wed, 8 Feb 2012 09:18:38 -0500 Subject: [nycbug-talk] FreeBSD 9.0 tuning In-Reply-To: References: <4F31446A.6000307@ceetonetechnology.com> Message-ID: <201202081419.q18EJ48o029287@rs134.luxsci.com> On Feb 7, 2012, at 10:57 AM, Eitan Adler wrote: > On Tue, Feb 7, 2012 at 10:34 AM, George Rosamond > wrote: >> On 02/07/12 10:31, Henry M wrote: >>> >>> Hi all, >>> >>> Has anyone come across, or know of any good 9.0 tuning tips/guides? I'm >>> looking for improved sequential reads, (ZFS), and any networking tuning. >>> I'm not sure if 9.0 introduced new compile options or sysctls. >>> >> >> I know the FBSD handbook is sparse on 9 still, but did you check man tuning >> yet? >> >> Assume that was updated as a start. . . > > tuning(7) is very out of date. There is some work to update it being > done here: http://wiki.freebsd.org/SystemTuning Regarding ZFS, there are so many possibilities, the tuning guide begins here, (a work in progress): http://wiki.freebsd.org/ZFSTuningGuide and I've found extremely useful: http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide Rocket- .ike From george at ceetonetechnology.com Thu Feb 9 12:39:49 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Thu, 09 Feb 2012 12:39:49 -0500 Subject: [nycbug-talk] funny poll Message-ID: <4F3404E5.9090507@ceetonetechnology.com> polldaddy.com/poll/5856622 g From matthewstory at gmail.com Thu Feb 9 12:56:13 2012 From: matthewstory at gmail.com (Matthew Story) Date: Thu, 9 Feb 2012 12:56:13 -0500 Subject: [nycbug-talk] funny poll In-Reply-To: <4F3404E5.9090507@ceetonetechnology.com> References: <4F3404E5.9090507@ceetonetechnology.com> Message-ID: On Thu, Feb 9, 2012 at 12:39 PM, George Rosamond < george at ceetonetechnology.com> wrote: > polldaddy.com/poll/5856622 shell roulette is no fun without sudo ... Click! > > > g > ______________________________**_________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/**mailman/listinfo/talk > -- regards, matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From henry95 at gmail.com Fri Feb 10 12:44:25 2012 From: henry95 at gmail.com (Henry M) Date: Fri, 10 Feb 2012 12:44:25 -0500 Subject: [nycbug-talk] Anyone familiar with relayd Message-ID: Howdy dudes, Does anyone have any experience with relayd as a load balancing tool? I'm looking for a tool that can distribute traffic to multiple backend servers, and able to detect if all backend servers are down, and go to a failover server. I'm curious if relayd has any performance issues, or quirks. Thanks, Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcevoy.pat at gmail.com Fri Feb 10 14:35:52 2012 From: mcevoy.pat at gmail.com (Pat McEvoy) Date: Fri, 10 Feb 2012 14:35:52 -0500 Subject: [nycbug-talk] BSDTV update... Youtube page Message-ID: Just wanted to let you know I am in the process of coping over all the BSDTV videos to YouTube in hopes that they will get better traffic there. I should have the last of the released videos moved over this weekend and then work toward releasing more videos as I get them done. If you would like to check them out or subscribe to the Youtube channel please visit: http://www.youtube.com/user/BSDTVvideos Thank you, Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From george at ceetonetechnology.com Fri Feb 10 14:38:30 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Fri, 10 Feb 2012 14:38:30 -0500 Subject: [nycbug-talk] BSDTV update... Youtube page In-Reply-To: References: Message-ID: <4F357236.5030209@ceetonetechnology.com> On 02/10/12 14:35, Pat McEvoy wrote: > Just wanted to let you know I am in the process of coping over all the > BSDTV videos to YouTube in hopes that they will get better traffic there. > I should have the last of the released videos moved over this weekend and > then work toward releasing more videos as I get them done. > If you would like to check them out or subscribe to the Youtube channel > please visit: http://www.youtube.com/user/BSDTVvideos > Awesome job Patrick. George From akosela at andykosela.com Fri Feb 10 15:40:29 2012 From: akosela at andykosela.com (Andy Kosela) Date: Fri, 10 Feb 2012 21:40:29 +0100 Subject: [nycbug-talk] BSDTV update... Youtube page In-Reply-To: <4F357236.5030209@ceetonetechnology.com> References: <4F357236.5030209@ceetonetechnology.com> Message-ID: On Fri, Feb 10, 2012 at 8:38 PM, George Rosamond wrote: > On 02/10/12 14:35, Pat McEvoy wrote: >> >> Just wanted to let you know I am in the process of coping over all the >> BSDTV videos to YouTube in hopes that they will get better traffic there. >> I should have the last of the released videos moved over this weekend and >> then work toward releasing more videos as I get them done. >> If you would like to check them out or subscribe to the Youtube channel >> please visit: http://www.youtube.com/user/BSDTVvideos >> > > Awesome job Patrick. Yes, but wouldn't it be more convenient to join forces with BSDConferences channel and have *one* central place for BSD related video content? Just my 2 cents, --Andy From mcevoy.pat at gmail.com Fri Feb 10 15:56:50 2012 From: mcevoy.pat at gmail.com (Pat McEvoy) Date: Fri, 10 Feb 2012 15:56:50 -0500 Subject: [nycbug-talk] BSDTV update... Youtube page In-Reply-To: References: <4F357236.5030209@ceetonetechnology.com> Message-ID: On Fri, Feb 10, 2012 at 3:40 PM, Andy Kosela wrote: > On Fri, Feb 10, 2012 at 8:38 PM, George Rosamond > wrote: > > On 02/10/12 14:35, Pat McEvoy wrote: > >> > >> Just wanted to let you know I am in the process of coping over all the > >> BSDTV videos to YouTube in hopes that they will get better traffic > there. > >> I should have the last of the released videos moved over this weekend > and > >> then work toward releasing more videos as I get them done. > >> If you would like to check them out or subscribe to the Youtube channel > >> please visit: http://www.youtube.com/user/BSDTVvideos > >> > > > > Awesome job Patrick. > > Yes, but wouldn't it be more convenient to join forces with > BSDConferences channel and have *one* central place for BSD related > video content? > > Just my 2 cents, > > --Andy > Murray reached out when we started out, but we have not connected in a little while. I will try him again. If you visit the channel, you will see it is subscribed to BSDConferences. > _______________________________________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at tablethotels.com Sat Feb 11 23:21:08 2012 From: matt at tablethotels.com (Matthew Story) Date: Sat, 11 Feb 2012 23:21:08 -0500 Subject: [nycbug-talk] two quick things In-Reply-To: References: <4F05B7C0.40003@ceetonetechnology.com> <20120105170733.GF22658@netmeister.org> <9388A11D-6D65-47BE-84F6-57CF3E1007C3@olivent.com> <9FDA7353-263C-49B8-95C3-9F848CDA8FAD@tablethotels.com> <20120106023959.GL22658@netmeister.org> <65EDDA48-65B7-4825-B353-1C8AF5252603@tablethotels.com> Message-ID: <57DCCD7C-679A-4755-BA75-A119BD125AA1@tablethotels.com> In the interest in not propagating misinformation, I wanted to correct a misstatement in the January talk, and I have made the correlating corrections to the slides. The lack of support for \t (and other \encoded values) was reported to me a few days prior to the talk, I should have looked further into this prior to having made comments in the talk and using: FS=sprintf("%c", 9); Instead of: FS="\t"; While playing around with C's printf recently, I discovered that the lack of support "bug" that was reported to me was really a misunderstanding of where the decoding from \values happens. The reported bug, I'm pretty sure was the result of something like: echo "\t" | awk '{ printf("%s", $1); }' Which will print a literal "\t". Decoding is actually done when a \encoded value occurs in a constant, and is not a feature of printf. If awk encounters a literal "\t" in a stream, or otherwise non-constant, it treats it as a literal \t, not an encoded TAB. This is consistent with C's behavior: #include int main() { static char e[3] = {'\\', 't', '\0'}; return (-1 == printf(e) || -1 == printf("%s", e)); /* show that printf does not decode literal \t in fmt or replace */ } This will generate a warning with clang at compile time (cc doesn't seem to mind that ``e'' is not string literal), but is a good demonstration of the fact that \expansion is not a feature of printf. Anyway, apologies for the misinformation. On Jan 5, 2012, at 10:48 PM, mikel king wrote: > > On Jan 5, 2012, at 10:40 PM, Matthew Story wrote: > >> the useless use of head, reminds me of my favorite quote from The UNIX Programming Environment ... >> >> With these ideas, it might seem sensible to write a program, called head, >> to print the first few lines of each filename argument. But sed 3q (or 10q) >> is so easy to type that we've never felt the need. >> ~ p.124 > > =)) > > Love it thanks for sharing... > > m -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspitzer at gmail.com Sun Feb 12 12:33:47 2012 From: mspitzer at gmail.com (Marc Spitzer) Date: Sun, 12 Feb 2012 12:33:47 -0500 Subject: [nycbug-talk] building a budget freebsd server, any parts reccomendations? Message-ID: Hello all, Building a box and was wondering about parts recommendations for keeping freebsd happy. here is my list: 1: 4 core cpu, idealy with a second socket avalable on the MB 2: 16 gb ram, or more 3: mirrored OS disks 4: zfs raid5, 3 disks for user/production 5: 2u case that can handle some extra disk, I would like it to handle potentially 8 disks 6: misc needed stuff like a motherboard etc. I know that some of you, ok most, know current HW and FreeBSD compatibility better then I do, if possible cost is in the $1000 to $1500 range. thanks, marc -- Freedom is nothing but a chance to be better. --Albert Camus ?The problem with socialism is that eventually you run out of other people's money. --Margaret Thatcher Do the arithmetic or be doomed to talk nonsense. --John McCarthy From george at ceetonetechnology.com Fri Feb 17 11:06:41 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Fri, 17 Feb 2012 11:06:41 -0500 Subject: [nycbug-talk] Digi Xem support on FreeBSD 8.x Message-ID: <4F3E7B11.50009@ceetonetechnology.com> AFAIK, 8.x removed support for the Digi serial console and PCI card (device digi) and it was replaced by misc/dahdi. Anyone have experience with this? I have a Digi Xem, and the BIOS sees it. But nothing shows up in output of pciconf -l or in dmesg. George From george at ceetonetechnology.com Fri Feb 17 11:37:21 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Fri, 17 Feb 2012 11:37:21 -0500 Subject: [nycbug-talk] Digi Xem support on FreeBSD 8.x In-Reply-To: <4F3E7B11.50009@ceetonetechnology.com> References: <4F3E7B11.50009@ceetonetechnology.com> Message-ID: <4F3E8241.7090508@ceetonetechnology.com> On 02/17/12 11:06, George Rosamond wrote: > AFAIK, 8.x removed support for the Digi serial console and PCI card > (device digi) and it was replaced by misc/dahdi. > > Anyone have experience with this? > > I have a Digi Xem, and the BIOS sees it. > > But nothing shows up in output of pciconf -l or in dmesg. And yes, I know that misc/dahdi is for Digium (not Digi) and VOIP stuff. . . but was told by some definitively that it provided support for the Digi Xem with pci card. g From george at ceetonetechnology.com Sat Feb 18 18:26:03 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Sat, 18 Feb 2012 18:26:03 -0500 Subject: [nycbug-talk] call for RAM donation for Mirror box Message-ID: <4F40338B.3070900@ceetonetechnology.com> We are close to having the new mirror box up and running out of the cabinet. We will formally announce when it's ready. We are currently synching for OpenBSD and Dragonfly BSD, with room to spare. We chose those two projects first as FreeBSD is building out a bunch of cabinets at NYI's NJ facility, and NetBSD has a mirror uptown at Columbia U. Once this box is up and operational, we'll look to putting up other projects. While we received some generous hardware donations, an HP DL385 and a fat HP MSA with 250G SATA drives, we need RAM for the D385. The price is steep, about $300 for 4G, according to Crucial.com. The box can take up to 32G, but we'd be more than happy to bring it up to 8G or so. If anyone has DDR PC3200 ECC RAM lying around, let us know at admin at . g From izaac at setec.org Sat Feb 18 20:14:59 2012 From: izaac at setec.org (Izaac) Date: Sat, 18 Feb 2012 20:14:59 -0500 Subject: [nycbug-talk] call for RAM donation for Mirror box In-Reply-To: <4F40338B.3070900@ceetonetechnology.com> References: <4F40338B.3070900@ceetonetechnology.com> Message-ID: <20120219T011350Z@localhost> On Sat, Feb 18, 2012 at 06:26:03PM -0500, George Rosamond wrote: > The box can take up to 32G, but we'd be more than happy to bring it > up to 8G or so. Uhh, why? Did FTP/HTTP/rsync file transfer suddenly become a memory intensive operation while I wasn't looking? -- . ___ ___ . . ___ . \ / |\ |\ \ . _\_ /__ |-\ |-\ \__ From george at ceetonetechnology.com Sat Feb 18 21:29:41 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Sat, 18 Feb 2012 21:29:41 -0500 Subject: [nycbug-talk] call for RAM donation for Mirror box In-Reply-To: <20120219T011350Z@localhost> References: <4F40338B.3070900@ceetonetechnology.com> <20120219T011350Z@localhost> Message-ID: <4F405E95.70009@ceetonetechnology.com> On 02/18/12 20:14, Izaac wrote: > On Sat, Feb 18, 2012 at 06:26:03PM -0500, George Rosamond wrote: >> The box can take up to 32G, but we'd be more than happy to bring it >> up to 8G or so. > > Uhh, why? Did FTP/HTTP/rsync file transfer suddenly become a memory > intensive operation while I wasn't looking? > No. But it affords us the possibility of using the box and storage for other purposes. Besides, we're asking if anyone has it around, we're not asking for cash to buy it. g From ike at blackskyresearch.net Sun Feb 19 00:24:35 2012 From: ike at blackskyresearch.net (Isaac Levy) Date: Sun, 19 Feb 2012 00:24:35 -0500 Subject: [nycbug-talk] call for RAM donation for Mirror box In-Reply-To: <4F405E95.70009@ceetonetechnology.com> References: <4F40338B.3070900@ceetonetechnology.com> <20120219T011350Z@localhost> <4F405E95.70009@ceetonetechnology.com> Message-ID: <201202190525.q1J5P22J017053@rs134.luxsci.com> On Feb 18, 2012, at 9:29 PM, George Rosamond wrote: > On 02/18/12 20:14, Izaac wrote: >> On Sat, Feb 18, 2012 at 06:26:03PM -0500, George Rosamond wrote: >>> The box can take up to 32G, but we'd be more than happy to bring it >>> up to 8G or so. >> >> Uhh, why? Did FTP/HTTP/rsync file transfer suddenly become a memory >> intensive operation while I wasn't looking? >> > > No. But it affords us the possibility of using the box and storage for other purposes. > > Besides, we're asking if anyone has it around, we're not asking for cash to buy it. After having run FreeBSD/cvsup internal mirrors for years, as well as large filesystems, as well as ZFS filesystems, I can definitely think of a ton of great uses for the memory... Even if having 8gb memory means that the disks can hum along using ZFS, the time-saving features for those donating their time to administer the boxes is well worth it. my .02? Best, .ike From george at ceetonetechnology.com Sun Feb 19 08:26:48 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Sun, 19 Feb 2012 08:26:48 -0500 Subject: [nycbug-talk] call for RAM donation for Mirror box In-Reply-To: <201202190525.q1J5P22J017053@rs134.luxsci.com> References: <4F40338B.3070900@ceetonetechnology.com> <20120219T011350Z@localhost> <4F405E95.70009@ceetonetechnology.com> <201202190525.q1J5P22J017053@rs134.luxsci.com> Message-ID: <4F40F898.7080200@ceetonetechnology.com> On 02/19/12 00:24, Isaac Levy wrote: > On Feb 18, 2012, at 9:29 PM, George Rosamond wrote: >> On 02/18/12 20:14, Izaac wrote: >>> On Sat, Feb 18, 2012 at 06:26:03PM -0500, George Rosamond wrote: >>>> The box can take up to 32G, but we'd be more than happy to >>>> bring it up to 8G or so. >>> >>> Uhh, why? Did FTP/HTTP/rsync file transfer suddenly become a >>> memory intensive operation while I wasn't looking? >>> >> >> No. But it affords us the possibility of using the box and storage >> for other purposes. >> >> Besides, we're asking if anyone has it around, we're not asking for >> cash to buy it. > > > After having run FreeBSD/cvsup internal mirrors for years, as well as > large filesystems, as well as ZFS filesystems, I can definitely think > of a ton of great uses for the memory... > > Even if having 8gb memory means that the disks can hum along using > ZFS, the time-saving features for those donating their time to > administer the boxes is well worth it. > > my .02? Oh, yeah. We're using ZFS too. . . that's the reason we do *really* need to be up to 8G. g From george at ceetonetechnology.com Wed Feb 22 21:58:48 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Wed, 22 Feb 2012 21:58:48 -0500 Subject: [nycbug-talk] Friday night get-together Message-ID: <4F45AB68.2060900@ceetonetechnology.com> A bunch of us are getting together Friday night to celebrate two happenings. First, Matt Story, who you may remember gave the AWK meeting in January, had his first two patches accepted into FreeBSD: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=standards/165155 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/165164 He is quite proud and justifiably so, and felt a need to imbibe over the news with some fellow NYCBUG people. Second, it looks like we are going to be announcing our OpenBSD and DragonFly BSD mirrors in the very near future. They are still synching, and we're still waiting on getting official status, and we are excited to finally get this mirror box up. (and yes, we're still looking for 4 more G of RAM, which we'd rather take as a physical donation. Several people offered to pitch in to cover the $300 for 4G, but who wants to pay that much for that little RAM??) If that's not a reason to celebrate, what is? We'll be in the backroom of Suspenders from 630 PM until no later than 1030 PM. All are welcome. No RSVPs or dress codes. g From jpb at jimby.name Thu Feb 23 10:47:56 2012 From: jpb at jimby.name (Jim B.) Date: Thu, 23 Feb 2012 10:47:56 -0500 Subject: [nycbug-talk] Friday night get-together In-Reply-To: <4F45AB68.2060900@ceetonetechnology.com> References: <4F45AB68.2060900@ceetonetechnology.com> Message-ID: <20120223154756.GA6552@jimby.name> * George Rosamond [2012-02-22 21:59]: > A bunch of us are getting together Friday night to celebrate two happenings. > > First, Matt Story, who you may remember gave the AWK meeting in January, > had his first two patches accepted into FreeBSD: > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=standards/165155 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/165164 > > He is quite proud and justifiably so, and felt a need to imbibe over the > news with some fellow NYCBUG people. > > Second, it looks like we are going to be announcing our OpenBSD and > DragonFly BSD mirrors in the very near future. They are still synching, > and we're still waiting on getting official status, and we are excited > to finally get this mirror box up. > > (and yes, we're still looking for 4 more G of RAM, which we'd rather > take as a physical donation. Several people offered to pitch in to > cover the $300 for 4G, but who wants to pay that much for that little RAM??) > > If that's not a reason to celebrate, what is? > > We'll be in the backroom of Suspenders from 630 PM until no later than > 1030 PM. > > All are welcome. No RSVPs or dress codes. > oh man... wish i could be there. jim b. From ike at blackskyresearch.net Thu Feb 23 16:05:32 2012 From: ike at blackskyresearch.net (Isaac Levy) Date: Thu, 23 Feb 2012 16:05:32 -0500 Subject: [nycbug-talk] Fun CTF Distraction Message-ID: <201202232106.q1NL65q0016161@rs134.luxsci.com> Hi All, A fun distraction, (more fun than the great weather?) A SF based web service put up a really nifty Capture The Flag: https://stripe.com/blog/capture-the-flag Shout if you beat it, (but don't spoil it with the answers!) Looks like it's parttialy recruiting/advertsing stunt, but who cares, it's pretty darned fun? A few of us in my office are stuck on level3, (exploiting a setuid binary). Fun part: all the bits are there to do this, including C source code for the app, etc? Rocket- .ike From akosela at andykosela.com Fri Feb 24 11:20:12 2012 From: akosela at andykosela.com (Andy Kosela) Date: Fri, 24 Feb 2012 17:20:12 +0100 Subject: [nycbug-talk] Fun CTF Distraction In-Reply-To: <201202232106.q1NL65q0016161@rs134.luxsci.com> References: <201202232106.q1NL65q0016161@rs134.luxsci.com> Message-ID: On Thu, Feb 23, 2012 at 10:05 PM, Isaac Levy wrote: > Hi All, > > A fun distraction, (more fun than the great weather?) > > A SF based web service put up a really nifty Capture The Flag: > > ?https://stripe.com/blog/capture-the-flag > > Shout if you beat it, (but don't spoil it with the answers!) > > Looks like it's parttialy recruiting/advertsing stunt, but who cares, it's pretty darned fun? > A few of us in my office are stuck on level3, (exploiting a setuid binary). > > Fun part: all the bits are there to do this, including C source code for the app, etc? > > Rocket- > .ike Yes, nice stuff. Level 01 (PATH), and level 02 (PHP) are real easy, but the real fun begins at level 03 and up :) --Andy From george at ceetonetechnology.com Tue Feb 28 08:56:57 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Tue, 28 Feb 2012 08:56:57 -0500 Subject: [nycbug-talk] NetBSD on ARM Message-ID: <4F4CDD29.5020104@ceetonetechnology.com> From Hubert's blog: http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20120212_1535.html It's this: http://friendlyarm.net/products/mini2440 There's so much activity around ARM. . . we need to have a meeting on porting to it. Anyone? Especially with the Raspberry PI being released. g From zippy1981 at gmail.com Tue Feb 28 09:38:22 2012 From: zippy1981 at gmail.com (Justin Dearing) Date: Tue, 28 Feb 2012 09:38:22 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4CDD29.5020104@ceetonetechnology.com> References: <4F4CDD29.5020104@ceetonetechnology.com> Message-ID: On Tue, Feb 28, 2012 at 8:56 AM, George Rosamond < george at ceetonetechnology.com> wrote: > > There's so much activity around ARM. . . we need to have a meeting on > porting to it. Anyone? > > The question is, whats the motivation to port FreeBSD to ARM? Not that I think its a bad idea, but wheres the market for products using FreeBSD on arm? Is someone going to sell netbooks running PC-BSD? Is a hosting provider going to get a few racks of ARM blades for a cloud. Is some university researcher/hacker going to port it just because? Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From akosela at andykosela.com Tue Feb 28 09:53:29 2012 From: akosela at andykosela.com (Andy Kosela) Date: Tue, 28 Feb 2012 15:53:29 +0100 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: References: <4F4CDD29.5020104@ceetonetechnology.com> Message-ID: On Tue, Feb 28, 2012 at 3:38 PM, Justin Dearing wrote: > On Tue, Feb 28, 2012 at 8:56 AM, George Rosamond > wrote: >> >> >> There's so much activity around ARM. . . we need to have a meeting on >> porting to it. ?Anyone? >> > > The question is, whats the motivation to port FreeBSD to ARM? > > Not that I think its a bad idea, but wheres the market for products using > FreeBSD on arm? Is someone going to sell netbooks running PC-BSD? Is a > hosting provider going to get a few racks of ARM blades for a cloud. Is some > university researcher/hacker going to port it just because? Ask them: http://www.semihalf.com They have been porting FreeBSD to ARM for years. The embedded market is blossoming right now -- as a whole it's much more bigger than server and desktop markets combined, ranging from simple commodity appliances to military and spacecraft technologies. FreeBSD like NetBSD before can very well run in those environments, although I think it will be hard to compete there with specialized RTOS systems like VxWorks or QNX. --Andy From pete at nomadlogic.org Tue Feb 28 09:44:10 2012 From: pete at nomadlogic.org (Pete Wright) Date: Tue, 28 Feb 2012 06:44:10 -0800 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: References: <4F4CDD29.5020104@ceetonetechnology.com> Message-ID: <4F4CE83A.8030707@nomadlogic.org> On 2/28/12 6:38 AM, Justin Dearing wrote: > On Tue, Feb 28, 2012 at 8:56 AM, George Rosamond > > > wrote: > > > There's so much activity around ARM. . . we need to have a meeting > on porting to it. Anyone? > > > The question is, whats the motivation to port FreeBSD to ARM? > > Not that I think its a bad idea, but wheres the market for products > using FreeBSD on arm? Is someone going to sell netbooks running > PC-BSD? Is a hosting provider going to get a few racks of ARM blades > for a cloud. Is some university researcher/hacker going to port it > just because? sure to all three. and during the porting to arm FreeBSD may benefit in code that is more portable, and better audited (like Net and Open) along the way :) other use cases off the top of my head: - embedded appliances - manufacturing/control systems - network gear -pete -- Pete Wright pete at nomadlogic.org www.nomadlogic.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From edlinuxguru at gmail.com Tue Feb 28 11:52:05 2012 From: edlinuxguru at gmail.com (Edward Capriolo) Date: Tue, 28 Feb 2012 11:52:05 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4CE83A.8030707@nomadlogic.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <4F4CE83A.8030707@nomadlogic.org> Message-ID: On Tue, Feb 28, 2012 at 9:44 AM, Pete Wright wrote: > On 2/28/12 6:38 AM, Justin Dearing wrote: > > On Tue, Feb 28, 2012 at 8:56 AM, George Rosamond > wrote: >> >> >> There's so much activity around ARM. . . we need to have a meeting on >> porting to it. ?Anyone? >> > > The question is, whats the motivation to port FreeBSD to ARM? > > Not that I think its a bad idea, but wheres the market for products using > FreeBSD on arm? Is someone going to sell netbooks running PC-BSD? Is a > hosting provider going to get a few racks of ARM blades for a cloud. Is some > university researcher/hacker going to port it just because? > > > > sure to all three.? and during the porting to arm FreeBSD may benefit in > code that is more portable, and better audited (like Net and Open) along the > way :) > > other use cases off the top of my head: > - embedded appliances > - manufacturing/control systems > - network gear > > -pete > > -- > Pete Wright > pete at nomadlogic.org > www.nomadlogic.org > > > _______________________________________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/mailman/listinfo/talk > Is a hosting provider going to get a few racks of ARM blades?? Jesse and I used to work in a place that had a cobalt running a mips chip. I always though that machine was pretty awesome. I have always wanted to grid-compute something across an army of low power mips/arm servers. http://blog.milford.io/2011/04/seamicro-is-pretty-sweet-but-i-dont-know-about-it-for-hadoop/ From marco at metm.org Tue Feb 28 12:04:28 2012 From: marco at metm.org (Marco Scoffier) Date: Tue, 28 Feb 2012 12:04:28 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4CDD29.5020104@ceetonetechnology.com> References: <4F4CDD29.5020104@ceetonetechnology.com> Message-ID: <4F4D091C.8060107@metm.org> On 02/28/2012 08:56 AM, George Rosamond wrote: > There's so much activity around ARM. . . we need to have a meeting on > porting to it. Anyone? > Great meeting idea. I'd like to see this. Marco From george at ceetonetechnology.com Tue Feb 28 12:19:58 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Tue, 28 Feb 2012 12:19:58 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4D091C.8060107@metm.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <4F4D091C.8060107@metm.org> Message-ID: <4F4D0CBE.9090006@ceetonetechnology.com> On 02/28/12 12:04, Marco Scoffier wrote: > On 02/28/2012 08:56 AM, George Rosamond wrote: >> There's so much activity around ARM. . . we need to have a meeting on >> porting to it. Anyone? >> > Great meeting idea. I'd like to see this. Yup. . . we've been trying to find someone on ARM (or MIPS) for a while. There is a lot going on with those architectures, and we've never done them justice. Because it's there? Since it is many times larger in install base than i386 and amd64 combined? I'm not sure what Justin means about 'motivation' though. I know that he's not being facetious :) How about this: http://blog.pfsense.org/?p=625 Much cheaper stuff available than i386 embedded stuff like Soekris or Alix (as much as I love them). And low power requirements. The Raspberry PI's are coming out in the next day or so, as I mentioned initially. What a nice cheap platform for sooo many purposes. I mean, $35 and you could use an SD card for storage? Not to mention cell phones. Of course, the issue, AFAIK, is that each ARM chipset needs a different architectural port. It's not like i386 which could work on quad core (if you wanted) and also Alix boards. g From okan at demirmen.com Tue Feb 28 12:22:05 2012 From: okan at demirmen.com (Okan Demirmen) Date: Tue, 28 Feb 2012 12:22:05 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4CDD29.5020104@ceetonetechnology.com> References: <4F4CDD29.5020104@ceetonetechnology.com> Message-ID: <20120228172205.GQ16026@clam.khaoz.org> On Tue 2012.02.28 at 08:56 -0500, George Rosamond wrote: > From Hubert's blog: > > http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20120212_1535.html > > It's this: > > http://friendlyarm.net/products/mini2440 > > There's so much activity around ARM. . . we need to have a meeting > on porting to it. Anyone? > > Especially with the Raspberry PI being released. Especially for those projects who sign NDA's. From marco at metm.org Tue Feb 28 13:55:14 2012 From: marco at metm.org (Marco Scoffier) Date: Tue, 28 Feb 2012 13:55:14 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <20120228172205.GQ16026@clam.khaoz.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <20120228172205.GQ16026@clam.khaoz.org> Message-ID: <4F4D2312.9070103@metm.org> On 02/28/2012 12:22 PM, Okan Demirmen wrote: >> > Especially with the Raspberry PI being released. > Especially for those projects who sign NDA's. Not following this thread. What's the Raspberry PI? Thanks, Marco From marco at metm.org Tue Feb 28 13:54:06 2012 From: marco at metm.org (Marco Scoffier) Date: Tue, 28 Feb 2012 13:54:06 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4D0CBE.9090006@ceetonetechnology.com> References: <4F4CDD29.5020104@ceetonetechnology.com> <4F4D091C.8060107@metm.org> <4F4D0CBE.9090006@ceetonetechnology.com> Message-ID: <4F4D22CE.6060703@metm.org> On 02/28/2012 12:19 PM, George Rosamond wrote: > On 02/28/12 12:04, Marco Scoffier wrote: >> On 02/28/2012 08:56 AM, George Rosamond wrote: > > There is a lot going on with those architectures, and we've never done > them justice. We've just started playing with these: http://beagleboard.org/ and http://pandaboard.org/ which are more powerful and more expensive than the friendlyARM which you posted. I'd love some installation and tuning tricks with a BSD. Marco From marco at metm.org Tue Feb 28 13:57:37 2012 From: marco at metm.org (Marco Scoffier) Date: Tue, 28 Feb 2012 13:57:37 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <20120228172205.GQ16026@clam.khaoz.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <20120228172205.GQ16026@clam.khaoz.org> Message-ID: <4F4D23A1.3060307@metm.org> On 02/28/2012 12:22 PM, Okan Demirmen wrote: >> > Especially with the Raspberry PI being released. > Especially for those projects who sign NDA's. Sorry just googled raspberry pi. NDA's is just a huge hidden market? From george at ceetonetechnology.com Tue Feb 28 14:17:17 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Tue, 28 Feb 2012 14:17:17 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4D23A1.3060307@metm.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <20120228172205.GQ16026@clam.khaoz.org> <4F4D23A1.3060307@metm.org> Message-ID: <4F4D283D.8030902@ceetonetechnology.com> On 02/28/12 13:57, Marco Scoffier wrote: > On 02/28/2012 12:22 PM, Okan Demirmen wrote: >>> > Especially with the Raspberry PI being released. >> Especially for those projects who sign NDA's. > > Sorry just googled raspberry pi. NDA's is just a huge hidden market? Yes, cool cheap hardware. Okan was unclear, agree. Not sure what he's referring to with NDAs exactly. Linux? FBSD? Please elaborate Okan. g From okan at demirmen.com Tue Feb 28 14:22:59 2012 From: okan at demirmen.com (Okan Demirmen) Date: Tue, 28 Feb 2012 14:22:59 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <4F4D283D.8030902@ceetonetechnology.com> References: <4F4CDD29.5020104@ceetonetechnology.com> <20120228172205.GQ16026@clam.khaoz.org> <4F4D23A1.3060307@metm.org> <4F4D283D.8030902@ceetonetechnology.com> Message-ID: <20120228192259.GR16026@clam.khaoz.org> On Tue 2012.02.28 at 14:17 -0500, George Rosamond wrote: > On 02/28/12 13:57, Marco Scoffier wrote: > >On 02/28/2012 12:22 PM, Okan Demirmen wrote: > >>>> Especially with the Raspberry PI being released. > >>Especially for those projects who sign NDA's. > > > >Sorry just googled raspberry pi. NDA's is just a huge hidden market? > > Yes, cool cheap hardware. > > Okan was unclear, agree. > > Not sure what he's referring to with NDAs exactly. Linux? FBSD? Unless Broadcom has come out and made a complete 180 from their stance on everything else in the past few weeks, one will require an NDA to get hardware documentation; and I recall reading about a binary blob (maybe for the GPU), but I stopped reading at that point so my memory might be fuzzy. Has something changed since the beginning of the year (2012) with RaspberryPI and Broadcom? I'm not interested enough to look myself, so anyone who is curious may want to themselves :) Cheers, Okan From george at ceetonetechnology.com Tue Feb 28 14:34:19 2012 From: george at ceetonetechnology.com (George Rosamond) Date: Tue, 28 Feb 2012 14:34:19 -0500 Subject: [nycbug-talk] NetBSD on ARM In-Reply-To: <20120228192259.GR16026@clam.khaoz.org> References: <4F4CDD29.5020104@ceetonetechnology.com> <20120228172205.GQ16026@clam.khaoz.org> <4F4D23A1.3060307@metm.org> <4F4D283D.8030902@ceetonetechnology.com> <20120228192259.GR16026@clam.khaoz.org> Message-ID: <4F4D2C3B.80703@ceetonetechnology.com> On 02/28/12 14:22, Okan Demirmen wrote: > On Tue 2012.02.28 at 14:17 -0500, George Rosamond wrote: >> On 02/28/12 13:57, Marco Scoffier wrote: >>> On 02/28/2012 12:22 PM, Okan Demirmen wrote: >>>>>> Especially with the Raspberry PI being released. >>>> Especially for those projects who sign NDA's. >>> >>> Sorry just googled raspberry pi. NDA's is just a huge hidden market? >> >> Yes, cool cheap hardware. >> >> Okan was unclear, agree. >> >> Not sure what he's referring to with NDAs exactly. Linux? FBSD? > > Unless Broadcom has come out and made a complete 180 from their stance > on everything else in the past few weeks, one will require an NDA to get > hardware documentation; and I recall reading about a binary blob (maybe > for the GPU), but I stopped reading at that point so my memory might be > fuzzy. > > Has something changed since the beginning of the year (2012) with > RaspberryPI and Broadcom? I'm not interested enough to look myself, so > anyone who is curious may want to themselves :) > There. That was better :) I do believe that certain Broadcom NICs, eg, have been reverse engineered without NDAs. I think that's the case with the bwi drivers used by DFly and OpenBSD, at least. But I don't know about anyone do RE on GPUs. . . Oh, the irony of NDAs with cheap hardware meant for school-aged kids meant to learn. g From ike at blackskyresearch.net Tue Feb 28 16:57:35 2012 From: ike at blackskyresearch.net (Isaac Levy) Date: Tue, 28 Feb 2012 16:57:35 -0500 Subject: [nycbug-talk] my sysctl quest Message-ID: <201202282158.q1SLw3x4029485@rs139.luxsci.com> Hi All, In the spirit of the dmesg db, I need your sysctls! Off-list, just send me the output from: # sysctl -oa ; echo '--' ; dmesg Or, if your host has local mail facility: # echo "`sysctl -oa ; echo '--' ; dmesg`" | mail -s "ike sysctl quest" ike at blackskyresearch.net -- Why do I want sysctl dumps?!? Recently, I was reminded of how many times we've discussed sysctl documentation (and the lack thereof). (e.g. commonly, 'is FOO.sysctl in bits or bytes?' 'is that bootonly, or runtime-configurable?' etc...) Some other people have had this thought too: http://wiki.freebsd.org/IdeasPage#Document_all_sysctls I'm diving into this project. -- Why I want your sysctls? I'm finding there's particular differences in architectures, hardware drivers, defaults which are different for different hardware resources, etc? I want to get an idea of the possible variance right up front, so, as many sysctl dumps as possible, from as many places as possible. Again, just send me the output from: # sysctl -oa ; echo '--' ; dmesg WARNING: you may divulge systems information which you don't want to, if so, don't send the sysctl at all! (After all, I am just some dude on a list!) Your sysctl info/values could eventually end up in public view, or shared with other developers. If so I'll do my best to anonomize the data, but if you have sensitive systems info, just don't send it. -- What I want: I'm focused on FreeBSD, but NetBSD, OpenBSD, DragonFlyBSD, and even dumps from other UNIX'es are quite welcome to me right now. Jailed systems, Xen/VmWare/Etc instances, AWS systems, whatever. Running on an obscure architecture? Running legacy systems? Even better! -- Later, I've got thoughts on what to *do* with the sysctl documentation, some way to collect and maintain docs across projects even. Perhaps a big man page will suffice. Perhaps some utility in the spirit of perror(1) would be more satisfactory. In the meantime, I want to get a good view of how much variance there actually is in sysctls themselves- and for that, I need data! Thanks in advance for any sysctls! Best, .ike From jhellenthal at dataix.net Wed Feb 29 00:21:44 2012 From: jhellenthal at dataix.net (Jason Hellenthal) Date: Wed, 29 Feb 2012 00:21:44 -0500 Subject: [nycbug-talk] my sysctl quest In-Reply-To: <201202282158.q1SLw3x4029485@rs139.luxsci.com> References: <201202282158.q1SLw3x4029485@rs139.luxsci.com> Message-ID: <20120229052144.GA88947@DataIX.net> On Tue, Feb 28, 2012 at 04:57:35PM -0500, Isaac Levy wrote: > Hi All, > Hi. > In the spirit of the dmesg db, I need your sysctls! > > Off-list, just send me the output from: > # sysctl -oa ; echo '--' ; dmesg > > Or, if your host has local mail facility: > # echo "`sysctl -oa ; echo '--' ; dmesg`" | mail -s "ike sysctl quest" ike at blackskyresearch.net > This is a nice idea and all and dont get me wrong, I am not against it, but it would seem more beneficial in creating a structured SYSCTL_DESC which would help in narrowing down what is already there and what is not allowing to focus on given areas of interest. There might already be a way to scope through the code for empty values of where the descriptions have been left out but I just don't know about it. Speaking purely of FreeBSD and sysctl(9): grep -n SYSCTL_ /usr/src/sys/*/* grasp the line numbers and file for further processing and the +- some lines to grab extra context should get you pretty close to what needs to be done. static int sysctl_vm_phys_free(SYSCTL_HANDLER_ARGS); SYSCTL_OID(_vm, OID_AUTO, phys_free, CTLTYPE_STRING | CTLFLAG_RD, NULL, 0, sysctl_vm_phys_free, "A", "Phys Free Info"); Don't forget about "options NO_SYSCTL_DESCR" which would effectively wipe all these out in a running kernel. Anyway after all this these MiBs should be able to be enumerated in a fashion that would yield better results than just recieving random compilations from different systems. Just my opninion. > > -- > Why do I want sysctl dumps?!? > > Recently, I was reminded of how many times we've discussed sysctl documentation (and the lack thereof). > (e.g. commonly, 'is FOO.sysctl in bits or bytes?' 'is that bootonly, or runtime-configurable?' etc...) > > Some other people have had this thought too: > http://wiki.freebsd.org/IdeasPage#Document_all_sysctls > I'm diving into this project. > > -- > Why I want your sysctls? > > I'm finding there's particular differences in architectures, hardware drivers, defaults which are different for different hardware resources, etc? > I want to get an idea of the possible variance right up front, so, as many sysctl dumps as possible, from as many places as possible. > > Again, just send me the output from: > # sysctl -oa ; echo '--' ; dmesg > > WARNING: you may divulge systems information which you don't want to, if so, don't send the sysctl at all! (After all, I am just some dude on a list!) > Your sysctl info/values could eventually end up in public view, or shared with other developers. If so I'll do my best to anonomize the data, but if you have sensitive systems info, just don't send it. > > -- > What I want: > > I'm focused on FreeBSD, but NetBSD, OpenBSD, DragonFlyBSD, and even dumps from other UNIX'es are quite welcome to me right now. Jailed systems, Xen/VmWare/Etc instances, AWS systems, whatever. Running on an obscure architecture? Running legacy systems? Even better! > > -- > Later, I've got thoughts on what to *do* with the sysctl documentation, some way to collect and maintain docs across projects even. > Perhaps a big man page will suffice. Perhaps some utility in the spirit of perror(1) would be more satisfactory. > > In the meantime, I want to get a good view of how much variance there actually is in sysctls themselves- and for that, I need data! > > Thanks in advance for any sysctls! > Good luck on your quest. -- ;s =; -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 455 bytes Desc: not available URL: From henry95 at gmail.com Wed Feb 29 10:24:17 2012 From: henry95 at gmail.com (Henry M) Date: Wed, 29 Feb 2012 10:24:17 -0500 Subject: [nycbug-talk] nifty(1) In-Reply-To: <1324001249-sup-9155@hermes> References: <750FC28E-C033-436B-A17A-052E24C09CF3@tablethotels.com> <201112142314.pBENE3X8002735@rs134.luxsci.com> <7E9045EC-84D0-49AD-9620-49EF73C04F5D@tablethotels.com> <1324001249-sup-9155@hermes> Message-ID: A cool one I came across by accident. A fun way to create a plain text file. Redirect stdout of cat to a file, type your text, then close it with ctrl-d Sample: > $ cat >filename > Hello, Talk > ^D > $ cat filename > Hello, Talk > Regards, -Henry On Thu, Dec 15, 2011 at 9:24 PM, William Baxter wrote: > Excerpts from Matthew Story's message of Thu Dec 15 00:54:24 -0500 2011: > > i believe the most portable version is slightly uglier: > > > > On Dec 14, 2011, at 6:13 PM, Isaac Levy wrote: > > > > > shout() { echo "$0: $*" >&2; } > > > barf() { shout "$*"; exit 111; } > > safe() { ${1+"$@"} || barf "cannot $*"; } > > ^^^^^^^^ this bit is more reliable for sh on Solaris (real > Bourne shell) > > > > Delightful as the topic of Solaris compatibility may be I don't think it's > worth > going that far. The ${1+"$@"} construct is indispensable for > compatibility in > cases when an empty list is legitimate while an unintended empty argument > is > not: > > for ${1+"$@"} > > versus > > for "$@" > > But an empty string and an empty list are both erroneous for safe(). > While the > execution details may vary from shell to shell, I consider it a case of > pilot > error to pass in either an empty argument or no argument to a function that > requires a program. A function cannot ultimately protect the caller from > his > own error. > > Cheers, W. > _______________________________________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthewstory at gmail.com Wed Feb 29 10:31:19 2012 From: matthewstory at gmail.com (Matthew Story) Date: Wed, 29 Feb 2012 10:31:19 -0500 Subject: [nycbug-talk] nifty(1) In-Reply-To: References: <750FC28E-C033-436B-A17A-052E24C09CF3@tablethotels.com> <201112142314.pBENE3X8002735@rs134.luxsci.com> <7E9045EC-84D0-49AD-9620-49EF73C04F5D@tablethotels.com> <1324001249-sup-9155@hermes> Message-ID: On Wed, Feb 29, 2012 at 10:24 AM, Henry M wrote: > A cool one I came across by accident. A fun way to create a plain text > file. Redirect stdout of cat to a file, type your text, then close it with > ctrl-d > sh(1) binds stdin to tty if there is nothing on stdin, e.g.: $ xargs echo hi you guys ^Dhi you guys $ grep foo bar baz foo foo ^D This is also how ed(1) works ... ! Very nifty indeed. > Sample: > >> $ cat >filename >> Hello, Talk >> ^D >> $ cat filename >> Hello, Talk >> > > Regards, > -Henry > > On Thu, Dec 15, 2011 at 9:24 PM, William Baxter < > web-nycbug at superscript.com> wrote: > >> Excerpts from Matthew Story's message of Thu Dec 15 00:54:24 -0500 2011: >> > i believe the most portable version is slightly uglier: >> > >> > On Dec 14, 2011, at 6:13 PM, Isaac Levy wrote: >> > >> > > shout() { echo "$0: $*" >&2; } >> > > barf() { shout "$*"; exit 111; } >> > safe() { ${1+"$@"} || barf "cannot $*"; } >> > ^^^^^^^^ this bit is more reliable for sh on Solaris (real >> Bourne shell) >> > >> >> Delightful as the topic of Solaris compatibility may be I don't think >> it's worth >> going that far. The ${1+"$@"} construct is indispensable for >> compatibility in >> cases when an empty list is legitimate while an unintended empty argument >> is >> not: >> >> for ${1+"$@"} >> >> versus >> >> for "$@" >> >> But an empty string and an empty list are both erroneous for safe(). >> While the >> execution details may vary from shell to shell, I consider it a case of >> pilot >> error to pass in either an empty argument or no argument to a function >> that >> requires a program. A function cannot ultimately protect the caller from >> his >> own error. >> >> Cheers, W. >> _______________________________________________ >> talk mailing list >> talk at lists.nycbug.org >> http://lists.nycbug.org/mailman/listinfo/talk >> > > > _______________________________________________ > talk mailing list > talk at lists.nycbug.org > http://lists.nycbug.org/mailman/listinfo/talk > > -- regards, matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.saad at ymail.com Wed Feb 29 10:57:23 2012 From: mark.saad at ymail.com (Mark Saad) Date: Wed, 29 Feb 2012 10:57:23 -0500 Subject: [nycbug-talk] Minix 3.2 now with more NetBSD Message-ID: All I believe this is on slashdot , in any case this is quite interesting . Minix 3.2 dumped and replaced a bunch of their code for direct ports of netbsd code, and switched to use clang. I didnt know anyone even looked at minix in the last few years . http://wiki.minix3.org/en/MinixReleases https://groups.google.com/group/minix3/browse_thread/thread/2d9beab6384c4dab?pli=1 -- Mark Saad | mark.saad at ymail.com From jpb at jimby.name Wed Feb 29 11:12:51 2012 From: jpb at jimby.name (Jim B.) Date: Wed, 29 Feb 2012 11:12:51 -0500 Subject: [nycbug-talk] DNS abuse Message-ID: <20120229161251.GB28902@jimby.name> Hi All, I've started seeing these: 29-Feb-2012 11:01:30.417 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:30.544 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:30.853 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:30.918 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:31.292 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:31.541 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:31.735 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:31.832 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:32.169 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:32.506 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:32.608 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:32.743 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:33.045 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:33.472 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) 29-Feb-2012 11:01:33.485 client 62.25.72.2#53: query: ripe.net IN ANY +ED (64.147.119.41) Just FYI you might want to filter your DNS servers for a bit. Cheers, Jim B. From okan at demirmen.com Wed Feb 29 11:27:56 2012 From: okan at demirmen.com (Okan Demirmen) Date: Wed, 29 Feb 2012 11:27:56 -0500 Subject: [nycbug-talk] DNS abuse In-Reply-To: <20120229161251.GB28902@jimby.name> References: <20120229161251.GB28902@jimby.name> Message-ID: <20120229162756.GX16026@clam.khaoz.org> speaking of dns abuse...nah, nevermind. From akosela at andykosela.com Wed Feb 29 12:03:32 2012 From: akosela at andykosela.com (Andy Kosela) Date: Wed, 29 Feb 2012 18:03:32 +0100 Subject: [nycbug-talk] Minix 3.2 now with more NetBSD In-Reply-To: References: Message-ID: On Wed, Feb 29, 2012 at 4:57 PM, Mark Saad wrote: > All > ?I believe this is on slashdot , in any case this is quite interesting > . Minix 3.2 dumped and replaced a bunch of their code for > direct ports of netbsd code, and switched to use clang. ? I didnt know > anyone even looked at minix in the last few years . > > > http://wiki.minix3.org/en/MinixReleases > https://groups.google.com/group/minix3/browse_thread/thread/2d9beab6384c4dab?pli=1 Just in case noone has looked through Minix source code in the last few years, Minix 3 has been greatly rewritten in 2005 with the goals to become a serious, production quality UNIX-like operating system with the emphasis on simplicity, reliability and code quality -- things some of us are really missing in today's complex, bloated software world. Its architecture is designed around a microkernel (which is less than 4000 lines of code) and multiple isolated servers running in userspace. Due to its unique design the system is completely self-healing and fault-tolerant. Andrew Tanenbaum has the excellent video presentation about its features: http://www.youtube.com/watch?v=bx3KuE7UjGA With the complete adoption of NetBSD userland and pkgsrc, Minix is becoming more and more BSD-like and is gaining attention from BSD community of developers. We have still a long way to go though. Many userland utilities still need to be ported to the main Minix src tree and there is a great need for people who would offer their help in porting. I will be porting some essential NetBSD utilities and if you feel like contributing to the Project, then you're welcome to help. Let's make Minix a truly *BSD system. --Andy From pete at nomadlogic.org Wed Feb 29 20:58:08 2012 From: pete at nomadlogic.org (Pete Wright) Date: Wed, 29 Feb 2012 17:58:08 -0800 Subject: [nycbug-talk] ansible Message-ID: <20120301015806.GB99561@arp.nomadlogic.org> not *BSD specific - but certainly could be of use for *BSD shops (or any Unix shop frankly): https://github.com/mpdehaan/ansible Michael DeHaan wrote another bit of code called cobbler which I am a big fan of and have used in many places - so I reckon he's got a good track record. I really like his desing principle behind ansible - KISS. seems like a nice alternative to the creaky pdsh and clusterssh scripts I've been using for ages. If I get some time I may try to write a port for freebsd - or get it working on workstation at the least and document it :) -pete -- Pete Wright pete at nomadlogic.org