From owner-freebsd-current Mon Jun 16 10:18:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA16905 for current-outgoing; Mon, 16 Jun 1997 10:18:42 -0700 (PDT) Received: from garbo.lodgenet.com (garbo.lodgenet.com [204.124.122.252]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id KAA16864; Mon, 16 Jun 1997 10:16:31 -0700 (PDT) Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.11.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id MAA24208; Mon, 16 Jun 1997 12:14:57 -0500 Received: from jake.lodgenet.com (localhost.lodgenet.com [127.0.0.1]) by jake.lodgenet.com (8.8.5/8.6.12) with ESMTP id MAA12318; Mon, 16 Jun 1997 12:15:30 -0500 (CDT) Message-Id: <199706161715.MAA12318@jake.lodgenet.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: current@freebsd.org cc: erich@freebsd.org Subject: natd and Emerging Tech Sync cards. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Jun 1997 12:15:30 -0500 From: "Eric L. Hernes" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Howdy, I've got a customer here who's using ET's sync cards, and would like to use ipfw/natd to filter traffic to and fro. The ET interface names come up as etha16, etha17, ... etha21. Corresponding to the various connections into a FR cloud. Any attempts to configure natd with the `ipfw ... divert ... via etha21', result in somthing like: # ipfw add divert 9999 ip from any to any via etha21 Warning: interface does not exist 00000 divert 9999 ip from any to any via etha2 and digging a bit further, netinet/ip_fw.h shows: ... #define FW_IFNLEN 6 /* To keep structure on 2^x boundary */ char fu_via_name[FW_IFNLEN]; short fu_via_unit; } fu_via_if; ... which I believe is where the `1' is getting lost (with the terminating 0). Is there any harm in expanding this by a few bytes, or does the structure have to be on a 2^x boundary? Can I safely bump this and `make world'? and have things work? thanks, eric -- erich@rrnet.com http://rrnet.com/~erich erich@freebsd.org http://www.freebsd.org/~erich erich@lodgenet.com