[9fans] exportfs security question

2009-04-10 Thread Nathaniel W Filardo
Hullo 9fans. Can somebody please explain to my slow mind the purpose of this game in /sys/src/cmd/exportfs/exportfs.c (and the corresponding half in cmd/import.c) and where my thoughts on it derail ? /* exchange random numbers */ srand(truerand()); for(i = 0; i < 4; i++) key[i+1

Re: [9fans] yet another cheapo mips board

2009-04-10 Thread Uriel
Very nice, found it in Europe for ~50 EUR: http://landashop.com/catalog/ubiquiti-routerstation-p-848.html And for a few EUR more you can get the 'Pro' version with four Gigabit Ethernet ports and 256Mb of RAM: http://landashop.com/catalog/ubiquiti-routerstation-p-916.html uriel On Wed, Apr 8, 2

Re: [9fans] yet another cheapo mips board

2009-04-10 Thread Uriel
For 37EUR you can get a more minimalist board: http://landashop.com/catalog/routerboard-rb411-p-73.html Still plenty of power to run Inferno... uriel On Fri, Apr 10, 2009 at 10:59 AM, Uriel wrote: > Very nice, found it in Europe for ~50 EUR: > http://landashop.com/catalog/ubiquiti-routerstation

Re: [9fans] exportfs security question

2009-04-10 Thread Steve Simon
> truerand() returns (at most) 32 bits of entropy, which gets pushed into > srand() and then 32 bits of entropy are read back out... why not just use > truerand() directly? This bit I know, truerand() reads /dev/random (see cons(1)) and can only generate "a few hundred bits per second". rand is

Re: [9fans] exportfs security question

2009-04-10 Thread Mechiel Lukkien
On Fri, Apr 10, 2009 at 07:48:54AM -0400, erik quanstrom wrote: > > We haven't brought up SSL yet, so Eve can read our exchanged random > > numbers... now these values get shoved into SHA-1 (along with the 56 bits of > > entropy from Kn derived from p9any authentication) before being used to make >

Re: [9fans] exportfs security question

2009-04-10 Thread erik quanstrom
> We haven't brought up SSL yet, so Eve can read our exchanged random > numbers... now these values get shoved into SHA-1 (along with the 56 bits of > entropy from Kn derived from p9any authentication) before being used to make > the SSL secrets... but... that doesn't seem to matter much. Eve sees

Re: [9fans] extensions of "interest"

2009-04-10 Thread John P. Cummings
Skip Tavakkolian wrote: ps, the quote is "Simplify, then add lightness" On Thu, Apr 9, 2009 at 3:30 PM, andrey mirtchovski wrote: Is this sarcasm? yes, but not addressed towards Mr. Chapman, bless his cars. glad at least one person caught that. internet is bizarro world.

Re: [9fans] exportfs security question

2009-04-10 Thread Nathaniel W Filardo
On Fri, Apr 10, 2009 at 02:08:25PM +0200, Mechiel Lukkien wrote: > On Fri, Apr 10, 2009 at 07:48:54AM -0400, erik quanstrom wrote: > > > We haven't brought up SSL yet, so Eve can read our exchanged random > > > numbers... now these values get shoved into SHA-1 (along with the 56 bits > > > of > >

Re: [9fans] exportfs security question

2009-04-10 Thread Nathaniel W Filardo
On Fri, Apr 10, 2009 at 11:25:02AM +0100, Steve Simon wrote: > > truerand() returns (at most) 32 bits of entropy, which gets pushed into > > srand() and then 32 bits of entropy are read back out... why not just use > > truerand() directly? > > This bit I know, truerand() reads /dev/random (see con

Re: [9fans] a bit OT, programming style question

2009-04-10 Thread john
Eris Discordia wrote: > And I haven't really ever used Plan 9 or "been into it." The > no-herpes indicator is that strong. New, from 9fans Cinemas, the long-awaited summer blockbuster: "An Unsurprising Truth", starring Eris Discordia And don't forget the upcoming sequel, "Why The Hell Are You Ev

Re: [9fans] a bit OT, programming style question

2009-04-10 Thread J.R. Mauro
On Thu, Apr 9, 2009 at 6:09 PM, Eris Discordia wrote: >> It only starts to balloon once you begin customizing bash. > > Have you customized your bash by aliases as long as tens or hundreds of > lines? Now is it bash's fault you have defined an alias for something that > ought to be a script/progra

Re: [9fans] a bit OT, programming style question

2009-04-10 Thread J.R. Mauro
On Thu, Apr 9, 2009 at 6:34 PM, Eris Discordia wrote: >> this is the "space-shuttle dichotomy."  it's a false one.  it's a >> continuum. its ends are dangerous. > > So somewhere in the middle is the golden mean? I have no objections to that. > *BSD systems very well represent a silver, if not a go

[9fans] noweb and literal programming

2009-04-10 Thread Rudolf Sykora
Hello, I've been thinking about 'well documented programs' and come across the 'noweb' program. Do you have any experience with literal programming and, particularly, noweb? (I noticed at least rsc seems to have played with it back in the year 2000. He programmed some scripts to use the system in

Re: [9fans] noweb and literal programming

2009-04-10 Thread J.R. Mauro
On Fri, Apr 10, 2009 at 6:39 PM, Rudolf Sykora wrote: > Hello, > > I've been thinking about 'well documented programs' and come across > the 'noweb' program. > Do you have any experience with literal programming and, particularly, noweb? > (I noticed at least rsc seems to have played with it back

Re: [9fans] noweb and literal programming

2009-04-10 Thread Chad Brown
I believe that Cweb/Ctangle were `engineering tradeoffs' -- i.e. concessions to the large number of people who didn't care about the theory or the practice of programming and just wanted to use TeX (mostly AMSTeX) on whatever new system their math/physics department happened to buy that yea