sip-tarpit/config.toml

24 lines
438 B
TOML
Raw Normal View History

2024-04-16 13:57:47 +02:00
[listen]
# address and port to listen
2024-04-16 17:39:33 +02:00
bind_addr = "0.0.0.0"
bind_port = 5060
2024-04-16 13:57:47 +02:00
[log]
# log file location
2024-04-16 16:36:40 +02:00
log_file = "CONSOLE" # to log to stdout
# log_file = "sip-tarpit.log" # to log to a file
2024-04-16 15:41:33 +02:00
# level of logging (DEBUG, INFO, WARN, ERROR)
level = "INFO"
2024-04-16 13:57:47 +02:00
[tarpit]
# delay in milliseconds
delay = 1500
[sqlite]
location = "tarpit.db"
2024-04-18 13:43:01 +02:00
[action]
# path to action script, remember give it execution permission
script = "./action_script.sh"