Premier commit
This commit is contained in:
24
tests/s-infra.test
Executable file
24
tests/s-infra.test
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tests resolution directe dans gsb.lan nom court
|
||||
host s-infra
|
||||
host s-mon
|
||||
|
||||
# Tests resolution directe nom long
|
||||
host s-infra.gsb.lan
|
||||
host s-mon.gsb.lan
|
||||
|
||||
# Tests resolution inverse
|
||||
host 172.16.0.2
|
||||
host 172.16.0.9
|
||||
|
||||
# Tests resolution hors zone
|
||||
host lemonde.fr
|
||||
host free.fr
|
||||
|
||||
# Tests de connectivite
|
||||
ping -c 2 172.16.0.254
|
||||
ping -c 2 s-adm.gsb.adm
|
||||
|
||||
# Test wpad
|
||||
curl wpad/wpad.dat
|
17
tests/s-proxy.test
Executable file
17
tests/s-proxy.test
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Test wpad
|
||||
curl wpad/wpad.dat
|
||||
|
||||
# Verification ouverture port 8080
|
||||
netstat -ln|grep 8080
|
||||
|
||||
# Affichage access.log
|
||||
tail -5 /var/log/squid3/access.log
|
||||
|
||||
# Affichage cache.log
|
||||
tail /var/log/squid3/cache.log
|
||||
|
||||
|
||||
# Affichage curl
|
||||
curl s-proxy:8080
|
Reference in New Issue
Block a user