Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

two hybrid servers connection problem?

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services
Author Message
tomsmith
none
none


Joined: 25 Jul 2006
Posts: 8

PostPosted: Aug 15, 2006 9:12pm    Post subject: two hybrid servers connection problem? Reply with quote

The ip of hub server is 10.11.12.18. The ip of leaf server is 10.11.12.19
Now is my config.But they can't auto connect either.Could you help me find the problem?
Does it need me to become an ircd operator first and then
/connect 10.11.12.18 6666?
Or they could auto-connect and don't need my operation?

The hub( 10.11.12.18 )
Code:

serverinfo {
   name = "server1";
   sid = "1AB";
   description = "hybrid-7 test server";
   network_name = "MyNet";
   network_desc = "This is My Network";
   hub = yes;
   #vhost = "192.169.0.1";
   #vhost6 = "3ffe:80e8:546::2";
   max_clients = 512;
   #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
   #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
};

/* admin {}: contains admin information about the server. (OLD A:) */
admin {
   name = "Smurf target";
   description = "Main Server Administrator";
   email = "<syn@packets.r.us>";
};

/* logging {}: contains information about logfiles. */
logging {
        use_logging = yes;
        fuserlog = "logs/userlog";
        foperlog = "logs/operlog";
        ffailed_operlog = "logs/foperlog";
   log_level = L_INFO;
};

/* class {}: contain information about classes for users (OLD Y:) */
class {
   name = "users";
   ping_time = 2 minutes;
   number_per_ip = 2;
   max_number = 100;
   sendq = 100 kbytes;
};

class {
   name = "restricted";
   ping_time = 1 minute 30 seconds;
   number_per_ip = 1;
   max_number = 100;
   sendq = 60kb;
};

class {
   name = "opers";
   ping_time = 5 minutes;
   number_per_ip = 10;
   max_number = 100;
   sendq = 100kbytes;
};

class {
   name = "server";
   ping_time = 5 minutes;
   ping_warning = 15 seconds;
   connectfreq = 5 minutes;
   max_number = 1;
   sendq=2 megabytes;
};

/* listen {}: contain information about the ports ircd listens on (OLD P:) */
listen {
   port = 6665 .. 6669;

   flags = ssl;
   port = 6697;

  #   host = "1.2.3.4";
  #   port = 7000, 7001;

  #   host = "3ffe:1234:a:b:c::d";
  #      port = 7002;
};

/* auth {}: allow users to connect to the ircd (OLD I:) */
auth {
   user = "*@172.16.0.0/12";
   user = "*test@123D:B567:*";
   password = "letmein";
   flags = need_password, spoof_notice, exceed_limit, kline_exempt,
      gline_exempt, no_tilde;
   spoof = "I.still.hate.packets";
   class = "opers";
};

auth {
   redirserv = "irc.fi";
   redirport = 6667;
   user = "*.fi";
   class = "users";
};

auth {
   user = "*@*";
   class = "users";
    #   flags = need_ident;
};

/* operator {}: defines ircd operators. (OLD O:)
 * ircd-hybrid no longer supports local operators, privileges are
 * controlled via flags.
 */
operator {
   name = "god";
   user = "*god@*";
   user = "*@127.0.0.1";
   password = "etcnjl8juSU1E";
   encrypted = yes;
   #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
   class = "opers";
   flags = global_kill, remote, kline, unkline, gline,
      xline, die, rehash, nick_changes, admin;
};

/* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
connect {
   name = "irc.uplink.com";
   host = "10.11.12.19";
   send_password = "123";
   accept_password = "abc";
   encrypted = no;
   port = 6666;
   hub_mask = "*";
   #leaf_mask = "*.uk";
   class = "server";
      flags = autoconn;
   #fakename = "*.arpa";
};

connect {
   name = "encrypted.auth.example";
   host = "some.host.somewhere";
   port = 6667;

   flags = cryptlink;
#   rsa_public_key_file = "etc/remote.server.keyfile";
   #cipher_preference = "BF/168";
};

connect {
        name = "ipv6.some.server";
        host = "3ffd:dead:beef::1";
        send_password = "password";
        accept_password = "password";
        port = 6666;

   aftype = ipv6;
        class = "server";
};

/* cluster{}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
 * automatically (OLD hyb6 SLAVE_SERVERS)
 */
cluster {
        /* name: the server to share with, this can take wildcards */
        /* NOTE: only local actions will be clustered, meaning if
         *       the server receives a shared kline/unkline/etc, it
         *       will not be propagated to clustered servers.
         */
        name = "*.arpa";
       
        /* type: list of what to share, options are as follows:
         *      kline   - share klines
         *      unkline - share unklines
         *      xline   - share xlines
         *      unxline - share unxlines
         *      resv    - share resvs
         *      unresv  - share unresvs
         *      locops  - share locops
         *      all     - share all of the above
         */
        type = kline, unkline, locops, xline, resv;
};

