From owner-freebsd-net Sun Apr 29 0: 3:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 2739037B424 for ; Sun, 29 Apr 2001 00:03:54 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3T8DKR70298 for ; Sun, 29 Apr 2001 03:13:20 -0500 (CDT) (envelope-from nick@rogness.net) Date: Sun, 29 Apr 2001 03:13:20 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: freebsd-net@freebsd.org Subject: gif tunnel woes Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm having a problem with Multi destination gif tunnel. Here the useful setup info. //////////////////////////////////////////////////////////////////// // Tunnel setup: hadji# gifconfig -a gif0: flags=9011 mtu 1280 inet 192.168.254.9 --> 192.168.254.10 netmask 0xffffff00 inet 192.168.254.1 --> 192.168.254.2 netmask 0xffffff00 physical address inet 24.28.70.222 --> 0.0.0.0 hadji# netstat -rn . 192.168.254.2 24.27.51.59 UHS 2 13 gif0 192.168.254.10 3.9.7.22 UH 0 0 gif0 . //////////////////////////////////////////////////////////////////// // OK I can ping the other side of the tunnel hadji# ping 192.168.254.2 PING 192.168.254.2 (192.168.254.2): 56 data bytes 64 bytes from 192.168.254.2: icmp_seq=0 ttl=255 time=89.068 ms //////////////////////////////////////////////////////////////////// OK, so all looks well. Now we need to add a route to the far network hadji# route add -net 192.168.10.0 192.168.254.2 //////////////////////////////////////////////////////////////////// ////OK, now lets try to reach it: hadji# ping 192.168.10.16 PING 192.168.10.16 (192.168.10.16): 56 data bytes ping: sendto: Input/output error ping: sendto: Input/output error //////////////////////////////////////////////////////////////////// Input/output error...? Someone have some ideas? Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Apr 29 4:30:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from cat.acs.sk (cat.acs.sk [212.89.228.4]) by hub.freebsd.org (Postfix) with ESMTP id 2977F37B423 for ; Sun, 29 Apr 2001 04:30:21 -0700 (PDT) (envelope-from hodan@cat.acs.sk) Received: (from hodan@localhost) by cat.acs.sk (8.11.3/8.11.1) id f3TBXCh90051 for freebsd-net@freebsd.org; Sun, 29 Apr 2001 13:33:12 +0200 (CEST) (envelope-from hodan) From: Tomas Hodan Message-Id: <200104291133.f3TBXCh90051@cat.acs.sk> Subject: problem to setup VLAN To: freebsd-net@freebsd.org Date: Sun, 29 Apr 2001 13:33:12 +0200 (CEST) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, plase could you help me, i'm trying so setup VLANs with my freebsd box running 4.2-RELEASE with applyed patch from http://www.euitt.upm.es/~pjlobo/fbsdvlan.html and catalyst 2900. i setup everything as i found in last emails from mailing lists and vlans are not working for my case. plase could you sendme examples of setting freebsd box and catalyst? are also any others ethernet adapters supported for vlans? why the patches are not inclouded in release? thanks tomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Apr 29 18:46:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 905A937B422 for ; Sun, 29 Apr 2001 18:46:29 -0700 (PDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.2/8.11.1) with SMTP id f3U1kAh90879; Sun, 29 Apr 2001 21:46:10 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: hodan@cat.acs.sk (Tomas Hodan) Cc: freebsd-net@freebsd.org Subject: Re: problem to setup VLAN Date: Sun, 29 Apr 2001 21:46:10 -0400 Message-ID: References: In-Reply-To: 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 X-Loop: FreeBSD.org On 29 Apr 2001 07:30:32 -0400, in sentex.lists.freebsd.net you wrote: You dont necessarily need these patches to work with VLANs, only if you want the MTU to be 1500 with the fxp card. If you have applied the patch correctly, and you have recompiled your kernel with the appropriate = number of VLAN devices for your setup (e.g. pseudo-device vlan 5 #VLAN support ) see the pages for how to use ifconfig e.g. ifconfig vlan1 192.168.1.2 netmask 255.255.255.0 vlan 101 vlandev fxp1 = mtu 1500 up will configure vlan1 on fxp1 with vlan ID 101 ---Mike >Hi all, > >plase could you help me, >i'm trying so setup VLANs with my freebsd box running 4.2-RELEASE with = applyed >patch from http://www.euitt.upm.es/~pjlobo/fbsdvlan.html and catalyst = 2900. >i setup everything as i found in last emails from mailing lists and = vlans are >not working for my case. plase could you sendme examples of setting = freebsd box >and catalyst? > >are also any others ethernet adapters supported for vlans? >why the patches are not inclouded in release? > >thanks >tomas > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message 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 Sun Apr 29 21:24: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from gw.farley.org (farley.org [216.140.158.72]) by hub.freebsd.org (Postfix) with ESMTP id 4796E37B443 for ; Sun, 29 Apr 2001 21:24:01 -0700 (PDT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by gw.farley.org (8.11.3/8.11.3) with ESMTP id f3U4NZL12774; Sun, 29 Apr 2001 23:23:36 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Sun, 29 Apr 2001 23:23:35 -0500 (CDT) From: Sean Farley X-X-Sender: To: Maxim Konovalov Cc: Subject: Re: Sendmail outgoing bind() fails on PPP In-Reply-To: Message-ID: <20010429232137.J6969-100000@thor.farley.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 28 Apr 2001 10:22, Maxim Konovalov wrote: > > Hello, > > On Fri, 27 Apr 2001 itojun@iijlab.net wrote: > > > >Well, I have had the same problem. The solution was in removing IPv6 > > >support. I have not done any futher investigations. > > > > please file a bug report to sendmail.org. > > It seems Sean Farley has already done the patch. Thank you Sean. You are welcome. Now the question is: should I report the bug and fix through send-pr? I have already sent the patch to sendmail-bugs@sendmail.org. Sean ----------------------- sean-freebsd@farley.org PGP key: http://www.farley.org/~sean/pgp.key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 0:50:21 2001 Delivered-To: freebsd-net@freebsd.org Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by hub.freebsd.org (Postfix) with ESMTP id 90E4F37B424; Mon, 30 Apr 2001 00:50:17 -0700 (PDT) (envelope-from singh@pdx.edu) Received: from gere.odin.pdx.edu (gere.odin.pdx.edu [131.252.120.42]) by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f3U7oHl26699; Mon, 30 Apr 2001 00:50:17 -0700 (PDT) Received: from localhost (singh@localhost) by gere.odin.pdx.edu (8.11.1/8.11.1) with ESMTP id f3U7oG624808; Mon, 30 Apr 2001 00:50:16 -0700 (PDT) X-Authentication-Warning: gere.odin.pdx.edu: singh owned process doing -bs Date: Mon, 30 Apr 2001 00:50:16 -0700 (PDT) From: Harkirat Singh X-X-Sender: To: Cc: Subject: TTCP, Netperf and TcpBlast Problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I wanted to use TTCP for doing some of my lab experiments, (server was running first), I was getting error message as "Connection Refused", I am having 4.2-Release. Could someone tell me the cause for this and how to debug it, I did not compile it, I am having just binaries (original) of TTCP. Then I thought that let me use Netperf, I went the ftp site as mentioned in the port's readme file but I found that there is no release for FreeBSD!! There is another tool called Tcpblast, but I had same problem with this also. Did someone use these tools with Release-4.2, if then please advise me from where can I get source code for Netperf and Tcpblast. Thanks, Harkirat Singh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 2:28:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id 7C32337B43C for ; Mon, 30 Apr 2001 02:28:49 -0700 (PDT) (envelope-from jcv@vbc.net) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f3U9SlK77413 for ; Mon, 30 Apr 2001 10:28:48 +0100 (BST) X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Mon, 30 Apr 2001 10:28:47 +0100 (BST) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: freebsd-net@FreeBSD.ORG Subject: Status: no carrier Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I installed a Network Internet Card on a FreeBSD machine. From the ifconfig command, I have got "status: no carrier". ------ fxp1: flags=8843 mtu 1500 inet 194.207.253.2 netmask 0xfffffff8 broadcast 194.207.253.7 inet6 fe80::202:b3ff:fe13:e596%fxp1 prefixlen 64 scopeid 0x4 ether 00:02:b3:13:e5:96 media: 100baseTX status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP ------ The cable (NOT a cross over Ethernet cable) is new. The immediat purpose is to link this machine to a hub. On the back of this card I have 2 green LEDs: 1 OFF and 1 ON. Do you have any idea of why it is not working ? Thanks, Christophe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 3:17: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from unit11.support.nl (unit11.support.nl [195.114.229.252]) by hub.freebsd.org (Postfix) with ESMTP id 040F137B43C for ; Mon, 30 Apr 2001 03:17:04 -0700 (PDT) (envelope-from marcel@support.nl) Received: from localhost (marcel@localhost) by unit11.support.nl (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA16241; Mon, 30 Apr 2001 12:20:57 +0200 Date: Mon, 30 Apr 2001 12:20:57 +0200 (CEST) From: Marcel Lemmen To: Jean-Christophe Varaillon Cc: freebsd-net@FreeBSD.ORG Subject: Re: Status: no carrier In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try setting the media to autoselect: ifconfig fxp1 netmask media auto Kind regards, Marcel Lemmen Support Net -------------------------------------------------------------- | Marcel Lemmen | Support Net BV | | | System Engineer | beheer@support.nl | \|/ | | | | ___.oO___|_ | | Jobs@SupportNet | http://jobs.supportnet.nl | | -------------------------------------------------------------- (It's a snowman in the desert next to a saguaro) On Mon, 30 Apr 2001, Jean-Christophe Varaillon wrote: > Date: Mon, 30 Apr 2001 10:28:47 +0100 (BST) > From: Jean-Christophe Varaillon > To: freebsd-net@FreeBSD.ORG > Subject: Status: no carrier > > Hi all, > > > I installed a Network Internet Card on a FreeBSD machine. > > >From the ifconfig command, I have got "status: no carrier". > > ------ > fxp1: flags=8843 mtu 1500 > inet 194.207.253.2 netmask 0xfffffff8 broadcast 194.207.253.7 > inet6 fe80::202:b3ff:fe13:e596%fxp1 prefixlen 64 scopeid 0x4 > ether 00:02:b3:13:e5:96 > media: 100baseTX status: no carrier > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP > ------ > > The cable (NOT a cross over Ethernet cable) is new. > > The immediat purpose is to link this machine to a hub. > > On the back of this card I have 2 green LEDs: 1 OFF and 1 ON. > > > > Do you have any idea of why it is not working ? > > Thanks, > Christophe > > > 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 Apr 30 3:31:48 2001 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id F1AAF37B422 for ; Mon, 30 Apr 2001 03:31:45 -0700 (PDT) (envelope-from jcv@vbc.net) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f3UAViX78272; Mon, 30 Apr 2001 11:31:44 +0100 (BST) X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Mon, 30 Apr 2001 11:31:43 +0100 (BST) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: Marcel Lemmen Cc: freebsd-net@FreeBSD.ORG Subject: Re: Status: no carrier In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Apr 2001, Marcel Lemmen wrote: > Try setting the media to autoselect: > ifconfig fxp1 netmask media auto Yes it is working. Thanks a lot. Regards, Christophe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 9:15: 5 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 4010037B43C; Mon, 30 Apr 2001 09:14:58 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f3UGEus12713; Mon, 30 Apr 2001 09:14:57 -0700 Date: Mon, 30 Apr 2001 09:14:56 -0700 From: Brooks Davis To: Harkirat Singh Cc: questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem Message-ID: <20010430091456.A9979@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from singh@pdx.edu on Mon, Apr 30, 2001 at 12:50:16AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2001 at 12:50:16AM -0700, Harkirat Singh wrote: > Then I thought that let me use Netperf, I went the ftp site as mentioned > in the port's readme file but I found that there is no release for > FreeBSD!! There is another tool called Tcpblast, but I had same > problem with this also. Of course, there not FreeBSD release, it's distributed as source code. The whole point if the posts tree is that you can install things like this: cd /usr/ports/benchmarks/netperf make install clean At that point netperf is installed in /usr/local/netperf. -- 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 --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE67Y+AXY6L6fI4GtQRAoXGAJ9a1MnabzOh735Hd+VtsuemwcD+4wCfdmtV Gas1SzsAsUn/hVuZQ79vsH8= =YThB -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 10:53:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 818AB37B422 for ; Mon, 30 Apr 2001 10:53:27 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3UJ35j78834; Mon, 30 Apr 2001 14:03:05 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 30 Apr 2001 14:03:04 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: John Wilson Cc: freebsd-net@FreeBSD.ORG Subject: Re: ipfw routing/netmask problem In-Reply-To: <17607983.988650352302.JavaMail.imail@almond.excite.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Apr 2001, John Wilson wrote: > > > > fxp1 is bound to several IPs, 192.168.1.254 and 192.168.2.254 for > two > > different types of NAT clients, and 90.91.92.4 for the DMZ. > > > > Define "2 different types of NAT clients". Your DMZ is not on a > > seperate network of your private network? By doing that you are > > getting rid of the whole concept of having a DMZ. > > Two different companies sharing the line. It's easier to use two > different unregistered subnets for NAT clients (bandwidth accounting, > etc.), although both are aliased to appear from the exposed interface > (90.91.92.2) > > I don't see a problem with DMZ being on the same network with everyone > else, other than that people can steal routable IPs, but then the > firewall is configured to block all incoming traffic to 62.90.91.2 > (except for established connections), and has specific rules for each > allowed DMZ server (allow incoming 25 for mail, 80 for http, etc.), so > even if someone steals an extra IP, the firewall will reject them. If someone compromises a machine on the DMZ, they have access to your private network...sniffing..etc. > > > > > > You have 2 options here. > > > > 1) Setup proxy arp on your outside interface. Binding the whole > > /27 address range (with exception of the router's IP) to your BSD > > machine. Make natd translations accordingly. > > > 2) Setup your DMZ using 90.91.92.16/28 IP range which gives you > > enough IP's to play with, and leaves the 90.91.92.4/30 and > > 90.91.92.8/29 subnet's to play with. Add the routes in the router > to > route the subnets to your BSD machine's IP. Make natd > translations > accordingly if you decide to run private address > space for your DMZ, > if not no additional work needs to be done. > > Which option is better? How do I set up proxy arp? I would probably run with Option 2 first. But keep in mind that there are other options. > > This seems like a good solution. Please help me figure out the > subnets/routes I need to use. So far, I have this: > > /---------------------\ > | router 90.91.92.1 | > \---------------------/ > | > | > /---------------------\ /---------------------\ > | fxp0 90.91.92.2/30 |---| fxp1 90.91.92.?/? | > \---------------------/ \---------------------/ > -| | |----------- > | | | > /-------\ /-------\ /-------\ > | NAT 1 | | NAT 2 | | DMZ | > \-------/ \-------/ \-------/ > > All I gotta do is fill in the missing blanks :) fxp1= 90.91.92.17 netmask 255.255.255.240 All DMZ machines (90.91.92.18 -> 90.91.92.30) are setup with the same netmask (255.255.255.240) and point to .17 as there gateway. I would, however, change your physcial setup by splitting off your DMZ onto it's own ethernet card and switch like so: Public (Router) | fxp0 | BSD --fxp2---DMZ | fxp1 | Private Net / \ nat1 nat2 It just makes more sense security wise and makes administration a little less difficult. It also gives you more options with firewalling and such. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 10:55:55 2001 Delivered-To: freebsd-net@freebsd.org Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by hub.freebsd.org (Postfix) with ESMTP id 7B2C937B422; Mon, 30 Apr 2001 10:55:49 -0700 (PDT) (envelope-from singh@pdx.edu) Received: from gere.odin.pdx.edu (gere.odin.pdx.edu [131.252.120.42]) by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UHtnl01744; Mon, 30 Apr 2001 10:55:49 -0700 (PDT) Received: from localhost (singh@localhost) by gere.odin.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UHtmM29781; Mon, 30 Apr 2001 10:55:48 -0700 (PDT) X-Authentication-Warning: gere.odin.pdx.edu: singh owned process doing -bs Date: Mon, 30 Apr 2001 10:55:48 -0700 (PDT) From: Harkirat Singh X-X-Sender: To: Brooks Davis Cc: , Subject: Re: TTCP, Netperf and TcpBlast Problem In-Reply-To: <20010430091456.A9979@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Davis: Before posting my original message I did try to install the package using Make but this ftp site as mentioned in the makefile does'nt support any package for FreeBSD. Thsi is part of my makefile... ********** PORTNAME= netperf PORTVERSION= 2.1.3 CATEGORIES= benchmarks ipv6 MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ DISTNAME= netperf-2.1pl3 PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ PATCHFILES= netperf-21pl3-20000721.diff.gz ************ I understand that netperf-2.1p13 does'nt work with FreeBSD. Do you know any other version of netperf which works with FreeBSD. Thanks, harkirat On Mon, 30 Apr 2001, Brooks Davis wrote: > On Mon, Apr 30, 2001 at 12:50:16AM -0700, Harkirat Singh wrote: > > Then I thought that let me use Netperf, I went the ftp site as mentioned > > in the port's readme file but I found that there is no release for > > FreeBSD!! There is another tool called Tcpblast, but I had same > > problem with this also. > > Of course, there not FreeBSD release, it's distributed as source code. > The whole point if the posts tree is that you can install things like > this: > > cd /usr/ports/benchmarks/netperf > make install clean > > At that point netperf is installed in /usr/local/netperf. > > -- Brooks > > -- > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 11: 3:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 2296F37B424; Mon, 30 Apr 2001 11:03:54 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f3UI3q530620; Mon, 30 Apr 2001 11:03:52 -0700 Date: Mon, 30 Apr 2001 11:03:52 -0700 From: Brooks Davis To: Harkirat Singh Cc: Brooks Davis , questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem Message-ID: <20010430110352.B29237@Odin.AC.HMC.Edu> References: <20010430091456.A9979@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from singh@pdx.edu on Mon, Apr 30, 2001 at 10:55:48AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2001 at 10:55:48AM -0700, Harkirat Singh wrote: > I understand that netperf-2.1p13 does'nt work with FreeBSD. Do you know > any other version of netperf which works with FreeBSD. It works just fine. I installed it on two machines a couple weeks ago. You don't need to go to the ftp site. Just type "make install clean" in the port directory. Unless you screwed up your system configuration it will just work. -- 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 --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE67akHXY6L6fI4GtQRAigrAJ9ESUhTczKQh0lOV1qh6hm1O99iDQCg0hrz FrdKixxbpQRXKjyI1tK43u8= =5J9h -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 11:29:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by hub.freebsd.org (Postfix) with ESMTP id 37AAC37B423; Mon, 30 Apr 2001 11:29:06 -0700 (PDT) (envelope-from singh@pdx.edu) Received: from gere.odin.pdx.edu (gere.odin.pdx.edu [131.252.120.42]) by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UIT5l08759; Mon, 30 Apr 2001 11:29:05 -0700 (PDT) Received: from localhost (singh@localhost) by gere.odin.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UIT5602688; Mon, 30 Apr 2001 11:29:05 -0700 (PDT) X-Authentication-Warning: gere.odin.pdx.edu: singh owned process doing -bs Date: Mon, 30 Apr 2001 11:29:05 -0700 (PDT) From: Harkirat Singh X-X-Sender: To: Brooks Davis Cc: , Subject: Re: TTCP, Netperf and TcpBlast Problem In-Reply-To: <20010430110352.B29237@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is the script file!!. I said that I went to ftp site to see whether it (netperf-2.1pl3) is supported for FreeBSD, but I saw all th eother OS but there was no reference for FreeBSD. -Harkirat **************** Script started on Mon Apr 30 11:26:50 2001 penguin# make install clean >> netperf-2.1pl3.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cup.hp.com/dist/networking/benchmarks/n etperf/. fetch: netperf-2.1pl3.tar.gz: File unavailable (e.g., file not found, no acce ss) >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles /. fetch: netperf-2.1pl3.tar.gz: Not logged in >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. *** Error code 1 Stop in /usr/ports/benchmarks/netperf. penguin# exit exit Script done on Mon Apr 30 11:27:13 2001 ************** On Mon, 30 Apr 2001, Brooks Davis wrote: > On Mon, Apr 30, 2001 at 10:55:48AM -0700, Harkirat Singh wrote: > > I understand that netperf-2.1p13 does'nt work with FreeBSD. Do you know > > any other version of netperf which works with FreeBSD. > > It works just fine. I installed it on two machines a couple weeks ago. > You don't need to go to the ftp site. Just type "make install clean" > in the port directory. Unless you screwed up your system configuration > it will just work. > > -- Brooks > > -- > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 11:34:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 4AB5E37B424; Mon, 30 Apr 2001 11:34:37 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f3UIYai03298; Mon, 30 Apr 2001 11:34:36 -0700 Date: Mon, 30 Apr 2001 11:34:36 -0700 From: Brooks Davis To: Harkirat Singh Cc: questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem Message-ID: <20010430113436.A2706@Odin.AC.HMC.Edu> References: <20010430110352.B29237@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from singh@pdx.edu on Mon, Apr 30, 2001 at 11:29:05AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2001 at 11:29:05AM -0700, Harkirat Singh wrote: >=20 > This is the script file!!. I said that I went to ftp site to see whether > it (netperf-2.1pl3) is supported for FreeBSD, but I saw all th eother OS > but there was no reference for FreeBSD. Ignore the f*ing ftp site. It looks like there's something wrong with your network configuration that you can't fetch it, so you may have to fetch it manualy and place it in /usr/ports/distfiles (you can write to that, can't you?). It's totally irrelavent that the site doesn't list FreeBSD as supported, that's what the port is for. It works just fine here. -- Brooks -- 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 --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE67bA7XY6L6fI4GtQRAiqWAKDiH4pPh8zCZdKHM4cJjHUEEpla/QCgzwZJ N2jcctYcj7KHRvaTq2CaQO4= =q0kk -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 11:49:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id DD05D37B423 for ; Mon, 30 Apr 2001 11:49:55 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 58326 invoked by uid 1001); 30 Apr 2001 18:49:54 +0000 (GMT) To: brooks@one-eyed-alien.net Cc: singh@pdx.edu, questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem From: sthaug@nethelp.no In-Reply-To: Your message of "Mon, 30 Apr 2001 11:34:36 -0700" References: <20010430113436.A2706@Odin.AC.HMC.Edu> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 30 Apr 2001 20:49:54 +0200 Message-ID: <58324.988656594@verdi.nethelp.no> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > This is the script file!!. I said that I went to ftp site to see whether > > it (netperf-2.1pl3) is supported for FreeBSD, but I saw all th eother OS > > but there was no reference for FreeBSD. > > Ignore the f*ing ftp site. It looks like there's something wrong with > your network configuration that you can't fetch it, so you may have to > fetch it manualy and place it in /usr/ports/distfiles (you can write > to that, can't you?). It's totally irrelavent that the site doesn't > list FreeBSD as supported, that's what the port is for. It works just > fine here. He's using an old ports tree. Using a recent ports tree works just fine: % cd ports/benchmarks/netperf % make >> netperf-2.1pl3.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/./. fetch: netperf-2.1pl3.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/. Receiving netperf-2.1pl3.tar.gz (829036 bytes): 100% 829036 bytes transferred in 14.7 seconds (55.07 kBps) >> netperf-21pl3-20010302.diff.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.kame.net/pub/kame/misc/. Receiving netperf-21pl3-20010302.diff.gz (7725 bytes): 100% 7725 bytes transferred in 0.6 seconds (12.45 kBps) ===> Extracting for netperf-2.1.3_1 >> Checksum OK for netperf-2.1pl3.tar.gz. >> Checksum OK for netperf-21pl3-20010302.diff.gz. ===> Patching for netperf-2.1.3_1 ===> Applying distribution patches for netperf-2.1.3_1 ===> Applying FreeBSD patches for netperf-2.1.3_1 ===> Configuring for netperf-2.1.3_1 Setting CFLAGS to "-O -pipe -DDO_IPV6" ===> Building for netperf-2.1.3_1 ... Oh yeah, Netperf has been working on FreeBSD at least since 1997 (that's when I did my first tests of FreeBSD with 100 Mbps Ethernet and submitted the results to the Netperf archive). Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 12:21:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id B0CF337B423; Mon, 30 Apr 2001 12:21:31 -0700 (PDT) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.11.3/8.9.1) with ESMTP id f3UJLPZ13561; Mon, 30 Apr 2001 12:21:25 -0700 (PDT) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f3UJLLx87029; Mon, 30 Apr 2001 12:21:21 -0700 (PDT) (envelope-from bmah) Message-Id: <200104301921.f3UJLLx87029@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Brooks Davis Cc: Harkirat Singh , questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem In-Reply-To: <20010430113436.A2706@Odin.AC.HMC.Edu> References: <20010430110352.B29237@Odin.AC.HMC.Edu> <20010430113436.A2706@Odin.AC.HMC.Edu> Comments: In-reply-to Brooks Davis message dated "Mon, 30 Apr 2001 11:34:36 -0700." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1883391898P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 30 Apr 2001 12:21:21 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_-1883391898P Content-Type: text/plain; charset=us-ascii If memory serves me right, Brooks Davis wrote: > On Mon, Apr 30, 2001 at 11:29:05AM -0700, Harkirat Singh wrote: > >=20 > > This is the script file!!. I said that I went to ftp site to see whether > > it (netperf-2.1pl3) is supported for FreeBSD, but I saw all th eother OS > > but there was no reference for FreeBSD. > > Ignore the f*ing ftp site. It looks like there's something wrong with > your network configuration that you can't fetch it, so you may have to > fetch it manualy and place it in /usr/ports/distfiles (you can write > to that, can't you?). It's totally irrelavent that the site doesn't > list FreeBSD as supported, that's what the port is for. It works just > fine here. Actually the problem is that his ports collection is out of date. Looks like the distfile moved. I noticed this when the Makefile snippet didn't match what was in my ports tree. On my machine with a ports collection updated this morning, it fetches and builds just fine. Bruce. --==_Exmh_-1883391898P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE67bsx2MoxcVugUsMRAp28AJ4tDjMXgAFX8ZgCNc7vAZ2+gvPMjACg8A8R yx+sMNJYGMG1pPf66l8ug0I= =RL1+ -----END PGP SIGNATURE----- --==_Exmh_-1883391898P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 12:40:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by hub.freebsd.org (Postfix) with ESMTP id 5072237B422; Mon, 30 Apr 2001 12:40:53 -0700 (PDT) (envelope-from singh@pdx.edu) Received: from gere.odin.pdx.edu (gere.odin.pdx.edu [131.252.120.42]) by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UJepl25314; Mon, 30 Apr 2001 12:40:51 -0700 (PDT) Received: from localhost (singh@localhost) by gere.odin.pdx.edu (8.11.1/8.11.1) with ESMTP id f3UJepj09077; Mon, 30 Apr 2001 12:40:51 -0700 (PDT) X-Authentication-Warning: gere.odin.pdx.edu: singh owned process doing -bs Date: Mon, 30 Apr 2001 12:40:51 -0700 (PDT) From: Harkirat Singh X-X-Sender: To: "Bruce A. Mah" Cc: Brooks Davis , , Subject: Re: TTCP, Netperf and TcpBlast Problem In-Reply-To: <200104301921.f3UJLLx87029@bmah-freebsd-0.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for your replies, I am able to install netperf manually. I understand from various replies that my port tree is old, though this port collection I got installed from new FBSd CD. Please tell me how to update this port tree so that in future I do not face this silly problem, if I do make under /usr/ports then agian it is getting aborted. Thanks, Harkirat On Mon, 30 Apr 2001, Bruce A. Mah wrote: > If memory serves me right, Brooks Davis wrote: > > > On Mon, Apr 30, 2001 at 11:29:05AM -0700, Harkirat Singh wrote: > > >=20 > > > This is the script file!!. I said that I went to ftp site to see whether > > > it (netperf-2.1pl3) is supported for FreeBSD, but I saw all th eother OS > > > but there was no reference for FreeBSD. > > > > Ignore the f*ing ftp site. It looks like there's something wrong with > > your network configuration that you can't fetch it, so you may have to > > fetch it manualy and place it in /usr/ports/distfiles (you can write > > to that, can't you?). It's totally irrelavent that the site doesn't > > list FreeBSD as supported, that's what the port is for. It works just > > fine here. > > Actually the problem is that his ports collection is out of date. > Looks like the distfile moved. I noticed this when the Makefile > snippet didn't match what was in my ports tree. > > On my machine with a ports collection updated this morning, it fetches > and builds just fine. > > Bruce. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 12:53:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailfarm.ipfnet.net (mailfarm.ipfnet.net [195.211.129.222]) by hub.freebsd.org (Postfix) with ESMTP id 13C6037B423 for ; Mon, 30 Apr 2001 12:53:16 -0700 (PDT) (envelope-from ml-freebsd-net@phobgate.de) Received: from [192.168.2.94] (router-195-211-129.ipfnet.net [195.211.129.1]) (authenticated as bsd@phobgate.de) by mailfarm.ipfnet.net (8.11.1/8.10.1) with ESMTP id f3UJrEp47267 for ; Mon, 30 Apr 2001 21:53:14 +0200 (CEST) Date: Mon, 30 Apr 2001 21:51:01 +0200 From: alex Reply-To: alex To: freebsd-net@FreeBSD.ORG Subject: no free() after malloc() in arp (src/usr.sbin/arp/arp.c) Message-ID: <824983177.988667461@[192.168.2.94]> X-Mailer: Mulberry/2.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi there, i don't see a security issue in this, just want to ask if this is ok (or maybe unwanted?): in src/usr.sbin/arp/arp.c in function search() (starts line ~429) i see this (line ~447): if ((buf = malloc(needed)) == NULL) got from: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/usr.sbin/arp/arp.c?rev=1.29&conte nt-type=text/x-cvsweb-markup which should be latest version(?) this allocated memory isn't free'd later in this function. so if arp uses this function over and over again, memory fills up (not much, but it does). i just came to this, because i used this search() function while playing around with ip -> mac translation and my test programm suddenly had ~60MB memory usage :) alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 12:58:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 7D09C37B423; Mon, 30 Apr 2001 12:58:47 -0700 (PDT) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.11.3/8.9.1) with ESMTP id f3UJwlZ07922; Mon, 30 Apr 2001 12:58:47 -0700 (PDT) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f3UJwkJ87573; Mon, 30 Apr 2001 12:58:46 -0700 (PDT) (envelope-from bmah) Message-Id: <200104301958.f3UJwkJ87573@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Harkirat Singh Cc: "Bruce A. Mah" , Brooks Davis , questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: TTCP, Netperf and TcpBlast Problem In-Reply-To: References: Comments: In-reply-to Harkirat Singh message dated "Mon, 30 Apr 2001 12:40:51 -0700." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1609030748P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 30 Apr 2001 12:58:46 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_-1609030748P Content-Type: text/plain; charset=us-ascii If memory serves me right, Harkirat Singh wrote: > Thanks for your replies, I am able to install netperf manually. I > understand from various replies that my port tree is old, though this port > collection I got installed from new FBSd CD. Please tell me how to update > this port tree so that in future I do not face this silly problem, if I do > make under /usr/ports then agian it is getting aborted. It's only silly because the distfile moved. It's pretty hard for the CD version of the ports collection to find it if this happens isn't it? The one sentence answer is to use cvsup(1) with a supfile like /usr/share/examples/cvsup/ports-supfile but I'm afraid that if you're not already familiar with using cvsup(1) this may not give you enough information. (Isn't there a FAQ or Handbook section that covers this?) Bruce. --==_Exmh_-1609030748P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE67cP22MoxcVugUsMRAqAaAKDeZ63y6EdIOHIHHoYKnkrUFs6UowCgwUdj I3EJO8favLUR5U9kPL+7Ydw= =JM5h -----END PGP SIGNATURE----- --==_Exmh_-1609030748P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 13:10:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from kuku.excite.com (kuku-rwcmta.excite.com [198.3.99.63]) by hub.freebsd.org (Postfix) with ESMTP id 8A8CE37B424 for ; Mon, 30 Apr 2001 13:10:26 -0700 (PDT) (envelope-from john_wilson100@excite.com) Received: from almond.excite.com ([199.172.148.82]) by kuku.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20010430201025.GWAM22770.kuku.excite.com@almond.excite.com>; Mon, 30 Apr 2001 13:10:25 -0700 Message-ID: <6458253.988661425565.JavaMail.imail@almond.excite.com> Date: Mon, 30 Apr 2001 13:10:24 -0700 (PDT) From: John Wilson To: Nick Rogness Subject: Re: ipfw routing/netmask problem Cc: freebsd-net@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Excite Inbox X-Sender-Ip: 192.116.157.233 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Apr 2001 14:03:04 -0500 (CDT), Nick Rogness wrote: > On Mon, 30 Apr 2001, John Wilson wrote: > > This seems like a good solution. Please help me figure out the > > subnets/routes I need to use. So far, I have this: > > > > /---------------------\ > > | router 90.91.92.1 | > > \---------------------/ > > | > > | > > /---------------------\ /---------------------\ > > | fxp0 90.91.92.2/30 |---| fxp1 90.91.92.?/? | > > \---------------------/ \---------------------/ > > -| | |----------- > > | | | > > /-------\ /-------\ /-------\ > > | NAT 1 | | NAT 2 | | DMZ | > > \-------/ \-------/ \-------/ > > > > All I gotta do is fill in the missing blanks :) > > > fxp1= 90.91.92.17 netmask 255.255.255.240 > > All DMZ machines (90.91.92.18 -> 90.91.92.30) are setup with the > same netmask (255.255.255.240) and point to .17 as there gateway. Sounds good! Do I need to do anything special on the router? As a side question, do you think a single 600MHz P3 w/128Mb RAM (and not too many firewall rules) can handle ~100 NAT clients? Thanks John > > I would, however, change your physcial setup by splitting off your > DMZ onto it's own ethernet card and switch like so: > > Public (Router) > | > fxp0 > | > BSD --fxp2---DMZ > | > fxp1 > | > Private Net > / \ > nat1 nat2 > > It just makes more sense security wise and makes administration a > little less difficult. It also gives you more options with > firewalling and such. > > > Nick Rogness > - Keep on Routing in a Free World... > "FreeBSD: The Power to Serve!" _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 14:32:21 2001 Delivered-To: freebsd-net@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 4B20037B422 for ; Mon, 30 Apr 2001 14:32:18 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3UMg6F79860; Mon, 30 Apr 2001 17:42:06 -0500 (CDT) (envelope-from nick@rogness.net) Date: Mon, 30 Apr 2001 17:42:06 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: John Wilson Cc: freebsd-net@FreeBSD.ORG Subject: Re: ipfw routing/netmask problem In-Reply-To: <6458253.988661425565.JavaMail.imail@almond.excite.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Apr 2001, John Wilson wrote: > > /---------------------\ > > | router 90.91.92.1 | > > \---------------------/ > > | > > | > > /---------------------\ /---------------------\ > > | fxp0 90.91.92.2/30 |---| fxp1 90.91.92.?/? | > > \---------------------/ \---------------------/ > > -| | |----------- > > | | | > > /-------\ /-------\ /-------\ > > | NAT 1 | | NAT 2 | | DMZ | > > \-------/ \-------/ \-------/ > > > > All I gotta do is fill in the missing blanks :) > > > fxp1= 90.91.92.17 netmask 255.255.255.240 > > All DMZ machines (90.91.92.18 -> 90.91.92.30) are setup with the > same netmask (255.255.255.240) and point to .17 as there gateway. > > > Sounds good! Do I need to do anything special on the router? Route the network: 90.91.92.16/28 to your BSD machine: 90.91.92.2 Also, Make sure that the router ethernet interface has a .252 subnet mask or you will have problems. > > As a side question, do you think a single 600MHz P3 w/128Mb RAM (and > not too many firewall rules) can handle ~100 NAT clients? Depends on what they are doing...but it should be sufficient. On another side note, I would seriously look at splitting off your DMZ to another network...but, of course, it's your ass not mine. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Apr 30 16: 2:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id 2100C37B422 for ; Mon, 30 Apr 2001 16:02:35 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org (rgnout.regenstrief.org [134.68.31.38]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f3UN7OX18068; Mon, 30 Apr 2001 18:07:24 -0500 Message-ID: <3AEDEEFA.60DD4AC4@aurora.regenstrief.org> Date: Mon, 30 Apr 2001 23:02:18 +0000 From: Gunther Schadow Organization: Regenstrief Institute for Health Care X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: snap-users@kame.net Cc: Shoichi Sakane , freebsd-net@freebsd.org, itojun@iijlab.net Subject: Re: (KAME-snap 4523) Re: KAME SPD bug, please try and confirm ... References: <20010424040539N.sakane@ydc.co.jp> <20010424041925C.sakane@ydc.co.jp> <3AE4BB51.FC1400BD@aurora.regenstrief.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Earlier last week I wrote: > I just built and tested the latest KAME-SNAP, and it appears as if > the two ipsec tunnels work together now. I will have a final word > on this later tomorrow, but for now it looks as if this problem > requires no further action on your part. Unfortunately I found out that the problem still exists deep down, it's just harder to reproduce. It comes when I try to use multiple SPD rules to route packets into the same ESP tunnel. The following setkey here script shows an exaple. This is for a VPN with a central headquarter (home) and multiple remote sites (sattelites 1, 2, 3, ...). We use shell variables to make this both easily reproduceable and more readable: ${homeip} - the outside IP address of the central VPN gateway, e.g., homeip=204.152.64.103 ${sat1ip} - the outside IP address of satellite-1's VPN gateway, e.g, sat1ip=24.16.273.28 ${sat2ip} - the outside IP address of sattelite-2's VPN gateway, e.g., sat2ip=65.34.283.122 etc. The VPN establishes one common class B network (typically using local IP numbers, e.g., 192.168.0.0/26). We use the shell variable ${vpn} to make this more readable. For example, we could set vpn=192.168 The problem with the KAME prolicy processing becomes manifest when we add another realistic twist, i.e., in adittion to the VPN network we want other routes using the VPN tunnel. For example, some folks in our company use the 10.0.0.0/8 network at the headquarter, and we have an affiliated organization with network 123.4.5.0/24 which we want to contact only via the headquarter using NAT such that the affiliated network would not need to know about the structure of our VPN. We configure the central home VPN gateway using the following setkey here script: setkey -c <