Project

General

Profile

Tâche #14204

Scénario #14084: Assistance aux utilisateurs (49-51)

eole-dhcp : la restriction "Interdire cette zone aux hôtes inconnus" n'est pas prise en compte

Added by Karim Ayari over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Start date:
12/04/2015
Due date:
% Done:

100%

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

Description

Cette option a été diffusée sur EOLE 2.4.1 et est documentée. Rien dans toutes les versions du projet n'a été modifié depuis.

Demande originale :

la directive deny unknown-clients n'est pas prise en compte dans le fichier de conf dhcpd bien que la variable interdire_hotes_inconnus soit à oui

un de ses tests ne serait pas valable ?

%if %%nb_ranges > 1
    # plages d'ip
    pool {
          range %%range_ip[0] %%range_ip[1];
 %if %%subnets[%%subnet]['ranges'][%%range_ip]['restriction'] == 'oui'
          deny unknown-clients;
 %end if

dhcpd.conf.patch View (323 Bytes) Fabrice Barconnière, 12/07/2015 11:18 AM


Related issues

Duplicated by eole-dhcp - Demande #12635: la variable "interdire_hotes_inconnus" n'est plus totalement fonctionnelle Fermé 08/25/2015

Associated revisions

Revision cabf33c6 (diff)
Added by Fabrice Barconnière over 7 years ago

Restriction des clients inconnus si un seul pool d'adresses

tmpl/dhcpd.conf : la restriction des clients inconnus ne fonctionnait
qu'en cas de pool multiples.

ref #14204 @1h

History

#1 Updated by Fabrice Barconnière over 7 years ago

  • Tracker changed from Demande to Tâche
  • Description updated (diff)
  • Estimated time set to 3.00 h
  • Parent task set to #14084
  • Remaining (hours) set to 3.0

#2 Updated by Fabrice Barconnière over 7 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Fabrice Barconnière over 7 years ago

  • Assigned To set to Fabrice Barconnière

#4 Updated by Fabrice Barconnière over 7 years ago

ERRATA

L'interdiction d'obtention d'adresse IP des postes clients inconnus fonctionne en cas de pool multiple d'adresses IP mais pas dans le cas d'un pool unique.

Pour corriger il faut utiliser le patch dhcpd.conf.patch.

Ce problème a été introduit dans la version 2.4.1 et est résolu dans la version 2.5.2.

#5 Updated by Fabrice Barconnière over 7 years ago

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

#6 Updated by Karim Ayari over 7 years ago

merci Fabrice le patch est ok.

#7 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#8 Updated by Scrum Master over 7 years ago

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

Also available in: Atom PDF