/* shared {}: users that are allowed to remote kline (OLD U:) */
shared {
   name = "irc2.some.server";
   user = "oper@my.host.is.spoofed";
   type = all;
};

/* kill {}: users that are not allowed to connect (OLD K:)
 * Oper issued klines will be added to the specified kline config
 */
kill {
   user = "bad@*.hacked.edu";
   reason = "Obviously hacked account";
};

/* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
 * Oper issued dlines will be added to the specified dline config
 */
deny {
   ip = "10.0.1.0/24";
   reason = "Reconnecting vhosted bots";
};

/* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
exempt {
   ip = "192.168.0.0/16";
};

/* resv {}: nicks and channels users may not use/join (OLD Q:) */
resv {
   nick = "nickserv";
   nick = "chanserv";
   channel = "#services";
   reason = "Clone bots";
   nick = "clone*";
};

gecos {
   name = "*sex*";
   reason = "Possible spambot";
};

gecos {
   name = "sub7server";
   reason = "Trojan drone";
};

gecos {
   name = "*http*";
   reason = "Spambot";
};

channel {
   restrict_channels = no;
   disable_local_channels = no;
   use_invex = yes;
   use_except = yes;
   use_knock = yes;
   knock_delay = 5 minutes;
   knock_delay_channel = 1 minute;
    burst_topicwho = yes;
   max_chans_per_user = 15;
   quiet_on_ban = yes;
   max_bans = 25;
   join_flood_count = 16;
   join_flood_time = 8 seconds;
   default_split_user_count = 0;
   default_split_server_count = 0;
   no_create_on_split = yes;
   no_join_on_split = no;
};

serverhide {
   flatten_links = no;
   links_delay = 5 minutes;
   hidden = no;
   disable_hidden = no;
   hide_servers = no;
   hidden_name = "*.hidden.com";
   hide_server_ips = no;
};

general {
   kill_chase_time_limit = 90;
        hide_spoof_ips = yes;
        ignore_bogus_ts = no;

   disable_auth = yes;
        disable_remote_commands = no;
   default_floodcount = 10;
   failed_oper_notice = yes;
   dots_in_ident=2;
   dot_in_ip6_addr = yes;
   min_nonwildcard = 4;
   min_nonwildcard_simple = 3;
   max_accept = 20;
   anti_nick_flood = yes;

   max_nick_time = 20 seconds;
   max_nick_changes = 5;

   anti_spam_exit_message_time = 5 minutes;
   ts_warn_delta = 30 seconds;
   ts_max_delta = 5 minutes;

   kline_with_reason = yes;
   kline_with_connection_closed = no;
   reject_hold_time = 0;

   invisible_on_connect = yes;
   warn_no_nline = yes;
   stats_o_oper_only=yes;
   stats_P_oper_only=no;
   stats_i_oper_only=masked;
   stats_k_oper_only=masked;
   caller_id_wait = 1 minute;
   pace_wait_simple = 1 second;
   pace_wait = 10 seconds;
   short_motd = no;
   ping_cookie = no;
   no_oper_flood = yes;
   true_no_oper_flood = yes;
   oper_pass_resv = yes;
   idletime = 0;
   /* REMOVE ME.  The following line checks you've been reading. */
   #   havent_read_conf = 1;

   max_targets = 4;
   client_flood = 2560;
   message_locale = "standard";
   oper_only_umodes = bots, cconn, debug, full, skill, nchange,
                     rej, spy, external, operwall, locops, unauth;

   oper_umodes = bots, locops, servnotice, operwall, wallop;


   #servlink_path = "/usr/local/ircd/bin/servlink";
   #default_cipher_preference = "BF/168";
   #use_egd = yes;
   #egdpool_path = "/var/run/egd-pool";
   #compression_level = 6;
   throttle_time = 10;
};

glines {
        enable = yes;
        duration = 1 day;
   logging = reject;

        user = "god@I.still.hate.packets";
        name = "hades.arpa";     
        action = reject, block;

        user = "god@*";
        name = "*";
        action = block;
};

modules {
   path = "/usr/local/ircd/modules";
   path = "/usr/local/ircd/modules/autoload";
   #module = "some_module.so";
};


The leaf(10.11.12.19):

Code:

