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.

[Solved] Whois on bot

General support and discussion of Eggdrop bots.
Post Reply
t
taxick
Voice
Posts: 24
Joined: Thu Jul 12, 2007 11:44 am

[Solved] Whois on bot

Post by taxick »

Hallo.

I have strange problem. If i make a whois on my bot, the info i get is wrong.

Code: Select all

06:55…    · ·-—— mybot whois ——-· ·
06:55…                    address: StarPoweR@mydomain.dk (/msg mybot hello)
06:55… Raw 307: mybot has identified for this nick
06:55…                    channels: @#**** @#****
06:55…                    server: irc.After-All.org (After-All IRC Network)
06:55… Raw 275: mybot is using a secure connection (SSL)
06:55…                    idle: 11mins 25secs
06:55…                    signon: 11mins 18secs ago (Sat Jan 24 06:44:19 2009)
06:55…    · ·-—— whois end ——-· ·
The address is wrong. It show StarPoweR@mydomain.dk and StarPoweR is not the bot owner and dont use the same ip as the bot!

He just added to the bot, with a "f" flag.

From my config:

Code: Select all

set my-hostname "bot.***.dk"
set my-ip "87.118.***.***"
How can i change this to something els??? Maybe the ip or some other nick???

Best Regards

Taxick

PS. Sorry for my bad english..
Last edited by taxick on Sat Jan 24, 2009 1:18 pm, edited 1 time in total.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

That's just the ident of your bot, it's probably fixed to your shell account's login-name. Otherwise, check your identd configurations (or contact your shell administrator(s)).
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Also, one thing in addition to Sir_Fz's reply; setting both my-ip and my-hostname is rather pointless, as they both affect the very same setting (which interface address on the host to use for all socket connections). Hostnames would only be resolved to their corresponding IP anyway.
I'd suggest you only set one of them (if needed at all).

As for changing these, any IP (direct or resolved) need to be hosted on the system in question, and most irc servers will show the hostname from the reverse dns lookup of the IP, regardless of what other hostnames point to that IP (and setting of my-hostname).
I would advice that you ask your system/shell administrator as to which IP's are OK to be used on that host.
NML_375
t
taxick
Voice
Posts: 24
Joined: Thu Jul 12, 2007 11:44 am

Post by taxick »

Sir_Fz:

I change the oident config on the server. It all sems to work now :)

nml375:

I have commet the "set my-hostname" line out :)

Thanks for you help and advice :)
Post Reply