Date: Tue, 6 Oct 1998 16:56:47 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: "Eric J. Schwertfeger" <ejs@bfd.com> Cc: Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG Subject: Re: Trying to learn divert sockets Message-ID: <Pine.BSF.3.95.981006165347.23101B-100000@current1.whistle.com> In-Reply-To: <Pine.BSF.4.05.9810061351010.17509-100000@harlie.bfd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Are you working on 2.2.7 or 2.2. 6 or -current? 2.2.7 and -current have slightly differnt behavior to earlier versions can you recap what you are trying to do? I missed the original posting. julian On Tue, 6 Oct 1998, Eric J. Schwertfeger wrote: > On Tue, 6 Oct 1998, Doug White wrote: > > > > My luck so far doing this has been zero. I've got a subroutine that sets > > > up sockaddr_in for use, and works well enough that I can bind the local > > > end of a socket to a specific IP address and port, but when I use the same > > > routine in my divert code, using the same port number that I'm diverting, > > > and the IP address of the interface that I want to divert to, I get > > > EADDRNOTAVAIL. > > > > Have you looked at the natd code? natd is the classic divert client. > > Yes I did. natd only reinjects to the same interface that the packet was > diverted from, and that much I can do with no problem, it's only when I > try to reinject to a different interface that I have problems. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981006165347.23101B-100000>