Package: debian-edu-config Severity: minor Version: 1.818 Tags: patchThe wpad.dat shipped with debian-edu-config should enforce DIRECT connects for hosts in the .local domain:
"""
function FindProxyForURL(url, host)
{
if (!isResolvable(host) ||
isPlainHostName(host) ||
isInNet(host,"127.0.0.1","255.0.0.0") ||
dnsDomainIs(host, ".intern") ||
dnsDomainIs(host, ".local"))
{
return "DIRECT";
}
else {
return "PROXY webcache:3128; DIRECT";
}
}
"""
Diff to previous version:
"""
--- wpad.dat.old 2009-12-09 17:24:17.000000000 +0100
+++ wpad.dat 2015-11-03 06:14:45.000000000 +0100
@@ -2,8 +2,13 @@
{
if (!isResolvable(host) ||
isPlainHostName(host) ||
- dnsDomainIs(host, ".intern"))
+ isInNet(host,"127.0.0.1","255.0.0.0") ||
+ dnsDomainIs(host, ".intern") ||
+ dnsDomainIs(host, ".local"))
+ {
return "DIRECT";
- else
+ }
+ else {
return "PROXY webcache:3128; DIRECT";
+ }
}
"""
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
Attachment:
pgpOanwACDkf_.pgp
Description: Digitale PGP-Signatur