From owner-freebsd-net Mon Feb 15 08:00:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA21886 for freebsd-net-outgoing; Mon, 15 Feb 1999 08:00:24 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from abused.com (abused.com [204.216.142.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA21878 for ; Mon, 15 Feb 1999 08:00:23 -0800 (PST) (envelope-from gvbmail@tns.net) Received: from gvb (gvb.tns.net [204.216.245.137]) by abused.com (8.9.3/I feel abused.) with SMTP id HAA21016 for ; Mon, 15 Feb 1999 07:51:32 -0800 (PST) Message-Id: <4.1.19990215073836.00a107c0@abused.com> X-Sender: gvbmail@mail.tns.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 15 Feb 1999 07:40:08 -0800 To: freebsd-net@FreeBSD.ORG From: GVB Subject: Named requests.. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Over the weekend we had a few problems with named.. it crashed twice and these look to be the requests that caused it to crash.. it is FreeBSD-3.0 release.. Feb 13 08:51:58 ns2 named[5087]: /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:491: INSIST(evGetNext(ev, &event, EV_WAIT) != -1): Invalid argument failed. Feb 13 08:52:00 ns2 /kernel: pid 5087 (named), uid 0: exited on signal 6 (core dumped) Feb 13 08:51:58 ns2 named[5087]: /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:491: INSIST(evGetNext(ev, &event, EV_WAIT) != -1): Invalid argument failed. Feb 13 09:26:46 ns2 su: gvb to root on /dev/ttyp0 Feb 13 09:26:54 ns2 named[6318]: starting. named 8.1.2 Sat Oct 17 16:02:16 GMT 1998 jkh@kickme.freebsd.org:/usr/obj/elf/usr/src/usr.sbin/named Feb 13 09:26:57 ns2 named[6319]: Ready to answer queries. Feb 13 08:51:58 ns2 named[5087]: /usr/src/usr.sbin/named/../../contrib/bind/bin/ named/ns_main.c:491: INSIST(evGetNext(ev, &event, EV_WAIT) != -1): Invalid argum ent failed. Feb 13 08:51:58 ns2 named[5087]: /usr/src/usr.sbin/named/../../contrib/bind/bin/ named/ns_main.c:491: INSIST(evGetNext(ev, &event, EV_WAIT) != -1): Invalid argum ent failed. Feb 13 09:26:54 ns2 named[6318]: starting. named 8.1.2 Sat Oct 17 16:02:16 GMT 1998 jkh@kickme.freebsd.org:/usr/obj/elf/usr/src/usr.sbin/named Is this in anyway related to any kind of security intrusion or is this a known problem? Any help is greatly appriciated.. Thanks GVB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 10:17:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA09564 for freebsd-net-outgoing; Mon, 15 Feb 1999 10:17:38 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from abused.com (abused.com [204.216.142.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA09555 for ; Mon, 15 Feb 1999 10:17:34 -0800 (PST) (envelope-from gvbmail@tns.net) Received: from gvb (gvb.tns.net [204.216.245.137]) by abused.com (8.9.3/I feel abused.) with SMTP id KAA21175 for ; Mon, 15 Feb 1999 10:17:39 -0800 (PST) Message-Id: <4.1.19990215100349.00a0e160@abused.com> X-Sender: gvbmail@mail.tns.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 15 Feb 1999 10:06:16 -0800 To: freebsd-net@FreeBSD.ORG From: GVB Subject: Router stats & NIC in prom. mode... Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Couple things.. I am looking for a cgi/perl script that will use SNMP to take router stats from my Cisco 2500 series router.. we had one working but the persons machine it was on had a hard drive failure and he doesnt remember where he got it from and I cannot find one anywhere.. Also, I need a program that checks the local ethernet for network cards that are in promiscous(sp) mode.. i found a few, but none would compile on FreeBSD.. if anyone can recommend anything it would be appriciated. Thanks GVB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 10:46:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12530 for freebsd-net-outgoing; Mon, 15 Feb 1999 10:46:59 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12525 for ; Mon, 15 Feb 1999 10:46:57 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA152722661; Mon, 15 Feb 1999 07:44:21 -0500 Date: Mon, 15 Feb 1999 07:44:21 -0500 (EST) From: Bill Fumerola To: GVB Cc: freebsd-net@FreeBSD.ORG Subject: Re: Router stats & NIC in prom. mode... In-Reply-To: <4.1.19990215100349.00a0e160@abused.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, 15 Feb 1999, GVB wrote: > Couple things.. I am looking for a cgi/perl script that will use SNMP to > take router stats from my Cisco 2500 series router.. we had one working but > the persons machine it was on had a hard drive failure and he doesnt > remember where he got it from and I cannot find one anywhere.. /usr/ports/net/mrtg > Also, I need a program that checks the local ethernet for network cards > that are in promiscous(sp) mode.. i found a few, but none would compile on > FreeBSD.. if anyone can recommend anything it would be appriciated. > Thanks Hmmmm... send the ones that didn't compile to billf@FreeBSD.org, and I'll take a look at them. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 11:15:21 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16328 for freebsd-net-outgoing; Mon, 15 Feb 1999 11:15:21 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16317 for ; Mon, 15 Feb 1999 11:15:17 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.2/8.9.1) with ESMTP id NAA74061; Mon, 15 Feb 1999 13:55:12 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <199902151855.NAA74061@whizzo.transsys.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Bill Fumerola cc: GVB , freebsd-net@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: Router stats & NIC in prom. mode... References: In-reply-to: Your message of "Mon, 15 Feb 1999 07:44:21 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Feb 1999 13:55:12 -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Also, I need a program that checks the local ethernet for network cards > > that are in promiscous(sp) mode.. i found a few, but none would compile on > > FreeBSD.. if anyone can recommend anything it would be appriciated. > > Thanks > > Hmmmm... send the ones that didn't compile to billf@FreeBSD.org, and I'll > take a look at them. I'm really curious. What mechanism can you use to detect that another Ethernet MAC is accepting all frames, rather than filtering on multicast, broadcast or frames addressed to the built-in MAC address? louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 11:37:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19318 for freebsd-net-outgoing; Mon, 15 Feb 1999 11:37:02 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from databus.databus.com (databus.databus.com [198.186.154.34]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA19310 for ; Mon, 15 Feb 1999 11:36:56 -0800 (PST) (envelope-from barney@databus.databus.com) From: Barney Wolff To: freebsd-net@FreeBSD.ORG Date: Mon, 15 Feb 1999 14:31 EST Subject: Re: Router stats & NIC in prom. mode... Content-Type: text/plain Message-ID: <36c877540.71db@databus.databus.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Send a packet to the IP of the suspect machine, with a "wrong" MAC. If it answers, it's snooping. Not surefire, of course, but probably works unless the bad guy has altered the net code. Clipping the xmit lead is harder than it used to be. Barney Wolff > From: "Louis A. Mamakos" > Date: Mon, 15 Feb 1999 13:55:12 -0500 > > > > Also, I need a program that checks the local ethernet for network cards > > > that are in promiscous(sp) mode.. i found a few, but none would compile on > > > FreeBSD.. if anyone can recommend anything it would be appriciated. > > I'm really curious. What mechanism can you use to detect that another > Ethernet MAC is accepting all frames, rather than filtering on multicast, > broadcast or frames addressed to the built-in MAC address? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 11:57:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24987 for freebsd-net-outgoing; Mon, 15 Feb 1999 11:57:05 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.seidata.com (ns1.seidata.com [208.10.211.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24982 for ; Mon, 15 Feb 1999 11:57:02 -0800 (PST) (envelope-from mike@seidata.com) From: mike@seidata.com Received: from localhost (mike@localhost) by ns1.seidata.com (8.8.8/8.8.5) with ESMTP id OAA17476; Mon, 15 Feb 1999 14:56:47 -0500 (EST) Date: Mon, 15 Feb 1999 14:56:47 -0500 (EST) To: GVB cc: freebsd-net@FreeBSD.ORG Subject: Re: Router stats & NIC in prom. mode... In-Reply-To: <4.1.19990215100349.00a0e160@abused.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, 15 Feb 1999, GVB wrote: > Couple things.. I am looking for a cgi/perl script that will use SNMP to > take router stats from my Cisco 2500 series router.. we had one working but > the persons machine it was on had a hard drive failure and he doesnt > remember where he got it from and I cannot find one anywhere.. An appropriate answer could depend upon your definition of 'router stats'. However, MRTG (in /usr/ports/net I believe) is quite capable of polling routers via SNMP and gathering a large amount of useful information. -- Mike Hoskins Systems/Network Administrator SEI Data Network Services, Inc. http://www.seidata.com "In a world where an admin is rendered useless when the ball in his mouse has been taken out, its good to know that I know UNIX." -- toaster.sun4c.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 12:00:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA25824 for freebsd-net-outgoing; Mon, 15 Feb 1999 12:00:36 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA25816 for ; Mon, 15 Feb 1999 12:00:32 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id PAA10471; Mon, 15 Feb 1999 15:00:28 -0500 (EST) (envelope-from wollman) Date: Mon, 15 Feb 1999 15:00:28 -0500 (EST) From: Garrett Wollman Message-Id: <199902152000.PAA10471@khavrinen.lcs.mit.edu> To: Barney Wolff Cc: freebsd-net@FreeBSD.ORG Subject: Re: Router stats & NIC in prom. mode... In-Reply-To: <36c877540.71db@databus.databus.com> References: <36c877540.71db@databus.databus.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Send a packet to the IP of the suspect machine, with a "wrong" MAC. > If it answers, it's snooping. Not surefire, of course, but probably > works unless the bad guy has altered the net code. Or they are using a correct Ethernet driver.... -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 12:25:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA29741 for freebsd-net-outgoing; Mon, 15 Feb 1999 12:25:40 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA29729 for ; Mon, 15 Feb 1999 12:25:35 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.2/8.9.1) with ESMTP id PAA74395; Mon, 15 Feb 1999 15:25:29 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <199902152025.PAA74395@whizzo.transsys.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Barney Wolff cc: freebsd-net@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: Router stats & NIC in prom. mode... References: <36c877540.71db@databus.databus.com> In-reply-to: Your message of "Mon, 15 Feb 1999 14:31:00 EST." <36c877540.71db@databus.databus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Feb 1999 15:25:29 -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Send a packet to the IP of the suspect machine, with a "wrong" MAC. > If it answers, it's snooping. Not surefire, of course, but probably > works unless the bad guy has altered the net code. Clipping the xmit > lead is harder than it used to be. Hmm.. it's really unclear to me that this is a case worth trying to detect. You could just not give the network interface an IP address, and still use BPF on it. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 13:14:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06965 for freebsd-net-outgoing; Mon, 15 Feb 1999 13:14:59 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA06960 for ; Mon, 15 Feb 1999 13:14:58 -0800 (PST) (envelope-from fenner@parc.xerox.com) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <53116(4)>; Mon, 15 Feb 1999 13:14:57 PST Received: from localhost by crevenia.parc.xerox.com with SMTP id <177534>; Mon, 15 Feb 1999 13:14:49 -0800 To: Barney Wolff cc: freebsd-net@FreeBSD.ORG Subject: Re: Router stats & NIC in prom. mode... In-reply-to: Your message of "Mon, 15 Feb 99 11:31:00 PST." <36c877540.71db@databus.databus.com> Date: Mon, 15 Feb 1999 13:14:44 PST From: Bill Fenner Message-Id: <99Feb15.131449pst.177534@crevenia.parc.xerox.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <36c877540.71db@databus.databus.com> you write: >Send a packet to the IP of the suspect machine, with a "wrong" MAC. >If it answers, it's snooping. Not surefire, of course, but probably >works unless the bad guy has altered the net code. Er, only works if the bad guy has altered the net code, ignoring buggy drivers. (Non-buggy drivers drop packets that are not destined for this host after handing them to bpf if IFF_PROMISC.) Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 13:36:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09869 for freebsd-net-outgoing; Mon, 15 Feb 1999 13:36:33 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA09864 for ; Mon, 15 Feb 1999 13:36:31 -0800 (PST) (envelope-from fenner@parc.xerox.com) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <53441(2)>; Mon, 15 Feb 1999 13:36:21 PST Received: from localhost by crevenia.parc.xerox.com with SMTP id <177534>; Mon, 15 Feb 1999 13:36:06 -0800 To: The Hermit Hacker cc: freebsd-net@FreeBSD.ORG Subject: Re: /usr/ports/net/queso ... inconsistent results and FBSD3.0-STABLE In-reply-to: Your message of "Wed, 10 Feb 99 21:37:24 PST." Date: Mon, 15 Feb 1999 13:35:56 PST From: Bill Fenner Message-Id: <99Feb15.133606pst.177534@crevenia.parc.xerox.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Also try "nmap"; it seems to do better at recognizing systems. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 13:42:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10889 for freebsd-net-outgoing; Mon, 15 Feb 1999 13:42:14 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA10882 for ; Mon, 15 Feb 1999 13:42:11 -0800 (PST) (envelope-from fenner@parc.xerox.com) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <53433(1)>; Mon, 15 Feb 1999 13:42:08 PST Received: from localhost by crevenia.parc.xerox.com with SMTP id <177534>; Mon, 15 Feb 1999 13:42:01 -0800 To: Chris Csanady cc: freebsd-net@FreeBSD.ORG Subject: Re: Serious mbuf cluster leak.. In-reply-to: Your message of "Thu, 11 Feb 99 01:43:43 PST." <19990211094343.960A410@friley-185-205.res.iastate.edu> Date: Mon, 15 Feb 1999 13:41:55 PST From: Bill Fenner Message-Id: <99Feb15.134201pst.177534@crevenia.parc.xerox.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I found a bug yesterday in uipc_socket.c; try this patch. Bill Index: uipc_socket.c =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v retrieving revision 1.51 diff -u -r1.51 uipc_socket.c --- uipc_socket.c 1999/01/20 17:45:22 1.51 +++ uipc_socket.c 1999/02/15 07:09:25 @@ -388,6 +405,7 @@ register long space, len, resid; int clen = 0, error, s, dontroute, mlen; int atomic = sosendallatonce(so) || top; + int pru_flags; if (uio) resid = uio->uio_resid; @@ -518,21 +536,24 @@ } while (space > 0 && atomic); if (dontroute) so->so_options |= SO_DONTROUTE; + pru_flags = 0; + if (flags & MSG_OOB) + pru_flags |= PRUS_OOB; + /* + * If the user set MSG_EOF, the protocol + * understands this flag and nothing left to + * send then set PRUS_EOF. + */ + if ((flags & MSG_EOF) && + (so->so_proto->pr_flags & PR_IMPLOPCL) && + (resid <= 0)) + pru_flags |= PRUS_EOF; + /* If there is more to send set PRUS_MORETOCOME */ + if (resid > 0 && space > 0) + pru_flags |= PRUS_MORETOCOME; s = splnet(); /* XXX */ error = (*so->so_proto->pr_usrreqs->pru_send)(so, - (flags & MSG_OOB) ? PRUS_OOB : - /* - * If the user set MSG_EOF, the protocol - * understands this flag and nothing left to - * send then use PRU_SEND_EOF instead of PRU_SEND. - */ - ((flags & MSG_EOF) && - (so->so_proto->pr_flags & PR_IMPLOPCL) && - (resid <= 0)) ? - PRUS_EOF : - /* If there is more to send set PRUS_MORETOCOME */ - (resid > 0 && space > 0) ? PRUS_MORETOCOME : 0, - top, addr, control, p); + pru_flags, top, addr, control, p); splx(s); if (dontroute) so->so_options &= ~SO_DONTROUTE; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 18:41:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15785 for freebsd-net-outgoing; Mon, 15 Feb 1999 18:41:31 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from bsd.xcem.com (bsd.firstnethou.com [206.42.15.150]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15774 for ; Mon, 15 Feb 1999 18:41:09 -0800 (PST) (envelope-from ljakab@xcem.com) Received: from www (www.g4u.com [206.42.15.148]) by bsd.xcem.com (8.8.5/8.8.5) with SMTP id UAA01756 for ; Mon, 15 Feb 1999 20:30:29 -0600 (CST) Received: by localhost with Microsoft MAPI; Fri, 15 Jan 1999 20:41:42 -0600 Message-ID: <01BE40C7.75592A80.ljakab@xcem.com> From: Lubo Jakab To: "freebsd-net@FreeBSD.ORG" Subject: mbufs Date: Fri, 15 Jan 1999 20:41:41 -0600 Organization: Vortran Systems Int'l. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 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 i run 2.2.8 stable, with 3 network cards, ne2000 10/300, ne2000 5/260 and intel pro100b, each of them is on a separate subnet, maxusers is set to 512, also did tryed different numbers up to nmbclusters=16000... none of those seems to change following: 8:26PM up 4:17, 3 users, load averages: 0.02, 0.02, 0.00 77 mbufs in use: 65 mbufs allocated to data 4 mbufs allocated to packet headers 7 mbufs allocated to protocol control blocks 1 mbufs allocated to socket names and addresses 64/70 mbuf clusters in use 149 Kbytes allocated to network (91% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00.a0.c9.9c.2e.39 21494 6 6157 0 41 fxp0 1500 204.137.207.9 204.137.207.126 21494 6 6157 0 41 ed0 1500 00.40.05.2e.ad.86 10854 0 11064 0 4 ed0 1500 209.83.249.19 209.83.249.221 10854 0 11064 0 4 ed1 1500 00.40.05.37.df.69 25393 0 8831 0 0 ed1 1500 204.137.204.1 204.137.204.190 25393 0 8831 0 0 lo0 16384 252 0 252 0 0 lo0 16384 127 127.0.0.1 252 0 252 0 0 thanx lubo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Feb 15 21:58:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA06661 for freebsd-net-outgoing; Mon, 15 Feb 1999 21:58:24 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (root.com [208.221.12.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06656 for ; Mon, 15 Feb 1999 21:58:23 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id VAA26906; Mon, 15 Feb 1999 21:53:08 -0800 (PST) Message-Id: <199902160553.VAA26906@implode.root.com> To: Lubo Jakab cc: "freebsd-net@FreeBSD.ORG" Subject: Re: mbufs In-reply-to: Your message of "Fri, 15 Jan 1999 20:41:41 CST." <01BE40C7.75592A80.ljakab@xcem.com> From: David Greenman Reply-To: dg@root.com Date: Mon, 15 Feb 1999 21:53:08 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm not seeing the problem. What's the problem you're having? -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project >i run 2.2.8 stable, with 3 network cards, ne2000 10/300, ne2000 5/260 and >intel pro100b, each of them is on a separate subnet, maxusers is set to >512, also did tryed different numbers up to nmbclusters=16000... >none of those seems to change following: > > 8:26PM up 4:17, 3 users, load averages: 0.02, 0.02, 0.00 > >77 mbufs in use: > 65 mbufs allocated to data > 4 mbufs allocated to packet headers > 7 mbufs allocated to protocol control blocks > 1 mbufs allocated to socket names and addresses >64/70 mbuf clusters in use >149 Kbytes allocated to network (91% in use) >0 requests for memory denied >0 requests for memory delayed >0 calls to protocol drain routines > >Name Mtu Network Address Ipkts Ierrs Opkts Oerrs > Coll >fxp0 1500 00.a0.c9.9c.2e.39 21494 6 6157 0 > 41 >fxp0 1500 204.137.207.9 204.137.207.126 21494 6 6157 0 > 41 >ed0 1500 00.40.05.2e.ad.86 10854 0 11064 0 > 4 >ed0 1500 209.83.249.19 209.83.249.221 10854 0 11064 0 > 4 >ed1 1500 00.40.05.37.df.69 25393 0 8831 0 > 0 >ed1 1500 204.137.204.1 204.137.204.190 25393 0 8831 0 > 0 >lo0 16384 252 0 252 0 > 0 >lo0 16384 127 127.0.0.1 252 0 252 0 > 0 > >thanx lubo > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Feb 16 8:46:54 1999 Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08083 for ; Tue, 16 Feb 1999 08:46:52 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA280087762; Tue, 16 Feb 1999 04:36:02 -0500 Date: Tue, 16 Feb 1999 04:36:02 -0500 (EST) From: Bill Fumerola To: David Greenman Cc: Lubo Jakab , "freebsd-net@FreeBSD.ORG" Subject: Re: mbufs In-Reply-To: <199902160553.VAA26906@implode.root.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, 15 Feb 1999, David Greenman wrote: > I'm not seeing the problem. What's the problem you're having? > >149 Kbytes allocated to network (91% in use) That statistic scared me more than once before I (semi-)understood it. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Feb 16 8:47: 2 1999 Received: from implode.root.com (root.com [208.221.12.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08082 for ; Tue, 16 Feb 1999 08:46:51 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id HAA00889; Tue, 16 Feb 1999 07:30:52 -0800 (PST) Message-Id: <199902161530.HAA00889@implode.root.com> To: Bill Fumerola cc: Lubo Jakab , "freebsd-net@FreeBSD.ORG" Subject: Re: mbufs In-reply-to: Your message of "Tue, 16 Feb 1999 04:36:02 EST." From: David Greenman Reply-To: dg@root.com Date: Tue, 16 Feb 1999 07:30:51 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >On Mon, 15 Feb 1999, David Greenman wrote: > >> I'm not seeing the problem. What's the problem you're having? > >> >149 Kbytes allocated to network (91% in use) > >That statistic scared me more than once before I (semi-)understood it. Ah, if that is the question, then the answer is that the % in-use refers to the peak number that have been allocated so far. It's a confusing and mostly worthless statistic. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Feb 16 8:47: 5 1999 Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08095 for ; Tue, 16 Feb 1999 08:46:57 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA285248840; Tue, 16 Feb 1999 04:54:00 -0500 Date: Tue, 16 Feb 1999 04:54:00 -0500 (EST) From: Bill Fumerola To: David Greenman Cc: Lubo Jakab , "freebsd-net@FreeBSD.ORG" Subject: Re: mbufs In-Reply-To: <199902161530.HAA00889@implode.root.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 Tue, 16 Feb 1999, David Greenman wrote: > Ah, if that is the question, then the answer is that the % in-use refers > to the peak number that have been allocated so far. It's a confusing and > mostly worthless statistic. Amen. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Feb 16 18:51:37 1999 Delivered-To: freebsd-net@freebsd.org Received: from bsd.xcem.com (bsd.firstnethou.com [206.42.15.150]) by hub.freebsd.org (Postfix) with ESMTP id 501DF11010 for ; Tue, 16 Feb 1999 18:51:04 -0800 (PST) (envelope-from ljakab@xcem.com) Received: from www (www.g4u.com [206.42.15.148]) by bsd.xcem.com (8.8.5/8.8.5) with SMTP id UAA00952; Tue, 16 Feb 1999 20:40:27 -0600 (CST) Received: by localhost with Microsoft MAPI; Sat, 16 Jan 1999 20:52:07 -0600 Message-ID: <01BE4192.147316B0.ljakab@xcem.com> From: Lubo Jakab To: "'Bill Fumerola'" , David Greenman Cc: "freebsd-net@FreeBSD.ORG" Subject: RE: mbufs Date: Sat, 16 Jan 1999 20:52:06 -0600 Organization: Vortran Systems Int'l. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 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 well if worthless, than how would you explain other box with one NIC is running % in one digit range with 20 users connected and box in this case 3 NIC's and no users, if i connect users i have feeling that number will go up, so may question was where can i increase (or do i need to?) 149Kb to something bigger -----Original Message----- From: Bill Fumerola [SMTP:billf@chc-chimes.com] Sent: Tuesday, February 16, 1999 3:54 AM To: David Greenman Cc: Lubo Jakab; freebsd-net@FreeBSD.ORG Subject: Re: mbufs On Tue, 16 Feb 1999, David Greenman wrote: > Ah, if that is the question, then the answer is that the % in-use refers > to the peak number that have been allocated so far. It's a confusing and > mostly worthless statistic. Amen. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Feb 17 6:39: 0 1999 Delivered-To: freebsd-net@freebsd.org Received: from implode.root.com (root.com [208.221.12.98]) by hub.freebsd.org (Postfix) with ESMTP id 91A281104B for ; Wed, 17 Feb 1999 06:38:56 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id GAA14866; Wed, 17 Feb 1999 06:26:02 -0800 (PST) Message-Id: <199902171426.GAA14866@implode.root.com> To: Lubo Jakab Cc: "'Bill Fumerola'" , "freebsd-net@FreeBSD.ORG" Subject: Re: mbufs In-reply-to: Your message of "Sat, 16 Jan 1999 20:52:06 CST." <01BE4192.147316B0.ljakab@xcem.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 17 Feb 1999 06:26:02 -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >well if worthless, than how would you explain other box with one NIC is >running % in one digit range with 20 users connected and box in this case 3 >NIC's and no users, if i connect users i have feeling that number will go >up, so may question was where can i increase (or do i need to?) 149Kb to >something bigger Sorry, but I failed to communicate what the number means. What is reported in the older version of netstat is NOT the limit, but the peak in-use since the system was started. The %in-use is the ratio of the number currently in-use vs. the peak number since system startup. Your twenty user system simply had a high peak at one point and settled down to something less than 1/10th of that (thus the low %in-use). In that version of netstat that you're using, there is no way to get the maximum number. Newer versions of FreeBSD netstat include the maximum as well as the peak and current in-use. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Feb 17 12:43:53 1999 Delivered-To: freebsd-net@freebsd.org Received: from postoffice2.direcpc.com (mail.direcpc.com [198.77.116.30]) by hub.freebsd.org (Postfix) with ESMTP id 738D21156B for ; Wed, 17 Feb 1999 12:43:51 -0800 (PST) (envelope-from snowfox@snowfox.net) Received: from BrianM ([206.71.119.54]) by postoffice2.direcpc.com (Post.Office MTA v3.1.2 release (PO203-101c) ID# 0-45425U50000L50000S0) with SMTP id AAA17792 for ; Wed, 17 Feb 1999 15:44:29 -0500 Message-ID: <012101be5ab6$32a25640$4504a8c0@BrianM.highvoltage.com> Reply-To: "SnowFox" From: "SnowFox" To: Subject: natd - masquerade and multihoming Date: Wed, 17 Feb 1999 14:43:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have an ISDN connection with a static subnet. I'm adding cablemodem with a single dynamic IP. ISDN via ppp - 3 bit (/3) static subnet cable via ed0 - dynamic address Internally, some machines with IPs in the ISDN account static subnet, some with unregistered (10.0.0.0/8) addresses. public.foo.org via ed0 - real_network_address/3 fake.foo.org via ed0 - 10.0.0.0/8 I want all the foo.org machines to access the world via the cable modem, and I want the world to see the static subnet via their ISDN addresses. If I start with the rc.conf "open" firewall and natd set "yes", this seems to be what I need to do: ipfw add divert natd all from any to cablemodem_address via ed0 *But* how would I prevent IDSN packets from ppp from being routed to the cablemodem instead of the local machines then? Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Feb 17 21:29:46 1999 Delivered-To: freebsd-net@freebsd.org Received: from enaila.nidlink.com (enaila.nidlink.com [216.18.128.8]) by hub.freebsd.org (Postfix) with ESMTP id 54CA710E65 for ; Wed, 17 Feb 1999 21:29:25 -0800 (PST) (envelope-from sworkman@nidlink.com) Received: from hal.nidlink.com (tnt132-35.nidlink.com [216.18.132.35]) by enaila.nidlink.com (8.9.0/8.9.0) with ESMTP id VAA22444 for ; Wed, 17 Feb 1999 21:29:24 -0800 (PST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <012101be5ab6$32a25640$4504a8c0@BrianM.highvoltage.com> Date: Wed, 17 Feb 1999 21:31:45 -0800 (PST) Reply-To: sworkman@nidlink.com From: Shawn Workman To: net@FreeBSD.ORG Subject: NET SEND like program for FreeBSD Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I do a lot of work on FreeBSD but my co-workers use mostly NT 4.0. Is there a package or port that will allow me to receive their NET SEND messages from NT and also allow my to send messages that will pop up on their machines? Any help will be greatly appreciated.. ---------------------------------- E-Mail: Shawn Workman Date: 17-Feb-99 Time: 21:29:35 This message was sent by XFMail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Feb 18 1: 3:31 1999 Delivered-To: freebsd-net@freebsd.org Received: from lion.butya.kz (butya-gw.butya.kz [194.87.112.252]) by hub.freebsd.org (Postfix) with ESMTP id 6F7B611271 for ; Thu, 18 Feb 1999 01:03:19 -0800 (PST) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by lion.butya.kz with local-esmtp (Exim 2.054 #1) id 10DPMQ-0006wU-00 for freebsd-net@freebsd.org; Thu, 18 Feb 1999 15:03:06 +0600 Date: Thu, 18 Feb 1999 15:03:06 +0600 (ALMT) From: Boris Popov To: freebsd-net@freebsd.org Subject: Netware client 1.3beta1 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, This is next version after 1.2beta2. It introduces new commands like ncprint, ncplogin/logout and, of course, many bug fixes with a few new ones. Note: some connection related switches are changed, so please reread man pages for ncplogin and mount_nwfs. URL: ftp://ftp.butya.kz/pub/nwlib/ncplib-1.3b1.tar.gz There is also a little howto about IPX on FreeBSD at http://www.butya.kz/~bp/. -- Boris Popov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Feb 18 1:15:13 1999 Delivered-To: freebsd-net@freebsd.org Received: from kamna.i.cz (kamna.i.cz [193.85.255.30]) by hub.freebsd.org (Postfix) with SMTP id B7BE410E5D for ; Thu, 18 Feb 1999 01:15:05 -0800 (PST) (envelope-from mm@i.cz) Received: (qmail 25983 invoked from network); 18 Feb 1999 09:15:04 -0000 Received: from woody.i.cz (@193.85.255.60) by kamna.i.cz with SMTP; 18 Feb 1999 09:15:04 -0000 Content-Length: 525 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 18 Feb 1999 10:15:03 +0100 (MET) Reply-To: mm@i.cz From: Martin Machacek To: net@FreeBSD.ORG Subject: RE: NET SEND like program for FreeBSD Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18-Feb-99 Shawn Workman wrote: > I do a lot of work on FreeBSD but my co-workers use mostly NT 4.0. Is there > a > package or port that will allow me to receive their NET SEND messages from NT > and also allow my to send messages that will pop up on their machines? As far as I remember this functionality is built into the smbclient (the -M option). See smbclient(1) and smb.conf(5) (for instructions how to receive messages). I've tested sending of WinPopup messages about 5 years ago against Win 3.11 and it worked. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Feb 18 8:16:58 1999 Delivered-To: freebsd-net@freebsd.org Received: from cougar.jbw.org (unknown [205.170.193.11]) by hub.freebsd.org (Postfix) with ESMTP id 350BD11580 for ; Thu, 18 Feb 1999 08:16:37 -0800 (PST) (envelope-from jbw@jbw.org) Received: from jbw.org ([205.170.193.51]) by cougar.jbw.org (Post.Office MTA v3.5.3 release 223 ID# 0-52221U100L2S100V35) with ESMTP id org; Thu, 18 Feb 1999 09:15:39 -0700 Message-ID: <36CC3CAB.C05EEB76@jbw.org> Date: Thu, 18 Feb 1999 09:15:39 -0700 From: jbw@jbw.org (jbw) X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: sworkman@nidlink.com Cc: net@FreeBSD.ORG Subject: Re: NET SEND like program for FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Look at ports 135-139 - these are used for various NT-specific network functionality (providing, of course, that TCP/IP is configured on the NT machines). Not 100% sure which is used for peer-to-peer messages, but would possibly be willing to help more, if needed. j.b. Shawn Workman wrote: > I do a lot of work on FreeBSD but my co-workers use mostly NT 4.0. Is there a > package or port that will allow me to receive their NET SEND messages from NT > and also allow my to send messages that will pop up on their machines? > > Any help will be greatly appreciated.. > > ---------------------------------- > E-Mail: Shawn Workman > Date: 17-Feb-99 > Time: 21:29:35 > > This message was sent by XFMail > ---------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Feb 18 13:43:59 1999 Delivered-To: freebsd-net@freebsd.org Received: from abused.com (abused.com [204.216.142.63]) by hub.freebsd.org (Postfix) with ESMTP id 7AD3E11A20 for ; Thu, 18 Feb 1999 13:43:53 -0800 (PST) (envelope-from gvbmail@tns.net) Received: from gvb (gvb.tns.net [204.216.245.137]) by abused.com (8.9.3/I feel abused.) with SMTP id NAA04822; Thu, 18 Feb 1999 13:43:38 -0800 (PST) Message-Id: <4.1.19990218133207.00a45c10@abused.com> X-Sender: gvbmail@mail.tns.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Thu, 18 Feb 1999 13:32:32 -0800 To: Bakul Shah From: GVB Subject: Re: Router stats & NIC in prom. mode... Cc: freebsd-net@freebsd.org In-Reply-To: <199902151953.OAA27737@chai.torrentnet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org That does not work. Any other ideas? Thanks.. GVB At 02:53 PM 2/15/99 -0500, you wrote: >> Also, I need a program that checks the local ethernet for network cards >> that are in promiscous(sp) mode.. i found a few, but none would compile on >> FreeBSD.. if anyone can recommend anything it would be appriciated. > >Would this do? > >ifconfig -au | grep PROMISC | sed 's/:.*//' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Feb 19 12:10:34 1999 Delivered-To: freebsd-net@freebsd.org Received: from news.third-rail.net (mail2.third-rail.net [208.153.2.13]) by hub.freebsd.org (Postfix) with ESMTP id 3DEFF11302 for ; Fri, 19 Feb 1999 12:10:20 -0800 (PST) (envelope-from psion@geekspace.com) Received: from geekspace.com ([208.153.2.11]) by news.third-rail.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-44653U100L2S100) with ESMTP id AAA146; Fri, 19 Feb 1999 15:06:51 -0500 Message-ID: <36CDC4E7.CC332C19@geekspace.com> Date: Fri, 19 Feb 1999 15:09:11 -0500 From: Chris Williams X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: TCP packet sizes and window w/X through SSH Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Because I am forced to work from behind a proxy, I am using a slightly contorted setup to get X windows from my unix boxen, this is what I'm doing: I have an X server running on my NT PC, behind the proxy. I use an NT version of SSH to connect, through Microsoft's Winsock Proxy service, to a FreeBSD machine on the outside world. I then redirect a port (6010) on the box back to my local NT box and it's X server. Then I telnet from the FreeBSD box to a Solaris box, start up X applications there pointing back at display 10 on the FreeBSD box, and they magically pop up on my local workstation, without having to make any incoming connections through the proxy (which is not allowed). Needless to say, this is a little sluggish (that is, aside from being stupid ;)). I have been trying to identify exactly _why_ it's quite as slow as it is, and it doesn't seem to be the CPU of any of the machine involved, so I'm working on the assumption it's a network issue. Using the tcptrace tool from the ports collection, I took a look at the TCP connections going on, and found two interesting things: 1) During peak data transmission between the two unix boxes, both sides frequently hit the maximum window size before getting an ACK, and then have to wait for the ACK to send more. Since there are no retransmissions occuring (woo!), it would seem that an increase in window size should boost performance. Is there any reasonable way to do this in FreeBSD? I looked through sysctl -a and didn't see anything, 'man tcp' isn't helpful...Is it an option I have to set before compling the kernel? Or what? 2) The SSH packets going from the BSD box to the proxy server are almost always less than ~800 bytes. This seems strange since the Ethernet MTU is 1500, and most of the packets coming from the Sun box to the BSD box to be relayed through SSH are in fact ~1500 bytes. Why is SSH chopping the packets up like this? Is there a good reason for it, and if not, how can it be fixed/changed? Although this doesn't appear to be slowing things down as much as (1), it does put extra load on our proxy (from watching perfmon against the proxy while I do varios things, it is very clear that cpu/io load is much more closely coupled with packets/sec than bytes/sec -- which isn't at all surprising). Any suggestions on either point would be much appreciated.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 1:11:56 1999 Delivered-To: freebsd-net@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 9795711208 for ; Sat, 20 Feb 1999 01:11:52 -0800 (PST) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial5-85.netcologne.de [194.8.195.85]) by mail2.netcologne.de (8.9.1/8.9.1) with ESMTP id KAA04070 for ; Sat, 20 Feb 1999 10:11:51 +0100 (MET) Received: (from marc@localhost) by oranje.my.domain (8.9.1/8.9.3) id KAA25509; Sat, 20 Feb 1999 10:11:59 +0100 (CET) (envelope-from marc) Date: Sat, 20 Feb 1999 10:11:59 +0100 (CET) Message-Id: <199902200911.KAA25509@oranje.my.domain> From: Marc van Woerkom To: freebsd-net@freebsd.org Subject: "netstat -af inet" recurrences.. Reply-To: van.woerkom@netcologne.de Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry to bother you, but maybe someone can tell me where to look for this one: I have the strange case of a box, where inet -af inet will create an endless listing (lines repeat after a while). If I add -n everything works fine. It is an Irix 6.5 box where some tried to install NIS recently. Any clues? Thanks, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 16:25:30 1999 Delivered-To: freebsd-net@freebsd.org Received: from grizzly.fas.com (wa0120.tnt1.awod.com [208.140.98.120]) by hub.freebsd.org (Postfix) with ESMTP id 5ECEC111D2 for ; Sat, 20 Feb 1999 16:25:23 -0800 (PST) (envelope-from stanb@awod.com) Received: by grizzly.fas.com ($Revision: 1.37.109.23 $/16.2) id AA198626716; Sat, 20 Feb 1999 19:25:16 -0500 Subject: test message, please ignore To: freebsd-net@FreeBSD.ORG Date: Sat, 20 Feb 1999 19:25:15 -0500 (EST) From: "Stan Brown" X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 518 Message-Id: <19990221002527.5ECEC111D2@hub.freebsd.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org still trying to figure out how to submit to this list! -- Stan Brown stanb@netcom.com 843-745-3154 Westvaco Charleston SC. -- Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. - (c) 1999 Stan Brown. Redistribution via the Microsoft Network is prohibited. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 19:32:36 1999 Delivered-To: freebsd-net@freebsd.org Received: from redbox.venux.net (redbox.venux.net [216.47.238.10]) by hub.freebsd.org (Postfix) with ESMTP id 9CD2D11722 for ; Sat, 20 Feb 1999 19:32:34 -0800 (PST) (envelope-from matthew@venux.net) Received: from thunder (gr-max4-41.iserv.net [206.114.38.41]) by redbox.venux.net (Postfix) with SMTP for id 7BBBB2E209; Sat, 20 Feb 1999 22:32:25 -0500 (EST) Message-Id: <4.1.19990220222633.00960240@mail.venux.net> X-Sender: mhagerty@mail.venux.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 20 Feb 1999 22:33:38 -0500 To: freebsd-net@freebsd.org From: Matthew Hagerty Subject: Remote printer access Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings, I hope this is not off topic, if it is, please excuse me and if kindly point me to the correct list, thanks. Is there a generally accepted method for accessing remote printers with FreeBSD? I have to servers located in different states and I need to print to a printer located on one server from the other server. Both are connected the Internet via dedicated ISDN. I'm running FreeBSD-3.x on both. Thanks, Matthew Hagerty matthew@venux.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 19:35:14 1999 Delivered-To: freebsd-net@freebsd.org Received: from Genesis.Denninger.Net (kdhome-2.pr.mcs.net [205.164.6.10]) by hub.freebsd.org (Postfix) with ESMTP id F016311AAA for ; Sat, 20 Feb 1999 19:35:11 -0800 (PST) (envelope-from karl@Genesis.Denninger.Net) Received: (from karl@localhost) by Genesis.Denninger.Net (8.9.3/8.8.2) id VAA15562; Sat, 20 Feb 1999 21:35:09 -0600 (CST) Message-ID: <19990220213509.A15555@Denninger.Net> Date: Sat, 20 Feb 1999 21:35:09 -0600 From: Karl Denninger To: Matthew Hagerty , freebsd-net@FreeBSD.ORG Subject: Re: Remote printer access References: <4.1.19990220222633.00960240@mail.venux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <4.1.19990220222633.00960240@mail.venux.net>; from Matthew Hagerty on Sat, Feb 20, 1999 at 10:33:38PM -0500 Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers will be LARTed and the remains fed to my cat Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Feb 20, 1999 at 10:33:38PM -0500, Matthew Hagerty wrote: > Greetings, > > I hope this is not off topic, if it is, please excuse me and if kindly > point me to the correct list, thanks. > > Is there a generally accepted method for accessing remote printers with > FreeBSD? I have to servers located in different states and I need to print > to a printer located on one server from the other server. Both are > connected the Internet via dedicated ISDN. I'm running FreeBSD-3.x on both. > > Thanks, > Matthew Hagerty > matthew@venux.net Uh, lpd? :-) -- -- Karl Denninger (karl@denninger.net) http://www.mcs.net/~karl I ain't even *authorized* to speak for anyone other than myself, so give up now on trying to associate my words with any particular organization. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 21:55:13 1999 Delivered-To: freebsd-net@freebsd.org Received: from mainframe.compusyssolutions.com (cr45115-a.slnt1.on.wave.home.com [24.112.87.97]) by hub.freebsd.org (Postfix) with ESMTP id 8123011AAD for ; Sat, 20 Feb 1999 21:55:09 -0800 (PST) (envelope-from david@compusyssolutions.com) Received: from compusyssolutions.com (bsd.compusyssolutions.com [192.168.0.3]) by mainframe.compusyssolutions.com (8.8.8/8.8.8) with ESMTP id XAA29458 for ; Sat, 20 Feb 1999 23:37:27 -0500 (EST) (envelope-from david@compusyssolutions.com) Message-ID: <36CF8D66.679F8509@compusyssolutions.com> Date: Sat, 20 Feb 1999 23:36:54 -0500 From: David Tichbourne Organization: Compusys Solutions Inc. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: ARP is not my friend. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hmmmm, Arp seems to be giving me a problem. Can anybody provide some insight into my situation? I am running a ipfw/natd on my 2.2.8 kernel which I compiled properly I think...everything seems to work fine my firewall machine has 2 NICs and I am able to route between the outside world and my private IP network. Every so often my firewall machine seems to behave like an arp proxy, which I don't want. On my firewall console I get messages like: ..... /kernel: arp: 192.168.0.1 moved from 08:00:07:a6:f7:74 to 00:00:b4:87:00:98 later things seem to "reset" back to ..... /kernel: arp: 192.168.0.1 moved from 00:00:b4:87:00:98 to 08:00:07:a6:f7:74 this also happens to my second machine 192.168.0.3 machine as well (different ethernet addresses of course) 192.168.0.1 and 0.3 are behind my firewall and when arp reconfigures their ethernet addresses they obviously can see the outside world through the firewall. Any insight would be greatly appreciated. I thought about recompiling my kernel again but I looked and can't seem to see any options that could have caused this mini hell of mine to form. Thanks. Dave. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 21:57:40 1999 Delivered-To: freebsd-net@freebsd.org Received: from obie.softweyr.com (unknown [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id D8FFD11A0B for ; Sat, 20 Feb 1999 21:57:29 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id WAA08062; Sat, 20 Feb 1999 22:10:52 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <36CF955C.1F2A25AC@softweyr.com> Date: Sat, 20 Feb 1999 22:10:52 -0700 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Karl Denninger Cc: Matthew Hagerty , freebsd-net@FreeBSD.ORG Subject: Re: Remote printer access References: <4.1.19990220222633.00960240@mail.venux.net> <19990220213509.A15555@Denninger.Net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Karl Denninger wrote: > > On Sat, Feb 20, 1999 at 10:33:38PM -0500, Matthew Hagerty wrote: > > Greetings, > > > > I hope this is not off topic, if it is, please excuse me and if kindly > > point me to the correct list, thanks. In general, questions is a good place for questions like this. The -net list is supposed to be for discussing the design and implementation of networking in FreeBSD. You were close, so we won't throw you out on your virtual ear. ;^) > > Is there a generally accepted method for accessing remote printers with > > FreeBSD? I have to servers located in different states and I need to print > > to a printer located on one server from the other server. Both are > > connected the Internet via dedicated ISDN. I'm running FreeBSD-3.x on both. > > Uh, lpd? :-) Yeah. In particular, see the "sample remote printer" entry in your /etc/printcap file. A good book on UNIX system adminstration will probably help, too. I recommend the O'Reilly book, but I understand the Nemeth & Seebass et al book is very good, too. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Feb 20 23: 2:43 1999 Delivered-To: freebsd-net@freebsd.org Received: from eta.ee.fit.edu (eta.ee.fit.edu [163.118.30.136]) by hub.freebsd.org (Postfix) with ESMTP id ED29810E79; Sat, 20 Feb 1999 23:02:36 -0800 (PST) (envelope-from cr@eta.ee.fit.edu) Received: from localhost (cr@localhost) by eta.ee.fit.edu (8.8.7/8.8.7) with SMTP id BAA00895; Sun, 21 Feb 1999 01:47:27 -0500 Date: Sun, 21 Feb 1999 01:47:27 -0500 (EST) From: John Smith To: freebsd-hackers@freebsd.org Cc: freebsd-net@freebsd.org Subject: Packet generation. 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; Can anyone help me find a packet generator that will compile on FreeBSD? I've tried spak, libnet, and spoofit.h; and spak does not compile under freebsd, libnet can't really do what I want; and spoofit.h is only of sending tcp and udp stuff; also for linux. (btw; spak does not really work under linux too) I would like to be able to send all kind of packets, and it must be native freebsd code. Any ideas/help appreciated. -John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message