Invalid ipfirewall rule?

2006-01-04 Thread Dan Joumaa
I'm trying to set a rule that will divert all TCP/UDP packets from host X to my divert socket. When I try to set the below firewall rule, setsockopt fails and sets errno to EINVAL. Any ideas? entry->version = IP_FW_CURRENT_API_VERSION; entry->fw_src.s_addr = htonl(host); entry->fw_uar.

A sort-of distributed filesystem

2006-01-04 Thread Ivan Voras
I've threatened several times to make a distributed filesystem (or something like it) using FUSE, so I found the time over the holiday and did it. http://ivoras.sharanet.org/stuff/tdfs-r0.tgz This is a FUSE (userland) filesystem that propagates write requests to a remote daemon, while impleme

Re: mmap() sendfile()

2006-01-04 Thread Igor Sysoev
On Mon, 12 Dec 2005, Mike Silbersack wrote: On Mon, 12 Dec 2005, Cedric Tabary wrote: If it is true, doing a sendfile() on some very big files (even if not keeping the descriptor open after) will kill the cache ? Please help me to understand why this patch ? and the difference between sendfil

Re: kqueue/kevent and directories (Was: Equivalent of POLLERR for kqueue.)

2006-01-04 Thread Igor Sysoev
On Tue, 13 Dec 2005, John-Mark Gurney wrote: Vaclav Haisman wrote this message on Wed, Dec 14, 2005 at 01:12 +0100: On Tue, 13 Dec 2005, Vaclav Haisman wrote: Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I would like to use kqueue/kevent for sockets but error cond

Re: update on running FreeBSD on xen

2006-01-04 Thread Peter Wood
Good Morning Kip et al, The curious can track its status (known bugs, feature plans, release plans, etc.) at: http://www.fsmware.com/xenofreebsd/7.0/STATUS I've been watching this website since just before Christmas and have been somewhat excited by the progress you're making. I'm looking fo