Re: Interface security considerations

2007-01-31 Thread Robert Watson
On Mon, 29 Jan 2007, Victor Loureiro Lima wrote: - While I was trying to figure out which process was listening on a certain interfaces an idea for a patch in sys/net/bpf.c functions bpf_open() and bpf_close() that would simply printf(9) the PID (d->bd_pid = td->td_proc->p_pid;) of a process

mpd locking system?

2007-01-31 Thread Alex Povolotsky
Hello! for about 4-5 days, I'm expeirencing heavy troubles with my VPN (mpd) 6.1-RELEASE based server. After some time (minimum 2 seconds, maximum 12 hours) of running MPD with moderate load (about 100-200 clients, CPU not overused), system locks (even keyboard hangs) to reset. Nothing at al

Re: Re[4]: reproducible watchdog timeout in bge

2007-01-31 Thread MQ
2007/1/28, MQ <[EMAIL PROTECTED]>: 2007/1/27, Wishmaster <[EMAIL PROTECTED]>: > > Hello MQ, > > Saturday, January 27, 2007, 5:31:49 PM, you wrote: > > M> I have two boxes with onboard bge, one using 5780, the other > M> 5701. Neither of them has your problem. I think there may be some > M> pro

[PATCH] Broadcast 169.254.0.0/16 ARP replies for RFC 3927 (Zeroconf)

2007-01-31 Thread Bruce M Simpson
I will hold off on committing this pending further feedback. Regards, BMS This patch forces the FreeBSD IPv4 ARP code to broadcast ARP replies for IPv4 link-local addresses, as required by RFC 3927, if and only if the request was destined for the local machine (ie not proxied). The code does no

Forcing 1000FD for bce

2007-01-31 Thread Slawek Zak
Hi, First of all thanks to Doug White for committing SerDes support for bce. I have a question for someone familiar with this driver. I must enforce Gb/Full-duplex before the end of boot. I have IBM BladeCenter chassis which internally uses Nortel 2-3 switches which in turn do not allow for auto

[TEST ATTACHED] Inconsistencies with IP_ONESBCAST and/or IP_SENDSRCADDR

2007-01-31 Thread Bruce M Simpson
Hello, In preparation for tightening up our handling of INADDR_BROADCAST sends, I ran some brief tests today on the network stack with the attached test code. I found some inconsistencies when run against 6.2-RELEASE; 1. IP_ONESBCAST breaks if SO_DONTROUTE is specified. One thing appears to

Re: [TEST ATTACHED] Inconsistencies with IP_ONESBCAST and/or IP_SENDSRCADDR

2007-01-31 Thread Bruce M. Simpson
Thunderbird ate my homework. Reposting. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: [TEST ATTACHED] Inconsistencies with IP_ONESBCAST and/or IP_SENDSRCADDR

2007-01-31 Thread Bruce M. Simpson
Bruce M. Simpson wrote: Thunderbird ate my homework. Reposting. The FreeBSD mailing list server seems to drop my attachments, so I've uploaded it here: http://people.freebsd.org/~bms/dump/broadtest.c Regards, BMS ___ freebsd-net@freebsd.org mailin

fxp(4) checksum (offloading?) errors

2007-01-31 Thread Cédric Jonas
Hi, I get TCP/UDP checksum errors with fxp(4). I noticed it after using Wireshark today: Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by checksum offloading?)] for example. If I understand it more or less correctly, checksum offloading is performed by or with help

Re: fxp(4) checksum (offloading?) errors

2007-01-31 Thread Erik Trulsson
On Wed, Jan 31, 2007 at 09:47:05PM +0100, Cédric Jonas wrote: > Hi, > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > Wireshark today: > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by > checksum offloading?)] > > for example. Is that for inc

Re: fxp(4) checksum (offloading?) errors

2007-01-31 Thread Wesley Shields
On Wed, Jan 31, 2007 at 09:47:05PM +0100, C?dric Jonas wrote: > Hi, > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > Wireshark today: > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by > checksum offloading?)] > > for example. > > If I unders

Re: fxp(4) checksum (offloading?) errors

2007-01-31 Thread Cédric Jonas
On Wed, 31 Jan 2007 22:24:11 +0100 Erik Trulsson <[EMAIL PROTECTED]> wrote: > On Wed, Jan 31, 2007 at 09:47:05PM +0100, Cédric Jonas wrote: > > Hi, > > > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > > Wireshark today: > > > > Checksum: 0xac18 [incorrect, should be

Re: send() returns error even though data is sent, TCP connection still alive

2007-01-31 Thread Garrett Wollman
In article <[EMAIL PROTECTED]>, Jeff Davis <[EMAIL PROTECTED]> wrote: >You should see something like "write failed: host is down" and the >session will terminate. Of course, when ssh exits, the TCP connection >closes. The only way to see that it's still open and active is by >writing (or using) a

Re: send() returns error even though data is sent, TCP connection still alive

2007-01-31 Thread Jeff Davis
On Wed, 2007-01-31 at 15:04 -0500, Garrett Wollman wrote: > In article <[EMAIL PROTECTED]>, > Jeff Davis <[EMAIL PROTECTED]> wrote: > > >You should see something like "write failed: host is down" and the > >session will terminate. Of course, when ssh exits, the TCP connection > >closes. The only

Re: fxp(4) checksum (offloading?) errors

2007-01-31 Thread Erik Trulsson
On Wed, Jan 31, 2007 at 04:25:34PM -0500, Wesley Shields wrote: > On Wed, Jan 31, 2007 at 09:47:05PM +0100, C?dric Jonas wrote: > > Hi, > > > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > > Wireshark today: > > > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe

RFC: net/hoststated port - Host status for server load-balancing

2007-01-31 Thread Florent Thoumie
I took a few minutes to make a port of it after Roman Divacky sent me an initial patchset for it. I made sure that it compiled/installed fine but don't have the chance to test it now. For those who don't know yet about hoststated: hoststated is the host status daemon for server load balancing. It

[PATCH] Zeroconf: avahi-autoipd support for FreeBSD

2007-01-31 Thread Bruce M Simpson
Hello, As you probably all know, I have been endeavouring to do something about the lack of Zeroconf support. Today, I've spent a while hacking out a diff to get Avahi's autoipd to run on FreeBSD: http://people.freebsd.org/~bms/dump/avahi-autoipd.diff Comments and feedback, particularly mo