Re: [9fans] Itanium

2009-01-08 Thread Christopher
Here's my standard true Itanic story. I know a guy who wrote the sin() intrinsic. His comment: I do not intend to write cos(). I am working on a python ctypes FFI trampoline for IA-64 Windows. I find the processor architecture lovely. I am sorry your friend was turned off by it, but it has a

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread erik quanstrom
arm has virtualization? Some do. ARMs are so cheap ... don't jail things, just get another one. i wasn't aware of that. so for my arm http/ftp server, you suggest one physical cpu for each http/ftp connection? how do i route the connections? - erik

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread Charles Forsyth
i wasn't aware of that [ARM with virtualisation]. it's a little misleading: it's just another option in the ARM set, and fairly recent at that. whatever it is, yours probably hasn't got it, but it can take a little while to work that out.

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread ron minnich
On Thu, Jan 8, 2009 at 5:37 AM, erik quanstrom quans...@quanstro.net wrote: arm has virtualization? Some do. ARMs are so cheap ... don't jail things, just get another one. i wasn't aware of that. so for my arm http/ftp server, you suggest one physical cpu for each http/ftp connection?

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread erik quanstrom
If you want what a jail does, I still think there are better ways on ARM, esp. watching this conversation: - something the equivalent of user mode linux - or run a plan 9 kernel per http, under something like 9vx - or something like lguest or other paravirt support Just looking at all the

[9fans] two quick questions on syscalls

2009-01-08 Thread Roman V. Shaposhnik
Hi! 1. are the ones starting from underscore totally deprecated? 2. what's the use for sysr1? Thanks, Roman.

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread Charles Forsyth
Just looking at all the mods people want for jails, these almost seem like less work. i don't think so: i think it wouldn't be hard for simple changes to address it. it's better than pushing the problem to a lower level that's even less able to solve it well (or really just reintroduces the

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread john
Hi! 1. are the ones starting from underscore totally deprecated? 2. what's the use for sysr1? Thanks, Roman. To answer #2: I found sysr1 useful while fiddling with devtrace, because it's a syscall that does nothing. In addition to providing insights to how long it takes to enter a

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Charles Forsyth
the _ ones allow some old binaries to work (mainly useful these days for ancient things on the dump i suppose); sysr1 is for [kernel] debugging and hasn't got a fixed function.---BeginMessage--- Hi! 1. are the ones starting from underscore totally deprecated? 2. what's the use for sysr1? Thanks,

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread Roman V. Shaposhnik
On Thu, 2009-01-08 at 07:36 -0800, ron minnich wrote: If you want what a jail does, I still think there are better ways on ARM, esp. watching this conversation: - something the equivalent of user mode linux This one sounds like a waste for a system that is so close to supporting proper jailing

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread Roman V. Shaposhnik
On Wed, 2009-01-07 at 08:55 -0800, ron minnich wrote: The underlying assumption of motivation for this discussion is that jailing (or whatever we want to call it) is somehow a good thing. Given that every CPU we care about comes with virtualization hardware, I just can't see the point of jails

Re: [9fans] Itanium

2009-01-08 Thread Bakul Shah
On Thu, 08 Jan 2009 12:09:51 EST ge...@plan9.bell-labs.com wrote: You don't want to use an amd29k (even if you could get one). They look cute on paper but their freeze-mode interrupt handling is a Chinese puzzle and unless you use Ken's compiler (previously called 9c), you're stuck with

Re: [9fans] cheap, low-resolution terminal

2009-01-08 Thread Eris Discordia
[...] Last thing I did before I packed it in was take the superimposed picture and look at it through a green filter. You remember I was always superstitious about the color green when I was a kid? I always wanted to be a pilot on one of the trading scouts? I love green and I admire

Re: [9fans] cheap, low-resolution terminal

2009-01-08 Thread john
[...] Last thing I did before I packed it in was take the superimposed picture and look at it through a green filter. You remember I was always superstitious about the color green when I was a kid? I always wanted to be a pilot on one of the trading scouts? I love green and I

Re: [9fans] RFNOMNT and/or least privilege

2009-01-08 Thread Roman V. Shaposhnik
On Wed, 2009-01-07 at 01:24 -0500, Dave Eckhardt wrote: RFNOMNT, like everything in Plan 9, was put in because someone needed to use it, not as a purely academic exercise in adding features. Here is something which either I've misunderstood or is harder than I'd like. [...] What does

Re: [9fans] RFNOMNT and/or least privilege

2009-01-08 Thread Nathaniel W Filardo
On Thu, Jan 08, 2009 at 07:57:42PM +, Charles Forsyth wrote: It now seems, that if your process has a read/write access to a channel capable of speaking 9P not letting it mount that channel really doesn't accomplish much: whatever messages kernel would send on your behalf, you can send

Re: [9fans] RFNOMNT and/or least privilege

2009-01-08 Thread Charles Forsyth
It now seems, that if your process has a read/write access to a channel capable of speaking 9P not letting it mount that channel really doesn't accomplish much: whatever messages kernel would send on your behalf, you can send directly. note that if a Chan has once been mounted it can no longer

[9fans] dealing with spam

2009-01-08 Thread John Floren
Starting today, my account on my Plan 9 server has been getting tons of free coupons, free Dell XPS, Student loans! spam, apparently from one operator, since every domainname is in the form adjectivenoun.com or nounadjective, like eggnavajo.com, rosydeer.com, etc. It's so annoying that I may shut

Re: [9fans] RFNOMNT and/or least privilege

2009-01-08 Thread Charles Forsyth
i was just pointing it out: i wasn't suggesting that it necessarily added security. (it was a response to the remark that a process could send arbitrary messages; not necessarily.) having said that, i'm not sure it's really a race, more of an ordering restriction: if you mount it before posting,

Re: [9fans] dealing with spam

2009-01-08 Thread erik quanstrom
On Thu Jan 8 14:59:57 EST 2009, slawmas...@gmail.com wrote: Starting today, my account on my Plan 9 server has been getting tons of free coupons, free Dell XPS, Student loans! spam, apparently from one operator, since every domainname is in the form adjectivenoun.com or nounadjective, like

Re: [9fans] dealing with spam

2009-01-08 Thread Francisco J Ballesteros
Quite similar here. Also, use the first MX in DNS as a trap for those that do not use the secondary, as sugested by Geoff, IIRC. On Thu, Jan 8, 2009 at 9:23 PM, erik quanstrom quans...@coraid.com wrote: On Thu Jan 8 14:59:57 EST 2009, slawmas...@gmail.com wrote: Starting today, my account on

Re: [9fans] dealing with spam

2009-01-08 Thread erik quanstrom
On Thu Jan 8 15:28:26 EST 2009, n...@lsub.org wrote: Quite similar here. Also, use the first MX in DNS as a trap for those that do not use the secondary, as sugested by Geoff, IIRC. lots of spammers used to prefer the secondary. this is because it's hard to check email on a secondary

Re: [9fans] dealing with spam

2009-01-08 Thread Steve Simon
I will go with erik on this. I am using the standard smtpd with -D and the greylisting, and also a modified validateserder which probably qualifies as an earlier incarnation of erik's (he sent me the code before nupas was finished and I hacked it a bit). I get 1 or 2 spams a day. I plan to try

Re: [9fans] dealing with spam

2009-01-08 Thread erik quanstrom
I am using the standard smtpd with -D and the greylisting, and also a modified validateserder which probably qualifies as an earlier incarnation of erik's (he sent me the code before nupas was finished and I hacked it a bit). /n/sources/contrib/quanstro/src/nupas/bits/validatesender - erik

Re: [9fans] RFNOMNT and/or least privilege

2009-01-08 Thread Roman V. Shaposhnik
On Thu, 2009-01-08 at 19:57 +, Charles Forsyth wrote: It now seems, that if your process has a read/write access to a channel capable of speaking 9P not letting it mount that channel really doesn't accomplish much: whatever messages kernel would send on your behalf, you can send

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Last time I checked, isn't _brk() still used by libc? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAklmdo8ACgkQuv7AVNQDs+w5mQCfZRYkhc4CKRx/nBXL4tSfMNb4 Zu8An2NDriTCXhUnZJj5CGUd0iH7HzVw =iWJP -END PGP SIGNATURE-

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Charles Forsyth
Last time I checked, isn't _brk() still used by libc? that's brk_, which represents a remarkably persistent bit of history

Re: [9fans] dealing with spam

2009-01-08 Thread Kenji Arisawa
Hello, I am using this one: http://plan9.aichi-u.ac.jp/spamfilter/ which is working quite comfortably for me. Kenji Arisawa On 2009/01/09, at 5:49, erik quanstrom wrote: I am using the standard smtpd with -D and the greylisting, and also a modified validateserder which probably qualifies as

Re: [9fans] directly opening Plan9 devices

2009-01-08 Thread Roman V. Shaposhnik
On Tue, 2009-01-06 at 09:17 -0500, erik quanstrom wrote: i think we can skip the sematic arguments and the questions about rooting. let's go directly to how would you unify the big-n Namespace in a way that's clearly better? At this point: I don't know. :-( The discussion was tremendously

Re: [9fans] Why do we need syspipe() ?

2009-01-08 Thread Roman V. Shaposhnik
On Mon, 2009-01-05 at 11:00 +, roger peppe wrote: i've sometimes thought that the trick used by #d etc could be made more transparent by providing a genuine capability service for fds, in the form of a system call, for instance getfdcap(int fd, char *buf, int len) then instead of

Re: [9fans] Why do we need syspipe() ?

2009-01-08 Thread Roman V. Shaposhnik
On Tue, 2009-01-06 at 18:15 -0500, erik quanstrom wrote: Although in the alternative universe I can see how implementing #X as *channels* capable of 9P messages, could enable things like mounting them on external hosts and letting these hosts manipulate physical devices attached to yours

Re: [9fans] dealing with spam

2009-01-08 Thread erik quanstrom
I am using this one: http://plan9.aichi-u.ac.jp/spamfilter/ which is working quite comfortably for me. i found this bit interesting: Some mail server's IPs are a little different from the IPs obtained using DNS query. For example, I observed Received: from

Re: [9fans] Why do we need syspipe() ?

2009-01-08 Thread erik quanstrom
Although in the alternative universe I can see how implementing #X as *channels* capable of 9P messages, could enable things like mounting them on external hosts and letting these hosts manipulate physical devices attached to yours (I agree that remote mounting of the kernel services,

Re: [9fans] Why do we need syspipe() ?

2009-01-08 Thread Roman V. Shaposhnik
On Thu, 2009-01-08 at 18:48 -0500, erik quanstrom wrote: Although in the alternative universe I can see how implementing #X as *channels* capable of 9P messages, could enable things like mounting them on external hosts and letting these hosts manipulate physical devices attached to