From owner-freebsd-net Sun Aug 25 13: 7:11 2002 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 C888337B400 for ; Sun, 25 Aug 2002 13:07:09 -0700 (PDT) Received: from hotmail.com (f58.law9.hotmail.com [64.4.9.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5BFA43E72 for ; Sun, 25 Aug 2002 13:07:08 -0700 (PDT) (envelope-from soheil_h_y@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 25 Aug 2002 13:07:05 -0700 Received: from 62.60.130.15 by lw9fd.law9.hotmail.msn.com with HTTP; Sun, 25 Aug 2002 20:07:05 GMT X-Originating-IP: [62.60.130.15] From: "soheil h" To: freebsd-net@FreeBSD.ORG Subject: creating packets but cannot send Date: Mon, 26 Aug 2002 00:37:05 +0430 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Aug 2002 20:07:05.0383 (UTC) FILETIME=[FBC5EB70:01C24C72] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi list in ip_input.c::ip_input() i make mbuf * m1; MGETHDR(m1, M_DONTWAIT, MT_HEADER); if(m1 != NULL){ soheilFillInIp(m1, m); m->m_data += max_linkhdr; m->m_len = hdrlen; ip_forward(m1, 0); } at line 1615 of ip_forward() function it takes page fault error in kernel it says the page is not present if (m->m_flags & (M_BCAST|M_MCAST) || in_canforward(pkt_dst) == 0) { the soheilFillInIp creates an ipPacket from incoming ip packet as and it passes with no error on: .... ip1 = mtod (m, struct ip *); ip2 = mtod (m1, struct ip *); ip2->ip_vhl = IP_VHL_BORING; ip2->ip_dst = ip1->ip_src; // and vice versa or ip2->ip_sum = in_cksum_hdr(m1, sizeof(struct tcpiphdr)); .... when i do something to pass that line of ip_forward in ip_output when it calls the in_delayed_cksum it takes the same error how can i solve this i think something is in the m1 header or data that i didn't set it or ... help me SOS _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Aug 26 18:32: 7 2002 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 4469737B400 for ; Mon, 26 Aug 2002 18:32:03 -0700 (PDT) Received: from cerberus.apdata.com.au (cerberus.apdata.com.au [202.14.95.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93D9943E77 for ; Mon, 26 Aug 2002 18:32:02 -0700 (PDT) (envelope-from ian@niw.com.au) Received: from localhost (localhost [127.0.0.1]) by cerberus.apdata.com.au (Postfix) with SMTP id 1BAA443D3A for ; Tue, 27 Aug 2002 11:02:01 +0930 (CST) Received: from axiom.niw.com.au (unknown [192.168.213.1]) by cerberus.apdata.com.au (Postfix) with ESMTP id 5A90A43D37 for ; Tue, 27 Aug 2002 11:02:00 +0930 (CST) Received: from localhost (localhost [127.0.0.1]) by axiom.niw.com.au (Postfix) with ESMTP id 5AE4D35EF6; Tue, 27 Aug 2002 11:01:59 +0930 (CST) Received: by axiom.niw.com.au (Postfix, from userid 1000) id 8FE2035EF2; Tue, 27 Aug 2002 11:01:58 +0930 (CST) Date: Tue, 27 Aug 2002 11:01:58 +0930 From: Ian West To: freebsd-net@freebsd.org Cc: Luigi Rizzo Subject: local fwd and ipfw2 on stable problem with port byte order. Message-ID: <20020827013158.GO499@axiom.niw.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS perl-10 X-Virus-Scanned: by kavpostfix Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org There is a small problem with ipfw2 running on -stable. The problem affects only the fwd command with a port number, such as the following ipfw add fwd 127.0.0.1,2048 tcp from any to any in via dc0 The problem is that port is already in network byte order when it arrives in next_hop->sin_port from ipfw2, but not from ipfw1. I think this may affect current as well, but I am not certain and have not tested it. The simplest patch seems to be the following, which bypasses the extra ntohs if IPFW2 is in use, otherwise it leaves it unchanged. This may or may not be a good solution :) My thinking is that the ipfw2 method has one less byte swap in the important packet handling code, and stores the port number in network byte order in the socket struct, all of which seems like a good idea. For these reasons a small change to tcp_input seems better than changes to ipfw2 ? Index: tcp_input.c =================================================================== RCS file: /cvs/freebsd/src/sys/netinet/tcp_input.c,v retrieving revision 1.107.2.27 diff -u -r1.107.2.27 tcp_input.c --- tcp_input.c 24 Aug 2002 18:40:25 -0000 1.107.2.27 +++ tcp_input.c 27 Aug 2002 00:45:29 -0000 @@ -536,7 +536,11 @@ inp = in_pcblookup_hash(&tcbinfo, ip->ip_src, th->th_sport, next_hop->sin_addr, +#if IPFW2 + next_hop->sin_port, 1, +#else ntohs(next_hop->sin_port), 1, +#endif m->m_pkthdr.rcvif); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Aug 26 20:59:16 2002 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 B542937B401 for ; Mon, 26 Aug 2002 20:59:09 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6302943E3B for ; Mon, 26 Aug 2002 20:59:08 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7R3vwIb017107; Mon, 26 Aug 2002 20:57:58 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7R3vwwN017106; Mon, 26 Aug 2002 20:57:58 -0700 (PDT) (envelope-from rizzo) Date: Mon, 26 Aug 2002 20:57:58 -0700 From: Luigi Rizzo To: Ian West Cc: freebsd-net@FreeBSD.ORG Subject: Re: local fwd and ipfw2 on stable problem with port byte order. Message-ID: <20020826205758.B16932@iguana.icir.org> References: <20020827013158.GO499@axiom.niw.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020827013158.GO499@axiom.niw.com.au>; from ian@niw.com.au on Tue, Aug 27, 2002 at 11:01:58AM +0930 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If we are going to do this, i'd remove the conditional below (anyways it should be htons() in the ipfw1 case, as you mentioned) and instead update sbin/ipfw/ipfw.c on -stable to put the port number in network format. cheers luigi On Tue, Aug 27, 2002 at 11:01:58AM +0930, Ian West wrote: > There is a small problem with ipfw2 running on -stable. The problem > affects only the fwd command with a port number, such as the following > > ipfw add fwd 127.0.0.1,2048 tcp from any to any in via dc0 > > The problem is that port is already in network byte order when it > arrives in next_hop->sin_port from ipfw2, but not from ipfw1. > > I think this may affect current as well, but I am not certain and have > not tested it. > > The simplest patch seems to be the following, which bypasses the extra > ntohs if IPFW2 is in use, otherwise it leaves it unchanged. This may or > may not be a good solution :) My thinking is that the ipfw2 method has > one less byte swap in the important packet handling code, and stores the > port number in network byte order in the socket struct, all of which > seems like a good idea. For these reasons a small change to tcp_input > seems better than changes to ipfw2 ? > > Index: tcp_input.c > =================================================================== > RCS file: /cvs/freebsd/src/sys/netinet/tcp_input.c,v > retrieving revision 1.107.2.27 > diff -u -r1.107.2.27 tcp_input.c > --- tcp_input.c 24 Aug 2002 18:40:25 -0000 1.107.2.27 > +++ tcp_input.c 27 Aug 2002 00:45:29 -0000 > @@ -536,7 +536,11 @@ > inp = in_pcblookup_hash(&tcbinfo, > ip->ip_src, th->th_sport, > next_hop->sin_addr, > +#if IPFW2 > + next_hop->sin_port, 1, > +#else > ntohs(next_hop->sin_port), 1, > +#endif > m->m_pkthdr.rcvif); > } > } > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Aug 26 21:17:21 2002 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 8EBD137B401 for ; Mon, 26 Aug 2002 21:17:12 -0700 (PDT) Received: from cerberus.apdata.com.au (cerberus.apdata.com.au [202.14.95.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4D943E81 for ; Mon, 26 Aug 2002 21:17:11 -0700 (PDT) (envelope-from ian@niw.com.au) Received: from localhost (localhost [127.0.0.1]) by cerberus.apdata.com.au (Postfix) with SMTP id E930943D43 for ; Tue, 27 Aug 2002 13:47:09 +0930 (CST) Received: from axiom.niw.com.au (axiom.niw.com.au [192.168.1.3]) by cerberus.apdata.com.au (Postfix) with ESMTP id 2E96A43D42 for ; Tue, 27 Aug 2002 13:47:09 +0930 (CST) Received: from localhost (localhost [127.0.0.1]) by axiom.niw.com.au (Postfix) with ESMTP id 40F0C35EEB; Tue, 27 Aug 2002 13:47:08 +0930 (CST) Received: by axiom.niw.com.au (Postfix, from userid 1000) id 89A3D35ECC; Tue, 27 Aug 2002 13:47:07 +0930 (CST) Date: Tue, 27 Aug 2002 13:47:07 +0930 From: Ian West To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG Subject: Re: local fwd and ipfw2 on stable problem with port byte order. Message-ID: <20020827041707.GT499@axiom.niw.com.au> References: <20020827013158.GO499@axiom.niw.com.au> <20020826205758.B16932@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020826205758.B16932@iguana.icir.org> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS perl-10 X-Virus-Scanned: by kavpostfix Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I was concerned about getting ipfw userland and kernel out of sync. As far as I can tell there are two lines in ip_fw.c (kernel) that would need to be changed, and two lines in ipfw.c (userland) they seem to work for me here. The risk is though that a kernel update only without userland could actually introduce the problem into ipfw1 that we are trying fix in ipfw2. I can forward also the patches for these if you like ? On Mon, Aug 26, 2002 at 08:57:58PM -0700, Luigi Rizzo wrote: > If we are going to do this, i'd remove the conditional > below (anyways it should be htons() in the ipfw1 case, as you > mentioned) and instead update sbin/ipfw/ipfw.c on -stable > to put the port number in network format. > > cheers > luigi > > On Tue, Aug 27, 2002 at 11:01:58AM +0930, Ian West wrote: > > There is a small problem with ipfw2 running on -stable. The problem > > affects only the fwd command with a port number, such as the following > > > > ipfw add fwd 127.0.0.1,2048 tcp from any to any in via dc0 > > > > The problem is that port is already in network byte order when it > > arrives in next_hop->sin_port from ipfw2, but not from ipfw1. > > > > I think this may affect current as well, but I am not certain and have > > not tested it. > > > > The simplest patch seems to be the following, which bypasses the extra > > ntohs if IPFW2 is in use, otherwise it leaves it unchanged. This may or > > may not be a good solution :) My thinking is that the ipfw2 method has > > one less byte swap in the important packet handling code, and stores the > > port number in network byte order in the socket struct, all of which > > seems like a good idea. For these reasons a small change to tcp_input > > seems better than changes to ipfw2 ? > > > > Index: tcp_input.c > > =================================================================== > > RCS file: /cvs/freebsd/src/sys/netinet/tcp_input.c,v > > retrieving revision 1.107.2.27 > > diff -u -r1.107.2.27 tcp_input.c > > --- tcp_input.c 24 Aug 2002 18:40:25 -0000 1.107.2.27 > > +++ tcp_input.c 27 Aug 2002 00:45:29 -0000 > > @@ -536,7 +536,11 @@ > > inp = in_pcblookup_hash(&tcbinfo, > > ip->ip_src, th->th_sport, > > next_hop->sin_addr, > > +#if IPFW2 > > + next_hop->sin_port, 1, > > +#else > > ntohs(next_hop->sin_port), 1, > > +#endif > > m->m_pkthdr.rcvif); > > } > > } > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Aug 26 21:40:59 2002 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 4DE9B37B400 for ; Mon, 26 Aug 2002 21:40:54 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E362343E3B for ; Mon, 26 Aug 2002 21:40:53 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7R4erIb017395; Mon, 26 Aug 2002 21:40:53 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7R4errh017394; Mon, 26 Aug 2002 21:40:53 -0700 (PDT) (envelope-from rizzo) Date: Mon, 26 Aug 2002 21:40:53 -0700 From: Luigi Rizzo To: Ian West Cc: freebsd-net@FreeBSD.ORG Subject: Re: local fwd and ipfw2 on stable problem with port byte order. Message-ID: <20020826214052.A17350@iguana.icir.org> References: <20020827013158.GO499@axiom.niw.com.au> <20020826205758.B16932@iguana.icir.org> <20020827041707.GT499@axiom.niw.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020827041707.GT499@axiom.niw.com.au>; from ian@niw.com.au on Tue, Aug 27, 2002 at 01:47:07PM +0930 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 27, 2002 at 01:47:07PM +0930, Ian West wrote: > I was concerned about getting ipfw userland and kernel out of sync. As > far as I can tell there are two lines in ip_fw.c (kernel) that would > need to be changed, and two lines in ipfw.c (userland) they seem to work > for me here. The risk is though that a kernel update only without > userland could actually introduce the problem into ipfw1 that we are > trying fix in ipfw2. I can forward also the patches for these if you > like ? yes please -- i think it is worse to have ipfw1 and ipfw2 behave differently. If we want to save the modification to ipfw1 we can just change ipfw2 (userland) to adopt the unusual/wrong representation of the port number used by ipfw1. cheers luigi > On Mon, Aug 26, 2002 at 08:57:58PM -0700, Luigi Rizzo wrote: > > If we are going to do this, i'd remove the conditional > > below (anyways it should be htons() in the ipfw1 case, as you > > mentioned) and instead update sbin/ipfw/ipfw.c on -stable > > to put the port number in network format. > > > > cheers > > luigi > > > > On Tue, Aug 27, 2002 at 11:01:58AM +0930, Ian West wrote: > > > There is a small problem with ipfw2 running on -stable. The problem > > > affects only the fwd command with a port number, such as the following > > > > > > ipfw add fwd 127.0.0.1,2048 tcp from any to any in via dc0 > > > > > > The problem is that port is already in network byte order when it > > > arrives in next_hop->sin_port from ipfw2, but not from ipfw1. > > > > > > I think this may affect current as well, but I am not certain and have > > > not tested it. > > > > > > The simplest patch seems to be the following, which bypasses the extra > > > ntohs if IPFW2 is in use, otherwise it leaves it unchanged. This may or > > > may not be a good solution :) My thinking is that the ipfw2 method has > > > one less byte swap in the important packet handling code, and stores the > > > port number in network byte order in the socket struct, all of which > > > seems like a good idea. For these reasons a small change to tcp_input > > > seems better than changes to ipfw2 ? > > > > > > Index: tcp_input.c > > > =================================================================== > > > RCS file: /cvs/freebsd/src/sys/netinet/tcp_input.c,v > > > retrieving revision 1.107.2.27 > > > diff -u -r1.107.2.27 tcp_input.c > > > --- tcp_input.c 24 Aug 2002 18:40:25 -0000 1.107.2.27 > > > +++ tcp_input.c 27 Aug 2002 00:45:29 -0000 > > > @@ -536,7 +536,11 @@ > > > inp = in_pcblookup_hash(&tcbinfo, > > > ip->ip_src, th->th_sport, > > > next_hop->sin_addr, > > > +#if IPFW2 > > > + next_hop->sin_port, 1, > > > +#else > > > ntohs(next_hop->sin_port), 1, > > > +#endif > > > m->m_pkthdr.rcvif); > > > } > > > } > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-net" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Aug 27 3:48:54 2002 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 1075937B40A for ; Tue, 27 Aug 2002 03:48:42 -0700 (PDT) Received: from web14609.mail.yahoo.com (web14609.mail.yahoo.com [216.136.224.241]) by mx1.FreeBSD.org (Postfix) with SMTP id 6713743E42 for ; Tue, 27 Aug 2002 03:48:42 -0700 (PDT) (envelope-from shubha_mr@yahoo.com) Message-ID: <20020827104842.30180.qmail@web14609.mail.yahoo.com> Received: from [12.151.32.25] by web14609.mail.yahoo.com via HTTP; Tue, 27 Aug 2002 11:48:42 BST Date: Tue, 27 Aug 2002 11:48:42 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= Subject: what cud be wrong? To: freebsd-net@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Through the network driver I have written for a gigabit card,I try to ping.Transmit is working fine,and receive interrupts are also coming.But ping stops saying ping to:network is down tho' the link is up and running.what cud be wrong? Please help. shubha __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Aug 27 13: 4: 7 2002 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 E2F3637B401; Tue, 27 Aug 2002 13:04:01 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECDEC43E6A; Tue, 27 Aug 2002 13:04:00 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g7RK3sve031789; Wed, 28 Aug 2002 08:03:54 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g7RK3r5i031788; Wed, 28 Aug 2002 08:03:53 +1200 (NZST) Date: Wed, 28 Aug 2002 08:03:53 +1200 From: Jonathan Chen To: shubha mr Cc: freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: what cud be wrong? Message-ID: <20020827200353.GA31741@grimoire.chen.org.nz> References: <20020827104842.30180.qmail@web14609.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020827104842.30180.qmail@web14609.mail.yahoo.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 27, 2002 at 11:48:42AM +0100, shubha mr wrote: > Hi, > > Through the network driver I have written for a > gigabit card,I try to ping.Transmit is working > fine,and receive interrupts are also coming.But ping > stops saying ping to:network is down tho' the link is > up and running.what cud be wrong? Your code? That's what everyone will say unless you give more details. -- Jonathan Chen ---------------------------------------------------------------------- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Aug 27 15:21:37 2002 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 A991537B400 for ; Tue, 27 Aug 2002 15:21:31 -0700 (PDT) Received: from cerberus.apdata.com.au (cerberus.apdata.com.au [202.14.95.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81FD443E3B for ; Tue, 27 Aug 2002 15:21:30 -0700 (PDT) (envelope-from ian@niw.com.au) Received: from localhost (localhost [127.0.0.1]) by cerberus.apdata.com.au (Postfix) with SMTP id F12DB43D41 for ; Wed, 28 Aug 2002 07:51:28 +0930 (CST) Received: from axiom.niw.com.au (axiom.niw.com.au [192.168.1.3]) by cerberus.apdata.com.au (Postfix) with ESMTP id AB5D143D3D for ; Wed, 28 Aug 2002 07:51:27 +0930 (CST) Received: from localhost (localhost [127.0.0.1]) by axiom.niw.com.au (Postfix) with ESMTP id 005B435EF9; Wed, 28 Aug 2002 07:51:26 +0930 (CST) Received: by axiom.niw.com.au (Postfix, from userid 1000) id 558E535EF8; Wed, 28 Aug 2002 07:51:26 +0930 (CST) Date: Wed, 28 Aug 2002 07:51:26 +0930 From: Ian West To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG Subject: Re: local fwd and ipfw2 on stable problem with port byte order. Message-ID: <20020827222126.GV499@axiom.niw.com.au> References: <20020827013158.GO499@axiom.niw.com.au> <20020826205758.B16932@iguana.icir.org> <20020827041707.GT499@axiom.niw.com.au> <20020826214052.A17350@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020826214052.A17350@iguana.icir.org> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS perl-10 X-Virus-Scanned: by kavpostfix Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 26, 2002 at 09:40:53PM -0700, Luigi Rizzo wrote: > On Tue, Aug 27, 2002 at 01:47:07PM +0930, Ian West wrote: > > I was concerned about getting ipfw userland and kernel out of sync. As > > far as I can tell there are two lines in ip_fw.c (kernel) that would > > need to be changed, and two lines in ipfw.c (userland) they seem to work > > for me here. The risk is though that a kernel update only without > > userland could actually introduce the problem into ipfw1 that we are > > trying fix in ipfw2. I can forward also the patches for these if you > > like ? > > yes please -- i think it is worse to have ipfw1 and ipfw2 behave > differently. If we want to save the modification to ipfw1 we can just > change ipfw2 (userland) to adopt the unusual/wrong representation > of the port number used by ipfw1. > Below are the patches to change ipfw userland and the kernel to use the same byte ordering as ipfw2. Unless using fwd address,port rules, there is no incompatability between userland and kernel, but rebuild of ipfw userland is recommended anyway to prevent ugly surprises. (The byte ordering change will cause individual port forwarding to end up in the wrong place port 2048 -> 8 etc.. Index: ip_fw.c =================================================================== RCS file: /cvs/freebsd/src/sys/netinet/ip_fw.c,v retrieving revision 1.131.2.35 diff -u -r1.131.2.35 ip_fw.c --- ip_fw.c 29 Jul 2002 02:04:25 -0000 1.131.2.35 +++ ip_fw.c 27 Aug 2002 21:57:24 -0000 @@ -544,7 +544,7 @@ snprintf(SNPARGS(action2, 0), "Forward to %s:%d", inet_ntoa(f->fw_fwd_ip.sin_addr), - f->fw_fwd_ip.sin_port); + ntohs(f->fw_fwd_ip.sin_port)); else snprintf(SNPARGS(action2, 0), "Forward to %s", inet_ntoa(f->fw_fwd_ip.sin_addr)); Index: tcp_input.c =================================================================== RCS file: /cvs/freebsd/src/sys/netinet/tcp_input.c,v retrieving revision 1.107.2.27 diff -u -r1.107.2.27 tcp_input.c --- tcp_input.c 24 Aug 2002 18:40:25 -0000 1.107.2.27 +++ tcp_input.c 27 Aug 2002 21:57:25 -0000 @@ -536,7 +536,7 @@ inp = in_pcblookup_hash(&tcbinfo, ip->ip_src, th->th_sport, next_hop->sin_addr, - ntohs(next_hop->sin_port), 1, + next_hop->sin_port, 1, m->m_pkthdr.rcvif); } } Index: ipfw.c =================================================================== RCS file: /cvs/freebsd/src/sbin/ipfw/ipfw.c,v retrieving revision 1.80.2.23 diff -u -r1.80.2.23 ipfw.c --- ipfw.c 13 May 2002 10:14:59 -0000 1.80.2.23 +++ ipfw.c 27 Aug 2002 21:58:07 -0000 @@ -257,7 +257,7 @@ case IP_FW_F_FWD: printf("fwd %s", inet_ntoa(chain->fw_fwd_ip.sin_addr)); if(chain->fw_fwd_ip.sin_port) - printf(",%d", chain->fw_fwd_ip.sin_port); + printf(",%d", ntohs(chain->fw_fwd_ip.sin_port)); break; default: errx(EX_OSERR, "impossible"); @@ -1734,7 +1734,7 @@ errx(EX_DATAERR, "illegal forwarding" " port ``%s''", pp); else - rule.fw_fwd_ip.sin_port = (u_short)i; + rule.fw_fwd_ip.sin_port = htons((u_short)i); } fill_ip(&(rule.fw_fwd_ip.sin_addr), &dummyip, &ac, &av); if (rule.fw_fwd_ip.sin_addr.s_addr == 0) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 5:27: 4 2002 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 1779437B400; Wed, 28 Aug 2002 05:27:02 -0700 (PDT) Received: from kwiatek.eu.org (kwiatek.eu.org [193.110.123.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2882C43E81; Wed, 28 Aug 2002 05:27:01 -0700 (PDT) (envelope-from kwiatek@tpi.pl) Received: from localhost (localhost [127.0.0.1]) by kwiatek.eu.org (Postfix) with ESMTP id 48AE731546; Wed, 28 Aug 2002 14:01:20 +0200 (CEST) Date: Wed, 28 Aug 2002 14:01:20 +0200 (CEST) From: Andrzej Kwiatkowski X-X-Sender: kwiatek@kwiatek.eu.org To: freebsd-questions@freebsd.org, Subject: NATD Message-ID: <20020828135858.B6080-100000@kwiatek.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org How can i reload configuration, without killing natd process. I don't wont to break acvtive connections, while adding new translation in my natd configuration file. I haven't check if kill -HUP help. Have got any idea? Greetings Andrzej Kwiatkowski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 7: 0:33 2002 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 5174C37B400 for ; Wed, 28 Aug 2002 07:00:17 -0700 (PDT) Received: from samar.sasken.com (samar.sasken.com [164.164.56.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49F4343E6E for ; Wed, 28 Aug 2002 07:00:11 -0700 (PDT) (envelope-from gbnaidu@sasken.com) Received: from samar (localhost [127.0.0.1]) by samar.sasken.com (8.11.6/8.11.6) with SMTP id g7SDxv726960 for ; Wed, 28 Aug 2002 19:29:57 +0530 (IST) Received: (from gbnaidu@localhost) by sunsv2.sasken.com (8.11.6/8.11.6) id g7SDxt914667; Wed, 28 Aug 2002 19:29:55 +0530 (IST) From: "G.B.Naidu" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ibfi4zPkg9" Content-Transfer-Encoding: 7bit Message-ID: <15724.55131.32403.159866@sunsv2.sasken.com> Date: Wed, 28 Aug 2002 19:29:55 +0530 To: net@FreeBSD.ORG Subject: HELP NEEDED: ppp client not responding to LCP requests... X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: gbnaidu@sasken.com Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --ibfi4zPkg9 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Hi, We need some help with regards to ppp client program from FreeBSD (4.2 Release). We are trying to test the PPPoE/L2TP session establishment. In our case the ppp client host is directly connected to the LAC system, where PPPoE server, pppd server and LAC are running. LAC system is based on Linux 2.4.16 kernel. We are able to connect to the LAC and PPPoE session is established(PADI, PADO, PADR, PADS). After this, the pppd daemon on the LAC is sending LCP config requests with CHAP (MD5) option. The ppp client on FreeBSD host is not acknowledging the config requests and hence the LCP signaling is not completed. I would appreciate if some body can throw some light on why the FreeBSD ppp client is not responding to the LCP config requests from pppd. Specifically I would like to know if we need to use some configuration options to enable LCP signaling. Please find below the ppp.conf file on ppp client machine: --ibfi4zPkg9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="ppp.conf" Content-Transfer-Encoding: 7bit ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.1 2000/08/18 08:33:02 jhb Exp $ ################################################################# default: ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # #set device /dev/cuaa1 set device PPPoE:de0 set MRU 1454 set MTU 1454 set log Phase LCP IPCP CCP tun command add default HISADDR # Add a (sticky) default route accept CHAP enable dns # request DNS info (for resolv.conf) # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # edge123: set enddisc label edge123 set authname sameer@sas.com set authkey hello_lns --ibfi4zPkg9 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit The command used to start the ppp communication is: ppp -ddial Please find below the tcpdump log of the config requests sent to the ppp client host: --ibfi4zPkg9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="dump.txt" Content-Transfer-Encoding: 7bit 19:31:54.734497 B 0:80:c8:55:42:e4 Broadcast 8863 60: PPPoE PADI [Host-Uniq UTF8] 1109 0000 000e 0103 0006 00ae e6c0 0cae 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:54.734846 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 70: PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name UTF8] 1107 0000 0018 0103 0006 00ae e6c0 0cae 0101 0000 0102 0006 00d0 b7bd 0711 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:54.735093 < 0:80:c8:55:42:e4 0:0:0:0:0:1 8863 60: PPPoE PADR [Host-Uniq UTF8] [AC-Name UTF8] 1119 0000 0018 0103 0006 00ae e6c0 0cae 0102 0006 00d0 b7bd 0711 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:54.746158 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 60: PPPoE PADS [ses 0x1] [Host-Uniq UTF8] [AC-Name UTF8] 1165 0001 0018 0103 0006 00ae e6c0 0cae 0102 0006 00d0 b7bd 0711 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:56.732405 < 0:80:c8:55:42:e4 0:0:0:0:0:1 8863 60: PPPoE PADR [Host-Uniq UTF8] [AC-Name UTF8] 1119 0000 0018 0103 0006 00ae e6c0 0cae 0102 0006 00d0 b7bd 0711 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:56.743981 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 60: PPPoE PADS [ses 0x2] [Host-Uniq UTF8] [AC-Name UTF8] 1165 0002 0018 0103 0006 00ae e6c0 0cae 0102 0006 00d0 b7bd 0711 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 19:31:57.754246 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:31:59.744252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:00.764238 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:02.754251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:03.774237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:05.764251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:06.784237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:08.774251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:09.794237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:11.784251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:12.804237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:14.794251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:15.814239 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:17.804252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:18.824238 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:20.814253 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f 19:32:21.834237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x1] LCP ConfReq id=0x1 1100 0001 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 0604 5685 e3 19:32:23.824252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE [ses 0x2] LCP ConfReq id=0x1 1100 0002 001b c021 0101 0019 0104 05d4 0206 0000 0000 0305 c223 0505 06a1 9bf2 8f --ibfi4zPkg9 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit TIA --gb --ibfi4zPkg9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 8: 7:43 2002 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 C5E9A37B400; Wed, 28 Aug 2002 08:07:40 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A9B743E4A; Wed, 28 Aug 2002 08:07:40 -0700 (PDT) (envelope-from lomifeh@earthlink.net) Received: from [68.39.204.200] (bgp587257bgs.jdover01.nj.comcast.net [68.39.204.200]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0H1K00A1G7CQWF@mtaout02.icomcast.net>; Wed, 28 Aug 2002 11:07:39 -0400 (EDT) Date: Wed, 28 Aug 2002 11:07:40 -0400 From: Lawrence Sica Subject: Re: NATD In-reply-to: <20020828135858.B6080-100000@kwiatek.eu.org> To: Andrzej Kwiatkowski , freebsd-questions@freebsd.org, -net Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.0.2006 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 08/28/02 08:01 AM, "Andrzej Kwiatkowski" wrote: > How can i reload configuration, without killing natd process. > I don't wont to break acvtive connections, while adding new > translation in my natd configuration file. > I haven't check if kill -HUP help. > AFAIK you have to kill natd outright. You cannot -HUP natd. --Larry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 9:13:17 2002 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 9448B37B400; Wed, 28 Aug 2002 09:13:14 -0700 (PDT) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DAA543E42; Wed, 28 Aug 2002 09:13:13 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by skywalker.rogness.net (8.11.3/8.11.3) with ESMTP id g7SG8FX37392; Wed, 28 Aug 2002 10:08:16 -0600 (MDT) (envelope-from nick@rogness.net) Date: Wed, 28 Aug 2002 10:08:11 -0600 (MDT) From: Nick Rogness To: Lawrence Sica Cc: Andrzej Kwiatkowski , , -net Subject: Re: NATD In-Reply-To: Message-ID: <20020828100552.X37227-100000@skywalker.rogness.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 28 Aug 2002, Lawrence Sica wrote: > On 08/28/02 08:01 AM, "Andrzej Kwiatkowski" wrote: > > > How can i reload configuration, without killing natd process. > > I don't wont to break acvtive connections, while adding new > > translation in my natd configuration file. > > I haven't check if kill -HUP help. > > > > AFAIK you have to kill natd outright. You cannot -HUP natd. Someone had posted a patch, many lunar cycles ago, to allow for a HUP to reload the config. I don't know if it worked or if it made it's way into the source tree. Search the mail archives. Nick Rogness - WARNING TO ALL PERSONNEL: Firings will continue until morale improves. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 11:15: 7 2002 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 C4C6437B400 for ; Wed, 28 Aug 2002 11:15:04 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44B9443E7B for ; Wed, 28 Aug 2002 11:15:04 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id LAA51501; Wed, 28 Aug 2002 11:08:32 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7SI7Qg44023; Wed, 28 Aug 2002 11:07:26 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208281807.g7SI7Qg44023@arch20m.dellroad.org> Subject: Fix for bug in accept() on non-blocking socket To: freebsd-net@freebsd.org Date: Wed, 28 Aug 2002 11:07:26 -0700 (PDT) Cc: eischen@pcnet1.pcnet.com X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello -net, Would anyone interested please review the patch to uipc_syscalls.c contained in bin/42100 ? http://www.freebsd.org/cgi/query-pr.cgi?pr=42100 The problem relates to the behavior of accept() when called on a socket that has been shutdown(2) for reading. Normally, this causes ECONNABORTED to be returned. However, if the socket is marked non-blocking (O_NONBLOCK), then EAGAIN is returned. This of course is the return value that means 'no data available; try again' for a non-blocking socket. Not a good choice :-) This patch fixes things so ECONNABORTED is returned in the non-blocking case as well. Also: I remember someone complaining that the pthread(3) version of Apache does not work on FreeBSD because some thread ends up spinning and eating 100% CPU. This bug could possibly be related to that problem. Might be worth a try... Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 12:34:42 2002 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 D2B4A37B49F for ; Wed, 28 Aug 2002 12:34:26 -0700 (PDT) Received: from 66-162-33-178.gen.twtelecom.net (66-162-33-178.gen.twtelecom.net [66.162.33.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6088543E65 for ; Wed, 28 Aug 2002 12:34:26 -0700 (PDT) (envelope-from jeff@expertcity.com) Received: from [10.4.1.134] (helo=expertcity.com) by 66-162-33-178.gen.twtelecom.net with esmtp (Exim 3.22 #4) id 17k8a9-0003TG-00; Wed, 28 Aug 2002 12:34:25 -0700 Message-ID: <3D6D257D.5080300@expertcity.com> Date: Wed, 28 Aug 2002 12:33:17 -0700 From: Jeff Behl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: net@freebsd.org Cc: Julian Elischer Subject: Re: MTU not working? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just an FYI, but I have opened a bug report on this: http://www.freebsd.org/cgi/query-pr.cgi?pr=42137 so hopefully someone with the know-how can come up with a fix. jeff Julian Elischer wrote: > > On Mon, 19 Aug 2002, Steve Francis wrote: > > >>Allow me to respond for Jeff (we work at same place, and have both been >>looking this issue) >> >>ICMP's being blocked are the most common explanation for this - but >>this is not the case here. >> >>tcpdump run on the server system shows the ICMP fragmention required - >>DF bit set messages being received, and - the irrefutable proof that it >>is not an ICMP filtering issue -the FreeBSD system DOES lower the MTU >>for that host's cloned route to the value specified in the ICMP (1420 >>in the snippet below). New packets are segmented to sizes <= the new >>MTU, but it continues resend the original packet over and over, in the >>original 1500 byte size. >> >>So I still say FreeBSD has broken pMTU-D code. >> >>This is reproducible at will, so we can collect whatever info anyone >>wants. >> >> > > > Yes > tcp needs to forget it ever sent that data, and refactor the entire > transmit window. > > I'd agree this is a bug if it's reproducible by others too. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 15:56:13 2002 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 A263737B400 for ; Wed, 28 Aug 2002 15:56:04 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1885743E42 for ; Wed, 28 Aug 2002 15:56:04 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (jyrfq4p6mifzmu8z@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g7SMtlK07538; Wed, 28 Aug 2002 15:55:47 -0700 (PDT) Message-ID: <3D6D54F2.5090106@isi.edu> Date: Wed, 28 Aug 2002 15:55:46 -0700 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: Lars Eggert Cc: Barney Wolff , Mike Silbersack , Oleg Polyakov , freebsd-net@FreeBSD.ORG Subject: Re: Initial congestion window increase References: <20020814121701.GA27934@tp.databus.com> <20020814233935.F97690-100000@patrocles.silby.com> <20020815053321.GA37994@tp.databus.com> <3D5B4D6D.9080203@isi.edu> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms080606080503080802020008" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a cryptographically signed message in MIME format. --------------ms080606080503080802020008 Content-Type: multipart/mixed; boundary="------------070305050009050909080109" This is a multi-part message in MIME format. --------------070305050009050909080109 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Barney Wolff wrote: > Generally, we should just do what the RFCs say, rather than trying > to rethink every issue. It's really quite rare that the TCP RFCs > are shown to be wrong, and the people who do it get famous. The > OS's that deliberately flout the RFCs get famous too, in another way. FYI, see the attached message. Lars -- Lars Eggert USC Information Sciences Institute --------------070305050009050909080109 Content-Type: message/rfc822; name="imap-message://larse@boreas.isi.edu/lists/tsvwg#884" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="imap-message://larse@boreas.isi.edu/lists/tsvwg#884" Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g7SMIYK13247; Wed, 28 Aug 2002 15:18:34 -0700 (PDT) Received: from www1.ietf.org ([132.151.1.50]) by tnt.isi.edu (8.11.6/8.11.2) with ESMTP id g7SMIWQ06075; Wed, 28 Aug 2002 15:18:32 -0700 (PDT) Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g7SMDNo26735; Wed, 28 Aug 2002 18:13:24 -0400 Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g7SMCOo26684 for ; Wed, 28 Aug 2002 18:12:24 -0400 Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA21859; Wed, 28 Aug 2002 18:10:45 -0400 (EDT) Message-Id: <200208282210.SAA21859@ietf.org> To: IETF-Announce: ; Cc: RFC Editor , Internet Architecture Board , tsvwg@ietf.org From: The IESG Date: Wed, 28 Aug 2002 18:10:45 -0400 Subject: [Tsvwg] Protocol Action: Increasing TCP's Initial Window to Proposed Standard Sender: tsvwg-admin@ietf.org Errors-To: tsvwg-admin@ietf.org X-BeenThere: tsvwg@ietf.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Unsubscribe: , List-Id: Transport Area Working Group List-Post: List-Help: List-Subscribe: , X-AntiVirus: scanned by AMaViS 0.2.1 The IESG has approved the Internet-Draft 'Increasing TCP's Initial Window' as a Proposed Standard, obsoleting RFC 2414. This document also updates RFC 2598. This document is the product of the Transport Area Working Group Working Group. The IESG contact persons are Allison Mankin and Scott Bradner. Technical Summary This document specifies an optional increase in the permitted initial window for TCP from two segments to roughly 4K bytes. It discusses the advantages and disadvantages of the higher initial window, and includes discussion of experiments and simulations show that the higher initial window does not lead to congestion collapse. The specification provides guidance on some implementation issues. The conclusion is drawn that this small change to TCP "will likely be beneficial to short-lived TCP connections and those over links with long RTTs (saving several RTTs during the initial slow-start phase)." Working Group Summary The specified TCP change is almost entirely the same as that of RFC 2414, which was published experimentally. The determination to move to standards track followed on review of the results after RFC 2414. The working group supported the advancement of the document, and no issues were raised during IETF Last Call. Protocol Quality This document was reviewed for the IESG by Allison Mankin. _______________________________________________ tsvwg mailing list tsvwg@ietf.org https://www1.ietf.org/mailman/listinfo/tsvwg --------------070305050009050909080109-- --------------ms080606080503080802020008 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzAS BgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQAxsUtH XfkBceX1U2xdedY9mMAmE2KBIqcS+CKV6BtJtyd7BDm6/ObyJOuR+r3sDSo491BVqGz3Da1M G7wD9LXrokefbKIMWI0xQgkRbLAaadErErJAXWr5edDqLiXdiuT82w0fnQLzWtvKPPZE6iZp h39Ins6ln+eE2MliYq0FxjCCAzkwggKioAMCAQICAwglQTANBgkqhkiG9w0BAQQFADCBkjEL MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMB4XDTAyMDgyNDE4NTMzOVoX DTAzMDgyNDE4NTMzOVowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYD VQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBANI2Rrt4ggaQ/IrOsDeOm2H4/R5FRIL6JjDY3StE aogp1r23WKniQ1Vj98Nu5WxlaZ3Iam3Jen5T66H8u7rtMNpK4qAeAGoBsVeyVr1+CTFeuv+m xCh7BvBJwhLdm0zDaoDT05YKYZaqtsT+F286FWJQg31Xtf+vTKLVVrHcsafnteyal2NEt7Ac yZZfjsVLwxp2Lq3cwYfRQRoo7/yCVzS7HsgM6jmbO4taEMo4yC2rpnUbWEUCDTaCYgpAXzAl oiNk7GDh0wz2s5ZSnHRvNSBMAjCmpNtSYHfXFI1ANwrrrHIJ7Ei83+XN32PWY4OPzO3iown9 VR+vM+8lNx9OX28CAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIBBAQTTDJ1TXlmZkJO VWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1UdEwEB/wQCMAAwDQYJ KoZIhvcNAQEEBQADgYEAXcrIlKmPLM/r8r3oz2ZLPLaT1AyMjYTZY2qq/R7SUtFa9BNlTIFh DG78QKfJ9lo2LMzTPQqMZgNLmj95GbNPI8P8OIq2K6MeCZWz08ROackqTFP6xWbIFIfXcBVR 1dZnDDyDKBBh05KkvyTPawSQyOBUeNBfQUyO4TE+3o58U8UwggM5MIICoqADAgECAgMIJUEw DQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MDAeFw0wMjA4MjQxODUzMzlaFw0wMzA4MjQxODUzMzlaMFQxDzANBgNVBAQTBkVnZ2VydDEN MAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkqhkiG9w0BCQEWDWxh cnNlQGlzaS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDSNka7eIIGkPyK zrA3jpth+P0eRUSC+iYw2N0rRGqIKda9t1ip4kNVY/fDbuVsZWmdyGptyXp+U+uh/Lu67TDa SuKgHgBqAbFXsla9fgkxXrr/psQoewbwScIS3ZtMw2qA09OWCmGWqrbE/hdvOhViUIN9V7X/ r0yi1Vax3LGn57XsmpdjRLewHMmWX47FS8Madi6t3MGH0UEaKO/8glc0ux7IDOo5mzuLWhDK OMgtq6Z1G1hFAg02gmIKQF8wJaIjZOxg4dMM9rOWUpx0bzUgTAIwpqTbUmB31xSNQDcK66xy CexIvN/lzd9j1mODj8zt4qMJ/VUfrzPvJTcfTl9vAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIB ADAaMBgCAQQEE0wydU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVk dTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAF3KyJSpjyzP6/K96M9mSzy2k9QM jI2E2WNqqv0e0lLRWvQTZUyBYQxu/ECnyfZaNizM0z0KjGYDS5o/eRmzTyPD/DiKtiujHgmV s9PETmnJKkxT+sVmyBSH13AVUdXWZww8gygQYdOSpL8kz2sEkMjgVHjQX0FMjuExPt6OfFPF MYIDJzCCAyMCAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MAIDCCVBMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTAyMDgyODIyNTU0NlowIwYJKoZIhvcNAQkEMRYEFMbcUs6EeJg2Mo42zspi ExyLcdn+MFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0BCRACCzGB naCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ Q2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZp Y2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMIJUEwDQYJ KoZIhvcNAQEBBQAEggEAQsSn9mSffpU6llUSZT21anG6nOAN0rY38kOGMOwz8ZIjHsa3jyoc c3vLFg8rDvra8Wsh6Dz3Ja6Qczr3sExp892ybngDi7YWaxjE/X0sOmueihAa5la33CHKdyml RocnnFxkREp5K2oWhVl5vT2P5HH9o+w1gCRvKL12KQ4SaBGFZ5LGW2pWE5YloRpjj3If6vRU eEMO+ulSUIR195S+R2PEIoyvOB9Tyw0dc8G1go/OvRqJWA05DKbvihhe6OKiWRrl+IUj6T38 qp/gUp9ragBkEQTdo5pzsZatlK6Wls5u3AQol8RYrAICjiZ3VYPyu8J3DgEbQ5/+zydrwmzd oAAAAAAAAA== --------------ms080606080503080802020008-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 21:43:41 2002 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 3C3C537B405 for ; Wed, 28 Aug 2002 21:43:37 -0700 (PDT) Received: from web14605.mail.yahoo.com (web14605.mail.yahoo.com [216.136.224.85]) by mx1.FreeBSD.org (Postfix) with SMTP id E099B43E77 for ; Wed, 28 Aug 2002 21:43:36 -0700 (PDT) (envelope-from shubha_mr@yahoo.com) Message-ID: <20020829044336.34942.qmail@web14605.mail.yahoo.com> Received: from [12.151.32.25] by web14605.mail.yahoo.com via HTTP; Thu, 29 Aug 2002 05:43:36 BST Date: Thu, 29 Aug 2002 05:43:36 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= Subject: BSD GOD,save me! To: freebsd-net@FreeBSD.org Cc: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Here is the tragic story! When I booted my BSD machine this morning,it said Automatic file system check failed...........help! Enter full pathname of the shell or RETURN for bin/sh I entered /bin/csh (I was not sure tho') Cannot open /et/termcap Using dumb terminal settings. It does not even enter /usr/src..It says no such file or directory.. Good god,save me! Thanks and Regards, shubha __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 21:51: 8 2002 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 621D437B400; Wed, 28 Aug 2002 21:51:04 -0700 (PDT) Received: from hermod.asgardnet.org (user168.net314.fl.sprint-hsd.net [207.30.169.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400E343E3B; Wed, 28 Aug 2002 21:50:58 -0700 (PDT) (envelope-from geminidomino@earthlink.net) Received: from thorr.asgardnet.org ([192.168.0.1]) by hermod.asgardnet.org (8.12.3/8.12.3) with SMTP id g7T4otf0076477; Thu, 29 Aug 2002 04:50:56 GMT (envelope-from geminidomino@earthlink.net) Date: Thu, 29 Aug 2002 00:51:17 -0400 From: Ciro Maeitta To: shubha mr Cc: freebsd-net@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: BSD GOD,save me! Message-Id: <20020829005117.5c754074.geminidomino@earthlink.net> In-Reply-To: <20020829044336.34942.qmail@web14605.mail.yahoo.com> References: <20020829044336.34942.qmail@web14605.mail.yahoo.com> Organization: Asgardnet.org X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 29 Aug 2002 05:43:36 +0100 (BST) shubha mr wrote: > Automatic file system check failed...........help! > Enter full pathname of the shell or RETURN for bin/sh > > It does not even enter /usr/src..It says no such file > or directory.. You didnt say whether you mounted /usr, so that may well be why you couldnt cd to /usr/src. The best way to deal with that message is to start /bin/sh or /bin/csh and run the following fsck -y And hope to the gods that it works. After that, reboot and you will hopefully okay. HTH- C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Aug 28 23: 8:45 2002 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 60CA237B400; Wed, 28 Aug 2002 23:08:40 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE26B43E6E; Wed, 28 Aug 2002 23:08:38 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id F29CD81291; Thu, 29 Aug 2002 15:38:36 +0930 (CST) Date: Thu, 29 Aug 2002 15:38:36 +0930 From: Greg 'groggy' Lehey To: shubha mr Cc: freebsd-net@FreeBSD.org, freebsd-questions@FreeBSD.ORG Subject: Failed fsck (was: BSD GOD,save me!) Message-ID: <20020829060836.GI27285@wantadilla.lemis.com> References: <20020829044336.34942.qmail@web14605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020829044336.34942.qmail@web14605.mail.yahoo.com> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday, 29 August 2002 at 5:43:36 +0100, shubha mr wrote: > Hi, > Here is the tragic story! > When I booted my BSD machine this morning,it said > Automatic file system check failed...........help! > Enter full pathname of the shell or RETURN for bin/sh > > I entered /bin/csh (I was not sure tho') In case of doubt, use the default, /bin/sh. > Cannot open /et/termcap Using dumb terminal settings. > > It does not even enter /usr/src..It says no such file > or directory.. Yes, that's fine. It's not mounted yet. First you need to fsck the file systems. For example: # fsck -y / # fsck -y /usr # exit If you get another "automatic fsck failed" message, note the name of the file system and do the same again with it. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 1:16:28 2002 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 C4E0637B400 for ; Thu, 29 Aug 2002 01:16:25 -0700 (PDT) Received: from chicken.orbitel.bg (chicken100.orbitel.bg [195.24.32.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5B86643E6E for ; Thu, 29 Aug 2002 01:16:24 -0700 (PDT) (envelope-from i.tanusheff@procreditbank.com) Received: (qmail 11068 invoked from network); 29 Aug 2002 08:16:22 -0000 Received: from unknown (HELO procreditbank.com) (212.95.171.180) by chicken.orbitel.bg with SMTP; 29 Aug 2002 08:16:21 -0000 Received: from itaush [172.16.248.203] by Proxy+; Thu, 29 Aug 2002 10:35:41 +0300 for From: "Ivailo Tanusheff" To: "FreeBSD Net" Subject: Far routing Date: Thu, 29 Aug 2002 10:35:41 +0300 Message-ID: <016101c24f2e$ad299a70$cbf810ac@sof.procreditbank.bg> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0162_01C24F47.D276D270" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0162_01C24F47.D276D270 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I have the following configuration: <10. net>----<10.0.0.1 (FreeBSD Box1) a.b.c.d>----[INTERNET]-------<172.168.0 net> I have proper nating for inbound and outbound traffic. How may I set the routing on the first FreeBSD box, so packets to 172.168 net would be forwarded to the second FreeBSD box, which NAT will mask them to the proper host? Thank you in advantage, Ivailo Tanusheff ------=_NextPart_000_0162_01C24F47.D276D270 Content-Type: text/x-vcard; name="Ivailo Tanusheff.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Ivailo Tanusheff.vcf" BEGIN:VCARD VERSION:2.1 N:Tanusheff;Ivailo FN:Ivailo Tanusheff ORG:ProCredit Bank TITLE:System administrator and Security advisor TEL;WORK;VOICE:359 2 9217161 EMAIL;PREF;INTERNET:I.Tanusheff@procreditbank.com REV:20020822T070308Z END:VCARD ------=_NextPart_000_0162_01C24F47.D276D270-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 2:39:12 2002 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 9F85537B400 for ; Thu, 29 Aug 2002 02:39:10 -0700 (PDT) Received: from mail.synvision.com.tw (mail.synvision.com.tw [210.242.39.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60DB743E42 for ; Thu, 29 Aug 2002 02:39:01 -0700 (PDT) (envelope-from ericlin@ericlin.cabin.idv.tw) Received: from spd6 (ip1-250.synvision.com.tw [192.168.1.250]) by mail.synvision.com.tw (8.12.5/8.12.5) with SMTP id g7T9csvS009486 for ; Thu, 29 Aug 2002 17:38:55 +0800 (CST) (envelope-from ericlin@ericlin.cabin.idv.tw) Message-ID: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw> From: "Jui-Nan Eric Lin" To: Subject: Question about bridge(4): loop without physical loop Date: Thu, 29 Aug 2002 17:38:19 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, all: I have installed bridge on my freebsd box, but the message showed on the screen frequently and the network halted (packet missing): /kernel: -- loop (0) 55.55.55.55.55.55 to fxp1 from fxp0 (active) /kernel: -- loop (0) 55.55.55.55.55.55 to fxp0 from fxp1 (active) It' weird because I didn't have a NIC which has mac address 55.55.55.55.55.55. I have searched with Google, and found the message below: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=180949+0+archive/2002/freebsd-n et/20020707.freebsd-net It seems that bridge supports only NICs with "SIMPLEX" flag. Therefore, I checked result of "ifconfig -a", but my two Intel 82550 (fxp0, fxp1) has "SIMPLEX" flag: fxp0: flags=8943 mtu 1500 fxp1: flags=8943 mtu 1500 Any suggestion? P.S. #1 sysctl -a | grep bridge #sysctl -a | grep bridge net.link.ether.bridge_cfg: fxp0,fxp1 net.link.ether.bridge: 1 net.link.ether.bridge_ipfw: 1 net.link.ether.bridge_ipf: 0 net.link.ether.bridge_ipfw_drop: 0 net.link.ether.bridge_ipfw_collisions: 749 P.S.#2 Sorry for my poor English :) Sincerely, Jui-Nan Eric Lin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 3:44:59 2002 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 64D1637B400 for ; Thu, 29 Aug 2002 03:44:52 -0700 (PDT) Received: from mx1.elcomsoft.com (host.elcomsoft.com [217.106.235.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7955743E4A for ; Thu, 29 Aug 2002 03:44:49 -0700 (PDT) (envelope-from lexa@lexa.pp.ru) Received: from my.crackpassword.com [195.68.136.8] by mx1.elcomsoft.com with asmtp by ava%elcomsoft.com id 17k02b-000IqY-00 for freebsd-net@freebsd.org; Wed, 28 Aug 2002 14:27:16 +0400 Date: Wed, 28 Aug 2002 14:24:12 +0400 From: Alexei Alexandrov X-Mailer: The Bat! (v1.60q) Personal Reply-To: Alexei Alexandrov Organization: ElcomSoft Co. Ltd. X-Priority: 3 (Normal) Message-ID: <87865782879.20020828142412@elcomsoft.com> To: freebsd-net@freebsd.org Subject: [PLEASE HELP]: IPSec / racoon problems. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello everyone, I`m trying to setup a secure tunnel between two offices (but there will be more in future). I have read lots of documentation, mailing lists archives, but still have no success. To setup a tunnel i use a simple shell script: OFFICE1_EXT="1.1.1.1" OFFICE1_INT="192.168.10.35" OFFICE1_NET="192.168.10.32/27" OFFICE2_EXT="2.2.2.2" OFFICE2_INT="192.168.10.65" OFFICE2_NET="192.168.10.64/27" NETMASK="255.255.255.224" HOSTNAME=`/bin/hostname` case $HOSTNAME in gw.office-1.company.net) /usr/sbin/gifconfig gif0 $OFFICE1_EXT $OFFICE2_EXT /sbin/ifconfig gif0 inet $OFFICE1_INT $OFFICE2_INT netmask $NETMASK /usr/sbin/setkey -FP /usr/sbin/setkey -F /usr/sbin/setkey -c << EOF spdadd $OFFICE1_NET $OFFICE2_NET any -P out ipsec esp/tunnel/${OFFICE1_EXT}-${OFFICE2_EXT}/require; spdadd $OFFICE2_NET $OFFICE1_NET any -P in ipsec esp/tunnel/${OFFICE2_EXT}-${OFFICE1_EXT}/require; spdadd ${OFFICE1_EXT}/32 ${OFFICE2_EXT}/32 any -P out ipsec esp/transport/${OFFICE1_EXT}-${OFFICE2_EXT}/require; spdadd ${OFFICE2_EXT}/32 ${OFFICE1_EXT}/32 any -P in ipsec esp/transport/${OFFICE2_EXT}-${OFFICE1_EXT}/require; EOF /sbin/route add -net $OFFICE2_NET $OFFICE1_INT ;; gw.office-2.company.net) /usr/sbin/gifconfig gif0 $OFFICE2_EXT $OFFICE1_EXT /sbin/ifconfig gif0 inet $OFFICE2_INT $OFFICE1_INT netmask $NETMASK /usr/sbin/setkey -FP /usr/sbin/setkey -F /usr/sbin/setkey -c << EOF spdadd $OFFICE2_NET $OFFICE1_NET any -P out ipsec esp/tunnel/${OFFICE2_EXT}-${OFFICE1_EXT}/require; spdadd $OFFICE1_NET $OFFICE2_NET any -P in ipsec esp/tunnel/${OFFICE1_INT}-${OFFICE2_EXT}/require; spdadd ${OFFICE2_EXT}/32 ${OFFICE1_EXT}/32 any -P out ipsec esp/transport/${OFFICE2_EXT}-${OFFICE1_EXT}/require; spdadd ${OFFICE1_EXT}/32 ${OFFICE2_EXT}/32 any -P in ipsec esp/transport/${OFFICE1_EXT}-${OFFICE2_EXT}/require; EOF /sbin/route add -net $OFFICE1_NET $OFFICE2_INT ;; esac After the script is executed i run racoon version 20020507a with this configuration file (it is the same on both gates): path pre_shared_key "/usr/local/etc/racoon.key"; log info; padding { maximum_length 20; # maximum padding length. randomize off; # enable randomize length. strict_check off; # enable strict check. exclusive_tail off; # extract last one octet. } listen { isakmp 1.1.1.1 [500]; } timer { counter 5; # maximum trying count to send. interval 20 sec; # maximum interval to resend. persend 1; # the number of packets per a send. phase1 30 sec; phase2 15 sec; } remote anonymous { exchange_mode aggressive,main; doi ipsec_doi; situation identity_only; my_identifier address "192.168.10.35"; nonce_size 16; lifetime time 2 hour; # sec,min,hour initial_contact on; support_mip6 on; proposal_check obey; # obey, strict or claim proposal { encryption_algorithm 3des; hash_algorithm sha1; authentication_method pre_shared_key ; dh_group 2 ; } } sainfo anonymous { pfs_group 2; lifetime time 2 hour; encryption_algorithm 3des,des,cast128,blowfish; authentication_algorithm hmac_sha1,hmac_md5; compression_algorithm deflate ; } The pre shared key file is the same on both gates. I run racoon in the foreground mode like this: /usr/local/sbin/racoon -F -v -d -f /usr/local/etc/racoon.conf Using tcpdump -s 512 -i int1 esp or port 500 i see the following: 14:30:32.521424 qw.office-1.company.net.isakmp > qw.office-2.company.net.isakmp: isakmp: phase 1 I agg: (sa: doi=ipsec situation=identity (p: #1 protoid=isakmp transform=1 (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=1c20)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024)))) (ke: key len=128) (nonce: n len=16) (id: idtype=IPv4 protoid=udp port=500 len=4 192.168.10.35) 14:30:33.258796 qw.office-2.company.net.isakmp > qw.office-1.company.net.isakmp: isakmp: phase 1 R agg: (sa: doi=ipsec situation=identity (p: #1 protoid=isakmp transform=1 (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=1c20)(type=enc value=3des)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=modp1024)))) (ke: key len=128) (nonce: n len=16) (id: idtype=IPv4 protoid=udp port=500 len=4 192.168.10.65) (hash: len=20) (vid: len=16) Racoon then prints the message: 2002-08-28 14:08:49: INFO: pfkey.c:1107:pk_recvupdate(): IPsec-SA established: ESP/Tunnel 2.2.2.2->1.1.1.1 spi=165577735(0x9de8407) 2002-08-28 14:08:49: DEBUG: pfkey.c:1145:pk_recvupdate(): === 2002-08-28 14:08:49: DEBUG: pfkey.c:192:pfkey_handler(): get pfkey ADD message 2002-08-28 14:08:49: INFO: pfkey.c:1319:pk_recvadd(): IPsec-SA established: ESP/Tunnel 1.1.1.1->2.2.2.2 spi=117026571(0x6f9af0b) But still no luck. I`m not able to ping intranet address space in both offices. Any help would be very usefull for me. Thanks in advance, Alexei Alexandrov. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 3:50:56 2002 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 F3CD937B400 for ; Thu, 29 Aug 2002 03:50:54 -0700 (PDT) Received: from mail.incofisa.com (213-96-16-90.uc.nombres.ttd.es [213.96.16.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4052343E72 for ; Thu, 29 Aug 2002 03:50:53 -0700 (PDT) (envelope-from simeo@incofisa.com) Received: from www (www.incofisa.com [192.168.0.5]) by mail.incofisa.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id g7T9nwd29157 for ; Thu, 29 Aug 2002 11:49:59 +0200 Message-ID: <001601c24f49$9e1b4770$0500a8c0@incofisa.com> From: =?iso-8859-1?Q?Sime=F3_Reig?= To: References: <20020829044336.34942.qmail@web14605.mail.yahoo.com> <20020829005117.5c754074.geminidomino@earthlink.net> Subject: Wireless Date: Thu, 29 Aug 2002 12:48:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I want to make a wireless node with freeBSD acting as a AP. Wich card should I buy ? Conceptronics PCI C11iDT is a good choice ? It has Prism 2 chipset but I don't know if freeBSD can detect it, is it possible ? Orinocco cards can act as a AP ? Dlink ?? Thanks a lot ! Simeo Tarragona (Spain) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 6: 6:42 2002 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 9CB6B37B400; Thu, 29 Aug 2002 06:06:36 -0700 (PDT) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE13E43E77; Thu, 29 Aug 2002 06:06:30 -0700 (PDT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost [127.0.0.1]) by bilver.wjv.com (8.12.5/8.12.5) with ESMTP id g7TD6Tkv020266; Thu, 29 Aug 2002 09:06:29 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.5/8.12.5/Submit) id g7TD6Phl020265; Thu, 29 Aug 2002 09:06:25 -0400 (EDT) Date: Thu, 29 Aug 2002 09:06:25 -0400 From: Bill Vermillion To: shubha mr Cc: freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: BSD GOD,save me! Message-ID: <20020829130625.GB19800@wjv.com> Reply-To: bv@wjv.com References: <20020829044336.34942.qmail@web14605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020829044336.34942.qmail@web14605.mail.yahoo.com> User-Agent: Mutt/1.3.25i Organization: W.J.Vermillion / Orlando - Winter Park Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 29, 2002 at 05:43 , Men gasped, women fainted, and small children were reduced to tears as shubha mr confessed to all: > Here is the tragic story! > When I booted my BSD machine this morning,it said > Automatic file system check failed...........help! > Enter full pathname of the shell or RETURN for bin/sh > I entered /bin/csh (I was not sure tho') > Cannot open /et/termcap > Using dumb terminal settings. Since you are in single user mode you will see a lot of things are not processed. I typcally set TERM=cons25; export TERM as the first thing so I can use 'less' to view things. Pressing return for /bin/sh is probably best if you need to execute any scripts with are not compatible with /bin/csh. > It does not even enter /usr/src..It says no such file > or directory.. Type mount and you will see only / is mounted. Run fsck from the prompt and when it finished type mount -a and you should see everthing. Not a tragic story. Happens when something gets shut down by a panic or power-failure or someone pressing what used to be called THE BIG RED SWITCH. The system did not have time to write the FS information before halting. I've only lost 1 or 2 files in the past 7 years of running BSD. That's a far better average than most other Unix OSes which I've used. > Good god,save me! Not that serious. fsck should save you. We'll leave divine intervention for realy serious problems )))) )))) :::: )))) :::: )))) ---- )))) ---- )))) :::: )))) :::: )))) )))) )))) And it's not really a freebsd-net problem as you don't have networks running in single user mode - unless you force them. Bill -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 6:13:27 2002 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 188F937B400; Thu, 29 Aug 2002 06:13:21 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5921743E6E; Thu, 29 Aug 2002 06:13:20 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7TDCEV26704; Thu, 29 Aug 2002 09:12:14 -0400 (EDT) From: Jerry McAllister Message-Id: <200208291312.g7TDCEV26704@clunix.cl.msu.edu> Subject: Re: BSD GOD,save me! To: shubha_mr@yahoo.com (=?iso-8859-1?q?shubha=20mr?=) Date: Thu, 29 Aug 2002 09:12:13 -0400 (EDT) Cc: freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG In-Reply-To: <20020829044336.34942.qmail@web14605.mail.yahoo.com> from "=?iso-8859-1?q?shubha=20mr?=" at Aug 29, 2002 05:43:36 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Hi, > Here is the tragic story! > When I booted my BSD machine this morning,it said > Automatic file system check failed...........help! > Enter full pathname of the shell or RETURN for bin/sh This happens if the machine was improperly shut down with files open (eg someone cut the power) and if the system is getting disk read/write errors - which indicates the disk may be failing. You got booted in to single user mode when the automatic fsck failed. Nothing but a special semi-mount of / is available. The first is generally easy to recover from. Just do a manual fsck When it asks that Enter Full pathname question, just hit RETURN/ENTER type fsck -p (or fsck -f if you have patience and can wait) Answer yes to any prompts - you don't have much choice anyway unless you want to get really sophisticated about recovering lost stuff - mostly it will just be orphan blocks of disk that need relinking. When it finishes, reboot the system with 'shutdown -r now' or try doing a CTRL-D to end single user and complete the original boot, but I am skeptical [paranoid] and just do the whole reboot under those sorts of circumstances. If it is because of a failing disk, try the same thing and then immediately make a backup of as much as you can and start ordering a replacement disk. If the disk is beginning to fail, you may get it back to working for a short while, but it is ultimately doomed so back up very often and get a new one in as soon as you can. > > I entered /bin/csh (I was not sure tho') > Cannot open /et/termcap > Using dumb terminal settings. > > It does not even enter /usr/src..It says no such file > or directory.. Probably it was not mounted - is either your /usr or /usr/src directory in its own mounted file system or is /usr/src living somewhere else with a link? If so it is not mounted when you are first in single user mode. If the above fsck works and finishes, then you can do mount -u / mount -a swapon -a and then you should be able to get to /usr/src, etc. You can poke around and check things out. But probably just the reboot is all you really want. ////jerry > > Good god,save me! > > Thanks and Regards, > shubha > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 7: 2:13 2002 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 4FAAE37B401 for ; Thu, 29 Aug 2002 07:02:11 -0700 (PDT) Received: from web14611.mail.yahoo.com (web14611.mail.yahoo.com [216.136.173.218]) by mx1.FreeBSD.org (Postfix) with SMTP id 2357943E3B for ; Thu, 29 Aug 2002 07:02:11 -0700 (PDT) (envelope-from shubha_mr@yahoo.com) Message-ID: <20020829135857.25047.qmail@web14611.mail.yahoo.com> Received: from [12.151.32.25] by web14611.mail.yahoo.com via HTTP; Thu, 29 Aug 2002 14:58:57 BST Date: Thu, 29 Aug 2002 14:58:57 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= Subject: ifconfig testing To: freebsd-questions@FreeBSD.ORG Cc: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have added some more options for ifconfig utility for my testing purposes.(I have coded them,by looking at the way it was coded for other options).In order to get this new ifconfig code running,what am I supposed to do?In other words,How to test my new ifconfig enhancement code? Thanks for your time, Please reply soon, shubha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 9: 1:12 2002 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 9590237B400 for ; Thu, 29 Aug 2002 09:01:10 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF1F43E4A for ; Thu, 29 Aug 2002 09:01:10 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020829160019.YGTZ14185.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 29 Aug 2002 16:00:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id IAA98085; Thu, 29 Aug 2002 08:54:26 -0700 (PDT) Date: Thu, 29 Aug 2002 08:54:24 -0700 (PDT) From: Julian Elischer To: Ivailo Tanusheff Cc: FreeBSD Net Subject: Re: Far routing In-Reply-To: <016101c24f2e$ad299a70$cbf810ac@sof.procreditbank.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you should use tunnelling so that machines in the 10 net think they have a direct link to the 172 net. there are MANY tunnel methods available from IPSEC to ipip to l2tp to pptp to netgraph etc.etc.etc. On Thu, 29 Aug 2002, Ivailo Tanusheff wrote: > Hi, > > I have the following configuration: > > <10. net>----<10.0.0.1 (FreeBSD Box1) a.b.c.d>----[INTERNET]---- (FreeBSD box2) 172.168.0.1>---<172.168.0 net> > I have proper nating for inbound and outbound traffic. > How may I set the routing on the first FreeBSD box, so packets to > 172.168 net would be forwarded to the second FreeBSD box, which NAT will > mask them to the proper host? > > Thank you in advantage, > Ivailo Tanusheff > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 9:32:29 2002 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 3C89137B405 for ; Thu, 29 Aug 2002 09:32:27 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F0DA43E6A for ; Thu, 29 Aug 2002 09:32:26 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7TGWKwu002345; Thu, 29 Aug 2002 09:32:20 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7TGWKIu002344; Thu, 29 Aug 2002 09:32:20 -0700 Date: Thu, 29 Aug 2002 09:32:20 -0700 From: Brooks Davis To: shubha mr Cc: freebsd-net@FreeBSD.ORG Subject: Re: ifconfig testing Message-ID: <20020829093219.A351@Odin.AC.HMC.Edu> References: <20020829135857.25047.qmail@web14611.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020829135857.25047.qmail@web14611.mail.yahoo.com>; from shubha_mr@yahoo.com on Thu, Aug 29, 2002 at 02:58:57PM +0100 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 29, 2002 at 02:58:57PM +0100, shubha mr wrote: > Hi, > I have added some more options for ifconfig utility > for my testing purposes.(I have coded them,by looking > at the way it was coded for other options).In order to > get this new ifconfig code running,what am I supposed > to do?In other words,How to test my new ifconfig > enhancement code? That depends what you did. If you won't tell us, we can't give you a very useful answer. The obvious answer is to run them and make sure they do what they are supposed to do. You might need to instrument the kernel with sysctls or printfs to do that. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9bkyTXY6L6fI4GtQRAheRAKDBIq7c8iU7/5s6kFgbeRAiVdiggQCcC6ru ro7Nn02iVp8Rz10qLlxLBVo= =AcEB -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 10:22:56 2002 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 554F837B400 for ; Thu, 29 Aug 2002 10:22:54 -0700 (PDT) Received: from alpha.kibernet.si (alpha.kibernet.si [213.161.12.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A72F043E6E for ; Thu, 29 Aug 2002 10:22:53 -0700 (PDT) (envelope-from maddave@suxx.eu.org) Received: from spider.suxx.eu.org (unknown [194.249.141.2]) by alpha.kibernet.si (Postfix) with ESMTP id DAF485D007 for ; Thu, 29 Aug 2002 19:35:41 +0200 (CEST) Received: by spider.suxx.eu.org (Postfix, from userid 1000) id D580632627; Thu, 29 Aug 2002 19:23:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by spider.suxx.eu.org (Postfix) with ESMTP id A03D332623 for ; Thu, 29 Aug 2002 19:23:02 +0200 (CEST) Date: Thu, 29 Aug 2002 19:23:01 +0200 (CEST) From: David Delibasic To: Subject: ISDN Message-ID: <20020829192248.P6303-100000@spider.suxx.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello :) I have a problem regarding ISDN. Our telephone company has started charging more for data calls over ISDN than for voice calls. So, i'd like to know if it is possible to set up i4b to init Terminal Adapter to voice call (maybe usrdevicename = tel or something) and then transfer data over that channel ? Another option that i'm considering is to get NT+2ab and connecting it to analog modem (v.90 would be enough for me), but i'd prefer first option if it's possible :) Best regards, D. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 10:25:43 2002 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 5338B37B400 for ; Thu, 29 Aug 2002 10:25:41 -0700 (PDT) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0966843E42 for ; Thu, 29 Aug 2002 10:25:41 -0700 (PDT) (envelope-from anu@nttmcl.com) Received: from anuntt (dhcp246.nttmcl.com [216.69.69.246]) by alicia.nttmcl.com (8.10.1/8.10.1) with SMTP id g7THPbm11659; Thu, 29 Aug 2002 10:25:37 -0700 (PDT) Reply-To: From: "Anuranjan Shukla" To: "=?iso-8859-1?Q?'Sime=F3_Reig'?=" , Subject: RE: Wireless Date: Thu, 29 Aug 2002 10:25:40 -0700 Message-ID: <001201c24f81$193b7e20$f64545d8@anuntt> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-reply-to: <001601c24f49$9e1b4770$0500a8c0@incofisa.com> Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It doesn't depend on the card. What you need is a driver that can run the card as an AP. -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Simeó Reig Sent: Thursday, August 29, 2002 3:49 AM To: freebsd-net@FreeBSD.ORG Subject: Wireless Hi, I want to make a wireless node with freeBSD acting as a AP. Wich card should I buy ? Conceptronics PCI C11iDT is a good choice ? It has Prism 2 chipset but I don't know if freeBSD can detect it, is it possible ? Orinocco cards can act as a AP ? Dlink ?? Thanks a lot ! Simeo Tarragona (Spain) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 11:58:26 2002 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 70C3137B400 for ; Thu, 29 Aug 2002 11:58:23 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id D142A43E3B for ; Thu, 29 Aug 2002 11:58:22 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020829182010.CZBI8473.rwcrmhc52.attbi.com@InterJet.elischer.org>; Thu, 29 Aug 2002 18:20:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA98664; Thu, 29 Aug 2002 11:12:10 -0700 (PDT) Date: Thu, 29 Aug 2002 11:12:08 -0700 (PDT) From: Julian Elischer To: Anuranjan Shukla Cc: "=?iso-8859-1?Q?'Sime=F3_Reig'?=" , freebsd-net@FreeBSD.ORG Subject: RE: Wireless In-Reply-To: <001201c24f81$193b7e20$f64545d8@anuntt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 29 Aug 2002, Anuranjan Shukla wrote: > It doesn't depend on the card. What you need is a driver that can run the > card as an AP. >=20 Half correct; The Prism-II has two ways of running as an AP 1/ completely different firmware.. does a complete AP. We do NOT support this. 2/ host-AP mode: it does a subset of AP work in the normal firmware and passes hard things back to the OS. we DO support this: The Orinocco card however uses a realted but different chip. It DOES NOT support HOST-AP mode. it can ONLY be used as an AP by using different firmware. A driver to make it do this does exist but is proprietary. I therefore suggest staying clear of the Orinocco for this purpose.=20 The driver for the Aeronet cards can make them go into promiscuous mode etc. but I do not know if there is any way to use them as an AP. you best bet is I think a Prism-II based card. >=20 > -----Original Message----- > From: owner-freebsd-net@FreeBSD.ORG > [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Sime=F3 Reig > Sent: Thursday, August 29, 2002 3:49 AM > To: freebsd-net@FreeBSD.ORG > Subject: Wireless >=20 >=20 > Hi, I want to make a wireless node with freeBSD acting > as a AP. Wich card should I buy ? Conceptronics PCI C11iDT > is a good choice ? It has Prism 2 chipset but I don't know if freeBSD > can detect it, is it possible ? Orinocco cards can act as a AP ? Dlink ?? >=20 > Thanks a lot ! >=20 > Simeo > Tarragona (Spain) >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 18:30: 8 2002 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 67F4937B400 for ; Thu, 29 Aug 2002 18:30:04 -0700 (PDT) Received: from arutam.inch.com (ns.inch.com [216.223.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24D0C43E42 for ; Thu, 29 Aug 2002 18:30:03 -0700 (PDT) (envelope-from spork@inch.com) Received: from inch.com (inch.com [216.223.192.20]) by arutam.inch.com (8.12.2/8.12.2/UTIL-INCH-3.0.6) with ESMTP id g7U1U11M020216 for ; Thu, 29 Aug 2002 21:30:02 -0400 (EDT) Date: Thu, 29 Aug 2002 21:30:01 -0400 (EDT) From: Charles Sprickman To: freebsd-net@freebsd.org Subject: fxp and 802.3 flow control Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm looking at this message in the archives: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=172663+0+archive/2000/freebsd-net/20000220.freebsd-net And wondering the same thing... Don't see anything in the fxp manpage about this, was Ken's patch included at some point? Is his explanation on target? Thanks, Charles -- Charles Sprickman spork@inch.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Aug 29 19:20:34 2002 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 25EFD37B400 for ; Thu, 29 Aug 2002 19:20:28 -0700 (PDT) Received: from www.houstonbroncos.com (adsl-64-219-75-194.dsl.hstntx.swbell.net [64.219.75.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE1E843E4A for ; Thu, 29 Aug 2002 19:20:26 -0700 (PDT) (envelope-from sfeagins@Bugdesign.com) Received: from www.houstonbroncos.com (www.houstonbronco.com [64.219.75.194]) by www.houstonbroncos.com (8.11.6/8.11.6) with ESMTP id g7U2XMr50876 for ; Thu, 29 Aug 2002 21:33:22 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [64.219.75.197] From: "Sam Feagins" To: freebsd-net@Freebsd.org Subject: mpd config help Date: Fri, 30 Aug 2002 02:33:22 +0000 Message-ID: <20020829.nen.15207800@www.houstonbroncos.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: phpGroupWare (http://www.phpgroupware.org) v 0.9.14.000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey everyone, I've searched high and low to find a answer to this problem. I've got to connect my BSD 4.5 box to a M$ PPTP server. This BSD box acts as a gateway for several machines so in essence when this BSD box connects to remote network, I would like to have the clients packets also forward over to the remote network. I chose mpd b/c it has dial on demand. I can get the box to connect with mpd and work just fine to the remote network, but the local client packets don't get forwarded over there. But here's the wierd thing, I can get pptp-client to connect, and the internal network can ping across to the remote network. So I assume that if pptp- client can work so can mpd? Here's my mpd.conf file. Local network is 192.168.10.x Remote network is 192.168.2.x and is DHCP'ng 192.168.2.241-245 for pptp connections 192.168.2.240 is remote pptp server vpn: new -i ng1 vpn vpn set iface disable on-demand set iface idle 0 set iface route 192.168.2.0/24 set bundle disable multilink set bundle authname "" set bundle password "" set link yes acfcomp protocomp set link no pap set link allow chap # If remote machine is NT you need this.. set link enable no-orig-auth set link keep-alive 10 75 set ipcp yes vjcomp set ipcp ranges 0.0.0.0/0 192.168.2.240/0 # set ipcp ranges 192.168.10.1/32 192.168.10.3/32 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set bundle enable crypt-reqd set ccp yes mpp-stateless open Thanks for anything, Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 2:45:54 2002 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 2FD9337B400 for ; Fri, 30 Aug 2002 02:45:52 -0700 (PDT) Received: from alpha.kibernet.si (alpha.kibernet.si [213.161.12.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id B359D43E6A for ; Fri, 30 Aug 2002 02:45:51 -0700 (PDT) (envelope-from maddave@suxx.eu.org) Received: from spider.suxx.eu.org (unknown [194.249.141.2]) by alpha.kibernet.si (Postfix) with ESMTP id 0876D5D007 for ; Fri, 30 Aug 2002 11:58:48 +0200 (CEST) Received: by spider.suxx.eu.org (Postfix, from userid 1000) id 8353132627; Fri, 30 Aug 2002 11:46:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by spider.suxx.eu.org (Postfix) with ESMTP id 61A4532623 for ; Fri, 30 Aug 2002 11:46:16 +0200 (CEST) Date: Fri, 30 Aug 2002 11:46:16 +0200 (CEST) From: David Delibasic To: Subject: Transpanent SQUID proxy Message-ID: <20020830112541.G7671-100000@spider.suxx.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello :) Has anyone successfuly configured transpanent www squid proxy to on other machine? I've tryed `ipfw add fwd 10.0.0.4,3128 tcp from 10.0.0.0/24 to any 80` and this seems not to work, because ipfw does not alter package header and therefore it's not processed by my squid server (10.0.0.4). I've also tried `ipfw add divert 8669 tcp from 0.0.0.0/24 to any 80` and running `/sbin/natd -p 8669 -a 10.0.0.1 -proxy_only -proxy_rule encode_tcp_stream port 80 server 10.0.0.4:3128` but this also doesn't work. So, my question is: How to make it work ? Best regards, D. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 3: 1:21 2002 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 B1AF037B400 for ; Fri, 30 Aug 2002 03:01:18 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id C25E543E72 for ; Fri, 30 Aug 2002 03:01:11 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id g7UA17wM055976; Fri, 30 Aug 2002 12:01:07 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id g7UA179Z055975; Fri, 30 Aug 2002 12:01:07 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200208301001.g7UA179Z055975@zibbi.icomtek.csir.co.za> Subject: Re: Transpanent SQUID proxy In-Reply-To: <20020830112541.G7671-100000@spider.suxx.eu.org> from David Delibasic at "Aug 30, 2002 11:46:16 am" To: maddave@suxx.eu.org (David Delibasic) Date: Fri, 30 Aug 2002 12:01:07 +0200 (SAT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Has anyone successfuly configured transpanent www squid proxy to on other > machine? I've tryed `ipfw add fwd 10.0.0.4,3128 tcp from 10.0.0.0/24 to > any 80` and this seems not to work, because ipfw does not alter package > header and therefore it's not processed by my squid server (10.0.0.4). > I've also tried `ipfw add divert 8669 tcp from 0.0.0.0/24 to any 80` and > running `/sbin/natd -p 8669 -a 10.0.0.1 -proxy_only -proxy_rule > encode_tcp_stream port 80 server 10.0.0.4:3128` but this also doesn't > work. > > So, my question is: How to make it work ? You need to tell the proxy machine to accept it, if it is a FreeBSD box, just use ipfw fwd on it too. On my router I use something like this: add fwd 10.10.8.10 tcp from 10.10.0.0/16 to not 10.10.0.0/16 80 and on the proxy I use add allow tcp from 10.10.8.10 to any add 10100 fwd 127.0.0.1,3128 tcp from any to any 80 Where 10.10.8.10 is my proxy ip address and 10.10.0.0/16 is our network address/mask. The proxy is on one of the subnets directly connected to the router. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 5:44:11 2002 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 8105F37B405 for ; Fri, 30 Aug 2002 05:44:00 -0700 (PDT) Received: from pipenetworks.com (cartman.pipenetworks.com [202.4.251.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67F4943E3B for ; Fri, 30 Aug 2002 05:43:58 -0700 (PDT) (envelope-from steve@pipenetworks.com) Received: (from root@localhost) by pipenetworks.com (8.11.2/8.11.2) id g7UCgKC00953; Fri, 30 Aug 2002 22:42:20 +1000 From: Steve Baxter Received: from internal.pipenetworks.com (internal.pipenetworks.com [10.10.10.1]) by pipenetworks.com (8.11.2/8.11.2) with ESMTP id g7UCgJr00922 for ; Fri, 30 Aug 2002 22:42:19 +1000 Received: from internal (internal [10.10.10.1]) by internal.pipenetworks.com (8.11.2/8.11.2) with ESMTP id g7UCl5418511 for ; Fri, 30 Aug 2002 22:47:06 +1000 Date: Fri, 30 Aug 2002 22:47:05 +1000 (EST) To: Subject: 802.1q trunks Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I was wondering if it is possible to do the following with a combination of FreeSDB and netgraph. I am trying to tunnel multiple VLAN over an IP network - bridging an 802.1q trunk as per the text diagram below. I am trying to trasnport all of the vlans between the switches. If 2,4,6,8 are VALNs that are configured on the Cisco switches (or any other 802.1q cable switch) can frrebsd be used to transport them across an IP network ? I have vtun/netgraph bridging working now and have a set of server turing up next week to try this out but was wondering if there is any advice as to which is the best way to go ? Are there any good howto docs on Netgraph ? Has anybody done this before ? VLANS 2 4 6 8 | | | | | | | | | | | | | | | | +--------------------+ | Cisco 2900 | | | +--------------------+ | |trunk | | | IP | +---------------+ +---------------+ | FreeBSD |---------| FreeBSD | +---------------+ +---------------+ | |trunk | | +--------------------+ | Cisco 2900 | | | +--------------------+ | | | | | | | | | | | | | | | | 2 4 6 8 VLANS Cheers, SB -- Stephen Baxter Director - PIPE Networks phone : 07 3220 1100/ 0417 818 695 fax : 07 3220 1800 ______________________________________ This e-mail is intended for its recipients only. If this e-mail has been sent to you in error, please delete it and notify the sender by reply e-mail. The information contained in this message and/or its attachments may be confidential. Please do not read, save, forward, disclose, or copy the contents of this email. Any views expressed in this Communication are those of the individual sender, except where the sender specifically states them to be the views of PIPE Networks/IX Services Australia Pty Ltd. Except as required at law, PIPE Networks/IX Services Australia Pty Ltd does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or inference. If any quotations for work are included in this email then unless otherwise stated the prices do not include GST, the quotation is only valid for 30 days unless otherwise stated, Gigabit/Gigabytes means 1,000,000,000 bits/bytes, Megabit/megabyte means 1,000,000 bits/bytes, kilobit/kilobyte means 1,000 bits/bytes and 1 days signifies 1 working day in the city of Brisbane. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 7:19:33 2002 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 B20E437B405 for ; Fri, 30 Aug 2002 07:19:24 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 963FC43EDA for ; Fri, 30 Aug 2002 07:18:56 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7UEIhIb051714; Fri, 30 Aug 2002 07:18:43 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7UEIgaW051713; Fri, 30 Aug 2002 07:18:42 -0700 (PDT) (envelope-from rizzo) Date: Fri, 30 Aug 2002 07:18:42 -0700 From: Luigi Rizzo To: Charles Sprickman Cc: freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020830071842.B51630@iguana.icir.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from spork@inch.com on Thu, Aug 29, 2002 at 09:30:01PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 29, 2002 at 09:30:01PM -0400, Charles Sprickman wrote: > Hi, > > I'm looking at this message in the archives: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=172663+0+archive/2000/freebsd-net/20000220.freebsd-net > > And wondering the same thing... Don't see anything in the fxp manpage > about this, was Ken's patch included at some point? Is his explanation on > target? there are (if i remember well) a couple of bits to manage the flow control settings on the card. i seem to remember that toggling one of them does prevent these packets from being generated by the peer. However, in the end they do not seem to have any effect on performance so i do not think it is something we need to set. The patch is almost surely out of date, the newer fxp driver already has fields for the flow control bits, so it is just a matter of setting or clearing them. I don't remember the details though. cheers luigi > Thanks, > > Charles > > -- > Charles Sprickman > spork@inch.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 8:14:19 2002 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 00E8237B400; Fri, 30 Aug 2002 08:14:15 -0700 (PDT) Received: from mail.incofisa.com (213-96-16-90.uc.nombres.ttd.es [213.96.16.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020F443E42; Fri, 30 Aug 2002 08:14:13 -0700 (PDT) (envelope-from simeo@incofisa.com) Received: from www (www.incofisa.com [192.168.0.5]) by mail.incofisa.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id g7UECpd02731; Fri, 30 Aug 2002 16:12:53 +0200 Message-ID: <003101c25037$7d015d60$0500a8c0@incofisa.com> From: =?iso-8859-1?Q?Sime=F3_Reig?= To: "Julian Elischer" , Cc: References: Subject: Re: Wireless Date: Fri, 30 Aug 2002 17:11:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > you best bet is I think a Prism-II based card. Ok, But 1) I don't know if *any card* based on prism II chipset can be recognized by freeBSD. 2) Conceptronics C11iDT is a whireless card based on this chipset, but PCI card is a PCMCIA (I hope not a cardbus) with a PCI<->PCMCIA card, I do'nt known if in point of view of Hardware it's a PCI or a PCMCIA/ CardBUS http://www.conceptronic.net/products.asp?p=C11iDT&Aktie=1&mt=C11iDT&mp=11 Thanks Simeo Barcelona (Spain) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 9: 0:26 2002 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 62B6237B400 for ; Fri, 30 Aug 2002 09:00:20 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD3443E65 for ; Fri, 30 Aug 2002 09:00:20 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7UG0EIb054069; Fri, 30 Aug 2002 09:00:14 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7UG0CrK054051; Fri, 30 Aug 2002 09:00:12 -0700 (PDT) (envelope-from rizzo) Date: Fri, 30 Aug 2002 09:00:12 -0700 From: Luigi Rizzo To: Jui-Nan Eric Lin Cc: freebsd-net@FreeBSD.ORG Subject: Re: Question about bridge(4): loop without physical loop Message-ID: <20020830090012.A53982@iguana.icir.org> References: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw>; from ericlin@ericlin.cabin.idv.tw on Thu, Aug 29, 2002 at 05:38:19PM +0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, these might be runt packets deriving e.g. from junk on the link. It is the first time that i see such reports so haven't worried too much about it. a possible fix could be to avoid bridging of packets that are too short for the ethernet specs or have crc errors. if the problem shows up frequently and you are willing to try some patches let me know, i could try to send you some code to fix this. cheers luigi On Thu, Aug 29, 2002 at 05:38:19PM +0800, Jui-Nan Eric Lin wrote: > Hi, all: > > I have installed bridge on my freebsd box, but the message showed on the > screen frequently and the network halted (packet missing): > > /kernel: -- loop (0) 55.55.55.55.55.55 to fxp1 from fxp0 (active) > /kernel: -- loop (0) 55.55.55.55.55.55 to fxp0 from fxp1 (active) > > It' weird because I didn't have a NIC which has mac address > 55.55.55.55.55.55. > I have searched with Google, and found the message below: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=180949+0+archive/2002/freebsd-n > et/20020707.freebsd-net > > It seems that bridge supports only NICs with "SIMPLEX" flag. > Therefore, I checked result of "ifconfig -a", but my two Intel 82550 (fxp0, > fxp1) has "SIMPLEX" flag: > > fxp0: flags=8943 mtu 1500 > fxp1: flags=8943 mtu 1500 > > Any suggestion? > > P.S. #1 sysctl -a | grep bridge > > #sysctl -a | grep bridge > net.link.ether.bridge_cfg: fxp0,fxp1 > net.link.ether.bridge: 1 > net.link.ether.bridge_ipfw: 1 > net.link.ether.bridge_ipf: 0 > net.link.ether.bridge_ipfw_drop: 0 > net.link.ether.bridge_ipfw_collisions: 749 > > P.S.#2 Sorry for my poor English :) > > Sincerely, > Jui-Nan Eric Lin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 9: 1:23 2002 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 5994537B400; Fri, 30 Aug 2002 09:01:20 -0700 (PDT) Received: from quack.kfu.com (adsl-67-113-12-90.dsl.snfc21.pacbell.net [67.113.12.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4AC043E3B; Fri, 30 Aug 2002 09:01:19 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from morpheus.kfu.com (morpheus.kfu.com [IPv6:3ffe:1200:301b:1:2d0:b7ff:fe3f:bdd0]) by quack.kfu.com (8.12.3/8.12.3) with ESMTP id g7UG1Jkb010952 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 30 Aug 2002 09:01:19 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (localhost [127.0.0.1]) by morpheus.kfu.com (8.12.3/8.12.3) with ESMTP id g7UG1DGw088132; Fri, 30 Aug 2002 09:01:14 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Message-ID: <3D6F96C9.6030203@quack.kfu.com> Date: Fri, 30 Aug 2002 09:01:13 -0700 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1b) Gecko/20020727 X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: freebsd-net@freebsd.org, brian@freebsd.org Subject: tun's address restrictions, IPv6 and PPP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Currently, one cannot change, add or remove addresses to/from tun interfaces with ifconfig. This makes sense for IPv4, but I suggest that this restriction be lifted for IPv6. Once link-local addresses have been negotiated, I don't particlarly see a reason why ordinary router solicitation / advertisement couldn't happen over the link outside the control of PPP. If we do not do this, then we will have to reimplement router solicitation / advertisement in PPP, which seems needless to me. Comments? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 9: 8:55 2002 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 69A1F37B400; Fri, 30 Aug 2002 09:08:53 -0700 (PDT) Received: from cheer.mahoroba.org (flets19-007.kamome.or.jp [218.45.19.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AA9943E6A; Fri, 30 Aug 2002 09:08:51 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:FjxhADHDWIYtpGiPYzDnfeVPRQP4hQCBiIZWH/QOPjVSIb6Db3mHTndYKG10x9SH@lyrics-wi.mahoroba.org [IPv6:2001:200:301:0:202:2dff:fe41:8630]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.5/8.12.5) with ESMTP/inet6 id g7UG8hRr028720 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 31 Aug 2002 01:08:43 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sat, 31 Aug 2002 01:08:39 +0900 Message-ID: From: Hajimu UMEMOTO To: Nick Sayer Cc: freebsd-net@freebsd.org, brian@freebsd.org Subject: Re: tun's address restrictions, IPv6 and PPP In-Reply-To: <3D6F96C9.6030203@quack.kfu.com> References: <3D6F96C9.6030203@quack.kfu.com> User-Agent: xcite1.38> Wanderlust/2.9.14 (Unchained Melody) SEMI/1.14.4 (Hosorogi) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.0-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, >>>>> On Fri, 30 Aug 2002 09:01:13 -0700 >>>>> Nick Sayer said: nsayer> Currently, one cannot change, add or remove addresses to/from tun nsayer> interfaces with ifconfig. This makes sense for IPv4, but I suggest that nsayer> this restriction be lifted for IPv6. Once link-local addresses have been nsayer> negotiated, I don't particlarly see a reason why ordinary router nsayer> solicitation / advertisement couldn't happen over the link outside the nsayer> control of PPP. If we do not do this, then we will have to reimplement nsayer> router solicitation / advertisement in PPP, which seems needless to me. It should be done by PD (Prefix Deligation). In Japan, commercial service of native IPv6 ADSL (PPPoE) will start using PD, soon. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 10:45: 4 2002 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 5170D37B400 for ; Fri, 30 Aug 2002 10:45:03 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC54C43E4A for ; Fri, 30 Aug 2002 10:45:02 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA66548; Fri, 30 Aug 2002 10:42:34 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7UHfO452479; Fri, 30 Aug 2002 10:41:24 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208301741.g7UHfO452479@arch20m.dellroad.org> Subject: Re: mpd config help In-Reply-To: <20020829.nen.15207800@www.houstonbroncos.com> "from Sam Feagins at Aug 30, 2002 02:33:22 am" To: Sam Feagins Date: Fri, 30 Aug 2002 10:41:24 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sam Feagins writes: > I've searched high and low to find a answer to this problem. I've > got to connect my BSD 4.5 box to a M$ PPTP server. This BSD box > acts as a gateway for several machines so in essence when this BSD > box connects to remote network, I would like to have the clients > packets also forward over to the remote network. I chose mpd b/c > it has dial on demand. I can get the box to connect with mpd and > work just fine to the remote network, but the local client packets > don't get forwarded over there. But here's the wierd thing, I can > get pptp-client to connect, and the internal network can ping across > to the remote network. So I assume that if pptp- client can work > so can mpd? Here's my mpd.conf file. Did you check that sysctl net.inet.ip.forwarding=1 ? -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 11: 0:25 2002 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 E8DF937B401 for ; Fri, 30 Aug 2002 11:00:18 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43FE943E65 for ; Fri, 30 Aug 2002 11:00:18 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020830180017.OGOC11061.sccrmhc01.attbi.com@InterJet.elischer.org>; Fri, 30 Aug 2002 18:00:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA03980; Fri, 30 Aug 2002 10:56:11 -0700 (PDT) Date: Fri, 30 Aug 2002 10:56:10 -0700 (PDT) From: Julian Elischer To: David Delibasic Cc: freebsd-net@freebsd.org Subject: Re: Transpanent SQUID proxy In-Reply-To: <20020830112541.G7671-100000@spider.suxx.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you need to run ipfw with a fwd rule on BOTH machines. on the first machine you need to send it to teh 2nd machine. On the 2nd machine you need to 'capture' it and send it to the squid socket. The rules in both cases shold be quite simiar.. also make sure your rules do NOT capture the output requests from squid, or you get a loop. On Fri, 30 Aug 2002, David Delibasic wrote: > Hello :) > > Has anyone successfuly configured transpanent www squid proxy to on other > machine? I've tryed `ipfw add fwd 10.0.0.4,3128 tcp from 10.0.0.0/24 to > any 80` and this seems not to work, because ipfw does not alter package > header and therefore it's not processed by my squid server (10.0.0.4). > I've also tried `ipfw add divert 8669 tcp from 0.0.0.0/24 to any 80` and > running `/sbin/natd -p 8669 -a 10.0.0.1 -proxy_only -proxy_rule > encode_tcp_stream port 80 server 10.0.0.4:3128` but this also doesn't > work. > > So, my question is: How to make it work ? > > Best regards, > D. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 11:17:12 2002 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 143A237B400 for ; Fri, 30 Aug 2002 11:17:10 -0700 (PDT) Received: from www.houstonbroncos.com (adsl-64-219-75-194.dsl.hstntx.swbell.net [64.219.75.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB6DF43E42 for ; Fri, 30 Aug 2002 11:17:08 -0700 (PDT) (envelope-from sfeagins@Bugdesign.com) Received: from www.houstonbroncos.com (www.houstonbronco.com [64.219.75.194]) by www.houstonbroncos.com (8.11.6/8.11.6) with ESMTP id g7UIU7r61796 for ; Fri, 30 Aug 2002 13:30:07 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [64.219.75.197] From: "Sam Feagins" To: freebsd-net@FreeBSD.ORG Subject: Re: mpd config help Date: Fri, 30 Aug 2002 18:30:07 +0000 Message-ID: <20020830.atz.62240500@www.houstonbroncos.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: phpGroupWare (http://www.phpgroupware.org) v 0.9.14.000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yes unfortunately it is enabled. I've also just upgraded to MPD 3.8 and it still does it..... Sam Archie Cobbs (archie@dellroad.org) wrote*: > >Sam Feagins writes: >> I've searched high and low to find a answer to this problem. I've >> got to connect my BSD 4.5 box to a M$ PPTP server. This BSD box >> acts as a gateway for several machines so in essence when this BSD >> box connects to remote network, I would like to have the clients >> packets also forward over to the remote network. I chose mpd b/c >> it has dial on demand. I can get the box to connect with mpd and >> work just fine to the remote network, but the local client packets >> don't get forwarded over there. But here's the wierd thing, I can >> get pptp-client to connect, and the internal network can ping across >> to the remote network. So I assume that if pptp- client can work >> so can mpd? Here's my mpd.conf file. > >Did you check that sysctl net.inet.ip.forwarding=1 ? > >-Archie > >__________________________________________________________________________ >Archie Cobbs * Packet Design * http://www.packetdesign.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 11:19:51 2002 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 CD56037B401 for ; Fri, 30 Aug 2002 11:19:44 -0700 (PDT) Received: from web10402.mail.yahoo.com (web10402.mail.yahoo.com [216.136.130.94]) by mx1.FreeBSD.org (Postfix) with SMTP id 55CC743E6A for ; Fri, 30 Aug 2002 11:19:44 -0700 (PDT) (envelope-from opolyakov@yahoo.com) Message-ID: <20020830181944.17425.qmail@web10402.mail.yahoo.com> Received: from [67.112.212.212] by web10402.mail.yahoo.com via HTTP; Fri, 30 Aug 2002 11:19:44 PDT Date: Fri, 30 Aug 2002 11:19:44 -0700 (PDT) From: Oleg Polyakov Subject: Re: Wireless To: freebsd-mobile@freebsd.org Cc: freebsd-net@freebsd.org In-Reply-To: <003101c25037$7d015d60$0500a8c0@incofisa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --- Simeó_Reig wrote: > > you best bet is I think a Prism-II based card. > > Ok, But > 1) I don't know if *any card* based on prism II chipset can be recognized by > freeBSD. man wi gives you list of cards and chipsets > 2) Conceptronics C11iDT is a whireless card based on this chipset, but PCI > card is a PCMCIA > (I hope not a cardbus) with a PCI<->PCMCIA card, I do'nt known if in point > of view of > Hardware it's a PCI or a PCMCIA/ CardBUS > > http://www.conceptronic.net/products.asp?p=C11iDT&Aktie=1&mt=C11iDT&mp=11 That card is not on the supported cards list, it may work or may not... ---- Oleg > Thanks > > Simeo > Barcelona (Spain) > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 14:26:32 2002 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 4180837B400 for ; Fri, 30 Aug 2002 14:26:28 -0700 (PDT) Received: from www.houstonbroncos.com (adsl-64-219-75-194.dsl.hstntx.swbell.net [64.219.75.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CFC743E4A for ; Fri, 30 Aug 2002 14:26:27 -0700 (PDT) (envelope-from sfeagins@Bugdesign.com) Received: from www.houstonbroncos.com (www.houstonbronco.com [64.219.75.194]) by www.houstonbroncos.com (8.11.6/8.11.6) with ESMTP id g7ULdMr63882 for ; Fri, 30 Aug 2002 16:39:22 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [64.219.75.197] From: "Sam Feagins" To: freebsd-net@freebsd.org Subject: Re: mpd config help Date: Fri, 30 Aug 2002 21:39:22 +0000 Message-ID: <20020830.pTN.33113300@www.houstonbroncos.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: phpGroupWare (http://www.phpgroupware.org) v 0.9.14.000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok, I started all the way over, I re-did the box, enabled IPnat for the internal network to get out. Installed MPD 3.8. Redid the script from scratch, and still the same thing. The BSD box gets through just fine to the remote network, but it doesn't pass anything from the local network through. I can ping the ip address that the BSD box gets , but not the pptp server. This is all from the internal network. Does this sound like a routing problem? What routes should I specify in the mpd.conf file with the set iface route command? Should I use the default keyword? Thanks! Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 15:20:11 2002 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 B110837B400 for ; Fri, 30 Aug 2002 15:20:02 -0700 (PDT) Received: from measurement-factory.com (measurement-factory.com [206.168.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4183243E6A for ; Fri, 30 Aug 2002 15:20:02 -0700 (PDT) (envelope-from rousskov@measurement-factory.com) Received: from measurement-factory.com (localhost [127.0.0.1]) by measurement-factory.com (8.12.5/8.12.5) with ESMTP id g7UMJv4S086749; Fri, 30 Aug 2002 16:19:57 -0600 (MDT) (envelope-from rousskov@measurement-factory.com) Received: (from rousskov@localhost) by measurement-factory.com (8.12.5/8.12.5/Submit) id g7UMJusP086748; Fri, 30 Aug 2002 16:19:56 -0600 (MDT) (envelope-from rousskov) Date: Fri, 30 Aug 2002 16:19:56 -0600 (MDT) From: Alex Rousskov To: David Delibasic Cc: freebsd-net@FreeBSD.ORG Subject: Re: Transpanent SQUID proxy In-Reply-To: <20020830112541.G7671-100000@spider.suxx.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org David, If other answers do not provide enough information, please see "17. Interception Caching/Proxying" and "17.8 Interception caching with FreeBSD" sections of Squid FAQ and post questions to squid-users mailing list for further support. http://www.squid-cache.org/Doc/FAQ/FAQ-17.html http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.8 Good luck, Alex. -- | HTTP performance - Web Polygraph benchmark www.measurement-factory.com | HTTP compliance+ - Co-Advisor test suite | all of the above - PolyBox appliance On Fri, 30 Aug 2002, David Delibasic wrote: > Hello :) > > Has anyone successfuly configured transpanent www squid proxy to on other > machine? I've tryed `ipfw add fwd 10.0.0.4,3128 tcp from 10.0.0.0/24 to > any 80` and this seems not to work, because ipfw does not alter package > header and therefore it's not processed by my squid server (10.0.0.4). > I've also tried `ipfw add divert 8669 tcp from 0.0.0.0/24 to any 80` and > running `/sbin/natd -p 8669 -a 10.0.0.1 -proxy_only -proxy_rule > encode_tcp_stream port 80 server 10.0.0.4:3128` but this also doesn't > work. > > So, my question is: How to make it work ? > > Best regards, > D. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 16:35: 6 2002 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 4892537B400 for ; Fri, 30 Aug 2002 16:34:57 -0700 (PDT) Received: from pipenetworks.com (cartman.pipenetworks.com [202.4.251.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7B5F43E6E for ; Fri, 30 Aug 2002 16:34:55 -0700 (PDT) (envelope-from steve@pipenetworks.com) Received: (from root@localhost) by pipenetworks.com (8.11.2/8.11.2) id g7UNXLf13528; Sat, 31 Aug 2002 09:33:21 +1000 From: Steve Baxter Received: from internal.pipenetworks.com (internal.pipenetworks.com [10.10.10.1]) by pipenetworks.com (8.11.2/8.11.2) with ESMTP id g7UNXLr13497; Sat, 31 Aug 2002 09:33:21 +1000 Received: from internal (internal [10.10.10.1]) by internal.pipenetworks.com (8.11.2/8.11.2) with ESMTP id g7UNc9422696; Sat, 31 Aug 2002 09:38:09 +1000 Date: Sat, 31 Aug 2002 09:38:09 +1000 (EST) To: Attila Nagy Cc: Subject: Re: 802.1q trunks In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Attila, > Hello, > > > I was wondering if it is possible to do the following with a combination > > of FreeSDB and netgraph. I am trying to tunnel multiple VLAN over an IP > > network - bridging an 802.1q trunk as per the text diagram below. I am > > trying to trasnport all of the vlans between the switches. > If you could try this out, please share your experiences with me! > > I plan to do the same, but not yet got to the point where I have the > actual testbed. > > I think there will be some problems, although. The first could be the > length of the header. The VLAN stuff increases that, so if something > checks for the correct Ethernet frame header size it will fail. I presently use vtun and netgraph bridging. I think one way to go may be to : o define all vlans on the BSD boxes at either end ifconfig vlan0 create ifconfig vlan1 create .... ifconfig vlan10 create o bring the vlans at both ends up and bind them to the trunk where fxp0 is the interface plugged into the switch trunk port ifconfig vlan0 vlan 20 vlandev fxp0 ifconfig vlan1 vlan 21 vlandev fxp0 .... ifconfig vlan10 vlan 30 vlandev fxp0 o then bridge all vlans together with the tap0 vtun interface. -- Stephen Baxter Director - PIPE Networks phone : 07 3220 1100/ 0417 818 695 fax : 07 3220 1800 ______________________________________ This e-mail is intended for its recipients only. If this e-mail has been sent to you in error, please delete it and notify the sender by reply e-mail. The information contained in this message and/or its attachments may be confidential. Please do not read, save, forward, disclose, or copy the contents of this email. Any views expressed in this Communication are those of the individual sender, except where the sender specifically states them to be the views of PIPE Networks/IX Services Australia Pty Ltd. Except as required at law, PIPE Networks/IX Services Australia Pty Ltd does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or inference. If any quotations for work are included in this email then unless otherwise stated the prices do not include GST, the quotation is only valid for 30 days unless otherwise stated, Gigabit/Gigabytes means 1,000,000,000 bits/bytes, Megabit/megabyte means 1,000,000 bits/bytes, kilobit/kilobyte means 1,000 bits/bytes and 1 days signifies 1 working day in the city of Brisbane. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Aug 30 17:15: 6 2002 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 9F8C237B401 for ; Fri, 30 Aug 2002 17:15:03 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0070843E42 for ; Fri, 30 Aug 2002 17:15:03 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id RAA68704; Fri, 30 Aug 2002 17:01:26 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7V00Ga53926; Fri, 30 Aug 2002 17:00:16 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208310000.g7V00Ga53926@arch20m.dellroad.org> Subject: Re: mpd config help In-Reply-To: <20020830.pTN.33113300@www.houstonbroncos.com> "from Sam Feagins at Aug 30, 2002 09:39:22 pm" To: Sam Feagins Date: Fri, 30 Aug 2002 17:00:16 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Please trim your lines to les than 80 columns.. I've reformatted your question.. Sam Feagins writes: > Ok, I started all the way over, I re-did the box, enabled IPnat for > the internal network to get out. Installed MPD 3.8. Redid the > script from scratch, and still the same thing. The BSD box gets > through just fine to the remote network, but it doesn't pass anything > from the local network through. I can ping the ip address that the > BSD box gets , but not the pptp server. This is all from the > internal network. > > Does this sound like a routing problem? What routes should I specify > in the mpd.conf file with the set iface route command? Should I > use the default keyword? If the BSD box can reach the remote network but not internal clients, then it definitely sounds like a routing problem. Try running tcpdump on (a) your internal network interface, (b) ng0, and (c) your external network interface to see how far packets are getting. Do you have firewall rules installed? Does the remote server know that the route to your internal network is via the PPTP connection? -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Aug 31 0:11: 8 2002 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 0AA0037B400 for ; Sat, 31 Aug 2002 00:11:06 -0700 (PDT) Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by mx1.FreeBSD.org (Postfix) with SMTP id B81D943E6E for ; Sat, 31 Aug 2002 00:11:04 -0700 (PDT) (envelope-from bra@fsn.hu) Received: (qmail 1522 invoked by uid 1000); 31 Aug 2002 07:11:05 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 Aug 2002 07:11:05 -0000 Date: Sat, 31 Aug 2002 09:11:05 +0200 (CEST) From: Attila Nagy To: Steve Baxter Cc: freebsd-net@freebsd.org Subject: Re: 802.1q trunks In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, > I think one way to go may be to : > o then bridge all vlans together with the tap0 vtun interface. Transparent trunk port bridging would be better, but you may be right. Last time I tried, I couldn't do bridging between two VLANs on the same switch (STP switched off) with OpenBSD. I don't know about FreeBSD although... --------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Aug 31 0:58:59 2002 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 0D99437B400 for ; Sat, 31 Aug 2002 00:58:57 -0700 (PDT) Received: from quack.kfu.com (adsl-67-113-12-90.dsl.snfc21.pacbell.net [67.113.12.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6099743E42 for ; Sat, 31 Aug 2002 00:58:56 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from icarus.kfu.com (icarus.kfu.com [IPv6:3ffe:1200:301b:2:230:abff:fe06:62e5]) by quack.kfu.com (8.12.3/8.12.3) with ESMTP id g7V7wskb030491 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Sat, 31 Aug 2002 00:58:55 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (localhost [127.0.0.1]) by icarus.kfu.com (8.12.5/8.12.5) with ESMTP id g7V7wnDw019558 for ; Sat, 31 Aug 2002 00:58:49 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Message-ID: <3D707738.6050805@quack.kfu.com> Date: Sat, 31 Aug 2002 00:58:48 -0700 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1b) Gecko/20020727 X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: IPv6 PPP - the real issues Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok. I sort of misunderstood the problem(s). The current behavior is this: 1. When you create a tun device, it ends up getting a non-p2p link-local address. This winds up confusing things because ppp will bring up a link-local p2p address pair, and outgoing packets wind up with the wrong source address. Deleting the spurious link-local address makes link-local connectivity work with Brian Somer's latest stuff. I believe that "auto_linklocal=1" is doing this. I suspect that that behavior is inappropriate for tunnel devices. 2. I can establish link-local connectivity just fine, but attempting to set up an rtadvd on the 'server' and and an rtsol on the 'client' end doesn't seem to do anything. I can run a tcpdump and see the router solicitations head upstream and the router advertisments in reply go downstream, but nothing ever gets added. If I'm not mistaken, the kernel is responsible for processing received router / prefix solicitations, right? So why isn't it processing these ones? 3. If I manually make up a /64 and set up an anycast alias for the 0 address (all-routers) and a manual route to that subnet on the tunnel device on the server, and manually add that prefix on the client, everything works correctly. The fact that I must add the prefixed address manually to the client is, I believe, more or less the last stumbling block. My goal is to document the process of setting up an IPv6 only dialup ISP. Customers would get a dynamic 64 bit prefix, which they could share with neighbor discovery proxying if they want. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Aug 31 12:19:54 2002 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 ADC5B37B400; Sat, 31 Aug 2002 12:19:50 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D82D443E42; Sat, 31 Aug 2002 12:19:46 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7VJJN2F055452; Sat, 31 Aug 2002 13:19:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 31 Aug 2002 13:19:06 -0600 (MDT) Message-Id: <20020831.131906.20917503.imp@bsdimp.com> To: simeo@incofisa.com Cc: julian@elischer.org, freebsd-mobile@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Wireless From: "M. Warner Losh" In-Reply-To: <003101c25037$7d015d60$0500a8c0@incofisa.com> References: <003101c25037$7d015d60$0500a8c0@incofisa.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <003101c25037$7d015d60$0500a8c0@incofisa.com> Sime=F3 Reig writes: : 1) I don't know if *any card* based on prism II chipset can be recogn= ized by : freeBSD. The wi man page talks about prism II, prism 2.5 and prism 3 cards being supported by that driver. I'd be typing on one right now, but todays 'random' wireless card was a cisco. Yesterday's was a prism 2 CF card. : 2) Conceptronics C11iDT is a whireless card based on this chipset, bu= t PCI : card is a PCMCIA : (I hope not a cardbus) with a PCI<->PCMCIA card, I do'nt known if in= point : of view of : Hardware it's a PCI or a PCMCIA/ CardBUS : = : http://www.conceptronic.net/products.asp?p=3DC11iDT&Aktie=3D1&mt=3DC1= 1iDT&mp=3D11 Maybe it will work. Most of the pci based things are supported. I think this would work, but can't guarantee it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message