From mboxrd@z Thu Jan 1 00:00:00 1970 From: Silimite Subject: Handling large amounts of data Date: Sun, 15 May 2005 17:46:21 -0400 Message-ID: <5ad977d10505151446348e932f@mail.gmail.com> Reply-To: Silimite Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: To: netfilter-devel Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org I have written an iptables module called "multirange" that works like a combination of iprange and multiport. That is, you can specify multiple ranges to be matched by one rule. I had to do this because I am loading some 100000 entries into this rule and I needed something efficient at handling this many ranges. My question is, what is the best way to communicate all these ranges from user-space into the kernel module? I am currently loading them via procfs. Is this an acceptable method or should I be looking at something else? It certainly works great but I would like it to be as "proper" as possible. Thanks! s