Skip to content

Instantly share code, notes, and snippets.

@christophlsa
Created April 29, 2014 12:11
Show Gist options
  • Save christophlsa/11398357 to your computer and use it in GitHub Desktop.
Save christophlsa/11398357 to your computer and use it in GitHub Desktop.
#!/bin/sh
for i in {1..65535}; do curl -s -m 5 portquiz.net:$i &> /dev/null || echo "port $i blocked"; done
@christophlsa
Copy link
Author

Ein paar Ports - wie 22 und 25 - werden von dem Testserver anderwertig benutzt und müssen daher nicht gesperrt sein.

Hier die Liste der OVGU:

port 19 blocked
port 21 blocked
port 135 blocked
port 137 blocked
port 138 blocked
port 139 blocked
port 445 blocked
port 1025 blocked
port 1214 blocked
port 1234 blocked
port 1285 blocked
port 1299 blocked
port 1331 blocked
port 1337 blocked
port 1434 blocked
port 2049 blocked
port 2745 blocked
port 3127 blocked
port 3135 blocked
port 3136 blocked
port 3137 blocked
port 4444 blocked
port 4661 blocked
port 4662 blocked
port 5501 blocked
port 6129 blocked
port 6346 blocked
port 6347 blocked
port 6699 blocked

@martok
Copy link

martok commented Apr 29, 2014

Wohnheim Unicampus (mit mehreren Läufen geprüft):

port 19 blocked
port 21 blocked
port 22 blocked
port 135 blocked
port 137 blocked
port 138 blocked
port 139 blocked
port 445 blocked
port 889 blocked
port 1025 blocked
port 1214 blocked
port 1234 blocked
port 1285 blocked
port 1299 blocked
port 1331 blocked
port 1337 blocked
port 1433 blocked
port 1434 blocked
port 1755 blocked
port 2049 blocked
port 2745 blocked
port 3127 blocked
port 3135 blocked
port 3136 blocked
port 3137 blocked
port 4444 blocked
port 4661 blocked
port 4662 blocked
port 4663 blocked
port 5501 blocked
port 6129 blocked
port 6346 blocked
port 6347 blocked
port 6699 blocked
port 7007 blocked
port 7304 blocked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment