Server protocol: NETINFO
Server protocol: NETINFO
Hello,
I'm a french coder so i'm sorry for my english !
I'm developping small services for Unreal but i don't understand two things:
1) What is the MD5:<digest> in the NETINFO command?
2) How can i get crypted host of users?
Thanks you a lot,
--
Merwin
I'm a french coder so i'm sorry for my english !
I'm developping small services for Unreal but i don't understand two things:
1) What is the MD5:<digest> in the NETINFO command?
2) How can i get crypted host of users?
Thanks you a lot,
--
Merwin
-
Stealth
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
The MD5 is for the cloak keys, I believe services servers can just specify "*" for this param.
The crypted host is sent with SETHOST (see link below).
Some incomplete documentation about linking: http://web.ircsystems.net/stskeeps/unrealprotocol.html
The crypted host is sent with SETHOST (see link below).
Some incomplete documentation about linking: http://web.ircsystems.net/stskeeps/unrealprotocol.html
Sorry
The SETHOST is used only with vhost, the encrypted host isn't sent by SETHOST !
I think i need to generate it by myself, but how can i do?
I think i need to generate it by myself, but how can i do?
No
I'v always enable NICKv2 in the PROTOCTL, but there is no crypted host but an *:
I really need to generate them by myself!
How can i do?
Code: Select all
NICK Merwin 1 1117356539 merwin AMarseille-253-1-48-172.w83-205.abo.wanadoo.fr irc.------.fr 0 +x * :MerwinHow can i do?
Make sure you're also sending the VHP (? I have a dodgy memory, but I'm pretty sure this is it.) protoctl token (this so should be documented
) - this instructs the remote server to send you the crypted host.
As for sethost, it is reasonably safe to ignore it. I do as it's a services server, does it really care about it's own network name etc?
As for sethost, it is reasonably safe to ignore it. I do as it's a services server, does it really care about it's own network name etc?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Thanks
Thanks you a lot it works fine!
It doesn't really care but it's for keep all infos in memory, my services will integrate a web server so i want to show alls these infos
It doesn't really care but it's for keep all infos in memory, my services will integrate a web server so i want to show alls these infos
Make sure you link us back to them, I'd be interested to take a look sometime
.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
That's right
This service is developped in TCL ('pure TCL', without eggdrop or other as we can see sometimes...), a major feature is that you can extend it very easyly with a system of 'bind' as Eggdrop !
A lot of TCL commands are added in order to manage users, you can easily create bots an manage them etc...
You want to add a anti-proxy? just add a antiproxy.tcl in the scripts dir and rehash, this file as juste to bind 'NEWUSER' event, scan his ip and why not gline him.
I hope you understand a little what i'm explaining lol (i'm french...)!
A lot of TCL commands are added in order to manage users, you can easily create bots an manage them etc...
You want to add a anti-proxy? just add a antiproxy.tcl in the scripts dir and rehash, this file as juste to bind 'NEWUSER' event, scan his ip and why not gline him.
I hope you understand a little what i'm explaining lol (i'm french...)!
Yeah, I understand
. Hanging around here and the support channel makes it fairly easy to interpret mangled english
.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Lag
Some people think that tcl is a bad language to do services, but i'v tested them on some networks, there is no lag, if you connect them on local ip it's very good!
I think network with more than 3000/4000 users it is possible that it lag... but i haven't test!
Becouse oh the simplicity of TCL i think it's a good method
I think network with more than 3000/4000 users it is possible that it lag... but i haven't test!
Becouse oh the simplicity of TCL i think it's a good method
It will lag
.
For small networks it'll be fine, I've done some basic services in PHP before, as well as WinSE, which was originally crappily coded by myself in vb6, then redone wonderfully in vb.net by aquanight
.
For small networks it'll be fine, I've done some basic services in PHP before, as well as WinSE, which was originally crappily coded by myself in vb6, then redone wonderfully in vb.net by aquanight
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]