[server]
name = "ironchatd.local"
description = "IronChat IRC Server - Modern IRCv3 Implementation"
listen_addresses = ["127.0.0.1:6667", "0.0.0.0:6667"]
tls_listen_addresses = ["127.0.0.1:6697", "0.0.0.0:6697"]
motd_file = "motd.txt"
[network]
name = "IronChat"
admin_name = "Server Administrator"
admin_email = "admin@example.com"
server_id = "001"
[database]
url = "sqlite://ironchatd.db"
max_connections = 10
connection_timeout = 30
[security]
require_tls = false
min_tls_version = "1.2"
password_hash_algorithm = "argon2"
[limits]
max_clients = 10000
max_clients_per_ip = 10
max_channels_per_user = 50
max_nickname_length = 30
max_channel_name_length = 50
max_topic_length = 390
max_message_length = 512
max_away_length = 255
max_kick_reason_length = 255
ping_frequency = 120
ping_timeout = 60
flood_messages = 10
flood_interval = 1
throttle_duration = 60
[features]
enable_sasl = true
enable_message_tags = true
enable_server_time = true
enable_account_notify = true
enable_account_tag = true
enable_away_notify = true
enable_batch = true
enable_cap_notify = true
enable_chghost = true
enable_echo_message = true
enable_extended_join = true
enable_invite_notify = true
enable_labeled_response = true
enable_monitor = true
enable_multi_prefix = true
enable_setname = true
enable_standard_replies = true
enable_userhost_in_names = true
enable_bot_mode = true
enable_utf8only = true
enable_strict_transport_security = true
enable_chathistory = true
enable_message_redaction = true
enable_account_extban = true
enable_metadata_2 = true
enable_multiline = true
enable_read_marker = true
enable_relaymsg = true
enable_typing = true
enable_pre_away = true
enable_websocket = false
enable_ctcp = true
enable_dcc = false
[features.advanced]
redaction_window_seconds = 3600
max_stored_messages = 10000
multiline_max_bytes = 4096
multiline_max_lines = 100
typing_timeout_seconds = 30
typing_throttle_seconds = 3
read_marker_auto_send = true
chathistory_max_messages = 1000
chathistory_retention_days = 30
[logging]
level = "info"
format = "pretty"
file = "/var/log/ironchatd/server.log"
max_file_size = "100MB"
max_files = 10
[defaults]
channel_modes = "nt"
user_modes = ""
[motd]
content = """
Welcome to IronChat IRC Network!
This server is running IronChatD - a modern IRC server written in Rust.
Features:
- Full IRCv3 protocol support
- SASL authentication
- TLS encryption available on port 6697
- Advanced channel management
- Flood protection and security features
For help, join #help or contact an operator.
Please follow the network rules and be respectful to other users.
Enjoy your stay!
"""
[security.advanced]
enable_connection_throttling = true
connection_throttle_rate = 10
connection_throttle_burst = 50
resolve_hostnames = true
hostname_timeout = 5
enable_ident = false
ident_timeout = 3
max_bans_per_channel = 100
ban_expire_time = 86400
[monitoring]
enable_metrics = true
metrics_bind = "127.0.0.1:9090"
enable_health_check = true
health_check_bind = "127.0.0.1:8080"
collect_statistics = true
statistics_interval = 60
[linking]
enabled = false