Camellia patch for -current

2006-12-13 Thread Tomoyuki Okazaki
Hi all, NTT is pleased to announce releasing the patch for -current, NTT and I would like to merge to -current, and then MFC to 6-stable. What is Camellia is at http://info.isl.ntt.co.jp/crypt/eng/camellia/intro.html. Three patches are available at below. URL: http://info.isl.ntt.co.jp/crypt/eng

Re: Automatic TCP send and receive socket buffer sizing

2006-12-13 Thread Chris
On 12/12/06, Andre Oppermann <[EMAIL PROTECTED]> wrote: This is a patch adding automatic TCP send and receive socket buffer sizing. Normally the socket buffers are static (either derived from global defaults or set with setsockopt) and do not adapt to real network conditions. Two things happen:

Re: [EMAIL PROTECTED]: some questions about bge(4)]

2006-12-13 Thread MQ
2006/12/12, Oleg Bulyzhin <[EMAIL PROTECTED]>: On Wed, Dec 06, 2006 at 11:54:01AM +0300, Gleb Smirnoff wrote: > Forwarding to net@ list and to Oleg, who has made polling > support for bge(4). > > - Forwarded message from MQ < [EMAIL PROTECTED]> - > > From: MQ <[EMAIL PROTECTED]> > To:

question for TCP gurus (in ipfw)

2006-12-13 Thread Julian Elischer
in the ipfw function send_reject6() we go to great length to calculate the sequence number to put into the ack field of the reject packet.. but it's a RESET we are generating.. do we need to go to all the work of setting the ACK value etc? could we do either of: 1/ not set the ACK bit and jus

Re: Re[6]: mpd pppoe client problems

2006-12-13 Thread Alexei
On Wed, 13 Dec 2006 11:31:03 +0200 (EET) "Artyom Viklenko" <[EMAIL PROTECTED]> wrote: Yeap, you were right. That startup script didn't work out as it should, so ``mpd: [PPPoE] IFACE: Up event'' didn't come. Thats why mpd looked like it hangs. I still can't understand, why that script doesn't wor

Re: ip6_sprintf patch

2006-12-13 Thread Bjoern A. Zeeb
On Tue, 12 Dec 2006, Max Laier wrote: On Tuesday 12 December 2006 13:22, Bjoern A. Zeeb wrote: + } + *cp = digits[*d & 0xf]; + if (zero == 0 || (*cp != '0')) + cp++; This last if is redundant as we check for "(u_int16_t)0" at

Re: Automatic TCP send and receive socket buffer sizing

2006-12-13 Thread Maxim Konovalov
On Wed, 13 Dec 2006, 13:43+0100, Andre Oppermann wrote: > Maxim Konovalov wrote: > > [...] > > > Any tests and test reports are very welcome. > > > > I saw a question asked several times but no answer: what happens with > > the sockets when you explicitly call setsockopt() to set a socket > > buff

Re: Automatic TCP send and receive socket buffer sizing

2006-12-13 Thread Andre Oppermann
Maxim Konovalov wrote: [...] Any tests and test reports are very welcome. I saw a question asked several times but no answer: what happens with the sockets when you explicitly call setsockopt() to set a socket buffer size? Is automatic buffer sizing enabled for them? No. In that case autom

Re: Automatic TCP send and receive socket buffer sizing

2006-12-13 Thread Claudio Jeker
On Wed, Dec 13, 2006 at 02:22:11PM +0300, Maxim Konovalov wrote: > [...] > > Any tests and test reports are very welcome. > > I saw a question asked several times but no answer: what happens with > the sockets when you explicitly call setsockopt() to set a socket > buffer size? Is automatic buffe

Re: Automatic TCP send and receive socket buffer sizing

2006-12-13 Thread Maxim Konovalov
[...] > Any tests and test reports are very welcome. I saw a question asked several times but no answer: what happens with the sockets when you explicitly call setsockopt() to set a socket buffer size? Is automatic buffer sizing enabled for them? -- Maxim Konovalov _

Re[8]: mpd pppoe client problems

2006-12-13 Thread Alexei
Hello, Artyom. 13 декабря 2006 г., 12:31:03 you wrote: > Do you really need to bind them to particular interface? > If you bind, for example, apache to wildcard address 0.0.0.0, > (as in default configuration), > it will work with new interfaces and addresses. > If you use some kind of ip-based

Re: Re[6]: mpd pppoe client problems

2006-12-13 Thread Artyom Viklenko
> Hello, Artyom. > >> Why do you use ipnat and ipfw? May be better to >> use one firewall? ipfilter itself or ipfw with natd >> or ng-nat. > > I used to use ipfw as a firewall.. and natd makes too heavy cpu load. Try to use ipfilter or pf. They do nat in kernel. Or you can use ng_nat with ipfw.

Re[6]: mpd pppoe client problems

2006-12-13 Thread Alexei
Hello, Artyom. 13 декабря 2006 г., 11:25:42 you wrote: > Do you really need all this stuff?.. :/ > I would try to disable this inet-up.sh script at all > and check. It seems that some command in it hangs > and mpd waits for the script to finish and so it can't > be killed by SIGTERM. Ok, I'll tr

Re: Re[4]: mpd pppoe client problems

2006-12-13 Thread Artyom Viklenko
> Hello, Artyom. > > 13 декабря 2006 г., 8:46:24 you wrote: > >> Would you show us content of your inet-up.sh script? >> And output of `netstat -inlb`, `netstat -rna` when mpd >> established connection. > > #!/bin/sh > /etc/rc.d/ipnat restart > /etc/rc.d/ntpd restart > /etc/rc.d/named restart > /