mirror of
https://github.com/lord-alfred/ipranges.git
synced 2026-03-21 18:57:46 +00:00
* [main-] add pingdom and statuscake ips and downloaders * Improved consistency with the original style * Typo in README --------- Co-authored-by: Lord Alfred <2259979+lord-alfred@users.noreply.github.com>
13 lines
326 B
Bash
13 lines
326 B
Bash
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
set -x
|
|
|
|
# get ranges from pingdom
|
|
curl -s https://my.pingdom.com/probes/ipv4 > /tmp/pingdom-ipv4.txt
|
|
curl -s https://my.pingdom.com/probes/ipv6 > /tmp/pingdom-ipv6.txt
|
|
|
|
# sort & uniq
|
|
sort -V /tmp/pingdom-ipv4.txt | uniq > pingdom/ipv4.txt
|
|
sort -V /tmp/pingdom-ipv6.txt | uniq > pingdom/ipv6.txt
|