Morgan wrote:
A RELENG_6 version (for FreeBSD 6.x) of the patch is here:
http://people.freebsd.org/~andre/tcp_auto_sndbuf-20061116-RELE
NG_6.diff

Just apply this patch and recompile your kernel. It is activated by default.

Downloaded, applied, recompiled, installed and rebooted without any errors.

Good.

I did however add the sysctl variables to my /etc/sysctl.conf just in case.

Unnecessary. ;-)

Be aware that all socket buffer sizing events get logged to syslog under LOG_DEBUG.

Does this mean they will automatically show up in /var/log/debug.log?

Yes, or in /var/log/messages.

This may affect overall system performance and you may want to disable logging to disk of this in syslogd.conf.

I could use some help with the syntax for this... :-)

I'd remove "kern.debug" from the /var/log/messages line and comment
out the /var/log/debug.log line for the time being after you see a
couple of lines with tcp_output: ...

And a final question: Will this feature work regardless of what side
initiates the TCP connection? Or will I have to instruct my ftp-users to use
active mode only when they transfer files to/from my FreeBSD box?

It doesn't matter which side opens the connection.

--
Andre

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to