Re: Recent full disclosure post - Local DOS



On 01/28/2011 07:38 PM, Tom Judge wrote:

This is an IPPROTO_TCP, TCP_NOPUSH with an optval of 0.

Can you try making a far simpler program that just does:

int optval, s;

s = socket(PF_INET, SOCK_STREAM, 0);
if (s< 0)
err(1, "socket");
optval = 0;
if (setsockopt(s, IPPROTO_TCP, TCP_NOPUSH,&optval, sizeof(optval))< 0)
err(1, "setsockopt");

and see if that breaks?

Hi John,

I can't repeat this with the code you sent. I tried this in a while (1)
loop and had 4 instances running without issue.

Tom


FWIW, I can't crash 7.4-RC2 (i386) and 8.2-RC2 (amd64) with either the original or John's code. Tried both as user and root.
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"