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.

Bot not setting it's ident with its username

Old posts that have not been replied to for several years.
Locked
b
bobsy

Bot not setting it's ident with its username

Post by bobsy »

I'm using oidentd as my identd server and have set it up to allow fake idents to be passed to it. However, my eggdrop doesn't seem to pass its username which I set in .conf to the identd server so it still comes on irc with the shell username which I do not want. Is there some other setting in the .conf or the oidentd conf which I am missing?

Can anyone who is using oidentd shed any light on this matter?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Most idetn deamons, require, that you code functionality for them, into the program that should a fake ident.

As such, eggdrop does not have this.

The username variable is used for when there is no identd at all on the system. Yet, most server prepend ~ to users wihtout a identd server.

After looking at the man page for oidentd, it has some extensive documentation for using a per-user config file (~/.oidentd.conf) to facilitate what you want.
T
Tyrant

Post by Tyrant »

are there any plans to add support for oidentd to eggdrop?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Doubtful.

There are a few identd deamons out there, that provide simalar functionality, and as such, if one is added, the rest have to be too. This is the best way to imcrease eggdrops size by a large amount.

On top, eggdrop is designed, sround the basis of following RFC's. the IDENTD RFC states that the username of the person currently using a socket is returned, thus fake identd replies go against this.
J
Jkay

Post by Jkay »

I run eggdrop and oident .. eggdrop bot has his own acct on my system, and oident reports his ident with no troubles at all.

Make a new user on your system (bot) and install the eggdrop to /home/bot/eggdrop

There was no special spoof config required here, since the bot is a user.

If you do this, you can #su bot from your own account, and then #cd ~/eggdrop/ to launch the bot (in background mode) or edit the config.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is how the standard identd works.

When eggdrop connect to a IRC server, the server requests his IDENT.

Included in this request, is the ports and addresses involved in this.

The system will do security checks, and report back the username, that the application using these ports is running under. In this case, your username.

If you own the system, you don't need identd spoofing, as you simply create a new user.

However, if on a shell, then you need to spoof. This is where the problem lies.
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Post by BiLL »

You need this TCL:

http://www.egghelp.org/files/tcl/oidentd.tcl.gz

Then it oidentd spoofs eggdrops username and it works.
Locked