cloak.so

These are old archives. They are kept for historic purposes only.
Post Reply
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

cloak.so

Post by zerojunkie »

where is this file? I've looked in src/modules with no luck...ircd isn't starting because it can't find this module. I've re-downloaded and compiled the thing at least twice..Any help would be greatly appreciated.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

This is the wrong place to ask. Try on the bugtracker (http://bugs.unrealircd.org) or on the forum marked "Unreal3.2 Support"

;)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Is it complaining about cloak.so then? Or are you just looking for it because you heard of it?
Reason I ask is because Unreal '3.2' itself does not support cloaking modules, current CVS does (since a few weeks), so it will be in 3.2.1.
[Oh and also note that the online documentation is the very latest version (CVS)]
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

Syzop wrote:Is it complaining about cloak.so then? Or are you just looking for it because you heard of it?
Reason I ask is because Unreal '3.2' itself does not support cloaking modules, current CVS does (since a few weeks), so it will be in 3.2.1.
[Oh and also note that the online documentation is the very latest version (CVS)]
here's what I have

-bash-2.05b$ ./ircd -v
Unreal3.2 build 1.1.1.1.2.16 2004/04/24 23:53:42

I could really care less about cloaking, however it gives me greif if I don't add it either...says to read the documentation =)
U think I should pull the CVS version down, and chances are that will include my cloak.so?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Sounds to me from what Syzop was saying, that you already got CVS, and something went wrong. So perhaps re-getting CVS would be a good idea, I wouldnt be the one to ask since I dont do CVS at all :(
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

'3.2' has cloaking (we already have cloaking for like >3 years), but it's just build-in instead of modulized.

You probably want to use 3.2, unless you are just playing around / are interrested in the new features in cvs (FAQ: Other - What's CVS and where to get CVS versions?).

So, for 3.2.. you don't need to load cloak.so or do anything like that, if your ircd booted cloaking already works.. just /mode yourself +x (and add it to modes-on-connect if you want to).
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

w00t wrote:Sounds to me from what Syzop was saying, that you already got CVS, and something went wrong. So perhaps re-getting CVS would be a good idea, I wouldnt be the one to ask since I dont do CVS at all :(
Hrm...I don't do CVS either, this was the tar I downloaded... =)
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

w00t wrote:This is the wrong place to ask.
No, it's the very best. If he asked the question at the bugs reporting site, he would get the same response as yours. (Maybe you've figured it out already, but, you know, this is a public discussion, and others might be reading it in the future.) It's always good to question here until you aren't sure you have found a bug.

To zerojunkie: Trying my best to help, but for me it's hard to believe the file is missing. In your package there should be a file called src/modules/cloak.c, which, after a complete compilation, must provide the cloak.so in the same directory. (Are you really sure you're doing everything right?) When you do the compilation, can you see messages like these below on your screen?

Code: Select all

make[2]: Entering directory `/home/angrywolf/Unreal3.2/src/modules'
(...)
gcc -I../include -I/home/angrywolf/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/angrywolf/curl/include -DUSE_LIBCURL -export-dynamic   -fPIC -DPIC -shared -DDYNAMIC_LINKING \
        -o cloak.so cloak.c
If yes, you should be able to find out the location of the file. Otherwise there was a compilation error or I don't know what's happening there.

Additionally, it's always practical to read the Changes file before installing, when you don't have an official release.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Maybe you forgot to re-run ./Config and so the new Makefile was never built?
-- codemastr
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

AngryWolf wrote:
w00t wrote:This is the wrong place to ask.
No, it's the very best. If he asked the question at the bugs reporting site, he would get the same response as yours. (Maybe you've figured it out already, but, you know, this is a public discussion, and others might be reading it in the future.) It's always good to question here until you aren't sure you have found a bug.

To zerojunkie: Trying my best to help, but for me it's hard to believe the file is missing. In your package there should be a file called src/modules/cloak.c, which, after a complete compilation, must provide the cloak.so in the same directory. (Are you really sure you're doing everything right?) When you do the compilation, can you see messages like these below on your screen?

Code: Select all

make[2]: Entering directory `/home/angrywolf/Unreal3.2/src/modules'
(...)
gcc -I../include -I/home/angrywolf/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/angrywolf/curl/include -DUSE_LIBCURL -export-dynamic   -fPIC -DPIC -shared -DDYNAMIC_LINKING \
        -o cloak.so cloak.c
If yes, you should be able to find out the location of the file. Otherwise there was a compilation error or I don't know what's happening there.

Additionally, it's always practical to read the Changes file before installing, when you don't have an official release.
I agree my first inclination is to assume I'm on crack as well, but the ./Config and make all went off with out a hitch. Below is what I get after I updatedb and try to locate cloak.so

Code: Select all

su-2.05b# /usr/libexec/locate.updatedb &
[1] 72233
su-2.05b# jobs
[1]+  Running                 /usr/libexec/locate.updatedb &
su-2.05b# jobs
[1]+  Done                    /usr/libexec/locate.updatedb
su-2.05b# locate cloak.so
su-2.05b# locate cloak
/usr/home/user/Unreal3.2/src/cloak.c
/usr/home/user/Unreal3.2/src/cloak.o
/usr/home/user/Unreal3.2/src/modules/m_cloakhost.c
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

Also just downloaded the CVS tree and cloak.c isn't in the modules folder there either, just in the src folder. My understanding was that this isn't the module I'm looking for. Does anyone know where I can find the module? or get an older version of UnrealIRCd.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Did you download the software from the right CVS branch? What you should do is to go to the CVS page and type the command in your shell with which you can check out the latest devel (unreal3_2_fixes branch). [The stable branch doesn't contain the "cloak" and "oldcloak" modules.] Or, certainly, you can choose to go back to the latest stable version, if that's easier.

Oh, and Syzop has already given an answer for the "Does anyone know where I can find the module?" question.
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

there we go, I'm dumb, I was missing a semi-colon on my Anope include....

/me beats self...

Thanks for all you alls help!
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

AngryWolf wrote:
w00t wrote:This is the wrong place to ask.
No, it's the very best. If he asked the question at the bugs reporting site, he would get the same response as yours. (Maybe you've figured it out already, but, you know, this is a public discussion, and others might be reading it in the future.) It's always good to question here until you aren't sure you have found a bug.
Yeah, sorry all. I was a bit quick in saying that :oops: :roll:

[edit]Thats good to hear zerojunkie[/edit]
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply