This is a patch which allows certain opers (with a
defined OpServ level in srvx.conf) to use /msg AuthServ
set vhost <fake host>, (with the corrospending oset
ofcourse) to have someone's host "faked" when they
auth. Both of these diff's are made with the packages
srvx-1.2rc3 and ircu2.10.11.04.
Here's a small sumup of how it works;
Oper uses set vhost on an account,
that account authes, srvx sends AC <accountnum>
<account> [vhost],
ircu has the user quit "Registered" as usual with an
auth, only with the vhost in the AC token, it does not
set account.users.network.com, but [vhost] as the new
userhost of the client.
This patch has been tested rather well, so let me know
if there are any bugs with it.
-wasted
srvx-setvhost.patch
ircu-setvhost.patch
srvx-1.2rc4-setvhost.patch
Logged In: YES
user_id=806193
Minor bug,,,
if(strchr(vhost, '@') == NULL) {
is supposed to be:
if(strchr(vhost, '@') != NULL) {
I can't seem to update/delete the already attached patches,
so change it in the one there are. :\
Or download these:
http://lostdomain.org/patches/index.php?dir=srvx/&file=srvx-
1.2rc4-setvhost.patch
or: http://lostdomain.org/patches/index.php?
dir=srvx/&file=srvx-setvhost.patch for rc3.
Thank you iRc`S|Izlots[FACT] for reporting it ;)
Logged In: YES
user_id=223621
This patch has been outdated by srvx's fakehost support. I
recommend you use it as it is built-in to srvx. A patch for
IRCu support can be fould in srvx's patches/ folder. :)
~reed