Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 08:16:46 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Krzysztof Drewicz <hunter24@pancake.sggw.waw.pl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: libalias/natd and identd support
Message-ID:  <20030724051646.GB89174@sunbay.com>
In-Reply-To: <20030724003908.GA15877@raszyn.pl>
References:  <20030724003908.GA15877@raszyn.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--RASg3xLB4tUQ4RcS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 24, 2003 at 02:39:08AM +0200, Krzysztof Drewicz wrote:
> Right now when natd'ing boxes one have to supply a random (fake) ident=20
> respone, or simply RST on tcp/135. Libalias&natd could provide simple way
> to ask 'what is real src ip/port' by knowing outgoin port and IP combinat=
ion.
>=20
> I've written small patch for that. Natd binds additonal AF_UNIX/DGRAM=20
> socket, and asks libalias about connections.
>=20
> They can be fetched from here: http://pancake.sggw.waw.pl/~hunter24/libal=
ias/
>=20
> Maybe someone could help me w/ integrating 'client.c'
>  into oidentd/src/freebsd.c file or merge it with current development tre=
e ?
>=20
> /usr/src/lib/libalias # cvs diff -u -N -d alias.h alias_db.c  | wc -l
> 157
> /usr/src/sbin/natd # cvs diff -u -b -N -d . | wc -l
> 317
> /usr/src/sbin/natd # wc -l client.c ident.c
>       89 client.c
>       48 ident.c
>      137 total
>=20
Last time I looked into it a few years ago, it turned out that we lack
some info (sorry, I don't remember the details) to answer IDENT queries
correctly.  But since you have a patch, perhaps you have solved this
problem.  Please file a PR for that; I will look into it when I get to
libalias/natd PRs.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--RASg3xLB4tUQ4RcS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/H2u+Ukv4P6juNwoRAoI+AJ917wbgSXae91zikZUHtzbGCChgawCeOZdU
zRE9OOe+oPslwTFCqXa/yJg=
=SP/M
-----END PGP SIGNATURE-----

--RASg3xLB4tUQ4RcS--



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