Linked Server Hides User Hostmasks?
Posted: Sat Jul 18, 2009 5:06 am
Good evening,
First and foremost, I'll preface this by saying that I'm new to the ircd scene, so bear with me if I am using improper terminology, or what not in this question.
I am working with a team to develop a perl bot which connects to our unrealircd instance as a linked server. For testing purposes, we are scanning each line from the connection stream and writing it to the console so we can see the raw text that is being parsed as it comes through the socket. We would like to see user host mask details for activities so we can tie them to a more unique identifier rather than tracking by nickname.
This bot connects to the instance using the following commands:
And finally, once connected, it issues the following:
The problem that we are seeing is that when text comes across the stream to the bot, all we see for user activity is the nickname:
If I connect the bot as a regular user instead of the using the server negotiation sequence above, I see:
The crux of the problem is that we have functionality in the Perl script to execute actions based on a unique user ID -- so I need to be able to see the [email protected] when an activity is performed. I've scanned up and down the documentation and configuration file, etc. and cannot find anything that clues me in to why in linked server mode the hostmask is hidden. Part of the problem may very well be that I don't know precisely what this kind of setting (if there is one) would be called, and so I am here asking for your help in pointing me in the right direction.
I've pasted this snippet below from our links.conf file, if it helps:
I appreciate any help that you can offer.
Thanks,
Invictus
First and foremost, I'll preface this by saying that I'm new to the ircd scene, so bear with me if I am using improper terminology, or what not in this question.
I am working with a team to develop a perl bot which connects to our unrealircd instance as a linked server. For testing purposes, we are scanning each line from the connection stream and writing it to the console so we can see the raw text that is being parsed as it comes through the socket. We would like to see user host mask details for activities so we can tie them to a more unique identifier rather than tracking by nickname.
This bot connects to the instance using the following commands:
Code: Select all
PROTOCTL TKLEXT NICKv2 SJ3 VHP
PASS :somepassword
SERVER services.ourserver.com 1 :Service Monitor
ESCode: Select all
:services.ourserver.com NICK BotServ 1 1247892827 BotServ Bot.Services.Domain services.ourserver.com 0 :Bot Serv BotServCode: Select all
:Invictus PRIVMSG #channel :hello worldCode: Select all
:[email protected] PRIVMSG #channel :hello worldI've pasted this snippet below from our links.conf file, if it helps:
Code: Select all
link services.ourserver.com
{
username *;
hostname <server ip>;
bind-ip <server ip>;
port 8067;
hub *;
password-connect "somepassword";
password-receive "somepassword";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
# autoconnect;
# ssl;
# zip;
};
};Thanks,
Invictus