Project

General

Profile

Tâche #8208

Distribution EOLE - Scénario #8833: Évolutions sur WPAD

Gestion des routes statiques dans wpad.dat

Added by Joël Cuissinat about 10 years ago. Updated about 9 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/31/2015
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Reprise de la remarque de Daniel dans #7857 :

Configuration:

  • amon eth1: 10.2.1.1
  • linux mint: 10.2.1.10
  • client wget: 10.4.1.10 derrière 10.2.1.10
eole@linuxmint:~$ wget -q -O - --bind-address=10.4.1.10 http://wpad/wpad.dat
function FindProxyForURL(url, host) {
    if ( isInNet(host, "127.0.0.1", "255.255.255.255") ||
            isInNet(host, "10.2.1.0", "255.255.255.0")
        )
    {
        return "DIRECT";
    };
    return "PROXY 10.2.1.1:3128";
}

À voir si les routes statiques ne devraient pas être en DIRECT, par exemple :

function FindProxyForURL(url, host) {
    if ( isInNet(host, "127.0.0.1", "255.255.255.255") ||
            isInNet(host, "10.2.1.0", "255.255.255.0")
            || isInNet(host, "10.4.1.0", "255.255.255.0") // Routes statiques

        )
    {
        return "DIRECT";
    };
    return "PROXY 10.2.1.1:3128";
}

Related issues

Related to eole-reverseproxy - Anomalie #7857: nginx renvoit 403 pour les reseaux indirectement connectés Fermé 05/16/2014

Associated revisions

Revision 6a18fa3d (diff)
Added by Emmanuel GARETTE about 9 years ago

support des routes statiques dans wpad (ref #8208 @1)

History

#1 Updated by Joël Cuissinat almost 10 years ago

  • Parent task set to #8833

#2 Updated by Joël Cuissinat over 9 years ago

  • Estimated time changed from 1.50 h to 3.00 h
  • Remaining (hours) set to 3.0

#3 Updated by Gilles Grandgérard about 9 years ago

  • Status changed from Nouveau to En cours
  • Start date set to 03/31/2015

#4 Updated by Emmanuel GARETTE about 9 years ago

  • Description updated (diff)
  • Assigned To set to Emmanuel GARETTE

#5 Updated by Emmanuel GARETTE about 9 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

#6 Updated by Scrum Master about 9 years ago

  • Status changed from En cours to Résolu

#7 Updated by Joël Cuissinat about 9 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF