From owner-freebsd-net Sun May 13 7: 0:40 2001 Delivered-To: freebsd-net@freebsd.org Received: from mercury.nildram.co.uk (mercury.nildram.co.uk [195.112.4.37]) by hub.freebsd.org (Postfix) with ESMTP id 6542E37B43E for ; Sun, 13 May 2001 07:00:36 -0700 (PDT) (envelope-from freebsd@unix-consult.com) Received: from nermal.unix-consult.com (tgeusch.dial.nildram.co.uk [195.149.29.39]) by mercury.nildram.co.uk (8.10.0/8.10.0.Beta10) with ESMTP id f4DE0NA20174 for ; Sun, 13 May 2001 15:00:24 +0100 Received: (qmail 25740 invoked by uid 1002); 13 May 2001 08:24:28 -0000 Date: Sun, 13 May 2001 09:24:28 +0100 From: Timo Geusch To: Munish Chopra Cc: freebsd-net@freebsd.org Subject: Re: xl0: no memory for rx list -- packet dropped! Message-ID: <20010513092427.A25576@nermal.unix-consult.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from messiah_man@hotmail.com on Fri, May 11, 2001 at 02:42:35PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 11, 2001 at 02:42:35PM +0200, Munish Chopra wrote: > One of the machines on our network spits out the following (constantly): > > xl0: no memory for rx list -- packet dropped! Did you check if you are running out of mbufs on this system? (netstat -m) I had exactly the same symptom on a machine that was getting hammered by the network traffic. If it is running out of mbufs, increase the number of mbufs using the sysctl in /boot/loader.conf, reboot and watch the box to see if this fixed the problem. > It is of course unreachable through the network. This popped up on > 4.2-RELEASE one single time, then went away after a reboot. Now, on > 4.3-RELEASE, it was running fine till about two hours ago. Reboots aren't > helping. Rebooting won't help if you don't fix the source of the problem, which is the amount of network traffic your box is getting. HTH, Timo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 13 11:32:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.cluster.oleane.net (smtp1.cluster.oleane.net [195.25.12.16]) by hub.freebsd.org (Postfix) with ESMTP id 15AF237B43C; Sun, 13 May 2001 11:32:14 -0700 (PDT) (envelope-from rguyom@pobox.com) Received: from diabolic-cow.chatgris.net (dyn-1-1-003.Orl.dialup.oleane.fr [195.25.26.3]) by smtp1.cluster.oleane.net with ESMTP id f4DIW9u00605; Sun, 13 May 2001 20:32:10 +0200 (CEST) Received: by diabolic-cow.chatgris.net (Postfix, from userid 1000) id 5572E224; Fri, 11 May 2001 00:06:28 +0200 (CEST) Date: Fri, 11 May 2001 00:06:27 +0200 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= To: Robert Watson Cc: Rob Harris , freebsd-net@freebsd.org Subject: Re: Bridge over tun0 waters... Message-ID: <20010511000627.A71704@diabolic-cow.chatgris.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@freebsd.org on Wed, May 09, 2001 at 11:41:51AM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 09, 2001 at 11:41:51AM -0400, Robert Watson wrote: > > At least in FreeBSD 5.0-CURRENT, and quite possibly in RELENG_4, there's > an if_tap driver, which serves a similar function to the if_tun driver. > if_tap appears as /dev/tap*, and as tap* interfaces, and appears as an > ethernet device. It is used by our VMware port to allow VMware to make > use of a virtual interface which is then bridged as needed with other > local ethernet devices. It would be easy to imagine a tunneling program > that sat on /dev/tap0 on two machines, and linked them using UDP, then > using the kernel bridging support (either the bridge support in > ethernet.c, or using ng_bridge). ports/net/vtun does exactly that (tunneling ethernet over UDP with /dev/tap). -- Rémi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun May 13 21: 8:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-m02.mx.aol.com (imo-m02.mx.aol.com [64.12.136.5]) by hub.freebsd.org (Postfix) with ESMTP id 6E94737B422 for ; Sun, 13 May 2001 21:08:12 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-m02.mx.aol.com (mail_out_v30.10.) id n.e9.163370b (16244) for ; Mon, 14 May 2001 00:08:02 -0400 (EDT) Received: from netscape.com (aimmail02.aim.aol.com [205.188.144.194]) by air-in03.mx.aol.com (v77_r1.37) with ESMTP; Mon, 14 May 2001 00:08:02 -0400 Date: Mon, 14 May 2001 00:08:02 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: buffers used in case of large amount of data ( eg 65536 bytes). Mime-Version: 1.0 Message-ID: <2463A7AB.507D6FB9.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, My doubt is whether freebsd uses the normal mbuf & clusters in case of large amount of data ( like jumbogram in ipv6 or the maximum ipv4 datagram size of 65536 bytes)? My understanding is that for such a large amount of data, clusters which can hold only 2048 byes are not economical. Hence freebsd might be using some other type of buffers which have large capacity. Kindly mail me regarding this. Is my understanding correct. Kindly make me updated on buffers used in such cases. regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 0:13:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from web5301.mail.yahoo.com (web5301.mail.yahoo.com [216.115.106.110]) by hub.freebsd.org (Postfix) with SMTP id AE5EC37B43C for ; Tue, 15 May 2001 00:13:42 -0700 (PDT) (envelope-from vishubp@yahoo.com) Message-ID: <20010515071342.16796.qmail@web5301.mail.yahoo.com> Received: from [203.200.20.3] by web5301.mail.yahoo.com; Tue, 15 May 2001 08:13:42 BST Date: Tue, 15 May 2001 08:13:42 +0100 (BST) From: =?iso-8859-1?q?vishwanath=20pargaonkar?= Subject: ifioctl To: freebsd-net@freebsd.org Cc: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org HI, i have freebsd 4.2 stable. i want to know how autoconfiguration feature of ipv6 gets enabled. as far as i know ifioctl will call if_up . if_up calls if_route and if_route calls in6_if_up which calls in6_ifattach which forms link local address. but how is ifioctl is initiated for a interface?? rgds vishwanath To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 0:23:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id A600D37B423; Tue, 15 May 2001 00:23:48 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:10c1:29b5:e8a8:4ffb:4203]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id QAA22321; Tue, 15 May 2001 16:22:57 +0900 (JST) Date: Tue, 15 May 2001 16:22:22 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: vishwanath pargaonkar Cc: freebsd-net@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: ifioctl In-Reply-To: <20010515071342.16796.qmail@web5301.mail.yahoo.com> References: <20010515071342.16796.qmail@web5301.mail.yahoo.com> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 23 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Tue, 15 May 2001 08:13:42 +0100 (BST), >>>>> vishwanath pargaonkar said: > i have freebsd 4.2 stable. > i want to know how autoconfiguration feature of ipv6 > gets enabled. > as far as i know ifioctl will call if_up . if_up calls > if_route and if_route calls in6_if_up which calls > in6_ifattach which forms link local address. > but how is ifioctl is initiated for a interface?? When you execute 'ifconfig ifname up', it issues the SIOCSIFFLAGS ioctl for some socket. Then the socket layer in the kernel calls ifioctl(). You should probably see Richard Stevens's "TCP/IP illustrated volume 2" to understand the kernel architecture. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 0:29:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 2C12437B42C for ; Tue, 15 May 2001 00:29:21 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 3491 invoked by uid 1000); 15 May 2001 07:28:41 -0000 Date: Tue, 15 May 2001 10:28:41 +0300 From: Peter Pentchev To: vishwanath pargaonkar Cc: freebsd-net@freebsd.org, questions@freebsd.org Subject: Re: ifioctl Message-ID: <20010515102841.B94119@ringworld.oblivion.bg> References: <20010515071342.16796.qmail@web5301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010515071342.16796.qmail@web5301.mail.yahoo.com>; from vishubp@yahoo.com on Tue, May 15, 2001 at 08:13:42AM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 15, 2001 at 08:13:42AM +0100, vishwanath pargaonkar wrote: > HI, > i have freebsd 4.2 stable. > i want to know how autoconfiguration feature of ipv6 > gets enabled. > as far as i know ifioctl will call if_up . if_up calls > if_route and if_route calls in6_if_up which calls > in6_ifattach which forms link local address. > > but how is ifioctl is initiated for a interface?? A function by the name of *ioctl() is usually just that - an ioctl(2) handler. I strongly suspect that in the case of network interfaces, ifioctl() is usually invoked as a result of the user running ifconfig(8). This is (again, usually) done by the startup scripts. G'luck, Peter -- If I had finished this sentence, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 7:10: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from web5305.mail.yahoo.com (web5305.mail.yahoo.com [216.115.106.114]) by hub.freebsd.org (Postfix) with SMTP id 3667637B422 for ; Tue, 15 May 2001 07:10:04 -0700 (PDT) (envelope-from vishubp@yahoo.com) Message-ID: <20010515141003.9062.qmail@web5305.mail.yahoo.com> Received: from [203.200.20.3] by web5305.mail.yahoo.com; Tue, 15 May 2001 15:10:03 BST Date: Tue, 15 May 2001 15:10:03 +0100 (BST) From: =?iso-8859-1?q?vishwanath=20pargaonkar?= Subject: rt_tables 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 X-Loop: FreeBSD.org Hi, i have free bsd 4.2 stable. my question is there is array of pointers for routing tables. struct radix_node_head *rt_tables[AF_MAX + 1]; my doubt is where is this table getting initialised. for eg for where is address assigned ro rt_tables[AF_INET6] = ?? thanx..... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 7:22:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A25FE37B42C for ; Tue, 15 May 2001 07:22:24 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f4FEMDF62062; Tue, 15 May 2001 17:22:13 +0300 (EEST) (envelope-from ru) Date: Tue, 15 May 2001 17:22:13 +0300 From: Ruslan Ermilov To: vishwanath pargaonkar Cc: freebsd-net@FreeBSD.ORG Subject: Re: rt_tables Message-ID: <20010515172213.A60756@sunbay.com> Mail-Followup-To: vishwanath pargaonkar , freebsd-net@FreeBSD.ORG References: <20010515141003.9062.qmail@web5305.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010515141003.9062.qmail@web5305.mail.yahoo.com>; from vishubp@yahoo.com on Tue, May 15, 2001 at 03:10:03PM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 15, 2001 at 03:10:03PM +0100, vishwanath pargaonkar wrote: > Hi, > i have free bsd 4.2 stable. > my question is there is array of pointers for routing > tables. > struct radix_node_head *rt_tables[AF_MAX + 1]; > > my doubt is where is this table getting initialised. > for eg for where is address assigned ro > rt_tables[AF_INET6] = ?? > It is initialized from route.c:rtable_init(). For each known domain, the code calls the initialization function, dom_rtattach, which for AF_INET happens to be in_rmx.c:in_inithead(), and for AF_INET6 it is in6_rmx.c:in6_inithead(). Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 8: 6:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from ns2.myway.com.br (ns2.myway.com.br [200.186.239.2]) by hub.freebsd.org (Postfix) with SMTP id 2565F37B42C; Tue, 15 May 2001 08:06:20 -0700 (PDT) (envelope-from leal@myway.com.br) Received: from myway.com.br (unverified [200.186.239.5]) by ns2.myway.com.br (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 15 May 2001 12:04:24 -0300 Message-ID: <3B014693.6BCE7E79@myway.com.br> Date: Tue, 15 May 2001 12:09:07 -0300 From: Marcelo Leal Organization: MyWay - Provedor Internet X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: How to transfer data from netgraph node to user program? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Antirelay: Good relay from local net2 200.186.239.0/24 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, i'm writing a script for minitoring my network and send to me (via mail) statistics and falls. I wanna use mail program for that. But i don't know where i put the information of my smtp server. The mail program use the localhost for delivery the mails, and i don't wanna run a smtp server in this box only for that. What file i should edit for put this information (question). One second solution would be execute a telnet in the smtp server (port 25), but how write one telnet script non-interactive (question). one script telnet for send mail automatic...(question) sorry my interrogation signal is not work. thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 11:23:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from net.tamu.edu (net.tamu.edu [128.194.177.50]) by hub.freebsd.org (Postfix) with ESMTP id B20AC37B423 for ; Tue, 15 May 2001 11:23:44 -0700 (PDT) (envelope-from daved@net.tamu.edu) Received: by net.tamu.edu (Postfix, from userid 157) id 1963E15891; Tue, 15 May 2001 13:23:44 -0500 (CDT) Date: Tue, 15 May 2001 13:23:43 -0500 From: Dave Duchscher To: freebsd-net@freebsd.org Subject: IEEE 802 standards available at no charge. Message-ID: <20010515132343.A29100@net.tamu.edu> Mail-Followup-To: freebsd-net@freebsd.org 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 X-Loop: FreeBSD.org This came across a list I am on and I remember some needing things like 802.3D. http://standards.ieee.org/getieee802/ DaveD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 22:17:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-d08.mx.aol.com (imo-d08.mx.aol.com [205.188.157.40]) by hub.freebsd.org (Postfix) with ESMTP id A570037B424 for ; Tue, 15 May 2001 22:17:46 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-d08.mx.aol.com (mail_out_v30.10.) id n.1c.1593307 (16222) for ; Wed, 16 May 2001 01:17:44 -0400 (EDT) Received: from netscape.com (aimmail03.aim.aol.com [205.188.144.195]) by air-in01.mx.aol.com (v77_r1.37) with ESMTP; Wed, 16 May 2001 01:17:44 -0400 Date: Wed, 16 May 2001 01:17:44 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: Free BSD network buffers Mime-Version: 1.0 Message-ID: <4F2A777A.3AABE4DC.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, My doubt is whether mbuf's along with clusters will be used for large data sizes like 65536 bytes? Kindly reply. regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue May 15 22:24:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 7F61537B423 for ; Tue, 15 May 2001 22:24:37 -0700 (PDT) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id 31F7181D01; Wed, 16 May 2001 00:24:27 -0500 (CDT) Date: Wed, 16 May 2001 00:24:27 -0500 From: Bill Fumerola To: raviprasad20@netscape.net Cc: freebsd-net@freebsd.org Subject: Re: Free BSD network buffers Message-ID: <20010516002427.P37979@elvis.mu.org> References: <4F2A777A.3AABE4DC.9513E96F@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4F2A777A.3AABE4DC.9513E96F@netscape.net>; from raviprasad20@netscape.net on Wed, May 16, 2001 at 01:17:44AM -0400 X-Operating-System: FreeBSD 4.3-FEARSOME-20010328 i386 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 16, 2001 at 01:17:44AM -0400, raviprasad20@netscape.net wrote: > My doubt is whether mbuf's along with clusters will be used for large data sizes like 65536 bytes? No, for data that big we use vnodes. That way we can swap out in times of low memory. To really take advantage of this, use softupdates so the meta-data operations on the network buffers can be scheduled async. -- Bill Fumerola - security yahoo / Yahoo! inc. - fumerola@yahoo-inc.com / billf@FreeBSD.org ps. hi alfred. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 16 7:58:21 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by hub.freebsd.org (Postfix) with ESMTP id 8C27137B424 for ; Wed, 16 May 2001 07:58:16 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-d01.mx.aol.com (mail_out_v30.10.) id n.ed.15f2fc3 (16238) for ; Wed, 16 May 2001 10:58:13 -0400 (EDT) Received: from netscape.com (aimmail02.aim.aol.com [205.188.144.194]) by air-in03.mx.aol.com (v77_r1.37) with ESMTP; Wed, 16 May 2001 10:58:13 -0400 Date: Wed, 16 May 2001 10:58:13 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: Struct ifaddr usage. Mime-Version: 1.0 Message-ID: <6563453E.51E00C87.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, There is one ifaddr structure whose address & netmask pointers are initial;ized to two sockaddr_dl structures. One of the structures stores a string formed from interface name(ifp->if_name) & interface unit(ifp->if_unit) & the hardware address. the other sockaddr_dl structure stores a mask based on a string formed from the interface name & interface unit. can anybody mail me what is the use of the above initialization & where(in which) module the above initialization is used. regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 16 9: 0:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from technokratis.com (modemcable052.174-202-24.mtl.mc.videotron.ca [24.202.174.52]) by hub.freebsd.org (Postfix) with ESMTP id A986D37B423 for ; Wed, 16 May 2001 09:00:56 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by technokratis.com (8.11.3/8.11.3) id f4GGA0656415; Wed, 16 May 2001 12:10:00 -0400 (EDT) (envelope-from bmilekic) Date: Wed, 16 May 2001 12:10:00 -0400 From: Bosko Milekic To: raviprasad20@netscape.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: Free BSD network buffers Message-ID: <20010516121000.A56387@technokratis.com> References: <4F2A777A.3AABE4DC.9513E96F@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4F2A777A.3AABE4DC.9513E96F@netscape.net>; from raviprasad20@netscape.net on Wed, May 16, 2001 at 01:17:44AM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 16, 2001 at 01:17:44AM -0400, raviprasad20@netscape.net wrote: > Hi, > > My doubt is whether mbuf's along with clusters will be used for large data sizes like 65536 bytes? If what you're talking about has to do with sending data over the network, we attach clusters (or other larger buffers) to mbufs. We won't fragment a huge load of data across 100 chained mbufs, for example (as that would be quite ridiculous). :-) > Kindly reply. > regards > ravi prasad > __________________________________________________________________ > Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ -- Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed May 16 15: 3:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id 0B04737B424 for ; Wed, 16 May 2001 15:03:47 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 944A167B05; Wed, 16 May 2001 15:03:46 -0700 (PDT) Date: Wed, 16 May 2001 15:03:46 -0700 From: Kris Kennaway To: Bill Fumerola Cc: raviprasad20@netscape.net, freebsd-net@freebsd.org Subject: Re: Free BSD network buffers Message-ID: <20010516150346.A35345@xor.obsecurity.org> References: <4F2A777A.3AABE4DC.9513E96F@netscape.net> <20010516002427.P37979@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010516002427.P37979@elvis.mu.org>; from billf@mu.org on Wed, May 16, 2001 at 12:24:27AM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 16, 2001 at 12:24:27AM -0500, Bill Fumerola wrote: > On Wed, May 16, 2001 at 01:17:44AM -0400, raviprasad20@netscape.net wrote: >=20 > > My doubt is whether mbuf's along with clusters will be used for large d= ata sizes like 65536 bytes? >=20 > No, for data that big we use vnodes. That way we can swap out in times of= low > memory. To really take advantage of this, use softupdates so the meta-data > operations on the network buffers can be scheduled async. It seemed like a legitimate and serious enough question, I'm not sure what warranted this response. Kris --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7AvlBWry0BWjoQKURAsPZAKDuFwI5GtFwhMf9XJTVzuoJvOW/ZgCg3A8X STkoUWLN3Y2SCoQ64TPDdm0= =boUw -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 4:38: 6 2001 Delivered-To: freebsd-net@freebsd.org Received: from [195.227.2.162] (gw.biofrontera.de [195.227.2.162]) by hub.freebsd.org (Postfix) with SMTP id F1E6737B423 for ; Thu, 17 May 2001 04:37:59 -0700 (PDT) (envelope-from valgog@biofrontera.de) Received: from biofrontera.de by [195.227.2.162] via smtpd (for hub.freebsd.org [216.136.204.18]) with SMTP; 17 May 2001 11:22:42 UT Received: from mercur.biofrontera.de (127.0.0.1) by Mercur.biofrontera.de with MERCUR-SMTP/POP3/IMAP4-Server (v3.10.07 AS-0098316) for ; Thu, 17 May 2001 13:37:31 +0200 Received: from 195.227.2.177 by mercur.biofrontera.de (InterScan E-Mail VirusWall NT); Thu, 17 May 2001 13:37:31 +0200 (Westeuropische Sommerzeit) From: valgog@biofrontera.de To: freebsd-bugs@freebsd.org Received: from r16-vg.biofrontera.de by eagle.biofrontera.de via smtpd (for biofrontera.de [195.227.2.178]) with SMTP; 17 May 2001 11:22:40 UT Date: Thu, 17 May 2001 13:36:32 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Intel PRO/1000F do not run on 4.3-RELEASE Cc: freebsd-net@freebsd.org X-mailer: Pegasus Mail for Win32 (v3.01b) Message-Id: <01051713373178200@Mercur.biofrontera.de> X-Eagle-Notice: Sender not 8-bit clean in 'Received: from 195.227.2.177 by mercur.biofrontera.de (InterScan E-Mail VirusWall NT); Thu, 17 May 2001 13:37:31 +0200 (Westeurop\344ische Sommerzeit)' Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, We have a problem with an Intel PRO/1000F Network Adapter. On FreeBSD 4.2-REALEASE and on 4.3-REALESE the driver sais that everithing is ok, it sees the MAC address and even sences that the cable is connected (or disconnected). BUT it does not work. It sends nothing out and gets nothing in. We though, at first, that it was a hardwere problem, but on SuSE Linux it works (we had to make this experiment and we have to run this configuration -- it is really cricical in time). Then we saw that on 5.0-CURRENT the adapter works fine... but I do not want to run CURRENT version on this "absolutely not experimental" file server. (And I do not want to run Linux :-) it is always CURRENT ;) ) Waiting for a suggestion. Valentine Gogichashvili Biofrontera Pharmaceuticals AG UNIX system manager and DBA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 4:53:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.kebne.se (mail.kebne.se [212.209.134.151]) by hub.freebsd.org (Postfix) with ESMTP id 5B5F937B422 for ; Thu, 17 May 2001 04:53:07 -0700 (PDT) (envelope-from gunnar.olsson@xelerated.com) Received: by mail.kebne.se with Internet Mail Service (5.5.2653.19) id ; Thu, 17 May 2001 13:52:58 +0200 Message-ID: <31A473DBB655D21180850008C71E251A031AAF58@mail.kebne.se> From: Gunnar Olsson To: "Freebsd Net (E-mail)" Subject: conflict ng_socket and ordinary tcp_socket? Date: Thu, 17 May 2001 13:52:57 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, does anyone know if this is a known problem or if it should not work? ------------------ tcp-socket ---------------- | Process1 |------------------------>| Process2 | ----------------- ------------------ | | ng_socket | v hookname: lower path: rl0: I have two processes. Process1 is a "tcp client", i.e. it wants to send a packet to process2, which is the "tcp server". The process2 goes to listen and waits for packets from Process1. If the client now sends packets it works just fine. Now to the problem. When Process2 receives packet from Process1, he wants to send the packet further to the ethernet driver, i.e Process2 opens up a ng_socket to the hookname: lower of the driver. When sending the connect message to the hook in the driver the machine dies:-( If removing the tcp_socket, i.e having all in one process everything works just fine. When splitting up in 2 processes and connecting the ng_socket first and the tcp_socket after, I can send one packet down all the way, but then the tcp_server, i.e. Process2, go to wait state: recv and the machine dies. Regards Gunnar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gunnar Olsson Phone: +46 8 5062 5762 Xelerated Packet Devices AB Fax: +46 8 5455 3211 Regeringsgatan 67 Mobile: +46 73 3279765 SE-10386 Stockholm Web: http://www.xelerated.com Email: mailto:gunnar.olsson@xelerated.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 6:27:44 2001 Delivered-To: freebsd-net@freebsd.org Received: from [195.227.2.162] (gw.biofrontera.de [195.227.2.162]) by hub.freebsd.org (Postfix) with SMTP id 85AD137B422 for ; Thu, 17 May 2001 06:27:38 -0700 (PDT) (envelope-from valgog@biofrontera.de) Received: from biofrontera.de by [195.227.2.162] via smtpd (for hub.freebsd.org [216.136.204.18]) with SMTP; 17 May 2001 13:12:21 UT Received: from mercur.biofrontera.de (127.0.0.1) by Mercur.biofrontera.de with MERCUR-SMTP/POP3/IMAP4-Server (v3.10.07 AS-0098316) for ; Thu, 17 May 2001 15:27:08 +0200 Received: from 195.227.2.177 by mercur.biofrontera.de (InterScan E-Mail VirusWall NT); Thu, 17 May 2001 15:27:08 +0200 (Westeuropische Sommerzeit) From: valgog@biofrontera.de To: freebsd-net@freebsd.org Received: from r16-vg.biofrontera.de by eagle.biofrontera.de via smtpd (for biofrontera.de [195.227.2.178]) with SMTP; 17 May 2001 13:12:17 UT Date: Thu, 17 May 2001 15:26:09 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Intel PRO/1000F do not run on 4.3-RELEASE Cc: Jean-Charles Grgoire In-reply-to: <20010517081706.B1613@saguaro.INRS-Telecom.UQuebec.CA> References: <01051713373178200@Mercur.biofrontera.de>; from valgog@biofrontera.de on Thu, May 17, 2001 at 01:36:32PM +0200 X-mailer: Pegasus Mail for Win32 (v3.01b) X-Eagle-Notice: Sender not 8-bit clean in 'CC: Jean-Charles Gr\351goire ' Message-Id: <01051715270880400@Mercur.biofrontera.de> X-Eagle-Notice: Sender not 8-bit clean in 'Received: from 195.227.2.177 by mercur.biofrontera.de (InterScan E-Mail VirusWall NT); Thu, 17 May 2001 15:27:08 +0200 (Westeurop\344ische Sommerzeit)' Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Valentine, > > This one pops up every other month. Intel has a driver for Linux. The driver on > FreeBSD doesn't work for current generation boards. There is a module > somewhere, with partial functionality, which appears to work, but without > sources. > > jc Dear Jean-Charles, Could you please, say even approximately, where to search for this module. And I am wandering why there is a working driver in 5.0-CURRENT and not working one in 4.3-RELEASE. Thank you in advance, Valentine Gogichashvili Biofrontera Pharmaceuticals AG UNIX system manager and DBA >> >> We have a problem with an Intel PRO/1000F Network Adapter. >> >> On FreeBSD 4.2-REALEASE and on 4.3-REALESE the driver sais that >> everithing is ok, it sees the MAC address and even sences that the >> cable is connected (or disconnected). BUT it does not work. It sends >> nothing out and gets nothing in. We though, at first, that it was a >> hardwere problem, but on SuSE Linux it works (we had to make this >> experiment and we have to run this configuration -- it is really >> cricical in time). Then we saw that on 5.0-CURRENT the adapter works >> fine... but I do not want to run CURRENT version on this "absolutely >> not experimental" file server. (And I do not want to run Linux :-) it >> is always CURRENT ;) ) >> >> Waiting for a suggestion. >> >> Valentine Gogichashvili >> Biofrontera Pharmaceuticals AG >> UNIX system manager and DBA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 9:21:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4A6A737B422; Thu, 17 May 2001 09:21:25 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA18867; Thu, 17 May 2001 09:21:16 -0700 Date: Thu, 17 May 2001 09:21:16 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: valgog@biofrontera.de Cc: freebsd-bugs@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Intel PRO/1000F do not run on 4.3-RELEASE In-Reply-To: <01051713373178100@Mercur.biofrontera.de> 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 That's becasue the PRO-1000F/PRO-1000T support did not get to -CURRENT until after the release. Upgrade your kernel and try now. On Thu, 17 May 2001 valgog@biofrontera.de wrote: > Hello, > > We have a problem with an Intel PRO/1000F Network Adapter. > > On FreeBSD 4.2-REALEASE and on 4.3-REALESE the driver sais that > everithing is ok, it sees the MAC address and even sences that the > cable is connected (or disconnected). BUT it does not work. It sends > nothing out and gets nothing in. We though, at first, that it was a > hardwere problem, but on SuSE Linux it works (we had to make this > experiment and we have to run this configuration -- it is really > cricical in time). Then we saw that on 5.0-CURRENT the adapter works > fine... but I do not want to run CURRENT version on this "absolutely > not experimental" file server. (And I do not want to run Linux :-) it > is always CURRENT ;) ) > > Waiting for a suggestion. > > Valentine Gogichashvili > Biofrontera Pharmaceuticals AG > UNIX system manager and DBA > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" 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 May 17 13:16:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 3977E37B42C; Thu, 17 May 2001 13:16:29 -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 NAA73461; Thu, 17 May 2001 13:16:28 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.3/8.11.3) id f4HKFhW76705; Thu, 17 May 2001 13:15:43 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200105172015.f4HKFhW76705@arch20m.dellroad.org> Subject: Re: Problems with ng_one2many In-Reply-To: <20010512191718.D90400@FreeBSD.org> "from Ade Lovett at May 12, 2001 07:17:18 pm" To: Ade Lovett Date: Thu, 17 May 2001 13:15:43 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ade Lovett writes: > After a bit more investigation, I came across ng_one2many which appears > to do exactly what I want, only it just refuses to work for me. > > The machine is running 4.3-STABLE as of a day or so, all appropriate > modules have been loaded, viz: > > matrix 86# kldstat > Id Refs Address Size Name > 1 5 0xc0100000 1b143c kernel > 2 1 0xc71d5000 c3000 vinum.ko > 3 1 0xc72f8000 3000 ng_one2many.ko > 4 2 0xc72fc000 8000 netgraph.ko > 5 1 0xc7307000 3000 ng_socket.ko > > Yet when I try to perform the first part of the setup as documented > in the manpage, I get the following: > > matrix 131# /usr/sbin/ngctl mkpeer de1: one2many upper one > ngctl: send msg: No such file or directory > matrix 132# > > and obviously, everything else fails to do anything. For the benefit of the list, there is a typo in the ng_one2many man page. See the latest checkin for details... http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/ng_one2many.4.diff?r1=1.1.2.4&r2=1.1.2.5 -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 May 17 13:44:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from lori.logixcom.net (lori.logixcom.net [209.49.5.9]) by hub.freebsd.org (Postfix) with ESMTP id 8B38D37B423 for ; Thu, 17 May 2001 13:44:35 -0700 (PDT) (envelope-from jcowan@addtronics.net) Received: from JCOWAN (mail.addtronics.net [209.119.127.99]) by lori.logixcom.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id LA4PCJGV; Thu, 17 May 2001 15:47:02 -0500 From: "Jason Cowan" To: Subject: ipsec & ipfilter Date: Thu, 17 May 2001 15:44:34 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org I have ipsec tunnel working on freebsd 4.3 using private addresses for both internal sides of the tunnel. (192.168.1.0 & 192.168.2.0) When I enable ipfilter blocking 192.168.1.0 on the external interface the tunnel no longer works. Here's whats happening: 1. I'm passing esp proto and udp port 500 on external interface so the packets get through. 2. Next, the packet gets blocked on external interface with destination address of 192.168.1.120. Why doesn't it switch the interface after it's decrypted? When I turn off ipfilter and am using tcpdump, it never shows the decrypted packet on the external interface with the destination address of 192.168.1.120. If I remove the one line in ipfilter that blocks 192.168.0.0/16 then it begins working again. Any suggestions? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 21:27:53 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailtmp4.registeredsite.com (mailtmp4.registeredsite.com [216.247.127.14]) by hub.freebsd.org (Postfix) with ESMTP id BBA4037B423 for ; Thu, 17 May 2001 21:27:50 -0700 (PDT) (envelope-from svraghu@cominsights.com) Received: from mail4.registeredsite.com (mail4.registeredsite.com [64.224.9.13]) by mailtmp4.registeredsite.com (8.9.3/8.8.7) with ESMTP id AAA12424; Thu, 17 May 2001 00:26:41 -0400 Received: from mail.cominsights.com (mail.cominsights.com [64.225.2.217]) by mail4.registeredsite.com (8.11.1/8.11.1) with ESMTP id f4I4Re621271; Fri, 18 May 2001 00:27:40 -0400 Date: Fri, 18 May 2001 00:27:34 -0400 Message-Id: <200105180027.AA347865426@mail.cominsights.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Raghavendra Venugopal" Reply-To: X-Sender: To: Cc: Subject: Installing SSH in microsoftproxy protocol list X-Mailer: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org Dear sir, I am running microsoft proxy i am able to control every one based on the protocols necessary, But i do not find SSH protocol in protocol list of microsoft proxy but i find and load protocol icon in it. Can some one help me how to add a protococl in microsoft proxy and if you have the installation file for load ssh can you pls mail me. Regards Raghu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu May 17 22: 6:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from web5301.mail.yahoo.com (web5301.mail.yahoo.com [216.115.106.110]) by hub.freebsd.org (Postfix) with SMTP id 2CB8D37B424 for ; Thu, 17 May 2001 22:06:56 -0700 (PDT) (envelope-from vishubp@yahoo.com) Message-ID: <20010518050655.12153.qmail@web5301.mail.yahoo.com> Received: from [203.200.20.3] by web5301.mail.yahoo.com; Fri, 18 May 2001 06:06:55 BST Date: Fri, 18 May 2001 06:06:55 +0100 (BST) From: =?iso-8859-1?q?vishwanath=20pargaonkar?= Subject: ifindex To: freebsd-net@freebsd.org Cc: freebsd-hackers@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: X-Loop: FreeBSD.org Hi, why is ifindex used for an interface.i know it is said itz for unique identification of device.Can we not do that using interfac name ?what is significance of ifindex for an interface. itz just a number associated with an interface. TIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 18 0: 1:18 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-m10.mx.aol.com (imo-m10.mx.aol.com [64.12.136.165]) by hub.freebsd.org (Postfix) with ESMTP id C346E37B424 for ; Fri, 18 May 2001 00:01:16 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-m10.mx.aol.com (mail_out_v30.10.) id n.1f.15bd117 (16226) for ; Fri, 18 May 2001 03:01:14 -0400 (EDT) Received: from netscape.com (aimmail09.aim.aol.com [205.188.144.201]) by air-in02.mx.aol.com (v77_r1.37) with ESMTP; Fri, 18 May 2001 03:01:13 -0400 Date: Fri, 18 May 2001 03:01:13 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: rtadvd Mime-Version: 1.0 Message-ID: <08D387D0.3F1390B1.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org Hi, I need the following information on the rtadvd daemon implementation. If no configuration file is created & we have given -s option with rtadvd from where will it construct the rtadvd information ( struct rainfo). regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 18 0:23:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 5C03537B423 for ; Fri, 18 May 2001 00:23:48 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:10c1:88f:cf7f:fd0f:48b3]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id QAA17286; Fri, 18 May 2001 16:23:04 +0900 (JST) Date: Fri, 18 May 2001 16:22:17 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: raviprasad20@netscape.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: rtadvd In-Reply-To: <08D387D0.3F1390B1.9513E96F@netscape.net> References: <08D387D0.3F1390B1.9513E96F@netscape.net> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 17 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org >>>>> On Fri, 18 May 2001 03:01:13 -0400, >>>>> raviprasad20@netscape.net said: > I need the following information on the rtadvd daemon implementation. > If no configuration file is created & we have given -s option with rtadvd from where will it construct the rtadvd information ( struct rainfo). In this case, rtadvd uses/advertises no prefix information. For other information (such as interface MTU, link-layer address, etc), rtadvd uses some ioctls and sysctls to get access to kernel internal data. For more details, see rtadvd/if.c JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 18 4: 9:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 3958E37B423; Fri, 18 May 2001 04:09:32 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:10c1:ecfb:82e4:452:ae9]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id UAA18650; Fri, 18 May 2001 20:08:52 +0900 (JST) Date: Fri, 18 May 2001 20:08:04 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: vishwanath pargaonkar Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: ifindex In-Reply-To: <20010518050655.12153.qmail@web5301.mail.yahoo.com> References: <20010518050655.12153.qmail@web5301.mail.yahoo.com> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 21 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org >>>>> On Fri, 18 May 2001 06:06:55 +0100 (BST), >>>>> vishwanath pargaonkar said: > why is ifindex used for an interface.i know it is said > itz for unique identification of device.Can we not do > that using interfac name ? Yes, you could. But then - we should do string comparison to compare two interface indices (which is usually much heavier than comparing integers). - we should check all interface names in order to check the validity of a given interface index (i.e. name). and I believe we'll still see much more weird situations if we eliminate numeric interface indices. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri May 18 4:39:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from e028121.vtacs.vt.edu (e028121.vtacs.vt.edu [63.164.28.121]) by hub.freebsd.org (Postfix) with ESMTP id A238037B643 for ; Fri, 18 May 2001 04:39:08 -0700 (PDT) (envelope-from gaylord@e028121.vtacs.vt.edu) Received: by e028121.vtacs.vt.edu (Postfix, from userid 1000) id A3EF12F; Fri, 18 May 2001 07:39:10 -0400 (EDT) Date: Fri, 18 May 2001 07:39:10 -0400 From: Clark Gaylord To: vishwanath pargaonkar Cc: freebsd-net@freebsd.org Subject: Re: ifindex Message-ID: <20010518073910.A74590@e028121.vtacs.vt.edu> References: <20010518050655.12153.qmail@web5301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518050655.12153.qmail@web5301.mail.yahoo.com>; from vishubp@yahoo.com on Fri, May 18, 2001 at 06:06:55AM +0100 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.org On Fri, May 18, 2001 at 06:06:55AM +0100, vishwanath pargaonkar wrote: > why is ifindex used for an interface.i know it is said > itz for unique identification of device.Can we not do > that using interfac name ?what is significance of > ifindex for an interface. itz just a number associated > with an interface. You really haven't given enough context to understand where you want to use ifName rather than ifIndex, but the use of ifIndex is partly historical and partly practical. In the original MIB-II specification, there was no ifName, just ifDescription. As a desciptive label, ifName need not be defined on all pollable devices, so more general SNMP code can be written using ifIndex (which must exist). But also the ordinal ifNumber is natural for indexing arrays, walking tables, looping over indices (for (i=0;i; Sat, 19 May 2001 10:56:25 -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 KAA86796; Sat, 19 May 2001 10:56:24 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.3/8.11.3) id f4JHtbe85136; Sat, 19 May 2001 10:55:37 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200105191755.f4JHtbe85136@arch20m.dellroad.org> Subject: Re: conflict ng_socket and ordinary tcp_socket? In-Reply-To: <31A473DBB655D21180850008C71E251A031AAF58@mail.kebne.se> "from Gunnar Olsson at May 17, 2001 01:52:57 pm" To: Gunnar Olsson Date: Sat, 19 May 2001 10:55:37 -0700 (PDT) Cc: "Freebsd Net (E-mail)" X-Mailer: ELM [version 2.4ME+ PL82 (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 Gunnar Olsson writes: > Hi there, > does anyone know if this is a known problem or > if it should not work? > > ------------------ tcp-socket ---------------- > | Process1 |------------------------>| Process2 | > ----------------- ------------------ > | > | ng_socket > | > v > hookname: lower > path: rl0: > > I have two processes. > Process1 is a "tcp client", i.e. it wants to send a > packet to process2, which is the "tcp server". > The process2 goes to listen and waits for packets > from Process1. If the client now sends packets > it works just fine. Now to the problem. > > When Process2 receives packet from Process1, > he wants to send the packet further to the ethernet > driver, i.e Process2 opens up a ng_socket to > the hookname: lower of the driver. When sending > the connect message to the hook in the driver the > machine dies:-( > > If removing the tcp_socket, i.e having all in one process > everything works just fine. When splitting up in 2 processes > and connecting the ng_socket first and the tcp_socket after, > I can send one packet down all the way, but then the tcp_server, > i.e. Process2, go to wait state: recv and the machine dies. Can you get a panic backtrace? (see FreeBSD handbook for how). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat May 19 23:23:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from mario.zyan.com (mario.zyan.com [209.250.96.140]) by hub.freebsd.org (Postfix) with ESMTP id 6B06E37B424 for ; Sat, 19 May 2001 23:23:57 -0700 (PDT) (envelope-from orville@weyrich.com) Received: from dopey.weyrich.com (orville@node-64-249-12-250.dslspeed.zyan.com [64.249.12.250]) by mario.zyan.com (8.9.3/8.9.3) with ESMTP id XAA87589 for ; Sat, 19 May 2001 23:23:52 -0700 (PDT) (envelope-from orville@weyrich.com) Received: from localhost (orville@localhost) by dopey.weyrich.com (8.9.3/8.6.9) with ESMTP id XAA04647 for ; Sat, 19 May 2001 23:07:48 -0700 Date: Sat, 19 May 2001 23:07:48 -0700 (MST) From: "Orville R. Weyrich.Jr" Cc: "Freebsd Net (E-mail)" Subject: Restricting traffic on one interface In-Reply-To: <200105191755.f4JHtbe85136@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 Hi -- I have a dual homed FreeBSD-4.3 machine and want to restrict traffic on one interface but not the other (one interface is to a trusted network and the other is not). What I want is the untrusted interface to only present SMTP and HTTP ports, while the trusted interface presents telnet, ftp, NFS, SMB, etc. What is the best way to do this? The machine does NOT have IP forwarding enabled. ------------------------------------------------------------------- Orville R. Weyrich, Jr. Weyrich Computer Consulting mailto:orville@weyrich.com KD7HJV http://www.weyrich.com ------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message