From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 00:29: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 AAAC116A4BF for ; Mon, 8 Sep 2003 00:29:10 -0700 (PDT) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EA343FAF for ; Mon, 8 Sep 2003 00:29:09 -0700 (PDT) (envelope-from pblok@inter.NL.net) Received: from bsdpc (ip503cf841.speed.planet.nl [80.60.248.65]) by smtp05.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HKV00KCGX21CG@smtp05.wxs.nl> for freebsd-net@freebsd.org; Mon, 08 Sep 2003 09:34:50 +0200 (MEST) Date: Mon, 08 Sep 2003 09:29:07 +0200 From: "Peter J. Blok" To: freebsd-net@freebsd.org Message-id: <200309080929.07976.pblok@inter.NL.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5.3 Subject: OpenBSD enc interface on 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: Mon, 08 Sep 2003 07:29:10 -0000 Hi, Is somebody already taking efforts to include the OpenBSD enc device in FreeBSD? If not, I would like to give it a try. Peter From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 03:37:24 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 BFA8316A4BF for ; Mon, 8 Sep 2003 03:37:24 -0700 (PDT) Received: from smtp.uc3m.es (smtp02.uc3m.es [163.117.136.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54DA243FE0 for ; Mon, 8 Sep 2003 03:37:22 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp02.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id EB9554312E; Mon, 8 Sep 2003 12:37:20 +0200 (CEST) Received: from mira.it.uc3m.es (mira.it.uc3m.es [163.117.140.166]) by smtp02.uc3m.es (Postfix) with ESMTP id 86E5F99FC4; Mon, 8 Sep 2003 12:37:20 +0200 (CEST) From: Juan Rodriguez Hervella Organization: UC3M To: Bruce M Simpson Date: Mon, 8 Sep 2003 12:37:15 +0200 User-Agent: KMail/1.5.3 References: <20030903233510.GC19767@spc.org> <200309041054.13899.jrh@it.uc3m.es> <20030906182929.GO1417@spc.org> In-Reply-To: <20030906182929.GO1417@spc.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309081237.19813.jrh@it.uc3m.es> cc: freebsd-net@freebsd.org Subject: Re: ifconfig(8) does not display tunnel endpoints for gre(4) 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, 08 Sep 2003 10:37:24 -0000 On Saturday 06 September 2003 20:29, Bruce M Simpson wrote: > On Thu, Sep 04, 2003 at 10:54:12AM +0200, Juan Rodriguez Hervella wrote: > > [snipped] > > gre0: flags=b051 mtu 1476 > > inet 192.168.1.1 --> 192.168.2.1 netmask 0xffffff00 > > inet6 fe80::2c0:26ff:fea3:5df6%gre0 prefixlen 64 scopeid 0x5 > > > > > > Besides, I think that every interface already has a link-local IPv6 > > address, so I don't quite catch what you're saying in the PR, which I > > quoted here: > > > > "When the system is compiled with INET6 support, then any instance of > > a tunnel clone interface must have an AF_INET6 address configured on > > it for the tunnel source/destination to be displayed." > > I forgot to mention I've explicitly disabled ip6 link-local addresses > on my machine, via the following sysctl: > > net.inet6.ip6.auto_linklocal: 0 > I thought that linklocal was mandatory on the IPv6 RFC, but I must be wrong :D Ok, good luck! > > BMS -- JFRH From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 05:47:24 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 F231016A50A for ; Mon, 8 Sep 2003 05:47:23 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A61A4400B for ; Mon, 8 Sep 2003 05:47:22 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id 797B3572E for ; Mon, 8 Sep 2003 13:47:20 +0100 (BST) Message-ID: <023901c37607$5850ba00$3601a8c0@ws4> From: "Dan Hardiker" To: References: <20030903233510.GC19767@spc.org><200309041054.13899.jrh@it.uc3m.es> <20030906182929.GO1417@spc.org> <200309081237.19813.jrh@it.uc3m.es> Date: Mon, 8 Sep 2003 13:47:21 +0100 Organization: eOrigen 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: ifconfig(8) does not display tunnel endpoints for gre(4) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 12:47:24 -0000 Hi all, Ive now hit a barrier I just cant cross without help. Theres nothing out on the net and every where I go they point to this newsgroup / mailing list. Here it goes... I have setup MPD to be best of my ability and am getting intermitant packet loss (only with mpd, pinging through when not connected to the vpn works beautifully).I think the root of the problem lies in a non reported issue. When I connect to the VPN I get a connection status box in my XP sys tray. If I open that up I get a list of bytes sent and received, as well as the compression % and number of errors. Compression is always 0% even through I tell mpd to use compression and have checked its enabled in the VPN connection settings. If I sit the machine pinging the LAN IP of the MPD server when connected to the VPN, I start racking up lots of errors. Ive only been pinging for 15 mins and the errors is up to 58. Unfortunatly it doesnt tell me WHAT those errors are, or where to start looking to resolve them. The short of it is that the VPN works, but its paralysingly slow (throughput has been logged via trafshow as being 300 bytes > 3k a sec on a 256kbit ADSL upstream ... averaging mostly around 300-400 bps) and could really do with some pointers as to where to start looking. -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 05:48: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 E2CC616A4BF for ; Mon, 8 Sep 2003 05:48:25 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B42343FBD for ; Mon, 8 Sep 2003 05:48:25 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id 82270572E for ; Mon, 8 Sep 2003 13:48:23 +0100 (BST) Message-ID: <024601c37607$7de4ef70$3601a8c0@ws4> From: "Dan Hardiker" To: Date: Mon, 8 Sep 2003 13:48:24 +0100 Organization: eOrigen 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: MPD Issues - Errors and Mysterious Packet Loss X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 12:48:26 -0000 Hi all, Ive now hit a barrier I just cant cross without help. Theres nothing out on the net and every where I go they point to this newsgroup / mailing list. Here it goes... I have setup MPD to be best of my ability and am getting intermitant packet loss (only with mpd, pinging through when not connected to the vpn works beautifully).I think the root of the problem lies in a non reported issue. When I connect to the VPN I get a connection status box in my XP sys tray. If I open that up I get a list of bytes sent and received, as well as the compression % and number of errors. Compression is always 0% even through I tell mpd to use compression and have checked its enabled in the VPN connection settings. If I sit the machine pinging the LAN IP of the MPD server when connected to the VPN, I start racking up lots of errors. Ive only been pinging for 15 mins and the errors is up to 58. Unfortunatly it doesnt tell me WHAT those errors are, or where to start looking to resolve them. The short of it is that the VPN works, but its paralysingly slow (throughput has been logged via trafshow as being 300 bytes > 3k a sec on a 256kbit ADSL upstream ... averaging mostly around 300-400 bps) and could really do with some pointers as to where to start looking. [sorry for the duplicate, mailer issues] -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 06:38: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 02EC216A4BF for ; Mon, 8 Sep 2003 06:38:10 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1845543FAF for ; Mon, 8 Sep 2003 06:38:09 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h88Dc7JV008046 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 8 Sep 2003 09:38:07 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h88Dc2j42397; Mon, 8 Sep 2003 09:38:02 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16220.34362.594825.422966@grasshopper.cs.duke.edu> Date: Mon, 8 Sep 2003 09:38:02 -0400 (EDT) To: Luigi Rizzo In-Reply-To: <20030906090701.A3163@xorpc.icir.org> References: <16216.63066.954104.582195@grasshopper.cs.duke.edu> <20030906090701.A3163@xorpc.icir.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-net@freebsd.org Subject: Re: TCP Segmentation Offload 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, 08 Sep 2003 13:38:10 -0000 Luigi Rizzo writes: > On Fri, Sep 05, 2003 at 04:47:22PM -0400, Andrew Gallatin wrote: > > > > I've been reading a little about TCP Segmentation Offload (aka TSO). > > We don't appear to support it, but at least 2 of our supported nics > > (e1000 and bge) apparently could support it. > > i believe there is more commercial hype than actual savings in doing > TCP Segmentation Offload. > > With delayed acks (or better, "ack every second packet"), > the sender's TCP typically sends out two > packets at a time. Without delayed acks, it is just one at a > time. So yes, you avoid looping in tcp_output() twice, but I think that the loop in tcp_output() is not such a big deal. IMHO, the bigger savings is from not making extra trips through the driver, and from allowing the adapter to perform a smaller number of large DMAs. Naturally, this is all just speculation until there's an actual implementation which can be profiled ;) Drew From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 07:51:43 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 78CB816A4BF for ; Mon, 8 Sep 2003 07:51:43 -0700 (PDT) Received: from srv00.el.com.br (srv00.el.com.br [200.179.165.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4510943FA3 for ; Mon, 8 Sep 2003 07:51:42 -0700 (PDT) (envelope-from npd@el.com.br) Received: from intranet.el.com.br (srv00.el.com.br [200.179.165.123]) by srv00.el.com.br (elsmtp) with SMTP id 8120C70E39 for ; Mon, 8 Sep 2003 11:51:16 -0300 (BRT) Received: from 172.72.12.194 (SquirrelMail authenticated user npd) by intranet.el.com.br with HTTP; Mon, 8 Sep 2003 11:51:16 -0300 (BRT) Message-ID: <49426.172.72.12.194.1063032676.squirrel@intranet.el.com.br> Date: Mon, 8 Sep 2003 11:51:16 -0300 (BRT) From: npd@el.com.br To: freebsd-net@freebsd.org 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 Subject: 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, 08 Sep 2003 14:51:43 -0000 Hi everyone, We're facing a problem where users(clients) are abusing our wireless network to build VPNs... No known AP has the ability to stop them the way they're doing this - adding 2nd ip to the nic attached to their AP. The solution: Build a hostap and packet filter their traffic. The problem: Interfaces using Intersil/Prism chipsets are being discontinued and Broadcom or other chipsets are on the way now... specially here in Brazil these things are not easy to be found... Any suggestion on how I can block them? Thanks in advance, From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 07:53:02 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 0B27516A4BF for ; Mon, 8 Sep 2003 07:53:02 -0700 (PDT) Received: from srv00.el.com.br (srv00.el.com.br [200.179.165.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0649243FBD for ; Mon, 8 Sep 2003 07:53:01 -0700 (PDT) (envelope-from npd@el.com.br) Received: from intranet.el.com.br (srv00.el.com.br [200.179.165.123]) by srv00.el.com.br (elsmtp) with SMTP id DF93270E3B for ; Mon, 8 Sep 2003 11:52:36 -0300 (BRT) Received: from 172.72.12.194 (SquirrelMail authenticated user npd) by intranet.el.com.br with HTTP; Mon, 8 Sep 2003 11:52:36 -0300 (BRT) Message-ID: <49429.172.72.12.194.1063032756.squirrel@intranet.el.com.br> Date: Mon, 8 Sep 2003 11:52:36 -0300 (BRT) From: npd@el.com.br To: freebsd-net@freebsd.org 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 Subject: 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, 08 Sep 2003 14:53:02 -0000 Hi everyone, We're facing a problem where users(clients) are abusing our wireless network to build VPNs... No known AP has the ability to stop them the way they're doing this - adding 2nd ip to the nic attached to their AP. The solution: Build a hostap and packet filter their traffic. The problem: Interfaces using Intersil/Prism chipsets are being discontinued and Broadcom or other chipsets are on the way now... specially here in Brazil these things are not easy to be found... Any suggestion on how I can block them? Thanks in advance, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson de Domingos Martins mailto:npd@el.com.br Brazil http://www.el.com.br/ E&L Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 07:54:00 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 C39CB16A4C1 for ; Mon, 8 Sep 2003 07:54:00 -0700 (PDT) Received: from srv00.el.com.br (srv00.el.com.br [200.179.165.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9550443FAF for ; Mon, 8 Sep 2003 07:53:58 -0700 (PDT) (envelope-from npd@el.com.br) Received: from intranet.el.com.br (srv00.el.com.br [200.179.165.123]) by srv00.el.com.br (elsmtp) with SMTP id 88DF370E3D for ; Mon, 8 Sep 2003 11:53:34 -0300 (BRT) Received: from 172.72.12.194 (SquirrelMail authenticated user npd) by intranet.el.com.br with HTTP; Mon, 8 Sep 2003 11:53:34 -0300 (BRT) Message-ID: <49430.172.72.12.194.1063032814.squirrel@intranet.el.com.br> Date: Mon, 8 Sep 2003 11:53:34 -0300 (BRT) From: npd@el.com.br To: freebsd-net@freebsd.org 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 Subject: Sorry. Was: No Subject 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, 08 Sep 2003 14:54:00 -0000 Hi everyone, We're facing a problem where users(clients) are abusing our wireless network to build VPNs... No known AP has the ability to stop them the way they're doing this - adding 2nd ip to the nic attached to their AP. The solution: Build a hostap and packet filter their traffic. The problem: Interfaces using Intersil/Prism chipsets are being discontinued and Broadcom or other chipsets are on the way now... specially here in Brazil these things are not easy to be found... Any suggestion on how I can block them? Thanks in advance, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson de Domingos Martins mailto:npd@el.com.br Brazil http://www.el.com.br/ E&L Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 10:19:00 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 B2D2A16A4BF for ; Mon, 8 Sep 2003 10:19:00 -0700 (PDT) Received: from srv00.el.com.br (srv00.el.com.br [200.179.165.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AE843F93 for ; Mon, 8 Sep 2003 10:18:59 -0700 (PDT) (envelope-from npd@el.com.br) Received: from intranet.el.com.br (srv00.el.com.br [200.179.165.123]) by srv00.el.com.br (elsmtp) with SMTP id A225170E39 for ; Mon, 8 Sep 2003 14:18:34 -0300 (BRT) Received: from 172.72.12.194 (SquirrelMail authenticated user npd) by intranet.el.com.br with HTTP; Mon, 8 Sep 2003 14:18:34 -0300 (BRT) Message-ID: <49569.172.72.12.194.1063041514.squirrel@intranet.el.com.br> Date: Mon, 8 Sep 2003 14:18:34 -0300 (BRT) From: npd@el.com.br To: freebsd-net@freebsd.org 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 Subject: Re: Was: No subject 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, 08 Sep 2003 17:19:00 -0000 > Doesn't turning on WEP and MAC addressing filtering stop them from > associating with your AP? That's the problem Jeffrey: No. They're our real Internet clients. No problems with it. The problem is that the add a second ip to their nic and use the physical WLAN to build a VPN. The AP has a MAC filtering capability, but it doesn't associate it with an IP :( Another question just raised: Even if I build a HostAP, will I be able to block them of doing this? Thanks, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson de Domingos Martins mailto:npd@el.com.br Brazil http://www.el.com.br/ E&L Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 11:01:37 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 006BB16A4BF for ; Mon, 8 Sep 2003 11:01:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D056543FE3 for ; Mon, 8 Sep 2003 11:01:35 -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 h88I1ZUp096899 for ; Mon, 8 Sep 2003 11:01:35 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h88I1ZcX096893 for freebsd-net@freebsd.org; Mon, 8 Sep 2003 11:01:35 -0700 (PDT) Date: Mon, 8 Sep 2003 11:01:35 -0700 (PDT) Message-Id: <200309081801.h88I1ZcX096893@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, 08 Sep 2003 18:01:37 -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 Sep 8 11:47: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 A2BBF16A504 for ; Mon, 8 Sep 2003 11:47:48 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F37143FF5 for ; Mon, 8 Sep 2003 11:47:47 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003090818474601300k7lioe>; Mon, 8 Sep 2003 18:47:46 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA34951; Mon, 8 Sep 2003 11:47:43 -0700 (PDT) Date: Mon, 8 Sep 2003 11:47:42 -0700 (PDT) From: Julian Elischer To: Vincent Jardin In-Reply-To: <200309051833.37440.vjardin@free.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Konstantin KABASSANOV cc: net@freebsd.org Subject: Re: adding a teredo node into netgraph 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, 08 Sep 2003 18:47:48 -0000 On Fri, 5 Sep 2003, Vincent Jardin wrote: > Hi, > > > > contact me.. > > > > what is teredo? > > I have been working with Konstantin about it. > It is an IPv6 over UDP/IPv4 migration service. It is supported by Windows XP + > SP1 + Microsoft update. It can be used in order to cross some NATs. > > see > http://www.ietf.org/internet-drafts/draft-huitema-v6ops-teredo-00.txt > > http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/maintain/Teredo.asp > > > Regards, > Vincent > I can imagine this would be quite easy.. I already use mpd across udp packets to implement vpns. assuming that teh ksocket node does ipv6 stuff correctly (I've never tested it) it would seem a "natural" for netgraph. to do this..) From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 12:31: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 8E9D316A4BF for ; Mon, 8 Sep 2003 12:31:58 -0700 (PDT) Received: from mail.dada.it (mail4.dada.it [195.110.100.4]) by mx1.FreeBSD.org (Postfix) with SMTP id B39A743FCB for ; Mon, 8 Sep 2003 12:31:56 -0700 (PDT) (envelope-from ale@unixmania.net) Received: (qmail 10498 invoked from network); 8 Sep 2003 19:31:49 -0000 Received: from unknown (HELO libero.sunshine.ale) (195.110.114.252) by mail.dada.it with SMTP; 8 Sep 2003 19:31:49 -0000 Received: by libero.sunshine.ale (Postfix, from userid 1001) id 4D89F5F56; Mon, 8 Sep 2003 21:31:52 +0200 (CEST) Date: Mon, 8 Sep 2003 21:31:52 +0200 From: Alessandro de Manzano To: net@freebsd.org Message-ID: <20030908213152.A90992@libero.sunshine.ale> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.7-STABLE Subject: MPD authenticating against Win NTLM / LDAP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alessandro de Manzano List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 19:31:58 -0000 Hello, I'm currently and successfully using MPD 3.13 on a 4.7p9 box as PPTP RAS for a bunch of Win2K/XP clients. I'ld know if it is possible to authenticate such users against a Win2K mixed mode domain (NTLM and/or LDAP) instead of manually maintaing a mpd.secret file. Something like Squid does using Samba's winbindd & co. Any hint, suggestion, URL, etc. is welcome :-) Many thanks in advance! -- bye! Ale From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 12:45:08 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 A3A2916A4C0 for ; Mon, 8 Sep 2003 12:45:08 -0700 (PDT) Received: from web40305.mail.yahoo.com (web40305.mail.yahoo.com [66.218.78.84]) by mx1.FreeBSD.org (Postfix) with SMTP id AC13F43FE9 for ; Mon, 8 Sep 2003 12:45:03 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030908194503.4683.qmail@web40305.mail.yahoo.com> Received: from [165.193.27.35] by web40305.mail.yahoo.com via HTTP; Mon, 08 Sep 2003 12:45:03 PDT Date: Mon, 8 Sep 2003 12:45:03 -0700 (PDT) From: Maksim Yevmenkin To: current@freebsd.org, net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Bluetooth stack for FreeBSD (Netgraph) 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, 08 Sep 2003 19:45:08 -0000 Dear Hackers, After a very long delay (sorry!) I'm pleased to announce that I'm still around and new a snapshot can be downloaded from http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030908.tar.gz Here is quick summary: o ng_hci(4) and ng_l2cap(4) kernel modules were changed to fix issue with Netgraph timeouts. Under some conditions it was possible to access data structure that was already free()d. o ng_ubt(4) module was changed to fix compilation issue on -current. o Implemented new libsdp. Linux BlueZ developers did not agree to re-release their code under BSD style licence, so I had to write libsdp. o Added new sdpcontrol(8) utility. This is an analog of sdptool utility from Linux BlueZ SDP package. o rfcomm_sppd(1), rfcomm_pppd(8) and obexapp(1) were changed and now can obtain RFCOMM channel via SDP from the server. The user still has an option to specify RFCOMM channel by hand. o hccontorol(8) utility now has four new commands: Read/Write_Page_Scan_Mode and Read/Write_Page_Scan_Period_Mode. o hcsecd(8) daemon now saves link keys on the disk. It is now not required to pair devices every time. o Few man pages were updated to document the changes. o All ports were updated to recent versions. o All Makefile's were updated. IMPORTANT: if you are building snapshot then you have to use # make -DSNAPSHOT depend # make -DSNAPSHOT # make -DSNAPSHOT install commands. Also you MUST build and install src/lib/libbluetooth and src/lib/libsdp first. Here is the list of things I'm planing to do next: o Prepare patches for FreeBSD source tree o Write SDP server. For now continue use Linux BlueZ SDP server. o Add support for SCO (voice/video) links o Better rc scripts o Think about non-Netgraph portable version Please give it a try and let me know if it workds for you. 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 Mon Sep 8 13:20:16 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 B13C716A4BF for ; Mon, 8 Sep 2003 13:20:16 -0700 (PDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FCB43F75 for ; Mon, 8 Sep 2003 13:20:15 -0700 (PDT) (envelope-from damian@sentex.net) Received: from pegmatite.sentex.ca (pegmatite.sentex.ca [192.168.42.92]) by lava.sentex.ca (8.12.9/8.12.8) with ESMTP id h88KKECk039037; Mon, 8 Sep 2003 16:20:14 -0400 (EDT) (envelope-from damian@sentex.net) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id 338F41715C; Mon, 8 Sep 2003 16:20:07 -0400 (EDT) Date: Mon, 8 Sep 2003 16:20:07 -0400 From: Damian Gerow To: Alessandro de Manzano Message-ID: <20030908202007.GO769@sentex.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key-Id: 0xB841F142 X-GPG-Fingerprint: C7C1 E1D1 EC06 7C86 AF7C 57E6 173D 9CF6 B841 F142 X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i X-Virus-Scanned: By Sentex Communications (lava/20020517) cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP 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, 08 Sep 2003 20:20:16 -0000 Thus spake Alessandro de Manzano (ale@unixmania.net) [08/09/03 15:31]: > I'm currently and successfully using MPD 3.13 on a 4.7p9 box as PPTP > RAS for a bunch of Win2K/XP clients. > > I'ld know if it is possible to authenticate such users against a Win2K > mixed mode domain (NTLM and/or LDAP) instead of manually maintaing a > mpd.secret file. > Something like Squid does using Samba's winbindd & co. > > > Any hint, suggestion, URL, etc. is welcome :-) I *just* joined the mpd mailing list five minutes ago (anyone else having problems sending mail to *@lists.sourceforge.net today?) to find out this *exact* same thing. Ideally, I'd like to get MPD authenticating via PAM, and then I can use pam_winbind to authenticate against a domain. Any pointers or suggestions (this looks like it will take a patch or some coding) would be greatly appreciated. - Damian From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 14:37:31 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 4C2F016A4BF; Mon, 8 Sep 2003 14:37:31 -0700 (PDT) Received: from rs6000.univie.ac.at (rs6000.univie.ac.at [131.130.1.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0C243FCB; Mon, 8 Sep 2003 14:37:30 -0700 (PDT) (envelope-from l.ertl@univie.ac.at) Received: from dialin202.cc.univie.ac.at (dialin202.cc.univie.ac.at [131.130.202.202]) by rs6000.univie.ac.at (8.12.2/8.12.2) with ESMTP id h88LaqKs055342; Mon, 8 Sep 2003 23:37:05 +0200 Date: Mon, 8 Sep 2003 23:36:39 +0200 (CEST) From: Lukas Ertl To: Maksim Yevmenkin In-Reply-To: <20030908194503.4683.qmail@web40305.mail.yahoo.com> Message-ID: <20030908233517.Y2062@korben.in.tern> References: <20030908194503.4683.qmail@web40305.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: net@freebsd.org Subject: Re: Bluetooth stack for FreeBSD (Netgraph) 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, 08 Sep 2003 21:37:31 -0000 On Mon, 8 Sep 2003, Maksim Yevmenkin wrote: > Dear Hackers, > > After a very long delay (sorry!) I'm pleased to announce that I'm still around > and new a snapshot can be downloaded from > > http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030908.tar.gz Max, many thanks from a happy FreeBSD Bluetooth user! I'm going to try the new snapshot as soon as possible. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/ From owner-freebsd-net@FreeBSD.ORG Mon Sep 8 23:50: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 9E24916A4BF for ; Mon, 8 Sep 2003 23:50:54 -0700 (PDT) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC1834400E for ; Mon, 8 Sep 2003 23:50:53 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163])h896otnW087053 for ; Mon, 8 Sep 2003 23:50:55 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Date: Mon, 8 Sep 2003 23:50:53 -0700 (PDT) From: Josh Brooks To: freebsd-net@freebsd.org Message-ID: <20030908234910.H77579-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: how do I delete just one ipfw rule ? 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, 09 Sep 2003 06:50:54 -0000 Hi, If I create two ipfw rules with the same ID: ipfw add 00022 deny ip from x to y ipfw add 00022 allow ip from z to b they will both be there, and both work ... but is it possible to remove just one of them wihout removing the other ? Right now I am doing a hack with a ";" ipfw del 00022 ; ipfw add 00022 allow ip from z to b which removes both, and re-adds the one I want, but if the list gets more complicated than a few, this is really bad. So is it possible to remove just one ipfw rule from a list of same-index rules ? thank! From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 00:03: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 4368416A4BF for ; Tue, 9 Sep 2003 00:03:48 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C8343FF2 for ; Tue, 9 Sep 2003 00:03:47 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h8973lkN097542; Tue, 9 Sep 2003 00:03:47 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h8973lPd097541; Tue, 9 Sep 2003 00:03:47 -0700 (PDT) (envelope-from rizzo) Date: Tue, 9 Sep 2003 00:03:47 -0700 From: Luigi Rizzo To: Josh Brooks Message-ID: <20030909000347.A90081@xorpc.icir.org> References: <20030908234910.H77579-100000@mail.econolodgetulsa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030908234910.H77579-100000@mail.econolodgetulsa.com>; from user@mail.econolodgetulsa.com on Mon, Sep 08, 2003 at 11:50:53PM -0700 cc: freebsd-net@freebsd.org Subject: Re: how do I delete just one ipfw rule ? 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, 09 Sep 2003 07:03:48 -0000 On Mon, Sep 08, 2003 at 11:50:53PM -0700, Josh Brooks wrote: > > Hi, > > If I create two ipfw rules with the same ID: > > ipfw add 00022 deny ip from x to y > ipfw add 00022 allow ip from z to b > > they will both be there, and both work ... but is it possible to remove > just one of them wihout removing the other ? Right now I am doing a hack > with a ";" > > ipfw del 00022 ; ipfw add 00022 allow ip from z to b > > which removes both, and re-adds the one I want, but if the list gets more > complicated than a few, this is really bad. > > So is it possible to remove just one ipfw rule from a list of same-index > rules ? no, it is not possible to delete them -- you have no way to tell which rule to delete when multiple rules share the same number. cheers luigi From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 00:45:03 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 92CB416A4BF; Tue, 9 Sep 2003 00:45:03 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2576B43FBF; Tue, 9 Sep 2003 00:44:30 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id BD58CCDD81; Tue, 9 Sep 2003 09:44:23 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 06392-01-31; Tue, 9 Sep 2003 09:44:22 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id 1EEA0A0EE3; Tue, 9 Sep 2003 07:54:48 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h895slE14111; Tue, 9 Sep 2003 07:54:47 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h895slc23438; Tue, 9 Sep 2003 07:54:47 +0200 (MEST) Date: Tue, 9 Sep 2003 07:54:47 +0200 From: Tobias Roth To: Maksim Yevmenkin Message-ID: <20030909055447.GA23388@speedy.unibe.ch> References: <20030908194503.4683.qmail@web40305.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030908194503.4683.qmail@web40305.mail.yahoo.com> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: current@freebsd.org cc: net@freebsd.org Subject: Re: Bluetooth stack for FreeBSD (Netgraph) 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, 09 Sep 2003 07:45:03 -0000 On Mon, Sep 08, 2003 at 12:45:03PM -0700, Maksim Yevmenkin wrote: > After a very long delay (sorry!) I'm pleased to announce that I'm still around > and new a snapshot can be downloaded from kickass! I will try it out later today [snip of long interesting list of enhancments] > Here is the list of things I'm planing to do next: > > o Prepare patches for FreeBSD source tree > o Write SDP server. For now continue use Linux BlueZ SDP server. > o Add support for SCO (voice/video) links > o Better rc scripts > o Think about non-Netgraph portable version I could take over the rc-script part if it'd be any help for you and if it's not too urgent. greets, t. From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 01:11:37 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 D626D16A4BF for ; Tue, 9 Sep 2003 01:11:37 -0700 (PDT) Received: from mail.a-quadrat.at (N654P000.adsl.highway.telekom.at [62.47.25.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8025143FF3 for ; Tue, 9 Sep 2003 01:11:35 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: from localhost.jawa.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id DABAB5C12B; Tue, 9 Sep 2003 09:27:32 +0200 (CEST) Date: Tue, 9 Sep 2003 09:27:58 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Damian Gerow In-Reply-To: <20030908202007.GO769@sentex.net> Message-ID: References: <20030908202007.GO769@sentex.net> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP 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, 09 Sep 2003 08:11:38 -0000 X-List-Received-Date: Tue, 09 Sep 2003 08:11:38 -0000 Hi, On Mon, 8 Sep 2003, Damian Gerow wrote: > Ideally, I'd like to get MPD authenticating via PAM, and then I can use > pam_winbind to authenticate against a domain. Any pointers or suggestions > (this looks like it will take a patch or some coding) would be greatly > appreciated. You can use FreeRADIUS, wich supports PAM authentication, and then configure MPD using RADIUS for authentication against you FreeRADIUS server. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...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 Tue Sep 9 01:11: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 166C116A4BF for ; Tue, 9 Sep 2003 01:11:38 -0700 (PDT) Received: from mail.a-quadrat.at (N654P000.adsl.highway.telekom.at [62.47.25.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86FD244001 for ; Tue, 9 Sep 2003 01:11:35 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: from localhost.jawa.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id 76DB25C10A; Tue, 9 Sep 2003 09:25:24 +0200 (CEST) Date: Tue, 9 Sep 2003 09:25:50 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Alessandro de Manzano In-Reply-To: <20030908213152.A90992@libero.sunshine.ale> Message-ID: References: <20030908213152.A90992@libero.sunshine.ale> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP 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, 09 Sep 2003 08:11:38 -0000 Hi Alessandro, On Mon, 8 Sep 2003, Alessandro de Manzano wrote: > Hello, > > I'm currently and successfully using MPD 3.13 on a 4.7p9 box as PPTP > RAS for a bunch of Win2K/XP clients. > > I'ld know if it is possible to authenticate such users against a Win2K > mixed mode domain (NTLM and/or LDAP) instead of manually maintaing a > mpd.secret file. > Something like Squid does using Samba's winbindd & co. You can use RADIUS for authenticating against your windows boxes. I guess you have a Win2K Server somewhere, if yes, then it's easy enableing (IAS == Internet Authentication Service == RADIUS), just some clicks. Then configure MPD using your W2K Box as RADIUS server. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...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 Tue Sep 9 01:23:37 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 8C08416A4BF for ; Tue, 9 Sep 2003 01:23:37 -0700 (PDT) Received: from mail.a-quadrat.at (N654P000.adsl.highway.telekom.at [62.47.25.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6604F43FE1 for ; Tue, 9 Sep 2003 01:23:36 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: from localhost.a-quadrat.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id BBF455C098; Tue, 9 Sep 2003 10:23:34 +0200 (CEST) Date: Tue, 9 Sep 2003 10:23:31 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Dan Hardiker In-Reply-To: <024601c37607$7de4ef70$3601a8c0@ws4> Message-ID: References: <024601c37607$7de4ef70$3601a8c0@ws4> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss 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, 09 Sep 2003 08:23:37 -0000 Hi, On Mon, 8 Sep 2003, Dan Hardiker wrote: > Ive now hit a barrier I just cant cross without help. Theres nothing out on > the net and every where I go they point to this newsgroup / mailing list. > Here it goes... > > I have setup MPD to be best of my ability and am getting intermitant packet > loss (only with mpd, pinging through when not connected to the vpn works > beautifully).I think the root of the problem lies in a non reported issue. > > When I connect to the VPN I get a connection status box in my XP sys tray. > If I open that up I get a list of bytes sent and received, as well as the > compression % and number of errors. Compression is always 0% even through I > tell mpd to use compression and have checked its enabled in the VPN > connection settings. MPD (netgraph) doesen't support compression, because it's proprietary and patentet, if you realy wan't to have compression (=STAC Compression) then you have to buy the sources from www.hifn.com, but usualy you don't need compression. > > If I sit the machine pinging the LAN IP of the MPD server when connected to > the VPN, I start racking up lots of errors. Ive only been pinging for 15 > mins and the errors is up to 58. Unfortunatly it doesnt tell me WHAT those > errors are, or where to start looking to resolve them. > > The short of it is that the VPN works, but its paralysingly slow (throughput > has been logged via trafshow as being 300 bytes > 3k a sec on a 256kbit ADSL > upstream ... averaging mostly around 300-400 bps) and could really do with > some pointers as to where to start looking. > can you please post you configuration and mpd's logfile? bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...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 Tue Sep 9 01:53:03 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 494AD16A4BF for ; Tue, 9 Sep 2003 01:53:03 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F2DB43F3F for ; Tue, 9 Sep 2003 01:53:02 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id 42F7E57B5; Tue, 9 Sep 2003 09:53:00 +0100 (BST) Message-ID: <005b01c376af$c60693a0$3601a8c0@ws4> From: "Dan Hardiker" To: "Michael Bretterklieber" References: <024601c37607$7de4ef70$3601a8c0@ws4> Date: Tue, 9 Sep 2003 09:53:00 +0100 Organization: eOrigen 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 cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 08:53:03 -0000 > > [Dan Hardiker] > > When I connect to the VPN I get a connection status box in my XP sys tray. > > If I open that up I get a list of bytes sent and received, as well as the > > compression % and number of errors. Compression is always 0% even through I > > tell mpd to use compression and have checked its enabled in the VPN > > connection settings. > [Michael Bretterklieber] > MPD (netgraph) doesen't support compression, because it's proprietary and > patentet, if you realy wan't to have compression (=STAC Compression) then > you have to buy the sources from www.hifn.com, but usualy you don't need > compression. Not having compression is perfectly fine - I was unsure if this was symtematic of my problem, but its not. > > If I sit the machine pinging the LAN IP of the MPD server when connected to > > the VPN, I start racking up lots of errors. Ive only been pinging for 15 > > mins and the errors is up to 58. Unfortunatly it doesnt tell me WHAT those > > errors are, or where to start looking to resolve them. > > > > The short of it is that the VPN works, but its paralysingly slow (throughput > > has been logged via trafshow as being 300 bytes > 3k a sec on a 256kbit ADSL > > upstream ... averaging mostly around 300-400 bps) and could really do with > > some pointers as to where to start looking. I have since managed to find (on the source forge mpd mailing list not mentioned on the mpd homepages) someone else with an identical problem (who was advised to install a TCP-MSS patch). It appears that the problem lies with XP connected to MPD using a VPN. Actually on reflection - it was you who suggested it! For reference: http://sourceforge.net/mailarchive/forum.php?thread_id=3083368&forum_id=32902 > can you please post you configuration and mpd's logfile? [MPD.CONF] # # Default configuration is "myisp" # default: # log +ccp +ccp2 +ccp3 +chat2 +echo +frame +mp +mp2 +pptp2 +pptp3 load zen # Net Connection A zen: load pptpClient0 load pptpClient1 load pptpClient2 load pptpClient3 load pptpClient4 # Net Connection B demon: load pptpClient5 load pptpClient6 load pptpClient7 load pptpClient8 load pptpClient9 # # Mpd as a PPTP server compatible with Microsoft Dial-Up Networking clients. # pptpClient0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.1.3/24 192.168.1.101/24 load pptp pptpClient1: new -i ng1 pptp1 pptp1 set ipcp ranges 192.168.1.3/24 192.168.1.102/24 load pptp pptpClient2: new -i ng2 pptp2 pptp2 set ipcp ranges 192.168.1.3/24 192.168.1.103/24 load pptp pptpClient3: new -i ng3 pptp3 pptp3 set ipcp ranges 192.168.1.3/24 192.168.1.104/24 load pptp pptpClient4: new -i ng4 pptp4 pptp4 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptpClient5: new -i ng5 pptp5 pptp5 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptpClient6: new -i ng6 pptp6 pptp6 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptpClient7: new -i ng7 pptp7 pptp7 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptpClient8: new -i ng8 pptp8 pptp8 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptpClient9: new -i ng9 pptp9 pptp9 set ipcp ranges 192.168.1.3/24 192.168.1.105/24 load pptp pptp: set iface disable on-demand set iface enable proxy-arp set iface idle 3600 set iface mtu 1500 set iface enable tcpmssfix set bundle enable multilink set bundle enable round-robin set bundle enable crypt-reqd set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1500 set ipcp yes vjcomp set ipcp dns 192.168.1.250 set ipcp nbns 192.168.1.11 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless [MPD.LINKS] # # For our PPTP server # (Local DNS provides the public IPs for the 2 net connections, zen being public2 and demon being public) # I have so far been unsuccessful in getting mpd to listen to 2 IPs at the same time on the same links pptp0: set link type pptp set pptp self armadillo.public2.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp1: set link type pptp set pptp self armadillo.public2.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp2: set link type pptp set pptp self armadillo.public2.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp3: set link type pptp set pptp self armadillo.public2.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp4: set link type pptp set pptp self armadillo.public2.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp5: set link type pptp set pptp self armadillo.public.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp6: set link type pptp set pptp self armadillo.public.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp7: set link type pptp set pptp self armadillo.public.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp8: set link type pptp set pptp self armadillo.public.lan.eorigen.com set pptp enable incoming set pptp disable originate pptp9: set link type pptp set pptp self armadillo.public.lan.eorigen.com set pptp enable incoming set pptp disable originate [MPD Log File] I havent yet worked out how to get mpd into its own log file - have to modify syslog.conf I believe. My current all.log file is very very big and has lots of mpd stuff in, but would consitute a 10mb file. Is there anything in particular you are looking for or would you like me to upload it to a webserver somewhere? Thanks for your help - going to try the patch now, will let you know the results. -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 02:12: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 902BE16A4BF for ; Tue, 9 Sep 2003 02:12:04 -0700 (PDT) Received: from mail.a-quadrat.at (N654P000.adsl.highway.telekom.at [62.47.25.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DD6443FAF for ; Tue, 9 Sep 2003 02:12:03 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: from localhost.a-quadrat.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id 519855C099; Tue, 9 Sep 2003 11:12:04 +0200 (CEST) Date: Tue, 9 Sep 2003 11:12:01 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Dan Hardiker In-Reply-To: <005b01c376af$c60693a0$3601a8c0@ws4> Message-ID: References: <024601c37607$7de4ef70$3601a8c0@ws4> <005b01c376af$c60693a0$3601a8c0@ws4> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss 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, 09 Sep 2003 09:12:04 -0000 Hi, On Tue, 9 Sep 2003, Dan Hardiker wrote: > I have since managed to find (on the source forge mpd mailing list not > mentioned on the mpd homepages) someone else with an identical problem (who > was advised to install a TCP-MSS patch). It appears that the problem lies > with XP connected to MPD using a VPN. Actually on reflection - it was you > who suggested it! yes I know, but I'm not sure if your problem is the same, but we can easily find this out: try from the XP Box: ping -l 1500 www.yahoo.de If you get no reply then try decreasing the ICMP packet size (-l switch), until you get a reply. > I havent yet worked out how to get mpd into its own log file - have to > modify syslog.conf I believe. My current all.log file is very very big and > has lots of mpd stuff in, but would consitute a 10mb file. Is there anything > in particular you are looking for or would you like me to upload it to a > webserver somewhere? vi /etc/syslog.conf !mpd *.* /var/log/mpd.log killall -1 syslogd > > Thanks for your help - going to try the patch now, will let you know the > results. ok, but remember that this works ONLY for TCP packets. BTW: MPD 3.15 will have this patch integrated. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...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 Tue Sep 9 02:17:37 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 E386516A4BF for ; Tue, 9 Sep 2003 02:17:36 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id F00C743F3F for ; Tue, 9 Sep 2003 02:17:32 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id D3383582F; Tue, 9 Sep 2003 10:17:30 +0100 (BST) Message-ID: <008e01c376b3$32944ff0$3601a8c0@ws4> From: "Dan Hardiker" To: "Michael Bretterklieber" References: <024601c37607$7de4ef70$3601a8c0@ws4> <005b01c376af$c60693a0$3601a8c0@ws4> Date: Tue, 9 Sep 2003 10:17:31 +0100 Organization: eOrigen 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 cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 09:17:37 -0000 > [Dan Hardiker] > I have since managed to find (on the source forge mpd mailing list not > mentioned on the mpd homepages) someone else with an identical problem (who > was advised to install a TCP-MSS patch). It appears that the problem lies > with XP connected to MPD using a VPN. Actually on reflection - it was you > who suggested it! > > For reference: > http://sourceforge.net/mailarchive/forum.php?thread_id=3083368&forum_id=32902 The patch was faulty - a number of hunks failed (all down to incorrect line numbers) ... and in any case, the patch doesnt appear to work. Same problem exactly. I did, however, run TCP dump and found that all pings I sent got a reply ... but only 30% of them made it back to the client [10:09:13][root@armadillo]:~$ tcpdump -i ng0 tcpdump: listening on ng0 10:09:20.164094 192.168.1.101 > 192.168.1.3: icmp: echo request 10:09:20.164111 192.168.1.3 > 192.168.1.101: icmp: echo reply 10:09:21.165665 192.168.1.101 > 192.168.1.3: icmp: echo request 10:09:21.165682 192.168.1.3 > 192.168.1.101: icmp: echo reply 10:09:26.173258 192.168.1.101 > 192.168.1.3: icmp: echo request 10:09:26.173276 192.168.1.3 > 192.168.1.101: icmp: echo reply 10:09:31.180864 192.168.1.101 > 192.168.1.3: icmp: echo request 10:09:31.180882 192.168.1.3 > 192.168.1.101: icmp: echo reply etc This is what I get when listening to the public interface: I have replaced the public ip of the xp box with $XP$ and the public ip of the mpd server with $MPD$ to protect their identities on the lists. 10:13:05.507078 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:149 ppp: 10:13:05.507233 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KSAv1] ID:c000 S:74 A:149 ppp: 10:13:06.508585 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:150 ppp: 10:13:07.007718 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KAv1] ID:c000 A:150 [|gre] 10:13:07.438692 $MPD$.dsl.in-addr.zen.co.uk.pptp > $XP$.dsl.in-addr.zen.co.uk.3015: P 3213034689:3213034705(16) ack 781309220 win 58400: pptp CTRL_MSGTYPE=ECHORQ ID(5) (DF) 10:13:07.439050 $XP$.dsl.in-addr.zen.co.uk.3015 > $MPD$.dsl.in-addr.zen.co.uk.pptp: P 1:21(20) ack 16 win 63952: pptp CTRL_MSGTYPE=ECHORP ID(5) RESULT_CODE(1) ERR_CODE(0) (DF) 10:13:07.538639 $MPD$.dsl.in-addr.zen.co.uk.pptp > $XP$.dsl.in-addr.zen.co.uk.3015: . ack 21 win 58400 (DF) 10:13:11.516195 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:151 ppp: 10:13:12.015955 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KAv1] ID:c000 A:151 [|gre] 10:13:16.523867 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:152 ppp: 10:13:16.524018 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KSAv1] ID:c000 S:75 A:152 ppp: 10:13:17.525379 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:153 ppp: 10:13:18.025044 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KAv1] ID:c000 A:153 [|gre] 10:13:22.533079 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:154 ppp: 10:13:23.032273 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KAv1] ID:c000 A:154 [|gre] 10:13:27.540633 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:155 ppp: 10:13:27.540786 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KSAv1] ID:c000 S:76 A:155 ppp: 10:13:28.542216 $XP$.dsl.in-addr.zen.co.uk > $MPD$.dsl.in-addr.zen.co.uk: gre [KSv1] ID:d4d6 S:156 ppp: 10:13:29.041353 $MPD$.dsl.in-addr.zen.co.uk > $XP$.dsl.in-addr.zen.co.uk: gre [KAv1] ID:c000 A:156 [|gre] Notice the pptp ECHORQ ID(5) ... maybe that can help us in some way? Thanks for any help you can give. -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 02:55:12 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 914EF16A4BF for ; Tue, 9 Sep 2003 02:55:12 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3690643FDF for ; Tue, 9 Sep 2003 02:55:11 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id B6E94582F; Tue, 9 Sep 2003 10:55:08 +0100 (BST) Message-ID: <00e601c376b8$746fcd50$3601a8c0@ws4> From: "Dan Hardiker" To: "Michael Bretterklieber" References: <024601c37607$7de4ef70$3601a8c0@ws4> <005b01c376af$c60693a0$3601a8c0@ws4> Date: Tue, 9 Sep 2003 10:55:09 +0100 Organization: eOrigen 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 cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 09:55:12 -0000 Just a bit more information which might help clear things up: If I ping from 192.168.1.3 to 192.168.1.101 and leave it going - ALL my traffic from the XP box to the LAN works fine (in moderation). For example - as long as the server is pinging me (just a standard "ping -t 192.168.1.101") I can ping the server without any problems (even with -l 1500). I can surf the web even and no received errors are shown. That is until I download a 500mb file and then it starts to chug running at 254KB/s on a 10Mbit lan - although the pings to the XP box keep going and only get 1-2% "No buffer space" errors - but the errors 45mb into the file are up to 1350. Shed any more light? (Im just dreaming up random test scenarios) BTW: Heres my mpd.log (left running through all the tests, not shut down) Sep 9 10:25:20 armadillo mpd: mpd: pid 26273, version 3.14 (root@armadillo.lan.eorigen.com 10:05 9-Sep-2003) Sep 9 10:25:20 armadillo mpd: [pptp0] ppp node is "mpd26273-pptp0" Sep 9 10:25:20 armadillo mpd: mpd: local IP address for PPTP is 82.68.60.9 Sep 9 10:25:20 armadillo mpd: [pptp0] using interface ng0 Sep 9 10:25:20 armadillo mpd: mpd: pid 26275, version 3.14 (root@armadillo.lan.eorigen.com 10:05 9-Sep-2003) Sep 9 10:25:20 armadillo mpd: [pptp1] ppp node is "mpd26273-pptp1" Sep 9 10:25:20 armadillo mpd: [pptp5] ppp node is "mpd26275-pptp5" Sep 9 10:25:20 armadillo mpd: [pptp1] using interface ng1 Sep 9 10:25:20 armadillo mpd: mpd: local IP address for PPTP is 80.177.231.130 Sep 9 10:25:20 armadillo mpd: [pptp2] ppp node is "mpd26273-pptp2" Sep 9 10:25:20 armadillo mpd: [pptp5] using interface ng5 Sep 9 10:25:20 armadillo mpd: [pptp2] using interface ng2 Sep 9 10:25:20 armadillo mpd: [pptp6] ppp node is "mpd26275-pptp6" Sep 9 10:25:20 armadillo mpd: [pptp3] ppp node is "mpd26273-pptp3" Sep 9 10:25:20 armadillo mpd: [pptp6] using interface ng6 Sep 9 10:25:20 armadillo mpd: [pptp3] using interface ng3 Sep 9 10:25:20 armadillo mpd: [pptp7] ppp node is "mpd26275-pptp7" Sep 9 10:25:20 armadillo mpd: [pptp4] ppp node is "mpd26273-pptp4" Sep 9 10:25:20 armadillo mpd: [pptp4] using interface ng4 Sep 9 10:25:20 armadillo mpd: [pptp7] using interface ng7 Sep 9 10:25:20 armadillo mpd: [pptp8] ppp node is "mpd26275-pptp8" Sep 9 10:25:20 armadillo mpd: [pptp8] using interface ng8 Sep 9 10:25:20 armadillo mpd: [pptp9] ppp node is "mpd26275-pptp9" Sep 9 10:25:20 armadillo mpd: [pptp9] using interface ng9 Sep 9 10:25:42 armadillo mpd: mpd: PPTP connection from 82.68.60.10:3065 Sep 9 10:25:42 armadillo mpd: pptp0: attached to connection with 82.68.60.10:3065 Sep 9 10:25:42 armadillo mpd: [pptp0] IFACE: Open event Sep 9 10:25:42 armadillo mpd: [pptp0] IPCP: Open event Sep 9 10:25:42 armadillo mpd: [pptp0] IPCP: state change Initial --> Starting Sep 9 10:25:42 armadillo mpd: [pptp0] IPCP: LayerStart Sep 9 10:25:42 armadillo mpd: [pptp0] IPCP: Open event Sep 9 10:25:42 armadillo mpd: [pptp0] bundle: OPEN event in state CLOSED Sep 9 10:25:42 armadillo mpd: [pptp0] opening link "pptp0"... Sep 9 10:25:42 armadillo mpd: [pptp0] link: OPEN event Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: Open event Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: state change Initial --> Starting Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: LayerStart Sep 9 10:25:42 armadillo mpd: [pptp0] device: OPEN event in state DOWN Sep 9 10:25:42 armadillo mpd: [pptp0] attaching to peer's outgoing call Sep 9 10:25:42 armadillo mpd: [pptp0] device is now in state OPENING Sep 9 10:25:42 armadillo mpd: [pptp0] device: UP event in state OPENING Sep 9 10:25:42 armadillo mpd: [pptp0] device is now in state UP Sep 9 10:25:42 armadillo mpd: [pptp0] link: UP event Sep 9 10:25:42 armadillo mpd: [pptp0] link: origination is remote Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: Up event Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: state change Starting --> Req-Sent Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: phase shift DEAD --> ESTABLISH Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: SendConfigReq #1 Sep 9 10:25:42 armadillo mpd: ACFCOMP Sep 9 10:25:42 armadillo mpd: PROTOCOMP Sep 9 10:25:42 armadillo mpd: MRU 1500 Sep 9 10:25:42 armadillo mpd: MAGICNUM 7dbc10b4 Sep 9 10:25:42 armadillo mpd: AUTHPROTO CHAP MSOFTv2 Sep 9 10:25:42 armadillo mpd: MP MRRU 1600 Sep 9 10:25:42 armadillo mpd: MP SHORTSEQ Sep 9 10:25:42 armadillo mpd: ENDPOINTDISC [802.1] 00 04 75 99 59 37 Sep 9 10:25:42 armadillo mpd: pptp0-0: ignoring SetLinkInfo Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent) Sep 9 10:25:42 armadillo mpd: MRU 1400 Sep 9 10:25:42 armadillo mpd: MAGICNUM 0e6c5920 Sep 9 10:25:42 armadillo mpd: PROTOCOMP Sep 9 10:25:42 armadillo mpd: ACFCOMP Sep 9 10:25:42 armadillo mpd: CALLBACK Sep 9 10:25:42 armadillo mpd: Not supported Sep 9 10:25:42 armadillo mpd: MP MRRU 1614 Sep 9 10:25:42 armadillo mpd: ENDPOINTDISC [LOCAL] 45 fb 34 03 98 28 4b 1f a0 0c 84 c1 c1 3e 3b 05 00 00 00 04 Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: SendConfigRej #0 Sep 9 10:25:42 armadillo mpd: CALLBACK Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent) Sep 9 10:25:42 armadillo mpd: MRU 1400 Sep 9 10:25:42 armadillo mpd: MAGICNUM 0e6c5920 Sep 9 10:25:42 armadillo mpd: PROTOCOMP Sep 9 10:25:42 armadillo mpd: ACFCOMP Sep 9 10:25:42 armadillo mpd: MP MRRU 1614 Sep 9 10:25:42 armadillo mpd: ENDPOINTDISC [LOCAL] 45 fb 34 03 98 28 4b 1f a0 0c 84 c1 c1 3e 3b 05 00 00 00 04 Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: SendConfigNak #1 Sep 9 10:25:42 armadillo mpd: MP MRRU 1600 Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: rec'd Configure Request #2 link 0 (Req-Sent) Sep 9 10:25:42 armadillo mpd: MRU 1400 Sep 9 10:25:42 armadillo mpd: MAGICNUM 0e6c5920 Sep 9 10:25:42 armadillo mpd: PROTOCOMP Sep 9 10:25:42 armadillo mpd: ACFCOMP Sep 9 10:25:42 armadillo mpd: MP MRRU 1600 Sep 9 10:25:42 armadillo mpd: ENDPOINTDISC [LOCAL] 45 fb 34 03 98 28 4b 1f a0 0c 84 c1 c1 3e 3b 05 00 00 00 04 Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: SendConfigAck #2 Sep 9 10:25:42 armadillo mpd: MRU 1400 Sep 9 10:25:42 armadillo mpd: MAGICNUM 0e6c5920 Sep 9 10:25:42 armadillo mpd: PROTOCOMP Sep 9 10:25:42 armadillo mpd: ACFCOMP Sep 9 10:25:42 armadillo mpd: MP MRRU 1600 Sep 9 10:25:42 armadillo mpd: ENDPOINTDISC [LOCAL] 45 fb 34 03 98 28 4b 1f a0 0c 84 c1 c1 3e 3b 05 00 00 00 04 Sep 9 10:25:42 armadillo mpd: [pptp0] LCP: state change Req-Sent --> Ack-Sent Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: SendConfigReq #2 Sep 9 10:25:44 armadillo mpd: ACFCOMP Sep 9 10:25:44 armadillo mpd: PROTOCOMP Sep 9 10:25:44 armadillo mpd: MRU 1500 Sep 9 10:25:44 armadillo mpd: MAGICNUM 7dbc10b4 Sep 9 10:25:44 armadillo mpd: AUTHPROTO CHAP MSOFTv2 Sep 9 10:25:44 armadillo mpd: MP MRRU 1600 Sep 9 10:25:44 armadillo mpd: MP SHORTSEQ Sep 9 10:25:44 armadillo mpd: ENDPOINTDISC [802.1] 00 04 75 99 59 37 Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: rec'd Configure Reject #2 link 0 (Ack-Sent) Sep 9 10:25:44 armadillo mpd: MP SHORTSEQ Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: SendConfigReq #3 Sep 9 10:25:44 armadillo mpd: ACFCOMP Sep 9 10:25:44 armadillo mpd: PROTOCOMP Sep 9 10:25:44 armadillo mpd: MRU 1500 Sep 9 10:25:44 armadillo mpd: MAGICNUM 7dbc10b4 Sep 9 10:25:44 armadillo mpd: AUTHPROTO CHAP MSOFTv2 Sep 9 10:25:44 armadillo mpd: MP MRRU 1600 Sep 9 10:25:44 armadillo mpd: ENDPOINTDISC [802.1] 00 04 75 99 59 37 Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: rec'd Configure Ack #3 link 0 (Ack-Sent) Sep 9 10:25:44 armadillo mpd: ACFCOMP Sep 9 10:25:44 armadillo mpd: PROTOCOMP Sep 9 10:25:44 armadillo mpd: MRU 1500 Sep 9 10:25:44 armadillo mpd: MAGICNUM 7dbc10b4 Sep 9 10:25:44 armadillo mpd: AUTHPROTO CHAP MSOFTv2 Sep 9 10:25:44 armadillo mpd: MP MRRU 1600 Sep 9 10:25:44 armadillo mpd: ENDPOINTDISC [802.1] 00 04 75 99 59 37 Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: state change Ack-Sent --> Opened Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: phase shift ESTABLISH --> AUTHENTICATE Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: auth: peer wants nothing, I want CHAP Sep 9 10:25:44 armadillo mpd: [pptp0] CHAP: sending CHALLENGE Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: LayerUp Sep 9 10:25:44 armadillo mpd: pptp0-0: ignoring SetLinkInfo Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: rec'd Ident #3 link 0 (Opened) Sep 9 10:25:44 armadillo mpd: MESG: MSRASV5.10 Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: rec'd Ident #4 link 0 (Opened) Sep 9 10:25:44 armadillo mpd: MESG: MSRAS-0-DANLAPTOP Sep 9 10:25:44 armadillo mpd: [pptp0] CHAP: rec'd RESPONSE #1 Sep 9 10:25:44 armadillo mpd: Name: "dhardiker" Sep 9 10:25:44 armadillo mpd: Peer name: "dhardiker" Sep 9 10:25:44 armadillo mpd: Response is valid Sep 9 10:25:44 armadillo mpd: [pptp0] CHAP: sending SUCCESS Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: authorization successful Sep 9 10:25:44 armadillo mpd: [pptp0] LCP: phase shift AUTHENTICATE --> NETWORK Sep 9 10:25:44 armadillo mpd: [pptp0] setting interface ng0 MTU to 1500 bytes Sep 9 10:25:44 armadillo mpd: [pptp0] up: 1 link, total bandwidth 64000 bps Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: Up event Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: state change Starting --> Req-Sent Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: SendConfigReq #1 Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.3 Sep 9 10:25:44 armadillo mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Open event Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: state change Initial --> Starting Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: LayerStart Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Up event Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: state change Starting --> Req-Sent Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: SendConfigReq #1 Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 40 bits are enabled -> yes Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 56 bits are enabled -> no Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 128 bits are enabled -> yes Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: rec'd Configure Request #5 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x010000e1: MPPC MPPE, 40 bit, 56 bit, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 40 bits are acceptable -> yes Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 56 bits are acceptable -> no Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 128 bits are acceptable -> yes Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: SendConfigNak #5 Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: rec'd Configure Request #6 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: IPADDR 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.101 Sep 9 10:25:44 armadillo mpd: PRIDNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.250 Sep 9 10:25:44 armadillo mpd: PRINBNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.11 Sep 9 10:25:44 armadillo mpd: SECDNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: SECNBNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: SendConfigRej #6 Sep 9 10:25:44 armadillo mpd: SECDNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: SECNBNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: rec'd Configure Reject #1 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: SendConfigReq #2 Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.3 Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: rec'd Configure Nak #1 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: SendConfigReq #2 Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 40 bits are enabled -> no Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 56 bits are enabled -> no Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 128 bits are enabled -> yes Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: rec'd Configure Request #7 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: Checking wether 128 bits are acceptable -> yes Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: SendConfigAck #7 Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: state change Req-Sent --> Ack-Sent Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: rec'd Configure Request #8 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: IPADDR 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.101 Sep 9 10:25:44 armadillo mpd: PRIDNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.250 Sep 9 10:25:44 armadillo mpd: PRINBNS 0.0.0.0 Sep 9 10:25:44 armadillo mpd: NAKing with 192.168.1.11 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: SendConfigNak #8 Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.101 Sep 9 10:25:44 armadillo mpd: PRIDNS 192.168.1.250 Sep 9 10:25:44 armadillo mpd: PRINBNS 192.168.1.11 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: rec'd Configure Ack #2 link 0 (Req-Sent) Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.3 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Rcvd Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: rec'd Configure Ack #2 link 0 (Ack-Sent) Sep 9 10:25:44 armadillo mpd: MPPC Sep 9 10:25:44 armadillo mpd: 0x01000040: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: state change Ack-Sent --> Opened Sep 9 10:25:44 armadillo mpd: [pptp0] CCP: LayerUp Sep 9 10:25:44 armadillo mpd: Compress using: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: Decompress using: MPPE, 128 bit, stateless Sep 9 10:25:44 armadillo mpd: [pptp0] setting interface ng0 MTU to 1500 bytes Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: rec'd Configure Request #9 link 0 (Ack-Rcvd) Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.101 Sep 9 10:25:44 armadillo mpd: 192.168.1.101 is OK Sep 9 10:25:44 armadillo mpd: PRIDNS 192.168.1.250 Sep 9 10:25:44 armadillo mpd: PRINBNS 192.168.1.11 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: SendConfigAck #9 Sep 9 10:25:44 armadillo mpd: IPADDR 192.168.1.101 Sep 9 10:25:44 armadillo mpd: PRIDNS 192.168.1.250 Sep 9 10:25:44 armadillo mpd: PRINBNS 192.168.1.11 Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: state change Ack-Rcvd --> Opened Sep 9 10:25:44 armadillo mpd: [pptp0] IPCP: LayerUp Sep 9 10:25:44 armadillo mpd: 192.168.1.3 -> 192.168.1.101 Sep 9 10:25:44 armadillo mpd: [pptp0] IFACE: Up event Sep 9 10:25:44 armadillo mpd: [pptp0] setting interface ng0 MTU to 1500 bytes Sep 9 10:25:44 armadillo mpd: [pptp0] exec: /sbin/ifconfig ng0 192.168.1.3 192.168.1.101 netmask 0xffffffff -link0 Sep 9 10:25:44 armadillo mpd: [pptp0] exec: /usr/sbin/arp -s 192.168.1.101 0:30:1b:ae:94:e0 pub Sep 9 10:25:44 armadillo mpd: [pptp0] exec: /sbin/route add 192.168.1.3 -iface lo0 Sep 9 10:37:24 armadillo mpd: [pptp0] LCP: no reply to 1 echo request(s) -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 02:58: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 F001016A4BF; Tue, 9 Sep 2003 02:58:55 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 108DD43FF2; Tue, 9 Sep 2003 02:58:55 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id E5D8C582F; Tue, 9 Sep 2003 10:58:52 +0100 (BST) Message-ID: <012501c376b8$fa116590$3601a8c0@ws4> From: "Dan Hardiker" To: References: <00a701c376b6$8e232820$3601a8c0@ws4> Date: Tue, 9 Sep 2003 10:58:53 +0100 Organization: eOrigen 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 cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 09:58:56 -0000 Probably best you ignore the past post while I go sleep ... should have been aimed at freebsd-net@ ... sorry Here you go freebsd-net guys. Sorry for the mess up. ----- Original Message ----- From: "Dan Hardiker" To: "Michael Bretterklieber" Cc: Sent: Tuesday, September 09, 2003 10:41 AM Subject: Re: MPD Issues - Errors and Mysterious Packet Loss > > try from the XP Box: > > > > ping -l 1500 www.yahoo.de > > > > If you get no reply then try decreasing the ICMP packet size (-l switch), > > until you get a reply. > > Pinging 192.168.1.3 (internal ip of MPD server) from 192.168.1.101 (assigned > ip of xp box) as external traffic isnt routed via vpn's gateway. > > 1500 - no reply x4 > 1400 - no reply x4 > 1300 - no reply x3 + 1 reply on the 3rd attempt > 1200 - no reply x2 + 2 reply on the 1st / 4th attempt > 1100 - no reply x3 + 1 reply on the 2nd attempt > 1000 - no reply x2 + 2 reply on the 1st / 4th attempt > 900 - no reply x3 + 1 reply on the 2nd attempt > 800 - no reply x2 + 2 reply on the 1st / 4th attempt > 700 - no reply x3 + 1 reply on the 2nd attempt > // stopped the pinging for about 5 mins here // > 600 - no reply x1 + 3 reply on the 1st / 2nd / 3rd attempt > 500 - no reply x1 + 3 reply on the 1st / 2nd / 3rd attempt > 400 - no reply x2 + 2 reply on the 1st / 2nd attempt > 300 - no reply x2 + 2 reply on the 1st / 4th attempt > 200 - no reply x2 + 2 reply on the 1st / 4th attempt > 100 - no reply x2 + 2 reply on the 1st / 2nd attempt > 50 - no reply x1 + 3 reply on the 1st / 2nd / 3rd attempt > > Heres a bit of info for you - while I doing some of the duplicate tests > (pinging 1000 more than just 1 set of 4 for example) I though I would try > pinging 192.168.1.101 from the mpd server to see if I could get through. > Heres what I found: > > [10:29:32][root@armadillo]:~$ ping 192.168.1.101 > PING 192.168.1.101 (192.168.1.101): 56 data bytes > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ping: sendto: No buffer space available > 64 bytes from 192.168.1.101: icmp_seq=3 ttl=128 time=0.922 ms > 64 bytes from 192.168.1.101: icmp_seq=4 ttl=128 time=0.889 ms > 64 bytes from 192.168.1.101: icmp_seq=5 ttl=128 time=0.882 ms > 64 bytes from 192.168.1.101: icmp_seq=6 ttl=128 time=0.877 ms > 64 bytes from 192.168.1.101: icmp_seq=7 ttl=128 time=0.871 ms > > NOTE: the TTL on the pings from the XP box are notabley 64 where as the mpd > server has them set to 128 > > Buffer space seems to be running out somewhere? > > PS: I applied the TCP MSS patch, and even with TCP web traffic, Im still > clocking up receiving errors by the dozen. > > I hope that helps > > -- > Dan Hardiker [dhardiker@eorigen.com] > ADAM Systems Engineer > eOrigen Ltd > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 04:27: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 CCE1516A4BF for ; Tue, 9 Sep 2003 04:27:19 -0700 (PDT) Received: from mail.dada.it (mail3.dada.it [195.110.100.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 127D043FDF for ; Tue, 9 Sep 2003 04:27:18 -0700 (PDT) (envelope-from ale@unixmania.net) Received: (qmail 18218 invoked from network); 9 Sep 2003 11:27:15 -0000 Received: from unknown (HELO libero.sunshine.ale) (195.110.114.252) by mail.dada.it with SMTP; 9 Sep 2003 11:27:15 -0000 Received: by libero.sunshine.ale (Postfix, from userid 1001) id B12715FE1; Tue, 9 Sep 2003 13:27:13 +0200 (CEST) Date: Tue, 9 Sep 2003 13:27:13 +0200 From: Alessandro de Manzano To: Michael Bretterklieber Message-ID: <20030909132713.A94019@libero.sunshine.ale> References: <20030908213152.A90992@libero.sunshine.ale> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mbretter@a-quadrat.at on Tue, Sep 09, 2003 at 09:25:50AM +0200 X-Operating-System: FreeBSD 4.7-STABLE cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alessandro de Manzano List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 11:27:19 -0000 On Tue, Sep 09, 2003 at 09:25:50AM +0200, Michael Bretterklieber wrote: > > Something like Squid does using Samba's winbindd & co. > You can use RADIUS for authenticating against your windows boxes. I guess > you have a Win2K Server somewhere, if yes, then it's easy enableing (IAS > == Internet Authentication Service == RADIUS), just some clicks. yep, I know about IAS, I did not know about MPD and RADIUS, maybe it's time to upgrade my version of MPD ;)) > Then configure MPD using your W2K Box as RADIUS server. quite logical and clean, I'll check it out! Many thanks for your answer! -- bye! Ale From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 06:53:55 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 3975316A4BF for ; Tue, 9 Sep 2003 06:53:55 -0700 (PDT) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 185E643FAF for ; Tue, 9 Sep 2003 06:53:54 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163])h89DrunW070085; Tue, 9 Sep 2003 06:53:56 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Date: Tue, 9 Sep 2003 06:53:56 -0700 (PDT) From: Josh Brooks To: Luigi Rizzo In-Reply-To: <20030909000347.A90081@xorpc.icir.org> Message-ID: <20030909065259.A77579-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: how do I delete just one ipfw rule ? 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, 09 Sep 2003 13:53:55 -0000 On Tue, 9 Sep 2003, Luigi Rizzo wrote: > no, it is not possible to delete them -- you have no way to tell > which rule to delete when multiple rules share the same number. Are there any plans to make ipfw more flexible by changing the 65535 to the next power of two ? So there are a lot more rules ? From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 07:48: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 B4EA116A4BF for ; Tue, 9 Sep 2003 07:48:48 -0700 (PDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F5A43F3F for ; Tue, 9 Sep 2003 07:48:45 -0700 (PDT) (envelope-from damian@sentex.net) Received: from pegmatite.sentex.ca (pegmatite.sentex.ca [192.168.42.92]) by lava.sentex.ca (8.12.9/8.12.8) with ESMTP id h89EmgCk042394; Tue, 9 Sep 2003 10:48:43 -0400 (EDT) (envelope-from damian@sentex.net) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id 671FA17126; Tue, 9 Sep 2003 10:48:34 -0400 (EDT) Date: Tue, 9 Sep 2003 10:48:34 -0400 From: Damian Gerow To: Michael Bretterklieber Message-ID: <20030909144834.GF769@sentex.net> References: <20030908202007.GO769@sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key-Id: 0xB841F142 X-GPG-Fingerprint: C7C1 E1D1 EC06 7C86 AF7C 57E6 173D 9CF6 B841 F142 X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i X-Virus-Scanned: By Sentex Communications (lava/20020517) cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP 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, 09 Sep 2003 14:48:48 -0000 Thus spake Michael Bretterklieber (mbretter@a-quadrat.at) [09/09/03 03:28]: > > Ideally, I'd like to get MPD authenticating via PAM, and then I can use > > pam_winbind to authenticate against a domain. Any pointers or suggestions > > (this looks like it will take a patch or some coding) would be greatly > > appreciated. > You can use FreeRADIUS, wich supports PAM authentication, and then > configure MPD using RADIUS for authentication against you FreeRADIUS > server. Yes, I found that out shortly after submitting that post. Now to find some docs on getting mpd working via RADIUS... From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 10:02: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 B3CB716A4BF for ; Tue, 9 Sep 2003 10:02:04 -0700 (PDT) Received: from web40309.mail.yahoo.com (web40309.mail.yahoo.com [66.218.78.88]) by mx1.FreeBSD.org (Postfix) with SMTP id DDD9B43F3F for ; Tue, 9 Sep 2003 10:02:03 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030909170203.26260.qmail@web40309.mail.yahoo.com> Received: from [165.193.27.35] by web40309.mail.yahoo.com via HTTP; Tue, 09 Sep 2003 10:02:03 PDT Date: Tue, 9 Sep 2003 10:02:03 -0700 (PDT) From: Maksim Yevmenkin To: Tobias Roth In-Reply-To: <20030909055447.GA23388@speedy.unibe.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org cc: net@freebsd.org Subject: Re: Bluetooth stack for FreeBSD (Netgraph) 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, 09 Sep 2003 17:02:04 -0000 Tobias, > > After a very long delay (sorry!) I'm pleased to announce that I'm still > around > > and new a snapshot can be downloaded from > > kickass! I will try it out later today :) > > Here is the list of things I'm planing to do next: > > > > o Prepare patches for FreeBSD source tree > > o Write SDP server. For now continue use Linux BlueZ SDP server. > > o Add support for SCO (voice/video) links > > o Better rc scripts > > o Think about non-Netgraph portable version > > I could take over the rc-script part if it'd be any help for you and > if it's not too urgent. tag! you are it :) i just would like to take this opportunity and share with you some ideas for rc scripts. what i would like to see is the system that allows you to configure common parameters for all Bluetooth devices. then for each individual device user should be able to provide overrides (if needed). the examples of such overrides are: - switch role for incoming connections (write_node_role_switch HCI command) - default page_scan_mode and page_scan_period_mode - default packet mask (write_node_packet_mask HCI command) - visible device name (change_local_name HCI command) - should device be visible (write_scan_enable HCI command) - etc. the problem here is how to identify the device. the name of the device (i.e. ubt0, btccc0) might not be good enough. what it tells you is device type and instance. one idea is to use device BD_ADDR, i.e. the script will do something like # 1 - common part (for all devices) reset read_bd_addr (and save it) read_local_supported_features read_buffer_size # 2- use device BD_ADDR to select set of user overrides and apply them here # ... # 3- common part (for all devices) initialize i hope that make sense. i also think all Bluetooth start/stop scritps should be executed by devd(8), usdb(8) etc. when device is attached/detached. the other part of the rc scripts is the Bluetooth services, i.e. things like sdpd, rfcomm_pppd, OBEX server etc. one problem here is that user might want to run server application on specific BD_ADDR and in this case device with that BD_ADDR must be attached (otherwise server application would not start). perhaps the list of servers should be attached to BD_ADDR as well? Note that it is fine to run server on ANY address. the server would start even if there is no device attached. 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 Tue Sep 9 10:37: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 6E99316A4BF for ; Tue, 9 Sep 2003 10:37:19 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0D7E43FBD for ; Tue, 9 Sep 2003 10:37:18 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003090917371701500g5vcee>; Tue, 9 Sep 2003 17:37: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 KAA46379; Tue, 9 Sep 2003 10:37:17 -0700 (PDT) Date: Tue, 9 Sep 2003 10:37:16 -0700 (PDT) From: Julian Elischer To: Dan Hardiker In-Reply-To: <005b01c376af$c60693a0$3601a8c0@ws4> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Michael Bretterklieber cc: freebsd-net@freebsd.org Subject: Re: MPD Issues - Errors and Mysterious Packet Loss 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, 09 Sep 2003 17:37:19 -0000 On Tue, 9 Sep 2003, Dan Hardiker wrote: > > [MPD Log File] > I havent yet worked out how to get mpd into its own log file - have to > modify syslog.conf I believe. My current all.log file is very very big and > has lots of mpd stuff in, but would consitute a 10mb file. Is there anything > in particular you are looking for or would you like me to upload it to a > webserver somewhere? in /etc/syslog.conf copy the lines !ppp *.* ..... and change ppp to mpd then 'touch' the log file to create it. then HUP the syslogd.. also change newsyslog.conf.. From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 10:45:55 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 DD67916A4BF for ; Tue, 9 Sep 2003 10:45:55 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27FCC44005 for ; Tue, 9 Sep 2003 10:45:55 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <20030909174554013009d1b5e>; Tue, 9 Sep 2003 17:45:54 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA46473; Tue, 9 Sep 2003 10:45:54 -0700 (PDT) Date: Tue, 9 Sep 2003 10:45:52 -0700 (PDT) From: Julian Elischer To: Josh Brooks In-Reply-To: <20030909065259.A77579-100000@mail.econolodgetulsa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Luigi Rizzo cc: freebsd-net@freebsd.org Subject: Re: how do I delete just one ipfw rule ? 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, 09 Sep 2003 17:45:56 -0000 On Tue, 9 Sep 2003, Josh Brooks wrote: > > > > On Tue, 9 Sep 2003, Luigi Rizzo wrote: > > > no, it is not possible to delete them -- you have no way to tell > > which rule to delete when multiple rules share the same number. > > Are there any plans to make ipfw more flexible by changing the 65535 to > the next power of two ? So there are a lot more rules ? The rule number is only 16 bits long.. This is made use of in 'divert' where the rule number that caused the divert is in the port-number field when you do a recvfrom(). if you change this, it won't work.. On "sendto()" teh rule number is used to suggest where the packet "re-enters" the filter. if you pass it back unchanged then it reenters the filter at the next rule after the one that diverted it.. (i.e. where it left off) > > _______________________________________________ > 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 Sep 9 10:51:03 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 E2C8616A4BF for ; Tue, 9 Sep 2003 10:51:03 -0700 (PDT) Received: from mail.iinet.net.au (mail-12.iinet.net.au [203.59.3.44]) by mx1.FreeBSD.org (Postfix) with SMTP id E7FEA43FAF for ; Tue, 9 Sep 2003 10:51:01 -0700 (PDT) (envelope-from tim@queens.unimelb.edu.au) Received: (qmail 15783 invoked from network); 9 Sep 2003 17:50:59 -0000 Received: from unknown (HELO queens.unimelb.edu.au) (203.217.40.141) by mail.iinet.net.au with SMTP; 9 Sep 2003 17:50:59 -0000 Date: Wed, 10 Sep 2003 03:51:00 +1000 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Tim Burgess To: freebsd-net@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <2C48594F-E2EE-11D7-9E24-000393BE2C60@queens.unimelb.edu.au> X-Mailer: Apple Mail (2.552) Subject: Re: how do I delete just one ipfw rule ? 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, 09 Sep 2003 17:51:04 -0000 Hi All, There would be no theoretical problem with adding syntax to ipfw(8) (and possibly to its kernel interface) to delete a particular rule would there? eg ipfw delete 1234.5 to delete the fifth instance of rule 1234? There is clearly a fixed order to the rules, since they apply in order. Not that I'm volunteering or anything, but yeah :) Tim On Wednesday, September 10, 2003, at 03:45 AM, Julian Elischer wrote: > > > On Tue, 9 Sep 2003, Josh Brooks wrote: > >> >> >> >> On Tue, 9 Sep 2003, Luigi Rizzo wrote: >> >>> no, it is not possible to delete them -- you have no way to tell >>> which rule to delete when multiple rules share the same number. >> >> Are there any plans to make ipfw more flexible by changing the 65535 >> to >> the next power of two ? So there are a lot more rules ? > > The rule number is only 16 bits long.. > > This is made use of in 'divert' where the rule number that caused the > divert is in the port-number field when you do a recvfrom(). > if you change this, it won't work.. > > On "sendto()" teh rule number is used to suggest where the packet > "re-enters" the filter. if you pass it back unchanged then > it reenters the filter at the next rule after the one that diverted > it.. > (i.e. where it left off) > > >> >> _______________________________________________ >> 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" >> > > _______________________________________________ > 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 Sep 9 10:52:26 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 9E62816A4BF for ; Tue, 9 Sep 2003 10:52:26 -0700 (PDT) Received: from vsmtp3.tin.it (vsmtp3.tin.it [212.216.176.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E9043FAF for ; Tue, 9 Sep 2003 10:52:23 -0700 (PDT) (envelope-from flag@tin.it) Received: from southcross.skynet.org (80.182.24.52) by vsmtp3.tin.it (7.0.019) id 3F4F1DDF003F0CD8; Tue, 9 Sep 2003 19:52:21 +0200 Received: by southcross.skynet.org (Postfix, from userid 1001) id 0BFF51D8; Tue, 9 Sep 2003 19:31:30 +0200 (CEST) Date: Tue, 9 Sep 2003 19:31:30 +0200 From: Paolo Pisati To: Josh Brooks Message-ID: <20030909173130.GA209@southcross.skynet.org> References: <20030909000347.A90081@xorpc.icir.org> <20030909065259.A77579-100000@mail.econolodgetulsa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030909065259.A77579-100000@mail.econolodgetulsa.com> User-Agent: Mutt/1.4.1i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD southcross.skynet.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE cc: FreeBSD_Net Subject: Re: how do I delete just one ipfw rule ? 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, 09 Sep 2003 17:52:26 -0000 On Tue, Sep 09, 2003 at 06:53:56AM -0700, Josh Brooks wrote: > > > > On Tue, 9 Sep 2003, Luigi Rizzo wrote: > > > no, it is not possible to delete them -- you have no way to tell > > which rule to delete when multiple rules share the same number. > > Are there any plans to make ipfw more flexible by changing the 65535 to > the next power of two ? So there are a lot more rules ? How many rules do you need in your firewall? I'm curious... =) -- Paolo Italian FreeBSD User Group: http://www.gufi.org Join us at GufiCON4 in Pisa: http://www.gufi.org/guficon4/ From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 12:15:35 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 DE65716A4BF for ; Tue, 9 Sep 2003 12:15:35 -0700 (PDT) Received: from usermail.zytrax.com (usermail.zytrax.com [207.35.76.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF99743FE3 for ; Tue, 9 Sep 2003 12:15:34 -0700 (PDT) (envelope-from sheri@zytrax.com) Received: from [207.35.76.15] (HELO zytrax.com) by usermail.zytrax.com (CommuniGate Pro SMTP 3.3.2) with ESMTP id 673806 for freebsd-net@freebsd.org; Tue, 09 Sep 2003 14:54:14 -0400 Message-ID: <3F5E26DE.1000907@zytrax.com> Date: Tue, 09 Sep 2003 15:15:42 -0400 From: Sheri Salami Organization: ZYTRAX, Inc. User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SCTP on FreeBSD5.1 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, 09 Sep 2003 19:15:36 -0000 Hello: We are actively working on a project to implement SCTP (actually we want to implement the whole SIGTRAN stack ) on FreeBSD 5.1-current. Are there any others who have succesfully done this on 5.1? and are there any suggestions or reference info on building and testing?. Or is better to wait for the FreeBSD 5.2 stable version. I'd rather not implement it on FreeBSD 4.6. Any Suggestions would be helpful. Thanks -- Sheri Salami Zytrax Inc. http://www.zytrax.com mailto:info@zytrax.com Telephone:(514)285-9088 From owner-freebsd-net@FreeBSD.ORG Tue Sep 9 12:29:02 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 7237216A4BF for ; Tue, 9 Sep 2003 12:29:02 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED5643FE9 for ; Tue, 9 Sep 2003 12:29:01 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])h89JTIIp025250; Tue, 9 Sep 2003 15:29:19 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h89JTEEa025249; Tue, 9 Sep 2003 15:29:14 -0400 (EDT) Date: Tue, 9 Sep 2003 15:29:14 -0400 From: Craig Rodrigues To: Sheri Salami Message-ID: <20030909192914.GA25233@crodrigues.org> References: <3F5E26DE.1000907@zytrax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F5E26DE.1000907@zytrax.com> User-Agent: Mutt/1.4i cc: freebsd-net@freebsd.org Subject: Re: SCTP on FreeBSD5.1 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, 09 Sep 2003 19:29:02 -0000 On Tue, Sep 09, 2003 at 03:15:42PM -0400, Sheri Salami wrote: > Hello: > > We are actively working on a project to implement SCTP (actually we want > to implement the whole SIGTRAN stack ) on FreeBSD 5.1-current. Are > there any others who have succesfully done this on 5.1? and are there > any suggestions or reference info on building and testing?. Or is better > to wait for the FreeBSD 5.2 stable version. I'd rather not implement it > on FreeBSD 4.6. Any Suggestions would be helpful. Thanks Are you implementing SCTP from scratch? If you run FreeBSD-STABLE (i.e. FreeBSD 4.8), you can get a version of SCTP in the latest KAME snapshots: http://www.kame.net. This version of SCTP is a kernel level implementation that is written and maintained by Randall Stewart, the original designer of the SCTP protocol. You can get more info at Randall's page: http://www.sctp.org I've tried to port Randall's SCTP implementation from -STABLE to -CURRENT (i.e. 5.2), and it is not a trivial thing to do, so I haven't successfully completed it. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 07:27: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 F0B3716A4BF for ; Wed, 10 Sep 2003 07:27:14 -0700 (PDT) Received: from pink.seudns.net (200-204-93-166.dsl.telesp.net.br [200.204.93.166]) by mx1.FreeBSD.org (Postfix) with SMTP id E412143FE9 for ; Wed, 10 Sep 2003 07:27:12 -0700 (PDT) (envelope-from ale@seudns.net) Received: (qmail 13103 invoked from network); 10 Sep 2003 14:27:02 -0000 Received: from unknown (HELO ale) (192.168.0.3) by 192.168.0.1 with SMTP; 10 Sep 2003 14:27:02 -0000 Message-ID: <01e501c377a7$aa5aff80$0300a8c0@ale> From: "Alexandre Biancalana" To: Date: Wed, 10 Sep 2003 11:27:29 -0300 MIME-Version: 1.0 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Adaptec Quad Nic Problem 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, 10 Sep 2003 14:27:15 -0000 Hi All, I have a Firewall/Gateway running FreeBSD 4.8-STABLE connected to = an internet link of 2.5Mbits/s througth an Quad-NIC Adaptec ANA6944A, = that when having a high""traffic the switch port where the machine is = connected points that's is down and the following messages appear in = /var/log/messages: Sep 8 10:53:41 Krusty /kernel: sf0: watchdog timeout Sep 8 10:54:59 Krusty /kernel: sf0: watchdog timeout Sep 8 11:01:53 Krusty /kernel: sf0: TX ring full, resetting Sep 8 11:01:57 Krusty /kernel: sf0: watchdog timeout Sep 8 11:14:37 Krusty /kernel: sf0: watchdog timeout Sep 8 11:20:11 Krusty /kernel: sf0: TX ring full, resetting Sep 8 11:20:14 Krusty /kernel: sf0: TX ring full, resetting Sep 8 11:45:26 Krusty /kernel: sf0: TX ring full, resetting Sep 8 12:03:38 Krusty /kernel: sf0: TX ring full, resetting Sep 8 12:03:41 Krusty /kernel: sf0: TX ring full, resetting The transfers don't exceed 1/2 off total bandwitch available in this = link, that's 2.5Mbit/s but the transfers don't exceed 700 Kbit/s..... After google, I have seen some case about that but without an solution. Someone can help me !? Best Regards, Alexandre Biancalana From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 10:28:07 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 437ED16A4BF for ; Wed, 10 Sep 2003 10:28:07 -0700 (PDT) Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E20643FD7 for ; Wed, 10 Sep 2003 10:28:06 -0700 (PDT) (envelope-from pblok@inter.NL.net) Received: from bsdpc (ip503cf841.speed.planet.nl [80.60.248.65]) by smtp01.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HL000IP7DUSEA@smtp01.wxs.nl> for freebsd-net@freebsd.org; Wed, 10 Sep 2003 19:28:05 +0200 (MEST) Date: Wed, 10 Sep 2003 19:28:03 +0200 From: "Peter J. Blok" In-reply-to: <01e501c377a7$aa5aff80$0300a8c0@ale> To: Alexandre Biancalana , freebsd-net@freebsd.org Message-id: <200309101928.04205.pblok@inter.NL.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5.3 References: <01e501c377a7$aa5aff80$0300a8c0@ale> Subject: Re: Adaptec Quad Nic Problem 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, 10 Sep 2003 17:28:07 -0000 Hi, I have the same card working since 4.5 I believe. Even under massive load I do not have any issues. As a matter of fact I have two of those in one box. However, I have seen this once in a different PC. It turned out to be an interupt conflict. Peter On Wednesday 10 September 2003 16:27, Alexandre Biancalana wrote: > Hi All, > > I have a Firewall/Gateway running FreeBSD 4.8-STABLE connected to an > internet link of 2.5Mbits/s througth an Quad-NIC Adaptec ANA6944A, that > when having a high""traffic the switch port where the machine is connected > points that's is down and the following messages appear in > /var/log/messages: > > Sep 8 10:53:41 Krusty /kernel: sf0: watchdog timeout > Sep 8 10:54:59 Krusty /kernel: sf0: watchdog timeout > Sep 8 11:01:53 Krusty /kernel: sf0: TX ring full, resetting > Sep 8 11:01:57 Krusty /kernel: sf0: watchdog timeout > Sep 8 11:14:37 Krusty /kernel: sf0: watchdog timeout > Sep 8 11:20:11 Krusty /kernel: sf0: TX ring full, resetting > Sep 8 11:20:14 Krusty /kernel: sf0: TX ring full, resetting > Sep 8 11:45:26 Krusty /kernel: sf0: TX ring full, resetting > Sep 8 12:03:38 Krusty /kernel: sf0: TX ring full, resetting > Sep 8 12:03:41 Krusty /kernel: sf0: TX ring full, resetting > > The transfers don't exceed 1/2 off total bandwitch available in this link, > that's 2.5Mbit/s but the transfers don't exceed 700 Kbit/s..... > > After google, I have seen some case about that but without an solution. > Someone can help me !? > > Best Regards, > > Alexandre Biancalana > _______________________________________________ > 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 Sep 10 11:02:37 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 2DA5816A4C0 for ; Wed, 10 Sep 2003 11:02:37 -0700 (PDT) Received: from paiol.terra.com.br (paiol.terra.com.br [200.176.3.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A7BE43FDD for ; Wed, 10 Sep 2003 11:02:36 -0700 (PDT) (envelope-from eick.jac@terra.com.br) Received: from marova.terra.com.br (marova.terra.com.br [200.176.3.39]) by paiol.terra.com.br (Postfix) with ESMTP id 5461984963D for ; Wed, 10 Sep 2003 15:02:30 -0300 (BRT) Received: from eicke (unknown [200.162.114.126]) (authenticated user eick.jac) by marova.terra.com.br (Postfix) with ESMTP id 0FC003DC6A2 for ; Wed, 10 Sep 2003 15:02:30 -0300 (BRT) Message-ID: <00c601c377c5$7ccc43d0$0905a8c0@alellyxbr.com.br> From: "Eicke" To: "FreeBSD_Net" Date: Wed, 10 Sep 2003 15:00:57 -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.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: sendmail 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, 10 Sep 2003 18:02:37 -0000 Hi folks, I have a machine with FreeBSD 4.6 and Sendmail 8.12.3 I need only sent e-mails using this machine. My rc.conf contents the following: sendmail_enable="NONE" When I try to send a simple mail an error occours: # cat /etc/rc.conf | mail teste@empresa.com # can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. Could you help me? Regards. Eicke. From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 11:37:35 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 4965016A4BF for ; Wed, 10 Sep 2003 11:37:35 -0700 (PDT) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DC2643FDD for ; Wed, 10 Sep 2003 11:37:34 -0700 (PDT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.9/8.12.9) with ESMTP id h8AIbVIw046496 for ; Wed, 10 Sep 2003 14:37:31 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.9/8.12.9/Submit) id h8AIbUwc046495; Wed, 10 Sep 2003 14:37:31 -0400 (EDT) Date: Wed, 10 Sep 2003 14:37:30 -0400 From: Bill Vermillion To: Eicke Message-ID: <20030910183730.GA46417@wjv.com> References: <00c601c377c5$7ccc43d0$0905a8c0@alellyxbr.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00c601c377c5$7ccc43d0$0905a8c0@alellyxbr.com.br> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD_Net Subject: Re: sendmail 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, 10 Sep 2003 18:37:35 -0000 When asked his whereabouts on Wed, Sep 10, 2003 at 15:00 , Eicke took the fifth, drank it, and then slurred: > Hi folks, > I have a machine with FreeBSD 4.6 and Sendmail 8.12.3 > I need only sent e-mails using this machine. My rc.conf contents the > following: > sendmail_enable="NONE" That disable sendmail entirely. > > When I try to send a simple mail an error occours: > # cat /etc/rc.conf | mail teste@empresa.com > # can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. In /etc/rc.conf try this. sendmail_submit_enable="YES" for local use or sendmail_submit_outbound="YES" For best results try man 8 rc.sendmail. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 11:38:08 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 6589016A4BF for ; Wed, 10 Sep 2003 11:38:08 -0700 (PDT) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5713C43FF3 for ; Wed, 10 Sep 2003 11:38:07 -0700 (PDT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.9/8.12.9) with ESMTP id h8AIc5Iw046526 for ; Wed, 10 Sep 2003 14:38:05 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.9/8.12.9/Submit) id h8AIc51x046525; Wed, 10 Sep 2003 14:38:05 -0400 (EDT) Date: Wed, 10 Sep 2003 14:38:04 -0400 From: Bill Vermillion To: Eicke Message-ID: <20030910183730.GA46417@wjv.com> References: <00c601c377c5$7ccc43d0$0905a8c0@alellyxbr.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00c601c377c5$7ccc43d0$0905a8c0@alellyxbr.com.br> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD_Net Subject: Re: sendmail 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, 10 Sep 2003 18:38:08 -0000 When asked his whereabouts on Wed, Sep 10, 2003 at 15:00 , Eicke took the fifth, drank it, and then slurred: > Hi folks, > I have a machine with FreeBSD 4.6 and Sendmail 8.12.3 > I need only sent e-mails using this machine. My rc.conf contents the > following: > sendmail_enable="NONE" That disable sendmail entirely. > > When I try to send a simple mail an error occours: > # cat /etc/rc.conf | mail teste@empresa.com > # can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. In /etc/rc.conf try this. sendmail_submit_enable="YES" for local use or sendmail_submit_outbound="YES" For best results try man 8 rc.sendmail. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 12:06:22 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 87F2516A4BF for ; Wed, 10 Sep 2003 12:06:22 -0700 (PDT) Received: from web40604.mail.yahoo.com (web40604.mail.yahoo.com [66.218.78.141]) by mx1.FreeBSD.org (Postfix) with SMTP id DE6B243FD7 for ; Wed, 10 Sep 2003 12:06:21 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030910190621.74430.qmail@web40604.mail.yahoo.com> Received: from [143.48.14.233] by web40604.mail.yahoo.com via HTTP; Wed, 10 Sep 2003 12:06:21 PDT Date: Wed, 10 Sep 2003 12:06:21 -0700 (PDT) From: John DeStefano To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nVidia nForce2 chipset and on-board ethernet 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, 10 Sep 2003 19:06:22 -0000 Over the past few months, there have been a handful of posts regarding the lack of support in FreeBSD for on-board ethernet interfaces using the nVidia nForce2 chipset.  I have currently a network-impared machine with an Asus A7N8X motherboard, which uses this chipset.  In one exchange, Mr. Bill Paul requested information from other users (which I was glad to provide) that he could pool together in order to justify a demand for related drivers.  He indicated that the response was great, but I've not since noticed any further report of results and was wondering if it had gotten anywhere.  In fact, this is the second post on -net I've made regarding this topic; the first a month ago drew no reply. I'd love to get this box on the network and on the 'Net with FreeBSD, without adding another NIC interface, which would affect the other OSes I have on this particular box (and which support this interface without trouble). Thanks, ~John __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 12:29: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 D455D16A4BF for ; Wed, 10 Sep 2003 12:29:11 -0700 (PDT) Received: from goliath.cnchost.com (goliath.cnchost.com [207.155.252.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F54743FBD for ; Wed, 10 Sep 2003 12:29:11 -0700 (PDT) (envelope-from jetman@mycbc.com) Received: from EAGLE (216.66.58.184.cyberwarp.net [216.66.58.184]) by goliath.cnchost.com id PAA18619; Wed, 10 Sep 2003 15:29:07 -0400 (EDT) [ConcentricHost SMTP Relay 1.15] Errors-To: Message-ID: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> From: "The Jetman" To: "FreeBSD Net" Date: Wed, 10 Sep 2003 15:33:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Subject: [4.5-R]FTP Uploading Is Massively Broken.... 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, 10 Sep 2003 19:29:11 -0000 Folks: ...that is, on my system. This is driving me crazy. I built w/o much difficulty an NATing Internet gateway, using a fixed wireless connection. (The WiFi card is an Orinoco Silver PCMCIA NIC.) It's been working non-stop for over 18 mos. Download speeds are fine, but uploads (primarily FTP uloads) are massively broken. I disable the firewall and try uploads from the gateway, but the xfer stalls constantly. Here are my sysctl variables for the tcp subsystem: net.inet.tcp.sendspace: 1024 net.inet.tcp.recvspace: 65536 net.inet.tcp.keepinit: 75000 net.inet.tcp.delacktime: 100 net.inet.tcp.v6mssdflt: 1024 net.inet.tcp.log_in_vain: 0 net.inet.tcp.blackhole: 2 net.inet.tcp.delayed_ack: 1 net.inet.tcp.path_mtu_discovery: 0 net.inet.tcp.slowstart_flightsize: 1 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.newreno: 0 I turned off newreno and path_mtu_discovery, per what little I could find on the 'net. I tweaked down the sendspace setting (to 1024) on my own, which seemed to improve uploads (~ 7KB/s) from the gateway itself, but no joy from my NATed workstations. Even tests uloading to my ISPs local FTP server yield poor results. I haven't done any other tweaking of system settings, since I don't want to wreck an otherwise operational system. I've posted dozens of queries on the popular search engines (Google, Lycos, AltaVista, et al.) but no joy. Seems like this difficulty is unique to my site. I'd like to upgrade the gateway to 4.8, but I need an available Sunday, so I can backup and completely rebuild the system, so that's out for the near-term. Besides, if I could get my workstations to upload at a decent speed (at least 10KB/s), I could live w/ that for at least a little while. I must emphasize I'm not a newbie. I've setup a couple Samba/FBSD file servers and a production bandwidth-limiting, Ethernet bridge that's throttling a very active T1 circuit. I don't consider myself an FBSD expert yet, but I've successfully deployed a number of FBSD systems in real-life environments. I just need a little help from a REAL FBSD expert. TIA....Jet =============== From the desk of Jethro Wright, III ================ + Nothing causes self-delusion quite so readily as power. = === jetman516@hotmail.com ========================= Liu Binyan === From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 15:43: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 3545D16A4BF for ; Wed, 10 Sep 2003 15:43:34 -0700 (PDT) Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7334D43FDD for ; Wed, 10 Sep 2003 15:43:33 -0700 (PDT) (envelope-from mksmith@noanet.net) Received: from [64.81.189.2] (mksmith@mks733.mks.noanet.net [64.81.189.2]) by chimera.noanet.net (8.12.9/8.12.9) with SMTP id h8AMhUg3088498; Wed, 10 Sep 2003 15:43:31 -0700 (PDT) User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Wed, 10 Sep 2003 15:43:29 -0700 From: "Michael K. Smith" To: The Jetman , FreeBSD Net Message-ID: In-Reply-To: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: [4.5-R]FTP Uploading Is Massively Broken.... 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, 10 Sep 2003 22:43:34 -0000 On 9/10/03 12:33 PM, "The Jetman" wrote: > > Folks: ...that is, on my system. This is driving me crazy. I > built w/o much difficulty an NATing Internet gateway, using a fixed wireless > connection. (The WiFi card is an Orinoco Silver PCMCIA NIC.) It's been > working non-stop for over 18 mos. Download speeds are fine, but uploads > (primarily FTP uloads) are massively broken. I disable the firewall > and try uploads from the gateway, but the xfer stalls constantly. > > Here are my sysctl variables for the tcp subsystem: > > net.inet.tcp.sendspace: 1024 > net.inet.tcp.recvspace: 65536 > net.inet.tcp.keepinit: 75000 > net.inet.tcp.delacktime: 100 > net.inet.tcp.v6mssdflt: 1024 > net.inet.tcp.log_in_vain: 0 > net.inet.tcp.blackhole: 2 > net.inet.tcp.delayed_ack: 1 > net.inet.tcp.path_mtu_discovery: 0 > net.inet.tcp.slowstart_flightsize: 1 > net.inet.tcp.local_slowstart_flightsize: 4 > net.inet.tcp.newreno: 0 > I went through my settings and the only difference in the variables you posted was: net.inet.tcp.sendspace: 32768 You might try that to see if it helps. Also, have you checked your interfaces errors? Mike -- Michael K. Smith NoaNet 206.219.7116 (work) 206.579.8360 (cell) mksmith@noanet.net http://www.noanet.net From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 16:06: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 E04C616A4BF for ; Wed, 10 Sep 2003 16:06:30 -0700 (PDT) Received: from venus.vincentjardin.net (AVelizy-102-1-2-67.w217-128.abo.wanadoo.fr [217.128.206.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5604D43FE3 for ; Wed, 10 Sep 2003 16:06:29 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: from venus.vincentjardin.net (localhost [127.0.0.1]) h8AN6UnK004807 for ; Thu, 11 Sep 2003 01:06:30 +0200 (CEST) (envelope-from jardin@venus.vincentjardin.net) Received: by venus.vincentjardin.net (8.12.9/8.12.9/Submit) id h8AN6TGt004806 for net@freebsd.org; Thu, 11 Sep 2003 01:06:29 +0200 (CEST) From: Vincent Jardin To: net@freebsd.org Date: Thu, 11 Sep 2003 01:06:28 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309110106.28960.vjardin@free.fr> Subject: KMAP ENTRY limit 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, 10 Sep 2003 23:06:31 -0000 Hi, I get a FreeBSD 4.8 that reaches the limit of KMAP ENTRY whereas it remains enough free memory. How is computed this limit and how can it be increased ? $ vmstat -z ITEM SIZE LIMIT USED FREE REQUESTS ... KMAP ENTRY: 48, 7933, 130, 168, 1037 (panic when SIZE >= LIMIT) Moreover, why should vm_map_entry_create() panic when zalloc() returns NULL ? I think one can return NULL without panicing. Is it a bug or a feature ? Regards, Vincent From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 21:39: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 43A4016A4BF for ; Wed, 10 Sep 2003 21:39:11 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A30A43FDF for ; Wed, 10 Sep 2003 21:39:10 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 75411 invoked from network); 11 Sep 2003 04:39:08 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 11 Sep 2003 04:39:08 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 10 Sep 2003 23:37:46 -0500 (CDT) From: Mike Silbersack To: Vincent Jardin In-Reply-To: <200309110106.28960.vjardin@free.fr> Message-ID: <20030910233631.P67226@odysseus.silby.com> References: <200309110106.28960.vjardin@free.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: KMAP ENTRY limit 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, 11 Sep 2003 04:39:11 -0000 On Thu, 11 Sep 2003, Vincent Jardin wrote: > Hi, > > I get a FreeBSD 4.8 that reaches the limit of KMAP ENTRY whereas it remains > enough free memory. How is computed this limit and how can it be increased ? > > $ vmstat -z > ITEM SIZE LIMIT USED FREE REQUESTS > ... > KMAP ENTRY: 48, 7933, 130, 168, 1037 > (panic when SIZE >= LIMIT) > > Moreover, why should vm_map_entry_create() panic when zalloc() returns NULL ? > I think one can return NULL without panicing. Is it a bug or a feature ? > > Regards, > Vincent Heh, Tor just proposed raising the number of kmap entries allocated in a private thread. So, I think you'll see that change in soon enough. BTW, I hope size doesn't change as your machine is running. :) Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 23:54:46 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 B1F5F16A4BF for ; Wed, 10 Sep 2003 23:54:46 -0700 (PDT) Received: from mail.a-quadrat.at (N620P006.adsl.highway.telekom.at [62.47.21.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 306C343F75 for ; Wed, 10 Sep 2003 23:54:45 -0700 (PDT) (envelope-from mbretter@a-quadrat.at) Received: from localhost.a-quadrat.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id 34D725C067; Thu, 11 Sep 2003 08:54:36 +0200 (CEST) Date: Thu, 11 Sep 2003 08:54:36 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Sommerzeit?=) From: Michael Bretterklieber To: Damian Gerow In-Reply-To: <20030909144834.GF769@sentex.net> Message-ID: References: <20030908202007.GO769@sentex.net><20030909144834.GF769@sentex.net> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: MPD authenticating against Win NTLM / LDAP 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, 11 Sep 2003 06:54:46 -0000 Hi, On Tue, 9 Sep 2003, Damian Gerow wrote: > Thus spake Michael Bretterklieber (mbretter@a-quadrat.at) [09/09/03 03:28]: > > > Ideally, I'd like to get MPD authenticating via PAM, and then I can use > > > pam_winbind to authenticate against a domain. Any pointers or suggestions > > > (this looks like it will take a patch or some coding) would be greatly > > > appreciated. > > You can use FreeRADIUS, wich supports PAM authentication, and then > > configure MPD using RADIUS for authentication against you FreeRADIUS > > server. > > Yes, I found that out shortly after submitting that post. Now to find some > docs on getting mpd working via RADIUS... verify, if you have installed the latest version of MPD (3.14), and then put something like this into mpd.conf: set radius server your-w2k-server your-shared-secret set bundle enable radius-auth radius-fallback for more RADIUS related options take a look at the included mpd.conf.sample bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com A-Quadrat Automation GmbH - http://www.a-quadrat.at Tel: ++43-(0)3172-41679 - GSM: ++43-(0)699 12861847 ------------------------------- ---------------------------------- "...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 Thu Sep 11 16:37: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 0F6B016A4BF for ; Thu, 11 Sep 2003 16:37: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 8F4B143FCB for ; Thu, 11 Sep 2003 16:37:49 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h8BNbh9F038231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 12 Sep 2003 02:37:45 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h8BNbher038226 for net@FreeBSD.org; Fri, 12 Sep 2003 02:37:43 +0300 (EEST) (envelope-from ru) Date: Fri, 12 Sep 2003 02:37:43 +0300 From: Ruslan Ermilov To: net@FreeBSD.org Message-ID: <20030911233743.GA37247@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Non-deterministic behavior of the INADDR_ANY destination IP address 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, 11 Sep 2003 23:37:54 -0000 --rQ2U398070+RC21q Content-Type: multipart/mixed; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there! I always thought (until today) that an empty /etc/resolv.conf is equivalent to specifying the ``nameserver 127.0.0.1'' line in it, but as it turns out, it's not: the resolver(3) library just uses an uninitialized 0.0.0.0 address which is mapped to the first local IP address, not necessarily the one of the lo0 interface). The actual mapping depends on the order you have configured IP addresses. What the attached patch does is to ensure that if the loopback interface is configured for IPv4, its address is used for mapping of the 0.0.0.0 address. If not, then the first local IP address is used, as before. Let me know what do you think about it. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Index: in_pcb.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/in_pcb.c,v retrieving revision 1.122 diff -u -p -r1.122 in_pcb.c --- in_pcb.c 7 Aug 2003 15:04:27 -0000 1.122 +++ in_pcb.c 11 Sep 2003 23:06:35 -0000 @@ -542,14 +542,22 @@ in_pcbconnect_setup(inp, nam, laddrp, lp if (!TAILQ_EMPTY(&in_ifaddrhead)) { /* * If the destination address is INADDR_ANY, + * use the address of a loopback interface, or * use the primary local address. * If the supplied address is INADDR_BROADCAST, * and the primary interface supports broadcast, * choose the broadcast address for that interface. */ - if (faddr.s_addr == INADDR_ANY) - faddr = IA_SIN(TAILQ_FIRST(&in_ifaddrhead))->sin_addr; - else if (faddr.s_addr == (u_long)INADDR_BROADCAST && + if (faddr.s_addr == INADDR_ANY) { + TAILQ_FOREACH(ia, &in_ifaddrhead, ia_link) { + if (ia->ia_ifa.ifa_ifp->if_flags & IFF_LOOPBACK) { + faddr = ia->ia_addr.sin_addr; + break; + } + } + if (faddr.s_addr == INADDR_ANY) + faddr = IA_SIN(TAILQ_FIRST(&in_ifaddrhead))->sin_addr; + } else if (faddr.s_addr == (u_long)INADDR_BROADCAST && (TAILQ_FIRST(&in_ifaddrhead)->ia_ifp->if_flags & IFF_BROADCAST)) faddr = satosin(&TAILQ_FIRST( --zx4FCpZtqtKETZ7O-- --rQ2U398070+RC21q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/YQdHUkv4P6juNwoRAo3iAJ0RUAs2SB0SooH3eDocdC0zITHjbACeMJVd 5YcHWxoJRQuaNYWhJqNK0kc= =fXY8 -----END PGP SIGNATURE----- --rQ2U398070+RC21q-- From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 01:53:27 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 397BC16A4BF for ; Fri, 12 Sep 2003 01:53:27 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4695E43F85 for ; Fri, 12 Sep 2003 01:53:26 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 89341 invoked from network); 12 Sep 2003 08:53:24 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 12 Sep 2003 08:53:24 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 12 Sep 2003 03:52:11 -0500 (CDT) From: Mike Silbersack To: The Jetman In-Reply-To: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> Message-ID: <20030912035114.N24118@odysseus.silby.com> References: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Net Subject: Re: [4.5-R]FTP Uploading Is Massively Broken.... 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: Fri, 12 Sep 2003 08:53:27 -0000 On Wed, 10 Sep 2003, The Jetman wrote: > Folks: ...that is, on my system. This is driving me crazy. I > built w/o much difficulty an NATing Internet gateway, using a fixed wireless > connection. (The WiFi card is an Orinoco Silver PCMCIA NIC.) It's been > working non-stop for over 18 mos. Download speeds are fine, but uploads > (primarily FTP uloads) are massively broken. I disable the firewall > and try uploads from the gateway, but the xfer stalls constantly. In any situation like this, you *must* capture tcpdumps of one of the faulty sessions; without the information from a tcpdump, we have no hope of determining what is going on. Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 06:06:29 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 CF97116A4BF; Fri, 12 Sep 2003 06:06:29 -0700 (PDT) Received: from xaqua.tel.fer.hr (xaqua.tel.fer.hr [161.53.19.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1CA143FD7; Fri, 12 Sep 2003 06:06:28 -0700 (PDT) (envelope-from zec@tel.fer.hr) Received: by xaqua.tel.fer.hr (Postfix, from userid 20006) id B6C109B647; Fri, 12 Sep 2003 15:06:26 +0200 (CEST) Received: from marko-tp (unknown [161.53.19.46]) by xaqua.tel.fer.hr (Postfix) with ESMTP id 532419B645; Fri, 12 Sep 2003 15:06:25 +0200 (CEST) From: Marko Zec To: net@freebsd.org, stable@freebsd.org Date: Fri, 12 Sep 2003 15:05:15 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309121505.15651.zec@tel.fer.hr> X-Spam-Status: No, hits=-6.1 required=5.0 tests=BAYES_01,RCVD_IN_OSIRUSOFT_COM,USER_AGENT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Sanitizer: Advosys mail filter Subject: New snapshot: network stack cloning / virtualization patches 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: Fri, 12 Sep 2003 13:06:30 -0000 Network stack cloning patches allow for multiple fully independent network stacks to simultaneously coexistst in a single FreeBSD kernel. Combined with jail-style separation between user processes and with proportional-share extensions to the standard BSD CPU scheduler, the patched kernel can efficiently provide isolated and controllable pseudo virtual machine environments. The patches preserve the userland to kernel API/ABI, so all existing applications can run on the patched kernel without any need for modifications / recompiling. The latest snapshot of the patches (against 4.8-RELEASE) can be found at http://www.tel.fer.hr/zec/vimage/ What's new: Internal restructuring - struct vimage is now separated in resource-specific containers for network stack (vnet), jail-style process group (vprocg), and CPU scheduling (vcpu). This should allow for more modular resource virtualization in the future, however the necessary management API has yet to be implemented; Kernel message buffers - each vimage / vprocg now has a private kernel message buffer instance, thus allowing for (virtualized) printf() and log() messages from within the kernel to be routed to the appropriate msgbuf. The /dev/log interface has been hacked to support for multiple syslogd instances to access it simultaneously, while each receiving only the messages from the appropriate msgbuf instance; Several important bugfixes in TCP code virtualization. Cheers, Marko From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 06:39: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 976C416A4BF for ; Fri, 12 Sep 2003 06:39:06 -0700 (PDT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 889E243F75 for ; Fri, 12 Sep 2003 06:39:05 -0700 (PDT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 1668965260; Fri, 12 Sep 2003 14:39:04 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 50585-02; Fri, 12 Sep 2003 14:39:03 +0100 (BST) Received: by arginine.spc.org (Postfix, from userid 1078) id A52DC65240; Fri, 12 Sep 2003 14:39:03 +0100 (BST) Date: Fri, 12 Sep 2003 14:39:03 +0100 From: Bruce M Simpson To: Marko Zec Message-ID: <20030912133903.GS44087@spc.org> Mail-Followup-To: Bruce M Simpson , Marko Zec , freebsd-net@freebsd.org References: <200309121505.15651.zec@tel.fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309121505.15651.zec@tel.fer.hr> User-Agent: Mutt/1.4.1i Organization: SPC cc: freebsd-net@freebsd.org Subject: Re: New snapshot: network stack cloning / virtualization patches 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: Fri, 12 Sep 2003 13:39:06 -0000 Hi Marko, On Fri, Sep 12, 2003 at 03:05:15PM +0200, Marko Zec wrote: > Network stack cloning patches allow for multiple fully independent network > stacks to simultaneously coexistst in a single FreeBSD kernel. Combined with [snip] Your work is most interesting. I look forward to using it as a resource from which to learn when researching a prospective policy routing implementation for the 5.2 line of development, after the locking work has been finished. Have you considered porting your work to 5.x, perhaps as a Perforce project? Regards BMS From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 07:37:46 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 69AD016A4BF for ; Fri, 12 Sep 2003 07:37:46 -0700 (PDT) Received: from hotmail.com (law12-oe13.law12.hotmail.com [64.4.18.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5351644013 for ; Fri, 12 Sep 2003 07:37:40 -0700 (PDT) (envelope-from company2210@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 12 Sep 2003 07:37:39 -0700 Received: from 81.17.78.11 by law12-oe13.law12.hotmail.com with DAV; Fri, 12 Sep 2003 14:37:39 +0000 X-Originating-IP: [81.17.78.11] X-Originating-Email: [company2210@hotmail.com] From: "Company 2210" To: Date: Fri, 12 Sep 2003 15:37:57 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: X-OriginalArrivalTime: 12 Sep 2003 14:37:39.0742 (UTC) FILETIME=[6ABEB3E0:01C3793B] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Dummynet Pipes 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: Fri, 12 Sep 2003 14:37:46 -0000 I've got a question about dummynet pipes, basically I've installed two = rules per user to control their traffic flow:=20 add 150 pipe 15 ip from 78.77.76.21 to any out pipe 15 config bw 512Kbit/s queue 10 add 160 pipe 16 ip from any to 78.77.76.21 in pipe 16 config bw 512Kbit/s queue 10 However, the first (outbound traffic) rule is not kicking in. And the = users can upload at whatever capcity is on the backbone. Just wondering = if I've configured it correctly, or if something is missing - Any help = appericated. 00150 1190 148736 pipe 15 ip from 78.77.76.21 to any out 00160 0 0 pipe 16 ip from any to 78.77.76.21 in Colin From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 17:23:49 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 9364616A4BF for ; Fri, 12 Sep 2003 17:23:49 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA6BE43FE5 for ; Fri, 12 Sep 2003 17:23:48 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org (adsl-63-193-112-125.dsl.snfc21.pacbell.net [63.193.112.125])h8D0Nltu009190; Fri, 12 Sep 2003 19:23:47 -0500 (CDT) Message-Id: <200309130023.h8D0Nltu009190@mta4.rcsntx.swbell.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "The Jetman" In-Reply-To: Message from "The Jetman" <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Sep 2003 17:27:41 -0700 From: Jeffrey Hsu cc: FreeBSD Net Subject: Re: [4.5-R]FTP Uploading Is Massively Broken.... 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: Sat, 13 Sep 2003 00:23:49 -0000 > net.inet.tcp.sendspace: 1024 This will kill your send performance. Try raising it to 32 or 64k. From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 17:26:23 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 CD90516A4BF for ; Fri, 12 Sep 2003 17:26:23 -0700 (PDT) Received: from xaqua.tel.fer.hr (xaqua.tel.fer.hr [161.53.19.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8A9643FDD for ; Fri, 12 Sep 2003 17:26:22 -0700 (PDT) (envelope-from zec@tel.fer.hr) Received: by xaqua.tel.fer.hr (Postfix, from userid 20006) id DDB789B649; Sat, 13 Sep 2003 02:26:21 +0200 (CEST) Received: from tel.fer.hr (zg02-207.dialin.iskon.hr [213.191.130.208]) by xaqua.tel.fer.hr (Postfix) with ESMTP id 98DC49B647; Sat, 13 Sep 2003 02:26:19 +0200 (CEST) Message-ID: <3F6263D4.D63B74F0@tel.fer.hr> Date: Sat, 13 Sep 2003 02:24:53 +0200 From: Marko Zec X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce M Simpson References: <200309121505.15651.zec@tel.fer.hr> <20030912133903.GS44087@spc.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-28.8 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Sanitizer: Advosys mail filter cc: freebsd-net@freebsd.org Subject: Re: New snapshot: network stack cloning / virtualization patches 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: Sat, 13 Sep 2003 00:26:23 -0000 Bruce M Simpson wrote: > Hi Marko, > > On Fri, Sep 12, 2003 at 03:05:15PM +0200, Marko Zec wrote: > > Network stack cloning patches allow for multiple fully independent network > > stacks to simultaneously coexistst in a single FreeBSD kernel. Combined with > [snip] > > Your work is most interesting. I look forward to using it as a resource > from which to learn when researching a prospective policy routing > implementation for the 5.2 line of development, after the locking work > has been finished. > > Have you considered porting your work to 5.x, perhaps as a Perforce project? Sure, however until now my plans for doing a port to 5.x were blocked due to ENOTIME|ENOFUN. I guess a good point for starting such efforts would be after 5.2 is released, when the recent changes -CURRENT network stack have settled down a little bit. I'll be in need for a lot of help and guidance with 5.x specifics though... Cheers, Marko From owner-freebsd-net@FreeBSD.ORG Fri Sep 12 17:35: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 6481816A4BF for ; Fri, 12 Sep 2003 17:35:19 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 72D0443F3F for ; Fri, 12 Sep 2003 17:35:18 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 97143 invoked from network); 13 Sep 2003 00:35:17 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 13 Sep 2003 00:35:17 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 12 Sep 2003 19:34:04 -0500 (CDT) From: Mike Silbersack To: The Jetman In-Reply-To: <000d01c37982$239ce4e0$3200a8c0@CBCOFFICE> Message-ID: <20030912193151.S640@odysseus.silby.com> References: <00e401c377d2$7d13e840$3200a8c0@CBCOFFICE> <000d01c37982$239ce4e0$3200a8c0@CBCOFFICE> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: [4.5-R]FTP Uploading Is Massively Broken.... 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: Sat, 13 Sep 2003 00:35:19 -0000 On Fri, 12 Sep 2003, The Jetman wrote: > Mike: OKAY ! This is unknown territory for me, so I didn't know > TCPDUMP could be a friend, but I gen'd a simple TCPDUMP session, monitoring > a session via wi0 to my ISP's FTP server called (for the purps of this dump) > foobar.com. The test target is a 266567 byte ASCII file, which took 93 secs. > Obviously, I ZIPped the attachment. > > TIA....Jet I looked over the tcpdump that was sent to me, and it appears that Jeffery Hsu is right; by setting the sendspace down to 1024 bytes, you've caused your system to send smaller than normal packets and have also caused the system to send only one packet at a time, destroying performance. In addition, there is a problem with dropped packets, but that's to be expected on a wireless link, and it should be handled fine with a proper sendspace setting. Mike "Silby" Silbersack