getting the rtt in a divert socket

2002-11-23 Thread Alex Newman
I just finnished writing a program which introduces a small random delay on the sending times in tcp to prevent synchronization of windows. I did it with divert sockets and ipfw. The one problem is , I was planning on setting the random delay =RTT(1+x)/cwnd where x is a random number. Current

Re: [brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-23 Thread Nate Lawson
On Sat, 23 Nov 2002, Brooks Davis wrote: > On Tue, Nov 19, 2002 at 02:15:34PM -0800, Nate Lawson wrote: > > On Tue, 19 Nov 2002, Brooks Davis wrote: > > > On Fri, Nov 01, 2002 at 10:54:23AM -0800, Brooks Davis wrote: > > > > I'm trying to get some review for the following patch. I realize it's > >

Re: [FreeBSD PR bin/15416] addr2line broken

2002-11-23 Thread Nate Lawson
It has been closed. On Sat, 23 Nov 2002, [ISO-8859-1] Mikko Työläjärvi wrote: > On Wed, 20 Nov 2002, Joseph Scott wrote: > > > FreeBSD PR bin/15416 (addr2line is unable to find line > > numbers) indicates that addr2line appears to be broken. This PR was > > submitted at the end of 99 when 4

Re: [FreeBSD PR bin/15416] addr2line broken

2002-11-23 Thread Mikko Työläjärvi
On Wed, 20 Nov 2002, Joseph Scott wrote: > FreeBSD PR bin/15416 (addr2line is unable to find line > numbers) indicates that addr2line appears to be broken. This PR was > submitted at the end of 99 when 4.x was -current. It hasn't been touched > since. > > The PR gives a test case whe

Re: [brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-23 Thread Brooks Davis
On Tue, Nov 19, 2002 at 02:15:34PM -0800, Nate Lawson wrote: > On Tue, 19 Nov 2002, Brooks Davis wrote: > > On Fri, Nov 01, 2002 at 10:54:23AM -0800, Brooks Davis wrote: > > > I'm trying to get some review for the following patch. I realize it's > > > quite large, but most it is is trivial. The i

Re: tty/pty devices not safe in jail?

2002-11-23 Thread Alexandr Kovalenko
Hello, Poul-Henning Kamp! On Wed, Nov 13, 2002 at 09:32:29PM +0100, you wrote: > >> There has always been code in kern/tty_pty.c which makes sure that the > >> master and slave have the same prison: > > > >but a jailed user could perform a denial of service by using up all teh ptys.? > > There i

default acl for directory

2002-11-23 Thread Dancho Penev
Greetings, I was played with acl and specially default acl for directories at my FreeBSD-CURRENT machine with UFS2 filesystem and some questions appears to me: 1. How about default acl permission to override umask? Is that the idea who isn't yet implemented or you have opinions against that. 2.