From owner-freebsd-net@FreeBSD.ORG Mon Jun 3 11:43:30 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D8B8C8A6 for ; Mon, 3 Jun 2013 11:43:30 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id AAB7818A6 for ; Mon, 3 Jun 2013 11:43:30 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id wc20so6999469obb.18 for ; Mon, 03 Jun 2013 04:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VKmDqI7RcQxXgdDGphPMVc+pu4BBcqjnNz+UFd0D49I=; b=Hh6+LcrmYXp9R7KE5JaGMNd4QVmavaUTV+W3sjvq0ElRZZbgQO+O7KL26D2+hkLWmI NrmOx/RyRNRYJ1GNZpC0fnZ0hu3htpaCVkTklRB6NXDm1txbQe3ERp7C+JKSKVz37K+5 tvT6CLymXAbf0dKPGlZEQ90XZf0qSo0hbLyFbcS4MAIV0inaZkHaOxGjXoxSvviDOkLf +Ht06rHp37bhB+tr78dEZvce/uABVYQoyibczrphv1TEo7TRoqVV1crsIYw2tku2cgXb /OHgXR8yve3bBGBjaCkjiupWzjeI6E78SsEmQQu2XxVfpy1CTh6fYgKQI1VP36+D0B6S zCiw== MIME-Version: 1.0 X-Received: by 10.182.27.5 with SMTP id p5mr5720631obg.99.1370259810345; Mon, 03 Jun 2013 04:43:30 -0700 (PDT) Received: by 10.76.77.9 with HTTP; Mon, 3 Jun 2013 04:43:30 -0700 (PDT) Date: Mon, 3 Jun 2013 13:43:30 +0200 Message-ID: Subject: ipfw and tablearg formatting From: Andreas Nilsson To: FreeBSD Net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 11:43:30 -0000 Hello, Still trying out the tablearg functionality of ipfw and found the following: 1) # ipfw table 100 add 192.168.0.0/24 10.0.0.1 # ipfw table 100 list 192.168.0.0/24 167772161 I guess it is correct, but not user friendly. Can't the tablearg part be printed as normal dotted decimal? 2) # ipfw table 100 add 2a01:280:1::88/64 2a01:280:1::89 # ipfw table 100 list 2a01:280:1::/64 2 I don't really see any chance of this one working. Another question: While using tablearg, is there a way to get statistics of each "individual" computed value instead of just the aggregate statistics for all rules "generated" by the tablearg rule? Best regards Andreas