Project

General

Profile

Tâche #27916

Scénario #28146: Corrections à appliquer sur le relai DHCP

le relai DHCP ne devrait pas relayer le requête de l'interface du serveur DHCP

Added by Emmanuel GARETTE over 1 year ago. Updated 11 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/12/2019
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Lorsqu'on spécifie un numéro d'interface dans la variable :

"Numéro de l'interface derrière laquelle est le serveur DHCP"

DHCrelay, relai également les requêtes émisent sur cette interface.

Cela ne devrait pas être la cas.

Voici un patch qui empêche cela :

--- distrib/isc-dhcp-relay    2017-03-28 15:09:34.000000000 +0200
+++ modif/isc-dhcp-relay    2019-04-12 16:04:18.274954176 +0200
@@ -19,7 +19,7 @@
 -i %%dhc_int %slurp
  %end for
  %if 'OK' not in %%serv_int_ok
--i %%dhc_server_int%slurp
+-iu %%dhc_server_int%slurp
  %end if
 " 
 %end if

Associated revisions

Revision 4aa67f75 (diff)
Added by Philippe Caseiro 11 months ago

Correction de la configuration du relai dhcp.

ref #27916
ref #27917
ref #27953

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Parent task set to #28146

#2 Updated by Philippe Caseiro 11 months ago

  • Status changed from Nouveau to En cours

#3 Updated by Philippe Caseiro 11 months ago

  • Assigned To set to Philippe Caseiro

#4 Updated by Philippe Caseiro 11 months ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat 11 months ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0
jojo@jojo-MS-B09611:~/git/eole-dhcrelay (master=)$ rgrep -- '-iu' 
tmpl/isc-dhcp-relay:-iu %%dhc_server_int%slurp

jojo@jojo-MS-B09611:~/git/eole-dhcrelay (master=)$ git branch -r --contains 4aa67f75  
  origin/2.7.0/master
  origin/2.7.1/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.7.0/master
  origin/dist/eole/2.7.1/master
  origin/dist/eole/2.7.2/master
  origin/master

Also available in: Atom PDF