Re: [9fans] log oversight

2009-03-15 Thread ron minnich
On Sun, Mar 15, 2009 at 8:55 PM, J.R. Mauro wrote: > On Sun, Mar 15, 2009 at 11:18 PM, ron minnich wrote: >> note that those files are append-only. >> >> logs on unix are writeable by everyone: >> [rminn...@panzer ~]$ logger -p kern.err "JUNK" >> [rminn...@panzer ~]$ sudo tail -f /var/log/message

Re: [9fans] log oversight

2009-03-15 Thread Jeff Sickel
ah, not all are append only... cpu% ls -lm /sys/log/httpd/clf [jas] --rw-rw-rw- M 2936 sys sys 0 Mar 15 20:41 /sys/log/httpd/clf As for paranoia--just more proof I need to stop mucking w/ Linux and read more of the Plan 9 docs again. -jas

Re: [9fans] log oversight

2009-03-15 Thread Alex Efros
Hi! On Sun, Mar 15, 2009 at 11:55:39PM -0400, J.R. Mauro wrote: > > logs on unix are writeable by everyone: > > [rminn...@panzer ~]$ logger -p kern.err "JUNK" > > [rminn...@panzer ~]$ sudo tail -f /var/log/messages > This didn't work on my linux box. I actually have: > % ls -l /var/log/messages >

Re: [9fans] log oversight

2009-03-15 Thread Nathaniel W Filardo
On Sun, Mar 15, 2009 at 08:49:50PM -0500, Jeff Sickel wrote: > I've just built out a new Plan 9 cpu/auth server and noticed that others > are able to write to the logs. Is this intentional or just an > oversight? It is intentional, AFAIK. An alternative for the paranoid perhaps would be to ma

Re: [9fans] log oversight

2009-03-15 Thread J.R. Mauro
On Sun, Mar 15, 2009 at 11:18 PM, ron minnich wrote: > note that those files are append-only. > > logs on unix are writeable by everyone: > [rminn...@panzer ~]$ logger -p kern.err "JUNK" > [rminn...@panzer ~]$ sudo tail -f /var/log/messages > > Mar 16 04:15:03 Panzer rminnich: JUNK > This didn't

Re: [9fans] log oversight

2009-03-15 Thread ron minnich
note that those files are append-only. logs on unix are writeable by everyone: [rminn...@panzer ~]$ logger -p kern.err "JUNK" [rminn...@panzer ~]$ sudo tail -f /var/log/messages Mar 16 04:15:03 Panzer rminnich: JUNK ron

Re: [9fans] log oversight

2009-03-15 Thread erik quanstrom
> is it a shortcoming compared to unix world? these logs > are not sacrosanct. > linux typically uses log daemons to do the actual logging. unless they are encrypting all those channels, even from untrusted agents like smtp daemons, i don't know how you provide better security. actually plan 9 h

Re: [9fans] log oversight

2009-03-15 Thread balaji
intentional. if you do a ls -ltm, you will see [none] would have updated smtp*, runq etc... upas/*, others run as none, and well... is it a shortcoming compared to unix world? these logs are not sacrosanct. On Sun, Mar 15, 2009 at 6:49 PM, Jeff Sickel wrote: > I've just built out a new Plan 9 cp

[9fans] log oversight

2009-03-15 Thread Jeff Sickel
I've just built out a new Plan 9 cpu/auth server and noticed that others are able to write to the logs. Is this intentional or just an oversight? cpu% ls -l /sys/log a-rw-rw-rw- M 2936 syssys 0 Aug 3 2007 /sys/log/6in4 a-rw-rw-rw- M 2936 syssys 0 Apr 26 2002 /sy

[9fans] [OT]: Differential Equations computer perfomance

2009-03-15 Thread Fernan Bolando
Hi all http://www.longnow.org/views/essays/articles/ArtFeynman.php This article mentions of Richard Feynman analyzing the performance of the connection machine by formulating a set of partial differential equations. I was wondering if anyone knows of a paper that describes the method? I am hoping

Re: [9fans] alternative port with webfs?

2009-03-15 Thread Mathieu
Ah it seems the tree I was using for 9vx was a bit old indeed. I've just pulled the latest webfs from sources and it's working fine now, thanks a lot. Cheers, Mathieu --- Begin Message --- On Mon, Mar 16, 2009 at 12:18 AM, Mathieu wrote: > Hi all, > > I'm working on something that will use http

Re: [9fans] alternative port with webfs?

2009-03-15 Thread Gorka Guardiola
On Mon, Mar 16, 2009 at 12:18 AM, Mathieu wrote: > Hi all, > > I'm working on something that will use http requests so I figured using > webfs instead of reinventing the wheel might be a good idea, even though > I've been hinted on #plan9 that it's far from perfect. > My first try was to duplicate

[9fans] alternative port with webfs?

2009-03-15 Thread Mathieu
Hi all, I'm working on something that will use http requests so I figured using webfs instead of reinventing the wheel might be a good idea, even though I've been hinted on #plan9 that it's far from perfect. My first try was to duplicate some code from /sys/src/cmd/webfs/webget.c and it seemed tha