Re: MPD server not routing

2004-01-20 Thread Andrew Thomas
Gleb, > A> I'm trying to get mpd working as a simple vpn server. I'm doing > A> this on a 4.9-STABLE machine of a week or so ago. No matter what > A> I do, packets will not route to the client. The login is fine, > A> the server machine has gateway enabled=YES (and in fact works OK > > <==skip

if_gif issues

2004-01-20 Thread Kristofer Pettijohn
I'm seeing some weird issues with the gif interface, if someone could enlighten me. This was working fine on 5.1-RELEASE when I was running it, and then I did a clean install of 5.2-RELEASE from CVS, and I'm having some weird things. I have an ipip tunnel setup using gif0 as follows: gif1: flag

Re: tcp mss MCLBYTES restriction

2004-01-20 Thread Andrew Gallatin
David Borman writes: > On the sending side, you'll tend to get your best performance when the > socket buffer is a multiple of the amount of TCP data per packet, and > the users writes are a multiple of the socket buffer. This keeps > everything neatly aligned, minimizing the number of dat

Re: tcp mss MCLBYTES restriction

2004-01-20 Thread David Borman
On the sending side, you'll tend to get your best performance when the socket buffer is a multiple of the amount of TCP data per packet, and the users writes are a multiple of the socket buffer. This keeps everything neatly aligned, minimizing the number of data copies that need to be done, an

Re: tcp mss MCLBYTES restriction

2004-01-20 Thread Andrew Gallatin
Andre Oppermann writes: > When I was implementing the tcp_hostcache I reorganized/redid the > tcp_mss() function and wondered about that too. I don't know if > this rounding to MCLBYTES is still the right thing to do. I have the feeling its something from ancient days on vaxes. ;) > > Would

Re: tcp mss MCLBYTES restriction

2004-01-20 Thread Andre Oppermann
Andrew Gallatin wrote: > > For the case where the mtu is larger than MCLBYTES (2048), FreeBSD's > TCP implementation restricts the mss to a multiple of MCLBYTES. This > appears to have been inherited from 4.4BSD-lite. > > On adapters with 9000 byte jumbo frames, this limits the mss to 8192 > byt

tcp mss MCLBYTES restriction

2004-01-20 Thread Andrew Gallatin
For the case where the mtu is larger than MCLBYTES (2048), FreeBSD's TCP implementation restricts the mss to a multiple of MCLBYTES. This appears to have been inherited from 4.4BSD-lite. On adapters with 9000 byte jumbo frames, this limits the mss to 8192 bytes, and wastes nearly 1KB out of each

Intel em transmit hangs with DMA packet prefetching enabled

2004-01-20 Thread Gerrit Nagelhout
Hi, Recently I turned on the packet prefetching feature (register TXDMAC 0x3000, set DPP to 0). This increases the maximum transmit performance per port by about 50KPPS. Everything worked fine, until one of our applications that sends lots of data with multiple (2 - 3) mbufs per descriptor start

Re: Two ISP lines

2004-01-20 Thread Dinesh Nair
On Mon, 19 Jan 2004, Max Laier wrote: > On Monday 19 January 2004 18:50, Dinesh Nair wrote: > > however, there was a multipath patch for 4-STABLE some months back, > > though for the life of me, i don't know where it's archived anymore. > > > > check -questions archives for this thread. > > take

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Dinesh Nair
On Tue, 20 Jan 2004, Gleb Smirnoff wrote: > Isn't ng_etf(4) the one you need? ng_etf does filtering, i'm planning on doing round robin IP tranmission, with source IP address set accordingly. see ng_one2many which gives an example for ethernet frames. i want to do the same thing in ng_one2many's

Re: Two ISP lines

2004-01-20 Thread Dinesh Nair
On Mon, 19 Jan 2004, Craig Rodrigues wrote: > On Tue, Jan 20, 2004 at 01:50:57AM +0800, Dinesh Nair wrote: > > there was a multipath patch for 4-STABLE some months back, though for the > > life of me, i don't know where it's archived anymore. > > Are you referring to these patches? > > http://lis

Re: mpd 3.15

2004-01-20 Thread Michael Bretterklieber
Hi, On Tue, 20 Jan 2004, Brad Watkins wrote: > I'm having trouble configuring mpd 3.15, > Im trying to create a vpn tunnel to a friends network throguh the internet who is > using windows 2003 at the moment but will be using freebsd and mpd as well. > the vpn will allow incomming connections but

RE: [Freebsd-net] VPN from me to a friend

2004-01-20 Thread Remko Lodder
You can use pptp, isakmpd, racoon, They are all used to do VPN stuff, racoon is a common VPN software package that is in use by FreeBSD. Hope this helped. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene

VPN from me to a friend

2004-01-20 Thread Thomas Storey
Me and a friend want to setup a VPN between our "core" routers using FreeBSD to join our networks together (to a certain extent) Which software will do the job and how do we set it up? Cheers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/

mpd 3.15

2004-01-20 Thread Brad Watkins
I'm having trouble configuring mpd 3.15, Im trying to create a vpn tunnel to a friends network throguh the internet who is using windows 2003 at the moment but will be using freebsd and mpd as well. the vpn will allow incomming connections but not outgoing. i will attach the configuration files be

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Andrew Riabtsev
GS> On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote: A>> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it A>> >> do something but not what you are waiting for, i think. A>> A>> DN> i know, hence was asking if there was something i could do, even if it A>>

Re: timersub/timeradd/timercmp

2004-01-20 Thread Bruce Evans
On Tue, 20 Jan 2004 [EMAIL PROTECTED] wrote: > could anyone let me know why timersub/add/cmp are disabled in the > kernel? They are spelled timevalsub/add/cmp in the kernel. This is a better spelling, since there are several data structures that can represent the time. timersub/add/

Re: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Gleb Smirnoff
On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote: A> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it A> >> do something but not what you are waiting for, i think. A> A> DN> i know, hence was asking if there was something i could do, even if it A> DN> meant

Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

2004-01-20 Thread Andrew Riabtsev
Hi, Dinesh, Monday, January 19, 2004, 8:29:23 PM, you wrote: DN> On Mon, 19 Jan 2004, Andrew Riabtsev wrote: >> DN> connecting the ng_iface hook inet to ng_ether's upper or lower doesnt make >> DN> any sense because ng_ether itself does not do an encasulation of the IP >> DN> packet into an eth

Re: mbuf tuning

2004-01-20 Thread Mike Silbersack
On Mon, 19 Jan 2004, CHOI Junho wrote: > I am using custom version of thttpd. It allocates mmap() first(builtin > method of thttpd), and it try to use sendfile() if mmap() fails(out of > mmap memory). It really works good in normal status but the problem is > that sendfile buffer is also easy to