mIRC Home    About    Download    Register    News    Help

Print Thread
#122984 18/06/05 03:15 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
i'm trying to make IRC services for unreal IRCd, but im having trouble geting the services server to connect,
my error message:
Code:
:home.Net.Net NOTICE AUTH :*** Looking up your hostname...
:home.Net.Net NOTICE AUTH :*** Found your hostname (cached)
ERROR :Link denied (Authentication failed) [@127.0.0.1.2807]
ERROR :Closing Link: [127.0.0.1] (Link denied (Authentication failed))

my unreal IRCd version: Unreal3.2.3
my mIRC-scripting code:
Code:
alias ircd.services {
  services.lc
  services.start
  window -e @log
}
alias services.lc {
  set %sn Services.Net.Net
  set %uline %sn stats.net.net
  set %ns NickServ!*@*
  set %cs ChanServ!*@*
  set %os OperServ!*@*
  set %hs HostServ!*@*
  set %hhs HelpServ!*@*
  set %port 7000
  set %pass LiNk
  set %addr 127.0.0.1
}
alias services.start {
  if ($sockopen(Services)) /sockclose services
  sockopen Services %addr %port
}
on *:sockopen:Services: {
  sockwrite -n $sockname $+(:,%sn) PASS %pass 2360 |EW 
  echo -sc info * Services sent PASS command...
  sockwrite -n $sockname $+(:,%sn) PROTOCTL NOQUIT TOKEN NICKv2 UMODE2 VL SJ3 NS
  echo -sc info * Services sent PROTOCTL command...
  set %token 2
  sockwrite -n $sockname $+(:,%sn) SERVER %sn 1 %token :IRC Services Server
  echo -sc info * Services sent SERVER command..
}
on *:sockread:Services: {
  if ($sockerr) return
  sockread %READ
  echo @log %READ
}

im not sure if somthing is wrong with the PASS command, because the RFC told me to use that format (RFC link: RFC 2813)
I'm doing this mostly so i can test with services, and also to learn some more socket scripting crazy
Any help would be apreciated!

#122985 18/06/05 04:40 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
i sniffed on what anope told the server and found a way :tongue:
the pass command only took the password not the stuff the rfc told me to :tongue:
stupid rfc...

#122986 18/06/05 10:19 AM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
The RFC 2810-2813 documents are specifically written about the ircd used on IRCnet, and therefore have alot of information that is not applicable to, for example, unreal ircd.


Saturn, QuakeNet staff
#122987 18/06/05 02:56 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
any of them writen for unreal IRCd?

#122988 19/06/05 03:53 PM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
I don't know, I don't have any experience with unreal ircd myself. Maybe someone else here knows, otherwise you can always try Google of course smile


Saturn, QuakeNet staff

Link Copied to Clipboard