|
|
|
@ -21,7 +21,7 @@ for new_relay in relays:
|
|
|
|
|
if datetime.datetime.strptime(new_relay["first_seen"], "%Y-%m-%d %H:%M:%S") > (datetime.datetime.utcnow() - datetime.timedelta(hours=1)):
|
|
|
|
|
exit = "no"
|
|
|
|
|
eol = "no"
|
|
|
|
|
if not re.search("0.3.5|0.4.5|0.4.6|0.4.7", new_relay["platform"), re.IGNORECASE):
|
|
|
|
|
if not re.search("0.3.5|0.4.5|0.4.6|0.4.7", new_relay["platform"], re.IGNORECASE):
|
|
|
|
|
eol = "yes"
|
|
|
|
|
if new_relay["exit_policy"][0] != "reject *:*":
|
|
|
|
|
exit = "yes"
|
|
|
|
|