Page 1 of 1

mask IP

Posted: Tue May 10, 2005 9:09 am
by pstruh22
HI,

I wan to mask (+x) only for one IP address, etc. 192.168.120.12
in my config I set up - restrict-usermodes +x - other users cant use +x

How can I set up usermodes +x for one IP in my unrealircd.conf ?


thanks

Posted: Tue May 10, 2005 9:28 am
by Ar3sPadanyNet
set a vhost { } block and use that...
ur ip is masked and personal :)

Posted: Tue May 10, 2005 2:43 pm
by pstruh22
I am using CGI:IRC and I want to mask IP where is cgi:irc installed.

Posted: Tue May 10, 2005 9:50 pm
by Winbots
then you probably want this module:
http://www.angrywolf.org/frames.php?lang=en
click on modules, then scroll down until you find the cgiirc module :P

Posted: Fri May 13, 2005 7:09 pm
by pstruh22
Winbots wrote:then you probably want this module:
http://www.angrywolf.org/frames.php?lang=en
click on modules, then scroll down until you find the cgiirc module :P
I downloaded this module, I following instruction in cgiirc.txt file.
I patched cgiirc with patch nph-irc.cgi cgiirc-realhost-password.diff

patching file nph-irc.cgi
Hunk #1 succeeded at 820 with fuzz 1 (offset 156 lines).
Hunk #2 succeeded at 1015 with fuzz 2 (offset 57 lines).

its OK.

In unrealIRCD config file I setting
except ban { mask *@localhost; };
except throttle { mask *@127.0.0.1; };

except tkl { type gline; mask *@localhost; };
except tkl { type gzline; mask *@localhost; };
except tkl { type shun; mask *@localhost; };

but If I set

set {
cgiirc-host localhost;
};

then if I rehash unrealconfig file its display me this error

*** Notice -- error: unrealircd.conf:624: unknown directive set::cgiirc-host
*** Notice -- error: 1 errors encountered
*** Notice -- error: IRCd configuration failed to pass testing

Can you help me ?

thanks

Posted: Fri May 13, 2005 7:31 pm
by aquanight
Did you add the loadmodule line?

Posted: Fri May 13, 2005 7:38 pm
by pstruh22
aquanight wrote:Did you add the loadmodule line?
No, how can I do that ? I forgot command to create module.

Posted: Sat May 14, 2005 1:14 pm
by w00t

Posted: Sat May 14, 2005 5:41 pm
by pstruh22
Problem solved.

Thanks all :)