2024-01-31 20:46:08 +00:00
|
|
|
debug = true
|
2024-02-21 09:32:04 +00:00
|
|
|
require_ipv4 = true
|
2024-01-31 20:46:08 +00:00
|
|
|
|
|
|
|
[sources]
|
2024-02-20 07:40:23 +00:00
|
|
|
[sources.ipfy]
|
2024-01-31 20:46:08 +00:00
|
|
|
provider = "IPIFYSource"
|
2024-02-21 09:32:04 +00:00
|
|
|
[sources.wtf]
|
|
|
|
provider = "WTFIsMyIP"
|
2024-02-21 13:07:10 +00:00
|
|
|
[sources.ipsb]
|
|
|
|
provider = "IPSB"
|
2024-02-21 13:04:05 +00:00
|
|
|
[sources.ifconfig]
|
|
|
|
provider = "GenericHttpSource"
|
|
|
|
url_v4 = "https://ifconfig.me/ip"
|
|
|
|
url_v6 = "https://ifconfig.me/ip"
|
|
|
|
[sources.ipconfig]
|
|
|
|
provider = "GenericHttpJsonSource"
|
|
|
|
url_v4 = "https://ipconfig.io/json"
|
|
|
|
url_v6 = "https://ipconfig.io/json"
|
|
|
|
key_v4 = "ip"
|
|
|
|
key_v6 = "ip"
|
2024-01-31 20:46:08 +00:00
|
|
|
|
2024-02-20 07:15:48 +00:00
|
|
|
[filters]
|
2024-02-20 07:40:23 +00:00
|
|
|
[filters.state-file]
|
|
|
|
provider = "StateFileFilter"
|
|
|
|
filepath = "state/state.json"
|
|
|
|
check_ipv4 = true
|
2024-02-21 13:04:05 +00:00
|
|
|
#[filters.state-hash]
|
|
|
|
# provider = "StateHashFilter"
|
|
|
|
# filepath = "state/hash.txt"
|
2024-02-20 07:40:23 +00:00
|
|
|
|
2024-01-31 20:46:08 +00:00
|
|
|
[outputs]
|
2024-02-19 14:12:36 +00:00
|
|
|
[outputs.print]
|
2024-01-31 20:46:08 +00:00
|
|
|
provider = "JustPrint"
|
2024-02-20 07:40:23 +00:00
|
|
|
[outputs.state-file]
|
2024-02-19 14:12:36 +00:00
|
|
|
provider = "StateFile"
|
|
|
|
filepath = "state/state.json"
|
2024-02-21 13:04:05 +00:00
|
|
|
#[outputs.hash-file]
|
|
|
|
# provider = "StateHashFile"
|
|
|
|
# filepath = "state/hash.txt"
|