Premier commit

This commit is contained in:
phil
2021-01-04 22:49:46 +01:00
parent da1100578d
commit 65b2a3eaf3
538 changed files with 52570 additions and 0 deletions

24
tests/s-infra.test Executable file
View 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
View 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