serverinfo {
   name = "server2";
   sid = "1BB";
   description = "hybrid-7 test server";
   network_name = "MyNet";
   network_desc = "This is My Network";
   hub = no;
   #vhost = "192.169.0.1";
   #vhost6 = "3ffe:80e8:546::2";
   max_clients = 512;
   #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
   #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
};

/* admin {}: contains admin information about the server. (OLD A:) */
admin {
   name = "Smurf target";
   description = "Main Server Administrator";
   email = "<syn@packets.r.us>";
};

/* logging {}: contains information about logfiles. */
logging {
        use_logging = yes;
        fuserlog = "logs/userlog";
        foperlog = "logs/operlog";
        ffailed_operlog = "logs/foperlog";
   log_level = L_INFO;
};

/* class {}: contain information about classes for users (OLD Y:) */
class {
   name = "users";
   ping_time = 2 minutes;
   number_per_ip = 2;
   max_number = 100;
   sendq = 100 kbytes;
};

class {
   name = "restricted";
   ping_time = 1 minute 30 seconds;
   number_per_ip = 1;
   max_number = 100;
   sendq = 60kb;
};

class {
   name = "opers";
   ping_time = 5 minutes;
   number_per_ip = 10;
   max_number = 100;
   sendq = 100kbytes;
};

class {
   name = "server";
   ping_time = 5 minutes;
   ping_warning = 15 seconds;
   connectfreq = 5 minutes;
   max_number = 1;
   sendq=2 megabytes;
};

/* listen {}: contain information about the ports ircd listens on (OLD P:) */
listen {
   port = 6665 .. 6669;

   flags = ssl;
   port = 6697;

   host = "1.2.3.4";
   port = 7000, 7001;

   host = "3ffe:1234:a:b:c::d";
        port = 7002;
};

/* auth {}: allow users to connect to the ircd (OLD I:) */
auth {
   user = "*@172.16.0.0/12";
   user = "*test@123D:B567:*";
   password = "letmein";
   flags = need_password, spoof_notice, exceed_limit, kline_exempt,
      gline_exempt, no_tilde;
   spoof = "I.still.hate.packets";
   class = "opers";
};

auth {
   redirserv = "irc.fi";
   redirport = 6667;
   user = "*.fi";
   class = "users";
};

auth {
   user = "*@*";
   class = "users";
    #   flags = need_ident;
};

/* operator {}: defines ircd operators. (OLD O:)
 * ircd-hybrid no longer supports local operators, privileges are
 * controlled via flags.
 */
operator {
   name = "god";
   user = "*god@*";
   user = "*@127.0.0.1";
   password = "etcnjl8juSU1E";
   encrypted = yes;
   #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
   class = "opers";
   flags = global_kill, remote, kline, unkline, gline,
      xline, die, rehash, nick_changes, admin;
};

/* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
connect {
   name = "irc.hub.com";
   host = "10.11.12.18";
       
   send_password = "abc";
   accept_password = "123";
   encrypted = no;
   port = 6666;
   hub_mask = "*";
   #leaf_mask = "*.uk";
   class = "server";
      flags = autoconn;
   fakename = "irc.uplink.com";
};

connect {
   name = "encrypted.auth.example";
   host = "some.host.somewhere";
   port = 6667;

   flags = cryptlink;
   rsa_public_key_file = "etc/remote.server.keyfile";
   #cipher_preference = "BF/168";
};

connect {
        name = "ipv6.some.server";
        host = "3ffd:dead:beef::1";
        send_password = "password";
        accept_password = "password";
        port = 6666;

   aftype = ipv6;
        class = "server";
};

/* cluster{}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
 * automatically (OLD hyb6 SLAVE_SERVERS)
 */
cluster {
        /* name: the server to share with, this can take wildcards */
        /* NOTE: only local actions will be clustered, meaning if
         *       the server receives a shared kline/unkline/etc, it
         *       will not be propagated to clustered servers.
         */
        name = "*.arpa";
       
        /* type: list of what to share, options are as follows:
         *      kline   - share klines
         *      unkline - share unklines
         *      xline   - share xlines
         *      unxline - share unxlines
         *      resv    - share resvs
         *      unresv  - share unresvs
         *      locops  - share locops
         *      all     - share all of the above
         */
        type = kline, unkline, locops, xline, resv;
};

/* shared {}: users that are allowed to remote kline (OLD U:) */
shared {
   name = "irc2.some.server";
   user = "oper@my.host.is.spoofed";
   type = all;
};

/* kill {}: users that are not allowed to connect (OLD K:)
 * Oper issued klines will be added to the specified kline config
 */
kill {
   user = "bad@*.hacked.edu";
   reason = "Obviously hacked account";
};

/* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
 * Oper issued dlines will be added to the specified dline config
 */
deny {
   ip = "10.0.1.0/24";
   reason = "Reconnecting vhosted bots";
};

/* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
exempt {
   ip = "192.168.0.0/16";
};

/* resv {}: nicks and channels users may not use/join (OLD Q:) */
resv {
   nick = "nickserv";
   nick = "chanserv";
   channel = "#services";
   reason = "Clone bots";
   nick = "clone*";
};

gecos {
   name = "*sex*";
   reason = "Possible spambot";
};

gecos {
   name = "sub7server";
   reason = "Trojan drone";
};

gecos {
   name = "*http*";
   reason = "Spambot";
};

channel {
   restrict_channels = no;
   disable_local_channels = no;
   use_invex = yes;
   use_except = yes;
   use_knock = yes;
   knock_delay = 5 minutes;
   knock_delay_channel = 1 minute;
    burst_topicwho = yes;
   max_chans_per_user = 15;
   quiet_on_ban = yes;
   max_bans = 25;
   join_flood_count = 16;
   join_flood_time = 8 seconds;
   default_split_user_count = 0;
   default_split_server_count = 0;
   no_create_on_split = yes;
   no_join_on_split = no;
};

serverhide {
   flatten_links = no;
   links_delay = 5 minutes;
   hidden = no;
   disable_hidden = no;
   hide_servers = no;
   hidden_name = "*.hidden.com";
   hide_server_ips = no;
};

general {
   kill_chase_time_limit = 90;
        hide_spoof_ips = yes;
        ignore_bogus_ts = no;

   disable_auth = yes;
        disable_remote_commands = no;
   default_floodcount = 10;
   failed_oper_notice = yes;
   dots_in_ident=2;
   dot_in_ip6_addr = yes;
   min_nonwildcard = 4;
   min_nonwildcard_simple = 3;
   max_accept = 20;
   anti_nick_flood = yes;

   max_nick_time = 20 seconds;
   max_nick_changes = 5;

   anti_spam_exit_message_time = 5 minutes;
   ts_warn_delta = 30 seconds;
   ts_max_delta = 5 minutes;

   kline_with_reason = yes;
   kline_with_connection_closed = no;
   reject_hold_time = 0;

   invisible_on_connect = yes;
   warn_no_nline = yes;
   stats_o_oper_only=yes;
   stats_P_oper_only=no;
   stats_i_oper_only=masked;
   stats_k_oper_only=masked;
   caller_id_wait = 1 minute;
   pace_wait_simple = 1 second;
   pace_wait = 10 seconds;
   short_motd = no;
   ping_cookie = no;
   no_oper_flood = yes;
   true_no_oper_flood = yes;
   oper_pass_resv = yes;
   idletime = 0;
   /* REMOVE ME.  The following line checks you've been reading. */
   #   havent_read_conf = 1;

   max_targets = 4;
   client_flood = 2560;
   message_locale = "standard";
   oper_only_umodes = bots, cconn, debug, full, skill, nchange,
                     rej, spy, external, operwall, locops, unauth;

   oper_umodes = bots, locops, servnotice, operwall, wallop;


   #servlink_path = "/usr/local/ircd/bin/servlink";
   #default_cipher_preference = "BF/168";
   #use_egd = yes;
   #egdpool_path = "/var/run/egd-pool";
   #compression_level = 6;
   throttle_time = 10;
};

glines {
        enable = yes;
        duration = 1 day;
   logging = reject;

        user = "god@I.still.hate.packets";
        name = "hades.arpa";     
        action = reject, block;

        user = "god@*";
        name = "*";
        action = block;
};

modules {
   path = "/usr/local/ircd/modules";
   path = "/usr/local/ircd/modules/autoload";
   #module = "some_module.so";
};


This is very important to me. Thanks to everyone!
Back to top
Drakx
Lurker
Lurker


Joined: 17 Feb 2006
Posts: 139

PostPosted: Aug 16, 2006 5:09am    Post subject: Reply with quote

im no expert but here what to me seems the problem

Code:
   #vhost = "192.169.0.1";
   #vhost6 = "3ffe:80e8:546::2";


thats for both your ircd's for ircd one it should read some thing like this..

Code:
   vhost = "10.11.12.18";
   #vhost6 = "3ffe:80e8:546::2";


and server two

Code:
 vhost = "10.11.12.19";
   #vhost6 = "3ffe:80e8:546::2";


this is if your using ipv4, if i was you i would read the docs that came with the ircd's as they hold all the info you'll need.

EDIT re-read the configs and you need to edit them correctly first before you link them Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer