24 lines
438 B
TOML
24 lines
438 B
TOML
[listen]
|
|
# address and port to listen
|
|
bind_addr = "0.0.0.0"
|
|
bind_port = 5060
|
|
|
|
[log]
|
|
# log file location
|
|
log_file = "CONSOLE" # to log to stdout
|
|
# log_file = "sip-tarpit.log" # to log to a file
|
|
|
|
# level of logging (DEBUG, INFO, WARN, ERROR)
|
|
level = "INFO"
|
|
|
|
[tarpit]
|
|
# delay in milliseconds
|
|
delay = 1500
|
|
|
|
[sqlite]
|
|
location = "tarpit.db"
|
|
|
|
[action]
|
|
# path to action script, remember give it execution permission
|
|
script = "./action_script.sh"
|