From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 10:07:51 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 24EB816A420 for ; Sun, 30 Oct 2005 10:07:51 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35708.mail.mud.yahoo.com (web35708.mail.mud.yahoo.com [66.163.179.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A31043D48 for ; Sun, 30 Oct 2005 10:07:50 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 12793 invoked by uid 60001); 30 Oct 2005 10:07:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Si9cIv8+tYiczo7gnlrRh+kpnGd9KRHupR/nziP6/ClC5j2yjd2Od0Q1GCS4w1A8WrOQ+X5nRfJm7Jgxk/nUT62l0ATdicp7If68Z+rm0GJerCxkatSeGbQ3oH1D/XBvRBYUWEfPQeqs4obBdcAvZWj948X2YOIROtuy2YMqyps= ; Message-ID: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35708.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 02:07:49 PST Date: Sun, 30 Oct 2005 02:07:49 -0800 (PST) From: kamal kc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd , freebsd Subject: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 10:07:51 -0000 dear all, i have put sshd_enable="YES" and inetd_enable="YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 11:49:29 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 0195016A41F; Sun, 30 Oct 2005 11:49:29 +0000 (GMT) (envelope-from saundersconsult@hotmail.com) Received: from hotmail.com (bay101-dav15.bay101.hotmail.com [64.4.56.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC2A843D45; Sun, 30 Oct 2005 11:49:28 +0000 (GMT) (envelope-from saundersconsult@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 30 Oct 2005 03:49:23 -0800 Message-ID: Received: from 24.205.176.247 by BAY101-DAV15.phx.gbl with DAV; Sun, 30 Oct 2005 11:49:23 +0000 X-Originating-IP: [24.205.176.247] X-Originating-Email: [saundersconsult@hotmail.com] X-Sender: saundersconsult@hotmail.com From: "Shawn Saunders" To: "Gleb Smirnoff" References: <20051021053228.GX59364@cell.sick.ru> <20051026141733.GI41520@cell.sick.ru> Date: Sun, 30 Oct 2005 03:49:26 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-OriginalArrivalTime: 30 Oct 2005 11:49:23.0879 (UTC) FILETIME=[F8EF8370:01C5DD47] Cc: dionch@freemail.gr, freebsd-net@FreeBSD.org Subject: Re: Trying to make a Host into a gigabit hub for testing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shawn Saunders List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 11:49:29 -0000 Gleb, Can you clarify then, the difference between the on2many and hub modules? Based upon the names, I would consider the one2many to do exactly that, take anything from 'one' and redirect it out to anything identified by 'many?' I would also think that hub would behave exactly as a hub, introducing collisions, etc, within the shared namespace of the environment for hub. I do have some further questions. At what level is the redirection happening, specifically, is this happening in the driver on the NIC? Or are the packets being brought from the NIC into the kernel on the host, and then retransmitted out the NIC on the other port? Just currious. I am hoping to be running an interesting environment for about 20 days, and at the end of that, I hope to have some interesting real-life metrics, that I will be happy to share with the rest of you. Shawn ----- Original Message ----- From: "Gleb Smirnoff" To: "Shawn Saunders" Cc: ; Sent: Wednesday, October 26, 2005 6:17 AM Subject: Re: Trying to make a Host into a gigabit hub for testing > On Wed, Oct 26, 2005 at 07:15:18AM -0700, Shawn Saunders wrote: > S> Actually, I think one2many is more appropriate. I do not want the > traffic > S> that is coming in on the incoming ports to be echoed back to them, and > S> isn't that what the ng_hub would do? > > No, it wouldn't. It will send to all ports except of the port the > packet was received on. > > P.S. Please do not top quote. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 13:23:22 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 825CD16A45A; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from mail.quickmeet.com (quickmeet.com [216.228.17.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAB843D48; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from workstation (workstation [192.168.20.250]) by mail.quickmeet.com (Postfix) with SMTP id D7E0C17032; Sun, 30 Oct 2005 04:55:34 -0800 (PST) Message-Id: <3.0.1.32.20051030052327.00a66128@pop.redshift.com> X-Mailer: na X-Sender: redshift.com Date: Sun, 30 Oct 2005 05:23:27 -0800 To: kamal kc , freebsd-questions@freebsd.org From: ray@redshift.com In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: freebsd , freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 13:23:23 -0000 At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable="YES" | and inetd_enable="YES" | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 14:49:34 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 EE51216A41F for ; Sun, 30 Oct 2005 14:49:34 +0000 (GMT) (envelope-from nan.gop@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E43243D45 for ; Sun, 30 Oct 2005 14:49:34 +0000 (GMT) (envelope-from nan.gop@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so674803wxc for ; Sun, 30 Oct 2005 06:49:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DnhjDl7zk5meVl6pkiz9xCE4EbiGB2rUNzHOW12ktFQqGIyKWab9dp05VTpMD8grap6AMhlJtcPgI91xPg/iz+KvnbTHsH/8cJJJk4jibzOkltTSECx/ym24zdBjWtVeNL2OFphDewjA3/i1LxMtejce7n++sUGtXXLjY33h6vc= Received: by 10.70.82.3 with SMTP id f3mr1232997wxb; Sun, 30 Oct 2005 06:49:33 -0800 (PST) Received: by 10.70.87.10 with HTTP; Sun, 30 Oct 2005 06:49:33 -0800 (PST) Message-ID: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> Date: Sun, 30 Oct 2005 20:19:33 +0530 From: Nandagopal To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 14:49:35 -0000 Hello, I'm running freeBSD 6.0 Beta 4. It has been almost 1 month since I installe= d it. Everything was working fine until today. The problem, the browser (or any other app) takes too long to resolve a domain name; sometimes it just times out. However, I can access websites(services) using their ip address. The data transfer rates are also normal. I use a cable modem and get my IP using DHCP. As this machine is also a gateway, I run a named. Also, I had a system crash today due to a power failure. Another thing I noticed since the Beta 4 install is that I have to invoke 'dhclient' comand on my public interface very frequently. I tested the connection using Windows XP; everything works fine. So I guess there should be no hardware or modem troubles. Any help is appreciated. Sirode From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 15:13:45 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 58A6916A41F for ; Sun, 30 Oct 2005 15:13:45 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF41043D46 for ; Sun, 30 Oct 2005 15:13:44 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.5/8.13.1) with ESMTP id j9UFDgEp079184; Sun, 30 Oct 2005 10:13:42 -0500 (EST) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.5/8.13.1/Submit) id j9UFDgbX079183; Sun, 30 Oct 2005 10:13:42 -0500 (EST) (envelope-from bv) Date: Sun, 30 Oct 2005 10:13:42 -0500 From: Bill Vermillion To: Nandagopal Message-ID: <20051030151342.GD78577@wjv.com> References: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on bilver.wjv.com Cc: freebsd-net@freebsd.org Subject: Re: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 15:13:45 -0000 Shakespeare wrote plays and sonnets which will last an eternity, but on Sun, Oct 30, 2005 at 20:19 , Nandagopal wrote these truly forgetable lines: > I'm running freeBSD 6.0 Beta 4. It has been almost 1 month > since I installed it. Everything was working fine until today. > The problem, the browser (or any other app) takes too long to > resolve a domain name; sometimes it just times out. That means the nameserver you are pointing to is not resolving the names. > However, I can access websites(services) using their ip address. > The data transfer rates are also normal. I use a cable modem and > get my IP using DHCP. As this machine is also a gateway, I run a > named. That is typical of a nameserver not responding. A nameserver just looks up the IPs, so going to an address by IP bypasses the names server. > Also, I had a system crash today due to a power failure. > Another thing I noticed since the Beta 4 install is that I > have to invoke 'dhclient' comand on my public interface very > frequently. > I tested the connection using Windows XP; everything works fine. > So I guess there should be no hardware or modem troubles. > Any help is appreciated. Find the correct name servers. I don't use DHCP but I've noticed that many say that DHCP tend to rewrite the /etc/resolv.conf to add it's own nameserver. I forget what the process was in DHCP to keep this from happening, but you can put known working nameservers in your /etc/resolv.conf and then perform a 'chflags' to make that file read only, and then nothing will change it until you reset the flags. You problem Is not a BSD problem. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 15:15:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 AF8E616A41F; Sun, 30 Oct 2005 15:15:47 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05DB643D5D; Sun, 30 Oct 2005 15:15:39 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from riemann.math.jussieu.fr (riemann.math.jussieu.fr [134.157.13.3]) by shiva.jussieu.fr (8.13.5/jtpda-5.4) with ESMTP id j9UFFaX8065138 ; Sun, 30 Oct 2005 16:15:37 +0100 (CET) X-Ids: 168 Received: from grobner2.math.jussieu.fr (grobner2.math.jussieu.fr [134.157.13.119]) by riemann.math.jussieu.fr (8.12.10/jtpda-5.4) with ESMTP id j9UFFYN3056035 ; Sun, 30 Oct 2005 16:15:34 +0100 (CET) Received: from grobner2.math.jussieu.fr (localhost.localdomain [127.0.0.1]) by grobner2.math.jussieu.fr (8.13.1/jtpda-5.4) with ESMTP id j9UFFYmZ018527 ; Sun, 30 Oct 2005 16:15:34 +0100 Received: (from jas@localhost) by grobner2.math.jussieu.fr (8.13.1/8.13.1/Submit) id j9UFFXuj018526; Sun, 30 Oct 2005 16:15:33 +0100 Date: Sun, 30 Oct 2005 16:15:33 +0100 From: Albert Shih To: kamal kc Message-ID: <20051030151533.GA15623@math.jussieu.fr> References: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> User-Agent: Mutt/1.5.6i X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.53 on 134.157.13.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.168]); Sun, 30 Oct 2005 16:15:38 +0100 (CET) X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Miltered: at shiva.jussieu.fr with ID 4364E398.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: freebsd , freebsd-questions@freebsd.org, freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shih@math.jussieu.fr List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 15:15:48 -0000 Le 30/10/2005 à 02:07:49-0800, kamal kc a écrit > dear all, > > i have put sshd_enable="YES" > and inetd_enable="YES" > in /etc/rc.conf. > > netstat -an also shows that the port numbers > 21 and 22 are in listen state > > ftp is uncommented in /etc/inetd.conf > > but still the ssh/ftp services does not work. > > when i ftp from another computer the netstat > shows connection established but the ftp client > does not show anything. > > using ftp/ssh on the same computer also does not show > anything --- just blank. > > > what could have gone wrong. Check your /etc/hosts.allow Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sun Oct 30 16:15:08 CET 2005 From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 15:42:36 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 5977F16A41F for ; Sun, 30 Oct 2005 15:42:36 +0000 (GMT) (envelope-from nan.gop@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC84E43D45 for ; Sun, 30 Oct 2005 15:42:35 +0000 (GMT) (envelope-from nan.gop@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so680193wxc for ; Sun, 30 Oct 2005 07:42:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RJ6W2oKjGFGchoJrs+aXvDcdaff64wTyjpMFQTc6VLcdMzKr3n0zzpn6iU/QnyEsCB55DYRuAdq2WdfU0bQXRzhY4h0mdvh93B0ReYayX0jJPoembDNVMPdH7LjqsACof7iB6T4ttNc9C5yREs8paVvkeBrgTJp9k0jkUxlLIuk= Received: by 10.70.40.17 with SMTP id n17mr1254885wxn; Sun, 30 Oct 2005 07:42:35 -0800 (PST) Received: by 10.70.87.10 with HTTP; Sun, 30 Oct 2005 07:42:35 -0800 (PST) Message-ID: <7d678ce60510300742v39b6a451qafd34b325c2afecc@mail.gmail.com> Date: Sun, 30 Oct 2005 21:12:35 +0530 From: Nandagopal To: bv@wjv.com In-Reply-To: <20051030151342.GD78577@wjv.com> MIME-Version: 1.0 References: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> <20051030151342.GD78577@wjv.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 15:42:36 -0000 Hehe, sorry if I sounded too boring :) and thanks for replying. >Find the correct name servers. I have got two name-servers in my resolv.conf file. They are exactly the same as in the XP settings and they work just fine. Sirode From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 23:32:24 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 648D516A420 for ; Sun, 30 Oct 2005 23:32:24 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 669B443D46 for ; Sun, 30 Oct 2005 23:32:23 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 60220 invoked by uid 399); 30 Oct 2005 23:32:22 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 30 Oct 2005 23:32:22 -0000 Message-ID: <43655805.5000501@FreeBSD.org> Date: Sun, 30 Oct 2005 15:32:21 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: kamal kc References: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd , freebsd-questions@freebsd.org, freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 23:32:24 -0000 For future reference, you should not cross post to FreeBSD lists. If you are unsure what the best list will be, start with freebsd-questions. Good luck, Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 04:00:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 1EEFD16A41F for ; Mon, 31 Oct 2005 04:00:47 +0000 (GMT) (envelope-from suz@alaxala.net) Received: from mail6.hitachi.co.jp (mail6.hitachi.co.jp [133.145.228.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C5B243D45 for ; Mon, 31 Oct 2005 04:00:45 +0000 (GMT) (envelope-from suz@alaxala.net) Received: from mc1.mcg.hitachi.co.jp by mail6.hitachi.co.jp (8.9.3p3/3.7W-mail6) id NAA15275; Mon, 31 Oct 2005 13:00:45 +0900 (JST) Received: (from root@localhost) by mc1.mcg.hitachi.co.jp (8.11.6+Sun/8.11.6) id j9V40h600713 for freebsd-net@freebsd.org; Mon, 31 Oct 2005 13:00:43 +0900 (JST) Received: from unknown [192.168.2.1] by mc1.mcg.hitachi.co.jp with SMTP id PAA00709; Mon, 31 Oct 2005 13:00:43 +0900 Received: from MFILTER-S4.hitachi.co.jp by mlsv7.hitachi.co.jp (8.12.11/8.12.11) id j9V40gtX000674; Mon, 31 Oct 2005 13:00:42 +0900 Received: from vshuts1.hitachi.co.jp (unverified) by MFILTER-S4.hitachi.co.jp (Content Technologies SMTPRS 4.3.17) with SMTP id ; Mon, 31 Oct 2005 13:00:42 +0900 Received: from gmml16.itg.hitachi.co.jp ([158.213.165.46]) by vshuts1.hitachi.co.jp with SMTP id M2005103113004223265; Mon, 31 Oct 2005 13:00:42 +0900 Received: from flora220.uki-uki.net by gmml16.itg.hitachi.co.jp (AIX5.1/8.11.6p2/8.11.0) id j9V40fS407538; Mon, 31 Oct 2005 13:00:41 +0900 Date: Mon, 31 Oct 2005 12:59:39 +0900 Message-ID: From: SUZUKI Shinsuke To: craig@olyun.gank.org X-cite: xcite 1.33 In-Reply-To: References: <20051028012957.GA50419@nowhere> <20051028040901.GA47012@nowhere> <20051028211416.GA59989@nowhere> User-Agent: Wanderlust/2.15.1 (Almost Unreal) Emacs/22.0 Mule/5.0 (SAKAKI) Organization: Technical Marketing Dept., ALAXALA Networks Corporation MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Cc: freebsd-net@freebsd.org Subject: Re: 6.0-RC1 IPv6 losing local subnet route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 04:00:47 -0000 Hello Craig, >>>>> On Sat, 29 Oct 2005 21:22:08 +0900 >>>>> suz@kame.net(SUZUKI Shinsuke) said: > Here's the list of possible solutions. I'm now working on the > second one. But if you need an immediately solution for > 6.0-RELEASE, please consider the first one. I think I've done with it. Could you please try the following patch? http://www.kame.net/~suz/in6.c.diff.releng60 Thanks, ---- SUZUKI, Shinsuke @ KAME Project From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 07:36:52 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 4511216A41F for ; Mon, 31 Oct 2005 07:36:52 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2301243D46 for ; Mon, 31 Oct 2005 07:36:50 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j9V7anvT056073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Oct 2005 10:36:49 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j9V7amLt056072; Mon, 31 Oct 2005 10:36:48 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 31 Oct 2005 10:36:48 +0300 From: Gleb Smirnoff To: Shawn Saunders Message-ID: <20051031073648.GA41520@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Shawn Saunders , dionch@freemail.gr, freebsd-net@FreeBSD.org References: <20051021053228.GX59364@cell.sick.ru> <20051026141733.GI41520@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Cc: dionch@freemail.gr, freebsd-net@FreeBSD.org Subject: Re: Trying to make a Host into a gigabit hub for testing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 07:36:52 -0000 On Sun, Oct 30, 2005 at 03:49:26AM -0800, Shawn Saunders wrote: S> Can you clarify then, the difference between the on2many and hub modules? S> S> Based upon the names, I would consider the one2many to do exactly that, S> take anything from 'one' and redirect it out to anything identified by S> 'many?' >From ng_hub manual page: Packets received on any of the hooks are forwarded out the other hooks. >From ng_one2many manual page: Packets received on any of the many hooks are forwarded out the one hook. Packets received on the one hook are forwarded out one or more of the many hooks; which hook(s) is determined by the node's config- ured transmit algorithm. S> I would also think that hub would behave exactly as a hub, introducing S> collisions, etc, within the shared namespace of the environment for hub. No, there is no collisions in ng_hub. Several threads can work in the node simultaneously, forwarding packets in different directions. S> At what level is the redirection happening, specifically, is this happening S> in the driver on the NIC? Or are the packets being brought from the NIC S> into the kernel on the host, and then retransmitted out the NIC on the S> other port? Just currious. netgraph(4) works in the kernel, independently from device drivers. This means that packet is forwarded by driver to upper network layer in the kernel, there it is consumed by netgraph and later passed out the other NIC. S> I am hoping to be running an interesting environment for about 20 days, and S> at the end of that, I hope to have some interesting real-life metrics, that S> I will be happy to share with the rest of you. It will be interesting. P.S. Please do not top quote. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 08:12:21 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2A07B16A41F for ; Mon, 31 Oct 2005 08:12:21 +0000 (GMT) (envelope-from 000.fbsd@quip.cz) Received: from home.quip.cz (grimm.quip.cz [213.220.192.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B811B43D45 for ; Mon, 31 Oct 2005 08:12:20 +0000 (GMT) (envelope-from 000.fbsd@quip.cz) Received: from [192.168.1.2] (qwork.quip.test [192.168.1.2]) by home.quip.cz (Postfix) with ESMTP id 89436A20; Mon, 31 Oct 2005 09:12:18 +0100 (CET) Message-ID: <4365D1FB.2030401@quip.cz> Date: Mon, 31 Oct 2005 09:12:43 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: cs, cz, en, en-us MIME-Version: 1.0 To: Nandagopal References: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> <20051030151342.GD78577@wjv.com> <7d678ce60510300742v39b6a451qafd34b325c2afecc@mail.gmail.com> In-Reply-To: <7d678ce60510300742v39b6a451qafd34b325c2afecc@mail.gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 08:12:21 -0000 Nandagopal wrote: > Hehe, > sorry if I sounded too boring :) and thanks for replying. > > >>Find the correct name servers. > > > I have got two name-servers in my resolv.conf file. They are exactly the > same as in the XP settings and they work just fine. > > Sirode Do you have firewall (IPFW, IPF, PF) on freebsd machine? Ain't you blocking DNS replies? Miroslav Lachman From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 11:02:33 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 BCC9F16A420 for ; Mon, 31 Oct 2005 11:02:33 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 186D343D8D for ; Mon, 31 Oct 2005 11:02:23 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9VB2NBs009016 for ; Mon, 31 Oct 2005 11:02:23 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9VB2Mlp009010 for freebsd-net@freebsd.org; Mon, 31 Oct 2005 11:02:22 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Oct 2005 11:02:22 GMT Message-Id: <200510311102.j9VB2Mlp009010@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 11:02:33 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 15:53:30 2005 Return-Path: X-Original-To: net@freebsd.org 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 5734116A41F for ; Mon, 31 Oct 2005 15:53:30 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59FB243D76 for ; Mon, 31 Oct 2005 15:53:24 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 1E2D79722; Mon, 31 Oct 2005 16:53:23 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 9F586405A; Mon, 31 Oct 2005 16:52:56 +0100 (CET) Date: Mon, 31 Oct 2005 16:52:56 +0100 From: Jeremie Le Hen To: Julian Elischer Message-ID: <20051031155256.GB83943@obiwan.tataz.chchile.org> References: <435FEB14.4080007@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <435FEB14.4080007@elischer.org> User-Agent: Mutt/1.5.10i Cc: net@freebsd.org Subject: Re: diagram of 4.10 layer 2 spaghetti X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 15:53:30 -0000 Julian, > at: > > http://people.freebsd.org/~julian/layer2b.pdf > > I'm going to do one for RELENG_4 by add in the bits added, > and then, the big task.. > > one for -current > > BTW there is also one for the variant of 4.10 I am using at work.. > > http://people.freebsd.org/~julian/layer2c.pdf > > but it's probably not of general interest. Many thanks, this is _very_ instructive. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 15:56:59 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 991FD16A41F for ; Mon, 31 Oct 2005 15:56:59 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19E343D49 for ; Mon, 31 Oct 2005 15:56:58 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.5/8.13.1) with ESMTP id j9VFuuIT091180; Mon, 31 Oct 2005 10:56:56 -0500 (EST) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.5/8.13.1/Submit) id j9VFutHF091179; Mon, 31 Oct 2005 10:56:55 -0500 (EST) (envelope-from bv) Date: Mon, 31 Oct 2005 10:56:55 -0500 From: Bill Vermillion To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20051031155655.GD91034@wjv.com> References: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> <20051030151342.GD78577@wjv.com> <7d678ce60510300742v39b6a451qafd34b325c2afecc@mail.gmail.com> <4365D1FB.2030401@quip.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4365D1FB.2030401@quip.cz> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on bilver.wjv.com Cc: Nandagopal , freebsd-net@freebsd.org Subject: Re: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 15:56:59 -0000 Even though on Mon, Oct 31, 2005 at 09:12 Miroslav Lachman realized that everything he says should be taken 'cum grano salis', he unhesitatingly continued with this missive: > Nandagopal wrote: > > Hehe, > > sorry if I sounded too boring :) and thanks for replying. > > > > > >>Find the correct name servers. > > > > > > I have got two name-servers in my resolv.conf file. They are exactly the > > same as in the XP settings and they work just fine. > > > > Sirode > > Do you have firewall (IPFW, IPF, PF) on freebsd machine? Ain't you > blocking DNS replies? And besides having the name-servers in the resolv.conf file, depending on which version of FreeBSD he is using the order of searching will have to be in the host.conf file or how nsswitch is set up. If you don't tell the system to use those name servers it's not going to use them. I don't recall if the OP mentioned the OS version he was using in the original post. BIll -- Bill Vermillion - bv @ wjv . com From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 20:22:27 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 1988816A420; Mon, 31 Oct 2005 20:22:27 +0000 (GMT) (envelope-from rob@ipninja.net) Received: from storm.ipninja.net (storm.ipninja.net [209.161.218.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5165143D45; Mon, 31 Oct 2005 20:22:26 +0000 (GMT) (envelope-from rob@ipninja.net) Received: from storm.ipninja.net (www@localhost [127.0.0.1]) by storm.ipninja.net (8.13.3/8.13.1) with ESMTP id j9VKMIYh005618; Mon, 31 Oct 2005 15:22:18 -0500 (EST) (envelope-from rob@ipninja.net) Received: (from www@localhost) by storm.ipninja.net (8.13.3/8.13.1/Submit) id j9VKMI3e005617; Mon, 31 Oct 2005 15:22:18 -0500 (EST) (envelope-from rob@ipninja.net) X-Authentication-Warning: storm.ipninja.net: www set sender to rob@ipninja.net using -f Received: from ::ffff:66.203.207.9 (SquirrelMail authenticated user rob) by mail.ipninja.net with HTTP; Mon, 31 Oct 2005 15:22:18 -0500 (EST) Message-ID: <41765.::ffff:66.203.207.9.1130790138.squirrel@mail.ipninja.net> In-Reply-To: <1130514267.81705.101.camel@localhost> References: <4361FE7E.50607@dgnetwork.com.br> <43624181.5010305@roamingsolutions.net> <1130514267.81705.101.camel@localhost> Date: Mon, 31 Oct 2005 15:22:18 -0500 (EST) From: "Rob Viau" To: "Corey Smith" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on storm.ipninja.net Cc: G Bryant , freebsd-pf@freebsd.org, FreeBSD , freebsd-net@freebsd.org Subject: Re: Load Balancing Outgoing, its possible ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 20:22:27 -0000 > On Fri, 2005-10-28 at 17:19 +0200, G Bryant wrote: >> Daniel Dias Gonçalves wrote: >> >> > >> > It is possible to make this balancing with the PF ? Exists some >> > software that I make this ? Zebra can help me? >> > This type of balancing gives to problems with the navigation of the >> > user of NAT or IP valid ? >> > If it is possible, wanted to see examples with rules. >> > > > It would be much better to do per flow load balancing then per packet. > With per packet your TCP flows will arrive out of order which is a bad > situation since it will lead to a large number of retransmissions and > zero-window acknowledgments. > > The only tunable to help correct that is to allow selective > acknowledgments. > > You are going to get much higher utilization on your load balanced lines > by using per flow with multiple TCP connections. > > Anybody know how to implement per flow load balancing in FreeBSD? Are > multiple default routes supported? > > It would be beautiful if you could put multiple routes with the same > metric into the kernel and then the kernel would enable per flow load > balancing of the routes... > > -Corey Smith > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > I believe pf is per-flow. If it was not, then not only would your packets arrive out-of-order, but also with different source IPs when you were NATing to different interfaces on different ISPs (without your own block) which is something I was able to do with 3 links (with three different IP addresses) from 2 different providers. From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 20:40:36 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0B83E16A421; Mon, 31 Oct 2005 20:40:36 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26FAB43D45; Mon, 31 Oct 2005 20:40:35 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Mon, 31 Oct 2005 15:57:27 -0500 From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 31 Oct 2005 15:47:05 -0500 User-Agent: KMail/1.8.2 References: <20051027233636.GA39380@dmw.hopto.org> <20051028105057.J20147@fledge.watson.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510311547.07571.jhb@freebsd.org> Cc: freebsd , Vaibhave Agarwal , Robert Watson , current@freebsd.org Subject: Re: How to call a function in the kernel from Local APIC timer handler X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 20:40:36 -0000 On Friday 28 October 2005 07:39 pm, Vaibhave Agarwal wrote: > Hi, I need some help with the new local APIC functionality added in > FreeBSD 6.0 and above. > > All the code which I am writing is in FreeBSD kernel. > > I was using LAPIC one shot timer for scheduling some events in the kernel. > The problem is that I cannot call the function in my code, directly from > the APIC timer handler, because all the interrupts are disabled in the > APIC timer handler ( function is lapic_handle_timer() ), and my function > uses a sleep mutex to protect the kernel code I have written. > Therefore, I schedule a software interrupt thread, which calls my function > later in time. > Is there a way, I can call my function instantly from the > lapic_handle_timer, bcoz using the software interrupt thread, decreases > the accuracy of the scheduler i am using. You can use spin mutexes rather than sleep mutexes in the lapic_handle_timer() context. If you need msleep/wakeup() functionality you can provide that using the sleepq(9) interface directly. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 21:07:21 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 8001B16A420; Mon, 31 Oct 2005 21:07:21 +0000 (GMT) (envelope-from gbryant@roamingsolutions.net) Received: from basillia.speedxs.net (basillia.speedxs.net [83.98.255.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7E0443D4C; Mon, 31 Oct 2005 21:07:20 +0000 (GMT) (envelope-from gbryant@roamingsolutions.net) Received: from ongers.net (ongers.speedxs.nl [83.98.237.210]) by basillia.speedxs.net (Postfix) with ESMTP id E2C567058; Mon, 31 Oct 2005 21:24:53 +0100 (CET) Received: from (165.146.246.21 [165.146.246.21]) by MailEnable Inbound Mail Agent with ESMTP; Mon, 31 Oct 2005 21:44:25 +0100 Message-ID: <436680D0.8070307@roamingsolutions.net> Date: Mon, 31 Oct 2005 22:38:40 +0200 From: G Bryant User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en To: Rob Viau References: <4361FE7E.50607@dgnetwork.com.br> <43624181.5010305@roamingsolutions.net> <1130514267.81705.101.camel@localhost> <41765.::ffff:66.203.207.9.1130790138.squirrel@mail.ipninja.net> In-Reply-To: <41765.::ffff:66.203.207.9.1130790138.squirrel@mail.ipninja.net> Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0544-0, 2005/10/31), Outbound message X-Antivirus-Status: Clean MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, FreeBSD , freebsd-pf@freebsd.org Subject: Re: Load Balancing Outgoing, its possible ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 21:07:21 -0000 Rob Viau wrote: On Fri, 2005-10-28 at 17:19 +0200, G Bryant wrote: Daniel Dias Gonçalves wrote: It is possible to make this balancing with the PF ? Exists some software that I make this ? Zebra can help me? This type of balancing gives to problems with the navigation of the user of NAT or IP valid ? If it is possible, wanted to see examples with rules. It would be much better to do per flow load balancing then per packet. With per packet your TCP flows will arrive out of order which is a bad situation since it will lead to a large number of retransmissions and zero-window acknowledgments. The only tunable to help correct that is to allow selective acknowledgments. You are going to get much higher utilization on your load balanced lines by using per flow with multiple TCP connections. Anybody know how to implement per flow load balancing in FreeBSD? Are multiple default routes supported? It would be beautiful if you could put multiple routes with the same metric into the kernel and then the kernel would enable per flow load balancing of the routes... -Corey Smith _______________________________________________ [1]freebsd-pf@freebsd.org mailing list [2]http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to [3]"freebsd-pf-unsubscribe@freebsd.org" I believe pf is per-flow. If it was not, then not only would your packets arrive out-of-order, but also with different source IPs when you were NATing to different interfaces on different ISPs (without your own block) which is something I was able to do with 3 links (with three different IP addresses) from 2 different providers. The scripts I attached with previous email provide per-flow load sharing using ipfw and natd. System is currently live. Regards, Graham References 1. mailto:freebsd-pf@freebsd.org 2. http://lists.freebsd.org/mailman/listinfo/freebsd-pf 3. mailto:freebsd-pf-unsubscribe@freebsd.org From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 21:24:39 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3AA3A16A41F for ; Mon, 31 Oct 2005 21:24:39 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.62]) by mx1.FreeBSD.org (Postfix) with SMTP id B261843D48 for ; Mon, 31 Oct 2005 21:24:38 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 13992 invoked by uid 399); 31 Oct 2005 21:24:38 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 31 Oct 2005 21:24:38 -0000 Message-ID: <43668B94.8000001@FreeBSD.org> Date: Mon, 31 Oct 2005 13:24:36 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Earthlink IPv6 experiment X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 21:24:39 -0000 Howdy, I have been using the experimental IPv6 connection described at http://www.research.earthlink.net/ipv6/ for some time now, and it works very well. If anyone is interested in using IPv6 in a real way in FreeBSD, I would encourage you to give it a try. If you shop around a little it's fairly easy to pick up a Linksys WRT54G in the $40 range or so. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 21:29:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0801D16A41F for ; Mon, 31 Oct 2005 21:29:47 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 59C8543D48 for ; Mon, 31 Oct 2005 21:29:46 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 16876 invoked by uid 399); 31 Oct 2005 21:29:45 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 31 Oct 2005 21:29:45 -0000 Message-ID: <43668CC8.3020805@FreeBSD.org> Date: Mon, 31 Oct 2005 13:29:44 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: IPv6 for www.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 21:29:47 -0000 As I mentioned in my previous post, I have been using earthlink's IPv6 experiment to get an IPv6 connection at home. I am therefore trying to use it as much as possible to see what works, and what breaks. FreeBSD makes it fairly easy to do that, but it's fairly hard to get to the web site over v6. Admittedly there is a list of v6-capable mirrors on the front page, and they work fairly well. However, I think it would be nice to pick one or two of those sites and add the AAAA record to www.freebsd.org. I have been simulating this in my hosts file using the first US mirror site, and haven't run into any problems yet. I think it would be a step in the right direction for us to support v6 for our site "out of the box." Thoughts? Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 22:54:10 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 47AF316A41F for ; Mon, 31 Oct 2005 22:54:10 +0000 (GMT) (envelope-from craig@olyun.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id D702943D46 for ; Mon, 31 Oct 2005 22:54:09 +0000 (GMT) (envelope-from craig@olyun.gank.org) Received: by ion.gank.org (mail, from userid 1001) id 4FD592BA0E; Mon, 31 Oct 2005 16:54:09 -0600 (CST) Date: Mon, 31 Oct 2005 16:54:09 -0600 From: Craig Boston To: SUZUKI Shinsuke Message-ID: <20051031225408.GA56085@nowhere> References: <20051028012957.GA50419@nowhere> <20051028040901.GA47012@nowhere> <20051028211416.GA59989@nowhere> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: 6.0-RC1 IPv6 losing local subnet route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 22:54:10 -0000 On Mon, Oct 31, 2005 at 12:59:39PM +0900, SUZUKI Shinsuke wrote: > Hello Craig, > I think I've done with it. > > Could you please try the following patch? > http://www.kame.net/~suz/in6.c.diff.releng60 Been running with your patch all day and so far no problems whatsoever. I can run ifconfig over and over again with no ill effect. Haven't tried with autoconf, but at least for static addresses it seems to do the trick. Thanks! Craig From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 23:23:45 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2E1C316A41F for ; Mon, 31 Oct 2005 23:23:45 +0000 (GMT) (envelope-from suz@alaxala.net) Received: from pc1.alaxala.kame.net (kame219.kame.net [203.178.141.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id B10DA43D48 for ; Mon, 31 Oct 2005 23:23:44 +0000 (GMT) (envelope-from suz@alaxala.net) Received: from localhost (localhost [127.0.0.1]) by pc1.alaxala.kame.net (Postfix) with ESMTP id 8B5A2636B; Tue, 1 Nov 2005 08:24:54 +0900 (JST) Received: from pc1.alaxala.kame.net ([127.0.0.1]) by localhost (pc1.alaxala.kame.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17661-07; Tue, 1 Nov 2005 08:24:46 +0900 (JST) Received: from flora220.uki-uki.net (240.163.192.61.tokyo.global.alpha-net.ne.jp [61.192.163.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pc1.alaxala.kame.net (Postfix) with ESMTP id 073C261D2; Tue, 1 Nov 2005 08:24:45 +0900 (JST) Date: Tue, 01 Nov 2005 00:28:01 +0900 Message-ID: From: SUZUKI Shinsuke To: craig@olyun.gank.org X-cite: xcite 1.33 In-Reply-To: <20051031225408.GA56085@nowhere> References: <20051028012957.GA50419@nowhere> <20051028040901.GA47012@nowhere> <20051028211416.GA59989@nowhere> <20051031225408.GA56085@nowhere> User-Agent: Wanderlust/2.15.1 (Almost Unreal) Emacs/22.0 Mule/5.0 (SAKAKI) Organization: Technical Marketing Dept., ALAXALA Networks Corporation MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: amavisd-new at alaxala.kame.net Cc: freebsd-net@freebsd.org Subject: Re: 6.0-RC1 IPv6 losing local subnet route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2005 23:23:45 -0000 Hello, >>>>> On Mon, 31 Oct 2005 16:54:09 -0600 >>>>> craig@olyun.gank.org(Craig Boston) said: > > Could you please try the following patch? > > http://www.kame.net/~suz/in6.c.diff.releng60 > > Been running with your patch all day and so far no problems whatsoever. > I can run ifconfig over and over again with no ill effect. Haven't > tried with autoconf, but at least for static addresses it seems to do > the trick. Good. I don't have problem with autoconf, either. So I've committed it, and would like to MFC it to RELENG_6_0 tomorrow. From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 23:37:25 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 223C916A420 for ; Mon, 31 Oct 2005 23:37:25 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D42443D45 for ; Mon, 31 Oct 2005 23:37:22 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: (qmail 10398 invoked by uid 0); 31 Oct 2005 23:37:17 -0000 Received: (qmail 23164 invoked by uid 84); 30 Oct 2005 13:26:28 -0000 Received: from owner-freebsd-hackers@freebsd.org by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.266732 secs); 30 Oct 2005 13:26:28 -0000 Received: from unknown (HELO mx1-sjc-eqx.netli.net) (66.151.135.37) by 192.168.238.247 with DES-CBC3-SHA encrypted SMTP; 30 Oct 2005 13:26:28 -0000 Received: (qmail 11821 invoked by uid 0); 30 Oct 2005 13:26:27 -0000 Received: from unknown (HELO psmtp.com) (64.18.2.69) by 66.151.135.37 with SMTP; 30 Oct 2005 13:26:27 -0000 Received: from source ([216.136.204.119]) by exprod7mx67.postini.com ([64.18.6.10]) with SMTP; Sun, 30 Oct 2005 03:26:27 HST Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8F2E258D7C; Sun, 30 Oct 2005 13:24:03 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E896016A42B; Sun, 30 Oct 2005 13:24:02 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 825CD16A45A; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from mail.quickmeet.com (quickmeet.com [216.228.17.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAB843D48; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from workstation (workstation [192.168.20.250]) by mail.quickmeet.com (Postfix) with SMTP id D7E0C17032; Sun, 30 Oct 2005 04:55:34 -0800 (PST) Message-Id: <3.0.1.32.20051030052327.00a66128@pop.redshift.com> X-Mailer: na X-Sender: redshift.com Date: Sun, 30 Oct 2005 05:23:27 -0800 To: kamal kc , freebsd-questions@freebsd.org From: ray@redshift.com In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org Cc: freebsd , freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 23:37:25 -0000 At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable="YES" | and inetd_enable="YES" | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 23:41:07 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 8856F16A422 for ; Mon, 31 Oct 2005 23:41:07 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EDBB43D49 for ; Mon, 31 Oct 2005 23:40:58 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: (qmail 11249 invoked by uid 0); 31 Oct 2005 23:37:32 -0000 Received: (qmail 14319 invoked by uid 84); 30 Oct 2005 10:08:55 -0000 Received: from owner-freebsd-hackers@freebsd.org by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.189337 secs); 30 Oct 2005 10:08:55 -0000 Received: from unknown (HELO mx1-sjc-eqx.netli.net) (66.151.135.37) by 192.168.238.247 with DES-CBC3-SHA encrypted SMTP; 30 Oct 2005 10:08:54 -0000 Received: (qmail 9299 invoked by uid 0); 30 Oct 2005 10:08:54 -0000 Received: from unknown (HELO psmtp.com) (64.18.2.78) by 66.151.135.37 with SMTP; 30 Oct 2005 10:08:54 -0000 Received: from source ([216.136.204.119]) by exprod7mx76.postini.com ([64.18.6.10]) with SMTP; Sun, 30 Oct 2005 05:08:54 EST Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 2E57D58111; Sun, 30 Oct 2005 10:08:23 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0487316A422; Sun, 30 Oct 2005 10:08:23 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D716A421 for ; Sun, 30 Oct 2005 10:07:51 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35708.mail.mud.yahoo.com (web35708.mail.mud.yahoo.com [66.163.179.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E72643D45 for ; Sun, 30 Oct 2005 10:07:50 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 12793 invoked by uid 60001); 30 Oct 2005 10:07:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Si9cIv8+tYiczo7gnlrRh+kpnGd9KRHupR/nziP6/ClC5j2yjd2Od0Q1GCS4w1A8WrOQ+X5nRfJm7Jgxk/nUT62l0ATdicp7If68Z+rm0GJerCxkatSeGbQ3oH1D/XBvRBYUWEfPQeqs4obBdcAvZWj948X2YOIROtuy2YMqyps= ; Message-ID: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35708.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 02:07:49 PST Date: Sun, 30 Oct 2005 02:07:49 -0800 (PST) From: kamal kc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org Cc: freebsd , freebsd Subject: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 23:41:07 -0000 dear all, i have put sshd_enable="YES" and inetd_enable="YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 23:43:55 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9B2E816A425 for ; Mon, 31 Oct 2005 23:43:55 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D07FD43D4C for ; Mon, 31 Oct 2005 23:43:53 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: (qmail 19308 invoked by uid 0); 31 Oct 2005 23:40:25 -0000 Received: (qmail 14319 invoked by uid 84); 30 Oct 2005 10:08:55 -0000 Received: from owner-freebsd-hackers@freebsd.org by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.189337 secs); 30 Oct 2005 10:08:55 -0000 Received: from unknown (HELO mx1-sjc-eqx.netli.net) (66.151.135.37) by 192.168.238.247 with DES-CBC3-SHA encrypted SMTP; 30 Oct 2005 10:08:54 -0000 Received: (qmail 9299 invoked by uid 0); 30 Oct 2005 10:08:54 -0000 Received: from unknown (HELO psmtp.com) (64.18.2.78) by 66.151.135.37 with SMTP; 30 Oct 2005 10:08:54 -0000 Received: from source ([216.136.204.119]) by exprod7mx76.postini.com ([64.18.6.10]) with SMTP; Sun, 30 Oct 2005 05:08:54 EST Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 2E57D58111; Sun, 30 Oct 2005 10:08:23 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0487316A422; Sun, 30 Oct 2005 10:08:23 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D716A421 for ; Sun, 30 Oct 2005 10:07:51 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35708.mail.mud.yahoo.com (web35708.mail.mud.yahoo.com [66.163.179.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E72643D45 for ; Sun, 30 Oct 2005 10:07:50 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 12793 invoked by uid 60001); 30 Oct 2005 10:07:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Si9cIv8+tYiczo7gnlrRh+kpnGd9KRHupR/nziP6/ClC5j2yjd2Od0Q1GCS4w1A8WrOQ+X5nRfJm7Jgxk/nUT62l0ATdicp7If68Z+rm0GJerCxkatSeGbQ3oH1D/XBvRBYUWEfPQeqs4obBdcAvZWj948X2YOIROtuy2YMqyps= ; Message-ID: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35708.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 02:07:49 PST Date: Sun, 30 Oct 2005 02:07:49 -0800 (PST) From: kamal kc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org Cc: freebsd , freebsd Subject: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 23:43:55 -0000 dear all, i have put sshd_enable="YES" and inetd_enable="YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client does not show anything. using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Mon Oct 31 23:50:23 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4FE5E16A41F for ; Mon, 31 Oct 2005 23:50:23 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8010243D53 for ; Mon, 31 Oct 2005 23:50:21 +0000 (GMT) (envelope-from anonymous@smtp.netli.com) Received: (qmail 18468 invoked by uid 0); 31 Oct 2005 23:40:10 -0000 Received: (qmail 23164 invoked by uid 84); 30 Oct 2005 13:26:28 -0000 Received: from owner-freebsd-hackers@freebsd.org by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.266732 secs); 30 Oct 2005 13:26:28 -0000 Received: from unknown (HELO mx1-sjc-eqx.netli.net) (66.151.135.37) by 192.168.238.247 with DES-CBC3-SHA encrypted SMTP; 30 Oct 2005 13:26:28 -0000 Received: (qmail 11821 invoked by uid 0); 30 Oct 2005 13:26:27 -0000 Received: from unknown (HELO psmtp.com) (64.18.2.69) by 66.151.135.37 with SMTP; 30 Oct 2005 13:26:27 -0000 Received: from source ([216.136.204.119]) by exprod7mx67.postini.com ([64.18.6.10]) with SMTP; Sun, 30 Oct 2005 03:26:27 HST Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8F2E258D7C; Sun, 30 Oct 2005 13:24:03 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E896016A42B; Sun, 30 Oct 2005 13:24:02 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 825CD16A45A; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from mail.quickmeet.com (quickmeet.com [216.228.17.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAB843D48; Sun, 30 Oct 2005 13:23:22 +0000 (GMT) (envelope-from ray@redshift.com) Received: from workstation (workstation [192.168.20.250]) by mail.quickmeet.com (Postfix) with SMTP id D7E0C17032; Sun, 30 Oct 2005 04:55:34 -0800 (PST) Message-Id: <3.0.1.32.20051030052327.00a66128@pop.redshift.com> X-Mailer: na X-Sender: redshift.com Date: Sun, 30 Oct 2005 05:23:27 -0800 To: kamal kc , freebsd-questions@freebsd.org From: ray@redshift.com In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org Cc: freebsd , freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 23:50:23 -0000 At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable="YES" | and inetd_enable="YES" | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Nov 1 00:56:29 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 04D8E16A41F; Tue, 1 Nov 2005 00:56:29 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 842D943D45; Tue, 1 Nov 2005 00:56:28 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [192.168.2.101] (greyhound.kitchenlab.org [64.142.31.111]) (authenticated bits=0) by a.mail.sonic.net (8.13.3/8.13.3) with ESMTP id jA10uRmD012423 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 31 Oct 2005 16:56:28 -0800 From: "Bruce A. Mah" To: Doug Barton In-Reply-To: <43668B94.8000001@FreeBSD.org> References: <43668B94.8000001@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-u61r4PP2C/3hV3nfRpxJ" Date: Mon, 31 Oct 2005 16:56:26 -0800 Message-Id: <1130806586.81701.81.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: freebsd , bmah@freebsd.org Subject: Re: Earthlink IPv6 experiment X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2005 00:56:29 -0000 --=-u61r4PP2C/3hV3nfRpxJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable If memory serves me right, Doug Barton wrote: > I have been using the experimental IPv6 connection described at > http://www.research.earthlink.net/ipv6/ for some time now, and it works v= ery > well. If anyone is interested in using IPv6 in a real way in FreeBSD, I > would encourage you to give it a try. If you shop around a little it's > fairly easy to pick up a Linksys WRT54G in the $40 range or so. Cool. Another data point, mostly of interest to folks in the San Francisco or Los Angeles areas: sonic.net [1] DSL users have been able to get IPv6 tunnels for a couple years now for no extra charge as an unsupported service...I've been using this feature almost since day one and it plays with FreeBSD very nicely. Cheers, Bruce. [1] Not to turn this post into a commercial, but I'm an extremely satisfied user of this ISP. I'd be happy to give more details off-list. --=-u61r4PP2C/3hV3nfRpxJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDZr062MoxcVugUsMRAq2bAKDTb5JZflZ99/+k1EiyQurAoz5U6gCdFxB1 2gcd5+TGYtWM06ctazPlrrk= =J8fU -----END PGP SIGNATURE----- --=-u61r4PP2C/3hV3nfRpxJ-- From owner-freebsd-net@FreeBSD.ORG Tue Nov 1 09:39:34 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 1A6D616A41F; Tue, 1 Nov 2005 09:39:34 +0000 (GMT) (envelope-from simon@eddie.nitro.dk) Received: from eddie.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92E2143D53; Tue, 1 Nov 2005 09:39:33 +0000 (GMT) (envelope-from simon@eddie.nitro.dk) Received: by eddie.nitro.dk (Postfix, from userid 1000) id DD3BE119C51; Tue, 1 Nov 2005 10:39:31 +0100 (CET) Date: Tue, 1 Nov 2005 10:39:31 +0100 From: "Simon L. Nielsen" To: Doug Barton Message-ID: <20051101093930.GA82774@eddie.nitro.dk> References: <43668CC8.3020805@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <43668CC8.3020805@FreeBSD.org> User-Agent: Mutt/1.5.11 Cc: freebsd Subject: Re: IPv6 for www.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 01 Nov 2005 09:39:34 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.10.31 13:29:44 -0800, Doug Barton wrote: > As I mentioned in my previous post, I have been using earthlink's IPv6 > experiment to get an IPv6 connection at home. I am therefore trying to use > it as much as possible to see what works, and what breaks. FreeBSD makes = it > fairly easy to do that, but it's fairly hard to get to the web site over = v6. > Admittedly there is a list of v6-capable mirrors on the front page, and > they work fairly well. However, I think it would be nice to pick one or t= wo > of those sites and add the AAAA record to www.freebsd.org. >=20 > I have been simulating this in my hosts file using the first US mirror si= te, > and haven't run into any problems yet. I think it would be a step in the > right direction for us to support v6 for our site "out of the box." The mirrors are not exact mirrors of www.freebsd.org, so this is not possible. If you have pointed www.FreeBSD.org at a mirror that would explain the problems you noted elsewhere about www.freebsd.org returning the script code instead of executing the scripts. We do not expect the FreeBSD web mirrors to run the CGI scripts (though a few does). While IPv6 for www.FreeBSD.org would probably be nice, it does require that the real www.FreeBSD.org get IPv6 connectivity. --=20 Simon L. Nielsen --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDZzfSh9pcDSc1mlERApWJAJ0RpT3Wpcegs7FSWWvi/bFd3xH4JQCdGH2q lztEMnIOFHoxKDhXd+qvgpo= =4iLC -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-freebsd-net@FreeBSD.ORG Tue Nov 1 23:15:09 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 E533816A421; Tue, 1 Nov 2005 23:15:08 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from chickasaw.net (mail.chickasaw.net [66.142.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B44B143D48; Tue, 1 Nov 2005 23:15:07 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from ([10.64.11.3]) by adasmg01.chickasaw.net with ESMTP id 5202125.8155936; Tue, 01 Nov 2005 17:09:10 -0600 Received: from mail pickup service by adaexc03.int.chickasaw.net with Microsoft SMTPSVC; Tue, 1 Nov 2005 16:46:04 -0600 Received: from chickasaw.net ([192.168.1.5]) by adaexc03.int.chickasaw.net with Microsoft SMTPSVC(5.0.2195.6713); Sun, 30 Oct 2005 04:08:02 -0600 Received: from ([216.136.204.119]) by adasmg01.chickasaw.net with ESMTP id 5202125.7779538; Sun, 30 Oct 2005 04:08:12 -0600 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 885455715F; Sun, 30 Oct 2005 10:08:08 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9600316A424; Sun, 30 Oct 2005 10:08:07 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03EFE16A41F for ; Sun, 30 Oct 2005 10:07:51 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35708.mail.mud.yahoo.com (web35708.mail.mud.yahoo.com [66.163.179.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A19043D46 for ; Sun, 30 Oct 2005 10:07:50 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 12793 invoked by uid 60001); 30 Oct 2005 10:07:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Si9cIv8+tYiczo7gnlrRh+kpnGd9KRHupR/nziP6/ClC5j2yjd2Od0Q1GCS4w1A8WrOQ+X5nRfJm7Jgxk/nUT62l0ATdicp7If68Z+rm0GJerCxkatSeGbQ3oH1D/XBvRBYUWEfPQeqs4obBdcAvZWj948X2YOIROtuy2YMqyps= ; Message-ID: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35708.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 02:07:49 PST Date: Sun, 30 Oct 2005 02:07:49 -0800 (PST) From: kamal kc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable X-esp: ESP<-98>=RBL:<-139> RDNS:<0> SHA:<53> UHA:<0> SLS:<0> BAYES:<-11> SenderID:<-1> X-OriginalArrivalTime: 30 Oct 2005 10:08:02.0823 (UTC) FILETIME=[D0580170:01C5DD39] Cc: freebsd , freebsd Subject: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 23:15:09 -0000 dear all, i have put sshd_enable=3D"YES" and inetd_enable=3D"YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client=20 does not show anything.=20 using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal =09 =09 __________________________________=20 Yahoo! Mail - PC Magazine Editors' Choice 2005=20 http://mail.yahoo.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-net@FreeBSD.ORG Tue Nov 1 23:21:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2BEBD16A41F; Tue, 1 Nov 2005 23:21:47 +0000 (GMT) (envelope-from shih@math.jussieu.fr) Received: from chickasaw.net (mail.chickasaw.net [66.142.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0794E43D49; Tue, 1 Nov 2005 23:21:29 +0000 (GMT) (envelope-from shih@math.jussieu.fr) Received: from ([10.64.11.3]) by adasmg01.chickasaw.net with ESMTP id 5202125.8157970; Tue, 01 Nov 2005 17:19:53 -0600 Received: from mail pickup service by adaexc03.int.chickasaw.net with Microsoft SMTPSVC; Tue, 1 Nov 2005 16:46:09 -0600 Received: from chickasaw.net ([192.168.1.5]) by adaexc03.int.chickasaw.net with Microsoft SMTPSVC(5.0.2195.6713); Sun, 30 Oct 2005 09:15:51 -0600 Received: from ([216.136.204.119]) by adasmg01.chickasaw.net with ESMTP id 5202125.7804168; Sun, 30 Oct 2005 09:16:05 -0600 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 110F156F85; Sun, 30 Oct 2005 15:16:03 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9DF5616A430; Sun, 30 Oct 2005 15:16:01 +0000 (GMT) (envelope-from owner-freebsd-questions@freebsd.org) X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF8E616A41F; Sun, 30 Oct 2005 15:15:47 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05DB643D5D; Sun, 30 Oct 2005 15:15:39 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from riemann.math.jussieu.fr (riemann.math.jussieu.fr [134.157.13.3]) by shiva.jussieu.fr (8.13.5/jtpda-5.4) with ESMTP id j9UFFaX8065138 ; Sun, 30 Oct 2005 16:15:37 +0100 (CET) X-Ids: 168 Received: from grobner2.math.jussieu.fr (grobner2.math.jussieu.fr [134.157.13.119]) by riemann.math.jussieu.fr (8.12.10/jtpda-5.4) with ESMTP id j9UFFYN3056035 ; Sun, 30 Oct 2005 16:15:34 +0100 (CET) Received: from grobner2.math.jussieu.fr (localhost.localdomain [127.0.0.1]) by grobner2.math.jussieu.fr (8.13.1/jtpda-5.4) with ESMTP id j9UFFYmZ018527 ; Sun, 30 Oct 2005 16:15:34 +0100 Received: (from jas@localhost) by grobner2.math.jussieu.fr (8.13.1/8.13.1/Submit) id j9UFFXuj018526; Sun, 30 Oct 2005 16:15:33 +0100 Date: Sun, 30 Oct 2005 16:15:33 +0100 From: Albert Shih To: kamal kc Message-ID: <20051030151533.GA15623@math.jussieu.fr> References: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> User-Agent: Mutt/1.5.6i X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.53 on 134.157.13.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.168]); Sun, 30 Oct 2005 16:15:38 +0100 (CET) X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Miltered: at shiva.jussieu.fr with ID 4364E398.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-questions@freebsd.org Errors-To: owner-freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable X-esp: ESP<-98>=RBL:<-139> RDNS:<0> SHA:<53> UHA:<0> SLS:<0> BAYES:<-11> SenderID:<-1> X-OriginalArrivalTime: 30 Oct 2005 15:15:51.0987 (UTC) FILETIME=[D0D2C830:01C5DD64] Cc: freebsd , freebsd-questions@freebsd.org, freebsd Subject: Re: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org Reply-To: shih@math.jussieu.fr List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 23:21:47 -0000 Le 30/10/2005 =E0 02:07:49-0800, kamal kc a =E9crit > dear all, >=20 > i have put sshd_enable=3D"YES" > and inetd_enable=3D"YES" > in /etc/rc.conf. >=20 > netstat -an also shows that the port numbers > 21 and 22 are in listen state >=20 > ftp is uncommented in /etc/inetd.conf >=20 > but still the ssh/ftp services does not work. >=20 > when i ftp from another computer the netstat > shows connection established but the ftp client=20 > does not show anything.=20 >=20 > using ftp/ssh on the same computer also does not show > anything --- just blank. >=20 >=20 > what could have gone wrong. Check your /etc/hosts.allow Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sun Oct 30 16:15:08 CET 2005 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-net@FreeBSD.ORG Tue Nov 1 23:26:44 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 87A9C16A41F; Tue, 1 Nov 2005 23:26:44 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from chickasaw.net (mail.chickasaw.net [66.142.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A345443D46; Tue, 1 Nov 2005 23:26:43 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from ([10.64.11.3]) by adasmg01.chickasaw.net with ESMTP id 5202125.8158622; Tue, 01 Nov 2005 17:20:10 -0600 Received: from mail pickup service by adaexc03.int.chickasaw.net with Microsoft SMTPSVC; Tue, 1 Nov 2005 16:53:36 -0600 Received: from chickasaw.net ([192.168.1.5]) by adaexc03.int.chickasaw.net with Microsoft SMTPSVC(5.0.2195.6713); Sun, 30 Oct 2005 04:08:42 -0600 Received: from ([216.136.204.119]) by adasmg01.chickasaw.net with ESMTP id 5202125.7779579; Sun, 30 Oct 2005 04:08:47 -0600 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A0DAB57F4D; Sun, 30 Oct 2005 10:08:19 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 850C416A420; Sun, 30 Oct 2005 10:08:19 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D716A421 for ; Sun, 30 Oct 2005 10:07:51 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35708.mail.mud.yahoo.com (web35708.mail.mud.yahoo.com [66.163.179.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E72643D45 for ; Sun, 30 Oct 2005 10:07:50 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 12793 invoked by uid 60001); 30 Oct 2005 10:07:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Si9cIv8+tYiczo7gnlrRh+kpnGd9KRHupR/nziP6/ClC5j2yjd2Od0Q1GCS4w1A8WrOQ+X5nRfJm7Jgxk/nUT62l0ATdicp7If68Z+rm0GJerCxkatSeGbQ3oH1D/XBvRBYUWEfPQeqs4obBdcAvZWj948X2YOIROtuy2YMqyps= ; Message-ID: <20051030100749.12791.qmail@web35708.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35708.mail.mud.yahoo.com via HTTP; Sun, 30 Oct 2005 02:07:49 PST Date: Sun, 30 Oct 2005 02:07:49 -0800 (PST) From: kamal kc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable X-esp: ESP<-98>=RBL:<-139> RDNS:<0> SHA:<53> UHA:<0> SLS:<0> BAYES:<-11> SenderID:<-1> X-OriginalArrivalTime: 30 Oct 2005 10:08:42.0072 (UTC) FILETIME=[E7BCED80:01C5DD39] Cc: freebsd , freebsd Subject: tcp services (ssh,ftp) does not work X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 23:26:44 -0000 dear all, i have put sshd_enable=3D"YES" and inetd_enable=3D"YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows connection established but the ftp client=20 does not show anything.=20 using ftp/ssh on the same computer also does not show anything --- just blank. what could have gone wrong. Help !!! kamal =09 =09 __________________________________=20 Yahoo! Mail - PC Magazine Editors' Choice 2005=20 http://mail.yahoo.com _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 06:57:06 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 B61BD16A41F for ; Wed, 2 Nov 2005 06:57:06 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10EFA43D46 for ; Wed, 2 Nov 2005 06:57:05 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr9.xs4all.nl (8.13.3/8.13.3) with ESMTP id jA26v4eO040269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Nov 2005 07:57:04 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <43686340.2070703@xs4all.nl> Date: Wed, 02 Nov 2005 07:57:04 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051029) 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 X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Certain hosts not (always) pingable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 06:57:07 -0000 Hello list, Earlier tonight I installed 5.4-RELEASE on a machine (fileserver) that has a "3Com 3c905C-TX Fast Etherlink XL" integrated on the motherboard. I am experiencing however a rather weird issue; after a while, I lose connectivity with certain hosts on my LAN. When (right after boot) I start pinging some hosts on my LAN, all looks fine for the first few minutes, but the longer I wait, the more hosts become 'unpingable'. Doing "arp -d -a" immediately fixes the problem, then after a few minutes it starts all over again. Also, the order of which hosts become unpingable seems to be the same. (gateway, elmar, aphax are usually the first three.) This problem occurs only on this specific machine and the fact that it does not occur with a linux live-cd has led me to suspect that this is something specific to FreeBSD. But just in-case, I have tried swapping around UTP cables and using different ports on my switch, with no luck. My home network has the following layout: 2nd floor switch (8 port 100/10mbit switch): - My desktop computer aphax.nieser.local 192.168.1.10 - My fileserver fileserver.nieser.local 192.168.1.5 - Uplink to 1st floor switch 1st floor switch (4 port 100/10mbit switch): - ADSL modem (NAT) gateway.nieser.local 192.168.1.1 - Uplink to 1st floor hub (1st floor switch is actually integrated into ADSL modem) 1st floor hub (8 port 100/10mbit hub): - My server royen.nieser.local 192.168.1.3 - Mom's computer beneden.nieser.local 192.168.1.x (dhcp) - Uplink to wifi-AP wifi-AP: wifi.nieser.local 192.168.1.2 - Bro's computer elmar.nieser.local 192.168.1.11 - Laptop aphax-laptop.nieser.l.. 192.168.1.x (dhcp) Relevant dmesg/ifconfig output: xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xb000-0xb07f mem 0xfb000000-0xfb00007f irq 20 at device 0.0 on pci2 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:0a:48:0f:40:c7 xl0: flags=8843 mtu 1500 options=9 inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::20a:48ff:fe0f:40c7%xl0 prefixlen 64 scopeid 0x1 ether 00:0a:48:0f:40:c7 media: Ethernet autoselect (100baseTX ) status: active I haven't been able to find anything on google about this, can anyone help? I could probably save myself the trouble by spending a few euros on a real NIC, but I just can't stand problems I can't get solved... maybe it really is some kind of bug in the xl driver. If more info is needed, please let me know From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 08:20:13 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 BBC7816A41F for ; Wed, 2 Nov 2005 08:20:13 +0000 (GMT) (envelope-from mekalists@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 172EA43D46 for ; Wed, 2 Nov 2005 08:20:12 +0000 (GMT) (envelope-from mekalists@gmail.com) Received: by nproxy.gmail.com with SMTP id k26so12097nfc for ; Wed, 02 Nov 2005 00:20:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=XHxKoKAzESYZxZLXuga8j87hbx47zBT/6H0zeSG4D45xZEy15yM8C/0vSG9K2cYX1lVDzZAkFxIBbULTPgsQXXYDZM4U2/fBOspp4An10hhntTAiyBwkmfy1PC9QqADJuRjdsh9uZ8QjR7UYLI1Ei8qFrjkSqwOoyDgUYcrsPU8= Received: by 10.48.42.7 with SMTP id p7mr362846nfp; Wed, 02 Nov 2005 00:20:11 -0800 (PST) Received: from hal9000 ( [82.208.205.50]) by mx.gmail.com with ESMTP id l27sm124591nfa.2005.11.02.00.20.10; Wed, 02 Nov 2005 00:20:11 -0800 (PST) Date: Wed, 2 Nov 2005 09:35:04 +0100 From: "Meka[ni]" To: freebsd-net@freebsd.org Message-ID: <20051102093504.64edad5f@hal9000> X-Mailer: Sylpheed-Claws 1.9.99cvs1 (GTK+ 2.8.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 08:20:13 -0000 Why doesn't this work: openssl s_client -starttls smtp -connect smtp.gmail.com:25 I've tried adding -CApath /usr/local/share/ssl/certs (that's where I keep certs), but nothing changed. This is the error I get: CONNECTED(000000003) 17478:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:567: openssl version 0.9.7e /usr/local/bin/openssl version 0.9.8a None of this works. Any ideas? -- FreeB(eer)S(ex)D(rugs) are the real daemons!!! From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 10:21:44 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3753A16A41F for ; Wed, 2 Nov 2005 10:21:44 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F7A43D46 for ; Wed, 2 Nov 2005 10:21:42 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so810nzk for ; Wed, 02 Nov 2005 02:21:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bjlr/GGVTqcOmGSjUOV+6C515AmM9L0FngTCgN01rrRgEDuhTC8Hos5tBF5SMMvFuetSGdfkzmypLlOiB6vvLMKlSB4L3SEfVdaKIuW8LBeGI1pqZOyZeOWPaFGDPAql2ZdGXGNXgBMQXOxGZ7ka49dn/6IGstjNVGp51VqzJCQ= Received: by 10.36.135.13 with SMTP id i13mr5230182nzd; Wed, 02 Nov 2005 02:21:39 -0800 (PST) Received: by 10.36.84.15 with HTTP; Wed, 2 Nov 2005 02:21:39 -0800 (PST) Message-ID: <79722fad0511020221o5a6c13bbv2d2099f94134ae78@mail.gmail.com> Date: Wed, 2 Nov 2005 12:21:39 +0200 From: Vlad GALU To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: SS7 stack/implementation on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 10:21:44 -0000 Do you guys know any $subj ? I've recently moved to another job in telecom, and I'd like to learn how-stuff-works. Right now I'm in the documenting stage, with a lot of information being assimilated through analogies to IP, which I already am accustomed to. I see that the openss7 project uses SCTP sockets, which I've used before in FreeBSD. I'm just looking for some code to look at and play with as I go. Thanks in advance for any pointers or piece of advice. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 12:35:36 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 E36E216A41F for ; Wed, 2 Nov 2005 12:35:36 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9119943D6E for ; Wed, 2 Nov 2005 12:35:36 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 47FEF9F; Wed, 2 Nov 2005 07:19:54 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 0C137F29; Wed, 2 Nov 2005 07:19:52 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EXHpx-0009Y5-Hj; Wed, 02 Nov 2005 12:35:29 +0000 Date: Wed, 2 Nov 2005 12:35:29 +0000 From: Brian Candler To: "Meka[ni]" Message-ID: <20051102123529.GA36617@uk.tiscali.com> References: <20051102093504.64edad5f@hal9000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051102093504.64edad5f@hal9000> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 12:35:37 -0000 On Wed, Nov 02, 2005 at 09:35:04AM +0100, Meka[ni] wrote: > Why doesn't this work: > openssl s_client -starttls smtp -connect smtp.gmail.com:25 > > I've tried adding -CApath /usr/local/share/ssl/certs (that's where I keep certs), but nothing changed. This is the error I get: > CONNECTED(000000003) > 17478:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:567: > > openssl version > 0.9.7e > > /usr/local/bin/openssl version > 0.9.8a > > None of this works. Any ideas? Run tcpdump and/or ktrace to see what's happening. # tcpdump -i nv0 -n -s1500 -X tcp port 25 When I do this, I see: < 220 mx.gmail.com ESMTP g1sm241248nfe > STARTTLS < 503 5.5.1 EHLO/HELO first g1sm241248nfe I think that should be clear enough. Please feel free to submit a patch to the openssl project, so that it sends EHLO first. Remind them that you shouldn't try to use an ESMTP extension until you've first had it announced to you that the extension is available. (RFC 2821 section 4.1.1.1) "In any event, a client MUST issue HELO or EHLO before starting a mail transaction." Regards, Brian. From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 15:12:42 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 196CF16A41F; Wed, 2 Nov 2005 15:12:42 +0000 (GMT) (envelope-from ps@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02D5343D78; Wed, 2 Nov 2005 15:12:37 +0000 (GMT) (envelope-from ps@freebsd.org) Received: from [192.168.1.88] (64-142-76-135.dsl.static.sonic.net [64.142.76.135]) by elvis.mu.org (Postfix) with ESMTP id A97491A3C30; Wed, 2 Nov 2005 07:12:37 -0800 (PST) Message-ID: <4368D765.2080909@freebsd.org> Date: Wed, 02 Nov 2005 07:12:37 -0800 From: Paul Saab User-Agent: Thunderbird 1.4.1 (Macintosh/20051006) MIME-Version: 1.0 To: "Simon L. Nielsen" References: <43668CC8.3020805@FreeBSD.org> <20051101093930.GA82774@eddie.nitro.dk> In-Reply-To: <20051101093930.GA82774@eddie.nitro.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd , Doug Barton Subject: Re: IPv6 for www.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 15:12:42 -0000 Simon L. Nielsen wrote: > On 2005.10.31 13:29:44 -0800, Doug Barton wrote: > >> As I mentioned in my previous post, I have been using earthlink's IPv6 >> experiment to get an IPv6 connection at home. I am therefore trying to use >> it as much as possible to see what works, and what breaks. FreeBSD makes it >> fairly easy to do that, but it's fairly hard to get to the web site over v6. >> Admittedly there is a list of v6-capable mirrors on the front page, and >> they work fairly well. However, I think it would be nice to pick one or two >> of those sites and add the AAAA record to www.freebsd.org. >> >> I have been simulating this in my hosts file using the first US mirror site, >> and haven't run into any problems yet. I think it would be a step in the >> right direction for us to support v6 for our site "out of the box." >> Q2 O6 is when we're scheduled to provide ipv6 to the entire FreeBSD.org cluster. From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 16:41:25 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3F45016A41F for ; Wed, 2 Nov 2005 16:41:25 +0000 (GMT) (envelope-from dinesh@alphaque.com) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 0EFD643D45 for ; Wed, 2 Nov 2005 16:41:23 +0000 (GMT) (envelope-from dinesh@alphaque.com) Received: (qmail 78518 invoked by uid 0); 2 Nov 2005 16:41:20 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 2 Nov 2005 16:41:20 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by prophet.alphaque.com (8.13.4/8.13.4) with ESMTP id jA2G1o89002050; Thu, 3 Nov 2005 00:01:50 +0800 (MYT) (envelope-from dinesh@alphaque.com) Message-ID: <4368E2EE.3080300@alphaque.com> Date: Thu, 03 Nov 2005 00:01:50 +0800 From: Dinesh Nair User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b) Gecko/20050915 MIME-Version: 1.0 To: Vlad GALU References: <79722fad0511020221o5a6c13bbv2d2099f94134ae78@mail.gmail.com> In-Reply-To: <79722fad0511020221o5a6c13bbv2d2099f94134ae78@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: SS7 stack/implementation on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 16:41:25 -0000 On 11/02/05 18:21 Vlad GALU said the following: > I see that the > openss7 project uses SCTP sockets, which I've used before in FreeBSD. > I'm just looking for some code to look at and play with as I go. the two open source ss7 projects that i know of are openss7.org and openpbx.org which intends to get SS7 in via a link to chan_woomera. openpbx.org is a fork of asterisk, an open source IP PBX. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 18:16:39 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 1841516A41F for ; Wed, 2 Nov 2005 18:16:39 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4742E43D53 for ; Wed, 2 Nov 2005 18:16:36 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 810739D; Wed, 2 Nov 2005 13:00:46 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 02C43803; Wed, 2 Nov 2005 13:00:44 -0500 (EST) Received: from brian by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EXNA1-0009pv-5K; Wed, 02 Nov 2005 18:16:33 +0000 Date: Wed, 2 Nov 2005 18:16:33 +0000 From: Brian Candler To: "Meka[ni]" Message-ID: <20051102181633.GA37799@uk.tiscali.com> References: <20051102093504.64edad5f@hal9000> <20051102123529.GA36617@uk.tiscali.com> <20051102141715.60c8dd6a@hal9000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051102141715.60c8dd6a@hal9000> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 18:16:39 -0000 On Wed, Nov 02, 2005 at 02:17:15PM +0100, Meka[ni] wrote: > On Wed, 2 Nov 2005 12:35:29 +0000 > Brian Candler wrote: > > > Run tcpdump and/or ktrace to see what's happening. > > > > # tcpdump -i nv0 -n -s1500 -X tcp port 25 > > > > When I do this, I see: > > > > < 220 mx.gmail.com ESMTP g1sm241248nfe > > > STARTTLS > > < 503 5.5.1 EHLO/HELO first g1sm241248nfe > > > This is what I get. I can not see anything enough readable. Either look in the right-hand column for the text part of each packet, or the left-hand part shows it in hex. > > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on tun0, link-type NULL (BSD loopback), capture size 1500 bytes > 14:07:03.627614 IP 82.208.205.163.59631 > 64.233.183.109.25: S 2803137835:2803137835(0) win 65535 > 0x0000: 4500 0040 63d0 4000 4006 be1d 52d0 cda3 E..@c.@.@...R... > 0x0010: 40e9 b76d e8ef 0019 a714 7d2b 0000 0000 @..m......}+.... > 0x0020: b002 ffff a267 0000 0204 05b4 0101 0402 .....g.......... > 0x0030: 0103 0301 0101 080a 01c7 6bbe 0000 0000 ..........k..... > 14:07:03.785968 IP 64.233.183.109.25 > 82.208.205.163.59631: S 1718924688:1718924688(0) ack 2803137836 win 8190 > 0x0000: 4500 002c ef4b 0000 f106 c1b5 40e9 b76d E..,.K......@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b590 a714 7d2c R.......ft....}, > 0x0020: 6012 1ffe 360b 0000 0204 05a8 `...6....... > 14:07:03.786320 IP 82.208.205.163.59631 > 64.233.183.109.25: . ack 1 win 65535 > 0x0000: 4500 0028 63d1 4000 4006 be34 52d0 cda3 E..(c.@.@..4R... > 0x0010: 40e9 b76d e8ef 0019 a714 7d2c 6674 b591 @..m......},ft.. > 0x0020: 5010 ffff 6dba 0000 P...m... > 14:07:03.946036 IP 64.233.183.109.25 > 82.208.205.163.59631: P 1:40(39) ack 1 win 5720 > 0x0000: 4510 004f c384 0000 3206 ac4a 40e9 b76d E..O....2..J@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b591 a714 7d2c R.......ft....}, > 0x0020: 5018 1658 d657 0000 3232 3020 6d78 2e67 P..X.W..220.mx.g > 0x0030: 6d61 696c 2e63 6f6d 2045 534d 5450 207a mail.com.ESMTP.z > 0x0040: 3733 736d 3233 3930 3536 6e66 620d 0a 73sm239056nfb.. Note the right hand side for the last three lines: "220 mx.mail.com ESMTP z73sm239056nfb" + CRLF (0d 0a) > 14:07:03.946545 IP 82.208.205.163.59631 > 64.233.183.109.25: P 1:11(10) ack 40 win 65535 > 0x0000: 4500 0032 63d2 4000 4006 be29 52d0 cda3 E..2c.@.@..)R... > 0x0010: 40e9 b76d e8ef 0019 a714 7d2c 6674 b5b8 @..m......},ft.. > 0x0020: 5018 ffff 2b29 0000 5354 4152 5454 4c53 P...+)..STARTTLS > 0x0030: 0d0a .. "STARTTLS" + CRLF > 14:07:04.096053 IP 64.233.183.109.25 > 82.208.205.163.59631: . ack 11 win 5720 > 0x0000: 4510 0028 c385 0000 3206 ac70 40e9 b76d E..(....2..p@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b5b8 a714 7d36 R.......ft....}6 > 0x0020: 5010 1658 5731 0000 P..XW1.. > 14:07:04.106000 IP 64.233.183.109.25 > 82.208.205.163.59631: P 40:82(42) ack 11 win 5720 > 0x0000: 4510 0052 c386 0000 3206 ac45 40e9 b76d E..R....2..E@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b5b8 a714 7d36 R.......ft....}6 > 0x0020: 5018 1658 88c2 0000 3530 3320 352e 352e P..X....503.5.5. > 0x0030: 3120 4548 4c4f 2f48 454c 4f20 6669 7273 1.EHLO/HELO.firs > 0x0040: 7420 7a37 3373 6d32 3339 3035 366e 6662 t.z73sm239056nfb > 0x0050: 0d0a .. "503 5.5.1 EHLO/HELO first z73sm239056nfb" + CRLF > 14:07:04.112871 IP 82.208.205.163.59631 > 64.233.183.109.25: P 11:153(142) ack 82 win 65535 > 0x0000: 4500 00b6 63d3 4000 4006 bda4 52d0 cda3 E...c.@.@...R... > 0x0010: 40e9 b76d e8ef 0019 a714 7d36 6674 b5e2 @..m......}6ft.. > 0x0020: 5018 ffff aa17 0000 808c 0103 0100 6300 P.............c. > 0x0030: 0000 2000 0039 0000 3800 0035 0000 1600 .....9..8..5.... > 0x0040: 0013 0000 0a07 00c0 0000 3300 0032 0000 ..........3..2.. > 0x0050: 2f03 0080 0000 6600 0005 0000 0401 0080 /.....f......... > 0x0060: 0800 8000 0063 0000 6200 0061 0000 1500 .....c..b..a.... > 0x0070: 0012 0000 0906 0040 0000 6500 0064 0000 .......@..e..d.. > 0x0080: 6000 0014 0000 1100 0008 0000 0604 0080 `............... > 0x0090: 0000 0302 0080 a6a3 3dcd 03c8 5411 ea55 ........=...T..U > 0x00a0: f2c7 b618 88dd 5790 28f8 51f9 93c5 38f5 ......W.(.Q...8. > 0x00b0: 1df6 4011 5757 ..@.WW > 14:07:04.306017 IP 64.233.183.109.25 > 82.208.205.163.59631: P 82:129(47) ack 153 win 5720 > 0x0000: 4510 0057 c387 0000 3206 ac3f 40e9 b76d E..W....2..?@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b5e2 a714 7dc4 R.......ft....}. > 0x0020: 5018 1658 4026 0000 3530 3220 352e 352e P..X@&..502.5.5. > 0x0030: 3120 556e 7265 636f 676e 697a 6564 2063 1.Unrecognized.c > 0x0040: 6f6d 6d61 6e64 207a 3733 736d 3233 3930 ommand.z73sm2390 > 0x0050: 3536 6e66 620d 0a 56nfb.. "502 5.5.1 Unrecognized command z73sm239056nfb" + CRLF (looks like openssl has tried to start a TLS session anyway) > 14:07:04.307248 IP 82.208.205.163.59631 > 64.233.183.109.25: F 153:153(0) ack 129 win 65535 > 0x0000: 4500 0028 63d4 4000 4006 be31 52d0 cda3 E..(c.@.@..1R... > 0x0010: 40e9 b76d e8ef 0019 a714 7dc4 6674 b611 @..m......}.ft.. > 0x0020: 5011 ffff 6ca1 0000 P...l... > 14:07:04.476178 IP 64.233.183.109.25 > 82.208.205.163.59631: F 129:129(0) ack 154 win 5720 > 0x0000: 4510 0028 c388 0000 3206 ac6d 40e9 b76d E..(....2..m@..m > 0x0010: 52d0 cda3 0019 e8ef 6674 b611 a714 7dc5 R.......ft....}. > 0x0020: 5011 1658 5648 0000 P..XVH.. > 14:07:04.476571 IP 82.208.205.163.59631 > 64.233.183.109.25: . ack 130 win 943 > 0x0000: 4500 0028 63d5 4000 4006 be30 52d0 cda3 E..(c.@.@..0R... > 0x0010: 40e9 b76d e8ef 0019 a714 7dc5 6674 b612 @..m......}.ft.. > 0x0020: 5010 03af 68f1 0000 P...h... > > 12 packets captured > 18 packets received by filter > 0 packets dropped by kernel > > > -- > FreeB(eer)S(ex)D(rugs) are the real daemons!!! > From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 19:36:18 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9BEC916A41F for ; Wed, 2 Nov 2005 19:36:18 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF7543D5A for ; Wed, 2 Nov 2005 19:36:16 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.230.96) by vsmtp12.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 4368F9BF0001A1F5 for freebsd-net@freebsd.org; Wed, 2 Nov 2005 20:36:11 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 2C63881A0; Wed, 2 Nov 2005 19:36:17 +0100 (CET) Date: Wed, 2 Nov 2005 19:36:17 +0100 From: Marco Molteni To: freebsd-net@freebsd.org Message-Id: <20051102193617.1013be88.molter@tin.it> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 19:36:18 -0000 Hi, I have the following setup: box1 box2 box3 box4 xl0 xl0 xl0 ste0/ste1/ste2/ste3 -> fec0 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4 | | | | | | | | | | | | | | ======================================== cisco catalyst switch Hosts box1,2,3,4 are running stock fbsd -current. box4 has a 4-port ethernet card (forgot brand, think d-link) recognized by the ste driver, without IP addresses. I then configure bonding on the ste0..3 interfaces with ng_fec, which gives me a fec0 interface. I then configure fec0 with set_mode_mac and with IP address 1.1.1.4. The switch is configured to perform etherchannel on the 4 ports connected to the ste0..4 interfaces. Load "balancing" is done on a per source MAC address. Problem is when I ping box4 from the other boxes. I get a reply only for ping from box1. I then ran tcpdump on the 4 ste interfaces. Things become to get interesting. If tcpdump is ran in non-promiscuos mode (-p option), only ping (and ARP) from box1 goes thru, as if I wasn't running tcpdump at all. If on the other hand tcpdump is ran in promiscuos mode, then all the pings go thru as expected. Am I doing something wrong in configuring the fec0 interface or is this a known problem? I think I don't need to add any IP address on the ste interfaces themselves. thanks marco -- He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. -- Thomas Jefferson From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 19:43:58 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2DBC416A41F for ; Wed, 2 Nov 2005 19:43:58 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F14D43D6E for ; Wed, 2 Nov 2005 19:43:51 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jA2JhoTF034179; Wed, 2 Nov 2005 11:43:50 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jA2JhoNb034178; Wed, 2 Nov 2005 11:43:50 -0800 (PST) (envelope-from jmg) Date: Wed, 2 Nov 2005 11:43:49 -0800 From: John-Mark Gurney To: Marco Molteni Message-ID: <20051102194349.GJ4115@funkthat.com> Mail-Followup-To: Marco Molteni , freebsd-net@freebsd.org References: <20051102193617.1013be88.molter@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051102193617.1013be88.molter@tin.it> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net@freebsd.org Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 19:43:58 -0000 Marco Molteni wrote this message on Wed, Nov 02, 2005 at 19:36 +0100: > I have the following setup: > > box1 box2 box3 box4 > xl0 xl0 xl0 ste0/ste1/ste2/ste3 -> fec0 > 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4 > | | | | | | | > | | | | | | | > ======================================== cisco catalyst switch > > > Hosts box1,2,3,4 are running stock fbsd -current. > > box4 has a 4-port ethernet card (forgot brand, think d-link) > recognized by the ste driver, without IP addresses. I then configure > bonding on the ste0..3 interfaces with ng_fec, which gives me a fec0 > interface. I then configure fec0 with set_mode_mac and with IP address > 1.1.1.4. > > The switch is configured to perform etherchannel on the 4 ports > connected to the ste0..4 interfaces. Load "balancing" is done > on a per source MAC address. > > Problem is when I ping box4 from the other boxes. I get a reply only > for ping from box1. I then ran tcpdump on the 4 ste interfaces. > Things become to get interesting. > > If tcpdump is ran in non-promiscuos mode (-p option), only ping > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at all. > If on the other hand tcpdump is ran in promiscuos mode, then all the > pings go thru as expected. > > Am I doing something wrong in configuring the fec0 interface or is this > a known problem? I think I don't need to add any IP address on the > ste interfaces themselves. The only thing is that it could be that you aren't setting the ethernet hardware address on the four cards all to the same address... The reason box1 gets through is that it is aliased to the arp address that maps to one of the cards.. the reason the other boxes don't go through is that the card isn't seeing the correct mac address to pass it's filter... do something like: for i in 1 2 3; do ifconfig ste$i `ifconfig ste0 | grep ether`; done and see if that fixes your issue... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 19:49:40 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 7762A16A420 for ; Wed, 2 Nov 2005 19:49:40 +0000 (GMT) (envelope-from ivo.vachkov@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04ADF43D49 for ; Wed, 2 Nov 2005 19:49:39 +0000 (GMT) (envelope-from ivo.vachkov@gmail.com) Received: by xproxy.gmail.com with SMTP id h30so378478wxd for ; Wed, 02 Nov 2005 11:49:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lRF/GeA3vkRcxQa06wl8EIPzBvwDXOWvl9KNo3M9x9VB90K4STfIl9tybbhYbdy9FP+FLt8mrM9ndcJfIffUsuKUHPCN+O7xLwTaRjKE1P9jXlRyvbf+yYpiiFNvvx5j9qy5rF+LvhWRV+eouoKjWH01ndtOW9TWfacSxUXCDhk= Received: by 10.70.28.5 with SMTP id b5mr3469667wxb; Wed, 02 Nov 2005 11:49:39 -0800 (PST) Received: by 10.70.113.17 with HTTP; Wed, 2 Nov 2005 11:49:39 -0800 (PST) Message-ID: Date: Wed, 2 Nov 2005 21:49:39 +0200 From: Ivo Vachkov To: Dinesh Nair In-Reply-To: <4368E2EE.3080300@alphaque.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <79722fad0511020221o5a6c13bbv2d2099f94134ae78@mail.gmail.com> <4368E2EE.3080300@alphaque.com> Cc: freebsd-net@freebsd.org Subject: Re: SS7 stack/implementation on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 19:49:40 -0000 2005/11/2, Dinesh Nair : > > > On 11/02/05 18:21 Vlad GALU said the following: > > I see that the > > openss7 project uses SCTP sockets, which I've used before in FreeBSD. There is SCTP in FreeBSD ??? Which OS version ??? > > I'm just looking for some code to look at and play with as I go. > > the two open source ss7 projects that i know of are openss7.org and > openpbx.org which intends to get SS7 in via a link to chan_woomera. > openpbx.org is a fork of asterisk, an open source IP PBX. > > -- > Regards, /\_/\ "All dogs go to heaven." > dinesh@alphaque.com (0 0) http://www.alphaque.com/ > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D----oOO--(_)--OOo----=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > | for a in past present future; do = | > | for b in clients employers associates relatives neighbours pets; do = | > | echo "The opinions here in no way reflect the opinions of my $a $b." = | > | done; done = | > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > _______________________________________________ > 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" > -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 20:31:23 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 76FB516A41F for ; Wed, 2 Nov 2005 20:31:23 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2ACC43D49 for ; Wed, 2 Nov 2005 20:31:22 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.230.96) by vsmtp2.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 4367A311000AE7EA; Wed, 2 Nov 2005 21:31:17 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id E95AA81B3; Wed, 2 Nov 2005 20:31:22 +0100 (CET) Date: Wed, 2 Nov 2005 20:31:22 +0100 From: Marco Molteni To: Ivo Vachkov Message-Id: <20051102203122.5ac683a3.molter@tin.it> In-Reply-To: References: <79722fad0511020221o5a6c13bbv2d2099f94134ae78@mail.gmail.com> <4368E2EE.3080300@alphaque.com> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: SS7 stack/implementation on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 20:31:23 -0000 On Wed, 2 Nov 2005 21:49:39 +0200 Ivo Vachkov wrote: > There is SCTP in FreeBSD ??? Which OS version ??? since a long time. You get it from the KAME stack www.kame.net marco From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 20:36:15 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 6768216A41F for ; Wed, 2 Nov 2005 20:36:15 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp14.tin.it (vsmtp14.tin.it [212.216.176.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFCDB43D46 for ; Wed, 2 Nov 2005 20:36:14 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.230.96) by vsmtp14.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 43593CC0004971A1; Wed, 2 Nov 2005 21:36:09 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 8812D81B3; Wed, 2 Nov 2005 20:36:15 +0100 (CET) Date: Wed, 2 Nov 2005 20:36:15 +0100 From: Marco Molteni To: John-Mark Gurney Message-Id: <20051102203615.744d9c63.molter@tin.it> In-Reply-To: <20051102194349.GJ4115@funkthat.com> References: <20051102193617.1013be88.molter@tin.it> <20051102194349.GJ4115@funkthat.com> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 20:36:15 -0000 On Wed, 2 Nov 2005 11:43:49 -0800 John-Mark Gurney wrote: [..] > The only thing is that it could be that you aren't setting the > ethernet hardware address on the four cards all to the same address... > The > reason box1 gets through is that it is aliased to the arp address that > maps to one of the cards.. the reason the other boxes don't go through > is that the card isn't seeing the correct mac address to pass it's > filter... > > do something like: > for i in 1 2 3; do ifconfig ste$i `ifconfig ste0 | grep ether`; done > > and see if that fixes your issue... thanks for your quick reply John-Mark. Right now I don't have access to the setup, but I remember that the MAC addresses of the 4 ports are the same once ng_fec is created... Anyway, I will surely check this tomorrow. thanks again. marco From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 21:09:31 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 F329516A41F for ; Wed, 2 Nov 2005 21:09:30 +0000 (GMT) (envelope-from peter@paranoid-zine.com) Received: from mta1.siol.net (mta1.siol.net [193.189.160.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1686843D45 for ; Wed, 2 Nov 2005 21:09:27 +0000 (GMT) (envelope-from peter@paranoid-zine.com) Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP id <20051102211004.MRTZ7456.mta1.siol.net@edge1.siol.net> for ; Wed, 2 Nov 2005 22:10:04 +0100 Received: from dezur ([193.189.160.24]) by edge1.siol.net with ESMTP id <20051102210902.RFZK15081.edge1.siol.net@dezur> for ; Wed, 2 Nov 2005 22:09:02 +0100 Date: Wed, 2 Nov 2005 22:09:24 +0100 From: Peter Gregorc X-Mailer: The Bat! (v3.62.07) UNREG / CD5BF9353B3B7091 Organization: Paranoid Metal Webzine X-Priority: 3 (Normal) Message-ID: <502337639.20051102220924@paranoid-zine.com> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: nat exclusion? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Gregorc List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 21:09:31 -0000 Hi! I'm quite new to using BSD as a router, and I didn't find any solution for my problem. My config is like this: ADSL MODEM BSD WS1 WS2 WS3 | | | | | | ________________________ (switch or hub-doesn't matter) I've got a /30 class subnet from my ISP. What i want to do is: -my BSD should start a PPPoE connection with my ISP -one of the IPs from /30 should be used by BSD -the 2nd of the IPs should be used by WS1 -WS2 and WS3 have local IP's and should have full access to internet (NAT via BSD). The problem is, that if i enable NAT in ppp.conf, then my WS1 introduces itself to internet as BSD (x.x.x.241) instead of it's own IP (.242). .242 IS accessable from outside, traceroute goes OK via .241. If i disable NAT, i get .242 to be shown to internet, but offcourse the 2 WS's with local IP's loose connectivity. Is there any chance to disable NAT for one of the IP's the easy way? I know I can assign both public IPs to BSD and then use ipfw to route 1 to WS1 and other to WS2 and WS3...but that's the last resort. Please CC answer to me, I don't have the time to check the list on daily basis. Thanks! Peter From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 21:38:13 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 6014B16A41F for ; Wed, 2 Nov 2005 21:38:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0428A43D45 for ; Wed, 2 Nov 2005 21:38:12 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 472F55CF8; Wed, 2 Nov 2005 16:38:12 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08869-05; Wed, 2 Nov 2005 16:38:11 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 837ED5C67; Wed, 2 Nov 2005 16:38:11 -0500 (EST) In-Reply-To: <502337639.20051102220924@paranoid-zine.com> References: <502337639.20051102220924@paranoid-zine.com> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2C66C948-04D0-4576-A158-992AAE5BECB8@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 2 Nov 2005 16:38:09 -0500 To: Peter Gregorc X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-net@freebsd.org Subject: Re: nat exclusion? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 21:38:13 -0000 On Nov 2, 2005, at 4:09 PM, Peter Gregorc wrote: > My config is like this: > ADSL MODEM BSD WS1 WS2 WS3 > | | | | | | > ________________________ (switch or hub-doesn't matter) > > I've got a /30 class subnet from my ISP. What i want to do is: > -my BSD should start a PPPoE connection with my ISP > -one of the IPs from /30 should be used by BSD > -the 2nd of the IPs should be used by WS1 > -WS2 and WS3 have local IP's and should have full access to internet > (NAT via BSD). If you've got a /30 subnet, you've most probably got one usable routable public IP, and the other IP is going to be used by the router IP for your ISP. Secondly, if you're going to want to NAT inside workstations, you need to have two NIC's in your BSD machine, one connected to the ADSL modem, and one connected to your internal LAN, using natd or whatever to do NAT... -- -Chuck From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 21:55:36 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2262416A41F for ; Wed, 2 Nov 2005 21:55:36 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B79A043D48 for ; Wed, 2 Nov 2005 21:55:35 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id E95B15D5E; Wed, 2 Nov 2005 16:55:34 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14238-07; Wed, 2 Nov 2005 16:55:34 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 32C4D5C8E; Wed, 2 Nov 2005 16:55:34 -0500 (EST) In-Reply-To: <273200033.20051102224545@paranoid-zine.com> References: <502337639.20051102220924@paranoid-zine.com> <2C66C948-04D0-4576-A158-992AAE5BECB8@mac.com> <273200033.20051102224545@paranoid-zine.com> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 2 Nov 2005 16:55:32 -0500 To: Peter Gregorc X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-net@freebsd.org Subject: Re: Re[2]: nat exclusion? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Nov 2005 21:55:36 -0000 On Nov 2, 2005, at 4:45 PM, Peter Gregorc wrote: > I've got 86.61.75.240/30 > .241 is for BSD > .242 for WS1 > .243 broadcast > So two are usable for outside usage, if NAT is disabled. Sure, but normally, either .1 or .2 of a /30 subnet (ie, your .241 or .242) is the externally-connected router of your ISP. A few of the better ISP's will support switching their devices from being a router to acting like a bridge, thus requiring you to provide a dual- homed machine yourself. How else are you going to provide a default route except by using an IP which is reachable on that subnet...? -- -Chuck From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 02:39:37 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 AB5A916A420 for ; Thu, 3 Nov 2005 02:39:37 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35704.mail.mud.yahoo.com (web35704.mail.mud.yahoo.com [66.163.179.158]) by mx1.FreeBSD.org (Postfix) with SMTP id EB8B543D46 for ; Thu, 3 Nov 2005 02:39:36 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 63211 invoked by uid 60001); 3 Nov 2005 02:39:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cGkSehjBbHmvKq0zEWd0onPWFNbm18yA5y8j5G6/lWdgL5TCgsPiSx8+QvVuXYwUmNzR3j97aANAGCePL8f2C/8Rz62PW9Wcxlu2J70LsjGj5oVfELBnwLtNoq9pwV57i9rJ2CqLr+s93ormkuhlAc46A3l9ejH+ZYQtwfGhDLo= ; Message-ID: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Received: from [202.79.62.27] by web35704.mail.mud.yahoo.com via HTTP; Wed, 02 Nov 2005 18:39:36 PST Date: Wed, 2 Nov 2005 18:39:36 -0800 (PST) From: kamal kc To: freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd Subject: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 02:39:37 -0000 dear everybody, i am trying to compress/decompress ip packets. for this i have implemented the adaptive lzw compression. i put the code in the ip_output.c and do my compression/decompression just before the if_output() function call so that i won't interfere with the ip processing of the kernel. for my compression/decompression i use string tables and temporary buffers which take about 14KB of memory per packet. I used malloc() to allocate the memory space. i made the call as below: malloc(4096,M_TEMP, M_NOWAIT); I call the malloc 3 to 4 times with 4096 bytes. and release it with call to free() I also sometimes allocate an mbuf during compression/decompression. i use the macro-- struct mbuf *m; MGET(m, M_DONTWAIT,MT_DATA); MCLGET(m,M_DONTWAIT); These are the memory operations i perform in my code. Now when i run the modified kernel the behaviour is unpredictable. The compression/decompression works fine with expected results. But soon the kernel would crash with vm_fault: message. -Is the memory requirement of 14KB per packet too high to be allocated by the kernel ?? - Are there any other techniqures to allocate memory in kernel without producing vm_faults ?? - Am I not following the correct procedures to allocate and deallocate memory in kernel space ?? - Or is the problem elsewhere ?? I am really confused and don't know what to do as this is the only thing that is holding me back to implement the compression/decompression module. I know you guys can provide some help/info. Thanks kamal --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 03:41:03 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 5BCFE16A41F for ; Thu, 3 Nov 2005 03:41:03 +0000 (GMT) (envelope-from david@madole.net) Received: from a.omd3.com (a.omd3.com [69.90.174.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1482443D46 for ; Thu, 3 Nov 2005 03:41:02 +0000 (GMT) (envelope-from david@madole.net) Received: from dhcp-66-212-201-164.myeastern.com ([66.212.201.164] helo=david) by a.omd3.com with esmtpa (Exim 4.54) id 1EXVyH-00014g-Qw; Wed, 02 Nov 2005 22:41:02 -0500 Message-ID: <024f01c5e028$66182820$c3e7a8c0@david> From: "David S. Madole" To: "kamal kc" , "freebsd" References: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Date: Wed, 2 Nov 2005 22:40:55 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Cc: Subject: Re: allocating 14KB memory per packet compression/decompression resultsin vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 03:41:03 -0000 From: "kamal kc" > > i am trying to compress/decompress ip packets. > for this i have implemented the adaptive lzw compression. > i put the code in the ip_output.c and do my compression/decompression > just before the if_output() function call so that i won't interfere > with > the ip processing of the kernel. I don't have an answer for you, but I'm curious what you are doing that makes it better than the IPComp compression that is already available in IPSEC? If it's just LZW versus LZ77, have you considered merely extending the existing IPSEC implementation with just the additional protocol option? It seems like it would be better than reinventing the wheel -- you would have the advantage of the existing security policy framework to select what and how to encrypt as well as a working example of how to do it in the LZ77 code that's already there. If you do need to do something truly one-off and unique, I have found that writing it as a userland process and hanging it off a divert socket is an easy way to manipulate IP packets. It's not as efficient as putting it in the kernel, but it's a heck of a lot easier to write and debug and it's independent of kernel versions and other changes. You also get the benefit of being able to use ipfw rules to determine what gets processed rather than rolling your own configuration mechanism. David From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 03:45:32 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 C0EB916A41F for ; Thu, 3 Nov 2005 03:45:32 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB6E43D45 for ; Thu, 3 Nov 2005 03:45:32 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 8E6015DA1; Wed, 2 Nov 2005 22:45:31 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50422-07; Wed, 2 Nov 2005 22:45:30 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 79CFC5CE9; Wed, 2 Nov 2005 22:45:30 -0500 (EST) Message-ID: <436987E1.30706@mac.com> Date: Wed, 02 Nov 2005 22:45:37 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kamal kc References: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> In-Reply-To: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 03:45:32 -0000 kamal kc wrote: > i am trying to compress/decompress ip packets. > for this i have implemented the adaptive lzw compression. > i put the code in the ip_output.c and do my compression/decompression > just before the if_output() function call so that i won't interfere with > the ip processing of the kernel. > > for my compression/decompression i use string tables and temporary > buffers which take about 14KB of memory per packet. It's highly likely that the problem you are trying to solve has already been implemented elsewhere, you ought to look at the code for these kernel options in particular: # The PPP_BSDCOMP option enables support for compress(1) style entire # packet compression, the PPP_DEFLATE is for zlib/gzip style compression. [ ... ] > These are the memory operations i perform in my code. > Now when i run the modified kernel the behaviour is unpredictable. > The compression/decompression > works fine with expected results. But soon the kernel would crash with > vm_fault: message. > > -Is the memory requirement of 14KB per packet too high to be allocated by > the kernel ?? > - Are there any other techniqures to allocate memory in kernel without > producing vm_faults ?? > - Am I not following the correct procedures to > allocate and deallocate memory in kernel space ?? > - Or is the problem elsewhere ?? You should allocate buffers once and reuse them, not continually free and reallocate 14KB of memory per packet. Look at "man 9 malloc" and the output of "sysctl kern.malloc". Perhaps you're leaking memory with each packet and run the kernel out of KVA pages, but without knowing more about the problem you are trying to solve, and without seeing more of the code you've written or at least a backtrace, it's not really useful to make random guesses. You should be looking to get a dump and run kgdb... -- -Chuck From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 04:54:50 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 8B07016A41F for ; Thu, 3 Nov 2005 04:54:50 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [65.170.254.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C4843D48 for ; Thu, 3 Nov 2005 04:54:49 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-12-34-209.jan.bellsouth.net [65.12.34.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 2E5D02A for ; Wed, 2 Nov 2005 22:54:47 -0600 (CST) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 9296220FFE; Wed, 2 Nov 2005 22:54:45 -0600 (CST) Date: Wed, 2 Nov 2005 22:54:45 -0600 From: "Matthew D. Fuller" To: Charles Swiger Message-ID: <20051103045445.GO1367@over-yonder.net> References: <502337639.20051102220924@paranoid-zine.com> <2C66C948-04D0-4576-A158-992AAE5BECB8@mac.com> <273200033.20051102224545@paranoid-zine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 Cc: freebsd-net@freebsd.org, Peter Gregorc Subject: Re: Re[2]: nat exclusion? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 04:54:50 -0000 On Wed, Nov 02, 2005 at 04:55:32PM -0500 I heard the voice of Charles Swiger, and lo! it spake thus: > On Nov 2, 2005, at 4:45 PM, Peter Gregorc wrote: > >I've got 86.61.75.240/30 > >.241 is for BSD > >.242 for WS1 > >.243 broadcast > >So two are usable for outside usage, if NAT is disabled. > > Sure, but normally, either .1 or .2 of a /30 subnet (ie, your .241 > or .242) is the externally-connected router of your ISP. A few of > the better ISP's will support switching their devices from being a > router to acting like a bridge, thus requiring you to provide a > dual- homed machine yourself. Presumably he's using the BSD box as the router (PPPoE). You can get away with a single NIC just fine; I go through PPPoE with the single NIC in my old 486 router, and forward ports internally. You want "nat unregistered_only yes" in the ppp.conf so it only NAT's private IP's and leaves public ones alone. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 07:22:55 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 B45D016A41F for ; Thu, 3 Nov 2005 07:22:55 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 0080643D48 for ; Thu, 3 Nov 2005 07:22:54 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 41503 invoked by uid 399); 3 Nov 2005 07:22:54 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 3 Nov 2005 07:22:54 -0000 Message-ID: <4369BACD.4080301@FreeBSD.org> Date: Wed, 02 Nov 2005 23:22:53 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Simon L. Nielsen" References: <43668CC8.3020805@FreeBSD.org> <20051101093930.GA82774@eddie.nitro.dk> In-Reply-To: <20051101093930.GA82774@eddie.nitro.dk> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd Subject: Re: IPv6 for www.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 07:22:55 -0000 Simon L. Nielsen wrote: > The mirrors are not exact mirrors of www.freebsd.org, so this is not > possible. Yeah, I get that now, thanks for the info. Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 08:33:28 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 195CD16A420 for ; Thu, 3 Nov 2005 08:33:28 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A4743D72 for ; Thu, 3 Nov 2005 08:33:25 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 80E2E4086; Thu, 3 Nov 2005 03:33:49 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 3F86989; Thu, 3 Nov 2005 03:33:48 -0500 (EST) Received: from brian by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EXaXB-000AOB-Fc; Thu, 03 Nov 2005 08:33:21 +0000 Date: Thu, 3 Nov 2005 08:33:21 +0000 From: Brian Candler To: "Meka[ni]" Message-ID: <20051103083321.GA39912@uk.tiscali.com> References: <20051102093504.64edad5f@hal9000> <20051102123529.GA36617@uk.tiscali.com> <20051102141715.60c8dd6a@hal9000> <20051102181633.GA37799@uk.tiscali.com> <20051103001651.71ff4037@hal9000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051103001651.71ff4037@hal9000> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 08:33:28 -0000 On Thu, Nov 03, 2005 at 12:16:51AM +0100, Meka[ni] wrote: > > > 14:07:04.306017 IP 64.233.183.109.25 > 82.208.205.163.59631: P 82:129(47) ack 153 win 5720 > > > 0x0000: 4510 0057 c387 0000 3206 ac3f 40e9 b76d E..W....2..?@..m > > > 0x0010: 52d0 cda3 0019 e8ef 6674 b5e2 a714 7dc4 R.......ft....}. > > > 0x0020: 5018 1658 4026 0000 3530 3220 352e 352e P..X@&..502.5.5. > > > 0x0030: 3120 556e 7265 636f 676e 697a 6564 2063 1.Unrecognized.c > > > 0x0040: 6f6d 6d61 6e64 207a 3733 736d 3233 3930 ommand.z73sm2390 > > > 0x0050: 3536 6e66 620d 0a 56nfb.. > > > > "502 5.5.1 Unrecognized command z73sm239056nfb" + CRLF > > (looks like openssl has tried to start a TLS session anyway) > Is there anything I can do about it? It works on my gentoo-linux box. I've tried all available versions of openssl. By the way, where should I keep the certs, and do I need anything from the FreeBSD source code? Thanx a lot. :o) Please stop replying to me personally. See http://www.eyrie.org/~eagle/faqs/questions.html To "do something about it" you modify the openssl source code so that it sends the correct SMTP sequence (EHLO, wait for reply, STARTTLS). If it "works" on your gentoo-linux box, pointing to the same smtp server, then I can only guess that your gentoo-linux box is running a different or patched version of openssl. You can run the session from there and use tcpdump to show what is different in the message exchange. If it's a different version of openssl then try installing the version of openssl which is in the ports collection. If you reply to me again personally, your message will go straight in the trash. Regards, Brian. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 10:19:39 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 CD81616A420 for ; Thu, 3 Nov 2005 10:19:39 +0000 (GMT) (envelope-from mekalists@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B1BF43D48 for ; Thu, 3 Nov 2005 10:19:34 +0000 (GMT) (envelope-from mekalists@gmail.com) Received: by nproxy.gmail.com with SMTP id l24so89239nfc for ; Thu, 03 Nov 2005 02:19:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=a0HRhmdbw/YKqLYcfzap8xVwJMr1ysMzwJ6qlrmR4gCuyaxGgLAxA7nNuSo0wxn/Xf5b73BJDCqx83L/5+A3+VKCfZxyyhIkUgSdI31KrkByP0lAA8eo2wDMM9zlIVpgbyBEx6PaVWtYKjNyMq6vtl6tyjqh17GhTzF61mxXqMY= Received: by 10.48.249.12 with SMTP id w12mr212970nfh; Thu, 03 Nov 2005 02:19:33 -0800 (PST) Received: from hal9000 ( [82.208.205.153]) by mx.gmail.com with ESMTP id i1sm256151nfe.2005.11.03.02.19.14; Thu, 03 Nov 2005 02:19:32 -0800 (PST) Date: Thu, 3 Nov 2005 11:32:14 +0100 From: "Meka[ni]" To: freebsd-net@freebsd.org Message-ID: <20051103113214.70c5c369@hal9000> In-Reply-To: <20051103083321.GA39912@uk.tiscali.com> References: <20051102093504.64edad5f@hal9000> <20051102123529.GA36617@uk.tiscali.com> <20051102141715.60c8dd6a@hal9000> <20051102181633.GA37799@uk.tiscali.com> <20051103001651.71ff4037@hal9000> <20051103083321.GA39912@uk.tiscali.com> X-Mailer: Sylpheed-Claws 1.9.99cvs1 (GTK+ 2.8.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 10:19:39 -0000 On Thu, 3 Nov 2005 08:33:21 +0000 Brian Candler wrote: > To "do something about it" you modify the openssl source code so that it > sends the correct SMTP sequence (EHLO, wait for reply, STARTTLS). > > If it "works" on your gentoo-linux box, pointing to the same smtp server, > then I can only guess that your gentoo-linux box is running a different or > patched version of openssl. You can run the session from there and use > tcpdump to show what is different in the message exchange. If it's a > different version of openssl then try installing the version of openssl > which is in the ports collection. I've tried to use gentoo patches, but it didn't help. I'm having trouble upgrading to 6.0-STABLE from the source (only on that machine), so I suppose there are some real problems with that box. I've asked a friend to try the same command on his 5.4 FreeBSD box, and he reported the same problem. I'm downloading 6.0-RC1, and will try with it. I will let you know what happened. :o) > If you reply to me again personally, your message will go straight in the > trash. I wasn't even looking who am I replaying to. Got used to replay to the list, not to the sender. Sorry about that. :o( -- FreeB(eer)S(ex)D(rugs) are the real daemons!!! From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 10:44:31 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 5711216A422 for ; Thu, 3 Nov 2005 10:44:31 +0000 (GMT) (envelope-from aquarius@spray.no) Received: from mail46.e.nsc.no (mail46.e.nsc.no [193.213.115.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDFC143D53 for ; Thu, 3 Nov 2005 10:44:29 +0000 (GMT) (envelope-from aquarius@spray.no) Received: from CPQ20491154327 ([212.17.154.244]) by mail46.nsc.no (8.12.11/8.12.11) with SMTP id jA3AiOx4012595 for ; Thu, 3 Nov 2005 11:44:25 +0100 (CET) x-esmtp: 0 0 1 Message-ID: <1080349-22005114310448878@CPQ20491154327> From: "jan tore" To: freebsd-net@freebsd.org Date: Thu, 3 Nov 2005 11:44:08 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: volunteer computer-geek to help us for FREE? please contact ! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 10:44:31 -0000 Hello !!! =20 we send out donation links now a days! pluss send old computers for Afric= a=2E we register importent books/articles/science ALL from prosessors of = all kinds pluss much much more to translate print free etc=2E=20 we do more importent stuff but red cross still outruns us sometimes But now we got many BIG software problem-tasks & asks for help Example 1: a clock-file that limits the speed for sending group mail=2E(we= bought the most excpencive version)makes us BIG problem=2E a program limit-send-speed file in the group mail program we bought is set to 6 thousand per hour maximum=2E How to dobble this=3F -needle in a heystack-job=3Fmaybe use auto search program to find it=3F=3F= =3F Name of the program is group mail version 3=2E4=2E214 we can even use tips on all our projects example this limitation file na= me,=20 we tried talk with infacta for extended speed but they couldnt help Download program here:=20 http://www=2Einfacta=2Ecom/download=2Easp=3Fa=3Dftr From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 12:28:06 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D01A416A41F; Thu, 3 Nov 2005 12:28:06 +0000 (GMT) (envelope-from howells@kde.org) Received: from mail.devrandom.org.uk (host-84-9-223-82.bulldogdsl.com [84.9.223.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1B2D43D64; Thu, 3 Nov 2005 12:27:58 +0000 (GMT) (envelope-from howells@kde.org) Received: from localhost (localhost [127.0.0.1]) by mail.devrandom.org.uk (Postfix) with ESMTP id 98F0CFD0AC; Thu, 3 Nov 2005 12:27:56 +0000 (GMT) Received: from mail.devrandom.org.uk ([127.0.0.1]) by localhost (mail.devrandom.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03992-01; Thu, 3 Nov 2005 12:27:43 +0000 (GMT) Received: from [192.168.1.177] (unknown [192.168.0.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.devrandom.org.uk (Postfix) with ESMTP id 1D34BFD08E; Thu, 3 Nov 2005 12:27:41 +0000 (GMT) From: Chris Howells Organization: K Desktop Environment To: freebsd-net@freebsd.org Date: Thu, 3 Nov 2005 13:27:26 +0000 User-Agent: KMail/1.8.2 References: <20051020140200.GL59364@cell.sick.ru> In-Reply-To: <20051020140200.GL59364@cell.sick.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511031327.26695.howells@kde.org> X-Virus-Scanned: amavisd-new at devrandom.org.uk Cc: Subject: Re: em(4) patch for test X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 12:28:07 -0000 On Thursday 20 October 2005 14:02, Gleb Smirnoff wrote: > since the if_em problem was taken as a late showstopper for 6.0-RELEASE, > I am asking you to help with testing of the fixes made in HEAD. > > Does your em(4) interface wedge for some time? > Do you see a lot of errors in 'netstat -i' output? Does these errors > increase not monotonously but they have peaks? > > If the answer is yes, then the attached patch is likely to fix your > problem. If the answer is no, then you are still encouraged to help with > testing and install the patch to check that no regressions are introduced. > If you skip this, then you may encounter regressions after release, so you > have been warned. Doesn't fix the problem for me, the card still stops responding sometimes. em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! nfs server 192.168.1.11:/raid2: not responding em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! nfs server 192.168.1.11:/raid2: not responding em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! I had to 'ifconfig em0 down; ifconfig em0 up' on the console to get it to work again. Netstat -i seems to show some input errors: [12:21][chris@sauron:~]$ netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll em0 1500 00:0e:0c:74:0d:4c 161332114 149 167896109 0 0 em0 1500 192.168.1 sauron 161275107 - 167892529 - - em0 1500 fe80:2::20e:c fe80:2::20e:cff:f 0 - 6 - - The system is: [12:21][chris@sauron:~]$ uname -a FreeBSD sauron.devrandom.org.uk 5.4-STABLE FreeBSD 5.4-STABLE #18: Thu Oct 27 17:02:46 BST 2005 root@sauron.devrandom.org.uk:/usr/obj/usr/src/sys/SAURON i386 [12:21][chris@sauron:~]$ uptime 12:26PM up 6 days, 19:58, 3 users, load averages: 0.00, 0.09, 0.11 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #18: Thu Oct 27 17:02:46 BST 2005 root@sauron.devrandom.org.uk:/usr/obj/usr/src/sys/SAURON Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Duron(TM) (1791.21-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 real memory = 402636800 (383 MB) avail memory = 384307200 (366 MB) npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) atapci0: port 0xa400-0xa40f,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807 mem 0xf2800000-0xf2803fff irq 5 at device 12.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port 0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xf2000000-0xf2003fff irq 11 at device 13.0 on pci0 ata4: channel #0 on atapci1 ata5: channel #1 on atapci1 ahc0: port 0x8400-0x84ff mem 0xf1800000-0xf1800fff irq 10 at device 14.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=15, 16/253 SCBs uhci0: port 0x8000-0x801f irq 9 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x7800-0x781f irq 9 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x7400-0x741f irq 9 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 16.3 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 atapci2: port 0x7000-0x700f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 ata0: channel #0 on atapci2 ata1: channel #1 on atapci2 vr0: port 0x6800-0x68ff mem 0xf0800000-0xf08000ff irq 11 at device 18.0 on pci0 miibus0: on vr0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:11:2f:51:8f:24 em0: port 0x6400-0x643f mem 0xf0000000-0xf001ffff irq 3 at device 19.0 on pci0 em0: Ethernet address: 00:0e:0c:74:0d:4c em0: Speed:N/A Duplex:N/A orm0: at iomem 0xd0000-0xd07ff,0xcc000-0xce7ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) Timecounter "TSC" frequency 1791212858 Hz quality 800 Timecounters tick every 10.000 msec ad0: 39205MB [79656/16/63] at ata0-master UDMA133 ad2: 152627MB [310101/16/63] at ata1-master UDMA100 ad4: 152627MB [310101/16/63] at ata2-master UDMA100 ad6: 194481MB [395136/16/63] at ata3-master UDMA100 ad8: 152627MB [310101/16/63] at ata4-master UDMA100 ad10: 152627MB [310101/16/63] at ata5-master UDMA100 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) Mounting root from ufs:/dev/ad0s1a em0: Link is up 1000 Mbps Full Duplex -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 12:34:42 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 0193416A41F for ; Thu, 3 Nov 2005 12:34:42 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA3643D45 for ; Thu, 3 Nov 2005 12:34:40 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jA3CYcoV014671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2005 15:34:38 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jA3CYcBo014670; Thu, 3 Nov 2005 15:34:38 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 3 Nov 2005 15:34:37 +0300 From: Gleb Smirnoff To: Chris Howells Message-ID: <20051103123437.GW91530@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Chris Howells , freebsd-net@freebsd.org References: <20051020140200.GL59364@cell.sick.ru> <200511031327.26695.howells@kde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200511031327.26695.howells@kde.org> User-Agent: Mutt/1.5.6i Cc: freebsd-net@FreeBSD.org Subject: Re: em(4) patch for test X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 12:34:42 -0000 On Thu, Nov 03, 2005 at 01:27:26PM +0000, Chris Howells wrote: C> em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! C> C> C> I had to 'ifconfig em0 down; ifconfig em0 up' on the console to get it to work C> again. Can you show your card in 'pciconf -lv' output? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 14:52:49 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3525216A41F; Thu, 3 Nov 2005 14:52:49 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D8DD43D45; Thu, 3 Nov 2005 14:52:48 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA3Eqk0f018222; Thu, 3 Nov 2005 16:52:46 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 23016-02-8; Thu, 3 Nov 2005 16:52:45 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA3Epe4G017920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2005 16:51:40 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jA3EpitX079785; Thu, 3 Nov 2005 16:51:44 +0200 (EET) (envelope-from ru) Date: Thu, 3 Nov 2005 16:51:44 +0200 From: Ruslan Ermilov To: Marco Molteni Message-ID: <20051103145144.GM63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M2Pxvdb9QxnGd/3e" Content-Disposition: inline In-Reply-To: <20051102193617.1013be88.molter@tin.it> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-net@freebsd.org, Bill Paul Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 14:52:49 -0000 --M2Pxvdb9QxnGd/3e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 02, 2005 at 07:36:17PM +0100, Marco Molteni wrote: > Hi, >=20 > I have the following setup: >=20 > box1 box2 box3 box4 > xl0 xl0 xl0 ste0/ste1/ste2/ste3 -> fec0 > 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4 > | | | | | | | > | | | | | | | =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cisco catalyst switch >=20 >=20 > Hosts box1,2,3,4 are running stock fbsd -current. >=20 > box4 has a 4-port ethernet card (forgot brand, think d-link) > recognized by the ste driver, without IP addresses. I then configure > bonding on the ste0..3 interfaces with ng_fec, which gives me a fec0 > interface. I then configure fec0 with set_mode_mac and with IP address > 1.1.1.4. >=20 > The switch is configured to perform etherchannel on the 4 ports > connected to the ste0..4 interfaces. Load "balancing" is done > on a per source MAC address. >=20 > Problem is when I ping box4 from the other boxes. I get a reply only > for ping from box1. I then ran tcpdump on the 4 ste interfaces. > Things become to get interesting. >=20 > If tcpdump is ran in non-promiscuos mode (-p option), only ping > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at all. > If on the other hand tcpdump is ran in promiscuos mode, then all the > pings go thru as expected. >=20 > Am I doing something wrong in configuring the fec0 interface or is this > a known problem? I think I don't need to add any IP address on the > ste interfaces themselves. >=20 Looks like a bug. The ng_fec code uses the MAC address of the first real interface as the MAC address for the virtual and all other ports in the bundle, but it lacks a call to ifp->if_init() to actually reprogram the hardware MAC filter. Please try this patch: %%% Index: ng_fec.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/netgraph/ng_fec.c,v retrieving revision 1.21 diff -u -p -r1.21 ng_fec.c --- ng_fec.c 25 Aug 2005 17:00:02 -0000 1.21 +++ ng_fec.c 3 Nov 2005 14:48:27 -0000 @@ -104,7 +104,6 @@ #include #include #include -#include #include #include #include @@ -345,8 +344,6 @@ ng_fec_addport(struct ng_fec_private *pr { struct ng_fec_bundle *b; struct ifnet *ifp, *bifp; - struct ifaddr *ifa; - struct sockaddr_dl *sdl; struct ng_fec_portlist *p, *new; =20 if (priv =3D=3D NULL || iface =3D=3D NULL) @@ -408,14 +405,8 @@ ng_fec_addport(struct ng_fec_private *pr * use its MAC address for the virtual interface (and, * by extension, all the other ports in the bundle). */ - if (b->fec_ifcnt =3D=3D 0) { - ifa =3D ifaddr_byindex(ifp->if_index); - sdl =3D (struct sockaddr_dl *)ifa->ifa_addr; - bcopy(IFP2ENADDR(bifp), - IFP2ENADDR(priv->ifp), ETHER_ADDR_LEN); - bcopy(IFP2ENADDR(bifp), - LLADDR(sdl), ETHER_ADDR_LEN); - } + if (b->fec_ifcnt =3D=3D 0) + if_setlladdr(ifp, IFP2ENADDR(bifp), ETHER_ADDR_LEN); =20 b->fec_btype =3D FEC_BTYPE_MAC; new->fec_idx =3D b->fec_ifcnt; @@ -426,10 +417,7 @@ ng_fec_addport(struct ng_fec_private *pr (char *)&new->fec_mac, ETHER_ADDR_LEN); =20 /* Set up phony MAC address. */ - ifa =3D ifaddr_byindex(bifp->if_index); - sdl =3D (struct sockaddr_dl *)ifa->ifa_addr; - bcopy(IFP2ENADDR(priv->ifp), IFP2ENADDR(bifp), ETHER_ADDR_LEN); - bcopy(IFP2ENADDR(priv->ifp), LLADDR(sdl), ETHER_ADDR_LEN); + if_setlladdr(bifp, IFP2ENADDR(ifp), ETHER_ADDR_LEN); =20 /* Save original input vector */ new->fec_if_input =3D bifp->if_input; @@ -453,8 +441,6 @@ ng_fec_delport(struct ng_fec_private *pr { struct ng_fec_bundle *b; struct ifnet *ifp, *bifp; - struct ifaddr *ifa; - struct sockaddr_dl *sdl; struct ng_fec_portlist *p; =20 if (priv =3D=3D NULL || iface =3D=3D NULL) @@ -487,10 +473,7 @@ ng_fec_delport(struct ng_fec_private *pr (*bifp->if_ioctl)(bifp, SIOCSIFFLAGS, NULL); =20 /* Restore MAC address. */ - ifa =3D ifaddr_byindex(bifp->if_index); - sdl =3D (struct sockaddr_dl *)ifa->ifa_addr; - bcopy((char *)&p->fec_mac, IFP2ENADDR(bifp), ETHER_ADDR_LEN); - bcopy((char *)&p->fec_mac, LLADDR(sdl), ETHER_ADDR_LEN); + if_setlladdr(bifp, (u_char *)&p->fec_mac, ETHER_ADDR_LEN); =20 /* Restore input vector */ bifp->if_input =3D p->fec_if_input; %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --M2Pxvdb9QxnGd/3e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDaiQAqRfpzJluFF4RAsnxAJ4hMwch0e6CGOqWxaQM109MgGhN1ACbBbdM R34s9ELPHsrvSucm5keZ+qk= =WqJW -----END PGP SIGNATURE----- --M2Pxvdb9QxnGd/3e-- From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 14:57:46 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 626AF16A41F; Thu, 3 Nov 2005 14:57:46 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4CD43D62; Thu, 3 Nov 2005 14:57:39 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA3EvbCi002251; Thu, 3 Nov 2005 16:57:38 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA3EvTF4002154; Thu, 3 Nov 2005 16:57:29 +0200 (EET) (envelope-from keramida@linux.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA3EvTIC002153; Thu, 3 Nov 2005 16:57:29 +0200 (EET) (envelope-from keramida@linux.gr) Date: Thu, 3 Nov 2005 16:57:29 +0200 From: Giorgos Keramidas To: kamal kc Message-ID: <20051103145729.GA2088@flame.pc> References: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Cc: freebsd , freebsd Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 14:57:46 -0000 On 2005-11-02 18:39, kamal kc wrote: > dear everybody, > > i am trying to compress/decompress ip packets. > for this i have implemented the adaptive lzw compression. > i put the code in the ip_output.c and do my compression/decompression > just before the if_output() function call so that i won't interfere with > the ip processing of the kernel. > > for my compression/decompression i use string tables and temporary > buffers which take about 14KB of memory per packet. If you're allocating 14 KB of data just to send (approximately) 1.4 KB and then you throw away the 14 KB immediately, it sounds terrible. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 15:05:05 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 99CDB16A41F for ; Thu, 3 Nov 2005 15:05:05 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C840E43D45 for ; Thu, 3 Nov 2005 15:05:04 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA3F52wk018876; Thu, 3 Nov 2005 17:05:03 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 23134-02-5; Thu, 3 Nov 2005 17:05:00 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA3F1w6A018700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2005 17:01:59 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jA3F23UR079857; Thu, 3 Nov 2005 17:02:03 +0200 (EET) (envelope-from ru) Date: Thu, 3 Nov 2005 17:02:03 +0200 From: Ruslan Ermilov To: Marco Molteni Message-ID: <20051103150203.GN63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051102194349.GJ4115@funkthat.com> <20051102203615.744d9c63.molter@tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E0h0CbphJD8hN+Gf" Content-Disposition: inline In-Reply-To: <20051102203615.744d9c63.molter@tin.it> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-net@freebsd.org, John-Mark Gurney Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 15:05:05 -0000 --E0h0CbphJD8hN+Gf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 02, 2005 at 08:36:15PM +0100, Marco Molteni wrote: > On Wed, 2 Nov 2005 11:43:49 -0800 > John-Mark Gurney wrote: >=20 > [..] >=20 > > The only thing is that it could be that you aren't setting the > > ethernet hardware address on the four cards all to the same address... > > The > > reason box1 gets through is that it is aliased to the arp address that > > maps to one of the cards.. the reason the other boxes don't go through > > is that the card isn't seeing the correct mac address to pass it's > > filter... > >=20 > > do something like: > > for i in 1 2 3; do ifconfig ste$i `ifconfig ste0 | grep ether`; done > >=20 > > and see if that fixes your issue... >=20 > thanks for your quick reply John-Mark. >=20 > Right now I don't have access to the setup, but I remember that the > MAC addresses of the 4 ports are the same once ng_fec is created... > Anyway, I will surely check this tomorrow. thanks again. >=20 What John-Mark suggests will likely fix your problem, but don't do that. Instead, please see my other reply in this thread that includes a fix to ng_fec. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --E0h0CbphJD8hN+Gf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDaiZqqRfpzJluFF4RAo1aAJ0Z+LG7IqlKn/nCy8cBWUNN1kRgSwCfSo+d hHrRgdOAo5dZtFyKFa7VL0A= =i/6k -----END PGP SIGNATURE----- --E0h0CbphJD8hN+Gf-- From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 15:10:46 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9534316A41F; Thu, 3 Nov 2005 15:10:46 +0000 (GMT) (envelope-from howells@kde.org) Received: from mail.devrandom.org.uk (host-84-9-223-82.bulldogdsl.com [84.9.223.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05CE943D45; Thu, 3 Nov 2005 15:10:45 +0000 (GMT) (envelope-from howells@kde.org) Received: from localhost (localhost [127.0.0.1]) by mail.devrandom.org.uk (Postfix) with ESMTP id AE491FD0AC; Thu, 3 Nov 2005 15:10:44 +0000 (GMT) Received: from mail.devrandom.org.uk ([127.0.0.1]) by localhost (mail.devrandom.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05430-07; Thu, 3 Nov 2005 15:10:36 +0000 (GMT) Received: from [192.168.1.177] (unknown [192.168.0.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.devrandom.org.uk (Postfix) with ESMTP id 9557AFD08E; Thu, 3 Nov 2005 15:10:36 +0000 (GMT) From: Chris Howells Organization: K Desktop Environment To: freebsd-net@freebsd.org Date: Thu, 3 Nov 2005 16:10:19 +0000 User-Agent: KMail/1.8.2 References: <20051020140200.GL59364@cell.sick.ru> <200511031327.26695.howells@kde.org> <20051103123437.GW91530@cell.sick.ru> In-Reply-To: <20051103123437.GW91530@cell.sick.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511031610.20043.howells@kde.org> X-Virus-Scanned: amavisd-new at devrandom.org.uk Cc: Subject: Re: em(4) patch for test X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 15:10:46 -0000 On Thursday 03 November 2005 12:34, Gleb Smirnoff wrote: > On Thu, Nov 03, 2005 at 01:27:26PM +0000, Chris Howells wrote: > C> em0, Sean, I just recieved an RX overrun interrupt, Take it easy on me! > C> > C> > C> I had to 'ifconfig em0 down; ifconfig em0 up' on the console to get it > to work C> again. > > Can you show your card in 'pciconf -lv' output? Sure: em0@pci0:19:0: class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82545GM Gigabit Ethernet Controller' class = network subclass = ethernet Just in case you're interested here's the entire output: [12:21][chris@sauron:~]$ pciconf -lv agp0@pci0:0:0: class=0x060000 card=0x807f1043 chip=0x31891106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT8377 Apollo KT400/A/600 CPU to PCI Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0xb1681106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' device = 'ProSavageDDR P4X333 CPU to AGP 2.0/3.0 Bridge' class = bridge subclass = PCI-PCI atapci0@pci0:12:0: class=0x018085 card=0x4d68105a chip=0x4d68105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20268 Ultra100 TX2 EIDE Controller' class = mass storage atapci1@pci0:13:0: class=0x018085 card=0x4d68105a chip=0x4d68105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20268 Ultra100 TX2 EIDE Controller' class = mass storage ahc0@pci0:14:0: class=0x010000 card=0x78819004 chip=0x81789004 rev=0x01 hdr=0x00 vendor = 'Adaptec Inc' device = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter' class = mass storage subclass = SCSI uhci0@pci0:16:0: class=0x0c0300 card=0x80a11043 chip=0x30381106 rev=0x80 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci1@pci0:16:1: class=0x0c0300 card=0x80a11043 chip=0x30381106 rev=0x80 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci2@pci0:16:2: class=0x0c0300 card=0x80a11043 chip=0x30381106 rev=0x80 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB none0@pci0:16:3: class=0x0c0320 card=0x80a11043 chip=0x31041106 rev=0x82 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6202 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB isab0@pci0:17:0: class=0x060100 card=0x80a11043 chip=0x31771106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT8235 PCI to ISA Bridge' class = bridge subclass = PCI-ISA atapci2@pci0:17:1: class=0x01018a card=0x80a11043 chip=0x05711106 rev=0x06 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxx EIDE Controller (All VIA Chipsets)' class = mass storage subclass = ATA vr0@pci0:18:0: class=0x020000 card=0x80a11043 chip=0x30651106 rev=0x74 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6102 Rhine II PCI Fast Ethernet Controller' class = network subclass = ethernet em0@pci0:19:0: class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82545GM Gigabit Ethernet Controller' class = network subclass = ethernet none1@pci1:0:0: class=0x030000 card=0x7106174b chip=0x50461002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Rage 128 PF/Pro AGP 4x (TMDS)' class = display subclass = VGA Thanks a lot for your work on this anyway! -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 15:30:21 2005 Return-Path: X-Original-To: freebsd-net@hub.freebsd.org Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A527916A41F; Thu, 3 Nov 2005 15:30:21 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6377143D45; Thu, 3 Nov 2005 15:30:21 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (arved@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA3FUL6w043675; Thu, 3 Nov 2005 15:30:21 GMT (envelope-from arved@freefall.freebsd.org) Received: (from arved@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA3FULuV043671; Thu, 3 Nov 2005 15:30:21 GMT (envelope-from arved) Date: Thu, 3 Nov 2005 15:30:21 GMT From: Tilman Linneweh Message-Id: <200511031530.jA3FULuV043671@freefall.freebsd.org> To: arved@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org Cc: Subject: Re: kern/88450: SYN+ACK reports strange size of window X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 15:30:21 -0000 Synopsis: SYN+ACK reports strange size of window Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: arved Responsible-Changed-When: Thu Nov 3 15:29:18 GMT 2005 Responsible-Changed-Why: Over to -net for review http://www.freebsd.org/cgi/query-pr.cgi?pr=88450 From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 17:26:34 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 B1E7616A41F for ; Thu, 3 Nov 2005 17:26:34 +0000 (GMT) (envelope-from peter@paranoid-zine.com) Received: from n-3.si (den.n-3.si [213.157.224.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5845243D5F for ; Thu, 3 Nov 2005 17:26:31 +0000 (GMT) (envelope-from peter@paranoid-zine.com) Received: from localhost ([86.61.75.242]) by n-3.si (n-3.si [127.0.0.1]) (MDaemon.PRO.v8.1.2.R) with ESMTP id md50000980650.msg for ; Thu, 03 Nov 2005 18:26:26 +0100 Date: Thu, 3 Nov 2005 18:27:48 +0100 From: Peter Gregorc X-Mailer: The Bat! (v3.60.07) Professional Organization: Paranoid Metal Webzine X-Priority: 3 (Normal) Message-ID: <207571154.20051103182748@paranoid-zine.com> To: "Matthew D. Fuller" In-Reply-To: <20051103045445.GO1367@over-yonder.net> References: <502337639.20051102220924@paranoid-zine.com> <2C66C948-04D0-4576-A158-992AAE5BECB8@mac.com> <273200033.20051102224545@paranoid-zine.com> <20051103045445.GO1367@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0544-7, 03.11.2005), Outbound message X-Antivirus-Status: Clean X-Spam-Processed: n-3.si, Thu, 03 Nov 2005 18:26:26 +0100 (not processed: message from valid local sender) X-Lookup-Warning: MAIL lookup on peter@paranoid-zine.com does not match 86.61.75.242 X-MDRemoteIP: 86.61.75.242 X-Return-Path: peter@paranoid-zine.com X-MDaemon-Deliver-To: freebsd-net@freebsd.org X-MDAV-Processed: n-3.si, Thu, 03 Nov 2005 18:26:27 +0100 Cc: freebsd-net@freebsd.org Subject: Re[4]: nat exclusion? [Spam][94.2%] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Gregorc List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 17:26:34 -0000 Thanks a lot, this solved the problem right away... one simple line i couldn't find :/ Thanks! ------------------------------ Peter Gregorc Paranoid Metal Webzine http://www.paranoid-zine.com ------------------------------ On Thursday, November 3, 2005, 5:54:45 AM, you wrote: Matthew> On Wed, Nov 02, 2005 at 04:55:32PM -0500 I heard the voice of Matthew> Charles Swiger, and lo! it spake thus: >> On Nov 2, 2005, at 4:45 PM, Peter Gregorc wrote: >> >I've got 86.61.75.240/30 >> >.241 is for BSD >> >.242 for WS1 >> >.243 broadcast >> >So two are usable for outside usage, if NAT is disabled. >> >> Sure, but normally, either .1 or .2 of a /30 subnet (ie, your .241 >> or .242) is the externally-connected router of your ISP. A few of >> the better ISP's will support switching their devices from being a >> router to acting like a bridge, thus requiring you to provide a >> dual- homed machine yourself. Matthew> Presumably he's using the BSD box as the router (PPPoE). You can get Matthew> away with a single NIC just fine; I go through PPPoE with the single Matthew> NIC in my old 486 router, and forward ports internally. You want "nat Matthew> unregistered_only yes" in the ppp.conf so it only NAT's private IP's Matthew> and leaves public ones alone. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 18:10:03 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 DF15016A41F; Thu, 3 Nov 2005 18:10:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972D443D45; Thu, 3 Nov 2005 18:10:02 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.117]) ([10.251.23.117]) by a50.ironport.com with ESMTP; 03 Nov 2005 10:09:57 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <436A5275.5060807@elischer.org> Date: Thu, 03 Nov 2005 10:09:57 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> In-Reply-To: <20051103145144.GM63539@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Bill Paul Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 18:10:03 -0000 >> >> >Looks like a bug. The ng_fec code uses the MAC address of the first >real interface as the MAC address for the virtual and all other ports >in the bundle, but it lacks a call to ifp->if_init() to actually >reprogram the hardware MAC filter. Please try this patch: > > I thought it was supposed to put them in promsc. mode. From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 18:11:39 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0C5F316A41F for ; Thu, 3 Nov 2005 18:11:39 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 126C143D5C for ; Thu, 3 Nov 2005 18:11:37 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 3EC8840E6; Thu, 3 Nov 2005 13:12:02 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id DD10887; Thu, 3 Nov 2005 13:12:00 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EXjYk-000AnW-0b; Thu, 03 Nov 2005 18:11:34 +0000 Date: Thu, 3 Nov 2005 18:11:33 +0000 From: Brian Candler To: jan tore Message-ID: <20051103181133.GA41477@uk.tiscali.com> References: <1080349-22005114310448878@CPQ20491154327> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1080349-22005114310448878@CPQ20491154327> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: volunteer computer-geek to help us for FREE? please contact ! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 18:11:39 -0000 On Thu, Nov 03, 2005 at 11:44:08AM +0100, jan tore wrote: > Example 1: a clock-file that limits the speed for sending group mail.(we bought the most excpencive version)makes us BIG problem. > a program limit-send-speed file in the group mail program we bought > is set to 6 thousand per hour maximum. How to dobble this? If you bought the program, then you will have a manual. You may also have a technical support line to call. You are unlikely to get support for commercial software on a FreeBSD mailing list. > -needle in a heystack-job?maybe use auto search program to find it??? > Name of the program is group mail version 3.4.214 Google is your friend: http://www.google.com/ Good luck with your query. > we can even use tips on all our projects example this limitation file name, > we tried talk with infacta for extended speed but they couldnt help > > Download program here: > http://www.infacta.com/download.asp?a=ftr "Minimum requirements Operating System: 95, 98, ME, NT4 (with service pack 5 or higher), 2000 or XP" So what makes you think that a *FREEBSD* mailing list will be able to help you with a *WINDOWS* problem? From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 19:58:57 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D842416A420 for ; Thu, 3 Nov 2005 19:58:57 +0000 (GMT) (envelope-from chance@design-insite.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E45F43D48 for ; Thu, 3 Nov 2005 19:58:56 +0000 (GMT) (envelope-from chance@design-insite.co.uk) Received: from [192.168.1.100] ([82.35.211.126]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 3 Nov 2005 19:59:47 +0000 From: Chance Hoggan To: freebsd-net@freebsd.org Date: Thu, 3 Nov 2005 20:03:54 +0000 User-Agent: KMail/1.7 References: <1080349-22005114310448878@CPQ20491154327> <20051103181133.GA41477@uk.tiscali.com> In-Reply-To: <20051103181133.GA41477@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511032003.54841.chance@design-insite.co.uk> X-OriginalArrivalTime: 03 Nov 2005 19:59:47.0712 (UTC) FILETIME=[248F2000:01C5E0B1] Subject: Re: volunteer computer-geek to help us for FREE? please contact ! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Nov 2005 19:58:58 -0000 These windows users are not very bright. Chance Hoggan On Thursday 03 November 2005 18:11, Brian Candler wrote: > On Thu, Nov 03, 2005 at 11:44:08AM +0100, jan tore wrote: > > Example 1: a clock-file that limits the speed for sending group mail.(we > > bought the most excpencive version)makes us BIG problem. a program > > limit-send-speed file in the group mail program we bought is set to 6 > > thousand per hour maximum. How to dobble this? > > If you bought the program, then you will have a manual. You may also have a > technical support line to call. You are unlikely to get support for > commercial software on a FreeBSD mailing list. > > > -needle in a heystack-job?maybe use auto search program to find it??? > > Name of the program is group mail version 3.4.214 > > Google is your friend: http://www.google.com/ > Good luck with your query. > > > we can even use tips on all our projects example this limitation file > > name, we tried talk with infacta for extended speed but they couldnt help > > > > Download program here: > > http://www.infacta.com/download.asp?a=ftr > > "Minimum requirements > > Operating System: 95, 98, ME, NT4 (with service pack 5 or higher), > 2000 or XP" > > So what makes you think that a *FREEBSD* mailing list will be able to help > you with a *WINDOWS* problem? > _______________________________________________ > 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 Fri Nov 4 01:05:08 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 C2AD416A420; Fri, 4 Nov 2005 01:05:08 +0000 (GMT) (envelope-from blahdy@mx01.bos.ma.towardex.com) Received: from mx01.bos.ma.towardex.com (195.65-124-20.reverse.twdx.net [65.124.20.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C53043D45; Fri, 4 Nov 2005 01:05:08 +0000 (GMT) (envelope-from blahdy@mx01.bos.ma.towardex.com) Received: by mx01.bos.ma.towardex.com (TowardEX ESMTP 3.5_DAKN, from userid 1001) id 616246D4E9; Thu, 3 Nov 2005 20:05:07 -0500 (EST) Date: Thu, 3 Nov 2005 20:05:07 -0500 From: James To: Doug Barton Message-ID: <20051104010507.GA52870@scylla.towardex.com> References: <43668CC8.3020805@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43668CC8.3020805@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd Subject: Re: IPv6 for www.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 01:05:08 -0000 On Mon, Oct 31, 2005 at 01:29:44PM -0800, Doug Barton wrote: > As I mentioned in my previous post, I have been using earthlink's IPv6 > experiment to get an IPv6 connection at home. I am therefore trying to use > it as much as possible to see what works, and what breaks. FreeBSD makes it > fairly easy to do that, but it's fairly hard to get to the web site over v6. > Admittedly there is a list of v6-capable mirrors on the front page, and > they work fairly well. However, I think it would be nice to pick one or two > of those sites and add the AAAA record to www.freebsd.org. > > I have been simulating this in my hosts file using the first US mirror site, > and haven't run into any problems yet. I think it would be a step in the > right direction for us to support v6 for our site "out of the box." > > Thoughts? > > Doug The Earthlink R&D IPv6 service uses OCCAID (www.occaid.org) for uplink service. If you are interested in finding options for getting a free v6 transit for freebsd.org (unless you already have one) feel free to contact me off-list. Thanks, -- James Jun Infrastructure and Technology Services TowardEX Technologies Office +1-617-459-4051 x179 | Mobile +1-978-394-2867 james@towardex.com | www.towardex.com From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 06:56:31 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 C6B3216A41F for ; Fri, 4 Nov 2005 06:56:31 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: from web35704.mail.mud.yahoo.com (web35704.mail.mud.yahoo.com [66.163.179.158]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A68543D46 for ; Fri, 4 Nov 2005 06:56:31 +0000 (GMT) (envelope-from kamal_ckk@yahoo.com) Received: (qmail 9594 invoked by uid 60001); 4 Nov 2005 06:56:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YyEtfQTpEi9/vaQJdTKeHfVbJNrsyDGEM2JbbNafddEuYI0hs1CKCSsN2AMdSbpWoGh4x41jvv+hilI3Y3t7Th/RmXavQSEh9WOT3z9TS3uVZFh9W+a6P/x1vY7Y/WbNmYqZ61yWJwEYzdoxs8RJ0jm1ALhFxqVc1nuj5Zjjtns= ; Message-ID: <20051104065630.9592.qmail@web35704.mail.mud.yahoo.com> Received: from [202.79.62.15] by web35704.mail.mud.yahoo.com via HTTP; Thu, 03 Nov 2005 22:56:30 PST Date: Thu, 3 Nov 2005 22:56:30 -0800 (PST) From: kamal kc To: Giorgos Keramidas In-Reply-To: <20051103145729.GA2088@flame.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd , freebsd Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 06:56:31 -0000 > > for my compression/decompression i use string > tables and temporary > > buffers which take about 14KB of memory per > packet. > > If you're allocating 14 KB of data just to send > (approximately) 1.4 KB > and then you throw away the 14 KB immediately, it > sounds terrible. yes that's true. since i am using the adaptive LZW compression scheme it requires construction of string table for compression/decompression. So an ip packet of size 1500 bytes requires a table of size (4KB + 4KB + 2KB =12KB). further still i copy the ip packet data in another data buffer (about 1.4KB) and then compress it. So all this adds up to about 14KB. Right now i can't do with less than 14KB. as i said before the compression/decompression works fine. but soon the kernel would panic with one of the vm_fault: error message. what would be the best possible way to allocate/deallocate 14KB memory per packet without causing vm_faults ?? is there anything i am missing ?? thanks kamal __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 12:32:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 400AB16A41F; Fri, 4 Nov 2005 12:32:47 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id E441B43D49; Fri, 4 Nov 2005 12:32:46 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms064.mailsrvcs.net ([192.168.1.1]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IPF00AJOK6GKYV7@vms048.mailsrvcs.net>; Fri, 04 Nov 2005 06:32:40 -0600 (CST) Date: Fri, 04 Nov 2005 06:32:40 -0600 (CST) From: Sergey Babkin To: kamal kc , Giorgos Keramidas Message-id: <16844104.1131107560448.JavaMail.root@vms064.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: freebsd , freebsd Subject: Re: Re: allocating 14KB memory per packet compression/decompression results in v X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 12:32:47 -0000 >From: kamal kc >since i am using the adaptive LZW >compression scheme it requires construction of string >table for compression/decompression. So an ip packet > of size 1500 bytes requires a table of size (4KB + > 4KB + 2KB =12KB). > >further still i copy the ip packet > data in another data buffer (about 1.4KB) and >then compress it. > >So all this adds up to about 14KB. > >Right now i can't do with less than 14KB. > >as i said before the compression/decompression works >fine. but soon the kernel would panic with one >of the vm_fault: error message. Most likely you overrun your buffer somewhere and damage some unrelated memory area. >what would be the best possible way to >allocate/deallocate 14KB memory per packet without >causing vm_faults ?? The best possible way is to not do it at all. Allocate you 14KB buffer once and then reuse it for every packet. Obviously, your code would have to be either single-threaded, or synchronize the access to the buffer, or use a separate buffer per CPU. >is there anything i am missing ?? Also an extra memory-to-memory copy is a bad idea. It hurts the performance. -SB From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 13:13:38 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 397D016A41F; Fri, 4 Nov 2005 13:13:38 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9DB343D67; Fri, 4 Nov 2005 13:13:30 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA4DDToE025194; Fri, 4 Nov 2005 15:13:29 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA4CoGdh001262; Fri, 4 Nov 2005 14:50:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA4CoGuB001261; Fri, 4 Nov 2005 14:50:16 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 4 Nov 2005 14:50:16 +0200 From: Giorgos Keramidas To: kamal kc Message-ID: <20051104125016.GA1235@flame.pc> References: <20051103145729.GA2088@flame.pc> <20051104065630.9592.qmail@web35704.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051104065630.9592.qmail@web35704.mail.mud.yahoo.com> Cc: freebsd , freebsd Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 13:13:38 -0000 On 2005-11-03 22:56, kamal kc wrote: >>> for my compression/decompression i use string tables and >>> temporary buffers which take about 14KB of memory per >>> packet. >> >> If you're allocating 14 KB of data just to send >> (approximately) 1.4 KB >> and then you throw away the 14 KB immediately, it >> sounds terrible. > > yes that's true. > > since i am using the adaptive LZW compression scheme it > requires construction of string table for > compression/decompression. So an ip packet of size 1500 bytes > requires a table of size (4KB + 4KB + 2KB = 12KB). I may be stating the obvious or something totally wrong, but couldn't the string table be constructed once instead of each time a packet goes down? It is my intuition that this would perform much much better than re-doing the work of the string table each time a packet goes out. > what would be the best possible way to allocate/deallocate 14KB > memory per packet without causing vm_faults ?? Bearing in mind that packets may be as small as 34 bytes, there's no good way, IMHO. - Giorgos From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 16:17:51 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9AD6E16A420; Fri, 4 Nov 2005 16:17:51 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5861343D6B; Fri, 4 Nov 2005 16:17:47 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA4GHj7u078896; Fri, 4 Nov 2005 18:17:45 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 42868-04-2; Fri, 4 Nov 2005 18:17:41 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA4GHBwt078862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Nov 2005 18:17:12 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jA4GHGms095350; Fri, 4 Nov 2005 18:17:16 +0200 (EET) (envelope-from ru) Date: Fri, 4 Nov 2005 18:17:16 +0200 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20051104161715.GY63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> <436A5275.5060807@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3C3ZMpwu25Mtx3MN" Content-Disposition: inline In-Reply-To: <436A5275.5060807@elischer.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-net@freebsd.org, Bill Paul Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 16:17:51 -0000 --3C3ZMpwu25Mtx3MN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 03, 2005 at 10:09:57AM -0800, Julian Elischer wrote: >=20 > >> =20 > >> > >Looks like a bug. The ng_fec code uses the MAC address of the first > >real interface as the MAC address for the virtual and all other ports > >in the bundle, but it lacks a call to ifp->if_init() to actually > >reprogram the hardware MAC filter. Please try this patch: > >=20 > > > I thought it was supposed to put them in promsc. mode. >=20 No it's not. The ng_fec reprograms MAC addresses of all ports like I said above. I've committed some fixes to the driver to make it resistent to some scenarios Bill didn't plan, like adding/removing a port from the running bundle, or bringing the fec interface up and runnign before any ports were ever added, etc. The old code should work if you follow the undocumented intended sequence of steps: 1. Create a fec node, but don't bring fec0 up yet. 2. Add ports to the bundle. 3. Add address to the fec0 interface which will automatically bring it up and cycle down/up all physical interfaces causing the hardware mac filter reprogramming. But if you bring the fec0 up before adding ports to configuration, weird things happen: adding only one port and attempting to use the bundle will panic, and adding the correct number of ports (2 or 4) will miss the hardware MAC filters reconfiguration. One of the fixes was to disallow bringing the fec interface to a running state when the number of ports in the bundle is wrong (neither 2 nor 4, previously it would also allow 0). With this fix, after adding 2 or 4 ports to the bundle and only then you can bring the fec interface up, and it will cause reprogramming of hardware MAC filters of physical interfaces constituting the bundle. Now and before the hardware MAC filters were reprogrammed as soon as the fec interface was brought up, as the side effect of cycling IFF_UP of physical interfaces, though the link-level addresses are reprogrammed earlier, when the port is added to the bundle. I don't like this behavior, so I'll probably commit my if_setlladdr() code too. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --3C3ZMpwu25Mtx3MN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDa4mLqRfpzJluFF4RAiMhAJ0UK61HRdjhWQdoCRv5Q6zICEHGZQCeOVZW rd/gYPqvcrAHvsm0ul4e1bA= =QF8Y -----END PGP SIGNATURE----- --3C3ZMpwu25Mtx3MN-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 17:14:29 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 A96DD16A41F; Fri, 4 Nov 2005 17:14:29 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA7443D5A; Fri, 4 Nov 2005 17:14:29 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms062.mailsrvcs.net ([192.168.1.3]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IPF004RWX8432G2@vms044.mailsrvcs.net>; Fri, 04 Nov 2005 11:14:28 -0600 (CST) Date: Fri, 04 Nov 2005 11:14:28 -0600 (CST) From: Sergey Babkin To: Giorgos Keramidas , kamal kc Message-id: <29995980.1131124468471.JavaMail.root@vms062.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: freebsd , freebsd Subject: Re: Re: allocating 14KB memory per packet compression/decompression results in v X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 17:14:29 -0000 >From: Giorgos Keramidas >On 2005-11-03 22:56, kamal kc wrote: >> since i am using the adaptive LZW compression scheme it >> requires construction of string table for >> compression/decompression. So an ip packet of size 1500 bytes >> requires a table of size (4KB + 4KB + 2KB = 12KB). > >I may be stating the obvious or something totally wrong, but >couldn't the string table be constructed once instead of each >time a packet goes down? It is my intuition that this would >perform much much better than re-doing the work of the string >table each time a packet goes out. No, the table changes as data is compressed. It records the knowledge about the strings that have already occured in the data. Keeping the table between the packets would improve the compression but the packets would have to be transmitted through a reliable medium since to decompress a packet you would have to decompress all the preceding packets first (essentially you get a stream compression). To keep the packets separate, the compression state must be reset between them. But of course resetting the compression state does not mean that the memory should be deallocated. -SB From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 17:20:09 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 9958716A41F; Fri, 4 Nov 2005 17:20:09 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id B823A43D45; Fri, 4 Nov 2005 17:20:08 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA4HK6RA022039; Fri, 4 Nov 2005 19:20:06 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA4HJvPg001145; Fri, 4 Nov 2005 19:19:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA4HJvMF001144; Fri, 4 Nov 2005 19:19:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 4 Nov 2005 19:19:57 +0200 From: Giorgos Keramidas To: babkin@users.sourceforge.net Message-ID: <20051104171957.GA1120@flame.pc> References: <29995980.1131124468471.JavaMail.root@vms062.mailsrvcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29995980.1131124468471.JavaMail.root@vms062.mailsrvcs.net> Cc: kamal kc , freebsd , freebsd Subject: Re: Re: allocating 14KB memory per packet compression/decompression results in v X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 17:20:09 -0000 On 2005-11-04 11:14, Sergey Babkin wrote: >Giorgos Keramidas wrote: >>On 2005-11-03 22:56, kamal kc wrote: >>> since i am using the adaptive LZW compression scheme it >>> requires construction of string table for >>> compression/decompression. So an ip packet of size 1500 bytes >>> requires a table of size (4KB + 4KB + 2KB = 12KB). >> >> I may be stating the obvious or something totally wrong, but >> couldn't the string table be constructed once instead of each >> time a packet goes down? It is my intuition that this would >> perform much much better than re-doing the work of the string >> table each time a packet goes out. > > No, the table changes as data is compressed. It records the > knowledge about the strings that have already occured in the > data. > > Keeping the table between the packets would improve the > compression but the packets would have to be transmitted > through a reliable medium since to decompress a packet you > would have to decompress all the preceding packets first > (essentially you get a stream compression). Ah, yes, I see now. You're right of course. I was thinking of something resembling a "compressed tunnel" when I wrote the reply, but that doesn't work with IP very well, unless some other sort of encapsulation is at work. > To keep the packets separate, the compression state > must be reset between them. > > But of course resetting the compression state does not > mean that the memory should be deallocated. Very true :) From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 21:05:07 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 5BF8816A420; Fri, 4 Nov 2005 21:05:07 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C2BD43D48; Fri, 4 Nov 2005 21:05:06 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.247.162) by vsmtp4.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 436B341C00067ECA; Fri, 4 Nov 2005 22:05:00 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 240BE80C6; Fri, 4 Nov 2005 21:05:11 +0100 (CET) Date: Fri, 4 Nov 2005 21:05:11 +0100 From: Marco Molteni To: Ruslan Ermilov Message-Id: <20051104210511.569754bc.molter@tin.it> In-Reply-To: <20051103145144.GM63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 21:05:07 -0000 On Thu, 3 Nov 2005 16:51:44 +0200 Ruslan Ermilov wrote: > On Wed, Nov 02, 2005 at 07:36:17PM +0100, Marco Molteni wrote: [..] > > If tcpdump is ran in non-promiscuos mode (-p option), only ping > > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at > > all. If on the other hand tcpdump is ran in promiscuos mode, then > > all the pings go thru as expected. [..] > Looks like a bug. The ng_fec code uses the MAC address of the first > real interface as the MAC address for the virtual and all other ports > in the bundle, but it lacks a call to ifp->if_init() to actually > reprogram the hardware MAC filter. Please try this patch: [..] Ruslan, thanks for the patch. I applied it but what I get now is the MAC address zeroed for all the interfaces: ste0: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste1: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste2: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste3: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active [..] fec0: flags=8843 mtu 1500 inet 1.1.1.4 netmask 0xffffff00 broadcast 1.1.1.255 inet6 fe80::201:3ff:fe15:a957%fec0 prefixlen 64 scopeid 0x8 ether 00:00:00:00:00:00 media: Ethernet none status: active Let me know if you need further testing or infos. marco From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 21:56:58 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2585D16A41F; Fri, 4 Nov 2005 21:56:58 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A16543D45; Fri, 4 Nov 2005 21:56:56 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA4Lusxl088198; Fri, 4 Nov 2005 23:56:54 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 46318-02-2; Fri, 4 Nov 2005 23:56:53 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA4LtYJi088151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Nov 2005 23:55:35 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jA4LtdFI061177; Fri, 4 Nov 2005 23:55:39 +0200 (EET) (envelope-from ru) Date: Fri, 4 Nov 2005 23:55:39 +0200 From: Ruslan Ermilov To: Marco Molteni Message-ID: <20051104215539.GI63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> <20051104210511.569754bc.molter@tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7IzduDXdmGAvR4BO" Content-Disposition: inline In-Reply-To: <20051104210511.569754bc.molter@tin.it> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 21:56:58 -0000 --7IzduDXdmGAvR4BO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 04, 2005 at 09:05:11PM +0100, Marco Molteni wrote: > On Thu, 3 Nov 2005 16:51:44 +0200 > Ruslan Ermilov wrote: >=20 > > On Wed, Nov 02, 2005 at 07:36:17PM +0100, Marco Molteni wrote: >=20 > [..] >=20 > > > If tcpdump is ran in non-promiscuos mode (-p option), only ping > > > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at > > > all. If on the other hand tcpdump is ran in promiscuos mode, then > > > all the pings go thru as expected. >=20 > [..] >=20 > > Looks like a bug. The ng_fec code uses the MAC address of the first > > real interface as the MAC address for the virtual and all other ports > > in the bundle, but it lacks a call to ifp->if_init() to actually > > reprogram the hardware MAC filter. Please try this patch: >=20 > [..] >=20 > Ruslan, >=20 > thanks for the patch. I applied it but what I get now is the MAC > address zeroed for all the interfaces: >=20 > ste0: flags=3D8843 mtu 1500 > options=3D8 > ether 00:00:00:00:00:00 > media: Ethernet autoselect (100baseTX ) > status: active > ste1: flags=3D8843 mtu 1500 > options=3D8 > ether 00:00:00:00:00:00 > media: Ethernet autoselect (100baseTX ) > status: active > ste2: flags=3D8843 mtu 1500 > options=3D8 > ether 00:00:00:00:00:00 > media: Ethernet autoselect (100baseTX ) > status: active > ste3: flags=3D8843 mtu 1500 > options=3D8 > ether 00:00:00:00:00:00 > media: Ethernet autoselect (100baseTX ) > status: active > [..] > fec0: flags=3D8843 mtu 1500 > inet 1.1.1.4 netmask 0xffffff00 broadcast 1.1.1.255 > inet6 fe80::201:3ff:fe15:a957%fec0 prefixlen 64 scopeid 0x8=20 > ether 00:00:00:00:00:00 > media: Ethernet none > status: active >=20 >=20 > Let me know if you need further testing or infos. >=20 I know. Please try what's in CVS now (I made three revisions to ng_fec.c). I wonder, are you assigning an IP address to fec0 or doing "ifconfig fec0 up" before confuguring the bundle (adding ports)? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --7IzduDXdmGAvR4BO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDa9jbqRfpzJluFF4RAmxjAJ99o6cfI6xAvmPf0ZDJyD/tBjxDUgCffxTE Y5vXfE/Xn1uKsnp+NCsb36o= =RK+d -----END PGP SIGNATURE----- --7IzduDXdmGAvR4BO-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 22:05:12 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG 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 983D116A41F for ; Fri, 4 Nov 2005 22:05:12 +0000 (GMT) (envelope-from henrysu@huisu.net) Received: from huisu.huisu.net (c-24-16-122-178.hsd1.wa.comcast.net [24.16.122.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC9F943D46 for ; Fri, 4 Nov 2005 22:05:11 +0000 (GMT) (envelope-from henrysu@huisu.net) Received: from huisu.net (localhost [127.0.0.1]) by huisu.huisu.net (8.13.4/8.12.6) with ESMTP id jA4M5Aac077292 for ; Fri, 4 Nov 2005 14:05:10 -0800 (PST) (envelope-from henrysu@huisu.net) Received: from localhost (henrysu@localhost) by huisu.net (8.13.4/8.12.6/Submit) with ESMTP id jA4M597b077289 for ; Fri, 4 Nov 2005 14:05:09 -0800 (PST) Date: Fri, 4 Nov 2005 14:05:09 -0800 (PST) From: henrysu To: freebsd-net@FreeBSD.ORG Message-ID: <20051104140016.A77009@huisu.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-484166887-1131141909=:77009" Cc: Subject: vlan Qos patch for 4.11 stable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 22:05:12 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-484166887-1131141909=:77009 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed I recently tried to set up a freebsd 4.11 stable box to do vlan Qos, and got one patch from earlier post, but it did not work well. I did a little update, and like to contribute it, in case some people want it. You need to patch /usr/src/sbin/ifconfig and /usr/src/sys/net. Then rebuild the kernel and ifconfig. Thanks. ************************** Hui Su * H: 425-644-2251 * ************************** --0-484166887-1131141909=:77009 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=ifconfig.diff Content-Transfer-Encoding: BASE64 Content-ID: <20051104140509.N77009@huisu.net> Content-Description: Content-Disposition: attachment; filename=ifconfig.diff ZGlmZiAtcnVOIGlmY29uZmlnL2lmY29uZmlnLjggL3Vzci9zcmMvc2Jpbi9p ZmNvbmZpZy9pZmNvbmZpZy44DQotLS0gaWZjb25maWcvaWZjb25maWcuOAlU aHUgT2N0IDIwIDEzOjIzOjA4IDIwMDUNCisrKyAvdXNyL3NyYy9zYmluL2lm Y29uZmlnL2lmY29uZmlnLjgJVGh1IE9jdCAyMCAxMzoyMzo0OSAyMDA1DQpA QCAtMzUyLDQxICszNTIsMjEgQEANCiBJbmNsdWRlZCBmb3INCiAuVG4gU29s YXJpcw0KIGNvbXBhdGliaWxpdHkuDQotLkl0IENtIHZsYW4gQXIgdmxhbl90 YWdbMC00MDk1XQ0KKy5JdCBDbSB2bGFuIEFyIHZsYW5fdGFnDQogSWYgdGhl IGludGVyZmFjZSBpcyBhDQogLlhyIHZsYW4gNA0KIHBzZXVkbyBpbnRlcmZh Y2UsIHNldCB0aGUgVkxBTiB0YWcgdmFsdWUNCiB0bw0KIC5BciB2bGFuX3Rh ZyAuDQotVGhpcyB2YWx1ZSBpcyBhIDEyLWJpdCBudW1iZXIgd2hpY2ggaXMg dXNlZCB0byBjcmVhdGUgYW4gODAyLjFRIA0KK1RoaXMgdmFsdWUgaXMgYSAx Ni1iaXQgbnVtYmVyIHdoaWNoIGlzIHVzZWQgdG8gY3JlYXRlIGFuIDgwMi4x UQ0KIFZMQU4gaGVhZGVyIGZvciBwYWNrZXRzIHNlbnQgZnJvbSB0aGUNCiAu WH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wpOyANCi0rICANCi0rICAgICAgICBpZiAocHJpID4gNykgDQotKyAJ CWVycngoMSwgIlZMQU4gODAyLjFwIHNob3VkIGJlIGluIHJhbmdlIDAuLjci KTsgDQotKyAgDQotKyAgICAgICAgYnplcm8oKGNoYXIgKikmdnJlcSwgc2l6 ZW9mKHN0cnVjdCB2bGFucmVxKSk7IA0KLSsgICAgICAgIGlmci5pZnJfZGF0 YSA9IChjYWRkcl90KSZ2cmVxOyANCi0rICANCi0rICAgICAgICBpZiAoaW9j dGwocywgU0lPQ0dFVFZMQU4sIChjYWRkcl90KSZpZnIpID09IC0xKSANCi0r ICAgICAgICAgICAgICAgIGVycigxLCAiU0lPQ0dFVFZMQU4iKTsgDQotKyAg DQotKyAJcHJpID0gcHJpIDw8IDEzOw0KLSsgCQ0KLSsgCS8qIENsZWFyIHBy aSBiaXRzICovDQotKyAJdnJlcS52bHJfdGFnICY9IDB4MUZGRjsNCi0rIAkv KiBTZXQgcHJpIGJpdHMgKi8NCi0rIAl2cmVxLnZscl90YWcgfD0gIHByaTsg DQotKyAJDQotKyAgICAgICAgaWYgKGlvY3RsKHMsIFNJT0NTRVRWTEFOLCAo Y2FkZHJfdCkmaWZyKSA9PSAtMSkgDQotKyAgICAgICAgICAgICAgICBlcnIo MSwgIkFmdGVyIEVWTF9NQUtFVEFHIFNJT0NTRVRWTEFOIik7IA0KLSsgIA0K LSsgICAgICAgIHJldHVybjsgDQotKyB9IA0KLSsgDQotKyB2b2lkIA0KLSsg c2V0dmxhbmNmaShjb25zdCBjaGFyICp2YWwsIGludCBkLCBpbnQgcywgY29u c3Qgc3RydWN0IGFmc3d0Y2ggKmFmcCkgDQotKyB7IA0KLSsgICAgICAgIHVf aW50MTZfdCAgICAgICAgICAgICAgIGNmaTsgDQotKyAgICAgICAgc3RydWN0 IHZsYW5yZXEgICAgICAgICAgdnJlcTsgDQotKyAgDQotKyAgICAgICAgX19j ZmkgPSBjZmkgPSBhdG9pKHZhbCk7IA0KLSsgIA0KLSsgCWlmIChjZmkgPiAx KSANCi0rICAgICAgICAgICAgZXJyeCgxLCAiVkxBTiBDRkkgc2hvdWQgYmUg MCBvciAxIik7IA0KLSsgIA0KLSsgICAgICAgICBiemVybygoY2hhciAqKSZ2 cmVxLCBzaXplb2Yoc3RydWN0IHZsYW5yZXEpKTsgDQotKyAgICAgICAgIGlm ci5pZnJfZGF0YSA9IChjYWRkcl90KSZ2cmVxOyANCi0rIA0KLSsgDQotKyAg ICAgICAgIGlmIChpb2N0bChzLCBTSU9DR0VUVkxBTiwgKGNhZGRyX3QpJmlm cikgPT0gLTEpIA0KLSsgICAgICAgICAgICAgICAgIGVycigxLCAiU0lPQ1NF VFZMQU4iKTsgDQotKyANCi0rIAkvKg0KLSsgICAgICAgICB2cmVxLnZscl90 YWcgPSBFVkxfTUFLRVRBRyhfX3RhZywgX19wcmksIF9fY2ZpKTsgDQotKyAJ Ki8NCi0rIA0KLSsgCWlmICh2cmVxLnZscl9wYXJlbnQpDQotKyAJCXByaW50 ZigiJXM6IHZyZXEudmxyX3BhcmVudDogJXNcbiIsIF9fZnVuY19fLCB2cmVx LnZscl9wYXJlbnQpOw0KLSsgCWVsc2UNCi0rIAkJcHJpbnRmKCJ2cmVxLnZs cl9wYXJlbnQgaXMgTlVMTFxuIik7DQotKyAJY2ZpID0gY2ZpIDw8IDEyOw0K LSsgCS8qIENsZWFyIGNmaSBiaXQgKi8NCi0rIAl2cmVxLnZscl90YWcgJj0g MHhFRkZGOw0KLSsgCS8qIFNldCBjZmkgYml0ICovDQotKyAJdnJlcS52bHJf dGFnIHw9ICBjZmk7IA0KLSAgDQotKyAgICAgICAgIGlmIChpb2N0bChzLCBT SU9DU0VUVkxBTiwgKGNhZGRyX3QpJmlmcikgPT0gLTEpIA0KLSsgICAgICAg ICAgICAgICAgIGVycigxLCAiU0lPQ1NFVFZMQU4iKTsgDQotICANCi0gIAly ZXR1cm47DQotICB9DQo= --0-484166887-1131141909=:77009 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=net.diff Content-Transfer-Encoding: BASE64 Content-ID: <20051104140509.O77009@huisu.net> Content-Description: Content-Disposition: attachment; filename=net.diff ZGlmZiAtcnVOIC91c3Ivc3JjL3N5cy9uZXQvaWZfdmxhbi5jIG5ldC5wYXRj aC9pZl92bGFuLmMNCi0tLSAvdXNyL3NyYy9zeXMvbmV0L2lmX3ZsYW4uYwlU aHUgT2N0IDIwIDE0OjIxOjA1IDIwMDUNCisrKyBuZXQucGF0Y2gvaWZfdmxh bi5jCVRodSBPY3QgMjAgMTQ6MjA6NDkgMjAwNQ0KQEAgLTQ0Myw3ICs0NDMs NyBAQA0KIAlmb3IgKGlmdiA9IExJU1RfRklSU1QoJmlmdl9saXN0KTsgaWZ2 ICE9IE5VTEw7DQogCSAgICBpZnYgPSBMSVNUX05FWFQoaWZ2LCBpZnZfbGlz dCkpIHsNCiAJCWlmIChtLT5tX3BrdGhkci5yY3ZpZiA9PSBpZnYtPmlmdl9w DQotCQkgICAgJiYgaWZ2LT5pZnZfdGFnID09IEVWTF9WTEFOT0ZUQUcodCkp DQorCQkgICAgJiYgRVZMX1ZMQU5PRlRBRyhpZnYtPmlmdl90YWcpID09IEVW TF9WTEFOT0ZUQUcodCkpDQogCQkJYnJlYWs7DQogCX0NCiANCkBAIC00NzMs NyArNDczLDcgQEANCiAJICAgIGlmdiA9IExJU1RfTkVYVChpZnYsIGlmdl9s aXN0KSkgew0KIAkJaWYgKG0tPm1fcGt0aGRyLnJjdmlmID09IGlmdi0+aWZ2 X3ANCiAJCSAgICAmJiAoRVZMX1ZMQU5PRlRBRyhudG9ocygqbXRvZChtLCB1 X2ludDE2X3QgKikpKQ0KLQkJCT09IGlmdi0+aWZ2X3RhZykpDQorCQkJPT0g RVZMX1ZMQU5PRlRBRyhpZnYtPmlmdl90YWcpKSkgLyogTXVzdCBtYXNrIGl0 LCBzaW5jZSB3ZSBoYXZlIHByaW9yaXR5IGJpdCBhbmQgY2ZpICovDQogCQkJ YnJlYWs7DQog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UklDDQo= --0-484166887-1131141909=:77009-- From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 22:34:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 B3BAD16A41F for ; Fri, 4 Nov 2005 22:34:47 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD7BC43D46 for ; Fri, 4 Nov 2005 22:34:46 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so943288wxc for ; Fri, 04 Nov 2005 14:34:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L0PXpylIHB9Wl757b118fKVDF9I78Sf3UpggRkwX83zYLVhs3J7mtn7QqY/4UPOgzRXX8b5bEK5w0YTcHUENaCGcwDtcoKo5RWTbBivf0FGTCGzSxdcv36pixthGMj907nf52oTKruIuMY7JtagRAhEyFydcL9MrEJ/YyX2uy/8= Received: by 10.70.103.10 with SMTP id a10mr1905985wxc; Fri, 04 Nov 2005 05:03:27 -0800 (PST) Received: by 10.70.105.13 with HTTP; Fri, 4 Nov 2005 05:03:27 -0800 (PST) Message-ID: <84dead720511040503qdcf3940q7ff6e732b937b9e8@mail.gmail.com> Date: Fri, 4 Nov 2005 18:33:27 +0530 From: Joseph Koshy To: kamal kc In-Reply-To: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051103023936.63209.qmail@web35704.mail.mud.yahoo.com> Cc: freebsd , freebsd Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 22:34:47 -0000 > - Am I not following the correct procedures to > allocate and deallocate memory in kernel space ?? > - Or is the problem elsewhere ?? You didn't say whether you've checked your code for buffer overruns. If the fault is happening in seemingly unrelated parts of the kernel with your module is enabled, this could be a root cause. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 23:58:17 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D937C16A41F for ; Fri, 4 Nov 2005 23:58:17 +0000 (GMT) (envelope-from ivo.vachkov@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64F5443D49 for ; Fri, 4 Nov 2005 23:58:17 +0000 (GMT) (envelope-from ivo.vachkov@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so5367wxc for ; Fri, 04 Nov 2005 15:58:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V+Khzlz71nDmI9m7fDbLb4t3SQ9C06TS7BOTEfo508EDHiTH4ojkEoAyDgWZP/+Eg4B5QksIwDlojMsmJLsPNUfnf3/E2qJU/ZqJnOpnPeOjqqNhGQKDdHvuRXTieW/dnuAH4BoEn7tJUPbZsaTyznm+Bp5q7YXkbjEC+kNpVrI= Received: by 10.70.103.10 with SMTP id a10mr1762310wxc; Fri, 04 Nov 2005 02:08:12 -0800 (PST) Received: by 10.70.113.17 with HTTP; Fri, 4 Nov 2005 02:08:12 -0800 (PST) Message-ID: Date: Fri, 4 Nov 2005 12:08:12 +0200 From: Ivo Vachkov To: kamal kc , freebsd-net@freebsd.org In-Reply-To: <20051104065630.9592.qmail@web35704.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051103145729.GA2088@flame.pc> <20051104065630.9592.qmail@web35704.mail.mud.yahoo.com> Cc: Subject: Re: allocating 14KB memory per packet compression/decompression results in vm_fault X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Nov 2005 23:58:18 -0000 2005/11/4, kamal kc : > > > > for my compression/decompression i use string > > tables and temporary > > > buffers which take about 14KB of memory per > > packet. > > > > If you're allocating 14 KB of data just to send > > (approximately) 1.4 KB > > and then you throw away the 14 KB immediately, it > > sounds terrible. > > yes that's true. > > since i am using the adaptive LZW > compression scheme it requires construction of string > table for compression/decompression. So an ip packet > of size 1500 bytes requires a table of size (4KB + > 4KB + 2KB =3D12KB). > > further still i copy the ip packet > data in another data buffer (about 1.4KB) and > then compress it. > > So all this adds up to about 14KB. > > Right now i can't do with less than 14KB. > > as i said before the compression/decompression works > fine. but soon the kernel would panic with one > of the vm_fault: error message. > > what would be the best possible way to > allocate/deallocate 14KB memory per packet without > causing vm_faults ?? > > is there anything i am missing ?? 1. do you free all buffers you're using after sending the packet (probably in if_output()/ether_output()) ? 2. you could try to allocate the buffers during system startup and reuse th= em. > thanks > > kamal > > > > > > > > > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > _______________________________________________ > 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" > -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie