Update some services

This commit is contained in:
Matthew McPherrin 2012-10-17 19:27:09 -04:00
parent 433793afab
commit 3d6c163083
3 changed files with 6 additions and 4 deletions

View File

@ -4,11 +4,11 @@ import sys, socket
services = [
('caffeine.csclub.uwaterloo.ca', [22, 80, 443]),
('mail.csclub.uwaterloo.ca', [25, 80, 110, 110, 143, 143, 993, 465, 587, 993, 995]),
('mail.csclub.uwaterloo.ca', [25, 80, 143, 465, 587, 993]),
('artificial-flavours.csclub.uwaterloo.ca', [22, 389, 636]),
('taurine.csclub.uwaterloo.ca', [22]),
('taurine.csclub.uwaterloo.ca', [21, 22, 53, 80, 81, 443, 8000, 8080]),
('mirror.csclub.uwaterloo.ca', [21, 22, 80, 873]),
('denardo.csclub.uwaterloo.ca', [22]),
# ('denardo.csclub.uwaterloo.ca', [22]),
('corn-syrup.csclub.uwaterloo.ca', [22]),
('ascorbic-acid.csclub.uwaterloo.ca', [21, 22, 53, 80, 81, 443, 8000, 8080]), #all ssh
('ginseng.csclub.uwaterloo.ca', [22, 111, 389, 464, 636, 749, 888, 2049]),

View File

@ -1,5 +1,7 @@
#!/bin/sh
#Python, in its infinite shittiness, doesn't check https certificates.
curl -s "https://csclub.uwaterloo.ca" > /dev/null || (echo "FAIL on csc" && exit 2)
curl -s "https://webauth.csclub.uwaterloo.ca" > /dev/null || (echo "FAIL on webauth" && exit 3)
curl -s "https://mail.csclub.uwaterloo.ca" > /dev/null || (echo "FAIL on mail" && exit 4)

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
import urllib2, sys
pages=["https://csclub.uwaterloo.ca", "http://mirror.csclub.uwaterloo.ca"]
pages=["https://csclub.uwaterloo.ca", "http://mirror.csclub.uwaterloo.ca", "http://git.csclub.uwaterloo.ca"]
for page in pages:
try: