Date: Wed, 22 Jan 1997 21:24:42 +0000 From: Brian Somers <brian@awfulhak.demon.co.uk> To: Charles Mott <cmott@srv.net> Cc: Eivind Eklund <eivind@dimaga.com>, ari.suutari@carel.fi, hackers@freebsd.org Subject: Re: ipdivert & masqd Message-ID: <199701222124.VAA09799@awfulhak.demon.co.uk> In-Reply-To: Your message of "Wed, 22 Jan 1997 13:46:18 MST." <Pine.BSF.3.91.970122134236.4699D-100000@darkstar>
next in thread | previous in thread | raw e-mail | index | archive | help
> Brian,
>
> I am travelling right now (this is from a university terminal that I
> stopped by). Regarding the IP checksum -- in version 1.8, I went
> todifferential checksumming which will not work as I see it described
> with one cirection of the divert socket.
>
> Definetly people should try to test Ari's natd, I think. I am still in
> 2.1.0-R and therefore too backwrrads to test it.
>
> Charles Mott
The masqd code now works. It passes the packet to PacketAlias{In|Out}()
with a potentially zero'd ip_sum (PacketAliasIn() packets) and recomputes
a zero sum afterwards. The only other thing needed was a call to
SetAliasAddress().
Any feedback from people would be great - the code can be found on
www.awfulhak.demon.co.uk.
Perhaps it might be a good idea to make an "alias" library out of this stuff,
that way, it can be ported to different environments easily. So far, the
code written is rather trivial - it screams to be a library !
I'll write again when I've polished the code (and maybe written a man page).
I havn't seen the natd code yet - I've seen reports that it's difficult to
get to the web page it's on ;( However, I like masqd hugely as it's so
simple.
--
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
<http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701222124.VAA09799>
