Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 00:12:57 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        stable@freebsd.org
Subject:   ipnat's ftp proxying crashes -stable
Message-ID:  <199909220412.AAA26118@rtfm.newton>

next in thread | raw e-mail | index | archive | help
Hello!

I'm trying to setup my dual interface machine to act as an ftp proxy for
my home LAN.

The machine has two interfaces: ep0 (10.10.0.2/28) and ep1 (connected to
the cable-modem, with DHCP-obtained settings).

It   is   a  real   shame,   this   part   is  so   poorly   documented,
but   I   did    find   the   /usr/src/contrib/ipfilter/rules/ftp-proxy,
which    was    a    little    cryptic,   but    combining    it    with
http://www.dvl-software.com/freebsd/natrules.htm     I     setup     the
/etc/natrules as follows:

	map ep1 0/0 -> 0.0.0.0/32 proxy port ftp ftp/tcp

Ftp-ing to  the server  goes fine,  I can  log in.  But whenever  a data
connection is attempted -- say, for ``ls'', the nat-machine panics.

The panics are  different depending on whether the ftp-client  is on the
same machine or on some other machine on the LAN.

Actually, as I just found out, it can crash anytime after the rule above
is loaded -- I guess, any incoming attempt can trigger it :(

I'm rebuilding  the kernel  without the  omit-frame-pointer now,  to get
meaningful information from  the panic screen. But if you  know what I'm
doing wrong -- just tell me now :)

Thanks,

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909220412.AAA26118>