From owner-freebsd-net Sun Mar 5 3: 6:34 2000 Delivered-To: freebsd-net@freebsd.org Received: from binky.de.uu.net (binky.de.uu.net [192.76.144.28]) by hub.freebsd.org (Postfix) with ESMTP id F21FA37B9BE for ; Sun, 5 Mar 2000 03:06:25 -0800 (PST) (envelope-from hartung@zkom.de) Received: from zkom.de (pec-241.au1.do2.uunet.de [149.228.53.241]) by binky.de.uu.net (5.5.5/5.5.5) with ESMTP id MAA28139 for ; Sun, 5 Mar 2000 12:06:24 +0100 (MET) Message-ID: <38C23F61.853FEE66@zkom.de> Date: Sun, 05 Mar 2000 12:05:05 +0100 From: Michael Hartung Organization: ZKOM X-Mailer: Mozilla 4.08 [de] (WinNT; I) MIME-Version: 1.0 To: freebsd-net@FreeBSD.org Subject: Answer keep-alive requests Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Folks, a customers hardware (fucking S7 CP from Siemens) loves to emit keep-alive packets once a TCP-connection is established. No chance to turn this off (Siemens doesn’t care about RFC1122). How can I force our FreeBSD 3.4 system to answer these packets. Probably a switch in /sys/netinet/tcp_timer.c...? Compile the kernel and everything is fine...? Thanks in advance Michael Hartung -- Michael Hartung |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| | ZKOM GmbH | | State Diagnostics Systems | | and Computer Networks | | | | Joseph-von-Fraunhofer Str. 20 | | D-44227 Dortmund | | Germany | | | | E-mail: hartung@zkom.de | | Phone: +49 / (0)231 / 97 00 335 | | Fax: +49 / (0)231 / 97 00 474 | | Mobile: +49 / (0)172 / 88 27 637 | | | | AG Dortmund HRB 12918 | | Managing Director: Dipl.-Ing. Michael Hartung | |_______________________________________________| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 7:15:49 2000 Delivered-To: freebsd-net@freebsd.org Received: from quercus.ifn.fr (mailhost.ifn.fr [62.161.215.67]) by hub.freebsd.org (Postfix) with ESMTP id 4329F37BA20 for ; Sun, 5 Mar 2000 07:15:45 -0800 (PST) (envelope-from rguyom@mail.dotcom.fr) Received: from pingoo.ifn.fr ([192.9.200.33]) by quercus.ifn.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id FLZQQKGV; Sun, 5 Mar 2000 16:15:42 +0100 Received: (from rguyom@localhost) by pingoo.ifn.fr (8.9.3/8.9.3) id QAA22334; Sun, 5 Mar 2000 16:15:41 +0100 Date: Sun, 5 Mar 2000 16:15:40 +0100 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: Michael Hartung Cc: freebsd-net@FreeBSD.ORG Subject: Re: Answer keep-alive requests Message-ID: <20000305161540.A22005@pingoo.ifn.fr> References: <38C23F61.853FEE66@zkom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <38C23F61.853FEE66@zkom.de>; from hartung@zkom.de on Sun, Mar 05, 2000 at 12:05:05PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Mar 05, 2000 at 12:05:05PM +0100, Michael Hartung wrote: > Hi Folks, > > a customers hardware (fucking S7 CP from Siemens) loves to emit > keep-alive packets once a TCP-connection is established. No chance to > turn this off (Siemens doesn’t care about RFC1122). How can I force our > FreeBSD 3.4 system to answer these packets. Probably a switch in > /sys/netinet/tcp_timer.c...? Compile the kernel and everything is > fine...? If I read /usr/src/sys/netinet/tcp* correctly, you shouldn't have to do anything to answer keepalive messages. In fact keepalive messages are just 0 bytes packets which repeat the last ack sent to the peer. There is a few sysctl variables which allow you to customize the rate your system *sends* those keepalive messages, but none to answer them, because the answer is part of the normal TCP processing. Am I right ? :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 9:32:33 2000 Delivered-To: freebsd-net@freebsd.org Received: from binky.de.uu.net (binky.de.uu.net [192.76.144.28]) by hub.freebsd.org (Postfix) with ESMTP id 85AF937BA8B for ; Sun, 5 Mar 2000 09:32:15 -0800 (PST) (envelope-from hartung@zkom.de) Received: from zkom.de (pec-82.au1.do2.uunet.de [149.228.53.82]) by binky.de.uu.net (5.5.5/5.5.5) with ESMTP id SAA14478 for ; Sun, 5 Mar 2000 18:32:09 +0100 (MET) Message-ID: <38C299CA.E3C47051@zkom.de> Date: Sun, 05 Mar 2000 18:30:50 +0100 From: Michael Hartung Organization: ZKOM X-Mailer: Mozilla 4.08 [de] (WinNT; I) MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Re: Answer keep-alive requests References: <38C23F61.853FEE66@zkom.de> <20000305161540.A22005@pingoo.ifn.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rémi Guyomarch schrieb: > On Sun, Mar 05, 2000 at 12:05:05PM +0100, Michael Hartung wrote: > > Hi Folks, > > > > a customers hardware (fucking S7 CP from Siemens) loves to emit > > keep-alive packets once a TCP-connection is established. No chance to > > turn this off (Siemens doesn’t care about RFC1122). How can I force our > > FreeBSD 3.4 system to answer these packets. Probably a switch in > > /sys/netinet/tcp_timer.c...? Compile the kernel and everything is > > fine...? > > If I read /usr/src/sys/netinet/tcp* correctly, you shouldn't have to do > anything to answer keepalive messages. In fact keepalive messages are just 0 > bytes packets which repeat the last ack sent to the peer. > > There is a few sysctl variables which allow you to customize the rate your > system *sends* those keepalive messages, but none to answer them, because > the answer is part of the normal TCP processing. > > Am I right ? :-) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message Hi again, sounds very reasonable. Are the following tcpdumped packets keep-alive packets (Siemens says they are)? 10.64.60.100 – 103 are the Siemens S7 CPs, 10.64.60.104 is our FreeBSD 3.4 server. After a couple of these packets, not replied by 10.64.60.104, the S7 CP resets the connection. The wrong packet length (for example 0028) is a result of ethernet frame padding. Michael Hartung . . . 10:57:15.975984 10.64.60.103.callbook > 10.64.60.104.globe: . win 0 4500 0028 0194 0000 7806 b3ed 0a40 3c67 0a40 3c68 07d0 07d2 0291 2200 07fe 974e 5000 0000 4f16 0000 b6ff ffff 1011 10:57:16.078589 10.64.60.101.callbook > 10.64.60.104.globe: . win 0 4500 0028 02a3 0000 7806 b2e0 0a40 3c65 0a40 3c68 07d0 07d2 0291 21f1 07ff 303f 5000 0000 b635 0000 b6ff ffff 1011 10:57:16.080035 10.64.60.101.dc > 10.64.60.104.globe: . win 0 4500 0028 02a4 0000 7806 b2df 0a40 3c65 0a40 3c68 07d1 07d2 034b a5a8 07ff b1d0 5000 0000 b031 0000 b6ff ffff 1011 10:57:16.080885 10.64.60.100.globe > 10.64.60.104.globe: . win 0 4500 0028 03c3 0000 7806 b1c1 0a40 3c64 0a40 3c68 07d2 07d2 0428 e651 0800 8439 5000 0000 9c41 0000 b6ff ffff 1011 10:57:16.093227 10.64.60.102.callbook > 10.64.60.104.globe: . win 0 4500 0028 0196 0000 7806 b3ec 0a40 3c66 0a40 3c68 07d0 07d2 0291 2200 0801 74b3 5000 0000 71af 0000 b6ff ffff 1011 10:57:18.481166 10.64.60.100.callbook > 10.64.60.104.globe: . 337956829:337956833(4) win 0 4500 002c 03c4 0000 7806 b1bc 0a40 3c64 0a40 3c68 07d0 07d2 1424 cfdd 098e c49c 5000 0000 a9c6 0000 b6ff ffff 1011 10:57:18.482608 10.64.60.100.dc > 10.64.60.104.globe: . 357566179:357566183(4) win 0 4500 002c 03c5 0000 7806 b1bb 0a40 3c64 0a40 3c68 07d1 07d2 1550 06e3 098f b75c 5000 0000 7ed3 0000 b6ff ffff 1011 10:57:34.778487 10.64.60.103.callbook > 10.64.60.104.globe: . 43065856:43065860(4) win 0 4500 002c 0195 0000 7806 b3e8 0a40 3c67 0a40 3c68 07d0 07d2 0291 2200 07fe 974e 5000 0000 9812 0000 b6ff ffff 1011 10:57:34.881053 10.64.60.101.callbook > 10.64.60.104.globe: . 43065841:43065845(4) win 0 4500 002c 02a5 0000 7806 b2da 0a40 3c65 0a40 3c68 07d0 07d2 0291 21f1 07ff 303f 5000 0000 ff31 0000 b6ff ffff 1011 10:57:34.882509 10.64.60.101.dc > 10.64.60.104.globe: . 55289256:55289260(4) win 0 4500 002c 02a6 0000 7806 b2d9 0a40 3c65 0a40 3c68 07d1 07d2 034b a5a8 07ff b1d0 5000 0000 f92d 0000 b6ff ffff 1011 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 10:33:29 2000 Delivered-To: freebsd-net@freebsd.org Received: from quercus.ifn.fr (mailhost.ifn.fr [62.161.215.67]) by hub.freebsd.org (Postfix) with ESMTP id E8A1B37BA6D for ; Sun, 5 Mar 2000 10:33:24 -0800 (PST) (envelope-from rguyom@mail.dotcom.fr) Received: from pingoo.ifn.fr ([192.9.200.33]) by quercus.ifn.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id FLZQQKGY; Sun, 5 Mar 2000 19:33:22 +0100 Received: (from rguyom@localhost) by pingoo.ifn.fr (8.9.3/8.9.3) id TAA24417; Sun, 5 Mar 2000 19:33:18 +0100 Date: Sun, 5 Mar 2000 19:33:17 +0100 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: freebsd-net@FreeBSD.ORG Cc: Jonathan Lemon , jayanth Subject: Re: TCP performance problems, Linux faster than FreeBSD ? Message-ID: <20000305193317.B22005@pingoo.ifn.fr> References: <20000303165052.C23732@pingoo.ifn.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <20000303165052.C23732@pingoo.ifn.fr>; from rguyom@mail.dotcom.fr on Fri, Mar 03, 2000 at 04:50:52PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 03, 2000 at 04:50:52PM +0100, Rémi Guyomarch wrote: > > I have a problem with FreeBSD 3.4-STABLE. When I'm downloading from some > sites I see a large number of duplicate packets comming in. If I download the > same file(s) with a Linux 2.2.14 box, I don't see those duplicate packets. > Well, a lot less I mean. Ok, I think I've found something. I finally got the real difference between the delayed acks implementation in Linux and *BSD stacks. Linux sends an ack when the last non-acked packet is 200ms old, or if there's two or more packets non-acked. *BSD stacks just put a reference to delayed acks packets in a list, queue or something, and read this list every 200 ms. So, Linux use the time of the last non-acked packet as a starting point for the 200ms timer, but *BSD stacks use a fixed 'clock'. This is completely different ! I put an ugly hack in sys/netinet/tcp_timer.c to try to fix the problem. And now I'm getting **way** less duplicate packets. It's not very clear to me why sending fewer acks eliminates the duplicate packet problem. Maybe my 64k leased line isn't really full-duplex (it's physically made of two wires, so it can't be really full-duplex anyway). So sending an ack while a packet is received cause some problems and some of my acks are lost in the process. As I said, this patch is really ugly, this is just a proof that there is a problem in the implementation of delayed acks in *BSD. Well, at least I think so :-) What do you think ? (with this pactch, the kernel reads the delayed-ack list every 400ms instead of 200) void tcp_fasttimo() { register struct inpcb *inp; register struct tcpcb *tp; int s; + static char delay_delack = 1; if (tcp_delack_enabled) { s = splnet(); + if( delay_delack ) + delay_delack = 0; + else { for (inp = tcb.lh_first; inp != NULL; inp = inp->inp_list.le_next) { if ((tp = (struct tcpcb *)inp->inp_ppcb) && (tp->t_flags & TF_DELACK)) { tp->t_flags &= ~TF_DELACK; tp->t_flags |= TF_ACKNOW; tcpstat.tcps_delack++; (void) tcp_output(tp); } + delay_delack = 1; + } } splx(s); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 14:13:49 2000 Delivered-To: freebsd-net@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 0A03037B853 for ; Sun, 5 Mar 2000 14:13:47 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.9.3/8.9.3) id QAA88902; Sun, 5 Mar 2000 16:16:38 -0600 (CST) (envelope-from jlemon) Date: Sun, 5 Mar 2000 16:16:38 -0600 From: Jonathan Lemon To: =?iso-8859-1?Q?R=E9mi_Guyomarch?= Cc: freebsd-net@FreeBSD.ORG, Jonathan Lemon , jayanth Subject: Re: TCP performance problems, Linux faster than FreeBSD ? Message-ID: <20000305161638.A85421@prism.flugsvamp.com> References: <20000303165052.C23732@pingoo.ifn.fr> <20000305193317.B22005@pingoo.ifn.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000305193317.B22005@pingoo.ifn.fr> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Mar 05, 2000 at 07:33:17PM +0100, Rémi Guyomarch wrote: > So, Linux use the time of the last non-acked packet as a starting > point for the 200ms timer, but *BSD stacks use a fixed 'clock'. > This is completely different ! > > I put an ugly hack in sys/netinet/tcp_timer.c to try to fix the > problem. And now I'm getting **way** less duplicate packets. Hm, yes. That's the way it works -- BSD uses a fixed clock with a maximum delay of 200ms and a statistical average of 100ms. You may want to try upgrading to 4.0 (about to be released shortly). Not only does it change the timer behavior to a per-packet (instead of global basis) but it allows you to tweak the delayed-ACK time via sysctl. E.g.: net.inet.tcp.delacktime: 100 > It's not very clear to me why sending fewer acks eliminates the > duplicate packet problem. Maybe my 64k leased line isn't really > full-duplex (it's physically made of two wires, so it can't be really > full-duplex anyway). So sending an ack while a packet is received > cause some problems and some of my acks are lost in the process. I can't tell from the traces that I have. It seems that the server has a completely broken fast-recovery algorithm, but it's not always triggered. My guess is that it may be sensitive to the timing of the ACKs being returned, as these are used to caculate the RTO. Perhaps Linux (with less ACK `jitter') simply interacts more favorably with the server's timeouts by returning the ACKs when they are expected. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 14:17:58 2000 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id D361F37BB2D; Sun, 5 Mar 2000 14:17:40 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA04854; Sun, 5 Mar 2000 22:13:45 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA07676; Sun, 5 Mar 2000 22:13:39 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200003052213.WAA07676@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Brian Somers Cc: Dermot McNally , Dermot McNally , freebsd-net@FreeBSD.org, peter@FreeBSD.org, jkh@FreeBSD.org, joe@FreeBSD.org, brian@hak.lan.awfulhak.org, brian@hak.lan.awfulhak.org Subject: Re: NAT issues with ppp - a fix In-Reply-To: Message from Brian Somers of "Sun, 05 Mar 2000 03:49:23 GMT." <200003050349.DAA03010@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Mar 2000 22:13:39 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > At 02:18 04.03.2000 +0000, Brian Somers wrote: > > > >Hi, > > > > > > > >Because of a recent change in the way I connect to the net > > > >(PPPoUDPoPPPoISDN), I'm now seeing this problem ! > > > > > > > >Can you try the attached patch ? I believe this fixes the problem ! > > > > > > Bad news on my side - it doesn't appear to have helped. My test case: > > > Before applying the patch, I cvsupped to today's current and rebuilt the > > > world. Then I set the gateway box and a FreeBSD alpha box on my internal > > > network back to an MTU of 1500. I connected to confirm that the problem was > > > still there (it was). > > > > > > Then I applied the patch, rebuilt and installed ppp. Same test. Same > > > problem - well, same symptoms anyway. My two tests were, using Lynx to > > > connect to effectively any WWW site and using fetch to download a biggish > > > file. Fetch determines the file size (which I don't recall it managing to > > > do before), but doesn't actually get any further with the download. Lynx > > > manages to look up the site to which I try to connect, but then hangs at > > > the "waiting for response" stage. > > > > > > I can packet sniff this if you think it will help - my setup is slightly > > > different to yours: PPPoE via a DSL "modem". > > > > Mine is even more tricky... I've been battling this for some time > > now. > > > > I've actually got > > > > laptop -ethernet-gate-PPPoUDPoPPPoISDN- - PPPoISDN gateway - 'net - - PPPoUDP gateway - 'net > > > > The tricky bit is that I have to run the PPPoUDP link in MP mode using > > a 1466 byte MRRU. This will make the IP layer fragment the traffic to > > 1466 bytes, allowing ppp to pile a UDP/IP header of 28 bytes back on > > the front (and to add the 2/4 byte MP header and 1/2 byte protocol > > header) before sending out the UDP datagram. > > > > It's vital that the PPP/UDP/IP packet is no more than 1500 bytes as > > it's going to pop up at my gateway and then must travel across the > > 'net to the PPP/UDP gateway before it's unpacked and reassembled into > > what was sent out originally. > > > > I *think* this should work now - assuming the fragmentation side of > > things is functional. I haven't proven things yet though. > > > > I'll follow up.... > [.....] > > This works (with the previous patch), but requires an MRRU of > 1338.... as there can be up to 128 bytes of options (is this right > anyone ?). > > This means three things. First, I get to play with doing MP over two > separate ISPs for real (soon). Second I get a compressed ISDN link > with a static IP despite the transport being brought up and down with > dynamic IP numbers :*P > > And third, your problem must be something specific to PPPoE as it > looks like there are no NAT/fragmentation problems any more > (otherwise my setup can't work). > > I guess I'm gonna have to try to set up a proper PPPoE environment > here. I'll follow-up when I can. Hmm, I take that back. I'm still having problems. The problems can be circumvented with an MRU/MTU of 1000 and an MRRU of 1500 - causing ppp to set the iface to 1500 and chop the results up into 1000 byte frames. This'll need more testing before I can even look at trying to reproduce something consistently :-/ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 14:39:27 2000 Delivered-To: freebsd-net@freebsd.org Received: from biggusdiskus.flyingfox.com (parker-T1-2-gw.sf3d.best.net [209.157.165.30]) by hub.freebsd.org (Postfix) with ESMTP id 5D11637BB26; Sun, 5 Mar 2000 14:39:23 -0800 (PST) (envelope-from jas@flyingfox.com) Received: (from jas@localhost) by biggusdiskus.flyingfox.com (8.8.8/8.8.5) id OAA27385; Sun, 5 Mar 2000 14:23:19 -0800 (PST) Date: Sun, 5 Mar 2000 14:23:19 -0800 (PST) From: Jim Shankland Message-Id: <200003052223.OAA27385@biggusdiskus.flyingfox.com> To: brian@awfulhak.org, dermo@mcnally.de Subject: Re: NAT issues with ppp - a fix Cc: dermot@mcnally.de, freebsd-net@FreeBSD.ORG, jkh@FreeBSD.ORG, joe@FreeBSD.ORG, peter@FreeBSD.ORG In-Reply-To: <200003040218.CAA02929@hak.lan.Awfulhak.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brian Somers writes: > Because of a recent change in the way I connect to the net > (PPPoUDPoPPPoISDN), I'm now seeing this problem ! Wow! I think when Carl Sandburg wrote: Life is like an onion. You peel off layer after layer, and sometimes you cry. he must have been talking about your Internet connection :-). Jim Shankland NLynx Systems, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 20:55:50 2000 Delivered-To: freebsd-net@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id 20E9F37BB2D for ; Sun, 5 Mar 2000 20:55:43 -0800 (PST) (envelope-from gbnaidu@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Sun Mar 5 20:55:06 2000 To: freebsd-net@FreeBSD.ORG Date: Sun, 05 Mar 2000 20:55:06 -0800 From: "gbnaidu " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: How to link libraries.... X-Sender-Ip: 164.164.56.2 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 598 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I have a question. I have two API libraries. I have to link these libraries to the kernel depending whether it is LSR or LER. These terms are MPLS terms. You can assume them as #defined MACROs. How do I do this? Do I need to define two options like LSR and LER and depending on #ifdef LSR, link corresponding library? Where do I mentin this linking part? What file do i need to edit to link the corresponding library? Please reply to: gbnaidu@sasi.com thanks a lot for the help --gbnaidu. --== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Mar 5 23:33:23 2000 Delivered-To: freebsd-net@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id BDFE537BC2C for ; Sun, 5 Mar 2000 23:33:16 -0800 (PST) (envelope-from gbnaidu@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Sun Mar 5 23:32:45 2000 To: freebsd-net@FreeBSD.ORG Date: Sun, 05 Mar 2000 23:32:45 -0800 From: "gbnaidu " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: How do I do this...? X-Sender-Ip: 164.164.56.2 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 565 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I have some requirement like this: I have two sets of files. Assume A and B. The function names are same in both sets but their implementation is different. If I want to compile/call functions from one set(A) depending on a macro of sort: #ifdef A, how do I compile these files in kernel? Can somebosdy give me some idea of how to compile these files conditionally? Any sort of help is appreciated. Please reply to: gbnaidu@sasi.com thank you gbnaidu --== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Mar 6 1:23:59 2000 Delivered-To: freebsd-net@freebsd.org Received: from relay.wplus.net (relay.wplus.net [195.131.52.179]) by hub.freebsd.org (Postfix) with ESMTP id AB46B37BC88 for ; Mon, 6 Mar 2000 01:23:39 -0800 (PST) (envelope-from dms@woland.wplus.net) Received: from woland.wplus.net (woland.wplus.net [195.131.0.39]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id MAA88035; Mon, 6 Mar 2000 12:21:54 +0300 (MSK) X-Real-To: freebsd-net@FreeBSD.ORG Received: (from dms@localhost) by woland.wplus.net (8.9.3/8.9.1/wplus.2) id MAA71825; Mon, 6 Mar 2000 12:23:18 +0300 (MSK) Message-ID: X-Mailer: XFMail 1.4.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 06 Mar 2000 12:23:17 +0300 (MSK) From: Dmitry Samersoff To: gbnaidu , gbnaidu@sasi.com Subject: RE: How do I do this...? Cc: freebsd-net@FreeBSD.ORG Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 06-Mar-2000 gbnaidu wrote: > Hi > > I have some requirement like this: > > I have two sets of files. Assume A and B. The function names are same in both > sets but their implementation is different. If I want to compile/call > functions from one set(A) depending on a macro of sort: #ifdef A, how do I > compile these files in kernel? > > Can somebosdy give me some idea of how to compile these files conditionally? One method is: name your functions _A_funcname(),_B_funcname() and define macro #ifdef A # define function _A_funcname() #else # define function _B_funcname() #endif Anothe method is: stube.c: #ifdef A # include "A_functions.c" #else # include "B_functions.c" #endif -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 7 10:58:12 2000 Delivered-To: freebsd-net@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id C6F1337C114 for ; Tue, 7 Mar 2000 10:58:07 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id KAA42008; Tue, 7 Mar 2000 10:57:25 -0800 (PST) From: Archie Cobbs Message-Id: <200003071857.KAA42008@bubba.whistle.com> Subject: Re: pppd / com-port question In-Reply-To: from Brendan Kosowski at "Mar 2, 2000 01:12:01 pm" To: brendan@bmk.com.au (Brendan Kosowski) Date: Tue, 7 Mar 2000 10:57:25 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG (FreeBSD Networking) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brendan Kosowski writes: > What is the maximum speed I can run pppd at on a FreeBSD box with 16550A > com ports ??? 16550A supports up to 115Kbps -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Mar 7 22: 6:32 2000 Delivered-To: freebsd-net@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id BCF8D37B58F for ; Tue, 7 Mar 2000 22:06:25 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (qmail 14702 invoked from network); 8 Mar 2000 06:06:20 -0000 Received: from bde.zeta.org.au (203.2.228.102) by gidora.zeta.org.au with SMTP; 8 Mar 2000 06:06:20 -0000 Date: Wed, 8 Mar 2000 17:06:11 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Archie Cobbs Cc: Brendan Kosowski , FreeBSD Networking Subject: Re: pppd / com-port question In-Reply-To: <200003071857.KAA42008@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 7 Mar 2000, Archie Cobbs wrote: > Brendan Kosowski writes: > > What is the maximum speed I can run pppd at on a FreeBSD box with 16550A > > com ports ??? > > 16550A supports up to 115Kbps The 16550A supports up to 1.5Mbps. Most serial cards only suuport up to 115.2Kbps, but ones supporting 960Kbps are fairly easy to find. FreeBSD only supports up to 115.2Kbps properly. Programs using the crufty sgttyb compatibility interface will mess up higher speeds. The sio driver only supports up to 115.2Kbps properly. It just gives the speed of the hardware clock divided by 16, and doesn't support setting of hardware clocks. You can sometimes set the hardware clock to a nonstandard value using jumpers on the serial card, and then sio will report the speed wrong by a factor of (nominal_clock_speed / clock_clock_speed). E.g., a speed of 115200 bps would be actually 961600 bps if the clock is jumpered to be 8 times as fast as usual. sio.c probably needs minor modifications to avoid silo overflows at 960Kbps (change the fifo trigger level from 14 to 8). sio probably has can't keep up with more than 1 or 2 ports at 960Kbps. Expect a CPU overhead of 50% per fully active port. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 8 1:15:57 2000 Delivered-To: freebsd-net@freebsd.org Received: from mailgate.alcatel.fr (mail.alcatel.fr [194.133.58.151]) by hub.freebsd.org (Postfix) with ESMTP id 7E7F337B558; Wed, 8 Mar 2000 01:15:44 -0800 (PST) (envelope-from Thierry.Herbelot@alcatel.fr) Received: from aifhs10.alcatel.fr (mailhub2.alcatel.fr [155.132.188.80]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id KAA15907; Wed, 8 Mar 2000 10:09:33 +0100 From: Thierry.Herbelot@alcatel.fr Received: from frmta003.netfr.alcatel.fr (frmta003.netfr.alcatel.fr [155.132.251.32]) by aifhs10.alcatel.fr (ALCANET/SMTP2) with SMTP id KAA17215; Wed, 8 Mar 2000 10:09:05 +0100 (MET) Received: by frmta003.netfr.alcatel.fr(Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) id C125689C.0032DAB2 ; Wed, 8 Mar 2000 10:15:27 +0100 X-Lotus-FromDomain: ALCATEL To: atm@freebsd.org, net@freebsd.org Message-ID: Date: Wed, 8 Mar 2000 10:15:11 +0100 Subject: ATM and Netgraph ? Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I would like to get rid of some NT machines, which I now must use as this is the only way to get a "bridged mode" Ethernet encapsulation (with Rfc1483). As I was told, the best way to add this kind of feature would be to add netgraph hooks to the existing ATM FreeBSD code (this is indeed heavily hinted at in the Netgraph doc). Has someone had a look at such a possibility ? TfH PS : this could be the begnning of a better support for ISP-side xDSL, as each ATM PVC could be in the beginning used as an Ethernet half-bridge, and later as a PPPoE or PPTP termination. PS2 : the ATM board used is the Fore PCA200e PS3 : the mailing list archives are quite silent on this subject (I could only find the announce of the Netgraph inclusion in FreeBSD) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 8 7: 1:31 2000 Delivered-To: freebsd-net@freebsd.org Received: from quercus.ifn.fr (mailhost.ifn.fr [62.161.215.67]) by hub.freebsd.org (Postfix) with ESMTP id CDA0837B55E for ; Wed, 8 Mar 2000 07:01:26 -0800 (PST) (envelope-from rguyom@mail.dotcom.fr) Received: from pingoo.ifn.fr ([192.9.200.33]) by quercus.ifn.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id FLZQQKVR; Wed, 8 Mar 2000 16:01:23 +0100 Received: (from rguyom@localhost) by pingoo.ifn.fr (8.9.3/8.9.3) id QAA10258; Wed, 8 Mar 2000 16:00:05 +0100 Date: Wed, 8 Mar 2000 16:00:03 +0100 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: freebsd-net@FreeBSD.ORG Cc: Jonathan Lemon Subject: Re: TCP performance problems, Linux faster than FreeBSD ? Message-ID: <20000308160003.A10234@pingoo.ifn.fr> References: <20000303165052.C23732@pingoo.ifn.fr> <20000305193317.B22005@pingoo.ifn.fr> <20000305161638.A85421@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <20000305161638.A85421@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Sun, Mar 05, 2000 at 04:16:38PM -0600 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Mar 05, 2000 at 04:16:38PM -0600, Jonathan Lemon wrote: > On Sun, Mar 05, 2000 at 07:33:17PM +0100, Rémi Guyomarch wrote: > > So, Linux use the time of the last non-acked packet as a starting > > point for the 200ms timer, but *BSD stacks use a fixed 'clock'. > > This is completely different ! > > > > I put an ugly hack in sys/netinet/tcp_timer.c to try to fix the > > problem. And now I'm getting **way** less duplicate packets. > > Hm, yes. That's the way it works -- BSD uses a fixed clock > with a maximum delay of 200ms and a statistical average of 100ms. > > You may want to try upgrading to 4.0 (about to be released shortly). > Not only does it change the timer behavior to a per-packet (instead > of global basis) but it allows you to tweak the delayed-ACK time > via sysctl. E.g.: > > net.inet.tcp.delacktime: 100 I (mostly) finished the upgrade to -current. And I'm happy to thank you for this idea, it works much better now ! :-) Here's the results I'm getting with various delacktime settings : 100ms -> 48% dups, 4.39 KB/s 200ms -> 6% dups, 6.18 KB/s 250ms -> 3% dups, 6.88 KB/s <-- :-) 300ms -> 13% dups, 4.80 KB/s With 250ms, I'm beating Linux :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 8 9:11: 2 2000 Delivered-To: freebsd-net@freebsd.org Received: from meer.meer.net (meer.meer.net [140.174.164.2]) by hub.freebsd.org (Postfix) with ESMTP id 2D86E37C1D7 for ; Wed, 8 Mar 2000 09:10:59 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from jchurch.meer.net (unknown-35-202.wrs.com [147.11.35.202]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id JAA10158977 for ; Wed, 8 Mar 2000 09:10:51 -0800 (PST) Received: from neville-neil.com (localhost [127.0.0.1]) by jchurch.meer.net (8.9.3/8.9.2) with ESMTP id JAA92779 for ; Wed, 8 Mar 2000 09:15:40 -0800 (PST) (envelope-from gnn@neville-neil.com) Message-Id: <200003081715.JAA92779@jchurch.meer.net> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-net@freebsd.org Subject: Netgraph and the loopback? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Mar 2000 09:15:40 -0800 From: George Neville-Neil Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Folks, I'm just starting to play with Netgraph. Thanks to Archie for the great article BTW! I'm thinking of adding the loopback interface to the list of interfaces that come up automagically (like the Ethernets) with the kernel. Any reason I shouldn't do this? I want it so I can play with the system on a laptop that sometimes has no ethernet in it. Seems like a reasonable thing to do but... Thanks, George To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 8 14:42:48 2000 Delivered-To: freebsd-net@freebsd.org Received: from smtp-out1.bellatlantic.net (smtp-out1.bellatlantic.net [199.45.39.156]) by hub.freebsd.org (Postfix) with ESMTP id 9674837B5D5 for ; Wed, 8 Mar 2000 14:42:24 -0800 (PST) (envelope-from glbj@bellatlantic.net) Received: from morningstar (adsl-151-204-66-145.bellatlantic.net [151.204.66.145]) by smtp-out1.bellatlantic.net (8.9.1/8.9.1) with SMTP id RAA17563 for ; Wed, 8 Mar 2000 17:42:17 -0500 (EST) Message-Id: <200003082242.RAA17563@smtp-out1.bellatlantic.net> From: "Gene Bomgardner" To: freeBSD-net@FreeBSD.org Date: Wed, 8 Mar 2000 17:38:55 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: DSL,PPPoE, Etc X-mailer: Pegasus Mail for Win32 (v3.11) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I discovered that 3.4 supports PPPoE. So I upgraded to 3.4, followed the setup given in the handbook exactly (substituting as appropriate) and gave it a try. No Dice. I'm using a Westell modem connected via a hub. My ISP is Bell Atlantic. Has anyone out there managed to get PPPoE to work? Anyone use Bell Atlantic.net? Windoze 95 uses dial-up networking to establish a connection via WinPoet. In the dial up window, it displays "VPN Server : 111-1111" where the phone number usually is. Is this something I need to address when setting BSD's ppp.conf file? Are there any additional FAQ's or Howtos? Any info would be gratefully appreciated. thanks. Gene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Mar 8 20:35: 4 2000 Delivered-To: freebsd-net@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 0C98C37B542 for ; Wed, 8 Mar 2000 20:35:03 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id UAA79368; Wed, 8 Mar 2000 20:34:51 -0800 (PST) From: Archie Cobbs Message-Id: <200003090434.UAA79368@bubba.whistle.com> Subject: Re: Netgraph and the loopback? In-Reply-To: <200003081715.JAA92779@jchurch.meer.net> from George Neville-Neil at "Mar 8, 2000 09:15:40 am" To: gnn@neville-neil.com (George Neville-Neil) Date: Wed, 8 Mar 2000 20:34:51 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org George Neville-Neil writes: > I'm thinking of adding the loopback interface to the list of > interfaces that come up automagically (like the Ethernets) with > the kernel. Any reason I shouldn't do this? I want it so I can > play with the system on a laptop that sometimes has no ethernet in > it. Seems like a reasonable thing to do but... That should work fine.. a loopback interface acts pretty much just like an Ethernet interface but without the hardware. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 1: 7:41 2000 Delivered-To: freebsd-net@freebsd.org Received: from crap.31337.net (p.funk.org [194.109.61.126]) by hub.freebsd.org (Postfix) with ESMTP id 01BC337B748 for ; Thu, 9 Mar 2000 01:07:29 -0800 (PST) (envelope-from alexlh@z.funk.org) Received: from z.funk.org (z [10.0.0.2]) by crap.31337.net (8.9.3/8.9.1) with ESMTP id KAA17617 for ; Thu, 9 Mar 2000 10:07:21 +0100 (CET) (envelope-from alexlh@z.funk.org) Received: (from alexlh@localhost) by z.funk.org (8.9.3/8.9.1) id KAA11162 for freebsd-net@freebsd.org; Thu, 9 Mar 2000 10:07:04 +0100 (CET) (envelope-from alexlh) Date: Thu, 9 Mar 2000 10:07:03 +0100 From: Alex Le Heux To: freebsd-net@freebsd.org Subject: FreeBSD as RealAudio/Video/Quicktime server? Message-ID: <20000309100703.X277@funk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.1i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Is anyone using FreeBSD as RealAudio/Video or Quicktime server? I would be interested in hearing about experiences. Cheers, Alex Le Heux -- GCS/O d+++ s++;- a- C+++ UB++++$ !P L- !E W+ N++ o+ K w O M-- V-- PS+++ PE Y+ PGP++ t+ 5 X-- R* tv- b+++(++++) DI++ D+ G e+ h r++ y++ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 4:54:27 2000 Delivered-To: freebsd-net@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 90EA937B774 for ; Thu, 9 Mar 2000 04:54:23 -0800 (PST) (envelope-from mikel@ocsny.com) Received: from ocsny.com (thoth.upan.org [204.107.76.16]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id HAA24897; Thu, 9 Mar 2000 07:52:35 -0500 (EST) Message-ID: <38C7A0B7.B6FE0ACE@ocsny.com> Date: Thu, 09 Mar 2000 08:01:43 -0500 From: Mikel Organization: Optimized Computer Solutions, Inc. X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: Alex Le Heux Cc: freebsd-net@FreeBSD.ORG Subject: Re: FreeBSD as RealAudio/Video/Quicktime server? References: <20000309100703.X277@funk.org> Content-Type: multipart/mixed; boundary="------------F4DF264E16CFF11121A35983" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------F4DF264E16CFF11121A35983 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greetings Alex, I recently setup Real Media Server first on fBSD 3.4 and then moved it to fBSD 4.0-20000214 and I must say it is running rather well...I am going to be working on the quicktime media server next. The real server runs indipendent of Apache. infact on the 4.0 box I am running apache+modssl+php and a few other goodies... I was able to bring rms 3.0 build up on the 4.0 box no problem... cheers... Alex Le Heux wrote: > Hi, > > Is anyone using FreeBSD as RealAudio/Video or Quicktime server? > > I would be interested in hearing about experiences. > > > > Alex Le Heux > > -- > GCS/O d+++ s++;- a- C+++ UB++++$ !P L- !E W+ N++ o+ K w O M-- V-- > PS+++ PE Y+ PGP++ t+ 5 X-- R* tv- b+++(++++) DI++ D+ G e+ h r++ y++ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Cheers, Mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Optimized Computer Solutions, Inc http://www.ocsny.com | 39 W14th Street, Suite 203 212 727 2238 x132 | New York, NY 10011 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | http://www.ocsny.com/~mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ --------------F4DF264E16CFF11121A35983 Content-Type: text/x-vcard; charset=us-ascii; name="mikel.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mikel Content-Disposition: attachment; filename="mikel.vcf" begin:vcard n:King;Mikel x-mozilla-html:TRUE org:Optimized Computer Solutions version:2.1 email;internet:mikel@ocsny.com title:Procurement Manager tel;fax:2124638402 tel;home:http://www.upan.org/vizkr tel;work:2127272100 adr;quoted-printable:;;39 W14th St.=0D=0ASte 203;New York;NY;10011;US x-mozilla-cpt:;0 fn:Mikel King end:vcard --------------F4DF264E16CFF11121A35983-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 10:17:43 2000 Delivered-To: freebsd-net@freebsd.org Received: from phnxpop5.phnx.uswest.net (phnxpop5.phnx.uswest.net [206.80.192.5]) by hub.freebsd.org (Postfix) with SMTP id 7750637B7C2 for ; Thu, 9 Mar 2000 10:17:26 -0800 (PST) (envelope-from max.calvo@maxcalvo.net) Received: (qmail 93662 invoked by alias); 9 Mar 2000 18:17:00 -0000 Delivered-To: fixup-freebsd-net@FreeBSD.ORG@fixme Received: (qmail 93626 invoked by uid 0); 9 Mar 2000 18:17:00 -0000 Received: from unknown (HELO lrl) (206.80.218.245) by phnxpop5.phnx.uswest.net with SMTP; 9 Mar 2000 18:16:59 -0000 Message-ID: <001201bf89f3$9e68f4c0$f5da50ce@maxcalvo.net> Reply-To: "Max Calvo" From: "Max Calvo" To: "Mikel" , "Alex Le Heux" Cc: References: <20000309100703.X277@funk.org> <38C7A0B7.B6FE0ACE@ocsny.com> Subject: Re: FreeBSD as RealAudio/Video/Quicktime server? Date: Thu, 9 Mar 2000 11:16:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mikel; I am going to be setting up a Real Media Server for a friend. Can you tell me about the hardware on your system and the network connection? thanks -Max ----- Original Message ----- From: Mikel To: Alex Le Heux Cc: Sent: Thursday, March 09, 2000 6:01 AM Subject: Re: FreeBSD as RealAudio/Video/Quicktime server? > Greetings Alex, > > I recently setup Real Media Server first on fBSD 3.4 and then moved > it to fBSD 4.0-20000214 and I must say it is running rather well...I am > going to be working on the quicktime media server next. The real server > runs indipendent of Apache. infact on the 4.0 box I am running > apache+modssl+php and a few other goodies... > > I was able to bring rms 3.0 build up on the 4.0 box no problem... > > cheers... > > Alex Le Heux wrote: > > > Hi, > > > > Is anyone using FreeBSD as RealAudio/Video or Quicktime server? > > > > I would be interested in hearing about experiences. > > > > > > > > Alex Le Heux > > > > -- > > GCS/O d+++ s++;- a- C+++ UB++++$ !P L- !E W+ N++ o+ K w O M-- V-- > > PS+++ PE Y+ PGP++ t+ 5 X-- R* tv- b+++(++++) DI++ D+ G e+ h r++ y++ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > -- > Cheers, > Mikel > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > | Optimized Computer Solutions, Inc http://www.ocsny.com > | 39 W14th Street, Suite 203 212 727 2238 x132 > | New York, NY 10011 > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > | http://www.ocsny.com/~mikel > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 13:54:14 2000 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 6DAEA37B839 for ; Thu, 9 Mar 2000 13:49:42 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA05816; Thu, 9 Mar 2000 21:41:25 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA00515; Thu, 9 Mar 2000 08:21:59 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200003090821.IAA00515@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Gene Bomgardner" Cc: freeBSD-net@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: DSL,PPPoE, Etc In-Reply-To: Message from "Gene Bomgardner" of "Wed, 08 Mar 2000 17:38:55 EST." <200003082242.RAA17563@smtp-out1.bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 09 Mar 2000 08:21:59 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I discovered that 3.4 supports PPPoE. So I upgraded to 3.4, > followed the setup given in the handbook exactly (substituting as > appropriate) and gave it a try. No Dice. > > I'm using a Westell modem connected via a hub. My ISP is Bell > Atlantic. > > Has anyone out there managed to get PPPoE to work? Anyone > use Bell Atlantic.net? Windoze 95 uses dial-up networking to > establish a connection via WinPoet. In the dial up window, it > displays "VPN Server : 111-1111" where the phone number usually > is. Is this something I need to address when setting BSD's > ppp.conf file? Are there any additional FAQ's or Howtos? You may need to ``set device pppoe:xxx:111-1111'' (where xxx is your network interface), but I'm not sure about this. There are example configs in /usr/share/examples/ppp/. > Any info would be gratefully appreciated. thanks. > > Gene -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 17:29: 7 2000 Delivered-To: freebsd-net@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 6D05537B8D7 for ; Thu, 9 Mar 2000 17:28:55 -0800 (PST) (envelope-from mikel@ocsny.com) Received: from ocsny.com (ppp-004.ocsny.com [204.107.76.31]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id UAA54127; Thu, 9 Mar 2000 20:27:16 -0500 (EST) Message-ID: <38C8519A.30ABAC11@ocsny.com> Date: Thu, 09 Mar 2000 20:36:26 -0500 From: Mikel Organization: Optimized Computer Solutions, Inc. X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: Max Calvo Cc: freebsd-net@FreeBSD.ORG Subject: Re: FreeBSD as RealAudio/Video/Quicktime server? References: <20000309100703.X277@funk.org> <38C7A0B7.B6FE0ACE@ocsny.com> <001201bf89f3$9e68f4c0$f5da50ce@maxcalvo.net> Content-Type: multipart/mixed; boundary="------------7A5A59314D4B81E17C45526B" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------7A5A59314D4B81E17C45526B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sure thing Max... I've set it up on two systems both were running fbsd 3.4 and then 4.0...the first was a Compaq Proliant 800 500Mhz with only 64M ram...100bt (I think it's half duplex)...the second it a Dell PowerEdge 4300 also 500 MHZ but 128M on a 100bt full duplex...both connections were limited to 1M bw...The Dell box forced my to go to 4.0 as I couldn't get ipfw working under 3.4 on it...the Compaq install was a bit tricky as it required using their SmartStart CD and selecting SCO UnixWARE 2.x (or 7.x if smp is desired) both systems are running on 10k rpm 18G drives... I hope that helps... Max Calvo wrote: > Mikel; > > I am going to be setting up a Real Media Server for a friend. Can you tell > me about the hardware on your system and the network connection? > > thanks > > -Max > > ----- Original Message ----- > From: Mikel > To: Alex Le Heux > Cc: > Sent: Thursday, March 09, 2000 6:01 AM > Subject: Re: FreeBSD as RealAudio/Video/Quicktime server? > > > Greetings Alex, > > > > I recently setup Real Media Server first on fBSD 3.4 and then moved > > it to fBSD 4.0-20000214 and I must say it is running rather well...I am > > going to be working on the quicktime media server next. The real server > > runs indipendent of Apache. infact on the 4.0 box I am running > > apache+modssl+php and a few other goodies... > > > > I was able to bring rms 3.0 build up on the 4.0 box no problem... > > > > cheers... > > > > Alex Le Heux wrote: > > > > > Hi, > > > > > > Is anyone using FreeBSD as RealAudio/Video or Quicktime server? > > > > > > I would be interested in hearing about experiences. > > > > > > > > > > > > Alex Le Heux > > > > > > -- > > > GCS/O d+++ s++;- a- C+++ UB++++$ !P L- !E W+ N++ o+ K w O M-- V-- > > > PS+++ PE Y+ PGP++ t+ 5 X-- R* tv- b+++(++++) DI++ D+ G e+ h r++ y++ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-net" in the body of the message > > > > -- > > Cheers, > > Mikel > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > | Optimized Computer Solutions, Inc http://www.ocsny.com > > | 39 W14th Street, Suite 203 212 727 2238 x132 > > | New York, NY 10011 > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > | http://www.ocsny.com/~mikel > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Cheers, Mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Optimized Computer Solutions, Inc http://www.ocsny.com | 39 W14th Street, Suite 203 212 727 2238 x132 | New York, NY 10011 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Labor rates: Tech $125 hourly | Net Engineer $150 hourly | Phone Support $ 33 quarter hourly | Lost Password $ 45 per incedent +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | http://www.ocsny.com/~mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ --------------7A5A59314D4B81E17C45526B Content-Type: text/x-vcard; charset=us-ascii; name="mikel.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mikel Content-Disposition: attachment; filename="mikel.vcf" begin:vcard n:King;Mikel x-mozilla-html:TRUE org:Optimized Computer Solutions version:2.1 email;internet:mikel@ocsny.com title:Procurement Manager tel;fax:2124638402 tel;home:http://www.upan.org/vizkr tel;work:2127272100 adr;quoted-printable:;;39 W14th St.=0D=0ASte 203;New York;NY;10011;US x-mozilla-cpt:;0 fn:Mikel King end:vcard --------------7A5A59314D4B81E17C45526B-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Mar 9 18: 8:41 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail1.bellatlantic.net (mail1.bellatlantic.net [199.45.32.38]) by hub.freebsd.org (Postfix) with ESMTP id 8629837B8FC for ; Thu, 9 Mar 2000 18:08:38 -0800 (PST) (envelope-from ugen@xonix.com) Received: from xonix.com (adsl-138-89-48-2.bellatlantic.net [138.89.48.2]) by mail1.bellatlantic.net (8.9.1/8.9.1) with ESMTP id VAA18172; Thu, 9 Mar 2000 21:07:52 -0500 (EST) Message-ID: <38C85970.1F643DCA@xonix.com> Date: Thu, 09 Mar 2000 21:09:52 -0500 From: Ugen Antsilevitch X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Brian Somers Cc: Gene Bomgardner , freeBSD-net@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: DSL,PPPoE, Etc References: <200003090821.IAA00515@hak.lan.Awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nothing specials..those 1's have no meaning set devuce pppoe:xx0 and dont forget authentication pap (thats what they use) authkey login authword password or something like that...works like a charm --Ugen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message