-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathsettings.env
More file actions
111 lines (94 loc) · 3.77 KB
/
settings.env
File metadata and controls
111 lines (94 loc) · 3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Network listeners for core OSCAR services. For multi-homed servers, allows
# users to connect from multiple networks. For example, you can allow both LAN
# and Internet clients to connect to the same server using different connection
# settings.
#
# Format:
# - Comma-separated list of [NAME]://[HOSTNAME]:[PORT]
# - Listener names and ports must be unique
# - Listener names are user-defined
# - Each listener needs a listener in OSCAR_ADVERTISED_LISTENERS_PLAIN
#
# Examples:
# // Listen on all interfaces
# LAN://0.0.0.0:5190
# // Separate Internet and LAN config
# WAN://142.250.176.206:5190,LAN://192.168.1.10:5191
export OSCAR_LISTENERS=LOCAL://0.0.0.0:5190
# Hostnames published by the server that clients connect to for accessing
# various OSCAR services. These hostnames are NOT the bind addresses. For
# multi-homed use servers, allows clients to connect using separate hostnames
# per network.
#
# Format:
# - Comma-separated list of [NAME]://[HOSTNAME]:[PORT]
# - Each listener config must correspond to a config in OSCAR_LISTENERS
# - Clients MUST be able to connect to these hostnames
#
# Examples:
# // Local LAN config, server behind NAT
# LAN://192.168.1.10:5190
# // Separate Internet and LAN config
# WAN://aim.example.com:5190,LAN://192.168.1.10:5191
export OSCAR_ADVERTISED_LISTENERS_PLAIN=LOCAL://127.0.0.1:5190
# Network listeners for TOC protocol service.
#
# Format: Comma-separated list of hostname:port pairs.
#
# Examples:
# // All interfaces
# 0.0.0.0:9898
# // Multiple listeners
# 0.0.0.0:9898,192.168.1.10:9899
export TOC_LISTENERS=0.0.0.0:9898
# Network listener for management API binds to. Only 1 listener can be
# specified. (Default 127.0.0.1 restricts to same machine only).
export API_LISTENER=127.0.0.1:18080
# The path to the SQLite database file. The file and DB schema are auto-created
# if they doesn't exist.
export DB_PATH=oscar.sqlite
# Disable password check and auto-create new users at login time. Useful for
# quickly creating new accounts during development without having to register
# new users via the management API.
export DISABLE_AUTH=true
# Disable notification sent when another client signs in with the same screen
# name.
export DISABLE_MULTI_LOGIN_NOTIF=true
# Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
# 'error'.
export LOG_LEVEL=info
# Enable legacy ICQ protocol support (v2-v5). Allows vintage ICQ clients to
# connect.
export ICQ_LEGACY_ENABLED=false
# UDP listener address for legacy ICQ protocols.
#
# Format: HOST:PORT
#
# Examples:
# // All interfaces
# 0.0.0.0:4000
# // Specific interface
# 192.168.1.10:4000
export ICQ_LEGACY_UDP_LISTENER=0.0.0.0:4000
# Comma-separated list of supported ICQ protocol versions. Valid values: 1, 2,
# 3, 4, 5. V1 is logging only (not implemented).
export ICQ_LEGACY_VERSIONS=2,3,4,5
# Session timeout for legacy ICQ connections. Sessions are cleaned up after this
# duration of inactivity.
export ICQ_LEGACY_SESSION_TIMEOUT=120s
# Expected keep-alive interval from clients. Used for timeout calculations.
export ICQ_LEGACY_KEEPALIVE_INTERVAL=120s
# Allow automatic user registration from legacy clients. When enabled, new UINs
# can be created via the legacy protocol.
export ICQ_LEGACY_AUTO_REGISTRATION=false
# Enable department listing feature (groupware functionality).
export ICQ_LEGACY_DEPARTMENTS_ENABLED=false
# Enable broadcast message functionality.
export ICQ_LEGACY_BROADCAST_ENABLED=true
# Enable Web Pager (WWP) message support.
export ICQ_LEGACY_WWP_ENABLED=true
# Comma-separated list of protocol versions that send real connection info (IP,
# port) in user online notifications. Disabled for privacy and interoperability.
# Required for peer-to-peer features (file transfer, direct chat). Example: 5 or
# 3,4,5
export ICQ_LEGACY_DIRECT_CONNECTIONS=5