Kladim se da nisi ni procitao al ajd...
Ovako, kada se operujes onda ti server pokazuje odredjene poruke koje inace korisnicima ne pokazuje, u ovom slucaju linkovanje. Server ti je pokazao da se ne moze konektovati na servise kako si podesio link.
E sad, pretpostavimo da imamo server -> irc.yumirc.org i servise -> services.yumirc.org!
Kada otvoris unrealircd.conf moras podesiti par linija vezano za servise.
Kako ide example fajl tako cu ja i kopirati stvari da ne trazis.
* Blok za linkovanje:
Otprlike na sredini fajla naces dio za linkovanje u kojem obicno ima primjer ali ako ne znas naci evo kopiran malo veci dio
Code:
*
* NEW: link {}
* OLD: C/N:Lines
* This defines an okay for a server connection.
* NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
* Syntax is as follows:
* link (server name)
* {
* username (username, * works too);
* hostname (ip number/hostmask);
* bind-ip (What IP to bind to when connecting, or *);
* port (port to connect to, if any);
* hub (If this is a hub, * works, or servermasks it may bring in);
* [or leaf *;]
* password-connect "(pass to send)";
* password-receive "(pass we should receive)";
* class (class to direct servers into);
* options {
* (options here*);
* };
* /* If we use SSL, we can choose what cipher to use in SSL mode
* * Retrieve a list by "openssl ciphers", seperate ciphers with :'s
* */
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
options:
OLD | NEW
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link services.yumirc.org
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 5000;
hub *;
password-connect "elitesecurity";
password-receive "eliteresecurity";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
/*autoconnect;*/
};
};
E sad malo objasnjenje:
-
hostname 127.0.0.1; --> tu se upisuj IP adresa ili host na koji ce unreal pokusati da se zakaci. Npr ako podizes unreal i anope na svom racunaru onda jednostavno ostavi 127.0.0.1. Moze da se upisuje adresa tipa: "
1.2.3.4", "
blah.domen.com", IPv6 "
::ffff:1.2.3.4.
-
bind-ip *; --> u slucaju da shell ima vise ip adresa i ti hoces neku odredjenu onda upises tu adresu ali nemas potreba za tim tako da ostavi samo *.
-
port 5000; --> tu odredjujes preko kojeg porta se unreal pokusava konektovati na zadanu adresu(
hostname
-
hub *; --> ostavis hub jer u ako stavis leaf onda se mozes konektovati na jedan server samo tj neki glavni serveru. Hub znaci da ako dodje do linkovanja u buducnosti tvoj server je glavni i ima mogucnost linkovanja ka vise servera.
-
password-connect "elitesecurity"; --> odredjujes password koji server salje kada dolazi do linkovanja...
-
password-receive "eliteresecurity"; --> odredjujes password koji server prima prilikom linkovanja. Cesto su ova 2 password ista.
-
class servers; --> klasa u koju se server na koji se unreal konektuje svrstava.
-
options{ --> upisuju se opcije prilikom linkovanja. Kao sto ti u primjeru kaze autoconnect se ne bi trebao koristisi prilikom linkovanja sa servisima. Opcije su sledece(nije mi se dalo prevoditi):
Citat:
options block
One or more options used for connecting to the server. Sometimes not needed.
ssl -- if you are connecting to a SSL port.
autoconnect -- server will try to autoconnect, time specified in your class::connfreq (it's best to enable this only from one side, like leaf->hub)
zip -- if you want compressed links, needs to be compiled in + set at both ends
nodnscache -- don't cache IP for outgoing server connection, use this if it's an often changing host (like dyndns.org)
nohostcheck -- don't validate the remote host (link::hostname), use this if it's an often changing host (like dyndns.org)
quarantine -- opers on this server cannot get GLOBAL oper privileges (they will get killed), used for test links and such
Takodje evo jos jedan primjer linkovanja
Citat:
link hub.mynet.com {
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
autoconnect;
ssl;
zip;
};
};
* Ulines:
Sluzi kako bi se omogucilo odredjenim serverima da imaju dodatne mogucnosti, tipa servisima ili stats serveru.
Citat:
ulines {
services.mynetwork.com;
stats.mynetwork.com;
};
* Set blok:
Na kraju moras da podesis i services-server jer mora biti ima ne koje su servisni botovi konektovani.
Citat:
/* Network configuration */
set {
network-name "YumIRC";
default-server "irc.yumirc.org";
services-server "services.yumirc.org";
stats-server "stats.yumirc.org";
help-channel "#pomoc";
hiddenhost-prefix "yumirc";
Sad trebas podesiti u servise. Mislim i da se na windows-u konfiguracioni fajl zove services.conf
Evo dio u kojem podesavas servise da se konektuje na server:
Citat:
###########################################################################
#
# Remote server configuration
#
###########################################################################
# RemoteServer <hostname> <port> <password> [REQUIRED]
# Specifies the remote server hostname and port. The hostname may
# either be a standard Internet hostname or dotted-quad numeric
# address; the port number must be an integer between 1 and 65535
# inclusive. The password is a string which should be enclosed in
# double quotes if it contains any spaces (or just for clarity).
#
# The remote server and port may be overridden at runtime with the
# -remote command-line option. The password may not be set at runtime.
#
# If services can't connect to the RemoteServer, they will try
# RemoteServer2 (if defined). If they can't connect to RemoteServer2,
# they will use RemoteServer3 (if defined).
RemoteServer 127.0.0.1 5000 "elitesecurity"
#RemoteServer2 localhost 6667 "mypass"
#RemoteServer3 localhost 6667 "mypass"
Mislim da sam mozes zakljuciti koji dio za sta sluzi...
Malo dalje ispod moras da podesis
Citat:
ServerName "services.yumirc.org"
Naravno ovo mora odgovarati imenu link bloka i svim podesavanjima za servise u unrealircd.conf inace ces imati mali poteskoca.
ZA SVE OSTALO PROCITAJ README!!!
Ovo sve fino pise u readme fajlu unreala i anope-a samo da si odvojio pola h kako bi to procitao a ne ja da moram ovo pisati pola h.
Ako budes imao jos problema prvo pogledaj readme pa onda kukaj ovde ;)
sretno sa podesavanjem :)