Date: Tue, 04 Feb 1997 00:41:54 +0000 From: Brian Somers <brian@awfulhak.demon.co.uk> To: Ari Suutari <ari.suutari@ps.carel.fi> Cc: "'cmott@srv.net'" <cmott@srv.net>, hackers@freebsd.org, Eivind Eklund <eivind@dimaga.com>, brian@utell.co.uk Subject: Re: Single socket version of natd Message-ID: <199702040041.AAA24492@awfulhak.demon.co.uk> In-Reply-To: Your message of "Mon, 03 Feb 1997 11:18:56 %2B0200." <01BC11C5.638A78A0@sodium.ps.carel.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi, > > I fixed the core dump - it was a silly-almost-typing mistake. > About using /etc/services for the port numbers: I was already > putting it when I started to think should it be natd/tcp or > natd/udp or something else (since the sockets are not > tcp or udp sockets). Any opinions on that ? > > Ari S. > > -----Original Message----- > From: Brian Somers [SMTP:brian@awfulhak.demon.co.uk] > Sent: 1. helmikuuta 1997 5:35 > To: Ari Suutari > Cc: 'cmott@srv.net' > Subject: Re: Single socket version of natd > > The -l and -a options always core-dump. I havn't looked into what's causing > this. I've passed the -a option "10.0.1.254" and "raffles.coverform.lan", > both without the quotes and both resolvable on my machine. > > The -a option could do with checking for a name from /etc/services rather than > defaulting to 32000. > I received your fix for the coredumps - I'll test them tomorrow evening. Thanks. I've had a look at the getservbyname stuff.... it's possible to call getservbyname( ..., "raw" ) and have an entry in /etc/services saying masqd 6668/raw # This is a raw socket I think this is the best option - is there any reason why this shouldn't be so (cc to hackers@freebsd.org) ? It seems more appropriate than putting "untrue" stuff in here. Maybe "divert" would be more appropriate ? BTW, Charles/Elvind - what's the score with the code that attempts to "keep" the source port ? This idea is growing on me ;) I've tested 1.9 (http ref from www.srv.net/~cmott to Elvind's page) and it seems good. It's gettin' *real* close to 2.2-GAMMA now - it would be *really* nice to have this code make it to 2.2 :-O -- 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?199702040041.AAA24492>