Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2015 10:39:55 +0300
From:      Alexander V. Chernikov <melifaro@ipfw.ru>
To:        Julian Elischer <julian@freebsd.org>, Ian Smith <smithi@nimnet.asn.au>, Julian Elischer <julian@elischer.org>
Cc:        "freebsd-ipfw@freebsd.org" <freebsd-ipfw@freebsd.org>
Subject:   Re: ipfw delete 100-300
Message-ID:  <252361438673995@web5h.yandex.ru>
In-Reply-To: <55BFC7A7.2000907@freebsd.org>
References:  <55BF368A.60004@elischer.org> <20150803234952.O17327@sola.nimnet.asn.au> <925201438613458@web7h.yandex.ru> <55BFC7A7.2000907@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
03.08.2015, 22:57, "Julian Elischer" <julian@freebsd.org>:
> On 8/3/15 10:50 PM, Alexander V. Chernikov wrote:
>> š03.08.2015, 17:14, "Ian Smith" <smithi@nimnet.asn.au>:
>>> šOn Mon, 3 Aug 2015 17:38:18 +0800, Julian Elischer wrote:
>>> ššš> my reading of the code I can see that 'ipfw delete 100-300' doesn't
>>> ššš> work (well I know it doesn't work, but I had thought it was a bug),
>>> ššš> Now I see that its just 'not supported'
>> šI implemented the kernel range deletion, but converted userland part as-is.
>> šShould work on HEAD now (r286232).
>
> great!
> Pitty I'm stuck working on 8.0 :-) maybe I can back-port it.
Well, I'm afraid you will have to do it in a slightly different way since there was no "ranged delele" support in kernel (so you would probably need to fetch the ruleset and delete matching rules one-by-one).
>
>>> ššš>
>>> ššš> It may be my imagination but (distant) past?
>>>
>>> šI was surprised too; ISTR having used that before too, but I may
>>> šmisremember remembering ..
>> šI also had a feeling that this syntax should work (maybe because it silently accepted "ranged" queries) but I couldn't find any presence of real ranged deletion support in SVN.
>>> šOn 9.3 with rules 100-1000 in 100's, 'ipfw delete 600-800' deletes only
>>> š600 .. without complaint, returning 0 if 600 existed. NG for scripts.
>>>
>>> šcheers, Ian
>>> š_______________________________________________
>>> šfreebsd-ipfw@freebsd.org mailing list
>>> šhttp://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
>>> šTo unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
>> š_______________________________________________
>> šfreebsd-ipfw@freebsd.org mailing list
>> šhttp://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
>> šTo unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?252361438673995>