From owner-freebsd-net@FreeBSD.ORG Sun Jun 3 20:08:23 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9483A106566C for ; Sun, 3 Jun 2012 20:08:23 +0000 (UTC) (envelope-from philipp_subx@redfish-solutions.com) Received: from mail.redfish-solutions.com (mail.redfish-solutions.com [66.232.79.143]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1758FC1B for ; Sun, 3 Jun 2012 20:08:23 +0000 (UTC) Received: from macbook.redfish-solutions.com ([192.168.1.17]) (authenticated bits=0) by mail.redfish-solutions.com (8.14.5/8.14.5) with ESMTP id q53JveLE013137 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 3 Jun 2012 13:57:40 -0600 Message-ID: <4FCBC1B4.2090904@redfish-solutions.com> Date: Sun, 03 Jun 2012 13:57:40 -0600 From: Philip Prindeville User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 192.168.1.3 Subject: BSD and Darwin routing API questions X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2012 20:08:23 -0000 Hi. I'm working on a portable (multiplatform) C library for manipulating routing tables. It will eventually be wrapperized for the C++ Poco toolkit, but the raw C API should be usable directly too. I'm trying to support BSD/MacOSX, Linux, and Win32. My experience with BSD routing tables was current as of NetBSD circa 1999, so I have a little catching up to do. Anyway, if someone can collaborate with me and answer some questions about some of the corner cases (like IPsec and 6to4 tunnelling, etc.) I'd appreciate it: please contact me offline. Pointers to useful examples are also appreciated. I looked at netutils (route and netstat), Quagga, KAME, and a couple of other places but the latter all seemed to be oriented toward special cases. Thanks, -Philip