genmask , rt_fixchange and kernel panic

2002-04-26 Thread Qing
Creating a route entry with -cloning flag and the -genmask option causes a kernel panic on 4.5-STABLE. The cloned entry created is a network route. The problem appears to be in route.c, in "rtrequest1" function, where if (!(rt->rt_flags & RTF_HOST) && (rt_mask(rt) !=0)

Re: NFS clearing attribute cache in nfs_open

2002-04-26 Thread Andrew P. Lentvorski
On Fri, 26 Apr 2002, Brian Candler wrote: >perl -e 'for ($i=0;$i<1000;$i++) { open F,"; close F;}' I will assume that you wrote this *only* to prove the point. However, if you are using NFS, you need to check the status of both open *and* close. Otherwise you are likely to start breeding *v

Re: Putting all PCBs into sysctl?

2002-04-26 Thread George V. Neville-Neil
> George, > > I believe netstat already utilizes the sysctl API to get information about > the TCP and UDP control blocks for state information. The modules for tcp > and udp already contain sysctl backend routines that do this. Additionally, > there is implementation for the ip_divertlist and

Re: Putting all PCBs into sysctl?

2002-04-26 Thread Anand Narayanan
George, I believe netstat already utilizes the sysctl API to get information about the TCP and UDP control blocks for state information. The modules for tcp and udp already contain sysctl backend routines that do this. Additionally, there is implementation for the ip_divertlist and the raw CBs

Re: Putting all PCBs into sysctl?

2002-04-26 Thread Alfred Perlstein
* George V. Neville-Neil <[EMAIL PROTECTED]> [020426 10:48] wrote: > > We have a sysctl that takes the four tuple as an argument, which can > > be got from netstat -an output. It is used only for deleting a > > connection not modifying it. > > > > for e.g > > sysctl net.inet.tcp.deleteconn="a.b.

Re: NFS clearing attribute cache in nfs_open

2002-04-26 Thread Alfred Perlstein
* Brian Candler <[EMAIL PROTECTED]> [020426 10:15] wrote: > > Now, there is obviously some "consistency" issue to beware of. Are there any > NFS gurus out there who can say why it is necessary to clear the attribute > cache on _every_ open? Could it safely be made less restrictive, e.g. don't > c

Re: Putting all PCBs into sysctl?

2002-04-26 Thread George V. Neville-Neil
> We have a sysctl that takes the four tuple as an argument, which can > be got from netstat -an output. It is used only for deleting a > connection not modifying it. > > for e.g > sysctl net.inet.tcp.deleteconn="a.b.c.d:80:x.y.z.w:3". > > netstat -Aan gives us the tcp control block addres

Re: Putting all PCBs into sysctl?

2002-04-26 Thread jayanth
Mike Silbersack ([EMAIL PROTECTED]) wrote: > > On Thu, 25 Apr 2002, Alfred Perlstein wrote: > > > * George V. Neville-Neil <[EMAIL PROTECTED]> [020425 20:02] wrote: > > > Hey Folks, > > > > > > I was just wondering if anyone had considered making it possible to > > > control PCBs from the sysc

NFS clearing attribute cache in nfs_open

2002-04-26 Thread Brian Candler
t invalidate the cache unless the file has been modified. However that doesn't help much if the cache is going to get invalidated anyway the next time the file is opened :-) Many thanks, Brian Candler. P.S. I am working to FreeBSD-4.5-STABLE-20020426 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: patch -- An ingress filter (RFC2827)

2002-04-26 Thread Ruslan Ermilov
On Fri, Apr 26, 2002 at 01:01:39PM -0400, Barney Wolff wrote: > When did this change? "const char *ptr" used to mean that the thing > pointed to cannot be changed, but the pointer itself can be. So far > as I know, it still does. Educate me, please, if that's no longer so. > > On Fri, Apr 26,

Re: patch -- An ingress filter (RFC2827)

2002-04-26 Thread Barney Wolff
When did this change? "const char *ptr" used to mean that the thing pointed to cannot be changed, but the pointer itself can be. So far as I know, it still does. Educate me, please, if that's no longer so. On Fri, Apr 26, 2002 at 07:44:27PM +0300, Ruslan Ermilov wrote: > > > 3. Double `const'

Re: patch -- An ingress filter (RFC2827)

2002-04-26 Thread Ruslan Ermilov
On Fri, Apr 26, 2002 at 09:36:57PM +0800, Igor M Podlesny wrote: > On Fri, Apr 26, 2002 at 12:16:20PM +0300, Ruslan Ermilov wrote: > > On Sun, Apr 14, 2002 at 06:04:47PM +0800, Igor M Podlesny wrote: > > > > > > Hello! > > > > > > I'd like to know your opinion about this patch > > > > > > htt

8 port ethernet cards for rackmount?

2002-04-26 Thread Terry Lambert
Does anyone know of any 8 port or better ethernet cards? The ideal card (IMO) would be: o Plug into a PCI slot o At least 8 ports o The 8 ports would not be on the mounting bracket, but would instead be externally mounted (ideally, with a rackmount front panel

Re: patch -- An ingress filter (RFC2827)

2002-04-26 Thread Igor M Podlesny
On Fri, Apr 26, 2002 at 12:16:20PM +0300, Ruslan Ermilov wrote: > On Sun, Apr 14, 2002 at 06:04:47PM +0800, Igor M Podlesny wrote: > > > > Hello! > > > > I'd like to know your opinion about this patch > > > > http://www.morning.ru/~poige/patchzone/ingressfiltering.patch > > > > which is mine

Re: patch -- An ingress filter (RFC2827)

2002-04-26 Thread Ruslan Ermilov
On Sun, Apr 14, 2002 at 06:04:47PM +0800, Igor M Podlesny wrote: > > Hello! > > I'd like to know your opinion about this patch > > http://www.morning.ru/~poige/patchzone/ingressfiltering.patch > > which is mine attempt to implement an ingress filter being inspired by > RFC2827 "Network Ingre