mask IP

These are old archives. They are kept for historic purposes only.
Post Reply
pstruh22
Posts: 48
Joined: Mon Jan 31, 2005 2:14 pm

mask IP

Post 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
Ar3sPadanyNet
Posts: 5
Joined: Tue May 10, 2005 12:10 am
Contact:

Post by Ar3sPadanyNet »

set a vhost { } block and use that...
ur ip is masked and personal :)
pstruh22
Posts: 48
Joined: Mon Jan 31, 2005 2:14 pm

Post by pstruh22 »

I am using CGI:IRC and I want to mask IP where is cgi:irc installed.
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post 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
pstruh22
Posts: 48
Joined: Mon Jan 31, 2005 2:14 pm

Post 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
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Did you add the loadmodule line?
pstruh22
Posts: 48
Joined: Mon Jan 31, 2005 2:14 pm

Post by pstruh22 »

aquanight wrote:Did you add the loadmodule line?
No, how can I do that ? I forgot command to create module.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
pstruh22
Posts: 48
Joined: Mon Jan 31, 2005 2:14 pm

Post by pstruh22 »

Problem solved.

Thanks all :)
Post Reply