From owner-freebsd-pf@FreeBSD.ORG Wed Jul 20 13:28:22 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 493CA16A41F for ; Wed, 20 Jul 2005 13:28:22 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from tortoise.way.lv (7.lmuza.lv [195.13.151.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F9343D48 for ; Wed, 20 Jul 2005 13:28:21 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from localhost (localhost [127.0.0.1]) by tortoise.way.lv (Postfix) with ESMTP id BE3491FED58 for ; Wed, 20 Jul 2005 16:28:11 +0300 (EEST) Received: from tortoise.way.lv ([127.0.0.1]) by localhost (tortoise [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26312-08 for ; Wed, 20 Jul 2005 16:28:02 +0300 (EEST) Received: from [192.168.1.100] (unknown [62.85.46.110]) by tortoise.way.lv (Postfix) with ESMTP id CE0B41FED52 for ; Wed, 20 Jul 2005 16:28:01 +0300 (EEST) Mime-Version: 1.0 Message-Id: Date: Wed, 20 Jul 2005 16:28:13 +0300 To: freebsd-pf@freebsd.org From: Michael Dexter Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at way.lv Subject: 5.x ipdivert.ko with pf and natd? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 13:28:22 -0000 Hello, I did not succeed with this question with the main questions list. I would like to use natd with packet filter under FreeBSD 5.4. The rc.conf man page states that I want: natd_enable="YES" and that "if the kernel was not built with options IPDIVERT, the ipdivert.ko kernel module will be loaded." Unfortunately, the module ipdivert.ko does not appear to exist in /boot/kernel/ ... but I do see it in 6.x filesystem. I tried building a kernel with: options IPDIVERT and that did not appear to produce the module (depends on ipfw though I want to use pf?). I do however see the source in: /usr/src/sys/netinet/ip_divert.c 1. Am I overlooking the prebuilt module in 5.x? 2. Can I simply build the module on its own without a full buildkernel? 3. Given that buildkernel did not produce it, how can I produce it? Best regards, Michael Dexter