]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2003/002148.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2003 / 002148.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] encrypt hostnames
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20encrypt%20hostnames&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="002147.html">
11 <LINK REL="Next" HREF="002761.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] encrypt hostnames</H1>
15 <B>Jack Neils</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20encrypt%20hostnames&In-Reply-To="
17 TITLE="[IRCServices Coding] encrypt hostnames">waterflamez at hotmail.com
18 </A><BR>
19 <I>Tue Aug 19 17:16:25 PDT 2003</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="002147.html">[IRCServices Coding] Language
22 </A></li>
23 <LI>Next message: <A HREF="002761.html">[IRCServices Coding] How to get a core..
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#2148">[ date ]</a>
27 <a href="thread.html#2148">[ thread ]</a>
28 <a href="subject.html#2148">[ subject ]</a>
29 <a href="author.html#2148">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>hi all.
35
36 i'm using unrealircd with ircservices 5.0.21, and i already modified the
37 code like this:
38
39 in modules/nickserv/main.c :
40
41 /* Callback for users connecting to the network. */
42 /* MODIFIED CALLBACK */
43 static int do_user_create(User *user, int ac, char **av)
44 {
45 validate_user(user);
46 send_cmd(s_OperServ, &quot;CHGHOST %s :%s&quot;, user-&gt;nick, &quot;domain.net&quot;);
47 send_cmd(s_OperServ, &quot;CHGIDENT %s :%s&quot;, user-&gt;nick, &quot;user&quot;);
48 return 0;
49 }
50
51 good to start with and hide userhosts, but soon i found out 1 big problem:
52 try banning 1 person from a channel... +b *!<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">user at domain.net</A> ...
53 ironic, isn't it? you'd be banning everyone at once.
54 and banning with nick isn't very effective.
55
56 so now i was wondering if anyonce could help me use the encrypt function,
57 which is used on the passwords with nickserv, to encrypt the hostmask.
58 and, after the hostmask has been encrypted, send that as the new hostmask.
59
60 anyone that can help me, please ?
61
62 thx
63
64 _________________________________________________________________
65 MSN Search, for relevant search results! <A HREF="http://search.msn.be">http://search.msn.be</A>
66
67 </PRE>
68
69 <!--endarticle-->
70 <HR>
71 <P><UL>
72 <!--threads-->
73 <LI>Previous message: <A HREF="002147.html">[IRCServices Coding] Language
74 </A></li>
75 <LI>Next message: <A HREF="002761.html">[IRCServices Coding] How to get a core..
76 </A></li>
77 <LI> <B>Messages sorted by:</B>
78 <a href="date.html#2148">[ date ]</a>
79 <a href="thread.html#2148">[ thread ]</a>
80 <a href="subject.html#2148">[ subject ]</a>
81 <a href="author.html#2148">[ author ]</a>
82 </LI>
83 </UL>
84
85 </body></html>