This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Shell - Ident problems - help!!!

Help with usage of shell accounts and bouncers.
Post Reply
T
TngMstr
Voice
Posts: 5
Joined: Wed Jul 06, 2005 8:41 am

Shell - Ident problems - help!!!

Post by TngMstr »

I am running RHEL 3 and trying to set up a shell service. I got mostly everything installed and running, but when my bot connects to irc it shows up as:
Joins: TngMstr (U2FsdGVkX@blah.blah.net)

I believe the format for ident is: Username ident@host, so it appears the ident is screwed up. I have tried several ident progs, oidentd - pidentd - linux-identd, none of which solved my problem.

I have admin rights and root access to the machine.

:?

ANY suggestions or recommendations would be greatly appreciated!!!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

from man identd output on my BSD machine:
The -C[<keyfile>] option tells identd to return encrypted tokens
instead of user names. The local and remote IP addresses and TCP port
numbers, the local user's uid number, a timestamp, a random number, and
a checksum, are all encrypted using DES with a secret key derived from
the first line of the keyfile (using des_string_to_key(3)). The
encrypted binary information is then encoded in a base64 string (32
characters in length) and enclosed in square brackets to produce a
token that is transmitted to the remote client. The encrypted token
can later be decrypted by idecrypt(8). There may not be a space
between the -C and the name of the keyfile. If the keyfile is not
specified, it defaults to /usr/local/etc/identd.key.
I'd imagine it's the same, or similar, for RHEL's identd
T
TngMstr
Voice
Posts: 5
Joined: Wed Jul 06, 2005 8:41 am

Post by TngMstr »

my server uses xinetd as a replacement for inetd. I found the ident.key, in it is the following...

zrotYPNON/TirjkxtjBqEYeA2g7ePqozWBp5p0SI4rw=
CHANGE THE LINE ABOVE TO A PASSPHRASE

I tried restarting identd without the -C[<keyfile>] arg and it still didnt matter

:(
T
TngMstr
Voice
Posts: 5
Joined: Wed Jul 06, 2005 8:41 am

Post by TngMstr »

I would like to thank demond for his response! He set me in the right direction! For anyone else looking for an answer to this question, you will find it here...

http://www.mandrakehelp.com/identd-HOWT ... onfigStand

:wink:
Post Reply