我怎样才能使混合 IRCD 洪水防护更加宽松或完全禁用它?

我怎样才能使混合 IRCD 洪水防护更加宽松或完全禁用它?

我在内部网络上运行一个服务器,并将一些机器人连接到它,有时机器人会吐出很多行。我让机器人在被踢出后重新连接,但这只是治标不治本。

我怎样才能让防洪措施更加宽松/禁用它?顺便说一下,我的安装几乎是开箱即用的。

答案1

RTFM 结果是。

在集合general中的块中/etc/ircd/ircd.conf

/* no oper flood: increase flood limits for opers. */
no_oper_flood = yes;

/* true no oper flood: completely eliminate flood limits for opers
     * and for clients with can_flood = yes in their auth {} blocks
 */
true_no_oper_flood = yes;

以及auth如下块:

auth {
        user = "*@*";
        class = "users";

        /* restricted: stop the client sending mode changes */
        #restricted = yes;

        /* have ident: require the user has identd to connect (OLD I: + flag) */
        have_ident = no;

        can_flood = yes;
    };

不用说,不要在任何可公开访问的服务器上这样做。

相关内容