Date: Tue, 21 Aug 2001 18:41:12 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Alexander Langer <alex@big.endian.de> Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: "ipfw move oldrulenum newrulenum" revised Message-ID: <20010821184112.E313@blossom.cjclark.org> In-Reply-To: <20010822014708.A11739@zerogravity.kawo2.rwth-aachen.d>; from alex@big.endian.de on Wed, Aug 22, 2001 at 01:47:08AM %2B0200 References: <20010822014708.A11739@zerogravity.kawo2.rwth-aachen.d>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2001 at 01:47:08AM +0200, Alexander Langer wrote: > Hi! > > 18 months ago I already wrote "ipfw move", but I didn't like that version. > > I now revised it. > It adds "ipfw move oldrule newrule" stuff, done completely in userland > (this also means, transfer stats are discarded, though I don't know > why the kernel's add-function does this: the values are even > given back to the setsockopt call.). > I also haven't yet added dummynet support, and the manpage update > is still outstanding. > > Comments? Seems like this is awfully trivial to script to worry about making switch for ipfw(8), #!/bin/sh ipfw add "$2" `ipfw list "$1" | cut -d" " -f2-` && ipfw delete "$1" I'm sure someone could reduce it even further to a shell alias. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821184112.E313>