From owner-freebsd-questions Mon May 19 09:13:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA00334 for questions-outgoing; Mon, 19 May 1997 09:13:23 -0700 (PDT) Received: from tor-adm1.nbc.netcom.ca (taob@tor-adm1.nbc.netcom.ca [207.181.89.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA00329 for ; Mon, 19 May 1997 09:13:21 -0700 (PDT) Received: from localhost (taob@localhost) by tor-adm1.nbc.netcom.ca (8.8.5/8.8.5) with SMTP id MAA24118; Mon, 19 May 1997 12:13:08 -0400 (EDT) Date: Mon, 19 May 1997 12:13:08 -0400 (EDT) From: Brian Tao Reply-To: Brian Tao To: FREEBSD-QUESTIONS , rsacrack@vex.net Subject: Diverting outbound UDP with NAT? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND rc5 6169 0.0 0.4 224 220 p0- IN 14Apr97 41728:30.94 rc5 -n 10 -a bovine.st.hmc.edu rsacrack@vex.net The above RC5 key cracking client has been running for over a month now, and I would like to see it break the 100000 CPU minutes mark. :) The problem is that the bovine.st.hmc.edu keyserver it uses has gone away, and it does not appear that the client re-resolves the name when retrying the connection. Is it possible to run something like natd or ipfilter on my machine (on which the client is running) to rewrite the destination address of outgoing packets? I would like to reroute packets destined for 134.173.46.17 UDP port 2056 to 199.45.111.6 UDP port 2056. The NAT software I've seen only seem to be able to rewrite the source address on outgoing packets, and destination address on the return packet. I want the exact opposite. Possible? The machine is running a FreeBSD 3.0 snapshot from January, and I have IPFIREWALL, IPDIVERT and a bpf device enabled in the kernel. -- Brian Tao (BT300, taob@netcom.ca) "Though this be madness, yet there is method in't"