From owner-freebsd-net Sun Sep 1 17:29: 9 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 C03E637B400 for ; Sun, 1 Sep 2002 17:29:04 -0700 (PDT) Received: from mail.synvision.com.tw (mail.synvision.com.tw [210.242.39.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3047443E4A for ; Sun, 1 Sep 2002 17:28:47 -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 g820SZl7047260 for ; Mon, 2 Sep 2002 08:28:35 +0800 (CST) (envelope-from ericlin@ericlin.cabin.idv.tw) Message-ID: <002b01c25217$a6842a00$fa01a8c0@synvision.com.tw> From: "Jui-Nan Eric Lin" To: References: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw> <20020830090012.A53982@iguana.icir.org> Subject: Re: Question about bridge(4): loop without physical loop Date: Mon, 2 Sep 2002 08:28:24 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.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, I have searched with keyword "aa:aa:aa:aa:aa:aa" and get the same result. It said that those might be collisions on the net. So I tried to reduce collisions, but the message still appears. (not frequently) If you have made a patch, please let me know. Thanks. Sincerely, Jui-Nan Eric Lin ----- Original Message ----- From: "Luigi Rizzo" To: "Jui-Nan Eric Lin" Cc: Sent: Saturday, August 31, 2002 12:00 AM Subject: Re: Question about bridge(4): loop without physical loop > 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 Sun Sep 1 23: 8:47 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 DC5F037B400 for ; Sun, 1 Sep 2002 23:08:41 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B5D843E7B for ; Sun, 1 Sep 2002 23:08:41 -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 g8268XIb083482; Sun, 1 Sep 2002 23:08:33 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g8268T0t083478; Sun, 1 Sep 2002 23:08:29 -0700 (PDT) (envelope-from rizzo) Date: Sun, 1 Sep 2002 23:08:29 -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: <20020901230828.A83423@iguana.icir.org> References: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw> <20020830090012.A53982@iguana.icir.org> <002b01c25217$a6842a00$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: <002b01c25217$a6842a00$fa01a8c0@synvision.com.tw>; from ericlin@ericlin.cabin.idv.tw on Mon, Sep 02, 2002 at 08:28:24AM +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 On Mon, Sep 02, 2002 at 08:28:24AM +0800, Jui-Nan Eric Lin wrote: > hi, > > I have searched with keyword "aa:aa:aa:aa:aa:aa" and get the same result. > It said that those might be collisions on the net. So I tried to reduce > collisions, but the message still appears. (not frequently) > If you have made a patch, please let me know. Thanks. one thing to try could be in sys/net/if_ethersubr.c:ether_input() before the call to bridge_in_ptr() add if (m->m_len < 42) { /* XXX */ m_freem(m); return; } A min-sized frame is 60 bytes + CRC, but in that point you have already subtracted the MAC header and the CRC so the comparison should be against 46. However, if this pkt is a VLAN one, you might conceivably have shaved another 4 bytes so make it 42. If (in a future) we are going for multiple encapsulations the threshold could become even lower, but this is not the case now. cheers luigi > Sincerely, > Jui-Nan Eric Lin > > ----- Original Message ----- > From: "Luigi Rizzo" > To: "Jui-Nan Eric Lin" > Cc: > Sent: Saturday, August 31, 2002 12:00 AM > Subject: Re: Question about bridge(4): loop without physical loop > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 3:39:49 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 D397E37B400 for ; Mon, 2 Sep 2002 03:39:46 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 41AA743E7B for ; Mon, 2 Sep 2002 03:39:45 -0700 (PDT) (envelope-from haribeau@gmx.de) Received: (qmail 12712 invoked by uid 0); 2 Sep 2002 10:39:43 -0000 Received: from port-213-20-152-215.reverse.qdsl-home.de (HELO asterix.local) (213.20.152.215) by mail.gmx.net (mp014-rz3) with SMTP; 2 Sep 2002 10:39:43 -0000 Received: (qmail 470 invoked by uid 1000); 2 Sep 2002 10:45:58 -0000 Date: Mon, 2 Sep 2002 12:45:58 +0200 From: Clemens Hermann To: isp@freebsd.org, net@freebsd.org Subject: central user management for jails Message-ID: <20020902104558.GA431@asterix.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.4i X-Mailer: Mutt 1.4i (FreeBSD 4.6.2-RELEASE i386) 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, after a long run I finally did not find a way to manage users on the host system and make them availabe in several jails, all started on the host. I have tried NIS which did not work because of portmap. Several other solutions do not offer a way to manage an /etc/group replacement. NIS is quite what I am looking for, except - it does not work. Did anyone find a way to centrally manage a userbase on a machine running a bunch of jails which offers /etc/passwd and /etc/group replacement? Thanks a lot in advance /ch -- "Contrary to popular belief, Unix is user friendly. It just happens to be selective about who it makes friends with." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 8: 5: 1 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 2AE3737B400 for ; Mon, 2 Sep 2002 08:04:54 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A34FE43E65 for ; Mon, 2 Sep 2002 08:04: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 g82F4rIb087330; Mon, 2 Sep 2002 08:04: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 g82F4qIO087329; Mon, 2 Sep 2002 08:04:52 -0700 (PDT) (envelope-from rizzo) Date: Mon, 2 Sep 2002 08:04:52 -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: <20020902080452.C87097@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 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. as discussed, the problem has to do with ipfw1 storing the port number in host instead of network format (as just about everything else does). As Ian suggested, the correct fix would be to change the kernel and ipfw1 to use network format for port numbers. However, making ipfw2 use host format seems a lot less intrusive, Can people test the patch below -- it applies to both -current and -stable. cheers luigi Index: ipfw2.c =================================================================== RCS file: /home/ncvs/src/sbin/ipfw/ipfw2.c,v retrieving revision 1.12 diff -u -r1.12 ipfw2.c --- ipfw2.c 19 Aug 2002 12:36:54 -0000 1.12 +++ ipfw2.c 2 Sep 2002 15:01:31 -0000 @@ -908,7 +908,7 @@ printf("fwd %s", inet_ntoa(s->sa.sin_addr)); if (s->sa.sin_port) - printf(",%d", ntohs(s->sa.sin_port)); + printf(",%d", s->sa.sin_port); } break; @@ -2592,7 +2592,7 @@ if (s == end) errx(EX_DATAERR, "illegal forwarding port ``%s''", s); - p->sa.sin_port = htons( (u_short)i ); + p->sa.sin_port = (u_short)i; } lookup_host(*av, &(p->sa.sin_addr)); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 13:20: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 4536937B400 for ; Mon, 2 Sep 2002 13:20:49 -0700 (PDT) Received: from brightstar.ath.cx (mplsdslgw28poolA121.mpls.uswest.net [63.231.168.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 294A443E4A for ; Mon, 2 Sep 2002 13:20:48 -0700 (PDT) (envelope-from gene@bomgardner.net) Received: from morningstar (morningstar.ath.cx [192.168.123.1]) by brightstar.ath.cx (8.11.3/8.11.3) with ESMTP id g82KKjV00707 for ; Mon, 2 Sep 2002 15:20:46 -0500 (CDT) (envelope-from gene@bomgardner.net) From: "Gene Bomgardner" To: FreeBSD-net@freebsd.org Date: Mon, 2 Sep 2002 15:20:32 -0500 MIME-Version: 1.0 Subject: Gateway not passing packets between interfaces Reply-To: Gene@bomgardner.net Message-ID: <3D7381C0.18427.BE1BB0B@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 Greetings... Thanks to those who have replied to this issue. Despite their advice, the problem persists. I have a 4.3 FreeBSD box that has been running as a gateway for some time now. Recently, for some reason, it has now stopped passing data between nets. physical setup is: [ FreeBSD Box] LAN --> [dc0 <-----> rl0] --> DSL router/modem dc0 serves subnet 192.168.123 rl0 serves subnet 192.168.1 tcpdump confirms that tcp packets are arriving at the dc0 interface, but not leaving rl0. Access directly from the FBSD box to the Internet via rl0 works fine. All access from the LAN to FBSD box via dc0 works fine as well. packets just don't pass from dc0 to rl0. I haven't made any changes lately that I can think of. Any ideas greatly appreciated. Thanks. - - - - - - - - system info - - - - - - - - - - net.inet.ip.forwarding is set to "1" From /etc/rc.conf: ----------------------- defaultrouter="192.168.1.1" hostname="brightstar.ath.cx" ifconfig_rl0="inet 192.168.1.2 netmask 255.255.255.252" ifconfig_dc0="inet 192.168.123.8 netmask 255.255.255.0" inetd_enable="YES" kern_securelevel_enable="NO" sendmail_enable="YES" sshd_enable="YES" # -- sysinstall generated deltas -- # kern_securelevel="1" kern_securelevel_enable="NO" router_flags="-q" router="routed" router_enable="NO" gateway_enable="YES" named_enable="No" Netstat -r output : ----------------------- Routing tables Internet: Destination Gateway Flags Refs Use Netif default 192.168.1.1 UGSc 7 222 rl0 localhost localhost UH 1 21 lo0 192.168.1 link#2 UC 0 0 rl0 => 192.168.123 link#1 UC 0 0 dc0 => ifconfig output: ----------------- dc0: flags=8843 mtu 1500 inet 192.168.123.8 netmask 0xffffff00 broadcast 192.168.123.255 inet6 fe80::204:5aff:fe69:460c%dc0 prefixlen 64 scopeid 0x1 ether 00:04:5a:69:46:0c media: autoselect (100baseTX ) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none rl0: flags=8843 mtu 1500 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::250:bfff:fe3f:526d%rl0 prefixlen 64 scopeid 0x2 ether 00:50:bf:3f:52:6d media: autoselect (none) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX God's Blessings, Gene To everything there is a season, and a time to every purpose under heaven. Ecl 3:1 - and more recently, The Byrds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 17:50: 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 7F80337B400 for ; Mon, 2 Sep 2002 17:49:59 -0700 (PDT) Received: from smtp2.vol.cz (smtp2.vol.cz [195.250.128.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F4CE43E4A for ; Mon, 2 Sep 2002 17:49:58 -0700 (PDT) (envelope-from dan@obluda.cz) Received: from obluda.cz (xkulesh.vol.cz [195.250.154.106]) by smtp2.vol.cz (8.12.5/8.12.5) with ESMTP id g830nvtV024751 for ; Tue, 3 Sep 2002 02:49:57 +0200 (CEST) (envelope-from dan@obluda.cz) Message-ID: <3D6EE15E.1060508@obluda.cz> Date: Fri, 30 Aug 2002 05:07:10 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020524 X-Accept-Language: en, cs MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Limited broadcast procesing (still unanswered question) Content-Type: text/plain; charset=iso-8859-2; 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 Hi, as I got no response to my question sent to -hackers several months ago, I want to repeat it there. (first incarnation of the question has been sent to -question on November 21, 2001, no response) -net seems to be more apropriate forum ... Dan -------- Original Message -------- Subject: Limited broadcast procesing. Date: Sun, 11 Feb 2002 23:36:24 +0100 From: Dan Lukes Hi. I don't understand some aspects of processing of packets with destination address 255.255.255.255 a) if first interface is broadcast capable then the destination address is unconditionally rewritten with no warning to first subnet network broadcast address on that interface and send; else the destination address is left intact and continue to b) b) if SO_DONTROUTE not set then routing table apply (most important rule is "default"); else packet discarded (no route to ...) My first question: Why the silent rewritting of one destination address to other is used ? There must be a good reason to change explicit user request and rewrite it to another one, but I have no idea about it. I tracked history of it code in in_pcb.c - I found it in 4.3BSD (dated 6/29/88) - so it's an ancient relict ? Second question(s): How to send a packet to limited broadcast address over specific interface (using standard socket interface, not bpf)? If there no way to do it, should be ? If there is no way to do it and should be, I have a idea how to do it. If source address is set to a interface address and SO_DONTROUTE is in effect, then packet adressed to limited broadcast is sent over the interface specified by the source address (current processing discard it with "no route to ..." unless silent rewritting of destination address do it's dirty work). The silent rewriting of destination address must not occur for those packets. It is acceptable ? I see no contraindication. I read the sys/netinet/ from first line to last line several times, but it's possible i'm missed something, of course. Dan Please note the english isn't my native language, but I hope it's readable. -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 18:25: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 0FC3537B400 for ; Mon, 2 Sep 2002 18:25:23 -0700 (PDT) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA11F43E3B for ; Mon, 2 Sep 2002 18:25:20 -0700 (PDT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.2) with SMTP id LAA26823; Tue, 3 Sep 2002 11:24:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 3 Sep 2002 11:24:51 +1000 (EST) From: Ian Smith To: Gene Bomgardner Cc: FreeBSD-net@FreeBSD.ORG Subject: Re: Gateway not passing packets between interfaces In-Reply-To: <3D7381C0.18427.BE1BB0B@localhost> 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 On Mon, 2 Sep 2002, Gene Bomgardner wrote: > [ FreeBSD Box] > LAN --> [dc0 <-----> rl0] --> DSL router/modem > > dc0 serves subnet 192.168.123 > rl0 serves subnet 192.168.1 [..] > net.inet.ip.forwarding is set to "1" > > >From /etc/rc.conf: > ----------------------- > > defaultrouter="192.168.1.1" > hostname="brightstar.ath.cx" > ifconfig_rl0="inet 192.168.1.2 netmask 255.255.255.252" A two-host subnet, with a broadcast address of 192.168.1.3 is it not? > ifconfig_dc0="inet 192.168.123.8 netmask 255.255.255.0" Looks ok from here. [..] > dc0: > flags=8843 > mtu 1500 > inet 192.168.123.8 netmask 0xffffff00 broadcast 192.168.123.255 Looks ok (pass on the inet6 and media options) > rl0: > flags=8843 > mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 Netmask and broadcast don't tally with the ifconfig_rl0 shown above. Cheers, Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Sep 2 22:18: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 D68B237B401 for ; Mon, 2 Sep 2002 22:18:34 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9588A43E42 for ; Mon, 2 Sep 2002 22:18:32 -0700 (PDT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.12.5/8.12.5) with ESMTP id g835IOie099400 for ; Tue, 3 Sep 2002 13:18:24 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.12.5/8.12.5/Submit) id g835IJgb099394 for net@freebsd.org; Tue, 3 Sep 2002 13:18:19 +0800 (KRAST) Date: Tue, 3 Sep 2002 13:18:18 +0800 From: Eugene Grosbein To: net@freebsd.org Subject: BSD telnet and raw socket Message-ID: <20020903131818.A99059@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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! How do I configure/patch FreeBSD's telnet to obtain such mode of operation: it connects to server, answers to TELENET negotiation and switches to "raw socket" mode. I need this to redirect stdin containing PPP to cisco's VTY-Async. Plain "telnet -8EKNy cisco" doesn't work for PPP. Please CC: me. Thank you. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 1:41: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 916FC37B401 for ; Tue, 3 Sep 2002 01:41:37 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BE643E4A for ; Tue, 3 Sep 2002 01:41:37 -0700 (PDT) (envelope-from bvagnoni@comcast.net) Disposition-notification-to: bvagnoni@comcast.net Received: from system1 (pcp01325377pcs.pwayne01.pa.comcast.net [68.81.19.184]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0H1U0076NTF2E5@mtaout05.icomcast.net> for freebsd-net@freebsd.org; Tue, 03 Sep 2002 04:40:14 -0400 (EDT) Date: Tue, 03 Sep 2002 04:39:44 -0400 From: bvagnoni@comcast.net Subject: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router To: freebsd-net@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: 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 Dear All;; I have a 4.6.2 box connected to a Firebox 700, which is doing one to one nat. The firebox is setup to take public ip 64.220.249.197/29, gateway 64.220.249.193 and translate it to 192.168.1.103/24, gateway 192.168.1.1. I can ping the private gateway, the box itself and other computers on the network, But I can not ping anything out side of it. I have other machince none freebsd boxes on the same private network that can get out on the net fine without any problems. The interface that I'm using is called sf0 which is attached to an adpatec nic card which is connected to the firebox. The contents of my rc.conf file are as follows: defaultrouter="192.168.1.1" hostname="system3.v-system.net" ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="YES" nfs_reserved_port="YES" sendmail_enable="YES" sshd_enable="YES" nfs_server_enable="YES" gateway_enable="YES" firewall_enable="YES" firewall_type="OPEN" natd_enable="YES" natd_interface="sf0" natd_flags="" sysctl net.inet.ip.forwarding=1 natd is not listed in services I took it out as it didn't seem to help helping it in there. other available interfaces are fxp0(unused intel nic card) ppp0, sl0, faith0 I don't care about a firewall as it's totally behind the firebox 700. I just want to be able to send and receiev packets to and from the internet to that box. WHat am I dong wrong. Please any help, it's 4am here and I've looked though the man, the 2 years worht of e-mails and I just can't find the answer. I wish there was a faq about this subject. It seems like a common problem SO please I have a server that is down right now if you could help I would be enternally gateful. Please please I so burnt at this point. Sincerely Brian PS I have the following options compiled in my kernel: cd /usr/src/sys/i386/conf cp GENRIC SYSTEM3 edit SYSTEM3 placed those lines in there under the other option lines options IPFIREWALL options IPDIVERT options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE save & exit cd /usr/src make buildkernel KENCONF=SYSTEM3 make installkernel KENCONF=SYSTEM3 sync reboot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 4:18: 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 69F8C37B400 for ; Tue, 3 Sep 2002 04:18:02 -0700 (PDT) Received: from femme.sapphite.org (pcp02268182pcs.longhl01.md.comcast.net [68.50.99.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id F001543E4A for ; Tue, 3 Sep 2002 04:17:53 -0700 (PDT) (envelope-from trish@bsdunix.net) Received: from localhost (trish@localhost [127.0.0.1]) by femme.sapphite.org (8.12.5/8.12.5) with ESMTP id g83BHxeR013962; Tue, 3 Sep 2002 07:18:00 -0400 (EDT) (envelope-from trish@bsdunix.net) Date: Tue, 3 Sep 2002 07:17:59 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Cc: Subject: Re: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router In-Reply-To: Message-ID: <20020903071401.K437-100000@femme.sapphite.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 On Tue, 3 Sep 2002 bvagnoni@comcast.net wrote: > Dear All;; > > I have a 4.6.2 box connected to a Firebox 700, which is doing one to one > nat. The firebox is setup to take public ip 64.220.249.197/29, gateway > 64.220.249.193 and translate it to 192.168.1.103/24, gateway 192.168.1.1. > > I can ping the private gateway, the box itself and other computers on the > network, But I can not ping anything out side of it. I have other machince > none freebsd boxes on the same private network that can get out on the net > fine without any problems. > > The interface that I'm using is called sf0 which is attached to an adpatec > nic card which is connected to the firebox. > > The contents of my rc.conf file are as follows: > > defaultrouter="192.168.1.1" > hostname="system3.v-system.net" > ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port="YES" > sendmail_enable="YES" > sshd_enable="YES" > nfs_server_enable="YES" > gateway_enable="YES" uhhh why? is this machine a router for other machines? > firewall_enable="YES" if its open why bother with this... > firewall_type="OPEN" and this.... > natd_enable="YES" if its not routing packets for other machines...turn this off > natd_interface="sf0" delete that > natd_flags="" delete that > sysctl net.inet.ip.forwarding=1 > this is the same as `gateway_enable="YES"` > natd is not listed in services I took it out as it didn't seem to help > helping it in there. > > other available interfaces are fxp0(unused intel nic card) ppp0, sl0, faith0 > > I don't care about a firewall as it's totally behind the firebox 700. I just > want to be able to send and receiev packets to and from the internet to that > box. > well I'm still confused as to how the network is actually set up here. > WHat am I dong wrong. Please any help, it's 4am here and I've looked though > the man, the 2 years worht of e-mails and I just can't find the answer. I > wish there was a faq about this subject. It seems like a common problem > obviously not. its just you :) > SO please I have a server that is down right now if you could help I would > be enternally gateful. Please please I so burnt at this point. > > options IPFIREWALL > options IPDIVERT > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > shouldn;t make a difference. > > save & exit > > cd /usr/src > > make buildkernel KENCONF=SYSTEM3 > make installkernel KENCONF=SYSTEM3 > sync > reboot > -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 6: 3: 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 C59BF37B400 for ; Tue, 3 Sep 2002 06:02:56 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EAA543E75 for ; Tue, 3 Sep 2002 06:02:56 -0700 (PDT) (envelope-from bvagnoni@comcast.net) Disposition-notification-to: bvagnoni@comcast.net Received: from system1 (pcp01325377pcs.pwayne01.pa.comcast.net [68.81.19.184]) by mtaout06.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0H1V0012Y5JUT7@mtaout06.icomcast.net> for freebsd-net@freebsd.org; Tue, 03 Sep 2002 09:02:19 -0400 (EDT) Date: Tue, 03 Sep 2002 09:01:48 -0400 From: bvagnoni@comcast.net Subject: FW: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router To: freebsd-net@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: 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 Dear Trish; Hi. No it's not a router for other machines. It's just a machine behind a router the Watch Firebox 700 that I wnat to allow to send and receive packets to and fromt he internet. internet 64.229.249.194/29 -----> 1 to 1 NAT for addresses 64.220.249.195-198 --- 192.168.1.101 - 104 firebox router 64.220.249.193 ---- >> 192.168.1.1 | | | |----------------------|--------------------------|------------windows box windows web server windows box freebsdbox 192.168.1.101 192.168.1.102 192.168.1..103 192.168.1.104 I hope that derfined my network better for you. Sincerely Brian -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Trish Lynch Sent: Tuesday, September 03, 2002 7:18 AM To: bvagnoni@comcast.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router On Tue, 3 Sep 2002 bvagnoni@comcast.net wrote: > Dear All;; > > I have a 4.6.2 box connected to a Firebox 700, which is doing one to one > nat. The firebox is setup to take public ip 64.220.249.197/29, gateway > 64.220.249.193 and translate it to 192.168.1.103/24, gateway 192.168.1.1. > > I can ping the private gateway, the box itself and other computers on the > network, But I can not ping anything out side of it. I have other machince > none freebsd boxes on the same private network that can get out on the net > fine without any problems. > > The interface that I'm using is called sf0 which is attached to an adpatec > nic card which is connected to the firebox. > > The contents of my rc.conf file are as follows: > > defaultrouter="192.168.1.1" > hostname="system3.v-system.net" > ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port="YES" > sendmail_enable="YES" > sshd_enable="YES" > nfs_server_enable="YES" > gateway_enable="YES" uhhh why? is this machine a router for other machines? > firewall_enable="YES" if its open why bother with this... > firewall_type="OPEN" and this.... > natd_enable="YES" if its not routing packets for other machines...turn this off > natd_interface="sf0" delete that > natd_flags="" delete that > sysctl net.inet.ip.forwarding=1 > this is the same as `gateway_enable="YES"` > natd is not listed in services I took it out as it didn't seem to help > helping it in there. > > other available interfaces are fxp0(unused intel nic card) ppp0, sl0, faith0 > > I don't care about a firewall as it's totally behind the firebox 700. I just > want to be able to send and receiev packets to and from the internet to that > box. > well I'm still confused as to how the network is actually set up here. > WHat am I dong wrong. Please any help, it's 4am here and I've looked though > the man, the 2 years worht of e-mails and I just can't find the answer. I > wish there was a faq about this subject. It seems like a common problem > obviously not. its just you :) > SO please I have a server that is down right now if you could help I would > be enternally gateful. Please please I so burnt at this point. > > options IPFIREWALL > options IPDIVERT > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > shouldn;t make a difference. > > save & exit > > cd /usr/src > > make buildkernel KENCONF=SYSTEM3 > make installkernel KENCONF=SYSTEM3 > sync > reboot > -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD 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 Sep 3 6: 7: 0 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 AD3D037B400 for ; Tue, 3 Sep 2002 06:06:53 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42BCC43E4A for ; Tue, 3 Sep 2002 06:06:53 -0700 (PDT) (envelope-from bvagnoni@comcast.net) Disposition-notification-to: bvagnoni@comcast.net Received: from system1 (pcp01325377pcs.pwayne01.pa.comcast.net [68.81.19.184]) by mtaout06.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0H1V002V05RG0O@mtaout06.icomcast.net> for freebsd-net@FreeBSD.ORG; Tue, 03 Sep 2002 09:06:52 -0400 (EDT) Date: Tue, 03 Sep 2002 09:06:22 -0400 From: bvagnoni@comcast.net Subject: RE: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router In-reply-to: <20020903071401.K437-100000@femme.sapphite.org> To: Trish Lynch Cc: freebsd-net@FreeBSD.ORG Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: 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 Dear Trish; I tried what you suggested by taking out all the lines in rc.conf and it still won't route to the net. What am I doing wrong it's so frustrating. So my config looks like now: > defaultrouter="192.168.1.1" > hostname="system3.v-system.net" > ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port="YES" > sendmail_enable="YES" > sshd_enable="YES" > nfs_server_enable="YES" Sincerely Brian -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Trish Lynch Sent: Tuesday, September 03, 2002 7:18 AM To: bvagnoni@comcast.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router On Tue, 3 Sep 2002 bvagnoni@comcast.net wrote: > Dear All;; > > I have a 4.6.2 box connected to a Firebox 700, which is doing one to one > nat. The firebox is setup to take public ip 64.220.249.197/29, gateway > 64.220.249.193 and translate it to 192.168.1.103/24, gateway 192.168.1.1. > > I can ping the private gateway, the box itself and other computers on the > network, But I can not ping anything out side of it. I have other machince > none freebsd boxes on the same private network that can get out on the net > fine without any problems. > > The interface that I'm using is called sf0 which is attached to an adpatec > nic card which is connected to the firebox. > > The contents of my rc.conf file are as follows: > > defaultrouter="192.168.1.1" > hostname="system3.v-system.net" > ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port="YES" > sendmail_enable="YES" > sshd_enable="YES" > nfs_server_enable="YES" > gateway_enable="YES" uhhh why? is this machine a router for other machines? > firewall_enable="YES" if its open why bother with this... > firewall_type="OPEN" and this.... > natd_enable="YES" if its not routing packets for other machines...turn this off > natd_interface="sf0" delete that > natd_flags="" delete that > sysctl net.inet.ip.forwarding=1 > this is the same as `gateway_enable="YES"` > natd is not listed in services I took it out as it didn't seem to help > helping it in there. > > other available interfaces are fxp0(unused intel nic card) ppp0, sl0, faith0 > > I don't care about a firewall as it's totally behind the firebox 700. I just > want to be able to send and receiev packets to and from the internet to that > box. > well I'm still confused as to how the network is actually set up here. > WHat am I dong wrong. Please any help, it's 4am here and I've looked though > the man, the 2 years worht of e-mails and I just can't find the answer. I > wish there was a faq about this subject. It seems like a common problem > obviously not. its just you :) > SO please I have a server that is down right now if you could help I would > be enternally gateful. Please please I so burnt at this point. > > options IPFIREWALL > options IPDIVERT > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > shouldn;t make a difference. > > save & exit > > cd /usr/src > > make buildkernel KENCONF=SYSTEM3 > make installkernel KENCONF=SYSTEM3 > sync > reboot > -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD 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 Sep 3 6:20:50 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 D1CE237B400 for ; Tue, 3 Sep 2002 06:20:44 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E9C243E42 for ; Tue, 3 Sep 2002 06:20:44 -0700 (PDT) (envelope-from bvagnoni@comcast.net) Disposition-notification-to: bvagnoni@comcast.net Received: from system1 (pcp01325377pcs.pwayne01.pa.comcast.net [68.81.19.184]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0H1V0040N6EI6J@mtaout01.icomcast.net> for freebsd-net@freebsd.org; Tue, 03 Sep 2002 09:20:43 -0400 (EDT) Date: Tue, 03 Sep 2002 09:20:13 -0400 From: bvagnoni@comcast.net Subject: RE: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router In-reply-to: <20020903085909.E437-100000@femme.sapphite.org> To: Trish Lynch Cc: freebsd-net@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: 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 Dear Trish; I'm right back to where I stated from post install. I still can't route, all the manuals I've read say you need to have natd in there even if you are not running a gateway. Or at least I read them that way. I'm really graeteful for you help. I tried again what you suggested and I still can't route to the net. i can ping other computer on my network, and they can get out just fine, but I can't ping any of the dns server assign to me my by isp. Or any other dns server for that matter. The second I stick a routable ip address in there in won't work. Sincerely brian -----Original Message----- From: Trish Lynch [mailto:trish@bsdunix.net] Sent: Tuesday, September 03, 2002 9:03 AM To: bvagnoni@comcast.net Subject: Re: Need ER Help Setting Up My 4.6.2 Box Behind a Nated Router On Tue, 3 Sep 2002 bvagnoni@comcast.net wrote: > > defaultrouter="192.168.1.1" > hostname="system3.v-system.net" > ifconfig_sf0="inet 192.168.1.103 netmask 255.255.255.0" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port="YES" > sendmail_enable="YES" > sshd_enable="YES" > nfs_server_enable="YES" > gateway_enable="YES" gateway_enable="NO" > firewall_enable="YES" firewall_enable="NO" > firewall_type="OPEN" delete this > natd_enable="YES" delete this > natd_interface="sf0" delete this > natd_flags="" delete this > sysctl net.inet.ip.forwarding=1 delete this All you really need is for it to point all its packets out the default gateway, right now, its expecting to route packets between interfaces. I'm not sure it'll help, but its a start. I'm at work right now, so if its a matter of financial loss/gain, we do do "emergency support" on FreeBSD boxes and networks, if you need it. our Main Office Phone Number is: 410 872-4910, my extention is 207, and you can also talk to George or Theo (exts. 202 and 201), our rate is negotiable through them (they are my bosses) our website is at http://www.omniti.com -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 6:34:20 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 58C6C37B400 for ; Tue, 3 Sep 2002 06:34:18 -0700 (PDT) Received: from firmlai.bal.ru (firmlai.bal.ru [195.42.138.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 506F843E42 for ; Tue, 3 Sep 2002 06:34:13 -0700 (PDT) (envelope-from oleg@firmlai.bal.ru) Received: from oleg.bal.ru (oleg.bal.ru [195.42.138.3]) by firmlai.bal.ru (8.10.0.Beta6/oleg@bal.ru) with ESMTP id g83DY7j47706 for ; Tue, 3 Sep 2002 17:34:07 +0400 (MSD) Date: Tue, 3 Sep 2002 17:34:40 +0400 From: Oleg Borowkov X-Mailer: The Bat! (v1.61) Personal Reply-To: Oleg Borowkov Organization: LAI Firm X-Priority: 3 (Normal) Message-ID: <5626803237.20020903173440@firmlai.bal.ru> Disposition-Notification-To: oleg@firmlai.bal.ru To: freebsd-net@FreeBSD.ORG Subject: HostAP trouble... 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! Help me to solve problem: wi0 (prisma 2.5 PCI - Linksys wmp11) in hostap mode(4.6.2_STABLE) as AP at one end and WAP11(1.1 or 2.2) as Client AP at other end Wap11 write to log 'connected to AP 00:25:.....' ssid linksys,channel1,wep off (all identically at both side)... hostAP---air---wap11---tp---comp_client ping from hostAP to wap11 succes ping from comp_client to wap11 succes ping from hostAP to comp_client: tcpdump on client ed0: arp who-has 192.168.100.3 (64:3:0:0:0:0) tell 192.168.100.1 arp reply 192.168.100.3 is-at 0:50:bf:d8:88:67 tcpdump on wi0 hostap: arp who-has 192.168.100.3 (64:3:0:0:0:0) tell 192.168.100.1 arp reply 192.168.100.3 is-at 0:50:bf:d8:88:67 and ping 100% packet's lost ping from comp_client to hostAP: tcpdump's at both end: arp who-has 192.168.100.1 (64:3:0:0:0:0) tell 192.168.100.3 and ping 100% packet's lost but not work :-((( -- Oleg@firmlai.bal.ru icq:34687903 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 9:20:20 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 8C1BA37B400 for ; Tue, 3 Sep 2002 09:20:13 -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 12EFF43E65 for ; Tue, 3 Sep 2002 09:20:12 -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 g83GXQr26795; Tue, 3 Sep 2002 11:33:27 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [209.184.81.197] From: "Sam Feagins" To: "Archie Cobbs" Cc: freebsd-net@Freebsd.org Subject: Re: mpd config help Date: Tue, 03 Sep 2002 16:33:26 +0000 Message-ID: <20020903.xoS.76240700@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 Sorry about the lines..... >Try running tcpdump on >(a) your internal network interface I can see the ICMP request being sent out but nothing coming back >(b) ng0 Nothing is travelling on this interface >(c) your external network interface to see how far packets are getting. I see the request going out as ICMP, not a PPTP packet. >Do you have firewall rules installed? Does the remote server know >that the route to your internal network is via the PPTP connection No firewall at all, Just nat. I've tried with and without nat. I assume the remote server knows the route, as this scenario works just fine when I use pptpClient. So apparently it's sending out the packet on my external interface (fxp1). Here's my routing table w/ the mpd running. (I cut out the unimportant info) Destination Gateway default adsl-64-219-75-198 192.168.2 192.168.2.240 192.168.2.240 192.168.2.243 192.168.10 link#2 When I run ifconfig I see ng1 up with the following IP: inet 192.168.2.243 --> 192.168.2.240 netmask 0xffffffff Is that netmask bad? Thanks! Sam Archie Cobbs (archie@dellroad.org) wrote*: > > >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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 10:45:10 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 17A8E37B400 for ; Tue, 3 Sep 2002 10:45: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 4773343E81 for ; Tue, 3 Sep 2002 10:45: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 KAA07003; Tue, 3 Sep 2002 10:32:15 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g83HUjl80866; Tue, 3 Sep 2002 10:30:45 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209031730.g83HUjl80866@arch20m.dellroad.org> Subject: Re: mpd config help In-Reply-To: <20020903.xoS.76240700@www.houstonbroncos.com> "from Sam Feagins at Sep 3, 2002 04:33:26 pm" To: Sam Feagins Date: Tue, 3 Sep 2002 10:30:45 -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: > >Try running tcpdump on > >(a) your internal network interface > I can see the ICMP request being sent out but nothing coming back > > >(b) ng0 > Nothing is travelling on this interface > > >(c) your external network interface to see how far packets are getting. > I see the request going out as ICMP, not a PPTP packet. Then your outgoing packets are not being routed via the PPTP link. Try 'ping 192.168.2.240' from an inside machine .. I bet that works, because there *is* a route to 192.168.2.240 already. > >Do you have firewall rules installed? Does the remote server know > >that the route to your internal network is via the PPTP connection > > No firewall at all, Just nat. I've tried with and without nat. > I assume the remote server knows the route, as this scenario > works just fine when I use pptpClient. > > > So apparently it's sending out the packet on my external interface > (fxp1). Here's my routing table w/ the mpd running. > (I cut out the unimportant info) > Destination Gateway > default adsl-64-219-75-198 > 192.168.2 192.168.2.240 > 192.168.2.240 192.168.2.243 > 192.168.10 link#2 > > When I run ifconfig I see ng1 up with the following IP: > inet 192.168.2.243 --> 192.168.2.240 netmask 0xffffffff You need to add a 'set iface route ...' command to your mpd.conf so that your outgoing packets get routed via the PPTP link. You can do this manually via 'route add x.x.x.x/y -interface ng0'. What network(s) are on the other side of the link? Those are the ones you need to add routes for in mpd.conf. -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 Tue Sep 3 11:35: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 2EE5A37B400 for ; Tue, 3 Sep 2002 11:35:11 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CDA43E6A for ; Tue, 3 Sep 2002 11:35:10 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g83IZ9KD095737; Tue, 3 Sep 2002 12:35:09 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g83IZ8uI095736; Tue, 3 Sep 2002 12:35:08 -0600 (MDT) (envelope-from ken) Date: Tue, 3 Sep 2002 12:35:08 -0600 From: "Kenneth D. Merry" To: Charles Sprickman Cc: freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903123508.A95635@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="envbJBWh7q8WU6mo" 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 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 29, 2002 at 21:30:01 -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? The problem is still there. I've got a local patch in my tree to take care of it. Jonathan Lemon did some things to attempt to make it better, but they didn't fix the problem for me. I've attached a patch against -current that fixes it for me with the new fxp driver. (The patch in the message above is against the old fxp driver.) Ken -- Kenneth Merry ken@kdm.org --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_fxp.c.20020903" --- //depot/FreeBSD-current/src/sys/dev/fxp/if_fxp.c 2002/08/19 15:56:44 +++ //depot/FreeBSD-ken/src/sys/dev/fxp/if_fxp.c 2002/08/20 13:59:13 @@ -1696,10 +1696,10 @@ cbp->fc_delay_lsb = 0x1f; cbp->fc_delay_msb = 0x01; cbp->pri_fc_thresh = 3; - cbp->tx_fc_dis = 0; /* enable transmit FC */ + cbp->tx_fc_dis = 1; /* enable transmit FC */ cbp->rx_fc_restop = 1; /* enable FC restop frames */ cbp->rx_fc_restart = 1; /* enable FC restart frames */ - cbp->fc_filter = !prm; /* drop FC frames to host */ + cbp->fc_filter = 1; /* drop FC frames to host */ cbp->pri_fc_loc = 1; /* FC pri location (byte31) */ } --envbJBWh7q8WU6mo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 11:40: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 57EE337B400 for ; Tue, 3 Sep 2002 11:40:29 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id F390D43E6E for ; Tue, 3 Sep 2002 11:40:28 -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 g83IeSIb001722; Tue, 3 Sep 2002 11:40:28 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g83IeSts001721; Tue, 3 Sep 2002 11:40:28 -0700 (PDT) (envelope-from rizzo) Date: Tue, 3 Sep 2002 11:40:28 -0700 From: Luigi Rizzo To: "Kenneth D. Merry" Cc: Charles Sprickman , freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903114028.B1595@iguana.icir.org> References: <20020903123508.A95635@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020903123508.A95635@panzer.kdm.org>; from ken@kdm.org on Tue, Sep 03, 2002 at 12:35:08PM -0600 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 wouldn't call the thing a "problem" -- flow control packets are a feature which you can enable or disable. I have used something similar to your patch below, and noticed that just setting tx_fc_dis=1 (check the comment, btw) makes these frames disappear, i suppose that setting the bit causes some negotiation with the peer that disables their generation on both sides. cheers luigi On Tue, Sep 03, 2002 at 12:35:08PM -0600, Kenneth D. Merry wrote: ... > > 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? > > The problem is still there. I've got a local patch in my tree to take care > of it. > > Jonathan Lemon did some things to attempt to make it better, but they > didn't fix the problem for me. I've attached a patch against -current that > fixes it for me with the new fxp driver. (The patch in the message above > is against the old fxp driver.) > > Ken > -- > Kenneth Merry > ken@kdm.org > --- //depot/FreeBSD-current/src/sys/dev/fxp/if_fxp.c 2002/08/19 15:56:44 > +++ //depot/FreeBSD-ken/src/sys/dev/fxp/if_fxp.c 2002/08/20 13:59:13 > @@ -1696,10 +1696,10 @@ > cbp->fc_delay_lsb = 0x1f; > cbp->fc_delay_msb = 0x01; > cbp->pri_fc_thresh = 3; > - cbp->tx_fc_dis = 0; /* enable transmit FC */ > + cbp->tx_fc_dis = 1; /* enable transmit FC */ > cbp->rx_fc_restop = 1; /* enable FC restop frames */ > cbp->rx_fc_restart = 1; /* enable FC restart frames */ > - cbp->fc_filter = !prm; /* drop FC frames to host */ > + cbp->fc_filter = 1; /* drop FC frames to host */ > cbp->pri_fc_loc = 1; /* FC pri location (byte31) */ > } > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 11:55: 9 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 7A80A37B400 for ; Tue, 3 Sep 2002 11:55:05 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 798E543E6E for ; Tue, 3 Sep 2002 11:55:04 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g83It3KD095939; Tue, 3 Sep 2002 12:55:03 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g83It3qw095938; Tue, 3 Sep 2002 12:55:03 -0600 (MDT) (envelope-from ken) Date: Tue, 3 Sep 2002 12:55:03 -0600 From: "Kenneth D. Merry" To: Luigi Rizzo Cc: Charles Sprickman , freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903125503.A95848@panzer.kdm.org> References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020903114028.B1595@iguana.icir.org>; from rizzo@icir.org on Tue, Sep 03, 2002 at 11:40:28AM -0700 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, Sep 03, 2002 at 11:40:28 -0700, Luigi Rizzo wrote: > i wouldn't call the thing a "problem" -- flow control packets are > a feature which you can enable or disable. > I have used something similar to your patch below, and noticed that > just setting tx_fc_dis=1 (check the comment, btw) makes these > frames disappear, i suppose that setting the bit causes some negotiation > with the peer that disables their generation on both sides. Flow control isn't a problem in and of itself. The problem is that the card is passing flow control frames up to the OS, which can't do anything about it. The flow control frames are supposed to be intercepted by the card and used to turn on and off transmit. When tx_fc_dis = 0, it's anybody's guess as to whether the card is doing anything with the flow control frames, but it is clear that they get passed up to the host. This seems to happen regardless of the value of fc_filter. With tx_fc_dis=1, I think fc_filter works as intended (not sure, I'd have to go test it again), but I just turn it on all the time, since I don't want to see the flow control packets, even in promiscuous mode. They just cloud up whatever I'm trying to look at. It would be nice if there were actually detailed docs available for those boards that didn't require an NDA. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 12:52:58 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 3E41937B401 for ; Tue, 3 Sep 2002 12:52:56 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id B9BBF43E65 for ; Tue, 3 Sep 2002 12:52:54 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 27330 invoked by uid 1031); 3 Sep 2002 19:51:26 -0000 Date: Tue, 3 Sep 2002 20:51:25 +0100 From: Bruce M Simpson To: "Kenneth D. Merry" Cc: Luigi Rizzo , freebsd-net@FreeBSD.ORG, sam@freebsd.org Subject: Re: fxp and 802.3 flow control Message-ID: <20020903195125.GG28182@spc.org> Mail-Followup-To: Bruce M Simpson , "Kenneth D. Merry" , Luigi Rizzo , freebsd-net@FreeBSD.ORG, sam@freebsd.org References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> <20020903125503.A95848@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020903125503.A95848@panzer.kdm.org> User-Agent: Mutt/1.3.28i 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, Sep 03, 2002 at 12:55:03PM -0600, Kenneth D. Merry wrote: [fxp] > It would be nice if there were actually detailed docs available for those > boards that didn't require an NDA. I second this, given I (and other people) would really like to see hardware IPSEC support for the fxp, too. I bought an i82550ED (crypto-variant) second hand (which I assume was legally imported into the UK), but aside from reverse engineering, I'm not sure where to start on doing productive work to this end. BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 12:54:40 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 F408C37B400 for ; Tue, 3 Sep 2002 12:54:37 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F0243E6E for ; Tue, 3 Sep 2002 12:54:37 -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 g83Jh2Ib002175; Tue, 3 Sep 2002 12:43:02 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g83Jh2K1002174; Tue, 3 Sep 2002 12:43:02 -0700 (PDT) (envelope-from rizzo) Date: Tue, 3 Sep 2002 12:43:02 -0700 From: Luigi Rizzo To: "Kenneth D. Merry" Cc: Charles Sprickman , freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903124301.A1859@iguana.icir.org> References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> <20020903125503.A95848@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020903125503.A95848@panzer.kdm.org>; from ken@kdm.org on Tue, Sep 03, 2002 at 12:55:03PM -0600 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, Sep 03, 2002 at 12:55:03PM -0600, Kenneth D. Merry wrote: ... > It would be nice if there were actually detailed docs available for those > boards that didn't require an NDA. i actually think we should just stop recommend using that card. Apart from the unavailable docs which is very annoying in itself, the fxp card (not the driver) also has other performance problems and is quite a bit more expensive than other similar or better performing cards. just no point in using it in new designs. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 12:56: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 3C26237B400 for ; Tue, 3 Sep 2002 12:56:39 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F4143E4A for ; Tue, 3 Sep 2002 12:56:38 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g83JubKD096620; Tue, 3 Sep 2002 13:56:37 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g83JubjB096619; Tue, 3 Sep 2002 13:56:37 -0600 (MDT) (envelope-from ken) Date: Tue, 3 Sep 2002 13:56:37 -0600 From: "Kenneth D. Merry" To: Luigi Rizzo Cc: Charles Sprickman , freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903135637.A96512@panzer.kdm.org> References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> <20020903125503.A95848@panzer.kdm.org> <20020903124301.A1859@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020903124301.A1859@iguana.icir.org>; from rizzo@icir.org on Tue, Sep 03, 2002 at 12:43:02PM -0700 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, Sep 03, 2002 at 12:43:02 -0700, Luigi Rizzo wrote: > On Tue, Sep 03, 2002 at 12:55:03PM -0600, Kenneth D. Merry wrote: > ... > > It would be nice if there were actually detailed docs available for those > > boards that didn't require an NDA. > > i actually think we should just stop recommend using that card. > > Apart from the unavailable docs which is very annoying in itself, > the fxp card (not the driver) also has other performance > problems and is quite a bit more expensive than other similar > or better performing cards. They do work pretty well -- I haven't had many problems with them under FreeBSD. There are also tons of motherboards that have these chips onboard. (two of my home machines have onboard 82550/82559 chips) So it's kinda hard to get away from them. What would you recommend instead? There are other chips available, certainly, but some of them have serious hardware bugs or design flaws. e.g., look at Bill Paul's comments in the rl(4) driver, or Mike Silbersack's message on -arch from yesterday about coming up with some crazy work-arounds to make vr(4) hardware work properly. > just no point in using it in new designs. Maybe so, but it would be hard to convince vendors to stop putting them on motherboards. That's where most people will find these chips nowadays, anyway. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 13: 1:36 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 414AC37B400 for ; Tue, 3 Sep 2002 13:01:33 -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 0D2E543E7B for ; Tue, 3 Sep 2002 13:01:32 -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 g83Jupr29105; Tue, 3 Sep 2002 14:56:51 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [209.184.81.197] From: "Sam Feagins" To: "Archie Cobbs" Cc: freebsd-net@Freebsd.org Subject: Re: mpd config help Date: Tue, 03 Sep 2002 19:56:51 +0000 Message-ID: <20020903.8PM.16511100@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 >Then your outgoing packets are not being routed via the PPTP link. > >Try 'ping 192.168.2.240' from an inside machine .. I bet that works, >because there *is* a route to 192.168.2.240 already. That's what I thought, but I am not able to ping 192.168.2.240, but I can hit 192.168.2.243 (local BSD box) >You need to add a 'set iface route ...' command to your mpd.conf >so that your outgoing packets get routed via the PPTP link. > >You can do this manually via 'route add x.x.x.x/y -interface ng0'. > >What network(s) are on the other side of the link? Those are >the ones you need to add routes for in mpd.conf. I do have a "set iface route 192.168.2.0/24" command in my mpd.conf. When I do a route add 192.168.2.0/24 -interface ng1 I get: route: writing to routing socket: File exists add net 192.168.2.0: gateway ng1: File exits Apparently mpd is trying to route it through my external interface fxp1? but when I do a netstat -r, I see a destination address 192.168.2 routed through ng1, using a gateway of 192.168.2.240. Sam P.S. here's my entire routing table it might be more than 80 chars wide. Sorry.. Internet: Destination Gateway Flags Refs Use Netif Expire default adsl-64-219-75-198 UGSc 10 59320 fxp0 adsl-64-219-75-192 link#1 UC 2 0 fxp0 adsl-64-219-75-193 0:c0:f0:6c:63:4f UHLW 11 1004 fxp0 1186 adsl-64-219-75-198 0:10:67:0:9a:b1 UHLW 3 0 fxp0 816 localhost localhost UH 9 18 lo0 192.168.2 192.168.2.240 UGSc 0 0 ng1 192.168.2.240 192.168.2.244 UH 1 0 ng1 192.168.10 link#2 UC 2 0 fxp1 192.168.10.100 0:50:2c:2:f7:33 UHLW 1 113145 fxp1 1187 192.168.10.101 0:8:c7:da:24:61 UHLW 0 9820 fxp1 894 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 13:20:24 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 2B7E437B405 for ; Tue, 3 Sep 2002 13:20:12 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69B8443E75 for ; Tue, 3 Sep 2002 13:20:11 -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 <20020903202011.MGUM12451.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 3 Sep 2002 20:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA14748; Tue, 3 Sep 2002 13:13:12 -0700 (PDT) Date: Tue, 3 Sep 2002 13:13:11 -0700 (PDT) From: Julian Elischer To: Sam Feagins Cc: Archie Cobbs , freebsd-net@Freebsd.org Subject: Re: mpd config help In-Reply-To: <20020903.8PM.16511100@www.houstonbroncos.com> 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 On Tue, 3 Sep 2002, Sam Feagins wrote: > >Then your outgoing packets are not being routed via the PPTP link. > > > >Try 'ping 192.168.2.240' from an inside machine .. I bet that works, > >because there *is* a route to 192.168.2.240 already. > > That's what I thought, but I am not able to ping 192.168.2.240, > but I can hit 192.168.2.243 (local BSD box) > > >You need to add a 'set iface route ...' command to your mpd.conf > >so that your outgoing packets get routed via the PPTP link. > > > >You can do this manually via 'route add x.x.x.x/y -interface ng0'. > > > >What network(s) are on the other side of the link? Those are > >the ones you need to add routes for in mpd.conf. > > I do have a "set iface route 192.168.2.0/24" command in > my mpd.conf. > > When I do a route add 192.168.2.0/24 -interface ng1 I get: > route: writing to routing socket: File exists > add net 192.168.2.0: gateway ng1: File exits > > Apparently mpd is trying to route it through my external > interface fxp1? but when I do a netstat -r, I see a destination > address 192.168.2 routed through ng1, using a gateway of > 192.168.2.240. > > Sam > > P.S. here's my entire routing table it might be more > than 80 chars wide. Sorry.. > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default adsl-64-219-75-198 UGSc 10 59320 fxp0 > adsl-64-219-75-192 link#1 UC 2 0 fxp0 > adsl-64-219-75-193 0:c0:f0:6c:63:4f UHLW 11 1004 fxp0 1186 > adsl-64-219-75-198 0:10:67:0:9a:b1 UHLW 3 0 fxp0 816 > localhost localhost UH 9 18 lo0 > 192.168.2 192.168.2.240 UGSc 0 0 ng1 > 192.168.2.240 192.168.2.244 UH 1 0 ng1 > 192.168.10 link#2 UC 2 0 fxp1 > 192.168.10.100 0:50:2c:2:f7:33 UHLW 1 113145 fxp1 1187 > 192.168.10.101 0:8:c7:da:24:61 UHLW 0 9820 fxp1 894 > use route get 192.168.2.243 and route get 192.168.2.240 to check what ACTUALLY happens. > > 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 Sep 3 16:56: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 2867837B400 for ; Tue, 3 Sep 2002 16:56:43 -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 28DBB43E6A for ; Tue, 3 Sep 2002 16:56:42 -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 g8409ur31906; Tue, 3 Sep 2002 19:09:56 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [64.219.75.197] From: "Sam Feagins" To: "Julian Elischer" Cc: "Archie Cobbs" , freebsd-net@Freebsd.org Subject: Re: mpd config help Date: Wed, 04 Sep 2002 00:09:56 +0000 Message-ID: <20020903.cSr.39916100@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 >use >route get 192.168.2.243 >and >route get 192.168.2.240 > >to check what ACTUALLY happens. > I ran both of those commands, and here's what it says (I threw in also the 192.168.2.0 just for fun) %route get 192.168.2.240 route to: 192.168.2.240 destination: 192.168.2.240 interface: ng0 flags: %route get 192.168.2.243 route to: 192.168.2.243 destination: 192.168.2.0 mask: 255.255.255.0 gateway: 192.168.2.240 interface: ng0 flags: %route get 192.168.2.0 route to: 192.168.2.0 destination: 192.168.2.0 mask: 255.255.255.0 gateway: 192.168.2.240 interface: ng0 flags: It looks correct, and I even compared those results to when pptpclient is up, and they match.(Just a reminder pptpclient works!) Only difference I can find between pptpclient and mpd, is in the interface. mpd has subnet of 0xffffffff and pptpclient has subnet of 0xffffff00. I've tried changing the subnet on mpd, but still no luck. I'm not sure where to look. It just seems like mpd doesn't want to route correctly for the natd clients behind this box. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 20:24:14 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 82ECF37B401 for ; Tue, 3 Sep 2002 20:24:04 -0700 (PDT) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E64D143E3B for ; Tue, 3 Sep 2002 20:24:03 -0700 (PDT) (envelope-from mike@sentex.net) Received: from house (cage.simianscience.com [64.7.134.1]) by smtp2.sentex.ca (8.12.5/8.12.5) with SMTP id g843O1eN035946; Tue, 3 Sep 2002 23:24:01 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: Luigi Rizzo Cc: freebsd-net@freebsd.org Subject: Re: fxp and 802.3 flow control Date: Tue, 03 Sep 2002 23:24:05 -0400 Message-ID: References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> <20020903125503.A95848@panzer.kdm.org> <20020903124301.A1859@iguana.icir.org> In-Reply-To: <20020903124301.A1859@iguana.icir.org> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Tue, 3 Sep 2002 12:43:02 -0700, in sentex.lists.freebsd.net you wrote: >On Tue, Sep 03, 2002 at 12:55:03PM -0600, Kenneth D. Merry wrote: >... >> It would be nice if there were actually detailed docs available for = those >> boards that didn't require an NDA. > >i actually think we should just stop recommend using that card. > >Apart from the unavailable docs which is very annoying in itself, >the fxp card (not the driver) also has other performance >problems and is quite a bit more expensive than other similar >or better performing cards. What would you reccomend in terms of better performing cards that also = have VLAN support ? ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 21:23: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 576DC37B400 for ; Tue, 3 Sep 2002 21:23:29 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 849DC43E91 for ; Tue, 3 Sep 2002 21:23:22 -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 g844MVIb006998; Tue, 3 Sep 2002 21:22:31 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g844MVg4006997; Tue, 3 Sep 2002 21:22:31 -0700 (PDT) (envelope-from rizzo) Date: Tue, 3 Sep 2002 21:22:30 -0700 From: Luigi Rizzo To: "Kenneth D. Merry" Cc: Charles Sprickman , freebsd-net@FreeBSD.ORG Subject: Re: fxp and 802.3 flow control Message-ID: <20020903212230.B6862@iguana.icir.org> References: <20020903123508.A95635@panzer.kdm.org> <20020903114028.B1595@iguana.icir.org> <20020903125503.A95848@panzer.kdm.org> <20020903124301.A1859@iguana.icir.org> <20020903135637.A96512@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020903135637.A96512@panzer.kdm.org>; from ken@kdm.org on Tue, Sep 03, 2002 at 01:56:37PM -0600 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, Sep 03, 2002 at 01:56:37PM -0600, Kenneth D. Merry wrote: ... > What would you recommend instead? There are other chips available, performancewise 'dc' work great, 'sis' is not that bad. The GigE card from intel ('em') is also quite performant and reasonably priced. yes, the 8139 ('rl') is a cheap design, but you get what you pay for -- the cards cost some 10-15$ new. I cannot comment on other boards just because i haven't had any serious chance to play with them. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Sep 3 23:57: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 217B237B400 for ; Tue, 3 Sep 2002 23:57:25 -0700 (PDT) Received: from firedrake.hades.skumler.net (pc1-oxfd1-6-cust131.oxf.cable.ntl.com [80.3.240.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFE643E7B for ; Tue, 3 Sep 2002 23:57:24 -0700 (PDT) (envelope-from nighthawk@unrealircd.com) Received: by firedrake.hades.skumler.net (Postfix, from userid 1000) id 0CF1A758; Wed, 4 Sep 2002 07:55:39 +0100 (BST) Date: Wed, 4 Sep 2002 07:55:38 +0100 From: Edward Brocklesby To: freebsd-net@freebsd.org Subject: netns and protosw Message-ID: <20020904065538.GA64646@firedrake.hades.skumler.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Good morning, I am currently trying to make the /sys/netns code work again. While I'm quite close to making it at least compile, I'm having a problem with the protosw struct that I can't see the answer to. For example, idp_input() is defined as: int idp_input(struct mbuf *m, struct nspcb *nsp); However, it's passed as a pr_input_t: typedef void pr_input_t (struct mbuf *, int); in protosw in /sys/netns/ns_proto.c. I assume this is some change that has been made since this code last worked; could someone enlighten me as to how the nspcb can be extracted from mbuf and int? (A similar problem exists with the other functions passed in the protosw.) Regards, -larne. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 0:20: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 F3A4D37B400 for ; Wed, 4 Sep 2002 00:20:11 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A35EC43E72 for ; Wed, 4 Sep 2002 00:20:11 -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 <20020904072011.RUFH12451.rwcrmhc51.attbi.com@InterJet.elischer.org>; Wed, 4 Sep 2002 07:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA29476; Wed, 4 Sep 2002 00:02:45 -0700 (PDT) Date: Wed, 4 Sep 2002 00:02:43 -0700 (PDT) From: Julian Elischer To: Edward Brocklesby Cc: freebsd-net@freebsd.org Subject: Re: netns and protosw In-Reply-To: <20020904065538.GA64646@firedrake.hades.skumler.net> 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 On Wed, 4 Sep 2002, Edward Brocklesby wrote: > Good morning, > > I am currently trying to make the /sys/netns code work again. > While I'm quite close to making it at least compile, I'm having > a problem with the protosw struct that I can't see the answer to. > > For example, idp_input() is defined as: > int idp_input(struct mbuf *m, struct nspcb *nsp); > However, it's passed as a pr_input_t: > typedef void pr_input_t (struct mbuf *, int); > in protosw in /sys/netns/ns_proto.c. I assume this is some > change that has been made since this code last worked; could > someone enlighten me as to how the nspcb can be extracted > from mbuf and int? (A similar problem exists with the other functions > passed in the protosw.) is idp_input called directly or through the table? the protosw format was changed in a rather non portable way during the importing of ipv6. If your routine as called directly, then there is actually no reason to have it in the protosw. The whole protosw format needs to be gone ove with an eye to ALL the protocols. > > Regards, > -larne. > > 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 Wed Sep 4 0:43: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 CDB8737B400 for ; Wed, 4 Sep 2002 00:43:29 -0700 (PDT) Received: from firedrake.hades.skumler.net (pc1-oxfd1-6-cust131.oxf.cable.ntl.com [80.3.240.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id C633543E3B for ; Wed, 4 Sep 2002 00:43:23 -0700 (PDT) (envelope-from nighthawk@unrealircd.com) Received: by firedrake.hades.skumler.net (Postfix, from userid 1000) id 4B77076B; Wed, 4 Sep 2002 08:41:37 +0100 (BST) Date: Wed, 4 Sep 2002 08:41:37 +0100 From: Edward Brocklesby To: Julian Elischer Cc: freebsd-net@FreeBSD.ORG Subject: Re: netns and protosw Message-ID: <20020904074137.GA64750@firedrake.hades.skumler.net> References: <20020904065538.GA64646@firedrake.hades.skumler.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Julian Elischer: > is idp_input called directly or through the table? It's called through the table, along with spp_*(), idp_*(), etc (netns's equivalent to TCP and UDP, SOCK_STREAM and SOCK_DGRAM respectively). > the protosw format was changed in a rather non portable way during the > importing of ipv6. If your routine as called directly, then there is > actually no reason to have it in the protosw. Hm, what do you mean by 'directly'? Is there a place where protocol routines may be called other than through protosw? Also, is the meaning of the int argument to these functions explained somewhere? I see netinet's tcp_input calls it 'off0'; but I can't see how this is converted to a struct inpcb (if it is at all, that is.) -larne. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 6: 0:24 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 9244537B401 for ; Wed, 4 Sep 2002 06:00:19 -0700 (PDT) Received: from femme.sapphite.org (pcp02268182pcs.longhl01.md.comcast.net [68.50.99.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id E14BA43E6A for ; Wed, 4 Sep 2002 06:00:14 -0700 (PDT) (envelope-from trish@bsdunix.net) Received: from localhost (trish@localhost [127.0.0.1]) by femme.sapphite.org (8.12.5/8.12.5) with ESMTP id g84D0TeR050735 for ; Wed, 4 Sep 2002 09:00:30 -0400 (EDT) (envelope-from trish@bsdunix.net) Date: Wed, 4 Sep 2002 09:00:29 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Subject: Quention for ipfw2 people. Message-ID: <20020904085744.B437-100000@femme.sapphite.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 Luigi and others: I just started putting ipfw2 into use in testing on some rulesets, and I'm trying to do this: add 02000 allow tcp from 66.80.75.0/29 or 216.0.51.128/26 or 216.0.51.192/27 or 68.50.99.190 or 216.5.117.32/27 to any 22 and its giving me this: ipfw: invalid OR block Now this seems to be the syntax sent out by Luigi on his first announcement of ipfw2 a few months ago... and I doing something wrong? -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 6:58: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 BA0C837B400 for ; Wed, 4 Sep 2002 06:58:52 -0700 (PDT) Received: from rhymer.cogsci.ed.ac.uk (rhymer.cogsci.ed.ac.uk [129.215.144.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E1C43E6A for ; Wed, 4 Sep 2002 06:58:40 -0700 (PDT) (envelope-from richard@cogsci.ed.ac.uk) Received: (from richard@localhost) by rhymer.cogsci.ed.ac.uk (8.9.3/8.9.3) id OAA04709 for freebsd-net@FreeBSD.ORG; Wed, 4 Sep 2002 14:58:34 +0100 (BST) Date: Wed, 4 Sep 2002 14:58:34 +0100 (BST) Message-Id: <200209041358.OAA04709@rhymer.cogsci.ed.ac.uk> From: Richard Tobin Subject: Is UPnP good for anything? To: freebsd-net@FreeBSD.ORG Organization: just say no 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'm considering buying an ADSL router, and I'm wondering whether there's any advantage to getting one that supports UPnP. I see there's a UPnP SDK in the ports, but no sign that FreeBSD would do anything interesting with it. Is it, as I suspect, only useful to people who want to connect Microsoft Windows machines to the net without knowing anything? -- Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 8: 7: 3 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 9444D37B400 for ; Wed, 4 Sep 2002 08:07:00 -0700 (PDT) Received: from tp.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E113143E72 for ; Wed, 4 Sep 2002 08:06:59 -0700 (PDT) (envelope-from barney@databus.com) Received: from databus.com (localhost.databus.com [127.0.0.1]) by tp.databus.com (8.12.6/8.12.5) with ESMTP id g84F6vEe017299; Wed, 4 Sep 2002 11:06:57 -0400 (EDT) (envelope-from barney@databus.com) Received: (from barney@localhost) by databus.com (8.12.6/8.12.6/Submit) id g84F6v5K017298; Wed, 4 Sep 2002 11:06:57 -0400 (EDT) Date: Wed, 4 Sep 2002 11:06:57 -0400 From: Barney Wolff To: Richard Tobin Cc: freebsd-net@FreeBSD.ORG Subject: Re: Is UPnP good for anything? Message-ID: <20020904150657.GA17187@tp.databus.com> References: <200209041358.OAA04709@rhymer.cogsci.ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209041358.OAA04709@rhymer.cogsci.ed.ac.uk> 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 Don't. Just get an ADSL modem, and use ipfw + natd (and PPPoE if necessary) to do anything the router would have done. If you really don't want to use FreeBSD for this task, the "cable/dsl" routers that talk to the modem via Ethernet and have 4 switched ports are so cheap that there is no reason to go for an integrated box. I just paid US$29.95 for a D-Link DI-604 for my daughter. But I'd much rather use one of my FreeBSD boxes - fewer security risks, more powerful firewall capability, better stability. On Wed, Sep 04, 2002 at 02:58:34PM +0100, Richard Tobin wrote: > I'm considering buying an ADSL router, ... -- Barney Wolff I'm available by contract or FT: http://www.databus.com/bwresume.pdf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 8:13: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 D023F37B400 for ; Wed, 4 Sep 2002 08:13:38 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8424C43E75 for ; Wed, 4 Sep 2002 08:13:38 -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 g84FDVIb011094; Wed, 4 Sep 2002 08:13:31 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g84FDVSV011093; Wed, 4 Sep 2002 08:13:31 -0700 (PDT) (envelope-from rizzo) Date: Wed, 4 Sep 2002 08:13:30 -0700 From: Luigi Rizzo To: Trish Lynch Cc: freebsd-net@FreeBSD.ORG Subject: Re: Quention for ipfw2 people. Message-ID: <20020904081330.A11081@iguana.icir.org> References: <20020904085744.B437-100000@femme.sapphite.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020904085744.B437-100000@femme.sapphite.org>; from trish@bsdunix.net on Wed, Sep 04, 2002 at 09:00:29AM -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 Hi Trish, please read the manpage which tells you the syntax for OR blocks (it has changed slightly since the first implementation in order to remove ambiguities). You need to put braces around the alternatives i.e. add 02000 allow tcp from { 66.80.75.0/29 or 216.0.51.128/26 or 216.0.51.192/27 or 68.50.99.190 or 216.5.117.32/27 } to any 22 cheers luigi On Wed, Sep 04, 2002 at 09:00:29AM -0400, Trish Lynch wrote: > Luigi and others: > > I just started putting ipfw2 into use in testing on some rulesets, > and I'm trying to do this: > > add 02000 allow tcp from 66.80.75.0/29 or 216.0.51.128/26 or > 216.0.51.192/27 or 68.50.99.190 or 216.5.117.32/27 to any 22 > > and its giving me this: > > ipfw: invalid OR block > > > Now this seems to be the syntax sent out by Luigi on his first > announcement of ipfw2 a few months ago... and I doing something wrong? > > -Trish > > -- > Trish Lynch trish@bsdunix.net > Ecartis Core Team trish@listmistress.org > Key fingerprint = C44E 8E63 6E3C 18BD 608F E004 9DC7 C2E9 0E24 DFBD > > > > 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 Wed Sep 4 8:34: 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 067A337B401 for ; Wed, 4 Sep 2002 08:34:04 -0700 (PDT) Received: from rhymer.cogsci.ed.ac.uk (rhymer.cogsci.ed.ac.uk [129.215.144.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DAAA43E4A for ; Wed, 4 Sep 2002 08:34:03 -0700 (PDT) (envelope-from richard@cogsci.ed.ac.uk) Received: (from richard@localhost) by rhymer.cogsci.ed.ac.uk (8.9.3/8.9.3) id QAA08627; Wed, 4 Sep 2002 16:33:59 +0100 (BST) Date: Wed, 4 Sep 2002 16:33:59 +0100 (BST) Message-Id: <200209041533.QAA08627@rhymer.cogsci.ed.ac.uk> From: Richard Tobin Subject: Re: Is UPnP good for anything? To: Barney Wolff , Richard Tobin In-Reply-To: Barney Wolff's message of Wed, 4 Sep 2002 11:06:57 -0400 Organization: just say no Cc: freebsd-net@FreeBSD.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 > Don't. Just get an ADSL modem, and use ipfw + natd (and PPPoE if > necessary) to do anything the router would have done. That's what I do at present, but I don't want to have the FreeBSD box on all the time. Also I want something silent and low-power. (An old laptop might be a reasonable way to do this if I had one.) > If you really don't want to use FreeBSD for this task, the "cable/dsl" > routers that talk to the modem via Ethernet and have 4 switched ports > are so cheap that there is no reason to go for an integrated box. > I just paid US$29.95 for a D-Link DI-604 for my daughter. Plus the cost of the modem of course. Are there cheap ADSL modems with ethernet connection that can do reasonable firewalling? Anyone have any comments on the specific question of UPnP? -- Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 9: 0:24 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 40F5E37B401 for ; Wed, 4 Sep 2002 09:00:20 -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 A44CA43E4A for ; Wed, 4 Sep 2002 09:00:06 -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 IAA14088; Wed, 4 Sep 2002 08:50:19 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g84Fmog89826; Wed, 4 Sep 2002 08:48:50 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209041548.g84Fmog89826@arch20m.dellroad.org> Subject: Re: mpd config help In-Reply-To: <20020903.cSr.39916100@www.houstonbroncos.com> "from Sam Feagins at Sep 4, 2002 00:09:56 am" To: Sam Feagins Date: Wed, 4 Sep 2002 08:48:50 -0700 (PDT) Cc: Julian Elischer , 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: > It looks correct, and I even compared those results to when pptpclient > is up, and they match.(Just a reminder pptpclient works!) Only difference > I can find between pptpclient and mpd, is in the interface. mpd has > subnet of 0xffffffff and pptpclient has subnet of 0xffffff00. I've tried > changing the subnet on mpd, but still no luck. I'm not sure where to > look. It just seems like mpd doesn't want to route correctly for > the natd clients behind this box. The subnet on the interface shouldn't matter, it's pretty much ignored. Hmm... try 'ifconfig ng0 mtu 1400' after mpd has connected and see if that helps.. -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 Sep 4 9:20:38 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 82FC537B431 for ; Wed, 4 Sep 2002 09:20:15 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27F3143E65 for ; Wed, 4 Sep 2002 09:20:15 -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 <20020904162014.HZMC19514.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 4 Sep 2002 16:20:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA31434; Wed, 4 Sep 2002 09:12:20 -0700 (PDT) Date: Wed, 4 Sep 2002 09:12:19 -0700 (PDT) From: Julian Elischer To: Barney Wolff Cc: Richard Tobin , freebsd-net@FreeBSD.ORG Subject: Re: Is UPnP good for anything? In-Reply-To: <20020904150657.GA17187@tp.databus.com> 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 On Wed, 4 Sep 2002, Barney Wolff wrote: > Don't. Just get an ADSL modem, and use ipfw + natd (and PPPoE if > necessary) to do anything the router would have done. > > If you really don't want to use FreeBSD for this task, the "cable/dsl" > routers that talk to the modem via Ethernet and have 4 switched ports > are so cheap that there is no reason to go for an integrated box. > I just paid US$29.95 for a D-Link DI-604 for my daughter. I got one of the Linksys wireless/Cable/DSL gateways.. It has 4 wired ports, a separate ethernet port for the dsl modem and a wireless AP. A friend bought a Siemens. almost identical specs. it's more expensive at $150 but it means that everyting can be linked together.. you can even find some with a printer port too. The firewall is very basic.. it does NAT so only incoming sessions it already expects (via a setup table) can come in.. both compaq and HP have one, as doDlink and several others. > > But I'd much rather use one of my FreeBSD boxes - fewer security risks, > more powerful firewall capability, better stability. > > On Wed, Sep 04, 2002 at 02:58:34PM +0100, Richard Tobin wrote: > > I'm considering buying an ADSL router, ... > > -- > Barney Wolff > I'm available by contract or FT: http://www.databus.com/bwresume.pdf > > 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 Wed Sep 4 10:27: 0 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 5BBA437B400 for ; Wed, 4 Sep 2002 10:26:57 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90E9B43E6E for ; Wed, 4 Sep 2002 10:26:56 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-48.adsl-dynamic.inode.at ([62.99.165.48] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17mdva-0004Xo-00 for freebsd-net@freebsd.org; Wed, 04 Sep 2002 19:26:54 +0200 Message-ID: <3D7641CC.6010003@inode.at> Date: Wed, 04 Sep 2002 19:24:28 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: mpd - how to set mtu 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 Hi, How can I set the MTU with mpd. I haven't found any hint in the documentation. I have configured mpd for a vpn with pptp and the mtu is allways set to 334. This seems to be a bit to low or ? Is this the right way:? ifconfig ng0 mtu 1500 thanx, bye, -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 10:36:10 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 1E8E537B401 for ; Wed, 4 Sep 2002 10:35:54 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0D8D43E6A for ; Wed, 4 Sep 2002 10:35:51 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-48.adsl-dynamic.inode.at ([62.99.165.48] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17me49-000509-00 for freebsd-net@freebsd.org; Wed, 04 Sep 2002 19:35:45 +0200 Message-ID: <3D7643E0.3080309@inode.at> Date: Wed, 04 Sep 2002 19:33:20 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: mpd - connection problems (set ccp yes mpp-stateless) 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 Hi, I use mpd (Version 3.8) for a pptp vpn-connection to a customer. Now I have some problems: If I add "set ccp yes mpp-stateless" to the mpd.conf then the connection doesen't work. Every time I ping a host on the other side of the tunnel I see in the mpd.log these entries: Sep 4 17:10:53 gateway mpd: [boehler] rec'd unexpected protocol 0x6853 on link -1, rejecting Sep 4 17:10:54 gateway mpd: [boehler] rec'd proto 0xc43d on MP link! (ignoring) Sep 4 17:10:55 gateway mpd: [boehler] rec'd unexpected protocol 0x00af on link -1, rejecting Sep 4 17:10:56 gateway mpd: [boehler] rec'd unexpected protocol 0x3e39 on link -1, rejecting Sep 4 17:10:57 gateway mpd: [boehler] rec'd unexpected protocol 0x761f on link and so on. after I removed "set ccp yes mpp-stateless" the connection worked, but very slow. I saw that the mtu of the ng-interface is very low (334). any hints? thanx, bye, here are some logs (mpd, routing-table, tcpdump): ifconfig ng0: ng0: flags=88d1 mtu 334 inet 172.26.28.211 --> 172.26.28.11 netmask 0xffffffff mpd.conf boehler: new -i ng0 boehler boehler set iface disable on-demand set iface addrs 192.168.1.1 192.168.2.2 set iface idle 0 set iface route 172.16.0.0/16 set iface route 172.26.28.0/24 set bundle disable multilink set bundle authname xxx set bundle password xxxx set link yes acfcomp protocomp set link no pap set link disable chap set link accept chap set ipcp yes vjcomp 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 mpd.links: boehler: set link type pptp set pptp self 0.0.0.0 set pptp peer 193.154.56.240 set pptp enable originate incoming outcall routing table: default 195.58.186.225 UGSc 2 1089815 rl1 127.0.0.1 127.0.0.1 UH 0 0 lo0 172.16 172.26.28.11 UGSc 0 12 ng0 172.18 link#4 UC 5 0 ed0 172.18.4.30 00:30:05:18:92:30 UHLW 0 40925 ed0 172.18.4.50 00:30:05:18:92:4b UHLW 0 6624 ed0 172.18.4.56 00:30:05:18:92:51 UHLW 0 87 ed0 172.18.4.60 00:30:05:18:92:55 UHLW 0 88876 ed0 172.18.4.63 00:30:05:18:8a:02 UHLW 0 49020 ed0 172.26.28/24 172.26.28.11 UGSc 0 11 ng0 172.26.28.11 172.26.28.211 UH 2 31 ng0 bash-2.05a# tcpdump -n -i ng0 tcpdump: listening on ng0 17:24:07.318663 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:08.323224 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:09.333230 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:10.343241 172.26.28.211 > 172.16.190.2: icmp: echo request mpd.log: Sep 4 17:09:38 gateway mpd: [boehler] device: OPEN event in state DOWN Sep 4 17:09:38 gateway mpd: pptp0: connecting to 193.154.56.240:1723 Sep 4 17:09:38 gateway mpd: [boehler] device is now in state OPENING Sep 4 17:09:38 gateway mpd: pptp0: connected to 193.154.56.240:1723 Sep 4 17:09:38 gateway mpd: pptp0: attached to connection with 193.154.56.240:1 723 Sep 4 17:09:38 gateway mpd: pptp0-0: outgoing call connected at 64000 bps Sep 4 17:09:38 gateway mpd: [boehler] PPTP call successful Sep 4 17:09:38 gateway mpd: [boehler] device: UP event in state OPENING Sep 4 17:09:38 gateway mpd: [boehler] device is now in state UP Sep 4 17:09:38 gateway mpd: [boehler] link: UP event Sep 4 17:09:38 gateway mpd: [boehler] link: origination is local Sep 4 17:09:38 gateway mpd: [boehler] LCP: Up event Sep 4 17:09:38 gateway mpd: [boehler] LCP: state change Starting --> Req-Sent Sep 4 17:09:38 gateway mpd: [boehler] LCP: phase shift DEAD --> ESTABLISH Sep 4 17:09:38 gateway mpd: [boehler] LCP: SendConfigReq #239 Sep 4 17:09:38 gateway mpd: ACFCOMP Sep 4 17:09:38 gateway mpd: PROTOCOMP Sep 4 17:09:38 gateway mpd: MRU 1500 Sep 4 17:09:38 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] LCP: SendConfigReq #240 Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: MRU 1500 Sep 4 17:09:40 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] rec'd unknown ctrl message, cookie=942710 669 cmd=4 Sep 4 17:09:40 gateway mpd: [boehler] LCP: rec'd Configure Request #1 link 0 (R eq-Sent) Sep 4 17:09:40 gateway mpd: MRU 338 Sep 4 17:09:40 gateway mpd: AUTHPROTO CHAP MSOFTv2 Sep 4 17:09:40 gateway mpd: MAGICNUM 08c73ed0 Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: [boehler] LCP: SendConfigAck #1 Sep 4 17:09:40 gateway mpd: MRU 338 Sep 4 17:09:40 gateway mpd: AUTHPROTO CHAP MSOFTv2 Sep 4 17:09:40 gateway mpd: MAGICNUM 08c73ed0 Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: [boehler] LCP: state change Req-Sent --> Ack-Sent Sep 4 17:09:40 gateway mpd: [boehler] LCP: rec'd Configure Ack #240 link 0 (Ack -Sent) Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: MRU 1500 Sep 4 17:09:40 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] LCP: state change Ack-Sent --> Opened Sep 4 17:09:40 gateway mpd: [boehler] LCP: phase shift ESTABLISH --> AUTHENTICA TE Sep 4 17:09:40 gateway mpd: [boehler] LCP: auth: peer wants CHAP, I want nothin g Sep 4 17:09:40 gateway mpd: [boehler] LCP: LayerUp Sep 4 17:09:41 gateway mpd: [boehler] CHAP: rec'd CHALLENGE #1 Sep 4 17:09:41 gateway mpd: Name: "watchguard" Sep 4 17:09:41 gateway mpd: Using authname "xxxx" Sep 4 17:09:41 gateway mpd: [boehler] CHAP: sending RESPONSE Sep 4 17:09:41 gateway mpd: [boehler] CHAP: rec'd SUCCESS #1 Sep 4 17:09:41 gateway mpd: MESG: S=33283c65b0884d0754db55c1338586bc3d342e1b Sep 4 17:09:41 gateway mpd: [boehler] LCP: authorization successful Sep 4 17:09:41 gateway mpd: [boehler] LCP: phase shift AUTHENTICATE --> NETWORK Sep 4 17:09:41 gateway mpd: [boehler] up: 1 link, total bandwidth 64000 bps Sep 4 17:09:41 gateway mpd: [boehler] IPCP: Up event Sep 4 17:09:41 gateway mpd: [boehler] IPCP: state change Starting --> Req-Sent Sep 4 17:09:41 gateway mpd: [boehler] IPCP: SendConfigReq #72 Sep 4 17:09:41 gateway mpd: IPADDR 172.18.4.99 Sep 4 17:09:41 gateway mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 4 17:09:41 gateway mpd: [boehler] CCP: Open event Sep 4 17:09:41 gateway mpd: [boehler] CCP: state change Initial --> Starting Sep 4 17:09:41 gateway mpd: [boehler] CCP: LayerStart Sep 4 17:09:41 gateway mpd: [boehler] CCP: Up event Sep 4 17:09:41 gateway mpd: [boehler] CCP: state change Starting --> Req-Sent Sep 4 17:09:41 gateway mpd: [boehler] CCP: SendConfigReq #251 Sep 4 17:09:41 gateway mpd: MPPC Sep 4 17:09:41 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:41 gateway mpd: [boehler] IPCP: rec'd Configure Request #1 link 0 ( Req-Sent) Sep 4 17:09:41 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:41 gateway mpd: 172.26.28.11 is OK Sep 4 17:09:41 gateway mpd: [boehler] IPCP: SendConfigAck #1 Sep 4 17:09:41 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:41 gateway mpd: [boehler] IPCP: state change Req-Sent --> Ack-Sent Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Reject #72 link 0 ( Ack-Sent) Sep 4 17:09:42 gateway mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 4 17:09:42 gateway mpd: [boehler] IPCP: SendConfigReq #73 Sep 4 17:09:42 gateway mpd: IPADDR 172.18.4.99 Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Request #1 link 0 (R eq-Sent) Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: SendConfigNak #1 Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Ack #251 link 0 (Req -Sent) Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: state change Req-Sent --> Ack-Rcvd Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Nak #73 link 0 (Ack -Sent) Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: 172.26.28.211 is OK Sep 4 17:09:42 gateway mpd: [boehler] IPCP: SendConfigReq #74 Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Ack #74 link 0 (Ack -Sent) Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: [boehler] IPCP: state change Ack-Sent --> Opened Sep 4 17:09:42 gateway mpd: [boehler] IPCP: LayerUp Sep 4 17:09:42 gateway mpd: 172.26.28.211 -> 172.26.28.11 Sep 4 17:09:42 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 172.26.28.211 17 2.26.28.11 netmask 0xffffffff -link0 Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/route add 172.16.0.0 172.26.2 8.11 -netmask 0xffff0000 Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/route add 172.26.28.0 172.26. 28.11 -netmask 0xffffff00 Sep 4 17:09:42 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:44 gateway mpd: [boehler] IPCP: rec'd Configure Request #1 link 0 ( Opened) Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:44 gateway mpd: 172.26.28.11 is OK Sep 4 17:09:44 gateway mpd: [boehler] IPCP: LayerDown Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Down event Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route delete 172.16.0.0 172.2 6.28.11 -netmask 0xffff0000 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route delete 172.26.28.0 172. 26.28.11 -netmask 0xffffff00 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 down delete -link0 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: SendConfigReq #75 Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: SendConfigAck #1 Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: state change Opened --> Ack-Sent Sep 4 17:09:44 gateway mpd: [boehler] IPCP: rec'd Configure Ack #75 link 0 (Ack -Sent) Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: state change Ack-Sent --> Opened Sep 4 17:09:44 gateway mpd: [boehler] IPCP: LayerUp Sep 4 17:09:44 gateway mpd: 172.26.28.211 -> 172.26.28.11 Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 172.26.28.211 17 2.26.28.11 netmask 0xffffffff -link0 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route add 172.16.0.0 172.26.2 8.11 -netmask 0xffff0000 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route add 172.26.28.0 172.26. 28.11 -netmask 0xffffff00 Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:45 gateway mpd: [boehler] CCP: rec'd Configure Request #1 link 0 (A ck-Rcvd) Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: SendConfigNak #1 Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: rec'd Configure Request #2 link 0 (A ck-Rcvd) Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: SendConfigAck #2 Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: state change Ack-Rcvd --> Opened Sep 4 17:09:45 gateway mpd: [boehler] CCP: LayerUp Sep 4 17:09:45 gateway mpd: Compress using: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: Decompress using: MPPE, 40 bit, 128 bit, stateless Sep 4 17:10:53 gateway mpd: [boehler] rec'd unexpected protocol 0x6853 on link -1, rejecting Sep 4 17:10:54 gateway mpd: [boehler] rec'd proto 0xc43d on MP link! (ignoring) Sep 4 17:10:55 gateway mpd: [boehler] rec'd unexpected protocol 0x00af on link -1, rejecting Sep 4 17:10:56 gateway mpd: [boehler] rec'd unexpected protocol 0x3e39 on link -1, rejecting Sep 4 17:10:57 gateway mpd: [boehler] rec'd unexpected protocol 0x761f on link Sep 4 17:10:58 gateway mpd: [boehler] rec'd unexpected protocol 0x6817 on link -1, rejecting Sep 4 17:10:59 gateway mpd: [boehler] rec'd unexpected protocol 0x887f on link -1, rejecting Sep 4 17:11:00 gateway mpd: [boehler] rec'd unexpected protocol 0x2653 on link -1, rejecting Sep 4 17:11:01 gateway mpd: [boehler] rec'd unexpected protocol 0x0095 on link -1, rejecting Sep 4 17:12:25 gateway mpd: [boehler] rec'd unexpected protocol 0x1ab9 on link -1, rejecting Sep 4 17:12:26 gateway mpd: [boehler] rec'd unexpected protocol 0x0061 on link -1, rejecting Sep 4 17:12:27 gateway mpd: [boehler] rec'd proto 0xdad1 on MP link! (ignoring) -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 16: 0: 5 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 31C8837B400 for ; Wed, 4 Sep 2002 16:00: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 A650343E42 for ; Wed, 4 Sep 2002 16:00: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 PAA16418; Wed, 4 Sep 2002 15:46:22 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g84MisF03869; Wed, 4 Sep 2002 15:44:54 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209042244.g84MisF03869@arch20m.dellroad.org> Subject: Re: mpd - connection problems (set ccp yes mpp-stateless) In-Reply-To: <3D7643E0.3080309@inode.at> "from Michael Bretterklieber at Sep 4, 2002 07:33:20 pm" To: Michael Bretterklieber Date: Wed, 4 Sep 2002 15:44:54 -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 Michael Bretterklieber writes: > I use mpd (Version 3.8) for a pptp vpn-connection to a customer. Now I > have some problems: The box you are connecting to is completely broken... e.g.: > Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Ack #251 link 0 (Req-Sent) > Sep 4 17:09:42 gateway mpd: MPPC > Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless It is supposed to pick *one* key length! -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 Sep 4 16: 0:10 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 B8E4537B41F for ; Wed, 4 Sep 2002 16:00:07 -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 3578643E4A for ; Wed, 4 Sep 2002 16:00:07 -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 PAA16416; Wed, 4 Sep 2002 15:45:16 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g84Mhnn03864; Wed, 4 Sep 2002 15:43:49 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209042243.g84Mhnn03864@arch20m.dellroad.org> Subject: Re: mpd - how to set mtu In-Reply-To: <3D7641CC.6010003@inode.at> "from Michael Bretterklieber at Sep 4, 2002 07:24:28 pm" To: Michael Bretterklieber Date: Wed, 4 Sep 2002 15:43:49 -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 Michael Bretterklieber writes: > How can I set the MTU with mpd. I haven't found any hint in the > documentation. > > I have configured mpd for a vpn with pptp and the mtu is allways set to > 334. This seems to be a bit to low or ? According to your previous email, whatever box you are connecting to is requesting that low MTU, so mpd is simply honoring it's request. > Is this the right way:? ifconfig ng0 mtu 1500 That will work, but the other box might not like it. -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 Sep 4 22:39: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 ED23937B400 for ; Wed, 4 Sep 2002 22:39:27 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06F5243E42 for ; Wed, 4 Sep 2002 22:39:27 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-209.adsl-dynamic.inode.at ([62.99.165.209] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17mpMS-0004La-00 for freebsd-net@FreeBSD.ORG; Thu, 05 Sep 2002 07:39:24 +0200 Message-ID: <3D76ED7A.3010006@inode.at> Date: Thu, 05 Sep 2002 07:36:58 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Re: mpd - connection problems (set ccp yes mpp-stateless) References: <200209042244.g84MisF03869@arch20m.dellroad.org> 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 Hi, It seems that if stateless is activated the other box is not able to find the right keylength. I remember after I removed the stateless-option, that in the log I saw only one key-length. I will try to workaround this problem by only adding on keylength option to my mpd.conf, maybe this helps to workaround the problem. thanx, bye, Archie Cobbs schrieb: > Michael Bretterklieber writes: > >>I use mpd (Version 3.8) for a pptp vpn-connection to a customer. Now I >>have some problems: > > > The box you are connecting to is completely broken... e.g.: > > >>Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Ack #251 link 0 (Req-Sent) >>Sep 4 17:09:42 gateway mpd: MPPC >>Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless > > > It is supposed to pick *one* key length! > > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com > > -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Sep 4 22:45: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 B689137B400 for ; Wed, 4 Sep 2002 22:45:09 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A73243E6A for ; Wed, 4 Sep 2002 22:45:09 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-209.adsl-dynamic.inode.at ([62.99.165.209] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17mpRz-0004il-00 for freebsd-net@FreeBSD.ORG; Thu, 05 Sep 2002 07:45:07 +0200 Message-ID: <3D76EED1.4060803@inode.at> Date: Thu, 05 Sep 2002 07:42:41 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Re: mpd - how to set mtu References: <200209042243.g84Mhnn03864@arch20m.dellroad.org> 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 Hi, the admin of the other box told me, that he has specified a mtu of 1500. It seems that sometimes pptp is not pptp :-(. I allready hear the words of the other admin in my brain: "With Windows-clients it works" thanx, bye, Archie Cobbs schrieb: > Michael Bretterklieber writes: > >>How can I set the MTU with mpd. I haven't found any hint in the >>documentation. >> >>I have configured mpd for a vpn with pptp and the mtu is allways set to >>334. This seems to be a bit to low or ? > > > According to your previous email, whatever box you are connecting > to is requesting that low MTU, so mpd is simply honoring it's request. > > >>Is this the right way:? ifconfig ng0 mtu 1500 > > > That will work, but the other box might not like it. > > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com > > -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 0:24: 1 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 B6E2337B400 for ; Thu, 5 Sep 2002 00:23:58 -0700 (PDT) Received: from void.xpert.com (xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A33C43E4A for ; Thu, 5 Sep 2002 00:23:58 -0700 (PDT) (envelope-from Yonatan@xpert.com) Received: from exchange.xpert.com ([199.203.132.135]) by void.xpert.com with esmtp (Exim 3.22 #1) id 17mqtg-0004nm-00; Thu, 05 Sep 2002 10:17:48 +0300 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: BSD telnet and raw socket X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Thu, 5 Sep 2002 10:22:29 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: BSD telnet and raw socket Thread-Index: AcJTCTrNmKFh72v3RtKuPWhfBnBP1gBo6ZnQ From: "Yonatan Bokovza" To: "Eugene Grosbein" , 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 > -----Original Message----- > From: Eugene Grosbein [mailto:eugen@www.svzserv.kemerovo.su] > Sent: Tuesday, September 03, 2002 08:18 > To: net@freebsd.org > Subject: BSD telnet and raw socket >=20 >=20 > Hi! >=20 > How do I configure/patch FreeBSD's telnet to obtain such mode of > operation: it connects to server, answers to TELENET negotiation > and switches to "raw socket" mode.=20 >=20 > I need this to redirect stdin containing PPP to cisco's VTY-Async. > Plain "telnet -8EKNy cisco" doesn't work for PPP. Try netcat. It has "understand telnet' option. It's in ports/net/netcat/ Regards, Yonatan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 2:28: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 2AA5F37B41C for ; Thu, 5 Sep 2002 02:28:11 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E4E8441C4 for ; Thu, 5 Sep 2002 02:14:26 -0700 (PDT) (envelope-from eugen@svzserv.kemerovo.su) Received: from svzserv.kemerovo.su (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.12.5/8.12.5) with ESMTP id g8590iie000320; Thu, 5 Sep 2002 17:00:44 +0800 (KRAST) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3D771D34.DC2E617E@svzserv.kemerovo.su> Date: Thu, 05 Sep 2002 17:00:36 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.79 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Yonatan Bokovza Cc: Eugene Grosbein , net@freebsd.org Subject: Re: BSD telnet and raw socket References: Content-Type: text/plain; charset=koi8-r 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 > > How do I configure/patch FreeBSD's telnet to obtain such mode of > > operation: it connects to server, answers to TELENET negotiation > > and switches to "raw socket" mode. > > > > I need this to redirect stdin containing PPP to cisco's VTY-Async. > > Plain "telnet -8EKNy cisco" doesn't work for PPP. > > Try netcat. It has "understand telnet' option. Tried. Doesn't work with Cisco. Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 9:17: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 D893E37B400 for ; Thu, 5 Sep 2002 09:17:24 -0700 (PDT) Received: from mbx.unige.ch (mbx.unige.ch [129.194.8.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4682843E3B for ; Thu, 5 Sep 2002 09:17:24 -0700 (PDT) (envelope-from quevedo6@cuimail.unige.ch) Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.1-1 #38753) id <0H1Z00J013WY3K@mbx.unige.ch> for freebsd-net@freebsd.org; Thu, 05 Sep 2002 18:17:22 +0200 (MEST) Received: from cuimail.unige.ch ([129.194.124.102]) by mbx.unige.ch (PMDF V6.1-1 #38753) with ESMTP id <0H1Z00HYU3W82Y@mbx.unige.ch> for freebsd-net@freebsd.org; Thu, 05 Sep 2002 18:17:21 +0200 (MEST) Date: Thu, 05 Sep 2002 18:16:19 +0200 From: Federico Quevedo Subject: EAP in PPP? To: freebsd-net@freebsd.org Message-id: <3D778353.B6386D84@cuimail.unige.ch> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (Win98; I) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en X-Comment: This message was scanned against viruses by mbx.unige.ch. 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 wondering if FreeBSD's PPP supports EAP. If the answer is positive, how can I set EAP with PPP in my FreeBSD box? I haven't found something like "enable eap" in the ppp.conf in the documentation. Thanks a lot, Federico ---------------------------------------------------------------- Federico Quevedo B. TIOS Group Assistant Computer Science Department (CUI) University of Geneva To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 9:43: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 94A2D37B400 for ; Thu, 5 Sep 2002 09:43:27 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id D5B9D43E3B for ; Thu, 5 Sep 2002 09:43:26 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 443 invoked by uid 1031); 5 Sep 2002 16:41:47 -0000 Date: Thu, 5 Sep 2002 17:41:46 +0100 From: Bruce M Simpson To: Federico Quevedo Cc: freebsd-net@freebsd.org Subject: Re: EAP in PPP? Message-ID: <20020905164146.GG9129@spc.org> Mail-Followup-To: Bruce M Simpson , Federico Quevedo , freebsd-net@freebsd.org References: <3D778353.B6386D84@cuimail.unige.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D778353.B6386D84@cuimail.unige.ch> User-Agent: Mutt/1.3.28i 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, Sep 05, 2002 at 06:16:19PM +0200, Federico Quevedo wrote: > I'm wondering if FreeBSD's PPP supports EAP. Nope. But you're welcome to contribute patches. Heck, one of these days, I might even get around to adding ECP support if someone doesn't beat me to it. BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 10: 0: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 E93BB37B400 for ; Thu, 5 Sep 2002 10:00:08 -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 5619043E4A for ; Thu, 5 Sep 2002 10:00:08 -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 JAA22172; Thu, 5 Sep 2002 09:56:42 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g85GtDM07733; Thu, 5 Sep 2002 09:55:13 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209051655.g85GtDM07733@arch20m.dellroad.org> Subject: Re: mpd - how to set mtu In-Reply-To: <3D76EED1.4060803@inode.at> "from Michael Bretterklieber at Sep 5, 2002 07:42:41 am" To: Michael Bretterklieber Date: Thu, 5 Sep 2002 09:55:13 -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 Michael Bretterklieber writes: > the admin of the other box told me, that he has specified a mtu of 1500. > > It seems that sometimes pptp is not pptp :-(. > > I allready hear the words of the other admin in my brain: "With > Windows-clients it works" The log trace clearly shows the other side requesting the short MTU. There's simply nothing mpd can do about that. -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 Thu Sep 5 10:22:30 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 EC08437B401 for ; Thu, 5 Sep 2002 10:22:26 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6195843E7B for ; Thu, 5 Sep 2002 10:22:26 -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 <20020905172019.TKWP1399.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 5 Sep 2002 17:20: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 KAA37072; Thu, 5 Sep 2002 10:09:38 -0700 (PDT) Date: Thu, 5 Sep 2002 10:09:37 -0700 (PDT) From: Julian Elischer To: Archie Cobbs Cc: Michael Bretterklieber , freebsd-net@FreeBSD.ORG Subject: Re: mpd - how to set mtu In-Reply-To: <200209051655.g85GtDM07733@arch20m.dellroad.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 The other end may have asked for a short mtu but what of its MRU? On Thu, 5 Sep 2002, Archie Cobbs wrote: > Michael Bretterklieber writes: > > the admin of the other box told me, that he has specified a mtu of 1500. > > > > It seems that sometimes pptp is not pptp :-(. > > > > I allready hear the words of the other admin in my brain: "With > > Windows-clients it works" > > The log trace clearly shows the other side requesting the short MTU. > There's simply nothing mpd can do about that. > > -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 Thu Sep 5 10:56: 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 170C537B400 for ; Thu, 5 Sep 2002 10:56:02 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA63043E75 for ; Thu, 5 Sep 2002 10:56:00 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-9.adsl-dynamic.inode.at ([62.99.165.9] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17n0rG-0002Wa-00 for freebsd-net@freebsd.org; Thu, 05 Sep 2002 19:55:58 +0200 Message-ID: <3D779A1B.703@inode.at> Date: Thu, 05 Sep 2002 19:53:31 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: mpd - connection problems (set ccp yes mpp-stateless) References: <200209042244.g84MisF03869@arch20m.dellroad.org> <3D76ED7A.3010006@inode.at> 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 Hi, ok, now it works. I removed "set ccp yes mpp-e40" and now it works. Now I have only set ccp yes mpp-e128. It workes also with "set ccp yes mpp-stateless". Archie was right, the other site had problems finding the right keylength. thanx, bye, Michael Bretterklieber schrieb: > Hi, > > It seems that if stateless is activated the other box is not able to > find the right keylength. I remember after I removed the > stateless-option, that in the log I saw only one key-length. I will try > to workaround this problem by only adding on keylength option to my > mpd.conf, maybe this helps to workaround the problem. > > thanx, > > bye, > > Archie Cobbs schrieb: > >> Michael Bretterklieber writes: >> >>> I use mpd (Version 3.8) for a pptp vpn-connection to a customer. Now >>> I have some problems: >> >> >> >> The box you are connecting to is completely broken... e.g.: >> >> >>> Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Ack #251 >>> link 0 (Req-Sent) >>> Sep 4 17:09:42 gateway mpd: MPPC >>> Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, >>> stateless >> >> >> >> It is supposed to pick *one* key length! >> >> -Archie >> >> __________________________________________________________________________ >> >> Archie Cobbs * Packet Design * >> http://www.packetdesign.com >> >> > -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 11: 1:20 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 4893F37B400 for ; Thu, 5 Sep 2002 11:01:18 -0700 (PDT) Received: from n97.nomadiclab.com (teldanex.hiit.fi [212.68.5.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F58543E65 for ; Thu, 5 Sep 2002 11:01:12 -0700 (PDT) (envelope-from Pekka.Nikander@nomadiclab.com) Received: from nomadiclab.com (cube.local.nikander.com [192.168.0.33]) by n97.nomadiclab.com (Postfix) with ESMTP id 7716616; Thu, 5 Sep 2002 21:06:02 +0300 (EEST) Message-ID: <3D779BE0.8070607@nomadiclab.com> Date: Thu, 05 Sep 2002 21:01:04 +0300 From: Pekka Nikander User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce M Simpson Cc: Federico Quevedo , freebsd-net@freebsd.org Subject: Re: EAP in PPP? References: <3D778353.B6386D84@cuimail.unige.ch> <20020905164146.GG9129@spc.org> 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 Bruce M Simpson wrote: > On Thu, Sep 05, 2002 at 06:16:19PM +0200, Federico Quevedo wrote: > >>I'm wondering if FreeBSD's PPP supports EAP. > > > Nope. But you're welcome to contribute patches. Heck, one of these days, > I might even get around to adding ECP support if someone doesn't beat > me to it. If you do, it might be worth to see that the EAP implementation works both for PPP and EAPOL. (My early 802.1x / EAPOL patches are still available at http://www.tml.hut.fi/~pnr/eapol/) --Pekka Nikander To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 11: 4: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 746DE37B405 for ; Thu, 5 Sep 2002 11:04:18 -0700 (PDT) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4EC143E3B for ; Thu, 5 Sep 2002 11:04:17 -0700 (PDT) (envelope-from mbretter@inode.at) Received: from line-e-9.adsl-dynamic.inode.at ([62.99.165.9] helo=inode.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 17n0zI-0002rd-00 for freebsd-net@FreeBSD.ORG; Thu, 05 Sep 2002 20:04:16 +0200 Message-ID: <3D779C0D.8090409@inode.at> Date: Thu, 05 Sep 2002 20:01:49 +0200 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-de, de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: Re: mpd - how to set mtu References: <200209051655.g85GtDM07733@arch20m.dellroad.org> 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 Hi, now the performance is ok. I solved the other problem (see posting "mpd - connection problems (set ccp yes mpp-stateless)") and it doesen't seem that the low mtu makes anymore problems. I now tried again "ifconfig ng0 mtu 1500" and the connection still stayed alive and performed ok, but I'm not sure if setting the mtu afterwards does the right thing on the existing connection. thanx for your help, bye, Archie Cobbs schrieb: > Michael Bretterklieber writes: > >>the admin of the other box told me, that he has specified a mtu of 1500. >> >>It seems that sometimes pptp is not pptp :-(. >> >>I allready hear the words of the other admin in my brain: "With >>Windows-clients it works" > > > The log trace clearly shows the other side requesting the short MTU. > There's simply nothing mpd can do about that. > > -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 > > -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Sep 5 11:15: 9 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 23B6F37B400 for ; Thu, 5 Sep 2002 11:15:07 -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 7BD2743E4A for ; Thu, 5 Sep 2002 11:15:06 -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 LAA22631; Thu, 5 Sep 2002 11:01:46 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g85I0Hk08106; Thu, 5 Sep 2002 11:00:17 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209051800.g85I0Hk08106@arch20m.dellroad.org> Subject: Re: mpd - how to set mtu In-Reply-To: "from Julian Elischer at Sep 5, 2002 10:09:37 am" To: Julian Elischer Date: Thu, 5 Sep 2002 11:00:17 -0700 (PDT) Cc: Archie Cobbs , Michael Bretterklieber , 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 Julian Elischer writes: > The other end may have asked for a short mtu but what of its MRU? > > > The log trace clearly shows the other side requesting the short MTU. > > There's simply nothing mpd can do about that. Sorry, I meant "MRU" instead of "MTU". I.e., the max size of PPP frames going from local -> remote. This quantity (or an upper bound on it) is determined by the peer. -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 Thu Sep 5 18: 0: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 602B437B400 for ; Thu, 5 Sep 2002 18:00:15 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id D431043E65 for ; Thu, 5 Sep 2002 18:00:14 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020906010014.TZCA13899.sccrmhc02.attbi.com@InterJet.elischer.org>; Fri, 6 Sep 2002 01:00:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA38840; Thu, 5 Sep 2002 17:58:28 -0700 (PDT) Date: Thu, 5 Sep 2002 17:58:27 -0700 (PDT) From: Julian Elischer To: Pekka Nikander Cc: Bruce M Simpson , Federico Quevedo , freebsd-net@freebsd.org Subject: Re: EAP in PPP? In-Reply-To: <3D779BE0.8070607@nomadiclab.com> 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! you said that you had a few ideas of things needed (e.g. docs) before this would be ready for committing (802.1x would be cool to have..) any movement? Julian On Thu, 5 Sep 2002, Pekka Nikander wrote: > Bruce M Simpson wrote: > > On Thu, Sep 05, 2002 at 06:16:19PM +0200, Federico Quevedo wrote: > > > >>I'm wondering if FreeBSD's PPP supports EAP. > > > > > > Nope. But you're welcome to contribute patches. Heck, one of these days, > > I might even get around to adding ECP support if someone doesn't beat > > me to it. > > If you do, it might be worth to see that the EAP implementation > works both for PPP and EAPOL. (My early 802.1x / EAPOL patches > are still available at http://www.tml.hut.fi/~pnr/eapol/) > > --Pekka Nikander > > > > > 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 Sep 5 22: 2: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 E3E4837B400 for ; Thu, 5 Sep 2002 22:02:29 -0700 (PDT) Received: from n97.nomadiclab.com (teldanex.hiit.fi [212.68.5.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDE4C43E4A for ; Thu, 5 Sep 2002 22:02:27 -0700 (PDT) (envelope-from Pekka.Nikander@nomadiclab.com) Received: from nomadiclab.com (cube.local.nikander.com [192.168.0.33]) by n97.nomadiclab.com (Postfix) with ESMTP id C23D816; Fri, 6 Sep 2002 08:07:17 +0300 (EEST) Message-ID: <3D7836E0.6070001@nomadiclab.com> Date: Fri, 06 Sep 2002 08:02:24 +0300 From: Pekka Nikander User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer Cc: freebsd-net@freebsd.org Subject: EAPOL (was Re: EAP in PPP?) 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 Julian Elischer wrote: > HI! > > you said that you had a few ideas of things needed (e.g. docs) > before this would be ready for committing (802.1x would be > cool to have..) > > any movement? Nope, I've been at home taking care of the kids since the beginning of June -> interrupts all the time -> no flow time -> no code. But maybe some time before the end of the year. I'll start having cycles from mid September -- a helping hand or two would not harm after that. Current priorities: - go through the code and add SMP support as you suggested long time ago - work out a scheme for supporting multiple parallel server-end state machines (authenticators) - write documentation In addition to those, there are a number of smaller things, but I can take care of them easily myself. --Pekka To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 9:18:38 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 B8A3737B405 for ; Fri, 6 Sep 2002 09:18:34 -0700 (PDT) Received: from stono.cs.cofc.edu (stono.cs.cofc.edu [153.9.17.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id E024643E6A for ; Fri, 6 Sep 2002 09:18:29 -0700 (PDT) (envelope-from jimmy@cs.cofc.edu) Received: from [153.9.17.27] (burton.cs.cofc.edu [153.9.17.27]) by stono.cs.cofc.edu (8.11.6/8.11.6) with ESMTP id g86FtWV30799 for ; Fri, 6 Sep 2002 11:55:32 -0400 Mime-Version: 1.0 X-Sender: jimmy@stono.cs.cofc.edu Message-Id: Date: Fri, 6 Sep 2002 12:22:42 -0400 To: freebsd-net@freebsd.org From: "James B. Wilkinson" Subject: permission denied on connect requests? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 Some of the machines in my student lab have a problem connecting to others. The error messages vary only slightly, depending on which program one tries to use. Here's a sample: ping: sendto: Permission denied telnet: connect to address 192.168.0.31: Permission denied ftp: connect: Permission denied I'm running all these programs as root. ifconfig -a gives output that looks good to me: the interface is up and the network and submask numbers are correct. All the machines have the same network number. I have no idea where the "Permission denied" could be coming from. Can somebody give me a clue? I don't know whether this is something different or another symptom of the same problem: dig reports that the connection is refused by the nameserver. I don't see anything wrong with resolv.conf. Thanks -- ------------------------------------------------------------- Jimmy Wilkinson | Perfesser of Computer Science jimmy@cs.CofC.edu | The College of Charleston (843) 953-8160 | Charleston SC 29424 If there is one word to describe me, that word would have to be "profectionist". Any form of incompitence is an athema to me. Metathesis??? Don't ax me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 9:27: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 5DB9037B400 for ; Fri, 6 Sep 2002 09:27:51 -0700 (PDT) Received: from mhub-w2.tc.umn.edu (mhub-w2.tc.umn.edu [160.94.160.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC4643E42 for ; Fri, 6 Sep 2002 09:27:50 -0700 (PDT) (envelope-from ryans@gamersimpact.com) Received: from mhub0.tc.umn.edu by mhub-w2.tc.umn.edu with ESMTP for freebsd-net@freebsd.org; Fri, 6 Sep 2002 11:26:38 -0500 Received: from [128.101.186.76] by mail.tc.umn.edu with ESMTP; Fri, 6 Sep 2002 11:26:37 -0500 Subject: Re: permission denied on connect requests? From: Ryan Sommers To: "James B. Wilkinson" Cc: freebsd-net@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 06 Sep 2002 11:27:27 -0500 Message-Id: <1031329649.11537.18.camel@lobo> Mime-Version: 1.0 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 Are you using ipfw firewalls? If so make sure you have holes for the necessary services, outbound packets and ICMP messages. On Fri, 2002-09-06 at 11:22, James B. Wilkinson wrote: > Some of the machines in my student lab have a problem connecting to > others. The error messages vary only slightly, depending on which > program one tries to use. Here's a sample: > > > ping: sendto: Permission denied > telnet: connect to address 192.168.0.31: Permission denied > ftp: connect: Permission denied > > I'm running all these programs as root. ifconfig -a gives output that > looks good to me: the interface is up and the network and submask > numbers are correct. All the machines have the same network number. I > have no idea where the "Permission denied" could be coming from. Can > somebody give me a clue? > > I don't know whether this is something different or another symptom > of the same problem: dig reports that the connection is refused by > the nameserver. I don't see anything wrong with resolv.conf. > > Thanks > -- > > ------------------------------------------------------------- > Jimmy Wilkinson | Perfesser of Computer Science > jimmy@cs.CofC.edu | The College of Charleston > (843) 953-8160 | Charleston SC 29424 > > If there is one word to describe me, > that word would have to be "profectionist". > Any form of incompitence is an athema to me. > Metathesis??? Don't ax me. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 9:29: 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 92D4537B400 for ; Fri, 6 Sep 2002 09:29:06 -0700 (PDT) Received: from kraid.nerim.net (kraid.nerim.net [62.4.16.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD3A43E77 for ; Fri, 6 Sep 2002 09:29:06 -0700 (PDT) (envelope-from meadele@nerim.net) Received: from nerim.net (bzero.net [80.65.224.39]) by kraid.nerim.net (Postfix) with ESMTP id 08956411B7; Fri, 6 Sep 2002 18:18:28 +0200 (CEST) Message-ID: <3D790264.1000504@nerim.net> Date: Fri, 06 Sep 2002 19:30:44 +0000 From: mm User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "James B. Wilkinson" Cc: freebsd-net@FreeBSD.ORG Subject: Re: permission denied on connect requests? 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 James B. Wilkinson wrote: > Some of the machines in my student lab have a problem connecting to > others. The error messages vary only slightly, depending on which > program one tries to use. Here's a sample: > > > ping: sendto: Permission denied > telnet: connect to address 192.168.0.31: Permission denied > ftp: connect: Permission denied This looks like you have ipfw enable on your machine with a default rule denying everything (deny ip from any to any). You could add the IPFIREWALL_DEFAULT_TO_ACCEPT directive to your kernel configuration or adding some rules allowing what you need. Bye. -- Meadele Mathieu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 12:20: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 BECD637B400 for ; Fri, 6 Sep 2002 12:20:21 -0700 (PDT) Received: from stono.cs.cofc.edu (stono.cs.cofc.edu [153.9.17.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF43043E65 for ; Fri, 6 Sep 2002 12:20:15 -0700 (PDT) (envelope-from jimmy@cs.cofc.edu) Received: from [153.9.17.27] (burton.cs.cofc.edu [153.9.17.27]) by stono.cs.cofc.edu (8.11.6/8.11.6) with ESMTP id g86IvKV32317 for ; Fri, 6 Sep 2002 14:57:21 -0400 Mime-Version: 1.0 X-Sender: jimmy@stono.cs.cofc.edu Message-Id: In-Reply-To: <3D78D612.1070804@expertcity.com> References: <3D78D612.1070804@expertcity.com> Date: Fri, 6 Sep 2002 15:24:33 -0400 To: freebsd-net@freebsd.org From: "James B. Wilkinson" Subject: Re: permission denied on connect requests? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 Why, yes, I do. I was planning to use dummynet later in the semester, and that requires ipfw. Thanks to all who replied. I was probably never going to figure that out. One wonders if the error message could be changed to give a better clue? Thanks, again. >do you have ipfw installed? do an 'ipfw list'; you're probably >blocking your own traffic. > > >James B. Wilkinson wrote: >>Some of the machines in my student lab have a problem connecting to >>others. The error messages vary only slightly, depending on which >>program one tries to use. Here's a sample: >> >> >>ping: sendto: Permission denied >>telnet: connect to address 192.168.0.31: Permission denied >>ftp: connect: Permission denied >> >>I'm running all these programs as root. ifconfig -a gives output >>that looks good to me: the interface is up and the network and >>submask numbers are correct. All the machines have the same network >>number. I have no idea where the "Permission denied" could be >>coming from. Can somebody give me a clue? -- ------------------------------------------------------------- Jimmy Wilkinson | Perfesser of Computer Science jimmy@cs.CofC.edu | The College of Charleston (843) 953-8160 | Charleston SC 29424 If there is one word to describe me, that word would have to be "profectionist". Any form of incompitence is an athema to me. Metathesis??? Don't ax me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 17:40:52 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 9AF3137B400 for ; Fri, 6 Sep 2002 17:40:47 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 869F243E4A for ; Fri, 6 Sep 2002 17:40:34 -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 g870eUwu000562; Fri, 6 Sep 2002 17:40:30 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g870eOif000558; Fri, 6 Sep 2002 17:40:24 -0700 Date: Fri, 6 Sep 2002 17:40:24 -0700 From: Brooks Davis To: Brooks Davis Cc: net@FreeBSD.ORG Subject: Re: adding if_printf() Message-ID: <20020906174024.A32666@Odin.AC.HMC.Edu> References: <20020815133314.A5037@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020815133314.A5037@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Thu, Aug 15, 2002 at 01:33:14PM -0700 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 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2002 at 01:33:14PM -0700, Brooks Davis wrote: > I propose we create a new function if_printf() which is just like > device_printf() except that it takes a (struct ifnet *) instead of a > device_t. It prints things like: >=20 > an0: message >=20 > Since this is what the vast majority of printfs in interface code, using > this function would be cleaner and easier. Additionaly, it potentialy > gives driver authors a say to keep their source more compatable between > 4.x and 5.x after the if_xname conversion. Does anyone violently oppose this function? I think it's the best way to keep the move to if_xname sane. I'd like to commit it soon and start converting drivers. -- 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 --VbJkn9YxBvnuCH5J 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 iD8DBQE9eUr2XY6L6fI4GtQRAlyaAJ9tvmJeeP5Dvdm4ZR62VBt0vcbhCQCg4XYf hU0IBoDr5He1axBew6n13/4= =gJ5i -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Sep 6 23:43:49 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 DD7C337B400 for ; Fri, 6 Sep 2002 23:43:47 -0700 (PDT) Received: from web14605.mail.yahoo.com (web14605.mail.yahoo.com [216.136.224.85]) by mx1.FreeBSD.org (Postfix) with SMTP id B0C6843E72 for ; Fri, 6 Sep 2002 23:43:47 -0700 (PDT) (envelope-from shubha_mr@yahoo.com) Message-ID: <20020907064347.36459.qmail@web14605.mail.yahoo.com> Received: from [12.151.32.25] by web14605.mail.yahoo.com via HTTP; Sat, 07 Sep 2002 07:43:47 BST Date: Sat, 7 Sep 2002 07:43:47 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= Subject: priority queues To: 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, Does BSD support priority queues for ethernet network drivers?Any sample network drivers for the same? Thanks and Regards, shubha __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Sep 7 0: 0:31 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 AA97C37B401 for ; Sat, 7 Sep 2002 00:00:24 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A8A443E4A for ; Sat, 7 Sep 2002 00:00:24 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020907070023.BGBK25823.sccrmhc02.attbi.com@InterJet.elischer.org>; Sat, 7 Sep 2002 07:00:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA45368; Fri, 6 Sep 2002 23:48:42 -0700 (PDT) Date: Fri, 6 Sep 2002 23:48:42 -0700 (PDT) From: Julian Elischer To: =?iso-8859-1?q?shubha=20mr?= Cc: freebsd-net@FreeBSD.org Subject: Re: priority queues In-Reply-To: <20020907064347.36459.qmail@web14605.mail.yahoo.com> 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 On Sat, 7 Sep 2002, [iso-8859-1] shubha mr wrote: > Hi, > Does BSD support priority queues for ethernet network > drivers?Any sample network drivers for the same? > > Thanks and Regards, There is a set of patches called ALTQ that give this. it has not been inccluded in the base system.. check the archives for references to it.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Sep 7 8:12:36 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 2BD2E37B406; Sat, 7 Sep 2002 08:12:31 -0700 (PDT) Received: from brightstar.ath.cx (mplsdslgw28poolA121.mpls.uswest.net [63.231.168.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A30D43E3B; Sat, 7 Sep 2002 08:12:30 -0700 (PDT) (envelope-from gene@bomgardner.net) Received: from morningstar (morningstar.ath.cx [192.168.123.1]) by brightstar.ath.cx (8.11.3/8.11.3) with ESMTP id g87FCRf00830; Sat, 7 Sep 2002 10:12:28 -0500 (CDT) (envelope-from gene@bomgardner.net) From: "Gene Bomgardner" To: FreeBSD-questions@freebsd.org Date: Sat, 7 Sep 2002 10:12:28 -0500 MIME-Version: 1.0 Subject: ipfw add rule format Reply-To: Gene@bomgardner.net Cc: freeBSD-net@freebsd.org Message-ID: <3D79D10C.24961.30386E@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 finally realized that the reason the gateway isn't passing data is probably because of a missing divert rule in the firewall. I tried : ipfw 5000 add divert natd all from any to any via rl0 however, ipfw responds "missing 'to'" Any idea where the 'to' belongs? The manpage isn't very helpful in this case. Thanks. God's Blessings, Gene To everything there is a season, and a time to every purpose under heaven. Ecl 3:1 - and more recently, The Byrds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Sep 7 8:54: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 3B53C37B400 for ; Sat, 7 Sep 2002 08:54:10 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56A643E6A for ; Sat, 7 Sep 2002 08:54:09 -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 g87Fs9Ib047575; Sat, 7 Sep 2002 08:54:09 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g87Fs9fW047574; Sat, 7 Sep 2002 08:54:09 -0700 (PDT) (envelope-from rizzo) Date: Sat, 7 Sep 2002 08:54:09 -0700 From: Luigi Rizzo To: shubha mr Cc: freebsd-net@FreeBSD.ORG Subject: Re: priority queues Message-ID: <20020907085409.B47545@iguana.icir.org> References: <20020907064347.36459.qmail@web14605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020907064347.36459.qmail@web14605.mail.yahoo.com>; from shubha_mr@yahoo.com on Sat, Sep 07, 2002 at 07:43:47AM +0100 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 Sat, Sep 07, 2002 at 07:43:47AM +0100, shubha mr wrote: > Hi, > Does BSD support priority queues for ethernet network > drivers?Any sample network drivers for the same? look at dummynet "queue"s -- ipfw(8) manpage and http://info.iet.unipi.it/~luigi/ip_dummynet/ they implement an efficient variant of weighted fair queueing and have been in the system for almost 3 years now. Device independent. cheers luigi > Thanks and Regards, > shubha > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.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 Sat Sep 7 8:54: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 511C437B400; Sat, 7 Sep 2002 08:54:50 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0687743E42; Sat, 7 Sep 2002 08:54:50 -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 g87Fq8Ib047558; Sat, 7 Sep 2002 08:52:08 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g87Fq8D4047557; Sat, 7 Sep 2002 08:52:08 -0700 (PDT) (envelope-from rizzo) Date: Sat, 7 Sep 2002 08:52:08 -0700 From: Luigi Rizzo To: Gene Bomgardner Cc: FreeBSD-questions@FreeBSD.ORG, freeBSD-net@FreeBSD.ORG Subject: Re: ipfw add rule format Message-ID: <20020907085208.A47545@iguana.icir.org> References: <3D79D10C.24961.30386E@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D79D10C.24961.30386E@localhost>; from gene@bomgardner.net on Sat, Sep 07, 2002 at 10:12:28AM -0500 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 Sat, Sep 07, 2002 at 10:12:28AM -0500, Gene Bomgardner wrote: > Hi. I finally realized that the reason the gateway isn't passing data > is probably because of a missing divert rule in the firewall. I tried : > > ipfw 5000 add divert natd all from any to any via rl0 you are swapping the command and rule number, it should be ipfw add 5000 divert natd all from any to any via rl0 cheers luigi > however, ipfw responds "missing 'to'" > > Any idea where the 'to' belongs? The manpage isn't very helpful in > this case. > > Thanks. > > God's Blessings, > Gene > > To everything there is a season, and a time to every > purpose under heaven. Ecl 3:1 - > and more recently, The Byrds > > > 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 Sat Sep 7 9:43: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 1013937B400; Sat, 7 Sep 2002 09:43:34 -0700 (PDT) Received: from brightstar.ath.cx (mplsdslgw28poolA121.mpls.uswest.net [63.231.168.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2ACF43E72; Sat, 7 Sep 2002 09:43:32 -0700 (PDT) (envelope-from gene@bomgardner.net) Received: from morningstar (morningstar.ath.cx [192.168.123.1]) by brightstar.ath.cx (8.11.3/8.11.3) with ESMTP id g87GhV500753; Sat, 7 Sep 2002 11:43:31 -0500 (CDT) (envelope-from gene@bomgardner.net) From: "Gene Bomgardner" To: FreeBSD-questions@freebsd.org Date: Sat, 7 Sep 2002 11:43:31 -0500 MIME-Version: 1.0 Subject: Side issue to IPFW problem Reply-To: Gene@bomgardner.net Cc: FreeBSD-net@freebsd.org Message-ID: <3D79E663.20043.83960E@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 a side issue to the ipfw format problem. Since the firewall is enabled in rc.conf, and natd is also enabled, and the firewall script name is correct, why does the divert rule for natd not get set? I've checked rc.firewall and it's there, just like it should be, but it never gets set. The only rule that is set is the one single default rule. (type is set to 'open'.) Either the script never runs, or it doesn't realize that NATD is set YES God's Blessings, Gene To everything there is a season, and a time to every purpose under heaven. Ecl 3:1 - and more recently, The Byrds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Sep 7 9:43: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 E259337B41F; Sat, 7 Sep 2002 09:43:39 -0700 (PDT) Received: from brightstar.ath.cx (mplsdslgw28poolA121.mpls.uswest.net [63.231.168.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB02743E75; Sat, 7 Sep 2002 09:43:38 -0700 (PDT) (envelope-from gene@bomgardner.net) Received: from morningstar (morningstar.ath.cx [192.168.123.1]) by brightstar.ath.cx (8.11.3/8.11.3) with ESMTP id g87GhO500748; Sat, 7 Sep 2002 11:43:27 -0500 (CDT) (envelope-from gene@bomgardner.net) From: "Gene Bomgardner" To: FreeBSD-net@freebsd.org Date: Sat, 7 Sep 2002 11:43:24 -0500 MIME-Version: 1.0 Subject: ipfw format problems (repost) Reply-To: Gene@bomgardner.net Cc: FreeBSD-questions@freebsd.org Message-ID: <3D79E65C.1587.837AD4@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 finally realized that the reason the gateway isn't passing data is probably because of a missing divert rule in the firewall. I tried : ipfw add divert natd all from any to any via rl0 Right out of the natd manpage , however, ipfw responds "ipfw: error: missing 'to'" Any idea where the missing 'to' belongs? The manpage isn't very helpful in this case. Thanks. God's Blessings, Gene To everything there is a season, and a time to every purpose under heaven. Ecl 3:1 - and more recently, The Byrds 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 Sat Sep 7 9:45: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 03A7737B400; Sat, 7 Sep 2002 09:45:27 -0700 (PDT) Received: from brightstar.ath.cx (mplsdslgw28poolA121.mpls.uswest.net [63.231.168.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB32143E72; Sat, 7 Sep 2002 09:45:25 -0700 (PDT) (envelope-from gene@bomgardner.net) Received: from morningstar (morningstar.ath.cx [192.168.123.1]) by brightstar.ath.cx (8.11.3/8.11.3) with ESMTP id g87GjC500784; Sat, 7 Sep 2002 11:45:13 -0500 (CDT) (envelope-from gene@bomgardner.net) From: "Gene Bomgardner" To: Luigi Rizzo Date: Sat, 7 Sep 2002 11:45:13 -0500 MIME-Version: 1.0 Subject: Re: ipfw add rule format Reply-To: Gene@bomgardner.net Cc: FreeBSD-net@freebsd.org, FreeBSD-questions@freebsd.org Message-ID: <3D79E6C9.22143.852253@localhost> In-reply-to: <20020907093956.A47831@iguana.icir.org> References: <3D79DBD2.31825.5A4FF6@localhost>; from gene@bomgardner.net on Sat, Sep 07, 2002 at 10:58:26AM -0500 X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 7 Sep 2002 at 9:39, Luigi Rizzo wrote: > is that ipfw1 or ipfw2, stable or current ? > I didn't know there WAS an ipfw 1 and 2. However, it's 4.3 stable. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message