LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: testing iptables filter rules

To: Roberto Nibali <ratz@xxxxxx>
Subject: Re: testing iptables filter rules
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Joseph Mack <mack@xxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 22 May 2001 23:30:50 +0000 (GMT)
        Hello,

On Tue, 22 May 2001, Roberto Nibali wrote:

> > OK, won't wait for a -Z then.
>
> Mhh, I don't know, what do others like e.g. Horms, Wensong and Julian think?
> It's affecting 4 lines in the kernel and 14 lines in ipvsadm :)

        Some ideas for you:

-Z -t/u VIP:VPORT               - clear VS stats
-z -t/u VIP:VPORT -r RIP        - clear RS stats
-Z/z                            - clear all stats
-C/-D/-d ...                    - clears all/some stats

        What is the useful set of features?

        In the kernel-user interface this can be achieved using wildcards
for the vs and rs fields in the user structure.

        I assume -Z is for humans. Kernel 2.4?

> > > feature. It would be ipvsadm -Z as an analogy to ip{chains|tables}. BTW,
> > > we are proud of haveing 64bit counters in the kernel :)
> >
> > I'll make a big point of it in the HOWTO :-)
>
> We should maybe write something about cycling counters. This of course is
> not handled. I mean when exceeding the 64bits we start over by 1 IIRC and
> then we should set a flag to 1 to know that we already had 2**64 packets.

        Who needs such flag? It takes years to set :) Or may be after
some years it will take months :)

> Best regards,
> ratz


Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>