Re: modified FreeBSD gateway

2001-06-01 Thread Bjoern Fischer
Hello Urban, > What I have done so far is to use the natd daemon as an example but I have a > problem. The divert seems to work but the problem is that I canĀ“t get the > packets in my userspace program. Is there some specific port that I should > use for the divert socket? This is not very clear

RE: modified FreeBSD gateway

2001-06-01 Thread Urban Olsson
t; Subject: Re: modified FreeBSD gateway > > > Hello Urban, > > > I have a question regarding modification of a FreeBSD > gateway (the Internet > > gateway for a LAN). What I want to do is to have the > gateway pick up the > > packets, modify the IP-header and

RE: modified FreeBSD gateway

2001-05-25 Thread Urban Olsson
May 25, 2001 2:11 AM > To: Urban Olsson > Cc: [EMAIL PROTECTED] > Subject: Re: modified FreeBSD gateway > > > Urban Olsson wrote: > > ... > > is a little bit like a NAT but I want to be able to do it > differently and on > > my own terms. I guess th

Re: modified FreeBSD gateway

2001-05-24 Thread Gunther Schadow
Urban Olsson wrote: ... > is a little bit like a NAT but I want to be able to do it differently and on > my own terms. I guess that this means that I would be forced to rewrite the > gateway source-code so it behaves as I want it to. So the problem now is Hmm, certainly you can use the divert(4)

Re: modified FreeBSD gateway

2001-05-24 Thread Bjoern Fischer
Hello Urban, > I have a question regarding modification of a FreeBSD gateway (the Internet > gateway for a LAN). What I want to do is to have the gateway pick up the > packets, modify the IP-header and resend the packet onto the network. This > is a little bit like a NAT but I want to be able to

modified FreeBSD gateway

2001-05-24 Thread Urban Olsson
Hi all, I have a question regarding modification of a FreeBSD gateway (the Internet gateway for a LAN). What I want to do is to have the gateway pick up the packets, modify the IP-header and resend the packet onto the network. This is a little bit like a NAT but I want to be able to do it differe