All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] reset rules ?
Date: Tue, 19 Nov 2002 22:05:24 +0000	[thread overview]
Message-ID: <marc-lartc-103774359722805@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103774240121447@msgid-missing>


Fabio,

I use  a short snippet of shell to do it:

# ip rule show | grep -Ev '^(0|3276(6|7)):' \
>  |  while read PRIO RULE  ; do \
>     ip rule del prio ${PRIO%:} $RULE
>  done

I'm not aware of a more elegant way to do this.  Anybody else?

-Martin

On Tue, 19 Nov 2002, fabio wrote:

 : Dear All
 :  Do you know if its possible to reset the rule with a single command or 
 : if I must delete manually all the rule ?
 : thanks
 : 
 : Fabien
 : 
 : _______________________________________________
 : LARTC mailing list / LARTC@mailman.ds9a.nl
 : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
 : 

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2002-11-19 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-19 21:45 [LARTC] reset rules ? fabio
2002-11-19 22:05 ` Martin A. Brown [this message]
2002-11-20 19:34 ` fabio
2002-11-20 19:46 ` Martin A. Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103774359722805@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.