Project

General

Profile

Anomalie #3251

ajout de la variable snmp_allow_mask

Added by Christophe Dezé over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/05/2012
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.3

Description

l'adresse peut en effet etre de la forme

com2sec readonly %snmp_allow_ip/%snmp_allow_mask public

code non testé

%if %%snmp_allow_ip != []:
%for adresse,mask in %%snmp_allow_ip,%snmp_allow_mask
%if %%snmp_allow_mask == []:
%mask=255.255.255.255
com2sec readonly %%adresse/%%mask public
%end for
%else
com2sec readonly default public
%end if

Associated revisions

Revision bdaed4de (diff)
Added by Joël Cuissinat over 7 years ago

Ajout de la variable snmp_allow_mask
  • dicos/20_snmpd.xml : ajout de la variable esclave pré-remplie en 255
  • tmpl/snmpd.conf : test "is_empty" sur le maître et gestion du masque
    Fixes #3251 @30m

History

#1 Updated by Joël Cuissinat over 7 years ago

  • Assigned To set to Joël Cuissinat
  • Target version set to Mises à jour 2.3.5 RC
  • Estimated time set to 1.00 h

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

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat over 7 years ago

=> Paquet candidat : eole-snmpd (2.3-eole5~1)

#4 Updated by Daniel Dehennin over 7 years ago

  • Status changed from Résolu to Fermé

Ça roule !

Also available in: Atom PDF