Implement InternetMeasurement
This commit is contained in:
@ -4,14 +4,11 @@
|
|||||||
|
|
||||||
- `https://security.wdes.eu/scanners/stretchoid.txt` (List of all known stretchoid IPs)
|
- `https://security.wdes.eu/scanners/stretchoid.txt` (List of all known stretchoid IPs)
|
||||||
- `https://security.wdes.eu/scanners/binaryedge.txt` (List of all known binaryedge IPs)
|
- `https://security.wdes.eu/scanners/binaryedge.txt` (List of all known binaryedge IPs)
|
||||||
- `https://security.wdes.eu/scanners/censys.txt` (List of all IPs declared by censys scanner on their FAQ)
|
- `https://security.wdes.eu/scanners/censys.txt` (List of all IPs declared by censys scanner on their [FAQ](https://support.censys.io/hc/en-us/articles/360043177092-Opt-Out-of-Data-Collection)
|
||||||
|
- `https://security.wdes.eu/scanners/internet-measurement.com.txt` (List of all IPs declared by internet-measurement.com on [their website](https://internet-measurement.com/#ips))
|
||||||
- `https://security.wdes.eu/collections/wdes/bad-networks.txt` (List of some hand picked bad networks)
|
- `https://security.wdes.eu/collections/wdes/bad-networks.txt` (List of some hand picked bad networks)
|
||||||
- `https://security.wdes.eu/collections/bad-ips.txt` (List of some hand picked bad IPs that caused harm/attacks/scans to mail servers)
|
- `https://security.wdes.eu/collections/bad-ips.txt` (List of some hand picked bad IPs that caused harm/attacks/scans to mail servers)
|
||||||
|
|
||||||
## To be migrated
|
|
||||||
|
|
||||||
- `internet-measurement.com.txt` (List of all IPs declared by internet-measurement.com on [their website](https://internet-measurement.com/#ips))
|
|
||||||
|
|
||||||
## Other similar projects
|
## Other similar projects
|
||||||
|
|
||||||
- https://github.com/szepeviktor/debian-server-tools/tree/master/security/myattackers-ipsets/ipset
|
- https://github.com/szepeviktor/debian-server-tools/tree/master/security/myattackers-ipsets/ipset
|
||||||
|
@ -29,6 +29,7 @@ enum Scanners {
|
|||||||
Stretchoid,
|
Stretchoid,
|
||||||
Binaryedge,
|
Binaryedge,
|
||||||
Censys,
|
Censys,
|
||||||
|
InternetMeasurement,
|
||||||
}
|
}
|
||||||
|
|
||||||
trait IsStatic {
|
trait IsStatic {
|
||||||
@ -39,6 +40,7 @@ impl IsStatic for Scanners {
|
|||||||
fn is_static(self: &Self) -> bool {
|
fn is_static(self: &Self) -> bool {
|
||||||
match self {
|
match self {
|
||||||
Scanners::Censys => true,
|
Scanners::Censys => true,
|
||||||
|
Scanners::InternetMeasurement => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -52,6 +54,7 @@ impl FromStr for Scanners {
|
|||||||
"stretchoid.txt" => Ok(Scanners::Stretchoid),
|
"stretchoid.txt" => Ok(Scanners::Stretchoid),
|
||||||
"binaryedge.txt" => Ok(Scanners::Binaryedge),
|
"binaryedge.txt" => Ok(Scanners::Binaryedge),
|
||||||
"censys.txt" => Ok(Scanners::Censys),
|
"censys.txt" => Ok(Scanners::Censys),
|
||||||
|
"internet-measurement.com.txt" => Ok(Scanners::InternetMeasurement),
|
||||||
_ => Err(()),
|
_ => Err(()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,6 +69,7 @@ impl fmt::Display for Scanners {
|
|||||||
Self::Stretchoid => "stretchoid",
|
Self::Stretchoid => "stretchoid",
|
||||||
Self::Binaryedge => "binaryedge",
|
Self::Binaryedge => "binaryedge",
|
||||||
Self::Censys => "censys",
|
Self::Censys => "censys",
|
||||||
|
Self::InternetMeasurement => "internet-measurement.com",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -77,6 +81,7 @@ impl ToSql for Scanners {
|
|||||||
Self::Stretchoid => Ok("stretchoid".into()),
|
Self::Stretchoid => Ok("stretchoid".into()),
|
||||||
Self::Binaryedge => Ok("binaryedge".into()),
|
Self::Binaryedge => Ok("binaryedge".into()),
|
||||||
Self::Censys => Ok("censys".into()),
|
Self::Censys => Ok("censys".into()),
|
||||||
|
Self::InternetMeasurement => Ok("internet-measurement.com".into()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user