Date: Mon, 14 Jan 2002 15:40:27 -0800 (PST) From: chk no <chuck@chk.phattydomain.com> To: chkno@dork.com, rizzo@icir.org Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: ip_dummynet.c:"*** OUCH! pipe should have been idle!" Message-ID: <200201142340.g0ENeRq10353@chk.phattydomain.com> In-Reply-To: <20020114145849.A70496@iguana.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Rules 49 & 51 are in place because of my other issue. By setting > > the pipe's queue value to less than 20 slots I can make rule 51 > > count orders of magnitude more packets than rule 49. I was wondering > > if this was standard behavior. The problem seems to dissapear as > > long as I keep the pipe queue large. See -questions for that thread. > > I have an explaination for this. > > When the queue overflows, you get an ENOBUFS error, which natd > detects and handles by retransmitting the packet at a later time > (not a very good idea, I'd say that natd should just drop the packet > in this case. The "fix" might be trapping the ENOBUFS error in > usr/src/sbin/natd.c:FlushPacketBuffer() and returning as if the > transmission was successful). Cool. This was driving me batty until I figured out to leave the queue large. ipfw(8) says to keep it small... > > > > Also, if the problem is easily reproducible, please > > > let me know if you are interested in testing some patches > > > > The OUCH event is not reproduceable. It happened in the middle of > > the night, & has only happened once so far. > > eh, then all i can say is wait and see if it happens again... > in the meantime i will have a closer look at the code. ok. > > > The large port range issue seems more related to ipfw than dummynet, > > i am not sure what is the issue there... do thing work if you > reduce the upper limit to 65534 ? In this case it might just be > a problem with unsigned short comparisons... Bla, it's working fine. I must have been doing something stupid earlier. *Sorry* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201142340.g0ENeRq10353>