From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 00:56:59 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 149BE37B401 for ; Sun, 20 Jul 2003 00:56:59 -0700 (PDT) Received: from mail.buzzardnews.com (mail.buzzardnews.com [64.235.227.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D1443F93 for ; Sun, 20 Jul 2003 00:56:58 -0700 (PDT) (envelope-from shawn@buzzardnews.com) Received: from shawn ([216.117.219.211]) by mail.buzzardnews.com (8.11.3/8.11.3) with SMTP id h6K7ust84333; Sun, 20 Jul 2003 00:56:54 -0700 (PDT) Message-ID: <009201c34e94$7272fa50$d3db75d8@shawn> From: "Shawn Ramsey" To: "Michael K. Smith" , References: Date: Sun, 20 Jul 2003 00:56:36 -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.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: Re: Lots of input errors... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 07:56:59 -0000 > >> Hello: > >> > >> Judging from your output I would say two things: > >> > >> 1) You have a bad cable. CRC and framing errors are usually a result of > > bad > >> media. > >> 2) You should set the port to auto/auto, not 100/Full hard set, unless you > >> have specifically set that up in rc.conf. If one side is hard set and the > >> other is set to auto, you will see lots of runts because of a duplex > >> mismatch. I think the RFC states you have to go to half duplex if you are > >> autosensing and the other side doesn't respond, which is the case if it's > >> hard set. > > > > Ok.. It is set hard to 100BT/FD on both ends. I don't know if you saw this, > > but since resetting the stats a few hours ago, it shows no errors at all on > > their end, but were still getting errors on our end... The CRC and frame > > errors could have been from a media mismatch when things were first setup. > > Im not sure if the stats have ever been reset. Assuming the errors stay at > > zero on their end, any ideas? Am going to try another server/router, and if > > things look better, start replacing hardware on this router... > > > > I would say the physical wire is probably bad. Seeing unidirectional errors > in this case wouldn't be uncommon; one of the pair of the receive wires may > have issues. Have you swapped the cable? Most of the time you won't see > framing errors related to duplex mismatching. It turned out to be a NIC issue. It was a 3COM 3c980C-TXM or something like that... I switched it to the braindead rl0 onboard adapter and the errors, and problems went away... pretty sad that "The worst ethernet adapter ever made" (according to the person who wrote the driver) beats out a pricey 3com adapter, although its probably just a driver issue. From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 02:27:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6355B37B401 for ; Sun, 20 Jul 2003 02:27:10 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-119-53-152.dsl.lsan03.pacbell.net [67.119.53.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2F7F43FA3 for ; Sun, 20 Jul 2003 02:27:09 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 4754766BE5; Sun, 20 Jul 2003 02:27:09 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 275BDC18; Sun, 20 Jul 2003 02:27:09 -0700 (PDT) Date: Sun, 20 Jul 2003 02:27:09 -0700 From: Kris Kennaway To: Roger Olofsson Message-ID: <20030720092709.GA68336@rot13.obsecurity.org> References: <5.2.0.9.1.20030718084604.01f95350@mail.kommun.engelholm.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20030718084604.01f95350@mail.kommun.engelholm.se> User-Agent: Mutt/1.4.1i cc: freebsd-net@freebsd.org Subject: Re: FreeBSD 5.0 ncplib missing kernel module nwfs.ko? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 09:27:10 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2003 at 08:50:02AM +0200, Roger Olofsson wrote: > Dear Mailinglist, >=20 > My FreeBSD5.0 tells me "ncp_initlib: can't find kernel module" after doin= g=20 > a mount_nwfs. Kldstat -v tells me that nwfs.ko isn't there. The if_ef.ko = is=20 > there though. I have options IPX in kernel and the IPXrouted is running= =20 > fine. kldstat tells you that the module isn't *loaded*. Have you added nwfs support to your kernel, or do you have the nwfs.ko module available in the module load path? Kris --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/GmBsWry0BWjoQKURAhV3AJ0bpzrlhH3/3KL4biOAwOT9ISGOWwCg0ZWf XdRrJrh+lyOf6quqjPADx4o= =t3Kl -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 12:21:59 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 8778037B405; Sun, 20 Jul 2003 12:21:59 -0700 (PDT) In-Reply-To: <009201c34e94$7272fa50$d3db75d8@shawn> from Shawn Ramsey at "Jul 20, 2003 00:56:36 am" To: shawn@buzzardnews.com (Shawn Ramsey) Date: Sun, 20 Jul 2003 12:21:59 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030720192159.8778037B405@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-net@FreeBSD.ORG Subject: Re: Lots of input errors... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 19:22:00 -0000 > > I would say the physical wire is probably bad. Seeing unidirectional > errors > > in this case wouldn't be uncommon; one of the pair of the receive wires > may > > have issues. Have you swapped the cable? Most of the time you won't see > > framing errors related to duplex mismatching. > > It turned out to be a NIC issue. It was a 3COM 3c980C-TXM or something like > that... I switched it to the braindead rl0 onboard adapter and the errors, > and problems went away... pretty sad that "The worst ethernet adapter ever > made" (according to the person who wrote the driver) beats out a pricey 3com > adapter, although its probably just a driver issue. It doesn't really 'beat out' the 3Com. It just happens not to be flagging any RX errors in this one particular case. Sadly, it looks like we'll never know the real reason for the RX errors with the 3Com now that you've swapped it out. There are a couple of reasons why the xl driver might be reporting input errors: 1) Unable to allocate a new mbuf in xl_rxeof() 2) XL_RXSTAT_UP_ERROR bit was set in an RX DMA descriptor in xl_rxeof() 3) RX overrun errors detected when reading the internal stats counter registers on the NIC in xl_stats_update(). I don't think you ran out of mbufs (you would have noticed) so that rules out case #1. Checking cases #2 and #3 requires adding a little instrumentation to the driver. If the XL_RXSTAT_UP_ERROR bit is being detected in xl_rxeof(), you can print out the status word and see if any of the following bits are also set: #define XL_RXSTAT_UP_OVERRUN 0x00010000 #define XL_RXSTAT_RUNT 0x00020000 #define XL_RXSTAT_ALIGN 0x00040000 #define XL_RXSTAT_CRC 0x00080000 #define XL_RXSTAT_OVERSIZE 0x00100000 #define XL_RXSTAT_DRIBBLE 0x00800000 #define XL_RXSTAT_UP_OFLOW 0x01000000 You can also add some instrumentation to the xl_update_stats() routine. Something tells me the problem is RX overruns, which means some of the DMA parameters may need to be adjusted a little. However, after going back and trying to dig up the previous e-mails from this thread in the archives, I was unable to locate the following important info: - How fast is this machine? (What CPU, speed, etc...) - You say there's a gigE NIC in this machine too. What kind is it? (Driver, chipset, etc...) I never did see any dmesg output from this box, which would have answered these questions. Also, if you really want to provide some idea about interrupt load, you should run systat -vmstat 1 while the system is busy and note the interrupts per second handled by each device. What I did see was a lot of people holding forth about duplex mismatches which, while they can be annoying, are not the only source of RX errors. A duplex mismatch typically yeilds very low overall throughput and very bursty traffic patterns. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-net@FreeBSD.ORG Sun Jul 20 23:28:14 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1583237B401 for ; Sun, 20 Jul 2003 23:28:14 -0700 (PDT) Received: from kommun.engelholm.se (iris.kommun.engelholm.se [195.216.51.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A5F143F75 for ; Sun, 20 Jul 2003 23:28:12 -0700 (PDT) (envelope-from roger.olofsson@kommun.engelholm.se) Received: from rogers.kommun.engelholm.se (authenticated user ron3000@kommun.engelholm.se) by kommun.engelholm.se (MDaemon.PRO.v6.8.4.R) with ESMTP id 35-md50000000199.tmp for ; Mon, 21 Jul 2003 08:30:20 +0200 Message-Id: <5.2.0.9.1.20030721082700.01f8eea0@mail.kommun.engelholm.se> X-Sender: ron3000@mail.kommun.engelholm.se X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 21 Jul 2003 08:27:15 +0200 To: freebsd-net@freebsd.org From: Roger Olofsson Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: ron3000@kommun.engelholm.se X-Spam-Processed: kommun.engelholm.se, Mon, 21 Jul 2003 08:30:20 +0200 (not processed: message from valid local sender) X-Return-Path: roger.olofsson@kommun.engelholm.se X-MDaemon-Deliver-To: freebsd-net@freebsd.org cc: kris@obsecurity.org Subject: Re: FreeBSD 5.0 ncplib missing kernel module nwfs.ko? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: roger.olofsson@kommun.engelholm.se List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 06:28:14 -0000 Hello Kris and thank you for your swift reply, I have searched the machine for nwfs.ko and it doesn't exist. I have of=20 course rebuilt kernel with options IPX and recompiled ncplib to make sure=20 that it didn't 'get lost' during that process. I have also cvsupped all-src. When I did this on FreeBSD4.6, 4.4 and older machines it always worked=20 after enabling IPX in kernel and compile in ncplib, is there any other way= =20 of enabling nwfs in the kernel? Btw, the module if_ef.ko is there and IPCrouted is started fine and=20 ifconfig displays the IPX info. Grateful for any response, /Roger At 02:27 2003-07-20 -0700, you wrote: >On Fri, Jul 18, 2003 at 08:50:02AM +0200, Roger Olofsson wrote: > > Dear Mailinglist, > > > > My FreeBSD5.0 tells me "ncp_initlib: can't find kernel module" after= doing > > a mount_nwfs. Kldstat -v tells me that nwfs.ko isn't there. The=20 > if_ef.ko is > > there though. I have options IPX in kernel and the IPXrouted is running > > fine. > >kldstat tells you that the module isn't *loaded*. Have you added nwfs >support to your kernel, or do you have the nwfs.ko module available in >the module load path? > >Kris Med v=E4nlig h=E4lsning Roger Olofsson From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 01:13:53 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34EC237B405 for ; Mon, 21 Jul 2003 01:13:53 -0700 (PDT) Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A6B343FA3 for ; Mon, 21 Jul 2003 01:13:52 -0700 (PDT) (envelope-from ml.ventu@flashnet.it) Received: from soth.ventu (151.38.127.191) by smtp3.libero.it (7.0.012) id 3EE735C600C3B085 for freebsd-net@freebsd.org; Mon, 21 Jul 2003 10:13:50 +0200 Received: from mailer (xanatar.ventu [10.1.2.6]) by soth.ventu (8.12.6p2/8.12.6) with SMTP id h6L8DnoP000403 for ; Mon, 21 Jul 2003 10:13:49 +0200 (CEST) (envelope-from ml.ventu@flashnet.it) Message-Id: <200307210813.h6L8DnoP000403@soth.ventu> To: freebsd-net@freebsd.org Priority: Normal X-Mailer: Post Road Mailer for OS/2 (Green Edition Ver 3.0) Date: Mon, 21 Jul 2003 10:13:49 EST From: Andrea Venturoli X-Scanned-By: MIMEDefang 2.35 Subject: xl0 full duplex X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrea Venturoli List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 08:13:53 -0000 Hello. I have a 3C905 PCI 10Mb/s Ethernet Card, which i configure with: ifconfig_xl0="inet 10.1.2.15 netmask 255.255.255.0" in /etc/rc.conf. ifconfig shows: xl0: flags=8943 mtu 1500 options=3 inet 10.1.2.15 netmask 0xffffff00 broadcast 10.1.2.255 inet 10.1.2.126 netmask 0xffffffff broadcast 10.1.2.126 ether 00:00:5e:00:01:02 media: Ethernet 10baseT/UTP (10baseT/UTP ) I tried: ifconfig xl0 10.1.2.15 netmask 255.255.255.0 mediaopt full-duplex since it is connected to a full-duplex switch. However, network throughput will crawl, i.e, for example, listening to an mp3 from this machine will give 1 sec. of audio, then 1 sec. of silence, then 1 sec. of audio, and so on. Any hint? Is full-duplex known to be broken on this card? Do I do something wrong? bye & Thanks av. P.S. I almost forgot: uname -a gives: FreeBSD bane.ventu 4.7-RELEASE-p10 FreeBSD 4.7-RELEASE-p10 #2: Sun Jul 6 16:13: 25 CEST 2003 root@bane.ventu:/usr/src/sys/compile/BANE i386 From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 02:27:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D11537B401 for ; Mon, 21 Jul 2003 02:27:58 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-119-53-152.dsl.lsan03.pacbell.net [67.119.53.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B8EA43F3F for ; Mon, 21 Jul 2003 02:27:57 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 10CED66D16; Mon, 21 Jul 2003 02:27:53 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id B96A7BBD; Mon, 21 Jul 2003 02:27:52 -0700 (PDT) Date: Mon, 21 Jul 2003 02:27:52 -0700 From: Kris Kennaway To: Roger Olofsson Message-ID: <20030721092752.GA92476@rot13.obsecurity.org> References: <5.2.0.9.1.20030721082700.01f8eea0@mail.kommun.engelholm.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20030721082700.01f8eea0@mail.kommun.engelholm.se> User-Agent: Mutt/1.4.1i cc: freebsd-net@freebsd.org cc: kris@obsecurity.org Subject: Re: FreeBSD 5.0 ncplib missing kernel module nwfs.ko? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 09:27:58 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2003 at 08:27:15AM +0200, Roger Olofsson wrote: > Hello Kris and thank you for your swift reply, >=20 > I have searched the machine for nwfs.ko and it doesn't exist. I have of= =20 > course rebuilt kernel with options IPX and recompiled ncplib to make sure= =20 > that it didn't 'get lost' during that process. I have also cvsupped all-s= rc. options IPX isn't netware filesystem support, it's the IPX networking protocol. > When I did this on FreeBSD4.6, 4.4 and older machines it always worked=20 > after enabling IPX in kernel and compile in ncplib, is there any other wa= y=20 > of enabling nwfs in the kernel? Yes, see LINT. > Btw, the module if_ef.ko is there and IPCrouted is started fine and=20 > ifconfig displays the IPX info. Not relevant for Netware Filesystem support. Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/G7IYWry0BWjoQKURAv2jAJ49cuih1PUKnJ/Bt0rzr8TAhDxRmACg9uwk /w/y8ZZLGOxhDlVH/Jxi3oQ= =u2NR -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 02:52:21 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7276837B401 for ; Mon, 21 Jul 2003 02:52:21 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37C343F3F for ; Mon, 21 Jul 2003 02:52:20 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from www.pursued-with.net (localhost.pursued-with.net [127.0.0.1]) by pursued-with.net (8.12.8p1/8.12.8) with SMTP id h6L9rY7X090908; Mon, 21 Jul 2003 02:53:35 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from 192.168.168.1 (SquirrelMail authenticated user imap) by www.pursued-with.net with HTTP; Mon, 21 Jul 2003 02:53:35 -0700 (PDT) Message-ID: <1157.192.168.168.1.1058781215.squirrel@www.pursued-with.net> In-Reply-To: <200307210813.h6L8DnoP000403@soth.ventu> References: <200307210813.h6L8DnoP000403@soth.ventu> Date: Mon, 21 Jul 2003 02:53:35 -0700 (PDT) From: "Kevin Stevens" To: "Andrea Venturoli" User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-net@freebsd.org Subject: Re: xl0 full duplex X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin_Stevens@pursued-with.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 09:52:21 -0000 > xl0: flags=8943 mtu 1500 > options=3 > inet 10.1.2.15 netmask 0xffffff00 broadcast 10.1.2.255 > inet 10.1.2.126 netmask 0xffffffff broadcast 10.1.2.126 > ether 00:00:5e:00:01:02 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > > I tried: > > ifconfig xl0 10.1.2.15 netmask 255.255.255.0 mediaopt full-duplex > > since it is connected to a full-duplex switch. > > However, network throughput will crawl, i.e, for example, listening to an > mp3 from this machine will give 1 sec. of > audio, then 1 sec. of silence, then 1 sec. of audio, and so on. Do you know that full-duplex is supported and enabled on the switch for 10Mb operation? Some only support half-duplex for 10Mb, others have to be forced. KeS From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 02:54:44 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABEC537B401 for ; Mon, 21 Jul 2003 02:54:44 -0700 (PDT) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CB4743F93 for ; Mon, 21 Jul 2003 02:54:43 -0700 (PDT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (on@banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.3/8.9.3) with ESMTP id h6L9saSr083757; Mon, 21 Jul 2003 16:54:37 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.8.5/8.8.5) id QAA03724; Mon, 21 Jul 2003 16:56:30 +0700 (ICT) Date: Mon, 21 Jul 2003 16:56:30 +0700 (ICT) Message-Id: <200307210956.QAA03724@banyan.cs.ait.ac.th> X-Authentication-Warning: banyan.cs.ait.ac.th: on set sender to on@banyan.cs.ait.ac.th using -f From: Olivier Nicole To: ml.ventu@flashnet.it In-reply-to: <200307210813.h6L8DnoP000403@soth.ventu> (message from Andrea Venturoli on Mon, 21 Jul 2003 10:13:49 EST) References: <200307210813.h6L8DnoP000403@soth.ventu> X-Virus-Scanned: by amavisd-milter (http://amavis.org/) cc: freebsd-net@freebsd.org Subject: Re: xl0 full duplex X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 09:54:45 -0000 > since it is connected to a full-duplex switch. Is the port set to full-duplex? Or to auto configuration? If the last, the default is to fall in half duplex degradated mode. Auto configuration will only work when both ends are set to auto. Olivier From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 03:49:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4420437B401 for ; Mon, 21 Jul 2003 03:49:05 -0700 (PDT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 835FC43FBF for ; Mon, 21 Jul 2003 03:49:04 -0700 (PDT) (envelope-from zel@free.fr) Received: from imptest1-2.proxad.net (impt1-2.free.fr [213.228.0.144]) by postfix3-2.free.fr (Postfix) with ESMTP id 918DFC225 for ; Mon, 21 Jul 2003 12:49:02 +0200 (CEST) Received: by imptest1-2.proxad.net (Postfix, from userid 33) id 89470C24B; Mon, 21 Jul 2003 12:49:02 +0200 (MEST) Received: from 81.80.243.157 ([81.80.243.157]) by impt1-2.free.fr (IMP) with HTTP for ; Mon, 21 Jul 2003 12:49:02 +0200 Message-ID: <1058784542.3f1bc51e40238@impt1-2.free.fr> Date: Mon, 21 Jul 2003 12:49:02 +0200 From: zel@free.fr To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Subject: Pb with nat and redirection X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 10:49:05 -0000 Hye !!! Ok, yesterday, I posted a question, and someone answerd me, but, the solution (or what I've done to install it) failed. Does someone could say me why ? The situation is described below: Ethernet ADSL modem o ---10.0.0.0/24--- A --- 10.1.0.0 / 24 --- | | | 192.168.1.0/24 | | | A is a routing firewall computer (creating a DMZ). (Based on a freeBsd 4.4). Its IP addresses are 10.0.0.1 10.1.0.254 192.168.1.254 Workstations are on 192.168.1.0/24 network and servers are on 10.1.0.0/24. ifconfig on A displays: ep0 ....... ed1 ....... ed2 ....... tun0 ...... .... -> .... .... -> .... The FTP server is 10.1.0.1 so natd is running on A with this parameters: -dynamic -n tun0 -redirect_port tcp 10.1.0.1:ftp ftp But when I try to connect to my FTP server from outside, I receive the classic message : "Connection closed by host", but I can access to my FTP server from inside. What can I do, where is the mistake ? Thanks. From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 04:26:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B753737B401 for ; Mon, 21 Jul 2003 04:26:05 -0700 (PDT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C135243F75 for ; Mon, 21 Jul 2003 04:26:04 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 19eYol-0005oR-00; Mon, 21 Jul 2003 18:26:59 +0700 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 19eYok-0005nS-00; Mon, 21 Jul 2003 18:26:58 +0700 Received: from iclub.nsu.ru (smmsp@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.9/8.12.9) with ESMTP id h6LBPvq4080088; Mon, 21 Jul 2003 18:25:58 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.9/8.12.9/Submit) id h6LAvtrp079334; Mon, 21 Jul 2003 17:57:55 +0700 (NSS) Date: Mon, 21 Jul 2003 17:57:55 +0700 From: Max Khon To: Roger Olofsson Message-ID: <20030721105755.GB74408@iclub.nsu.ru> References: <5.2.0.9.1.20030721082700.01f8eea0@mail.kommun.engelholm.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20030721082700.01f8eea0@mail.kommun.engelholm.se> User-Agent: Mutt/1.4.1i X-Envelope-To: roger.olofsson@kommun.engelholm.se, freebsd-net@freebsd.org, kris@obsecurity.org cc: freebsd-net@freebsd.org cc: kris@obsecurity.org Subject: Re: FreeBSD 5.0 ncplib missing kernel module nwfs.ko? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 11:26:06 -0000 hi, there! On Mon, Jul 21, 2003 at 08:27:15AM +0200, Roger Olofsson wrote: > I have searched the machine for nwfs.ko and it doesn't exist. I have of > course rebuilt kernel with options IPX and recompiled ncplib to make sure > that it didn't 'get lost' during that process. I have also cvsupped all-src. > > When I did this on FreeBSD4.6, 4.4 and older machines it always worked > after enabling IPX in kernel and compile in ncplib, is there any other way > of enabling nwfs in the kernel? > > Btw, the module if_ef.ko is there and IPCrouted is started fine and > ifconfig displays the IPX info. > > Grateful for any response, nwfs is non-functional in FreeBSD 5.0 (it can't even be compiled). You need to upgrade to FreeBSD 5.1. /fjoe From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 14:35:48 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7196A37B401 for ; Mon, 21 Jul 2003 14:35:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AADF143FE9 for ; Mon, 21 Jul 2003 14:35:44 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6LLZiUp004009 for ; Mon, 21 Jul 2003 14:35:44 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6LLZh80004003 for freebsd-net@freebsd.org; Mon, 21 Jul 2003 14:35:43 -0700 (PDT) Date: Mon, 21 Jul 2003 14:35:43 -0700 (PDT) Message-Id: <200307212135.h6LLZh80004003@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 21:35:48 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/04] kern/37761 net process exits but socket is still ESTABLI 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 14:45:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC7F437B407 for ; Mon, 21 Jul 2003 14:45:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B65043F93 for ; Mon, 21 Jul 2003 14:45:56 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6LLjuUp008637 for ; Mon, 21 Jul 2003 14:45:56 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6LLjtKf008631 for freebsd-net@freebsd.org; Mon, 21 Jul 2003 14:45:55 -0700 (PDT) Date: Mon, 21 Jul 2003 14:45:55 -0700 (PDT) Message-Id: <200307212145.h6LLjtKf008631@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 21:45:58 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/04] kern/37761 net process exits but socket is still ESTABLI 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 12:15:20 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5171C37B401; Mon, 21 Jul 2003 12:15:20 -0700 (PDT) Received: from mail.buzzardnews.com (mail.buzzardnews.com [64.235.227.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C149443FA3; Mon, 21 Jul 2003 12:15:19 -0700 (PDT) (envelope-from shawn@buzzardnews.com) Received: from shawn ([216.117.221.133]) by mail.buzzardnews.com (8.11.3/8.11.3) with SMTP id h6LJFFt12015; Mon, 21 Jul 2003 12:15:19 -0700 (PDT) Message-ID: <000401c34fbb$d4b0efb0$85dd75d8@shawn> From: "Shawn Ramsey" To: "Bill Paul" References: <20030720192159.8778037B405@hub.freebsd.org> Date: Mon, 21 Jul 2003 12:11:00 -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.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailman-Approved-At: Mon, 21 Jul 2003 16:15:48 -0700 cc: freebsd-net@FreeBSD.ORG Subject: Re: Lots of input errors... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 19:15:20 -0000 > > > I would say the physical wire is probably bad. Seeing unidirectional > > errors > > > in this case wouldn't be uncommon; one of the pair of the receive wires > > may > > > have issues. Have you swapped the cable? Most of the time you won't see > > > framing errors related to duplex mismatching. > > > > It turned out to be a NIC issue. It was a 3COM 3c980C-TXM or something like > > that... I switched it to the braindead rl0 onboard adapter and the errors, > > and problems went away... pretty sad that "The worst ethernet adapter ever > > made" (according to the person who wrote the driver) beats out a pricey 3com > > adapter, although its probably just a driver issue. > > It doesn't really 'beat out' the 3Com. It just happens not to be > flagging any RX errors in this one particular case. Sadly, it looks > like we'll never know the real reason for the RX errors with the 3Com > now that you've swapped it out. It is not just a matter of flagging errors, we were having trouble pushing greater than say 110-120Mb with the 3COM, the rl0 does 160 easily which is our typical traffic.How much higher it will go im not sure, but it is clearing "beating" the 3com from a performance standpoint. Another stange thing about the 3com we replaced was, we made a replacement cable that would not connect properly. It would fit and snap into every other nic including another 3com. Perhaps there was something phsyically wrong with the card. > There are a couple of reasons why the xl driver might be reporting > input errors: > > 1) Unable to allocate a new mbuf in xl_rxeof() > 2) XL_RXSTAT_UP_ERROR bit was set in an RX DMA descriptor in xl_rxeof() > 3) RX overrun errors detected when reading the internal stats counter > registers on the NIC in xl_stats_update(). > > I don't think you ran out of mbufs (you would have noticed) so that > rules out case #1. Checking cases #2 and #3 requires adding a little > instrumentation to the driver. If the XL_RXSTAT_UP_ERROR bit is being > detected in xl_rxeof(), you can print out the status word and see > if any of the following bits are also set: > > #define XL_RXSTAT_UP_OVERRUN 0x00010000 > #define XL_RXSTAT_RUNT 0x00020000 > #define XL_RXSTAT_ALIGN 0x00040000 > #define XL_RXSTAT_CRC 0x00080000 > #define XL_RXSTAT_OVERSIZE 0x00100000 > #define XL_RXSTAT_DRIBBLE 0x00800000 > #define XL_RXSTAT_UP_OFLOW 0x01000000 > > You can also add some instrumentation to the xl_update_stats() routine. > Something tells me the problem is RX overruns, which means some of > the DMA parameters may need to be adjusted a little. However, after > going back and trying to dig up the previous e-mails from this thread > in the archives, I was unable to locate the following important info: > > - How fast is this machine? (What CPU, speed, etc...) > - You say there's a gigE NIC in this machine too. What kind is it? > (Driver, chipset, etc...) GigeE is an Intel fiber card, I don't know the exact model, but it uses the em driver. The machine in question is an Athlon XP 2000, 256MB ram. We had planned on upgrading it to 1GB RAM since we had some spare ram for the new MB, but we never replaced the MB due to the fact the problem seems to be NIC related. > What I did see was a lot of people holding forth about duplex mismatches > which, while they can be annoying, are not the only source of RX errors. > A duplex mismatch typically yeilds very low overall throughput and very > bursty traffic patterns. I can assure you that errors we were getting were not the result of a duplex mismatch... From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 03:41:57 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D49C37B401 for ; Tue, 22 Jul 2003 03:41:57 -0700 (PDT) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0BEE43FBD for ; Tue, 22 Jul 2003 03:41:56 -0700 (PDT) (envelope-from zel@free.fr) Received: from impt3-1.proxad.net (impt3-1.free.fr [213.228.0.81]) by postfix4-1.free.fr (Postfix) with ESMTP id EEF6F3F0B9 for ; Tue, 22 Jul 2003 12:41:49 +0200 (CEST) Received: by impt3-1.proxad.net (Postfix, from userid 33) id DC6C6C46B; Tue, 22 Jul 2003 12:41:49 +0200 (MEST) Received: from 81.80.243.157 ([81.80.243.157]) by impt3-1.free.fr (IMP) with HTTP for ; Tue, 22 Jul 2003 12:41:49 +0200 Message-ID: <1058870509.3f1d14ed08f69@impt3-1.free.fr> Date: Tue, 22 Jul 2003 12:41:49 +0200 From: zel@free.fr To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Subject: [net]pb of newbee !!! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 10:41:57 -0000 Here is my problem... Ethernet 10.0.0.0/24 <-----> 192.168.1.0/24 workstations. ADSL <---- FreeBSD firewalling routing Modem <-----> 10.1.0.0/24 servers (DMZ) So the firewall has some net interfaces: ep0, ed1 and ed2 but also tun0 for ADSL pppoe... I use natd for nating all packets through Internet but I would like offer a FTP service over Internet and my local AREA. My FTP server is launched on an another FreeBSD computer placed in the DMZ. Currently, all workstations can access to it, and the firewall too. But, I cannot access to my FTP server from outside... Someone gave me the following solution but, it does not work... (possibly due to a mystake in my configuration) natd -dynamic -n tun0 -redirect_port 10.1.0.1:ftp ftp (10.1.0.1 is the ftp server IP address). When I look what it is spending, i got the following results. tun0 receive the incoming packet but does not forward it to the good computer. (ftp client shows so the classic message: "connection closed by host", which is meaning that the ftp client try to connect to the firewall instead of the ftp server) So: What I have to do to make it works ? Thanks for your help... Sylvain. From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 03:43:03 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 1FE5537B413; Tue, 22 Jul 2003 03:43:03 -0700 (PDT) To: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, freebsd-hardwre@FreeBSD.ORG, freebsd-chat@FreeBSD.ORG Date: Tue, 22 Jul 2003 03:43:03 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030722104303.1FE5537B413@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Subject: nVidia nForce2 potential owners please read X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 10:43:03 -0000 From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 08:01:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A314337B401; Tue, 22 Jul 2003 08:01:58 -0700 (PDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C86A843F93; Tue, 22 Jul 2003 08:01:57 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9/8.12.8) with ESMTP id h6MF1tRa005847; Tue, 22 Jul 2003 11:01:56 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.2.0.9.0.20030722105600.05edc6e8@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 22 Jul 2003 11:02:40 -0400 To: questions@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (lava/20020517) cc: freebsd-net@freebsd.org Subject: Increasing interface queues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 15:01:59 -0000 We have a box terminating a lot of MPD tunnels from dialup connections. When the modems at remote sites renegotiate due to poor line quality, there will be a pause in the flow of data. Occasionally, the interface on the terminating side will get a "no buffer space" as data is accumulating to be sent out. Is there a way for me to increase those queue sizes so that the server's queue has more room to hold the data until the other end is ready to receive again ? The only sysctl var I could see % sysctl -a | grep -i queue net.inet.ip.intr_queue_maxlen: 50 net.inet.ip.intr_queue_drops: 0 p1003_1b.sigqueue_max: 0 I dont think is related to this issue. These are all netgraph interfaces BTW. Thanks, ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 08:29:51 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 2F96537B401; Tue, 22 Jul 2003 08:29:51 -0700 (PDT) To: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG, freebsd-chat@FreeBSD.ORG Date: Tue, 22 Jul 2003 08:29:51 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030722152951.2F96537B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Subject: nVidia nForce2 potential owners please read (take two) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 15:29:51 -0000 This only made it to one list the first time, trying again. These newfangled computer things clearly can't be trusted. ------------------------------------------------------------------------- Ok, so, it occured to me recently to try to convince nVidia to cough up programming documentation for their MCP ethernet controller. However, in order to do that, I need to be able to show that there is in fact sufficient demand for a FreeBSD (or even NetBSD or OpenBSD) driver to make it worth their while. nVidia doesn't listen to end users, only OEMs, and if the OEMs don't ask for support for a given OS, then support will not materialize. My goal is to convince them to pull their heads far enough out from between their legs to realize that Linux is not the be-all, end-all of open source, and that just because OEMs haven't mentioned FreeBSD, NetBSD or OpenBSD by name doesn't mean there aren't people who want MCP ethernet support in BSD. For this, I need your help. What I need is to gather proof of demand. What I want you do to is e-mail me (oh god, I can't believe I'm setting myself up for this) if: - You wanted to purchase a computer system with an nVidia nForce2 chipset but _didn't_ once you realized there was no BSD driver support for the on-board ethernet. - You bought an nVidia nForce2 system without realizing the on-board ethernet wasn't supported in BSD, were really disappointed once you found out, and complained to the manufacturer _OR_ you wanted to complain but didn't (because you weren't sure who to complain to, or you didn't get around to it yet, or you forgot, or you were abducted by aliens, or your dog ate your homework, or whatever). - You are in a position to approve or recommend the purchase of a computer system (or several systems) for your company, research group, espionage organization or other institution with money to spend, but won't because there's no BSD driver support for the on-board ethernet. - You never heard of nVidia, the nForce2 or the MCP ethernet controller until I mentioned them, but now that you have, and you've gone out and searched the interweb or visited your local computer store, you think they're all really spiffy and would happily buy an nForce2 system, but will hold off until there's a BSD driver for the on-board ethernet. - You want to give me free large bags of cash. Do *NOT* e-mail me if: - You want me to help you transfer a large sum of money out of Nigeria or some other African nation. - You think I'm dying of cancer and my dying wish is to collect e-mails from all over the world. - You think I want to MAKE MONEY FAST (if I wanted to do that, I wouldn't be writing device drivers for free). - You work for SCO or the RIAA. I think you get the idea. Consider it a petition of sorts. All I need is an e-mail from you, with a line or two explaining your particular circumstances. If you did not buy an nForce2-based computer due to lack of BSD support, say so. If you did, but you were pissed by the lack of BSD support, say so. If you told your friends, relatives, cow-orkers or purchasing office not to buy nForce2-based computers because of the lack of BSD support, say so. Cite the OEM vendor of the computer (or computer) and the model (or models) where appropriate. If more than one computer was involved, say how many. Every lost sale or dissatisfied customer I can present as evidence makes it that much easier to convince nVidia to unclench its tight... fists... and provide the documentation needed to write a BSD driver. NOTE: Please do make up phony e-mails just to bloat the figures or or cobble together a perl script to send me hundreds of auto-generated messages from forged addresses. Play nice, you scum. So, send your cards and letters to wpaul@freebsd.org. And don't be afraid to spread the word. Ask other people on other mailing lists. Ask your friends. Ask your enemies. Ask not what your OS can do for you: ask what you can do for your OS. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 11:10:51 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7441237B401 for ; Tue, 22 Jul 2003 11:10:51 -0700 (PDT) Received: from web21003.mail.yahoo.com (web21003.mail.yahoo.com [216.136.227.57]) by mx1.FreeBSD.org (Postfix) with SMTP id EE56343F85 for ; Tue, 22 Jul 2003 11:10:50 -0700 (PDT) (envelope-from vovanvinh2001@yahoo.com) Message-ID: <20030722181050.66382.qmail@web21003.mail.yahoo.com> Received: from [203.162.5.197] by web21003.mail.yahoo.com via HTTP; Tue, 22 Jul 2003 11:10:50 PDT Date: Tue, 22 Jul 2003 11:10:50 -0700 (PDT) From: Van Vinh Vo To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: history of freeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:10:51 -0000 freeBSD is developped from BSD 4.4 lite, freeBSD 1.0 hit the market in 1993, BSD 4.4 lite was born in 1994 Please, you explain me this situation Thanks, Vinh ! __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 11:14:33 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C5F37B401 for ; Tue, 22 Jul 2003 11:14:33 -0700 (PDT) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C785843F3F for ; Tue, 22 Jul 2003 11:14:30 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.9/8.12.8) with ESMTP id h6MIEUiv051161; Tue, 22 Jul 2003 11:14:30 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.9/8.12.9/Submit) id h6MIETo0051158; Tue, 22 Jul 2003 11:14:29 -0700 (PDT) Date: Tue, 22 Jul 2003 11:14:29 -0700 From: Matthew Hunt To: Van Vinh Vo Message-ID: <20030722181429.GA50788@wopr.caltech.edu> References: <20030722181050.66382.qmail@web21003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030722181050.66382.qmail@web21003.mail.yahoo.com> User-Agent: Mutt/1.5.1i cc: freebsd-net@freebsd.org Subject: Re: history of freeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:14:33 -0000 On Tue, Jul 22, 2003 at 11:10:50AM -0700, Van Vinh Vo wrote: > freeBSD is developped from BSD 4.4 lite, No, FreeBSD 2.0 was developed (partially) from 4.4-LITE. See /usr/share/misc/bsd-family-tree. And this is not a networking question. Please direct your inquiries to a more appropriate list (-questions or -chat in this case). -- Matthew Hunt * Science rules. http://www.pobox.com/~mph/ * From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 11:14:38 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01F1637B401 for ; Tue, 22 Jul 2003 11:14:38 -0700 (PDT) Received: from web21008.mail.yahoo.com (web21008.mail.yahoo.com [216.136.227.62]) by mx1.FreeBSD.org (Postfix) with SMTP id AEB9A43F3F for ; Tue, 22 Jul 2003 11:14:37 -0700 (PDT) (envelope-from vovanvinh2001@yahoo.com) Message-ID: <20030722181437.83175.qmail@web21008.mail.yahoo.com> Received: from [203.162.5.197] by web21008.mail.yahoo.com via HTTP; Tue, 22 Jul 2003 11:14:37 PDT Date: Tue, 22 Jul 2003 11:14:37 -0700 (PDT) From: Van Vinh Vo To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: net/1 - net/2 - net/3 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:14:38 -0000 what is net/1 ? net/2 ? net/3, what is the current net now ? Thanks, Vinh __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 11:38:18 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B77C37B401 for ; Tue, 22 Jul 2003 11:38:18 -0700 (PDT) Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.230.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADF7143F75 for ; Tue, 22 Jul 2003 11:38:17 -0700 (PDT) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca ([192.168.42.253]) by orthanc.ab.ca (8.12.6p2/8.12.6) with ESMTP id h6MIcHUW002991; Tue, 22 Jul 2003 12:38:17 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Date: Tue, 22 Jul 2003 12:38:16 -0600 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Van Vinh Vo From: Lyndon Nerenberg In-Reply-To: <20030722181050.66382.qmail@web21003.mail.yahoo.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: freebsd-net@freebsd.org Subject: Re: history of freeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:38:18 -0000 On Tuesday, July 22, 2003, at 12:10 PM, Van Vinh Vo wrote: > freeBSD is developped from BSD 4.4 lite, > freeBSD 1.0 hit the market in 1993, > BSD 4.4 lite was born in 1994 > Please, you explain me this situation See http://www.oreilly.com/catalog/opensources/book/kirkmck.html --lyndon From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 12:10:25 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9AC137B401 for ; Tue, 22 Jul 2003 12:10:25 -0700 (PDT) Received: from pcslink.com (pcslink.com [208.145.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DD3143F93 for ; Tue, 22 Jul 2003 12:10:25 -0700 (PDT) (envelope-from ryan@pcslink.com) Received: (from ryan@localhost) by pcslink.com (8.9.3/8.9.2) id MAA19631 for freebsd-net@freebsd.org; Tue, 22 Jul 2003 12:10:24 -0700 (MST) (envelope-from ryan) Date: Tue, 22 Jul 2003 09:10:24 -1000 From: Ryan Mooney To: freebsd-net@freebsd.org Message-ID: <20030722191024.GA16760@pcslink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: 10Ge drivers? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 19:10:26 -0000 Is anyone working on a driver for the Intel 10Ge card (I think they're the only one actually shipping...)? I was looking to give one a try on something other than linux :) -- >-=-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-<>-=-=-=-=-=-=-< Ryan Mooney ryan@pcslink.com <-=-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-><-=-=-=-=-=-=-> From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 14:29:34 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4945137B401 for ; Tue, 22 Jul 2003 14:29:34 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29FCF43F3F for ; Tue, 22 Jul 2003 14:29:31 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6MLTK0U098260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jul 2003 00:29:21 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6MLTHM5098228; Wed, 23 Jul 2003 00:29:17 +0300 (EEST) (envelope-from ru) Date: Wed, 23 Jul 2003 00:29:17 +0300 From: Ruslan Ermilov To: Brett Glass Message-ID: <20030722212917.GB96342@sunbay.com> References: <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <200307181604.KAA13438@lariat.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline In-Reply-To: <200307181604.KAA13438@lariat.org> User-Agent: Mutt/1.5.4i cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 21:29:34 -0000 --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2003 at 10:04:52AM -0600, Brett Glass wrote: > > if you are running a poptop pptp server and you want multiple clients > > connecting to this one pptp server; make sure you get the GRE ID update > > (poptop always sets the id to 0 - messes up two connections). >=20 > Is this update in the FreeBSD port/package for poptop? (It should be.) > If not, where can the update be obtained? >=20 Why not just use mpd? Much more stable and robust. It's also one of the PPTP servers that's known to work around the limitation documented in the BUGS section of the libalias(3) manpage. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/HaytUkv4P6juNwoRAm4TAJ0e4EsQ3Myc8Hoxg3USYcuyzqG6AwCfUb4t cqvliini/DbBneJ5pVxYlUY= =o/RK -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt-- From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 15:07:01 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6853637B401 for ; Tue, 22 Jul 2003 15:07:01 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D1F43FAF for ; Tue, 22 Jul 2003 15:06:59 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (h81.vuokselantie10.fi [193.64.42.129]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h6MM6tsL094761; Wed, 23 Jul 2003 01:06:55 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <023c01c3509d$8df929b0$812a40c1@PETEX31> From: "Petri Helenius" To: "Ryan Mooney" , References: <20030722191024.GA16760@pcslink.com> Date: Wed, 23 Jul 2003 01:06:50 +0300 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 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: 10Ge drivers? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 22:07:01 -0000 > > Is anyone working on a driver for the Intel 10Ge card (I think they're > the only one actually shipping...)? I was looking to give one a try on > something other than linux :) > Since intel provided the 1Ge driver, I would suspect them to come up with the 10Ge one. The 10Ge part does not seem to have too much new stuff compared to the more advanced em parts. Pete From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 18:43:15 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE76B37B401; Tue, 22 Jul 2003 18:43:15 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A1343F93; Tue, 22 Jul 2003 18:43:14 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id TAA29487; Tue, 22 Jul 2003 19:43:08 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030722194139.03a7a860@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 22 Jul 2003 19:43:05 -0600 To: Ruslan Ermilov From: Brett Glass In-Reply-To: <20030722212917.GB96342@sunbay.com> References: <200307181604.KAA13438@lariat.org> <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <200307181604.KAA13438@lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 01:43:16 -0000 At 03:29 PM 7/22/2003, Ruslan Ermilov wrote: >Why not just use mpd? Because it's completely inadequate as a server. It needs one Netgraph node, and a complete configuration, for every possible client that might ever connect to it. And if lots of clients connect, it eats tons of kernel RAM. We might use mpd as a client, but not a server. --Brett From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 18:49:44 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEC8437B401 for ; Tue, 22 Jul 2003 18:49:44 -0700 (PDT) Received: from eagle.sasktel.net (eagle.sasktel.net [142.165.19.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07AD643F75 for ; Tue, 22 Jul 2003 18:49:44 -0700 (PDT) (envelope-from topcat@sk.sympatico.ca) Received: from sk.sympatico.ca (regnsk01d05030132.sk.sympatico.ca [142.165.28.32]) by eagle.sasktel.net (SaskTel Mail Service) with ESMTP id <0HIG00L0DFJNLY@eagle.sasktel.net> for net@freebsd.org; Tue, 22 Jul 2003 19:45:25 -0600 (CST) Content-return: allowed Date: Tue, 22 Jul 2003 19:45:24 -0600 From: TOPCAT CONSULTING Sender: root@regnsk01d05030132.sk.sympatico.ca To: Brett Glass Message-id: <3F1DE8B3.444354FC@sk.sympatico.ca> MIME-version: 1.0 X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-RELEASE i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <200307181604.KAA13438@lariat.org> <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <200307181604.KAA13438@lariat.org> <4.3.2.7.2.20030722194139.03a7a860@localhost> cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 01:49:45 -0000 Brett Glass wrote: > At 03:29 PM 7/22/2003, Ruslan Ermilov wrote: > > >Why not just use mpd? > > Because it's completely inadequate as a server. It needs one > Netgraph node, and a complete configuration, for every possible > client that might ever connect to it. And if lots of clients > connect, it eats tons of kernel RAM. > > We might use mpd as a client, but not a server. > > --Brett ditto! From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 19:04:30 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F9F937B401; Tue, 22 Jul 2003 19:04:30 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C16543FA3; Tue, 22 Jul 2003 19:04:29 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id UAA29613; Tue, 22 Jul 2003 20:04:23 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030722200154.039576d0@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 22 Jul 2003 20:04:21 -0600 To: Ruslan Ermilov From: Brett Glass In-Reply-To: <20030722212917.GB96342@sunbay.com> References: <200307181604.KAA13438@lariat.org> <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <200307181604.KAA13438@lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 02:04:30 -0000 By the way, one thing that MIGHT work instead of PoPToP is to create something like FreeBSD's pppoed for pptp. It'd connect the Netgraph PPTP implementation to userland PPP, in much the same way that pppoed connects the Netgraph PPPoE implementation to userland PPP. I'll bet that Brian Somers could crank this out in a hurry, since he was the author of pppoed. Maybe we should commission it. --Brett Glass From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 20:18:04 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F49C37B401 for ; Tue, 22 Jul 2003 20:18:04 -0700 (PDT) Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 87C1E43F3F for ; Tue, 22 Jul 2003 20:18:03 -0700 (PDT) (envelope-from kudzu@tenebras.com) Received: (qmail 19647 invoked from network); 23 Jul 2003 03:18:00 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by 0 with SMTP; 23 Jul 2003 03:18:00 -0000 Message-ID: <3F1DFE68.4040307@tenebras.com> Date: Tue, 22 Jul 2003 20:18:00 -0700 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, zh-tw, zh-cn, fr, en, de-de MIME-Version: 1.0 To: Brett Glass References: <200307181604.KAA13438@lariat.org> <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <200307181604.KAA13438@lariat.org> <4.3.2.7.2.20030722200154.039576d0@localhost> In-Reply-To: <4.3.2.7.2.20030722200154.039576d0@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 03:18:04 -0000 Brett Glass wrote: > I'll bet that Brian Somers could crank this out in a hurry... Yes, but it would be an awfulhak. (so, shoot me...) From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 21:00:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C4C37B404; Tue, 22 Jul 2003 21:00:10 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id F170943F3F; Tue, 22 Jul 2003 21:00:08 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA84763; Tue, 22 Jul 2003 20:55:59 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.8/8.12.6) with ESMTP id h6N3twKo017441; Tue, 22 Jul 2003 20:55:58 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.8/8.12.8/Submit) id h6N3twQw017440; Tue, 22 Jul 2003 20:55:58 -0700 (PDT) From: Archie Cobbs Message-Id: <200307230355.h6N3twQw017440@arch20m.dellroad.org> In-Reply-To: <5.2.0.9.0.20030722105600.05edc6e8@209.112.4.2> To: Mike Tancsa Date: Tue, 22 Jul 2003 20:55:58 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@FreeBSD.ORG cc: questions@FreeBSD.ORG Subject: Re: Increasing interface queues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 04:00:10 -0000 Mike Tancsa wrote: > We have a box terminating a lot of MPD tunnels from dialup > connections. When the modems at remote sites renegotiate due to poor line > quality, there will be a pause in the flow of data. Occasionally, the > interface on the terminating side will get a "no buffer space" as data is > accumulating to be sent out. Is there a way for me to increase those queue > sizes so that the server's queue has more room to hold the data until the > other end is ready to receive again ? > > The only sysctl var I could see > % sysctl -a | grep -i queue > net.inet.ip.intr_queue_maxlen: 50 > net.inet.ip.intr_queue_drops: 0 > p1003_1b.sigqueue_max: 0 > > I dont think is related to this issue. The ENOBUFS is coming from ng_pptpgre(4) and really means "the PPTP transmit window is full". The fact that PPTP has such a window is itself a bug (L2TP is better). But in any case increasing that queue length is not the right answer.. you actually want short queues (just long enough to handle burstiness in the flow of packets) to avoid excessive latency, and to let TCP etc. do its thing. If you want ng_pptpgre(4) to just silently drop the packets instead apply the patch below. -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com Index: ng_pptpgre.c =================================================================== RCS file: /home/ncvs/src/sys/netgraph/ng_pptpgre.c,v retrieving revision 1.2.2.13 diff -u -r1.2.2.13 ng_pptpgre.c --- ng_pptpgre.c 10 Oct 2002 18:27:54 -0000 1.2.2.13 +++ ng_pptpgre.c 23 Jul 2003 03:55:52 -0000 @@ -491,7 +491,7 @@ >= a->xmitWin) { priv->stats.xmitDrops++; NG_FREE_DATA(m, meta); - return (ENOBUFS); + return (0); } /* Sanity check frame length */ From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 23:21:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C3E37B405; Tue, 22 Jul 2003 23:21:58 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE04843F93; Tue, 22 Jul 2003 23:21:57 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003072306215701300n8492e>; Wed, 23 Jul 2003 06:21:57 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA55381; Tue, 22 Jul 2003 23:21:56 -0700 (PDT) Date: Tue, 22 Jul 2003 23:21:55 -0700 (PDT) From: Julian Elischer To: Brett Glass In-Reply-To: <4.3.2.7.2.20030722194139.03a7a860@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 06:21:58 -0000 it needs one netgraph node... fullstop it uses negligable kernel ram per session 1node handles lots of sessions On Tue, 22 Jul 2003, Brett Glass wrote: > At 03:29 PM 7/22/2003, Ruslan Ermilov wrote: > > >Why not just use mpd? > > Because it's completely inadequate as a server. It needs one > Netgraph node, and a complete configuration, for every possible > client that might ever connect to it. And if lots of clients > connect, it eats tons of kernel RAM. > > We might use mpd as a client, but not a server. > > --Brett > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Tue Jul 22 23:43:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66BFA37B401 for ; Tue, 22 Jul 2003 23:43:05 -0700 (PDT) Received: from jawa.at (jawa.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 126EA43F93 for ; Tue, 22 Jul 2003 23:43:04 -0700 (PDT) (envelope-from mbretter@jawa.at) Received: from dings.jawa.at (dings.jawa.at [192.168.200.60]) by jawa.at (8.12.8p1/8.12.8) with ESMTP id h6N6gu3D078674; Wed, 23 Jul 2003 08:42:56 +0200 (CEST) (envelope-from mbretter@jawa.at) Date: Wed, 23 Jul 2003 08:43:29 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=) From: Michael Bretterklieber To: Brett Glass In-Reply-To: <4.3.2.7.2.20030722194139.03a7a860@localhost> Message-ID: References: <200307181604.KAA13438@lariat.org> <0AF1BBDF1218F14E9B4CCE414744E70F1F3DF4@exchange.wanglobal.net> <4.3.2.7.2.20030722194139.03a7a860@localhost> X-X-Sender: mbretter@files.jawa.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-24.2 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 06:43:05 -0000 Hi, On Tue, 22 Jul 2003, Brett Glass wrote: > At 03:29 PM 7/22/2003, Ruslan Ermilov wrote: > > >Why not just use mpd? > > Because it's completely inadequate as a server. It needs one > Netgraph node, and a complete configuration, for every possible > client that might ever connect to it. And if lots of clients > connect, it eats tons of kernel RAM. > > We might use mpd as a client, but not a server. > I got reports from people who are using 255 bundles and more, some of them had to increase FD_SETSIZE, because they are using more then about 1024 bundles. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com JAWA Management Software GmbH - http://www.jawa.at Tel: ++43-(0)316-403274-12 - GSM: ++43-(0)676-84 03 15 712 ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 04:51:45 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 789C337B401 for ; Wed, 23 Jul 2003 04:51:45 -0700 (PDT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D034843F75 for ; Wed, 23 Jul 2003 04:51:44 -0700 (PDT) (envelope-from zel@free.fr) Received: from imptest1-2.proxad.net (impt1-2.free.fr [213.228.0.144]) by postfix3-2.free.fr (Postfix) with ESMTP id A9F16C114 for ; Wed, 23 Jul 2003 13:51:43 +0200 (CEST) Received: by imptest1-2.proxad.net (Postfix, from userid 33) id A0037C4D9; Wed, 23 Jul 2003 13:51:43 +0200 (MEST) Received: from 81.80.243.157 ([81.80.243.157]) by impt1-2.free.fr (IMP) with HTTP for ; Wed, 23 Jul 2003 13:51:43 +0200 Message-ID: <1058961103.3f1e76cf2ab6f@impt1-2.free.fr> Date: Wed, 23 Jul 2003 13:51:43 +0200 From: zel@free.fr To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Subject: PLEASE HEEEEEELLLLPPPP ME... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 11:51:45 -0000 please HELP !!! Ok... here is my problem that I tried to explain completly ! The situation is the one below: ===================================== |SpeedToucheHome Ethernet ADSL Modem| | 10.0.0.138/24 | ===================================== | 10.0.0.0/24 | ========================== | 10.0.0.1/24 | | (A) 10.1.0.254/24 |- 10.1.0.0/24 - (... DMZ ...) | 192.168.1.254/24 | ========================== | 192.168.1.0/24 | ... clients workstations My problem is about the computer A which does not what I would like It does. Currently, this computer has a customized kernel with thoses options: IPFIREWALL IPDIVERT but not IPFILTER !!! maybe it is the problem, I don't know ! in the rc.conf, I made the following configuration firewall_enabled="YES" firewall_type="SIMPLE" (but I tried too with OPEN") natd_enable="YES" natd_interface="tun0" (this is the interface for PPPoE, I think) natd_flags="-f /etc/natd.conf" ... and in natd.conf: dynamic interface tun0 redirect_port tcp 10.1.0.1:20-21 20-21 10.1.0.1 is the IP address from my FTP server which is a computer placed in the DMZ. My problem is: "from outside, I cannot access to the FTP server..." What I can say is: First: My FTP server is OK because from inside, I can access to it from any computer in DMZ or from clients workstations. Secund: The answer to an outside request is "connection closed by host". Third: Interface tun0 (the virtual interface for PPPoE) receives the ftp request but does not forward them to ed1 (the outside netcard from A and configured with 10.0.0.1). (I discoverd that with tcpdump). (the others interfaces get no more ftp packets from tun0)... So, what can I do to solve this problem... Thank you Sylvain. From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 09:12:20 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A42837B41D; Wed, 23 Jul 2003 09:12:20 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1968B43FA3; Wed, 23 Jul 2003 09:12:17 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id KAA05313; Wed, 23 Jul 2003 10:12:09 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030723100957.02c45840@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 23 Jul 2003 10:12:04 -0600 To: Julian Elischer From: Brett Glass In-Reply-To: References: <4.3.2.7.2.20030722194139.03a7a860@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 16:12:21 -0000 At 12:21 AM 7/23/2003, Julian Elischer wrote: >it needs one netgraph node... fullstop >it uses negligable kernel ram per session >1node handles lots of sessions The way the configuration file works, one node can handle only one client. I tried to work with it when we first began to set up PPTP servers, and gave up; it just wasn't configurable enough. --Brett From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 10:56:17 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0963537B404 for ; Wed, 23 Jul 2003 10:56:17 -0700 (PDT) Received: from web40309.mail.yahoo.com (web40309.mail.yahoo.com [66.218.78.88]) by mx1.FreeBSD.org (Postfix) with SMTP id 25C6C43F3F for ; Wed, 23 Jul 2003 10:56:16 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030723175616.96879.qmail@web40309.mail.yahoo.com> Received: from [165.193.27.35] by web40309.mail.yahoo.com via HTTP; Wed, 23 Jul 2003 10:56:16 PDT Date: Wed, 23 Jul 2003 10:56:16 -0700 (PDT) From: Maksim Yevmenkin To: Craig Miller In-Reply-To: <3F1EC572.4000703@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: mobile@freebsd.org cc: net@freebsd.org Subject: Re: OpenBSD Port: FreeBSD Bluetooth Stack X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 17:56:17 -0000 [cc'd to -net and -mobile] Hello Craig, > Thanks for the great work on the FreeBSD BlueTooth stack. It works great! thank you for trying this. i'm glad it works for you :) > I wanted to introduce myself because I am considering porting the BT stack > work you did to OpenBSD. Before I started digging in I wanted to check with > you and see if you or someone else is already doing this. i'm not aware of any other Bluetooth related work on othe BSD systems. before porting to OpenBSD you should know one thing: Bluetooth stack for FreeBSD is implemented in Netgraph framework. as far as i know Netgraph framework is FreeBSD only. i can see two ways out of this 1) port Netgraph framework to other BSD systems 2) un-Netgraph FreeBSD Bluetooth stack right now i'm slowly moving towards option 2). the goal is to get portable code that all BSD systems can use. Netgraph did a great job for me. i was able to develop working prototype very quickly. right now i'd like to focus on other issues: optimize the code, make it smaller and more user friendly. i also would like to hear people's ideas on how to proceed with this. please feel free to jump in at any point :) > Also, do you have any reccomendations or warnings against any PCMCIA > bluetooth cards? i have two Bluetooth PCMCIA cards: 3COM Bluetooth PC-CARD and Xircom Credit Card Bluetooth Adapter. 3COM card needs special driver + firmware and works well. Xircom card uses standard 16550 UART and sio(4) driver will recognize is modem. Xircom card does not work very well under load (looses bytes - sio(4) FIFO overflow issue). i would not recommend to use PC-CARDs. USB devices are much better. thanks, max __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 13:38:47 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF2D37B401 for ; Wed, 23 Jul 2003 13:38:47 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42D8643FA3 for ; Wed, 23 Jul 2003 13:38:40 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6NKc10U042842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jul 2003 23:38:01 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6NKbv3E042834; Wed, 23 Jul 2003 23:37:57 +0300 (EEST) (envelope-from ru) Date: Wed, 23 Jul 2003 23:37:57 +0300 From: Ruslan Ermilov To: Brett Glass Message-ID: <20030723203757.GB41895@sunbay.com> References: <4.3.2.7.2.20030722194139.03a7a860@localhost> <4.3.2.7.2.20030723100957.02c45840@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20030723100957.02c45840@localhost> User-Agent: Mutt/1.5.4i cc: Julian Elischer cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 20:38:48 -0000 --5G06lTa6Jq83wMTw Content-Type: multipart/mixed; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 23, 2003 at 10:12:04AM -0600, Brett Glass wrote: > At 12:21 AM 7/23/2003, Julian Elischer wrote: > =20 > >it needs one netgraph node... fullstop > >it uses negligable kernel ram per session > >1node handles lots of sessions >=20 > The way the configuration file works, one > node can handle only one client. I tried to > work with it when we first began to set up > PPTP servers, and gave up; it just wasn't > configurable enough. >=20 I pretty much agree. Attached are my configuration files for mpd/pptp; please let me know (Julian) how this could be enhanced to serve more PPTP clients simultaneously (with different IP addresses). I'd appreciate it. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mpd.conf" # $Sunbay: sun-net/hosts/whale/local/etc/mpd/mpd.conf,v 1.3 2003/04/23 14:29:10 ru Exp $ default: load pptp1 load pptp2 load pptp3 load pptp4 load pptp5 load pptp6 load pptp7 load pptp8 load pptp9 load pptp10 load pptp11 load pptp12 load pptp13 load pptp14 load pptp15 load pptp16 pptp1: new -i ng1 pptp1 pptp1 set ipcp ranges 192.168.4.65/32 192.168.100.1/32 load pptp_default pptp2: new -i ng2 pptp2 pptp2 set ipcp ranges 192.168.4.65/32 192.168.100.2/32 load pptp_default pptp3: new -i ng3 pptp3 pptp3 set ipcp ranges 192.168.4.65/32 192.168.100.3/32 load pptp_default pptp4: new -i ng4 pptp4 pptp4 set ipcp ranges 192.168.4.65/32 192.168.100.4/32 load pptp_default pptp5: new -i ng5 pptp5 pptp5 set ipcp ranges 192.168.4.65/32 192.168.100.5/32 load pptp_default pptp6: new -i ng6 pptp6 pptp6 set ipcp ranges 192.168.4.65/32 192.168.100.6/32 load pptp_default pptp7: new -i ng7 pptp7 pptp7 set ipcp ranges 192.168.4.65/32 192.168.100.7/32 load pptp_default pptp8: new -i ng8 pptp8 pptp8 set ipcp ranges 192.168.4.65/32 192.168.100.8/32 load pptp_default pptp9: new -i ng9 pptp9 pptp9 set ipcp ranges 192.168.4.65/32 192.168.100.9/32 load pptp_default pptp10: new -i ng10 pptp10 pptp10 set ipcp ranges 192.168.4.65/32 192.168.100.10/32 load pptp_default pptp11: new -i ng11 pptp11 pptp11 set ipcp ranges 192.168.4.65/32 192.168.100.11/32 load pptp_default pptp12: new -i ng12 pptp12 pptp12 set ipcp ranges 192.168.4.65/32 192.168.100.12/32 load pptp_default pptp13: new -i ng13 pptp13 pptp13 set ipcp ranges 192.168.4.65/32 192.168.100.13/32 load pptp_default pptp14: new -i ng14 pptp14 pptp14 set ipcp ranges 192.168.4.65/32 192.168.100.14/32 load pptp_default pptp15: new -i ng15 pptp15 pptp15 set ipcp ranges 192.168.4.65/32 192.168.100.15/32 load pptp_default pptp16: new -i ng16 pptp16 pptp16 set ipcp ranges 192.168.4.65/32 192.168.100.16/32 load pptp_default pptp_default: set iface up-script /usr/local/etc/mpd/pptp-up.sh set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set bundle no multilink set ipcp yes vjcomp set ipcp dns 192.168.4.65 set ipcp nbns 192.168.4.65 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mpd.links" # $Sunbay: sun-net/hosts/whale/local/etc/mpd/mpd.links,v 1.1 2003/04/10 18:17:25 ru Exp $ pptp1: set link type pptp set pptp enable incoming set pptp disable originate pptp2: set link type pptp set pptp enable incoming set pptp disable originate pptp3: set link type pptp set pptp enable incoming set pptp disable originate pptp4: set link type pptp set pptp enable incoming set pptp disable originate pptp5: set link type pptp set pptp enable incoming set pptp disable originate pptp6: set link type pptp set pptp enable incoming set pptp disable originate pptp7: set link type pptp set pptp enable incoming set pptp disable originate pptp8: set link type pptp set pptp enable incoming set pptp disable originate pptp9: set link type pptp set pptp enable incoming set pptp disable originate pptp10: set link type pptp set pptp enable incoming set pptp disable originate pptp11: set link type pptp set pptp enable incoming set pptp disable originate pptp12: set link type pptp set pptp enable incoming set pptp disable originate pptp13: set link type pptp set pptp enable incoming set pptp disable originate pptp14: set link type pptp set pptp enable incoming set pptp disable originate pptp15: set link type pptp set pptp enable incoming set pptp disable originate pptp16: set link type pptp set pptp enable incoming set pptp disable originate --Bn2rw/3z4jIqBvZU-- --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/HvIlUkv4P6juNwoRArDdAJ9urhdNlqDcmNyqgVw2a/42/fpnnACfX/hU nrsfhwvkOkuftOONz5vK9co= =lrPw -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw-- From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 13:53:11 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D552B37B401; Wed, 23 Jul 2003 13:53:11 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A6A243F3F; Wed, 23 Jul 2003 13:53:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003072320530101500o8bt2e>; Wed, 23 Jul 2003 20:53:01 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA60872; Wed, 23 Jul 2003 13:52:58 -0700 (PDT) Date: Wed, 23 Jul 2003 13:52:56 -0700 (PDT) From: Julian Elischer To: Ruslan Ermilov In-Reply-To: <20030723203757.GB41895@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Brett Glass cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 20:53:12 -0000 forget it.. I had a braino.... I was thinking of some other stuff. sorry for the confusion. On Wed, 23 Jul 2003, Ruslan Ermilov wrote: > On Wed, Jul 23, 2003 at 10:12:04AM -0600, Brett Glass wrote: > > At 12:21 AM 7/23/2003, Julian Elischer wrote: > > > > >it needs one netgraph node... fullstop > > >it uses negligable kernel ram per session > > >1node handles lots of sessions > > > > The way the configuration file works, one > > node can handle only one client. I tried to > > work with it when we first began to set up > > PPTP servers, and gave up; it just wasn't > > configurable enough. > > > I pretty much agree. Attached are my configuration files > for mpd/pptp; please let me know (Julian) how this could > be enhanced to serve more PPTP clients simultaneously > (with different IP addresses). I'd appreciate it. > > > Cheers, > -- > Ruslan Ermilov Sysadmin and DBA, > ru@sunbay.com Sunbay Software Ltd, > ru@FreeBSD.org FreeBSD committer > From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 13:56:19 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C46537B401; Wed, 23 Jul 2003 13:56:19 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B7743F85; Wed, 23 Jul 2003 13:56:17 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003072320561701300n8611e>; Wed, 23 Jul 2003 20:56:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA60913; Wed, 23 Jul 2003 13:56:15 -0700 (PDT) Date: Wed, 23 Jul 2003 13:56:14 -0700 (PDT) From: Julian Elischer To: Ruslan Ermilov In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Brett Glass cc: archie@dellroad.org cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 20:56:19 -0000 On Wed, 23 Jul 2003, Julian Elischer wrote: > forget it.. > I had a braino.... I was thinking of some other stuff. > sorry for the confusion. However I do suggest that you discuss the possibility of enhancing mpd with archie to allow allocation of addresses from a pool. > > On Wed, 23 Jul 2003, Ruslan Ermilov wrote: > > > On Wed, Jul 23, 2003 at 10:12:04AM -0600, Brett Glass wrote: > > > At 12:21 AM 7/23/2003, Julian Elischer wrote: > > > > > > >it needs one netgraph node... fullstop > > > >it uses negligable kernel ram per session > > > >1node handles lots of sessions > > > > > > The way the configuration file works, one > > > node can handle only one client. I tried to > > > work with it when we first began to set up > > > PPTP servers, and gave up; it just wasn't > > > configurable enough. > > > > > I pretty much agree. Attached are my configuration files > > for mpd/pptp; please let me know (Julian) how this could > > be enhanced to serve more PPTP clients simultaneously > > (with different IP addresses). I'd appreciate it. > > > > > > Cheers, > > -- > > Ruslan Ermilov Sysadmin and DBA, > > ru@sunbay.com Sunbay Software Ltd, > > ru@FreeBSD.org FreeBSD committer > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 14:02:09 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 561DE37B401; Wed, 23 Jul 2003 14:02:09 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BF443FA3; Wed, 23 Jul 2003 14:02:08 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id PAA08552; Wed, 23 Jul 2003 15:02:00 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030723145906.02d74bf0@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 23 Jul 2003 15:01:54 -0600 To: Julian Elischer , Ruslan Ermilov From: Brett Glass In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: archie@dellroad.org cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 21:02:09 -0000 At 02:56 PM 7/23/2003, Julian Elischer wrote: >However I do suggest that you discuss the possibility of enhancing mpd >with archie to allow allocation of addresses from a pool. I seem to recall (I could be mistaken here) that Archie has been working with a company that does Wi-Fi access points with PPTP. If these use mpd, they must have a workaround for the limitation. So, the code may already exist. --Brett From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 14:30:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A73A37B401; Wed, 23 Jul 2003 14:30:54 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C63D443F93; Wed, 23 Jul 2003 14:30:49 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6NLUS0U048670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jul 2003 00:30:28 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6NLUS86048665; Thu, 24 Jul 2003 00:30:28 +0300 (EEST) (envelope-from ru) Date: Thu, 24 Jul 2003 00:30:28 +0300 From: Ruslan Ermilov To: Brett Glass Message-ID: <20030723213028.GB48101@sunbay.com> References: <4.3.2.7.2.20030723145906.02d74bf0@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20030723145906.02d74bf0@localhost> User-Agent: Mutt/1.5.4i cc: Julian Elischer cc: net@freebsd.org Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 21:30:54 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 23, 2003 at 03:01:54PM -0600, Brett Glass wrote: > At 02:56 PM 7/23/2003, Julian Elischer wrote: >=20 > >However I do suggest that you discuss the possibility of enhancing mpd= =20 > >with archie to allow allocation of addresses from a pool. >=20 > I seem to recall (I could be mistaken here) that Archie has been working > with a company that does Wi-Fi access points with PPTP. If these use > mpd, they must have a workaround for the limitation. So, the code may > already exist. >=20 IIRC, Archive said that this was a complete (both "from scratch" and proprietary) implementation of an MPD-like system. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/Hv5zUkv4P6juNwoRAqBdAJ9r6oKrr4J7RfL2OvKvPfo776xBNQCfUeB/ 5VYF1Fk7ojqnEN4RUtsPzS4= =yVg9 -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 16:30:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B37F37B401; Wed, 23 Jul 2003 16:30:05 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E80743FCB; Wed, 23 Jul 2003 16:30:04 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id QAA90985; Wed, 23 Jul 2003 16:16:51 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.8/8.12.6) with ESMTP id h6NNGpKo020646; Wed, 23 Jul 2003 16:16:51 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.8/8.12.8/Submit) id h6NNGp4h020645; Wed, 23 Jul 2003 16:16:51 -0700 (PDT) From: Archie Cobbs Message-Id: <200307232316.h6NNGp4h020645@arch20m.dellroad.org> In-Reply-To: <20030723213028.GB48101@sunbay.com> To: Ruslan Ermilov Date: Wed, 23 Jul 2003 16:16:51 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: Brett Glass cc: Julian Elischer cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 23:30:05 -0000 Ruslan Ermilov wrote: > > >However I do suggest that you discuss the possibility of enhancing mpd > > >with archie to allow allocation of addresses from a pool. > > > > I seem to recall (I could be mistaken here) that Archie has been working > > with a company that does Wi-Fi access points with PPTP. If these use > > mpd, they must have a workaround for the limitation. So, the code may > > already exist. > > IIRC, Archive said that this was a complete (both "from scratch" > and proprietary) implementation of an MPD-like system. That's correct.. the code is not released. I'll ask about it again (but don't keep your hopes up). -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 17:40:32 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CDCC37B401; Wed, 23 Jul 2003 17:40:32 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA48543FAF; Wed, 23 Jul 2003 17:40:31 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003072400403101400aoeffe>; Thu, 24 Jul 2003 00:40:31 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA62474; Wed, 23 Jul 2003 17:40:26 -0700 (PDT) Date: Wed, 23 Jul 2003 17:40:25 -0700 (PDT) From: Julian Elischer To: Archie Cobbs In-Reply-To: <200307232316.h6NNGp4h020645@arch20m.dellroad.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Brett Glass cc: Ruslan Ermilov cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 00:40:32 -0000 On Wed, 23 Jul 2003, Archie Cobbs wrote: > Ruslan Ermilov wrote: > > > >However I do suggest that you discuss the possibility of enhancing mpd > > > >with archie to allow allocation of addresses from a pool. > > > > > > I seem to recall (I could be mistaken here) that Archie has been working > > > with a company that does Wi-Fi access points with PPTP. If these use > > > mpd, they must have a workaround for the limitation. So, the code may > > > already exist. > > > > IIRC, Archive said that this was a complete (both "from scratch" > > and proprietary) implementation of an MPD-like system. > > That's correct.. the code is not released. I'll ask about it again > (but don't keep your hopes up). if that fails, how much would it take to allow mpd to use a pool of addresses? > > -Archie > > __________________________________________________________________________ > Archie Cobbs * Halloo Communications * http://www.halloo.com > From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 17:42:28 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C582137B401 for ; Wed, 23 Jul 2003 17:42:28 -0700 (PDT) Received: from pancake.sggw.waw.pl (pancake.sggw.waw.pl [148.81.130.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B516443F93 for ; Wed, 23 Jul 2003 17:42:27 -0700 (PDT) (envelope-from hunter24@pancake.sggw.waw.pl) Received: from pancake.sggw.waw.pl (localhost.localdomain [127.0.0.1]) by pancake.sggw.waw.pl (8.12.8/8.12.5) with ESMTP id h6O0d8eG015893 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 24 Jul 2003 02:39:08 +0200 Received: (from hunter24@localhost) by pancake.sggw.waw.pl (8.12.8/8.12.8/Submit) id h6O0d87v015891 for freebsd-net@freebsd.org; Thu, 24 Jul 2003 02:39:08 +0200 Date: Thu, 24 Jul 2003 02:39:08 +0200 From: Krzysztof Drewicz To: freebsd-net@freebsd.org Message-ID: <20030724003908.GA15877@raszyn.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Subject: libalias/natd and identd support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 00:42:29 -0000 Right now when natd'ing boxes one have to supply a random (fake) ident respone, or simply RST on tcp/135. Libalias&natd could provide simple way to ask 'what is real src ip/port' by knowing outgoin port and IP combination. I've written small patch for that. Natd binds additonal AF_UNIX/DGRAM socket, and asks libalias about connections. They can be fetched from here: http://pancake.sggw.waw.pl/~hunter24/libalias/ Maybe someone could help me w/ integrating 'client.c' into oidentd/src/freebsd.c file or merge it with current development tree ? /usr/src/lib/libalias # cvs diff -u -N -d alias.h alias_db.c | wc -l 157 /usr/src/sbin/natd # cvs diff -u -b -N -d . | wc -l 317 /usr/src/sbin/natd # wc -l client.c ident.c 89 client.c 48 ident.c 137 total -- Krzysztof Drewicz Pods³uchane na pogrzebie: "Wiem, ¿e to niezrêcznie pytaæ o takie rzeczy w tej chwili, ale przypominasz sobie, ¿eby on kiedykolwiek wspomnia³ co¶ o kodzie ¼ród³owym?" --- Charles Addams From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 18:27:51 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C908337B401; Wed, 23 Jul 2003 18:27:51 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D776643F75; Wed, 23 Jul 2003 18:27:50 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id TAA10863; Wed, 23 Jul 2003 19:27:43 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030723192331.02c9bbd0@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 23 Jul 2003 19:27:38 -0600 To: Archie Cobbs , Ruslan Ermilov From: Brett Glass In-Reply-To: <200307232316.h6NNGp4h020645@arch20m.dellroad.org> References: <20030723213028.GB48101@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: Julian Elischer cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 01:27:52 -0000 At 05:16 PM 7/23/2003, Archie Cobbs wrote: >That's correct.. the code is not released. I'll ask about it again >(but don't keep your hopes up). I haven't gotten any hopes up, but it would be nice. It seems as if the only alternatives are to un-GNU PoPToP (which requires a clean room team; possible but not easy) or to create a FreeBSD pptpd that is analogous to pppoed. This would use your work, Archie, since it would use the Netgraph PPTP implementation and "connect" it to userland PPP. It would require the creation of the daemon and some minor changes to the userland implementation of PPP. If they won't release the code, would you be willing to help create the daemon? You're obviously the expert on how netgraph_pptp works. --Brett From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 21:30:06 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F1A37B401; Wed, 23 Jul 2003 21:30:06 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C7BC43F3F; Wed, 23 Jul 2003 21:30:05 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA92564; Wed, 23 Jul 2003 21:23:21 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.8/8.12.6) with ESMTP id h6O4NLKo021756; Wed, 23 Jul 2003 21:23:21 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.8/8.12.8/Submit) id h6O4NLhP021755; Wed, 23 Jul 2003 21:23:21 -0700 (PDT) From: Archie Cobbs Message-Id: <200307240423.h6O4NLhP021755@arch20m.dellroad.org> In-Reply-To: <4.3.2.7.2.20030723192331.02c9bbd0@localhost> To: Brett Glass Date: Wed, 23 Jul 2003 21:23:21 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: Ruslan Ermilov cc: Julian Elischer cc: Archie Cobbs cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 04:30:06 -0000 Brett Glass wrote: > >That's correct.. the code is not released. I'll ask about it again > >(but don't keep your hopes up). > > I haven't gotten any hopes up, but it would be nice. It seems as > if the only alternatives are to un-GNU PoPToP (which requires > a clean room team; possible but not easy) or to create a FreeBSD > pptpd that is analogous to pppoed. This would use your work, Archie, > since it would use the Netgraph PPTP implementation and "connect" it > to userland PPP. It would require the creation of the daemon and > some minor changes to the userland implementation of PPP. If they > won't release the code, would you be willing to help create the > daemon? You're obviously the expert on how netgraph_pptp works. I'd like to, but to be truthful I don't have much time to spare these days... -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 21:30:10 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9419B37B401; Wed, 23 Jul 2003 21:30:10 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB35643F93; Wed, 23 Jul 2003 21:30:09 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA92560; Wed, 23 Jul 2003 21:22:00 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.8/8.12.6) with ESMTP id h6O4M0Ko021747; Wed, 23 Jul 2003 21:22:00 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.8/8.12.8/Submit) id h6O4M07Y021746; Wed, 23 Jul 2003 21:22:00 -0700 (PDT) From: Archie Cobbs Message-Id: <200307240422.h6O4M07Y021746@arch20m.dellroad.org> In-Reply-To: To: Julian Elischer Date: Wed, 23 Jul 2003 21:22:00 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: Brett Glass cc: Ruslan Ermilov cc: Archie Cobbs cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 04:30:10 -0000 Julian Elischer wrote: > > > > >However I do suggest that you discuss the possibility of enhancing mpd > > > > >with archie to allow allocation of addresses from a pool. > > > > > > > > I seem to recall (I could be mistaken here) that Archie has been working > > > > with a company that does Wi-Fi access points with PPTP. If these use > > > > mpd, they must have a workaround for the limitation. So, the code may > > > > already exist. > > > > > > IIRC, Archive said that this was a complete (both "from scratch" > > > and proprietary) implementation of an MPD-like system. > > > > That's correct.. the code is not released. I'll ask about it again > > (but don't keep your hopes up). > > if that fails, how much would it take to allow mpd to use a pool of > addresses? It wouldn't be "too hard" but would require some major surgery to mpd... but it could use some :-) -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 22:16:56 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF6C37B401 for ; Wed, 23 Jul 2003 22:16:56 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7359F43F3F for ; Wed, 23 Jul 2003 22:16:53 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6O5Gm0U092449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jul 2003 08:16:49 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6O5GkK1092434; Thu, 24 Jul 2003 08:16:46 +0300 (EEST) (envelope-from ru) Date: Thu, 24 Jul 2003 08:16:46 +0300 From: Ruslan Ermilov To: Krzysztof Drewicz Message-ID: <20030724051646.GB89174@sunbay.com> References: <20030724003908.GA15877@raszyn.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20030724003908.GA15877@raszyn.pl> User-Agent: Mutt/1.5.4i cc: freebsd-net@freebsd.org Subject: Re: libalias/natd and identd support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 05:16:57 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 24, 2003 at 02:39:08AM +0200, Krzysztof Drewicz wrote: > Right now when natd'ing boxes one have to supply a random (fake) ident=20 > respone, or simply RST on tcp/135. Libalias&natd could provide simple way > to ask 'what is real src ip/port' by knowing outgoin port and IP combinat= ion. >=20 > I've written small patch for that. Natd binds additonal AF_UNIX/DGRAM=20 > socket, and asks libalias about connections. >=20 > They can be fetched from here: http://pancake.sggw.waw.pl/~hunter24/libal= ias/ >=20 > Maybe someone could help me w/ integrating 'client.c' > into oidentd/src/freebsd.c file or merge it with current development tre= e ? >=20 > /usr/src/lib/libalias # cvs diff -u -N -d alias.h alias_db.c | wc -l > 157 > /usr/src/sbin/natd # cvs diff -u -b -N -d . | wc -l > 317 > /usr/src/sbin/natd # wc -l client.c ident.c > 89 client.c > 48 ident.c > 137 total >=20 Last time I looked into it a few years ago, it turned out that we lack some info (sorry, I don't remember the details) to answer IDENT queries correctly. But since you have a patch, perhaps you have solved this problem. Please file a PR for that; I will look into it when I get to libalias/natd PRs. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/H2u+Ukv4P6juNwoRAoI+AJ917wbgSXae91zikZUHtzbGCChgawCeOZdU zRE9OOe+oPslwTFCqXa/yJg= =SP/M -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- From owner-freebsd-net@FreeBSD.ORG Wed Jul 23 22:37:58 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 207F137B401; Wed, 23 Jul 2003 22:37:58 -0700 (PDT) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CFF643F85; Wed, 23 Jul 2003 22:37:57 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id XAA13067; Wed, 23 Jul 2003 23:37:48 -0600 (MDT) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <4.3.2.7.2.20030723233055.02ceaa30@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 23 Jul 2003 23:37:46 -0600 To: Archie Cobbs From: Brett Glass In-Reply-To: <200307240423.h6O4NLhP021755@arch20m.dellroad.org> References: <4.3.2.7.2.20030723192331.02c9bbd0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: Ruslan Ermilov cc: Julian Elischer cc: Archie Cobbs cc: net@FreeBSD.ORG Subject: Re: NAT and PPTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 05:37:58 -0000 At 10:23 PM 7/23/2003, Archie Cobbs wrote: >I'd like to, but to be truthful I don't have much time to spare >these days... Would it be possible for you to spend just a few hours on converting code from mpd's pptp_ctrl.c and pptp.c into the basis of the daemon? The daemon would need to accept incoming "calls" only (which means the code for outgoing calls could be scrubbed), dispatch GRE packets into pipes to instances of "ppp -direct