Re: ipfw delete 100-300

2015-08-03 Thread Alexander V . Chernikov
03.08.2015, 17:14, Ian Smith smi...@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). 

  
   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-unsubscr...@freebsd.org
___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org

Re: ipfw delete 100-300

2015-08-03 Thread Ian Smith
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'
  
  It may be my imagination but (distant) past?

I was surprised too; ISTR having used that before too, but I may
misremember remembering ..

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-unsubscr...@freebsd.org


Re: ipfw delete 100-300

2015-08-03 Thread Julian Elischer

On 8/3/15 10:50 PM, Alexander V. Chernikov wrote:

03.08.2015, 17:14, Ian Smith smi...@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.




  
   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-unsubscr...@freebsd.org

___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org




___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org