#include "setup.h"
#include <openssl/rsa.h>
#include "fileio.h"
#include "ircd_defs.h"
#include "motd.h"
#include "client.h"
#include "hook.h"
#include "pcre.h"
Vai al codice sorgente di questo file.
Strutture dati | |
struct | split_nuh_item |
struct | ConfItem |
struct | MatchItem |
struct | AccessItem |
struct | ClassItem |
struct | CidrItem |
struct | config_file_entry |
struct | config_channel_entry |
struct | config_server_hide |
struct | server_info |
struct | admin_info |
struct | logging_entry |
Definizioni | |
#define | ConFreq(x) ((x)->con_freq) |
#define | PingFreq(x) ((x)->ping_freq) |
#define | PingWarning(x) ((x)->ping_warning) |
#define | MaxTotal(x) ((x)->max_total) |
#define | MaxGlobal(x) ((x)->max_global) |
#define | MaxLocal(x) ((x)->max_local) |
#define | MaxIdent(x) ((x)->max_ident) |
#define | MaxPerIp(x) ((x)->max_perip) |
#define | MaxSendq(x) ((x)->max_sendq) |
#define | CurrUserCount(x) ((x)->curr_user_count) |
#define | CidrBitlenIPV4(x) ((x)->cidr_bitlen_ipv4) |
#define | CidrBitlenIPV6(x) ((x)->cidr_bitlen_ipv6) |
#define | NumberPerCidr(x) ((x)->number_per_cidr) |
#define | ClassPtr(x) ((x)->class_ptr) |
#define | CONF_ILLEGAL 0x80000000 |
#define | CONF_RESERVED 0x00000001 |
#define | CONF_CLIENT 0x00000002 |
#define | CONF_SERVER 0x00000004 |
#define | CONF_OPERATOR 0x00000008 |
#define | CONF_KILL 0x00000010 |
#define | CONF_KLINE CONF_KILL |
#define | CONF_CLASS 0x00000020 |
#define | CONF_LEAF 0x00000040 |
#define | CONF_LISTEN_PORT 0x00000080 |
#define | CONF_HUB 0x00000100 |
#define | CONF_EXEMPTKLINE 0x00000200 |
#define | CONF_NOLIMIT 0x00000400 |
#define | CONF_DLINE 0x00000800 |
#define | CONF_XLINE 0x00001000 |
#define | CONF_ULINE 0x00002000 |
#define | CONF_EXEMPTDLINE 0x00004000 |
#define | CONF_GLINE 0x00008000 |
#define | CONF_SERVER_MASK CONF_SERVER |
#define | CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER_MASK) |
#define | CONF_CRESV 0x80000001 |
#define | CONF_NRESV 0x80000002 |
#define | IsConfIllegal(x) ((x)->status & CONF_ILLEGAL) |
#define | SetConfIllegal(x) ((x)->status |= CONF_ILLEGAL) |
#define | IsConfServer(x) ((x)->status == CONF_SERVER) |
#define | SetConfServer(x) ((x)->status = CONF_SERVER) |
#define | IsConfOperator(x) ((x)->status & CONF_OPERATOR) |
#define | IsConfHub(x) ((x)->status == CONF_HUB) |
#define | SetConfHub(x) ((x)->status = CONF_HUB) |
#define | IsConfLeaf(x) ((x)->status == CONF_LEAF) |
#define | SetConfLeaf(x) ((x)->status = CONF_LEAF) |
#define | IsConfHubOrLeaf(x) ((x)->status & (CONF_HUB|CONF_LEAF)) |
#define | IsConfKill(x) ((x)->status == CONF_KILL) |
#define | IsConfClient(x) ((x)->status & CONF_CLIENT) |
#define | IsConfTypeOfClient(x) ((x)->status & CONF_CLIENT_MASK) |
#define | IsConfUline(x) ((x)->status & CONF_ULINE) |
#define | IsConfXline(x) ((x)->status & CONF_XLINE) |
#define | IsConfGline(x) ((x)->status == CONF_GLINE) |
#define | CONF_FLAGS_DO_IDENTD 0x00000001 |
#define | CONF_FLAGS_LIMIT_IP 0x00000002 |
#define | CONF_FLAGS_NO_TILDE 0x00000004 |
#define | CONF_FLAGS_NEED_IDENTD 0x00000008 |
#define | CONF_FLAGS_NOMATCH_IP 0x00000020 |
#define | CONF_FLAGS_EXEMPTKLINE 0x00000040 |
#define | CONF_FLAGS_NOLIMIT 0x00000080 |
#define | CONF_FLAGS_IDLE_LINED 0x00000100 |
#define | CONF_FLAGS_SPOOF_IP 0x00000200 |
#define | CONF_FLAGS_SPOOF_NOTICE 0x00000400 |
#define | CONF_FLAGS_REDIR 0x00000800 |
#define | CONF_FLAGS_EXEMPTGLINE 0x00001000 |
#define | CONF_FLAGS_RESTRICTED 0x00002000 |
#define | CONF_FLAGS_CAN_FLOOD 0x00100000 |
#define | CONF_FLAGS_NEED_PASSWORD 0x00200000 |
#define | CONF_FLAGS_ALLOW_AUTO_CONN 0x00004000 |
#define | CONF_FLAGS_LAZY_LINK 0x00008000 |
#define | CONF_FLAGS_ENCRYPTED 0x00010000 |
#define | CONF_FLAGS_COMPRESSED 0x00020000 |
#define | CONF_FLAGS_TEMPORARY 0x00040000 |
#define | CONF_FLAGS_CRYPTLINK 0x00080000 |
#define | CONF_FLAGS_BURST_AWAY 0x00400000 |
#define | CONF_FLAGS_EXEMPTRESV 0x00800000 |
#define | CONF_FLAGS_TOPICBURST 0x01000000 |
#define | IsLimitIp(x) ((x)->flags & CONF_FLAGS_LIMIT_IP) |
#define | IsNoTilde(x) ((x)->flags & CONF_FLAGS_NO_TILDE) |
#define | IsConfCanFlood(x) ((x)->flags & CONF_FLAGS_CAN_FLOOD) |
#define | IsNeedPassword(x) ((x)->flags & CONF_FLAGS_NEED_PASSWORD) |
#define | IsNeedIdentd(x) ((x)->flags & CONF_FLAGS_NEED_IDENTD) |
#define | IsNoMatchIp(x) ((x)->flags & CONF_FLAGS_NOMATCH_IP) |
#define | IsConfExemptKline(x) ((x)->flags & CONF_FLAGS_EXEMPTKLINE) |
#define | IsConfExemptLimits(x) ((x)->flags & CONF_FLAGS_NOLIMIT) |
#define | IsConfExemptGline(x) ((x)->flags & CONF_FLAGS_EXEMPTGLINE) |
#define | IsConfExemptResv(x) ((x)->flags & CONF_FLAGS_EXEMPTRESV) |
#define | IsConfIdlelined(x) ((x)->flags & CONF_FLAGS_IDLE_LINED) |
#define | IsConfDoIdentd(x) ((x)->flags & CONF_FLAGS_DO_IDENTD) |
#define | IsConfDoSpoofIp(x) ((x)->flags & CONF_FLAGS_SPOOF_IP) |
#define | IsConfSpoofNotice(x) ((x)->flags & CONF_FLAGS_SPOOF_NOTICE) |
#define | IsConfRestricted(x) ((x)->flags & CONF_FLAGS_RESTRICTED) |
#define | IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED) |
#define | SetConfEncrypted(x) ((x)->flags |= CONF_FLAGS_ENCRYPTED) |
#define | ClearConfEncrypted(x) ((x)->flags &= ~CONF_FLAGS_ENCRYPTED) |
#define | IsConfCompressed(x) ((x)->flags & CONF_FLAGS_COMPRESSED) |
#define | SetConfCompressed(x) ((x)->flags |= CONF_FLAGS_COMPRESSED) |
#define | ClearConfCompressed(x) ((x)->flags &= ~CONF_FLAGS_COMPRESSED) |
#define | IsConfCryptLink(x) ((x)->flags & CONF_FLAGS_CRYPTLINK) |
#define | SetConfCryptLink(x) ((x)->flags |= CONF_FLAGS_CRYPTLINK) |
#define | ClearConfCryptLink(x) ((x)->flags &= ~CONF_FLAGS_CRYPTLINK) |
#define | IsConfLazyLink(x) ((x)->flags & CONF_FLAGS_LAZY_LINK) |
#define | SetConfLazyLink(x) ((x)->flags = CONF_FLAGS_LAZY_LINK) |
#define | ClearConfLazyLink(x) ((x)->flags &= ~CONF_FLAGS_LAZY_LINK) |
#define | IsConfAllowAutoConn(x) ((x)->flags & CONF_FLAGS_ALLOW_AUTO_CONN) |
#define | SetConfAllowAutoConn(x) ((x)->flags |= CONF_FLAGS_ALLOW_AUTO_CONN) |
#define | ClearConfAllowAutoConn(x) ((x)->flags &= ~CONF_FLAGS_ALLOW_AUTO_CONN) |
#define | IsConfTemporary(x) ((x)->flags & CONF_FLAGS_TEMPORARY) |
#define | SetConfTemporary(x) ((x)->flags |= CONF_FLAGS_TEMPORARY) |
#define | IsConfRedir(x) ((x)->flags & CONF_FLAGS_REDIR) |
#define | IsConfAwayBurst(x) ((x)->flags & CONF_FLAGS_BURST_AWAY) |
#define | SetConfAwayBurst(x) ((x)->flags |= CONF_FLAGS_BURST_AWAY) |
#define | ClearConfAwayBurst(x) ((x)->flags &= ~CONF_FLAGS_BURST_AWAY) |
#define | IsConfTopicBurst(x) ((x)->flags & CONF_FLAGS_TOPICBURST) |
#define | SetConfTopicBurst(x) ((x)->flags |= CONF_FLAGS_TOPICBURST) |
#define | ClearConfTopicBurst(x) ((x)->flags &= ~CONF_FLAGS_TOPICBURST) |
#define | SHARED_KLINE 0x0001 |
#define | SHARED_TKLINE 0x0002 |
#define | SHARED_UNKLINE 0x0004 |
#define | SHARED_XLINE 0x0008 |
#define | SHARED_TXLINE 0x0010 |
#define | SHARED_UNXLINE 0x0020 |
#define | SHARED_RESV 0x0040 |
#define | SHARED_TRESV 0x0080 |
#define | SHARED_UNRESV 0x0100 |
#define | SHARED_LOCOPS 0x0200 |
#define | SHARED_ALL |
#define | GDENY_BLOCK 0x1 |
#define | GDENY_REJECT 0x2 |
#define | AWILD 0x1 |
#define | NOUSERLOOKUP 0x2 |
#define | TK_SECONDS 0 |
#define | TK_MINUTES 1 |
#define | NOT_AUTHORIZED (-1) |
#define | I_LINE_FULL (-2) |
#define | TOO_MANY (-3) |
#define | BANNED_CLIENT (-4) |
#define | TOO_FAST (-5) |
#define | CLEANUP_TKLINES_TIME 60 |
Tipi enumerati (enum) | |
enum | ConfType { CONF_TYPE, CLASS_TYPE, OPER_TYPE, CLIENT_TYPE, SERVER_TYPE, HUB_TYPE, LEAF_TYPE, KLINE_TYPE, DLINE_TYPE, EXEMPTDLINE_TYPE, CLUSTER_TYPE, RKLINE_TYPE, RXLINE_TYPE, XLINE_TYPE, ULINE_TYPE, GLINE_TYPE, CRESV_TYPE, NRESV_TYPE, GDENY_TYPE } |
Funzioni | |
int | valid_wild_card (struct Client *, int, int,...) |
unsigned long | get_sendq (struct Client *) |
const char * | get_client_class (struct Client *) |
int | get_client_ping (struct Client *, int *) |
void | check_class (void) |
void | init_class (void) |
struct ConfItem * | find_class (const char *) |
void | init_ip_hash_table (void) |
void | count_ip_hash (int *, unsigned long *) |
void | remove_one_ip (struct irc_ssaddr *) |
struct ConfItem * | make_conf_item (ConfType type) |
void | free_access_item (struct AccessItem *) |
void | read_conf_files (int) |
int | attach_conf (struct Client *, struct ConfItem *) |
int | attach_connect_block (struct Client *, const char *, const char *) |
int | detach_conf (struct Client *, ConfType) |
struct ConfItem * | find_conf_name (dlink_list *, const char *, ConfType) |
struct ConfItem * | find_conf_exact (ConfType, const char *, const char *, const char *) |
struct AccessItem * | find_kill (struct Client *) |
struct AccessItem * | find_gline (struct Client *) |
int | conf_connect_allowed (struct irc_ssaddr *, int) |
char * | oper_privs_as_string (const unsigned int) |
void | split_nuh (struct split_nuh_item *) |
struct ConfItem * | find_matching_name_conf (ConfType, const char *, const char *, const char *, int) |
struct ConfItem * | find_exact_name_conf (ConfType, const char *, const char *, const char *) |
void | delete_conf_item (struct ConfItem *) |
void | report_confitem_types (struct Client *, ConfType, int) |
void | yyerror (const char *) |
int | conf_yy_fatal_error (const char *) |
int | conf_fbgets (char *, unsigned int, FBFILE *) |
void | write_conf_line (struct Client *, struct ConfItem *, const char *, time_t) |
int | remove_conf_line (ConfType, struct Client *, const char *, const char *) |
void | add_temp_line (struct ConfItem *) |
void | cleanup_tklines (void *) |
const char * | get_conf_name (ConfType) |
int | rehash (int) |
int | conf_add_server (struct ConfItem *, const char *) |
void | conf_add_class_to_conf (struct ConfItem *, const char *) |
void | conf_add_d_conf (struct AccessItem *) |
void | parse_csv_file (FBFILE *, ConfType) |
char * | get_oper_name (const struct Client *) |
void * | map_to_conf (struct ConfItem *) |
struct ConfItem * | unmap_conf_item (void *) |
int | parse_aline (const char *, struct Client *, int, char **, int, char **, char **, time_t *, char **, char **) |
int | valid_comment (struct Client *, char *, int) |
int | yylex (void) |
time_t | valid_tkline (char *, int) |
int | match_conf_password (const char *, const struct AccessItem *) |
void | cluster_a_line (struct Client *, const char *, int, int, const char *,...) |
void | rebuild_cidr_class (struct ConfItem *, struct ClassItem *) |
Variabili | |
FBFILE * | conf_fbfile_in |
struct Callback * | client_check_cb |
int | ypass |
dlink_list | class_items |
dlink_list | server_items |
dlink_list | cluster_items |
dlink_list | hub_items |
dlink_list | rxconf_items |
dlink_list | rkconf_items |
dlink_list | leaf_items |
dlink_list | temporary_klines |
dlink_list | temporary_dlines |
dlink_list | temporary_glines |
dlink_list | temporary_xlines |
dlink_list | temporary_rxlines |
dlink_list | temporary_rklines |
struct logging_entry | ConfigLoggingEntry |
struct config_file_entry | ConfigFileEntry |
struct config_channel_entry | ConfigChannel |
struct config_server_hide | ConfigServerHide |
struct server_info | ServerInfo |
struct admin_info | AdminInfo |
#define AWILD 0x1 |
Definizione alla linea 549 del file s_conf.h.
Referenziato da mo_dline(), mo_gline(), mo_kline(), mo_resv(), mo_rxline(), mo_xline(), e parse_aline().
#define BANNED_CLIENT (-4) |
Definizione alla linea 566 del file s_conf.h.
Referenziato da accept_connection(), check_client(), conf_connect_allowed(), e verify_access().
#define CidrBitlenIPV4 | ( | x | ) | ((x)->cidr_bitlen_ipv4) |
Definizione alla linea 174 del file s_conf.h.
Referenziato da cidr_limit_reached(), rebuild_cidr_class(), e remove_from_cidr_check().
#define CidrBitlenIPV6 | ( | x | ) | ((x)->cidr_bitlen_ipv6) |
Definizione alla linea 175 del file s_conf.h.
Referenziato da cidr_limit_reached(), rebuild_cidr_class(), e remove_from_cidr_check().
#define ClassPtr | ( | x | ) | ((x)->class_ptr) |
#define CLEANUP_TKLINES_TIME 60 |
#define ClearConfAllowAutoConn | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_ALLOW_AUTO_CONN) |
#define ClearConfAwayBurst | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_BURST_AWAY) |
#define ClearConfCompressed | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_COMPRESSED) |
#define ClearConfCryptLink | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_CRYPTLINK) |
#define ClearConfEncrypted | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_ENCRYPTED) |
#define ClearConfLazyLink | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_LAZY_LINK) |
#define ClearConfTopicBurst | ( | x | ) | ((x)->flags &= ~CONF_FLAGS_TOPICBURST) |
#define CONF_CLIENT 0x00000002 |
Definizione alla linea 183 del file s_conf.h.
Referenziato da find_address_conf(), make_conf_item(), mo_spoof(), mo_testline(), report_auth(), e stats_auth().
#define CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER_MASK) |
#define CONF_DLINE 0x00000800 |
Definizione alla linea 194 del file s_conf.h.
Referenziato da add_temp_line(), conf_add_d_conf(), find_dline_conf(), make_conf_item(), mo_dline(), stats_deny(), e stats_tdeny().
#define CONF_EXEMPTDLINE 0x00004000 |
Definizione alla linea 197 del file s_conf.h.
Referenziato da check_conf_klines(), conf_connect_allowed(), find_dline_conf(), make_conf_item(), mo_testline(), e stats_exempt().
#define CONF_EXEMPTKLINE 0x00000200 |
Definizione alla linea 192 del file s_conf.h.
Referenziato da find_gline_conf(), e find_kline_conf().
#define CONF_FLAGS_CAN_FLOOD 0x00100000 |
#define CONF_FLAGS_ENCRYPTED 0x00010000 |
#define CONF_FLAGS_EXEMPTGLINE 0x00001000 |
#define CONF_FLAGS_EXEMPTKLINE 0x00000040 |
#define CONF_FLAGS_NEED_IDENTD 0x00000008 |
#define CONF_FLAGS_NEED_PASSWORD 0x00200000 |
#define CONF_FLAGS_NO_TILDE 0x00000004 |
#define CONF_FLAGS_NOLIMIT 0x00000080 |
#define CONF_FLAGS_TEMPORARY 0x00040000 |
Definizione alla linea 249 del file s_conf.h.
Referenziato da add_temp_line(), clear_out_address_conf(), clear_out_old_conf(), delete_conf_item(), report_confitem_types(), report_Klines(), stats_deny(), stats_klines(), stats_tdeny(), e stats_tklines().
#define CONF_GLINE 0x00008000 |
Definizione alla linea 198 del file s_conf.h.
Referenziato da add_temp_line(), find_address_conf(), find_gline(), find_gline_conf(), find_is_glined(), make_conf_item(), e stats_glines().
#define CONF_ILLEGAL 0x80000000 |
Definizione alla linea 181 del file s_conf.h.
Referenziato da clear_out_address_conf(), e delete_one_address_conf().
#define CONF_KILL 0x00000010 |
Definizione alla linea 186 del file s_conf.h.
Referenziato da add_temp_line(), already_placed_kline(), apply_kline(), expire_tklines(), find_address_conf(), find_kline_conf(), mo_testline(), parse_csv_file(), report_Klines(), stats_klines(), e stats_tklines().
#define CONF_KLINE CONF_KILL |
#define CONF_OPERATOR 0x00000008 |
#define CONF_SERVER 0x00000004 |
Definizione alla linea 184 del file s_conf.h.
Referenziato da make_conf_item(), e try_connections().
#define ConFreq | ( | x | ) | ((x)->con_freq) |
Definizione alla linea 164 del file s_conf.h.
Referenziato da close_connection(), init_class(), make_conf_item(), report_confitem_types(), e try_connections().
#define CurrUserCount | ( | x | ) | ((x)->curr_user_count) |
Definizione alla linea 173 del file s_conf.h.
Referenziato da attach_conf(), attach_iline(), check_class(), do_actual_trace(), mo_classlist(), report_confitem_types(), e try_connections().
#define GDENY_BLOCK 0x1 |
Definizione alla linea 315 del file s_conf.h.
Referenziato da do_sgline(), e report_confitem_types().
#define GDENY_REJECT 0x2 |
Definizione alla linea 316 del file s_conf.h.
Referenziato da do_sgline(), e report_confitem_types().
#define I_LINE_FULL (-2) |
#define IsConfAllowAutoConn | ( | x | ) | ((x)->flags & CONF_FLAGS_ALLOW_AUTO_CONN) |
Definizione alla linea 283 del file s_conf.h.
Referenziato da report_confitem_types(), e try_connections().
#define IsConfAwayBurst | ( | x | ) | ((x)->flags & CONF_FLAGS_BURST_AWAY) |
#define IsConfCanFlood | ( | x | ) | ((x)->flags & CONF_FLAGS_CAN_FLOOD) |
Definizione alla linea 258 del file s_conf.h.
Referenziato da flood_attack_channel(), flood_attack_client(), report_and_set_user_flags(), e show_iline_prefix().
#define IsConfClient | ( | x | ) | ((x)->status & CONF_CLIENT) |
#define IsConfCompressed | ( | x | ) | ((x)->flags & CONF_FLAGS_COMPRESSED) |
Definizione alla linea 274 del file s_conf.h.
Referenziato da check_server(), report_confitem_types(), serv_connect_callback(), e server_estab().
#define IsConfCryptLink | ( | x | ) | ((x)->flags & CONF_FLAGS_CRYPTLINK) |
Definizione alla linea 277 del file s_conf.h.
Referenziato da check_server(), conf_add_server(), report_confitem_types(), serv_connect_callback(), e server_estab().
#define IsConfDoIdentd | ( | x | ) | ((x)->flags & CONF_FLAGS_DO_IDENTD) |
#define IsConfDoSpoofIp | ( | x | ) | ((x)->flags & CONF_FLAGS_SPOOF_IP) |
Definizione alla linea 268 del file s_conf.h.
Referenziato da report_and_set_user_flags(), report_auth(), show_iline_prefix(), e verify_access().
#define IsConfEncrypted | ( | x | ) | ((x)->flags & CONF_FLAGS_ENCRYPTED) |
#define IsConfExemptGline | ( | x | ) | ((x)->flags & CONF_FLAGS_EXEMPTGLINE) |
Definizione alla linea 264 del file s_conf.h.
Referenziato da find_address_conf(), report_and_set_user_flags(), e show_iline_prefix().
#define IsConfExemptKline | ( | x | ) | ((x)->flags & CONF_FLAGS_EXEMPTKLINE) |
Definizione alla linea 262 del file s_conf.h.
Referenziato da find_address_conf(), mo_dline(), report_and_set_user_flags(), e show_iline_prefix().
#define IsConfExemptLimits | ( | x | ) | ((x)->flags & CONF_FLAGS_NOLIMIT) |
Definizione alla linea 263 del file s_conf.h.
Referenziato da attach_conf(), attach_iline(), report_and_set_user_flags(), e show_iline_prefix().
#define IsConfExemptResv | ( | x | ) | ((x)->flags & CONF_FLAGS_EXEMPTRESV) |
Definizione alla linea 265 del file s_conf.h.
Referenziato da report_and_set_user_flags(), e show_iline_prefix().
#define IsConfGline | ( | x | ) | ((x)->status == CONF_GLINE) |
#define IsConfHubOrLeaf | ( | x | ) | ((x)->status & (CONF_HUB|CONF_LEAF)) |
#define IsConfIdlelined | ( | x | ) | ((x)->flags & CONF_FLAGS_IDLE_LINED) |
Definizione alla linea 266 del file s_conf.h.
Referenziato da report_and_set_user_flags(), e show_iline_prefix().
#define IsConfIllegal | ( | x | ) | ((x)->status & CONF_ILLEGAL) |
Definizione alla linea 207 del file s_conf.h.
Referenziato da attach_conf(), delete_conf_item(), detach_conf(), e flush_deleted_I_P().
#define IsConfKill | ( | x | ) | ((x)->status == CONF_KILL) |
#define IsConfLazyLink | ( | x | ) | ((x)->flags & CONF_FLAGS_LAZY_LINK) |
Definizione alla linea 280 del file s_conf.h.
Referenziato da check_server(), report_confitem_types(), serv_connect_callback(), e server_estab().
#define IsConfOperator | ( | x | ) | ((x)->status & CONF_OPERATOR) |
#define IsConfRedir | ( | x | ) | ((x)->flags & CONF_FLAGS_REDIR) |
#define IsConfRestricted | ( | x | ) | ((x)->flags & CONF_FLAGS_RESTRICTED) |
#define IsConfServer | ( | x | ) | ((x)->status == CONF_SERVER) |
#define IsConfSpoofNotice | ( | x | ) | ((x)->flags & CONF_FLAGS_SPOOF_NOTICE) |
#define IsConfTemporary | ( | x | ) | ((x)->flags & CONF_FLAGS_TEMPORARY) |
#define IsConfTopicBurst | ( | x | ) | ((x)->flags & CONF_FLAGS_TOPICBURST) |
Definizione alla linea 292 del file s_conf.h.
Referenziato da check_server(), report_confitem_types(), serv_connect_callback(), e server_estab().
#define IsConfTypeOfClient | ( | x | ) | ((x)->status & CONF_CLIENT_MASK) |
#define IsLimitIp | ( | x | ) | ((x)->flags & CONF_FLAGS_LIMIT_IP) |
#define IsNeedIdentd | ( | x | ) | ((x)->flags & CONF_FLAGS_NEED_IDENTD) |
Definizione alla linea 260 del file s_conf.h.
Referenziato da register_local_user(), e show_iline_prefix().
#define IsNeedPassword | ( | x | ) | ((x)->flags & CONF_FLAGS_NEED_PASSWORD) |
Definizione alla linea 259 del file s_conf.h.
Referenziato da find_conf_by_address(), e show_iline_prefix().
#define IsNoMatchIp | ( | x | ) | ((x)->flags & CONF_FLAGS_NOMATCH_IP) |
#define IsNoTilde | ( | x | ) | ((x)->flags & CONF_FLAGS_NO_TILDE) |
Definizione alla linea 257 del file s_conf.h.
Referenziato da register_local_user(), e show_iline_prefix().
#define MaxGlobal | ( | x | ) | ((x)->max_global) |
#define MaxIdent | ( | x | ) | ((x)->max_ident) |
#define MaxLocal | ( | x | ) | ((x)->max_local) |
#define MaxPerIp | ( | x | ) | ((x)->max_perip) |
#define MaxSendq | ( | x | ) | ((x)->max_sendq) |
Definizione alla linea 172 del file s_conf.h.
Referenziato da get_sendq(), init_class(), make_conf_item(), e report_confitem_types().
#define MaxTotal | ( | x | ) | ((x)->max_total) |
Definizione alla linea 167 del file s_conf.h.
Referenziato da attach_iline(), find_conf_exact(), init_class(), make_conf_item(), report_confitem_types(), e try_connections().
#define NOT_AUTHORIZED (-1) |
Definizione alla linea 563 del file s_conf.h.
Referenziato da attach_conf(), attach_iline(), check_client(), e verify_access().
#define NOUSERLOOKUP 0x2 |
Definizione alla linea 550 del file s_conf.h.
Referenziato da find_user_host(), mo_rkline(), e mo_unrkline().
#define NumberPerCidr | ( | x | ) | ((x)->number_per_cidr) |
Definizione alla linea 176 del file s_conf.h.
Referenziato da cidr_limit_reached(), rebuild_cidr_class(), e remove_from_cidr_check().
#define PingFreq | ( | x | ) | ((x)->ping_freq) |
Definizione alla linea 165 del file s_conf.h.
Referenziato da get_conf_ping(), init_class(), make_conf_item(), e report_confitem_types().
#define PingWarning | ( | x | ) | ((x)->ping_warning) |
#define SetConfAllowAutoConn | ( | x | ) | ((x)->flags |= CONF_FLAGS_ALLOW_AUTO_CONN) |
#define SetConfAwayBurst | ( | x | ) | ((x)->flags |= CONF_FLAGS_BURST_AWAY) |
#define SetConfCompressed | ( | x | ) | ((x)->flags |= CONF_FLAGS_COMPRESSED) |
#define SetConfCryptLink | ( | x | ) | ((x)->flags |= CONF_FLAGS_CRYPTLINK) |
#define SetConfEncrypted | ( | x | ) | ((x)->flags |= CONF_FLAGS_ENCRYPTED) |
#define SetConfIllegal | ( | x | ) | ((x)->status |= CONF_ILLEGAL) |
#define SetConfLazyLink | ( | x | ) | ((x)->flags = CONF_FLAGS_LAZY_LINK) |
#define SetConfServer | ( | x | ) | ((x)->status = CONF_SERVER) |
#define SetConfTemporary | ( | x | ) | ((x)->flags |= CONF_FLAGS_TEMPORARY) |
#define SetConfTopicBurst | ( | x | ) | ((x)->flags |= CONF_FLAGS_TOPICBURST) |
#define SHARED_ALL |
Valore:
(SHARED_KLINE | SHARED_TKLINE | SHARED_UNKLINE | \ SHARED_XLINE | SHARED_TXLINE | SHARED_UNXLINE | \ SHARED_RESV | SHARED_TRESV | SHARED_UNRESV |\ SHARED_LOCOPS)
#define SHARED_KLINE 0x0001 |
Definizione alla linea 299 del file s_conf.h.
Referenziato da me_kline(), me_rkline(), mo_kline(), e mo_rkline().
#define SHARED_LOCOPS 0x0200 |
#define SHARED_RESV 0x0040 |
#define SHARED_UNKLINE 0x0004 |
Definizione alla linea 301 del file s_conf.h.
Referenziato da me_unkline(), me_unrkline(), mo_unkline(), e mo_unrkline().
#define SHARED_UNRESV 0x0100 |
#define SHARED_UNXLINE 0x0020 |
Definizione alla linea 304 del file s_conf.h.
Referenziato da mo_unrxline(), mo_unxline(), ms_unrxline(), e ms_unxline().
#define SHARED_XLINE 0x0008 |
Definizione alla linea 302 del file s_conf.h.
Referenziato da mo_rxline(), mo_xline(), ms_rxline(), e relay_xline().
#define TK_MINUTES 1 |
#define TK_SECONDS 0 |
#define TOO_FAST (-5) |
Definizione alla linea 567 del file s_conf.h.
Referenziato da accept_connection(), e conf_connect_allowed().
#define TOO_MANY (-3) |
Definizione alla linea 565 del file s_conf.h.
Referenziato da attach_conf(), attach_iline(), e check_client().
enum ConfType |
void add_temp_line | ( | struct ConfItem * | ) |
Definizione alla linea 2156 del file s_conf.c.
Riferimenti add_conf_by_address(), CONF_DLINE, CONF_FLAGS_TEMPORARY, CONF_GLINE, CONF_KILL, CRESV_TYPE, DLINE_TYPE, dlinkAdd(), ConfItem::flags, GLINE_TYPE, KLINE_TYPE, make_dlink_node(), map_to_conf(), MyFree(), ConfItem::node, NRESV_TYPE, RKLINE_TYPE, RXLINE_TYPE, SetConfTemporary, ConfItem::type, AccessItem::user, e XLINE_TYPE.
Referenziato da apply_tdline(), apply_tkline(), apply_trkline(), check_pings_list(), parse_resv(), set_local_gline(), write_rxline(), e write_xline().
Definizione alla linea 1379 del file s_conf.c.
Riferimenti cidr_limit_reached(), AccessItem::class_ptr, CLIENT_TYPE, AccessItem::clients, LocalUser::confs, CurrUserCount, dlinkAdd(), dlinkFind(), HUB_TYPE, LocalUser::ip, IsConfExemptLimits, IsConfIllegal, LEAF_TYPE, Client::localClient, make_dlink_node(), map_to_conf(), NOT_AUTHORIZED, OPER_TYPE, MatchItem::ref_count, SERVER_TYPE, TOO_MANY, e ConfItem::type.
Referenziato da attach_connect_block(), attach_iline(), check_server(), m_challenge(), e m_oper().
int attach_connect_block | ( | struct Client * | , | |
const char * | , | |||
const char * | ||||
) |
Definizione alla linea 1422 del file s_conf.c.
Riferimenti attach_conf(), _dlink_node::data, DLINK_FOREACH, _dlink_list::head, AccessItem::host, map_to_conf(), match(), e ConfItem::name.
Referenziato da serv_connect().
void check_class | ( | void | ) |
Definizione alla linea 2909 del file s_conf.c.
Riferimenti ClassItem::active, CurrUserCount, _dlink_node::data, delete_conf_item(), destroy_cidr_class(), DLINK_FOREACH_SAFE, _dlink_list::head, e map_to_conf().
Referenziato da main(), e read_conf().
void cleanup_tklines | ( | void * | ) |
Definizione alla linea 2213 del file s_conf.c.
Riferimenti expire_tklines().
Referenziato da main().
void cluster_a_line | ( | struct Client * | , | |
const char * | , | |||
int | , | |||
int | , | |||
const char * | , | |||
... | ||||
) |
Definizione alla linea 3575 del file s_conf.c.
Riferimenti buffer, CAP_CLUSTER, _dlink_node::data, DLINK_FOREACH, ConfItem::flags, _dlink_list::head, IRCD_BUFSIZE, ConfItem::name, sendto_match_servs(), e vsnprintf().
Referenziato da m_locops(), mo_kline(), mo_resv(), mo_rkline(), mo_rxline(), mo_unkline(), mo_unresv(), mo_unrkline(), mo_unrxline(), mo_unxline(), e mo_xline().
void conf_add_class_to_conf | ( | struct ConfItem * | , | |
const char * | ||||
) |
Definizione alla linea 2996 del file s_conf.c.
Riferimenti AccessItem::class_ptr, CLIENT_TYPE, find_class(), AccessItem::host, L_ALL, map_to_conf(), ConfItem::name, sendto_realops_flags(), ConfItem::type, UMODE_ALL, e AccessItem::user.
Referenziato da conf_add_server().
void conf_add_d_conf | ( | struct AccessItem * | ) |
Definizione alla linea 3098 del file s_conf.c.
Riferimenti add_conf_by_address(), CONF_DLINE, free_access_item(), HM_HOST, AccessItem::host, ilog(), L_WARN, MyFree(), parse_netmask(), e AccessItem::user.
Referenziato da parse_csv_file().
int conf_add_server | ( | struct ConfItem * | , | |
const char * | ||||
) |
Definizione alla linea 3042 del file s_conf.c.
Riferimenti conf_add_class_to_conf(), DupString, EmptyString, AccessItem::host, HOSTLEN, split_nuh_item::hostptr, split_nuh_item::hostsize, ilog(), IsConfCryptLink, L_ALL, L_WARN, lookup_confhost(), map_to_conf(), MyFree(), ConfItem::name, split_nuh_item::nickptr, split_nuh_item::nicksize, split_nuh_item::nuhmask, AccessItem::passwd, sendto_realops_flags(), split_nuh(), UMODE_ALL, AccessItem::user, USERLEN, split_nuh_item::userptr, e split_nuh_item::usersize.
int conf_connect_allowed | ( | struct irc_ssaddr * | , | |
int | ||||
) |
Definizione alla linea 2054 del file s_conf.c.
Riferimenti BANNED_CLIENT, CONF_EXEMPTDLINE, ConfigFileEntry, CurrentTime, find_dline_conf(), find_or_add_ip(), ip_entry::last_attempt, AccessItem::status, config_file_entry::throttle_time, e TOO_FAST.
Referenziato da accept_connection().
int conf_fbgets | ( | char * | , | |
unsigned | int, | |||
FBFILE * | ||||
) |
void count_ip_hash | ( | int * | , | |
unsigned long * | ||||
) |
Definizione alla linea 1241 del file s_conf.c.
Riferimenti IP_HASH_SIZE, e ip_entry::next.
Referenziato da count_memory().
void delete_conf_item | ( | struct ConfItem * | ) |
Definizione alla linea 367 del file s_conf.c.
Riferimenti AccessItem::class_ptr, CLASS_TYPE, CLIENT_TYPE, CLUSTER_TYPE, CONF_FLAGS_TEMPORARY, CRESV_TYPE, delete_resolver_queries(), DLINE_TYPE, dlinkDelete(), dlinkFindDelete(), AccessItem::dns_query, EXEMPTDLINE_TYPE, AccessItem::fakename, ConfItem::flags, free_dlink_node(), GDENY_TYPE, GLINE_TYPE, MatchItem::host, AccessItem::host, HUB_TYPE, MatchItem::illegal, IsConfIllegal, KLINE_TYPE, LEAF_TYPE, map_to_conf(), MyFree(), ConfItem::name, ConfItem::node, NRESV_TYPE, MatchItem::oper_reason, AccessItem::oper_reason, OPER_TYPE, AccessItem::passwd, MatchItem::reason, AccessItem::reason, AccessItem::regexhost, ConfItem::regexpname, AccessItem::regexuser, RKLINE_TYPE, AccessItem::rsa_public_key, AccessItem::rsa_public_key_file, RXLINE_TYPE, SERVER_TYPE, AccessItem::spasswd, ConfItem::type, ULINE_TYPE, MatchItem::user, AccessItem::user, e XLINE_TYPE.
Referenziato da check_class(), clear_out_old_conf(), conf_dns_callback(), delete_channel_resv(), detach_conf(), expire_tklines(), flush_deleted_I_P(), free_access_item(), remove_resv(), remove_trkline_match(), remove_txline(), e remove_txline_match().
Definizione alla linea 1306 del file s_conf.c.
Riferimenti ClassItem::active, ClassPtr, CLIENT_TYPE, AccessItem::clients, CONF_TYPE, LocalUser::confs, ClassItem::curr_user_count, _dlink_node::data, delete_conf_item(), DLINK_FOREACH_SAFE, dlinkDelete(), free_dlink_node(), _dlink_list::head, HUB_TYPE, MatchItem::illegal, LocalUser::ip, IsConfIllegal, LEAF_TYPE, Client::localClient, map_to_conf(), OPER_TYPE, MatchItem::ref_count, remove_from_cidr_check(), SERVER_TYPE, e ConfItem::type.
Referenziato da close_connection(), server_estab(), e set_user_mode().
struct ConfItem* find_class | ( | const char * | ) | [read] |
Definizione alla linea 2892 del file s_conf.c.
Riferimenti CLASS_TYPE, e find_exact_name_conf().
Referenziato da conf_add_class_to_conf().
Definizione alla linea 1461 del file s_conf.c.
Riferimenti AccessItem::class_ptr, AccessItem::clients, _dlink_node::data, DLINK_FOREACH, AccessItem::host, irccmp(), map_to_conf(), map_to_list(), match(), MaxTotal, ConfItem::name, OPER_TYPE, e AccessItem::user.
Referenziato da close_connection(), e m_challenge().
struct ConfItem* find_conf_name | ( | dlink_list * | , | |
const char * | , | |||
ConfType | ||||
) | [read] |
Definizione alla linea 1515 del file s_conf.c.
Riferimenti _dlink_node::data, DLINK_FOREACH, _dlink_list::head, irccmp(), match(), ConfItem::name, e ConfItem::type.
Referenziato da cryptlink_auth(), cryptlink_serv(), serv_connect_callback(), e server_estab().
struct ConfItem* find_exact_name_conf | ( | ConfType | , | |
const char * | , | |||
const char * | , | |||
const char * | ||||
) | [read] |
Definizione alla linea 1666 del file s_conf.c.
Riferimenti CLASS_TYPE, _dlink_node::data, DLINK_FOREACH, EmptyString, _dlink_list::head, AccessItem::host, MatchItem::host, irccmp(), map_to_conf(), map_to_list(), match(), ConfItem::name, NRESV_TYPE, OPER_TYPE, RXLINE_TYPE, SERVER_TYPE, ULINE_TYPE, AccessItem::user, MatchItem::user, e XLINE_TYPE.
Referenziato da find_class(), find_password_conf(), m_challenge(), m_oper(), remove_resv(), e set_autoconn().
struct AccessItem* find_gline | ( | struct Client * | ) | [read] |
Definizione alla linea 2132 del file s_conf.c.
Riferimenti LocalUser::aftype, CONF_GLINE, find_gline_conf(), Client::host, LocalUser::ip, Client::localClient, AccessItem::status, e Client::username.
Referenziato da check_conf_klines().
struct AccessItem* find_kill | ( | struct Client * | ) | [read] |
Definizione alla linea 2108 del file s_conf.c.
Riferimenti LocalUser::aftype, CONF_KLINE, find_kline_conf(), find_regexp_kline(), Client::host, LocalUser::ip, Client::localClient, Client::sockhost, AccessItem::status, e Client::username.
Referenziato da check_conf_klines().
struct ConfItem* find_matching_name_conf | ( | ConfType | , | |
const char * | , | |||
const char * | , | |||
const char * | , | |||
int | ||||
) | [read] |
Definizione alla linea 1591 del file s_conf.c.
Riferimenti MatchItem::action, _dlink_node::data, DLINK_FOREACH, EmptyString, _dlink_list::head, AccessItem::host, MatchItem::host, ircd_pcre_exec(), map_to_conf(), map_to_list(), match(), match_esc(), ConfItem::name, NRESV_TYPE, ConfItem::regexpname, RXLINE_TYPE, SERVER_TYPE, ULINE_TYPE, MatchItem::user, e XLINE_TYPE.
Referenziato da check_conf_klines(), check_xline(), create_nick_resv(), m_nick(), me_kline(), me_rkline(), me_unkline(), me_unrkline(), mo_connect(), mo_testgecos(), mo_testline(), mo_xline(), mr_nick(), ms_connect(), ms_locops(), ms_resv(), ms_rxline(), ms_unresv(), ms_unrxline(), ms_unxline(), e relay_xline().
void free_access_item | ( | struct AccessItem * | ) |
Definizione alla linea 562 del file s_conf.c.
Riferimenti delete_conf_item(), e unmap_conf_item().
Referenziato da clear_out_address_conf(), conf_add_d_conf(), e delete_one_address_conf().
const char* get_client_class | ( | struct Client * | ) |
Definizione alla linea 2827 del file s_conf.c.
Riferimenti AccessItem::class_ptr, CLIENT_TYPE, LocalUser::confs, _dlink_node::data, DLINK_FOREACH, _dlink_list::head, IsMe, Client::localClient, map_to_conf(), ConfItem::name, OPER_TYPE, SERVER_TYPE, e ConfItem::type.
Referenziato da do_actual_trace(), do_ctrace(), do_ltrace(), register_local_user(), e report_this_status().
int get_client_ping | ( | struct Client * | , | |
int * | ||||
) |
Definizione alla linea 2861 del file s_conf.c.
Riferimenti CLIENT_TYPE, LocalUser::confs, _dlink_node::data, DEFAULT_PINGFREQUENCY, DLINK_FOREACH, get_conf_ping(), _dlink_list::head, Client::localClient, OPER_TYPE, SERVER_TYPE, e ConfItem::type.
Referenziato da check_pings_list().
const char* get_conf_name | ( | ConfType | ) |
Definizione alla linea 2752 del file s_conf.c.
Riferimenti CONF_TYPE, config_file_entry::configfile, ConfigFileEntry, CRESV_TYPE, config_file_entry::cresvfile, DLINE_TYPE, config_file_entry::dlinefile, GLINE_TYPE, config_file_entry::glinefile, KLINE_TYPE, config_file_entry::klinefile, NRESV_TYPE, config_file_entry::nresvfile, RKLINE_TYPE, config_file_entry::rklinefile, RXLINE_TYPE, config_file_entry::rxlinefile, XLINE_TYPE, e config_file_entry::xlinefile.
Referenziato da parse_conf_file(), read_conf_files(), remove_conf_line(), e write_conf_line().
char* get_oper_name | ( | const struct Client * | ) |
Definizione alla linea 2387 del file s_conf.c.
Riferimenti buffer, LocalUser::confs, _dlink_node::data, DLINK_FOREACH, _dlink_list::head, Client::host, HOSTLEN, ircsprintf(), IsConfOperator, Client::localClient, map_to_conf(), MyConnect, ConfItem::name, Client::name, NICKLEN, Client::servptr, USERLEN, e Client::username.
Referenziato da apply_tdline(), apply_tkline(), apply_trkline(), do_sgline(), me_unkline(), me_unrkline(), mo_die(), mo_gline(), mo_jupe(), mo_rehash(), mo_restart(), mo_undline(), mo_ungline(), mo_unkline(), mo_unrkline(), operspy_log(), parse_resv(), quote_identtimeout(), quote_splitmode(), remove_resv(), remove_xline(), set_local_gline(), write_conf_line(), write_rxline(), e write_xline().
unsigned long get_sendq | ( | struct Client * | ) |
Definizione alla linea 2956 del file s_conf.c.
Riferimenti AccessItem::class_ptr, CLIENT_TYPE, LocalUser::confs, _dlink_node::data, DEFAULT_SENDQ, DLINK_FOREACH, _dlink_list::head, IsMe, Client::localClient, map_to_conf(), MaxSendq, OPER_TYPE, SERVER_TYPE, e ConfItem::type.
Referenziato da exceeding_sendq(), e send_message().
void init_class | ( | void | ) |
Definizione alla linea 2932 del file s_conf.c.
Riferimenti ClassItem::active, check_client(), CLASS_TYPE, ConFreq, DEFAULT_CONNECTFREQUENCY, DEFAULT_PINGFREQUENCY, DEFAULT_SENDQ, DupString, make_conf_item(), map_to_conf(), MAXIMUM_LINKS_DEFAULT, MaxSendq, MaxTotal, ConfItem::name, PingFreq, e register_callback().
Referenziato da main().
void init_ip_hash_table | ( | void | ) |
Definizione alla linea 1075 del file s_conf.c.
Riferimenti BlockHeapCreate(), e hard_fdlimit.
Referenziato da main().
Definizione alla linea 221 del file s_conf.c.
Riferimenti ClassItem::active, AccessItem::aftype, CLASS_TYPE, CLIENT_TYPE, CLUSTER_TYPE, CONF_CLIENT, CONF_DLINE, CONF_EXEMPTDLINE, CONF_GLINE, CONF_KLINE, CONF_OPERATOR, CONF_SERVER, ConFreq, CRESV_TYPE, DEFAULT_CONNECTFREQUENCY, DEFAULT_PINGFREQUENCY, DEFAULT_SENDQ, DLINE_TYPE, dlinkAdd(), EXEMPTDLINE_TYPE, GDENY_TYPE, GLINE_TYPE, HUB_TYPE, KLINE_TYPE, LEAF_TYPE, map_to_conf(), MAXIMUM_LINKS_DEFAULT, MaxSendq, MaxTotal, MyMalloc(), ConfItem::node, NRESV_TYPE, OPER_TYPE, PingFreq, RKLINE_TYPE, RXLINE_TYPE, SERVER_TYPE, AccessItem::status, ConfItem::type, ULINE_TYPE, e XLINE_TYPE.
Referenziato da check_pings_list(), create_channel_resv(), create_nick_resv(), init_class(), me_kline(), me_rkline(), mo_dline(), mo_kline(), mo_rkline(), parse_csv_file(), set_local_gline(), write_rxline(), e write_xline().
void* map_to_conf | ( | struct ConfItem * | ) | [inline] |
Definizione alla linea 146 del file s_conf.c.
Referenziato da add_temp_line(), already_placed_rkline(), already_placed_rxline(), apply_kline(), apply_tdline(), apply_tkline(), apply_trkline(), attach_conf(), attach_connect_block(), attach_iline(), ban_them(), check_class(), check_pings_list(), check_server(), check_xline(), clear_out_old_conf(), close_connection(), conf_add_class_to_conf(), conf_add_server(), create_channel_resv(), create_nick_resv(), cryptlink_auth(), cryptlink_serv(), delete_conf_item(), detach_conf(), do_actual_trace(), do_sgline(), expire_tklines(), find_conf_exact(), find_exact_name_conf(), find_matching_name_conf(), find_regexp_kline(), flush_deleted_I_P(), get_client_class(), get_conf_ping(), get_oper_name(), get_sendq(), init_class(), lookup_confhost(), m_challenge(), m_oper(), make_conf_item(), me_kline(), me_rkline(), mo_classlist(), mo_connect(), mo_dline(), mo_kline(), mo_rkline(), mo_testgecos(), mo_testline(), mo_xline(), ms_connect(), ms_server(), ms_sid(), my_name_for_link(), oper_up(), parse_csv_file(), parse_resv(), rebuild_cidr_class(), rebuild_cidr_list(), register_local_user(), relay_xline(), remove_gline_match(), remove_resv(), remove_tdline_match(), remove_tkline_match(), remove_trkline_match(), report_confitem_types(), report_resv(), sendnick_TS(), serv_connect_callback(), server_estab(), set_autoconn(), set_local_gline(), try_connections(), write_conf_line(), write_rxline(), e write_xline().
int match_conf_password | ( | const char * | , | |
const struct AccessItem * | ||||
) |
Definizione alla linea 3536 del file s_conf.c.
Riferimenti CONF_FLAGS_ENCRYPTED, crypt(), AccessItem::flags, e AccessItem::passwd.
Referenziato da find_conf_by_address(), m_oper(), e register_local_user().
char* oper_privs_as_string | ( | const unsigned | int | ) |
Definizione alla linea 2360 del file s_conf.c.
Riferimenti oper_privs::c, flag_list, oper_privs::oprivs, e ToLowerTab.
Referenziato da oper_up(), report_confitem_types(), e stats_operedup().
int parse_aline | ( | const char * | , | |
struct Client * | , | |||
int | , | |||
char ** | , | |||
int | , | |||
char ** | , | |||
char ** | , | |||
time_t * | , | |||
char ** | , | |||
char ** | ||||
) |
Definizione alla linea 3295 del file s_conf.c.
Riferimenti AWILD, EmptyString, ERR_NEEDMOREPARAMS, ERR_NOPRIVS, find_user_host(), form_str(), HOSTLEN, irccmp(), IsOperRemoteBan, me, Client::name, sendto_one(), TK_MINUTES, USERLEN, valid_comment(), valid_tkline(), valid_wild_card(), e YES.
Referenziato da mo_dline(), mo_gline(), mo_kline(), mo_resv(), mo_rkline(), mo_rxline(), mo_ungline(), mo_unkline(), mo_unresv(), mo_unrkline(), mo_unrxline(), mo_unxline(), e mo_xline().
Definizione alla linea 46 del file csvlib.c.
Riferimenti add_conf_by_address(), CLASS_TYPE, CLIENT_TYPE, CLUSTER_TYPE, conf_add_d_conf(), CONF_KILL, CONF_TYPE, create_channel_resv(), create_nick_resv(), CRESV_TYPE, DLINE_TYPE, DupString, EXEMPTDLINE_TYPE, fbgets(), GDENY_TYPE, GLINE_TYPE, AccessItem::host, HUB_TYPE, IRCD_BUFSIZE, ircd_pcre_compile(), KLINE_TYPE, L_ALL, LEAF_TYPE, make_conf_item(), map_to_conf(), ConfItem::name, NRESV_TYPE, MatchItem::oper_reason, OPER_TYPE, parse_csv_line(), MatchItem::reason, AccessItem::reason, AccessItem::regexhost, ConfItem::regexpname, AccessItem::regexuser, RKLINE_TYPE, RXLINE_TYPE, sendto_realops_flags(), SERVER_TYPE, ULINE_TYPE, UMODE_ALL, AccessItem::user, e XLINE_TYPE.
Referenziato da parse_conf_file().
void read_conf_files | ( | int | ) |
Definizione alla linea 2430 del file s_conf.c.
Riferimenti add_isupport(), clear_out_old_conf(), CONF_TYPE, conffilebuf, ConfigChannel, ConfigFileEntry, CRESV_TYPE, config_channel_entry::disable_local_channels, DLINE_TYPE, fbclose(), fbopen(), get_conf_name(), ilog(), ircsprintf(), KLINE_TYPE, L_ALL, L_CRIT, LOCAL_CHANNELLEN, config_channel_entry::max_bans, config_channel_entry::max_chans_per_user, config_file_entry::max_targets, server_info::network_name, NRESV_TYPE, parse_conf_file(), read_conf(), rebuild_isupport_message_line(), RKLINE_TYPE, RXLINE_TYPE, sendto_realops_flags(), ServerInfo, strlcpy(), UMODE_ALL, config_channel_entry::use_except, config_channel_entry::use_invex, e XLINE_TYPE.
Definizione alla linea 3880 del file s_conf.c.
Riferimenti CidrBitlenIPV4, CidrBitlenIPV6, destroy_cidr_class(), ClassItem::list_ipv4, ClassItem::list_ipv6, map_to_conf(), NumberPerCidr, e rebuild_cidr_list().
int rehash | ( | int | ) |
Definizione alla linea 1770 del file s_conf.c.
Riferimenti check_can_use_v6(), ConfigLoggingEntry, server_info::description, flush_deleted_I_P(), Client::info, L_ALL, load_conf_modules(), logFileName, me, read_conf_files(), rehashed_klines, reopen_log(), restart_resolver(), sendto_realops_flags(), ServerInfo, strlcpy(), UMODE_ALL, e logging_entry::use_logging.
Referenziato da io_loop(), mo_delspoof(), mo_rehash(), mo_spoof(), e remove_conf_line().
Definizione alla linea 572 del file csvlib.c.
Riferimenti buf, fbclose(), fbgets(), fbopen(), flush_write(), get_conf_name(), getfield(), irccmp(), IRCD_BUFSIZE, ircsprintf(), me, Client::name, rehash(), RKLINE_TYPE, RXLINE_TYPE, sendto_one(), e strlcpy().
Referenziato da me_unkline(), me_unrkline(), mo_undline(), mo_unkline(), mo_unrkline(), remove_resv(), e remove_xline().
void remove_one_ip | ( | struct irc_ssaddr * | ) |
Definizione alla linea 1147 del file s_conf.c.
Riferimenti BlockHeapFree(), ConfigFileEntry, ip_entry::count, CurrentTime, hash_ip(), ip_entry::ip, ip_entries_count, ip_entry::last_attempt, ip_entry::next, irc_ssaddr::ss, e config_file_entry::throttle_time.
Referenziato da exit_client().
Definizione alla linea 583 del file s_conf.c.
Riferimenti MatchItem::action, ClassItem::active, buf, AccessItem::class_ptr, CLASS_TYPE, CLIENT_TYPE, CLUSTER_TYPE, CONF_FLAGS_TEMPORARY, CONF_TYPE, ConfigServerHide, ConFreq, MatchItem::count, CRESV_TYPE, CurrUserCount, _dlink_node::data, DLINE_TYPE, DLINK_FOREACH, EXEMPTDLINE_TYPE, AccessItem::fakename, ConfItem::flags, AccessItem::flags, flags_to_ascii(), form_str(), GDENY_BLOCK, GDENY_REJECT, GDENY_TYPE, GLINE_TYPE, _dlink_list::head, config_server_hide::hide_server_ips, MatchItem::hold, MatchItem::host, AccessItem::host, HUB_TYPE, IsAdmin, IsConfAllowAutoConn, IsConfCompressed, IsConfCryptLink, IsConfLazyLink, IsConfTopicBurst, IsOper, KLINE_TYPE, LEAF_TYPE, map_to_conf(), MaxSendq, MaxTotal, me, ConfItem::name, Client::name, NRESV_TYPE, oper_privs_as_string(), AccessItem::oper_reason, OPER_TYPE, PingFreq, AccessItem::port, AccessItem::reason, MatchItem::reason, RKLINE_TYPE, RPL_STATSCLINE, RPL_STATSDEBUG, RPL_STATSHLINE, RPL_STATSKLINE, RPL_STATSLLINE, RPL_STATSOLINE, RPL_STATSULINE, RPL_STATSXLINE, RPL_STATSYLINE, RXLINE_TYPE, sendto_one(), SERVER_TYPE, shared_bit_table, ULINE_TYPE, MatchItem::user, AccessItem::user, e XLINE_TYPE.
Referenziato da stats_class(), stats_connect(), stats_gdeny(), stats_gecos(), stats_hubleaf(), stats_klines(), stats_oper(), stats_shared(), e stats_tklines().
void split_nuh | ( | struct split_nuh_item * | ) |
Definizione alla linea 3625 del file s_conf.c.
Riferimenti split_nuh_item::hostptr, split_nuh_item::hostsize, split_nuh_item::nickptr, split_nuh_item::nicksize, split_nuh_item::nuhmask, strlcpy(), split_nuh_item::userptr, e split_nuh_item::usersize.
Referenziato da add_id(), conf_add_server(), del_id(), mo_killhost(), mo_testline(), e mo_testmask().
struct ConfItem* unmap_conf_item | ( | void * | ) | [read] |
Definizione alla linea 155 del file s_conf.c.
Referenziato da check_conf_klines(), conf_dns_callback(), delete_channel_resv(), free_access_item(), report_auth(), serv_connect(), stats_auth(), stats_deny(), stats_exempt(), stats_tdeny(), stats_tklines(), e verify_access().
int valid_comment | ( | struct Client * | , | |
char * | , | |||
int | ||||
) |
Definizione alla linea 3512 del file s_conf.c.
Riferimenti me, Client::name, REASONLEN, e sendto_one().
Referenziato da mo_dline(), e parse_aline().
time_t valid_tkline | ( | char * | , | |
int | ||||
) |
Definizione alla linea 3169 del file s_conf.c.
Riferimenti IsDigit, e MAX_TDKLINE_TIME.
Referenziato da me_kline(), me_rkline(), e parse_aline().
int valid_wild_card | ( | struct Client * | , | |
int | , | |||
int | , | |||
... | ||||
) |
Definizione alla linea 3217 del file s_conf.c.
Riferimenti ConfigFileEntry, IsKWildChar, me, config_file_entry::min_nonwildcard, Client::name, e sendto_one().
Referenziato da do_sgline(), mo_capture(), mo_killhost(), e parse_aline().
Definizione alla linea 239 del file csvlib.c.
Riferimenti MatchItem::action, CAP_TS6, CRESV_TYPE, DLINE_TYPE, fbclose(), fbopen(), Client::from, from, get_conf_name(), get_oper_name(), HasID, AccessItem::host, Client::id, ilog(), IsCapable, KLINE_TYPE, L_ALL, L_TRACE, LOG_DLINE_TYPE, LOG_KLINE_TYPE, log_oper_action(), LOG_RKLINE_TYPE, map_to_conf(), me, MyConnect, ResvChannel::name, ConfItem::name, Client::name, NRESV_TYPE, MatchItem::oper_reason, AccessItem::oper_reason, ResvChannel::reason, MatchItem::reason, AccessItem::reason, RKLINE_TYPE, RXLINE_TYPE, sendto_one(), sendto_realops_flags(), to, ConfItem::type, UMODE_ALL, AccessItem::user, write_csv_line(), e XLINE_TYPE.
Referenziato da apply_kline(), apply_rkline(), mo_dline(), parse_resv(), write_rxline(), e write_xline().
void yyerror | ( | const char * | ) |
Definizione alla linea 3129 del file s_conf.c.
Riferimenti conffilebuf, ilog(), IRCD_BUFSIZE, L_ALL, L_WARN, linebuf, lineno, sendto_realops_flags(), strip_tabs(), UMODE_ALL, e ypass.
int yylex | ( | void | ) |
struct admin_info AdminInfo |
Definizione alla linea 79 del file ircd.c.
Referenziato da clear_out_old_conf(), do_admin(), e set_default_conf().
Definizione alla linea 76 del file s_conf.c.
Referenziato da count_memory(), do_actual_trace(), e mo_classlist().
struct Callback* client_check_cb |
Definizione alla linea 48 del file channel.c.
Referenziato da add_id(), add_invite(), can_join(), can_send(), check_channel_name(), check_splitmode(), chm_except(), chm_invex(), confopts(), initialize_global_set_options(), is_banned(), m_join(), m_knock(), mo_forcejoin(), ms_lljoin(), parse_knock_local(), read_conf_files(), send_knock(), send_tb(), e set_default_conf().
struct config_file_entry ConfigFileEntry |
Definizione alla linea 75 del file ircd.c.
Referenziato da add_connection(), ban_them(), build_target_list(), can_send(), change_local_nick(), check_conf_klines(), clear_out_old_conf(), conf_connect_allowed(), confopts(), cryptlink_serv(), do_links(), do_ltrace(), do_motd(), do_sgline(), do_whois(), exit_client(), expire_tklines(), failed_challenge_notice(), failed_oper_notice(), find_chasing(), fork_server(), garbage_collect_ip_entries(), get_client_name(), get_conf_name(), get_randomness(), handle_special(), initialize_global_set_options(), initialize_message_files(), io_loop(), m_accept(), m_admin(), m_away(), m_challenge(), m_help(), m_info(), m_join(), m_links(), m_list(), m_lusers(), m_map(), m_mkpasswd(), m_motd(), m_nick(), m_omotd(), m_ping(), m_quit(), m_stats(), m_time(), m_users(), m_version(), m_whois(), m_whowas(), main(), mo_gline(), mo_kill(), mo_links(), mo_motd(), mo_oper(), mo_rehash(), mo_spoof(), mo_ungline(), mr_admin(), mr_motd(), mr_pong(), mr_server(), ms_join(), ms_kill(), ms_sjoin(), ms_svinfo(), msg_client(), oper_up(), parse_client_queued(), parse_resv(), part_one_client(), print_startup(), read_conf_files(), read_packet(), register_local_user(), remove_one_ip(), report_auth(), report_this_status(), send_capabilities(), server_estab(), set_default_conf(), set_local_gline(), set_user_mode(), start_auth(), start_io(), stats_auth(), stats_exempt(), stats_gdeny(), stats_glines(), stats_klines(), stats_oper(), stats_pending_glines(), stats_ports(), stats_tklines(), stats_uptime(), user_welcome(), valid_username(), valid_wild_card(), valid_wild_card_simple(), valid_xline(), validate_conf(), verify_access(), who_global(), whois_person(), e write_links_file().
struct logging_entry ConfigLoggingEntry |
Definizione alla linea 82 del file ircd.c.
Referenziato da ilog(), log_oper_action(), log_user_exit(), rehash(), e set_default_conf().
Definizione alla linea 63 del file s_conf.c.
Referenziato da do_links(), do_numeric(), do_who(), exit_client(), get_client_name(), m_invite(), m_links(), m_map(), m_motd(), m_topic(), m_users(), main(), mo_connect(), mo_users(), ms_join(), ms_kill(), ms_sjoin(), ms_tburst(), ms_topic(), remove_a_mode(), report_confitem_types(), send_mode_changes(), serv_connect_callback(), server_estab(), set_default_conf(), set_topic(), show_lusers(), stats_servlinks(), try_connections(), who_common_channel(), whois_person(), whowas_do(), e write_links_file().
Definizione alla linea 68 del file s_conf.c.
Referenziato da check_server(), ms_server(), e ms_sid().
Definizione alla linea 69 del file s_conf.c.
Referenziato da check_server(), ms_server(), e ms_sid().
struct server_info ServerInfo |
Definizione alla linea 77 del file ircd.c.
Referenziato da add_connection(), add_listener(), build_target_list(), changing_fdlimit(), check_can_use_v6(), clear_out_old_conf(), client_burst_if_needed(), client_from_server(), confopts(), cryptlink_auth(), cryptlink_serv(), destroy_channel(), do_sgline(), do_whois(), exit_client(), init_ssl(), init_uid(), initialize_server_capabs(), introduce_client(), kh_relay_kill(), kill_client_ll_serv_butone(), m_invite(), m_ison(), m_knock(), m_message(), m_nick(), m_ping(), m_topic(), m_userhost(), main(), mo_jupe(), mr_nick(), mr_server(), ms_ison(), ms_list(), ms_names(), ms_nburst(), ms_sjoin(), ms_uid(), ms_who(), nick_from_server(), parse_cryptserv_args(), parse_knock_local(), perform_nick_collides(), quote_max(), read_conf_files(), register_local_user(), rehash(), relay_kill(), send_message_remote(), send_umode_out(), sendto_server(), serv_connect(), serv_connect_callback(), server_burst(), server_estab(), set_default_conf(), user_welcome(), validate_conf(), verify_private_key(), whois_person(), e whowas_do().
int ypass |