-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing multiple passive dns sources
- Loading branch information
Showing
5 changed files
with
46 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -799,29 +799,17 @@ class Postman: | |
] = get_config("POSTMAN_MAIL_TO", default="[email protected]") | ||
|
||
class RemovedDomainExistingVhost: | ||
REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_URL: Annotated[ | ||
REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_URLS: Annotated[ | ||
str, | ||
"The passive DNS url to download old domain IPs from. Currently, the system was tested with circl.lu " | ||
"passive DNS.", | ||
] = get_config("REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_URL", default=None, cast=str) | ||
"Comma-separated list of URLs (optionally with username:password) to download old domain IPs from. " | ||
"Currently, the system was tested with circl.lu passive DNS. **The URL should end with /pdns/query/**.", | ||
] = get_config("REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_URLS", default=None, cast=decouple.Csv(str)) | ||
|
||
REMOVED_DOMAIN_EXISTING_VHOST_REPORT_ONLY_SUBDOMAINS: Annotated[ | ||
str, | ||
"If set to True, 'removed domain but existing vhost' situations will be reported only for subdomains.", | ||
] = get_config("REMOVED_DOMAIN_EXISTING_VHOST_REPORT_ONLY_SUBDOMAINS", default=False, cast=bool) | ||
|
||
REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_USERNAME: Annotated[ | ||
str, | ||
"The passive DNS username to be used to download old domain IPs. Currently, the system was tested with circl.lu " | ||
"passive DNS.", | ||
] = get_config("REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_USERNAME", default=None, cast=str) | ||
|
||
REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_PASSWORD: Annotated[ | ||
str, | ||
"The passive DNS password to be used to download old domain IPs. Currently, the system was tested with circl.lu " | ||
"passive DNS.", | ||
] = get_config("REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_PASSWORD", default=None, cast=str) | ||
|
||
REMOVED_DOMAIN_EXISTING_VHOST_PASSIVEDNS_SLEEP_BETWEEN_REQUESTS_SECONDS: Annotated[ | ||
float, | ||
"How long to sleep between passivedns requests in order not to overload the provider.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters