[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Paranoid
- From: "Aaron D. Turner" <aturner best com>
- To: Eric Wieling <eric fnords org>
- Cc: RedHat List <redhat-list redhat com>
- Subject: Re: Paranoid
- Date: Mon, 18 Jan 1999 14:36:48 -0800 (PST)
-----BEGIN PGP SIGNED MESSAGE-----
Eric,
I've tried testing your script, but I must be doing something wrong 'cuz
my actuall userid still gets reported in the remote logs. I have:
auth stream tcp nowait nobody /usr/local/sbin/in.random-ident
in.random-identd
where /usr/local/sbin/in.random-ident is the compiled binary of your
source code below. Any help you could offer would be appreciated.
- --
Aaron Turner | Either which way, one half dozen or another.
aturner pobox com | Check out the Red Hat Linux User's FAQ Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed. Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
On Mon, 18 Jan 1999, Eric Wieling wrote:
> Here is a copy of my identd. It basically returns a somewhat
> random 8 character user id in hex.
>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main(int argc, char *argv[]) {
>
> int cport;
> int sport;
> int uid;
>
> srandom(getpid());
> uid = random();
>
> fscanf(stdin, "%i , %i", &sport, &cport);
>
> printf("%i, %i : USERID : OTHER : %08.8x\r\n", sport, cport, uid);
>
> fflush(stdout);
>
> return 0;
>
> }
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNqO3gjM3jpXy1kJtAQG+NgP/eeDDgBx424JydzeYKJ+MR+hGwYPmdlTh
5U9K3PF9i9U0S1ltC9jcqxT3zT1f/1I3Tt/zUdsLjd5yBY9dPF1RUtsMbwwuj6Gq
AZ8Nor6Voz7bT7oS0JYxeXTNX4kEC8VU7fj+V4keYSMcgtaPbWl0QDYa24Zbw7gv
bNPVd5YGbzQ=
=/AsX
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]