-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathebs_config.ini
215 lines (191 loc) · 6.94 KB
/
ebs_config.ini
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
[db]
name = ebs
username = ebs
password = ebspassword
host = 127.0.0.1
port=5432
#kombu_dsn=redis://localhost:6379/1
kombu_dsn=amqp://ebs:[email protected]:5672//ebs
crypt_key=ebscryptkeytest
#------------------------------------
# #required# - required, default value present - optional
#common options (can be used with [radius], [nf], [nfroutine], [core], [rpc]
#recover = True; boolean - recover saved data after a graceful exit
#cache_time = 60; int - cache renewal time
#name = #default_name#; string - internal name
#piddir = pid; string - directory for pid file storage
#log_type = #required#; string (logging, syslog) - logger type
#log_ident = 'ebs'; string - ident for syslog logging
#log_level = 0; int [0-4] loging level, 0 - DEBUG, 4 - CRITICAL
#log_file = #required(for 'logging' type)#; string - log file name
#log_format = '%(asctime)s %(levelname)-8s %(message)s'; string - log message format
#log_filemode = 'a+'; string - (for 'logging' type) - fopen mode
#log_maxsize = 10485760; int - (for 'logging' type) - max logger file size
#log_rotate = 3; int - (for 'logging' type) - number of log file rotations
[radius]
#session_timeout = 86400; int - seconds - radius session timeout
#dict_list = dicts/dictionary,dicts/dictionary.microsoft,dicts/dictionary.mikrotik; string - comma-separated list of dictionary filenames
#common_vpn = false; boolean - common vpn
#ignore_nas_for_vpn = false; boolean - ignore NAS for VPN
#max_datagram_len = 4096; int - bytes - datagram length
#auth_port = 1812; int - authentification port
#acct_port = 1813; int - accounting port
#auth_sock_timeout = 5; int
#acct_sock_timeout = 5; int
#auth_thread_num = 2; int - number of authentication threads
#acct_thread_num = 3; int - number of accounting threads
#listen_thread_num = 2; int - number of listen&preprocessing threads
#eap_id_type = eap-md5; default EAP id type
#eap_access_types = 802.1x:eap-tls,pptp:eap-md5,pppoe:eap-md5; string - comma-separated list of colon-separated pairs, access type - default EAP type dictionary
#poll_timeout = 500; int - milliseconds - poll timeout
common_vpn = False
ignore_nas_for_vpn = True
bad_8021x_users_vlan = -1
log_type = logging
log_file = log/rad_log
log_level= 3
log_ident= ebs_rad
ignore_nas_for_dhcp = True
only_one = False
sqllog_flush_timeout=30
enable_sqllog=True
sqllog_success=True
mppe_support=True
get_mac_from_pppoe=True
dhcp_framed_guest_pool=
guest_dhcp_session_timeout=300
auth_thread_num=4
[core]
#transactions_per_day = 24; int
#vpn_sleep = 60; int - seconds - vpn thread sleep
#periodical_sleep = 180; int - seconds - periodical services thread sleep
#timeaccess_sleep = 60; int - seconds - access by time thread sleep
#limit_sleep = 110; int - seconds - limit thread sleep
#settlement_period_sleep = 120; int - seconds - settlement period thread sleep
#ipn_sleep = 120; int - seconds - IPN thread sleep
#dict_list = dicts/dictionary,dicts/dictionary.microsoft,dicts/dictionary.mikrotik,dicts/dictionary.rfc3576; string - comma-separated list of dictionary filenames
log_type = logging
log_file = log/core_log
log_level= 0
log_ident= ebs_core
#deprecated
transactions_per_day=24
#ssh_backend = ssh $username@$host "$command"
use_coeff_for_prepaid = True
use_coeff_for_ps=True
[nfroutine]
#nfr_session = SET synchronous_commit TO OFF; string - comma-separated list of nfr stat session init queries
#save_dir = '.'; string - directory to save data on graceful save
#group_aggr_time = 300; int - seconds - aggregation time for group statistics
#stat_aggr_time = 1800; int - seconds - aggregation time for global statistics
#picker_aggr_time = 300; int - seconds - aggregation time for financial data picker
#stat_dicts = 10; int - number of mini-mod_hash dictionaries
#group_dicts = 10; int - number of mini-mod_hash dictionaries
#store_na_tarif = false; boolean - store statistics for inactive tarifs
#store_na_account = false; boolean - store statistics for inactive accounts
#max_datagram_len = 32687; int - maximum incoming packet size
#routine_threads = 3; int - number of threads for full statistics for packet processing and statistic writing
#groupstat_threads = 1; int - number of threads for processing/writing group statistics
#globalstat_threads = 1; int - number of threads for processing/writing global statistica
#bill_threads = 1; int - number of threads for processing/writing financial data
#allowed_nf_ip_list = 127.0.0.1; string - comma-separated list of allowed netflow server IP's
log_type = logging
log_file = log/nfroutine_log
log_level= 0
log_ident= ebs_nfroutine
save_dir = temp
group_aggr_time = 120
stat_aggr_time = 120
[nfroutine_nf]
#sock_type = 0; int - socket type: 0 - inet, 1 - unix; unix sockets are for test only
sock_type = 0
#deprecated, use 'sock_type' instead
usock = 0
#deprecated
dump_dir = nf_dump
#deprecated
recover = 1
#deprecated
recoverAttempted = 0
#deprecated
sock_timeout = 0.1
[nfroutine_nf_inet]
#nfr_host = 127.0.0.1; string - nfroutine host address
#nfr_port = 36577; int - nfroutine port number
#deprecated
host = 127.0.0.1
#deprecated
port = 365
[nfroutine_nf_unix]
#nfr_host = #required# if sock_type = 1
nfr_host = /var/ebs_nfr_ux
#deprecated
host = /var/ebs_nfr_ux
[nf]
log_type = logging
log_file = log/nf_log
log_level= 1
log_ident= ebs_nf
[nffilter]
#sock_timeout = 5; int - seconds - sender sockets timeout
#aggr_time = 120; int - seconds - max packet aggregation time
#aggr_num = 200; int - max packet aggregation number
#prefix = #name + '_'#; string - dump file prefix
#cache_dicts = 10; int - number of mini-mod_hash dictionaries
#host = 0.0.0.0; string - host to listen on
#port = 9996; int - port to listen on
#file_pack = 300; int - number of packs in dump files
#packet_pack = 37; int - number of packs in packets
#check_classes = 0; boolean - pre-check classes
#max_datagram_len = 8192; int - maximum incoming datagram size
#nf_time_mod = 20; int - seconds - round down incoming packe time by...
#max_sendbuf_len = 10000; int - max sender buffer length
#queue_in=/opt/ebs/var/spool/nf_in
#queue_out=/opt/ebs/var/spool/nf_out
check_classes = 0
log_type = logging
log_file = log/nffilter_log
log_level= 1
log_ident= ebs_nffilter
save_dir = nf_dump
dump_dir = nf_dump
skip_index_check=True
[flow]
write_flow = True
flow_dir = temp
#flow_dir = /var/flow
flow_time = 20
flow_count = 50
flow_mail_warning = False
flow_mail_subject = EBS billing flow warning
flow_mail_use_tls = False
flow_mail_host = smtp.gmail.com
flow_mail_host_user =
flow_mail_host_password =
flow_mail_port = 25
flow_mail_email_to = [email protected]
flow_mail_email_from = [email protected]
flow_mail_warning_template = ""
[rpc]
log_type = logging
log_file = log/rpc_log
log_level= 3
log_ident= ebs_rpc
max_users= 10
listen_port = 7771
flow_dir = temp/
enable_action_log=False
[sendmail]
log_type = logging
log_file = log/sendmail_log
log_level= 0
log_ident= ebs_sendmail
subject = Provider information
use_tls = False
send_if_less = 5000
host = smtp.gmail.com
host_user =
host_password =
port = 25
email_from = [email protected]
fail_silently = False