Project

General

Profile

Tâche #12858

Scénario #16098: Améliorer la validation des adresses IP/masque de sous-réseau dans Creole/Tiramisu

Interdire ou gérer les adresses masques étranges dans Creole

Added by Joël Cuissinat over 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/13/2016
Due date:
% Done:

100%

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

Description

Il est actuellement possible de saisir les valeurs suivantes :
  • ip_admin_eth1 : 10.1.1.0
  • netmask_admin_eth1 : 255.255.255.00

Dans ce cas de figure, la fonction calc_classe ne fonctionne pas et squid affiche les messages suivants :

2015/09/09 10:40:17| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2015/09/09 10:40:17| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2015/09/09 10:40:17| WARNING: For now we will assume you meant to write /24

option.py.patch View - Durcissement des tests réalisés sur les types Tiramisu IP/Network/Netmask (1.5 KB) Joël Cuissinat, 05/13/2016 04:54 PM


Related issues

Related to Distribution EOLE - Demande #14670: erreur ipset si mask avec 000 Pas un bug 01/18/2016
Copied from Amon - Tâche #12807: Warning logrotate envoyé par mail sur Amon 2.4.1 Fermé 09/04/2015

Associated revisions

Revision 1c018102 (diff)
Added by Joël Cuissinat about 5 years ago

Test unitaire vérifiant la validation des IP saisies

Ref: #12858 @30m
Ref: #11480

Revision 6eb76f84
Added by Joël Cuissinat almost 5 years ago

Merge remote-tracking branch 'lab/master'

Ref: #12858
Ref: #11480

Revision 24bb5b7e (diff)
Added by Lionel Morin almost 5 years ago

Correction numéro de demande dans les commentaires (ref #11480 + ref #12858)

History

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

  • Release deleted (EOLE 2.5.1)

#2 Updated by Scrum Master over 5 years ago

  • Release set to EOLE 2.4.2.1

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

  • Tracker changed from Scénario to Tâche
  • Project changed from Distribution EOLE to creole
  • Estimated time set to 3.00 h
  • Remaining (hours) changed from 2.0 to 3.0

#4 Updated by Joël Cuissinat over 5 years ago

A traiter en même temps que #11480

#5 Updated by Joël Cuissinat over 5 years ago

  • Parent task set to #13918

#6 Updated by Joël Cuissinat about 5 years ago

  • Parent task changed from #13918 to #16098

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

  • Status changed from Nouveau to En cours
  • Start date set to 05/13/2016

#8 Updated by Joël Cuissinat about 5 years ago

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

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

La validation des types est réalisée par Tiramisu, je joins un patch qui traite également la demande #11480...

#11 Updated by Joël Cuissinat about 5 years ago

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

#12 Updated by Joël Cuissinat almost 5 years ago

  • Status changed from En cours to Résolu

#13 Updated by Joël Cuissinat almost 5 years ago

  • Remaining (hours) changed from 0.5 to 0.15

#14 Updated by Lionel Morin almost 5 years ago

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

Application des tests unitaires => OK

Also available in: Atom PDF