Premier commit

This commit is contained in:
“Albert
2023-01-05 11:44:26 +01:00
parent d46e9954ca
commit fb19dc24e5
554 changed files with 46045 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