From owner-freebsd-ipfw@freebsd.org Mon Aug 3 09:38:34 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 700689B16A0 for ; Mon, 3 Aug 2015 09:38:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3259613A1 for ; Mon, 3 Aug 2015 09:38:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from Julian-MBP3.local (ppp121-45-239-102.lns20.per1.internode.on.net [121.45.239.102]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t739cNgO088344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 3 Aug 2015 02:38:28 -0700 (PDT) (envelope-from julian@elischer.org) To: "freebsd-ipfw@freebsd.org" From: Julian Elischer Subject: ipfw delete 100-300 Message-ID: <55BF368A.60004@elischer.org> Date: Mon, 3 Aug 2015 17:38:18 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 09:38:34 -0000 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? From owner-freebsd-ipfw@freebsd.org Mon Aug 3 14:13:56 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB1CB9B26D4 for ; Mon, 3 Aug 2015 14:13:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5623F10AC for ; Mon, 3 Aug 2015 14:13:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t73EDg3w024740; Tue, 4 Aug 2015 00:13:42 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 4 Aug 2015 00:13:42 +1000 (EST) From: Ian Smith To: Julian Elischer cc: "freebsd-ipfw@freebsd.org" Subject: Re: ipfw delete 100-300 In-Reply-To: <55BF368A.60004@elischer.org> Message-ID: <20150803234952.O17327@sola.nimnet.asn.au> References: <55BF368A.60004@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 14:13:57 -0000 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 From owner-freebsd-ipfw@freebsd.org Mon Aug 3 14:51:04 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D7EF9B2F19 for ; Mon, 3 Aug 2015 14:51:04 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward11h.cmail.yandex.net (forward11h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::9c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDEE3387 for ; Mon, 3 Aug 2015 14:51:03 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from web7h.yandex.ru (web7h.yandex.ru [IPv6:2a02:6b8:0:f05::17]) by forward11h.cmail.yandex.net (Yandex) with ESMTP id 8AB1A219EB; Mon, 3 Aug 2015 17:50:59 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web7h.yandex.ru (Yandex) with ESMTP id BDB126920B26; Mon, 3 Aug 2015 17:50:58 +0300 (MSK) Received: by web7h.yandex.ru with HTTP; Mon, 03 Aug 2015 17:50:58 +0300 From: Alexander V. Chernikov Envelope-From: melifaro@ipfw.ru To: Ian Smith , Julian Elischer Cc: "freebsd-ipfw@freebsd.org" In-Reply-To: <20150803234952.O17327@sola.nimnet.asn.au> References: <55BF368A.60004@elischer.org> <20150803234952.O17327@sola.nimnet.asn.au> Subject: Re: ipfw delete 100-300 MIME-Version: 1.0 Message-Id: <925201438613458@web7h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 03 Aug 2015 17:50:58 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 14:51:04 -0000 03.08.2015, 17:14, "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' 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-unsubscribe@freebsd.org" From owner-freebsd-ipfw@freebsd.org Mon Aug 3 19:55:21 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E7EC9B219C for ; Mon, 3 Aug 2015 19:55:21 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 199CB1C2E for ; Mon, 3 Aug 2015 19:55:20 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t73JtGo7090816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 3 Aug 2015 12:55:19 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: ipfw delete 100-300 To: Julian Elischer , "freebsd-ipfw@freebsd.org" References: <55BF368A.60004@elischer.org> From: Julian Elischer Message-ID: <55BFC71E.6010507@freebsd.org> Date: Tue, 4 Aug 2015 03:55:10 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55BF368A.60004@elischer.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 19:55:21 -0000 On 8/3/15 5:38 PM, 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? somehow this got truncated.. it was "it maybe my imagination but I remember doing this in the distant past" > > _______________________________________________ > 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" > From owner-freebsd-ipfw@freebsd.org Mon Aug 3 19:57:41 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 840A29B21DF for ; Mon, 3 Aug 2015 19:57:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C2FD1C98; Mon, 3 Aug 2015 19:57:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t73JvWX8090826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 3 Aug 2015 12:57:35 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: ipfw delete 100-300 To: "Alexander V. Chernikov" , Ian Smith , Julian Elischer References: <55BF368A.60004@elischer.org> <20150803234952.O17327@sola.nimnet.asn.au> <925201438613458@web7h.yandex.ru> Cc: "freebsd-ipfw@freebsd.org" From: Julian Elischer Message-ID: <55BFC7A7.2000907@freebsd.org> Date: Tue, 4 Aug 2015 03:57:27 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <925201438613458@web7h.yandex.ru> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 19:57:41 -0000 On 8/3/15 10:50 PM, Alexander V. Chernikov wrote: > 03.08.2015, 17:14, "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' > 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-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" > > From owner-freebsd-ipfw@freebsd.org Tue Aug 4 07:40:08 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77D389B3DAB for ; Tue, 4 Aug 2015 07:40:08 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward20h.cmail.yandex.net (forward20h.cmail.yandex.net [87.250.230.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C3281A89; Tue, 4 Aug 2015 07:40:07 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from web5h.yandex.ru (web5h.yandex.ru [84.201.186.34]) by forward20h.cmail.yandex.net (Yandex) with ESMTP id EBBEA21BE5; Tue, 4 Aug 2015 10:39:56 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web5h.yandex.ru (Yandex) with ESMTP id F32F5384122F; Tue, 4 Aug 2015 10:39:55 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1438673996; bh=s6dyabYG8e+UQZWo4BQr41y9/AIs1KiNVNNR7MwsIfE=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=pCOl7L0szAfoHTibIXuNoL1MvuOMzvHVZw2E4yhgy494VMwp0VKp71q/hB6LGGGnq ILi49Xlb7aDNKCRtXp2lKpr3eNePklVTxAISQDVG7xjWdyq7pusPNBiwhRWFrkpnAQ ti3To2v3c9wy3uZTdwfuOO4z94g0dW82bSi6m0FM= Received: by web5h.yandex.ru with HTTP; Tue, 04 Aug 2015 10:39:55 +0300 From: Alexander V. Chernikov To: Julian Elischer , Ian Smith , Julian Elischer Cc: "freebsd-ipfw@freebsd.org" 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> Subject: Re: ipfw delete 100-300 MIME-Version: 1.0 Message-Id: <252361438673995@web5h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 04 Aug 2015 10:39:55 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 07:40:08 -0000 03.08.2015, 22:57, "Julian Elischer" : > On 8/3/15 10:50 PM, Alexander V. Chernikov wrote: >> š03.08.2015, 17:14, "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' >> š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"