Administration et sécurité des réseaux TD SNMP



Documents pareils
SNMP for cloud Jean Parpaillon. SNMP4cloud - 1

I>~I.J 4j1.bJ1UlJ ~..;W:i 1U

Internet Group Management Protocol (IGMP) Multicast Listener Discovery ( MLD ) RFC 2710 (MLD version 1) RFC 3810 (MLD version 2)

Surveillance du réseau et de gestion Introduction à SNMP

Problème physique. CH5 Administration centralisée

Instructions Mozilla Thunderbird Page 1

APPENDIX 6 BONUS RING FORMAT

Paxton. ins Net2 desktop reader USB

WEB page builder and server for SCADA applications usable from a WEB navigator

Master d'informatique. Réseaux. Supervision réseaux

Exercices sur SQL server 2000

VTP. LAN Switching and Wireless Chapitre 4

Chapitre 7. Le Protocole SNMP 7.1 INTRODUCTION COMPOSANTES POUR L UTILISATION FONCTIONNEMENT LE PAQUET SNMPV1...

RULE 5 - SERVICE OF DOCUMENTS RÈGLE 5 SIGNIFICATION DE DOCUMENTS. Rule 5 / Règle 5

FÉDÉRATION INTERNATIONALE DE NATATION Diving

Instructions pour mettre à jour un HFFv2 v1.x.yy v2.0.00

Administration à distance Protocoles de gestion répartie

Compte-rendu de TP SNMP. Simple Network Management Protocol. Charles Daniel Romain Halbardier

Exemple PLS avec SAS

Surveillance de Scripts LUA et de réception d EVENT. avec LoriotPro Extended & Broadcast Edition

MELTING POTES, LA SECTION INTERNATIONALE DU BELLASSO (Association étudiante de lʼensaparis-belleville) PRESENTE :

Application Form/ Formulaire de demande

Outils d'analyse de la sécurité des réseaux. HADJALI Anis VESA Vlad

Contrôle d'accès Access control. Notice technique / Technical Manual

Supervision et infrastructure - Accès aux applications JAVA. Document FAQ. Page: 1 / 9 Dernière mise à jour: 15/04/12 16:14

Improving the breakdown of the Central Credit Register data by category of enterprises

WiFi Security Camera Quick Start Guide. Guide de départ rapide Caméra de surveillance Wi-Fi (P5)

ETABLISSEMENT D ENSEIGNEMENT OU ORGANISME DE FORMATION / UNIVERSITY OR COLLEGE:

COUNCIL OF THE EUROPEAN UNION. Brussels, 18 September 2008 (19.09) (OR. fr) 13156/08 LIMITE PI 53

Règlement sur le télémarketing et les centres d'appel. Call Centres Telemarketing Sales Regulation

LOI SUR LA RECONNAISSANCE DE L'ADOPTION SELON LES COUTUMES AUTOCHTONES ABORIGINAL CUSTOM ADOPTION RECOGNITION ACT

NORME INTERNATIONALE INTERNATIONAL STANDARD. Dispositifs à semiconducteurs Dispositifs discrets. Semiconductor devices Discrete devices

Discours du Ministre Tassarajen Pillay Chedumbrum. Ministre des Technologies de l'information et de la Communication (TIC) Worshop on Dot.

English Q&A #1 Braille Services Requirement PPTC Q1. Would you like our proposal to be shipped or do you prefer an electronic submission?

HAUTE DISPONIBILITÉ DE MACHINE VIRTUELLE AVEC HYPER-V 2012 R2 PARTIE CONFIGURATION OPENVPN SUR PFSENSE

Comment utiliser HSRP pour assurer la redondance dans un réseau BGP multihébergé

Contents Windows

IPSAS 32 «Service concession arrangements» (SCA) Marie-Pierre Cordier Baudouin Griton, IPSAS Board

Thank you for choosing the Mobile Broadband USB Stick. With your USB Stick, you can access a wireless network at high speed.

This is a preview - click here to buy the full publication NORME INTERNATIONALE INTERNATIONAL STAN DARD. Telecontrol equipment and systems

THE LAW SOCIETY OF UPPER CANADA BY-LAW 19 [HANDLING OF MONEY AND OTHER PROPERTY] MOTION TO BE MOVED AT THE MEETING OF CONVOCATION ON JANUARY 24, 2002

Practice Direction. Class Proceedings

that the child(ren) was/were in need of protection under Part III of the Child and Family Services Act, and the court made an order on

0,3YDQGLWVVHFXULW\ FKDOOHQJHV 0$,1²0RELOLW\IRU$OO,31HWZRUNV²0RELOH,3 (XUHVFRP:RUNVKRS %HUOLQ$SULO

REMBO Version 2.0. Mathrice 2004 DESCRIPTION MISE EN OEUVRE CONCLUSION.

Package Contents. System Requirements. Before You Begin

Compléter le formulaire «Demande de participation» et l envoyer aux bureaux de SGC* à l adresse suivante :

Aurélien Méré FIIFO4

DOCUMENTATION - FRANCAIS... 2

TABLE DES MATIERES A OBJET PROCEDURE DE CONNEXION

Project 1 Experimenting with Simple Network Management Tools. ping, traceout, and Wireshark (formerly Ethereal)

The Simple Network Managment Protocol (SNMP)

EN UNE PAGE PLAN STRATÉGIQUE

CONVENTION DE STAGE TYPE STANDART TRAINING CONTRACT

THÈSE. présentée à TÉLÉCOM PARISTECH. pour obtenir le grade de. DOCTEUR de TÉLÉCOM PARISTECH. Mention Informatique et Réseaux. par.

Editing and managing Systems engineering processes at Snecma

ONTARIO Court File Number. Form 17E: Trial Management Conference Brief. Date of trial management conference. Name of party filing this brief

RAPID Prenez le contrôle sur vos données

INDIVIDUALS AND LEGAL ENTITIES: If the dividends have not been paid yet, you may be eligible for the simplified procedure.

APPENDIX 2. Provisions to be included in the contract between the Provider and the. Holder

CLIM/GTP/27/8 ANNEX III/ANNEXE III. Category 1 New indications/ 1 re catégorie Nouvelles indications

Cheque Holding Policy Disclosure (Banks) Regulations. Règlement sur la communication de la politique de retenue de chèques (banques) CONSOLIDATION

DOCUMENTATION - FRANCAIS... 2

Rappel: Le routage dans Internet. Contraintes. Environnement et contraintes. La décision dans IP du routage: - Table de routage:

AMENDMENT TO BILL 32 AMENDEMENT AU PROJET DE LOI 32

22/09/2014 sur la base de 55,03 euros par action

F-7a-v3 1 / Bourses de mobilité / Mobility Fellowships Formulaire de demande de bourse / Fellowship Application Form

Commerce Electronique. Développement de réseaux. Polycopie 2013/2014. Jalal BOULARBAH

Principe de TrueCrypt. Créer un volume pour TrueCrypt

INSTRUCTIONS. Comment compléter le formulaire. How to complete this form. Instructions

3615 SELFIE. HOW-TO / GUIDE D'UTILISATION

Supervision des réseaux

Critères à l attention des fabricants et des fournisseurs de biens ou de services : dispositifs mécaniques pour bingo

Thème n 5 : L'Administration des Réseaux. L'administration de l'internet: SNMP

LOGICIEL D'ADMINISTRATION POUR E4000 & G4000 MANAGEMENT SOFTWARE FOR E4000 & G4000

Quick Start Guide This guide is intended to get you started with Rational ClearCase or Rational ClearCase MultiSite.

Bill 69 Projet de loi 69

Comprendre l impact de l utilisation des réseaux sociaux en entreprise SYNTHESE DES RESULTATS : EUROPE ET FRANCE

Supervision de réseau

INVESTMENT REGULATIONS R In force October 1, RÈGLEMENT SUR LES INVESTISSEMENTS R En vigueur le 1 er octobre 2001

I. Programmation I. 1 Ecrire un programme en Scilab traduisant l organigramme montré ci-après (on pourra utiliser les annexes):

F1 Security Requirement Check List (SRCL)

UML : Unified Modeling Language

COPYRIGHT Danish Standards. NOT FOR COMMERCIAL USE OR REPRODUCTION. DS/EN 61303:1997

Support Orders and Support Provisions (Banks and Authorized Foreign Banks) Regulations

Contrôle d accès Access control MOD-TCPIP-AI. Notice technique / Technical Manual

Configurer la supervision pour une base MS SQL Server Viadéis Services

How to Login to Career Page

SERVEUR DÉDIÉ DOCUMENTATION

et Active Directory Ajout, modification et suppression de comptes, extraction d adresses pour les listes de diffusion

1.The pronouns me, te, nous, and vous are object pronouns.

Academic Project. B2- Web Development. Resit Project. Version 1.0 Last update: 24/05/2013 Use: Students Author: Samuel CUELLA

Deadline(s): Assignment: in week 8 of block C Exam: in week 7 (oral exam) and in the exam week (written exam) of block D

Cedric Dumoulin (C) The Java EE 7 Tutorial

TP DHCP et DNS. Université Pierre Mendès France U.F.R. Sciences de l Homme et de la Société Master IC²A

Les techniques de la télémaintenance

THE SUBJUNCTIVE MOOD. Twenty-nineth lesson Vingt-neuvième leçon

Logitech Tablet Keyboard for Windows 8, Windows RT and Android 3.0+ Setup Guide Guide d installation

PARIS ROISSY CHARLES DE GAULLE

Utiliser une WebCam. Micro-ordinateurs, informations, idées, trucs et astuces

Transcription:

A.U. : 2012/2013 Administration et sécurité des réseaux TD SNMP Exercice 1 : Répondre par vrai ou faux aux assertions suivantes en justifiant votre réponse. 1- Un manager qui a les droits de lecture et d écriture ne peut pas modifier la valeur de n importe quel objet de la MIB 2- Tout objet de la MIB est lui associé une valeur. 3- SNMP peut utiliser le même message pour lire la valeur d un objet et modifier la valeur d un autre objet puisqu il permet un accès multiple. 4- La taille d un message SNMP est fixe 5- Dans SNMPv2, les messages GET, GETNEXT et SET ne sont envoyé que par le manager. 6- La station d administration communique directement avec les objets administrés. 7- SNMP peut utiliser le même message pour lire plusieurs objets de la MIB. 8- Un hub ne peut pas être administrable car il agit au niveau physique Exercice 2 : On considère une partie de la MIB d un agent SNMP représentée ci dessous. 1- Donner les OID des objets «mystring» et «myobject» 2- Le manager désire récupérer la valeur de l objet «mystring» puis modifier la valeur de l objet «myobject» à 20. Donner, l échange des messages ( entre le manager et l agent) nécessaires pour réaliser les deux opérations en indiquant les attributs pertinents de chaque message. 3- Peut-on modifier la variable ipinreceives par SNMP? Page 1

Exercice 3 : Partie1 : Soient les deux messages SNMP suivants représentant une requête et sa réponse : 1- Déterminer la version de SNMP utilisé. 2- Préciser le type de la requête (simple ou multiple). Expliquer. 3- Préciser le «PDU type» du premier message (GET ou GET-NEXT ou SET). Expliquer. 4- Quelle est la signification de la valeur 11915034 dans le deuxième message? a-t-elle une relation avec le texte qui le suit? Expliquer. Partie2: Soient la requête SNMP suivante: 0x25 15246874 5- Préciser le type de la requête (simple ou multiple). Expliquer? 6- Préciser le «PDU type» (GET ou GET-NEXT ou SET). Expliquer? 7- A votre avis, que sera la réponse de l agent (en vos propres mots)? Expliquer? Exercice 4: 1) Un agent au niveau d un nœud doit remplir et maintenir à jour les objets da sa MIB indépendamment du manager. Expliquer comment cet agent obtient les valeurs des objets gérés afin de les sauvegarder dans sa MIB? 2) Préciser l utilité de la requête GET-NEXT par rapport à la requête GET? 3) Expliquer pourquoi le manager ne peut pas modifier la valeur de n importe quel objet de la MIB? 4) En faisant appel aux messages SNMP (GET, SET, GET-NEXT etc) a) Ecrire un algorithme permettant de fixer le TTL des paquets envoyés à 64? b) Ecrire un algorithme permettant de déterminer si un nœud joue le rôle d une passerelle ou non? c) Ecrire un algorithme permettant de déterminer le nombre d interfaces d un nœud et le débit de chaque interface? Page 2

Exercice 5 : On considère la SMI suivante d une MIB propriétaire d un Switch de marque SMC. smc OBJECT IDENTIFIER ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) 202 smcswitches OBJECT IDENTIFIER ::= { smc 20 smc6724l2 MODULE-IDENTITY LAST-UPDATED "0010300000Z" ORGANIZATION "SMC Networks Inc." CONTACT-INFO "SMC Networks, Inc. Customer Service Postal: No. 1 Creation Rd. III, Science-based Industrial Park, Hsinchu 300-77, Taiwan, R.O.C. Tel: 3-5770270 E-mail: support@accton.com.tw" "The MIB module for SMC6724L2." REVISION "0010300000Z" "Initial version of this MIB." ::= { smcswitches 11 lanmodule OBJECT IDENTIFIER ::= { smc6724l2 1 -- wanmodule OBJECT IDENTIFIER ::= { smc6724l2 2 vnisystemadmin OBJECT IDENTIFIER ::= { lanmodule 2 vnisystemadmintable OBJECT-TYPE SYNTAX SEQUENCE OF VniSystemAdminEntry "System Administration Configuration Settings Table" ::= { vnisystemadmin 1 vnisystemadminentry OBJECT-TYPE SYNTAX VniSystemAdminEntry "System Administration Configuration Settings Entry" INDEX { vnisystemadminuserid ::= { vnisystemadmintable 1 VniSystemAdminEntry ::= SEQUENCE { vnisystemadminuserid INTEGER, vnisystemadminpassword DisplayString, vnisystemadminname DisplayString vnisystemadminuserid OBJECT-TYPE Page 3

SYNTAX INTEGER { admin(1), guest(2) "User ID" ::= { vnisystemadminentry 1 vnisystemadminpassword OBJECT-TYPE SYNTAX DisplayString(SIZE(0..17)) "User password" ::= { vnisystemadminentry 2 vnisystemadminname OBJECT-TYPE SYNTAX DisplayString(SIZE(0..17)) "User name" ::= { vnisystemadminentry 3 1. Tracer l arbre d objets de cette MIB et déterminer l OID des variables vnisystemadminuserid, vnisystemadminpassword, vnisystemadminname. 2. Quelles sont les requêtes SNMP (avec leurs arguments) qu on peut appliquer à ces trois variables dans le cas où l accès à l Agent du switch est en lecture seule et dans le cas où l accès est en lecture-écriture. 3. Le switch possède un seul compte administrateur ayant un vnisystemadminname= admin, un vnisystemadminpassword= smcadmin. Appliquer les requêtes nécessaires pour accèder à ces informations sachant que le manager ne connait que la structure de cette MIB. Exercice 6 : Note : On trouvera en annexe les extraits utiles de la MIB-II ; on a supprimé certaines variables pour simplifier, considérez que seules les variables indiquées existent. Pour les Objet Identifier (OID), donner le nom simple et aussi la forme numérique, complète à partir de la racine. 1) On veut regarder par SNMP si une machine «machine» est un routeur ou non. Quelle variable SNMP consulter? Donner le nom, l'oid. Indiquer une requête SNMP pour lire cette variable; quels sont les arguments de cette requête et le résultat? 2) Donner l'appel SNMP (avec ses arguments) modifiant «machine» pour qu'elle devienne un routeur. On considère pour «machine» la table de routes suivante (cas d'une machine d'interface Ethernet d'adresse 210.1.1.10, netmask 255.255.255.0) : 3) Quelles sont les variables SNMP associées à la route 195.1.1.0/24 (donner les OID et les valeurs)? Page 4

4) Quel est le nom, et l'oid numérique de la variable donnant la «passerelle» pour la route par défaut? 5) Donner l'appel SNMP (avec ses arguments) mettant hors service l'interface de la route 195.1.1.0/24 6) On supposant que l administrateur ne connaît pas le contenu de cette table de routage, donner toutes les requêtes permettant de lire les objets de la MIB relatifs à cette table de routage sous forme nom_requête(oid, valeur). Annexes RFC1213-MIB DEFINITIONS ::= BEGIN IMPORTS mgmt, NetworkAddress, IpAddress, Counter, Gauge, TimeTicks FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212; -- This MIB module uses the extended OBJECT-TYPE macro as -- defined in [14]; -- MIB-II (same prefix as MIB-I) mib-2 OBJECT IDENTIFIER ::= { iso(1) org(3) dod(6) internet(1) mgmt (2) 1 -- textual conventions DisplayString ::= OCTET STRING -- This data type is used to model textual information taken -- from the NVT ASCII character set. By convention, objects -- with this syntax are declared as having -- -- SIZE (0..255) PhysAddress ::= OCTET STRING -- This data type is used to model media addresses. For many -- types of media, this will be in a binary representation. -- For example, an ethernet address would be represented as -- a string of 6 octets. -- groups in MIB-II interfaces OBJECT IDENTIFIER ::= { mib-2 2 ip OBJECT IDENTIFIER ::= { mib-2 4 -- the Interfaces group -- Implementation of the Interfaces group is mandatory for -- all systems. ifnumber OBJECT-TYPE SYNTAX INTEGER "The number of network interfaces (regardless of their current state) present on this system." ::= { interfaces 1 -- the Interfaces table Page 5

-- The Interfaces table contains information on the entity's -- interfaces. Each interface is thought of as being -- attached to a `subnetwork'. Note that this term should -- not be confused with `subnet' which refers to an -- addressing partitioning scheme used in the Internet suite -- of protocols. iftable OBJECT-TYPE SYNTAX SEQUENCE OF IfEntry "A list of interface entries. The number of entries is given by the value of ifnumber." ::= { interfaces 2 ifentry OBJECT-TYPE SYNTAX IfEntry "An interface entry containing objects at the subnetwork layer and below for a particular interface." INDEX { ifindex ::= { iftable 1 IfEntry ::= SEQUENCE { ifindex INTEGER, ifdescr DisplayString, -- NOTE: plusieurs champs ont été supprimés pour simplifier le texte ifadminstatus INTEGER, ifoperstatus ifindex OBJECT-TYPE SYNTAX INTEGER "A unique value for each interface. Its value ranges between 1 and the value of ifnumber. The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next reinitialization." ::= { ifentry 1 ifdescr OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) "A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the hardware interface." ::= { ifentry 2 ifadminstatus OBJECT-TYPE SYNTAX INTEGER { up(1), -- ready to pass packets Page 6

down(2), testing(3) -- in some test mode "The desired state of the interface.the testing(3) state indicates that no operational packets can be passed." ::= { ifentry 7 ifoperstatus OBJECT-TYPE SYNTAX INTEGER { up(1), -- ready to pass packets down(2), testing(3) -- in some test mode "The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed." ::= { ifentry 8 -- the IP group -- Implementation of the IP group is mandatory for all -- systems. ipforwarding OBJECT-TYPE SYNTAX INTEGER { forwarding(1), -- acting as a gateway not-forwarding(2) -- NOT acting as a gateway "The indication of whether this entity is acting as an IP gateway in respect to the forwarding of datagrams received by, but not addressed to, this entity. IP gateways forward datagrams. IP hosts do not (except those source-routed via the host). Note that for some managed nodes, this object may take on only a subset of the values possible. Accordingly, it is appropriate for an agent to return a `badvalue' response if a management station attempts to change this object to an inappropriate value." ::= { ip 1 ipdefaultttl OBJECT-TYPE SYNTAX INTEGER "The default value inserted into the Time-To-Live field of the IP header of datagrams originated at this entity, whenever a TTL value is not supplied by the transport layer protocol." ::= { ip 2 ipinreceives OBJECT-TYPE SYNTAX Counter Page 7

"The total number of input datagrams received from interfaces, including those received in error." ::= { ip 3.. -- the IP routing table -- The IP routing table contains an entry for each route -- presently known to this entity. iproutetable OBJECT-TYPE SYNTAX SEQUENCE OF IpRouteEntry "This entity's IP Routing table." ::= { ip 21 iprouteentry OBJECT-TYPE SYNTAX IpRouteEntry "A route to a particular destination." INDEX { iproutedest ::= { iproutetable 1 IpRouteEntry ::= SEQUENCE { iproutedest IpAddress, iprouteifindex INTEGER, iproutenexthop IpAddress, iproutetype INTEGER, iproutemask IpAddress, iproutedest OBJECT-TYPE SYNTAX IpAddress "The destination IP address of this route. An entry with a value of 0.0.0.0 is considered a default route. Multiple routes to a single destination can appear in the table, but access to such multiple entries is dependent on the tableaccess mechanisms defined by the network management protocol in use." ::= { iprouteentry 1 iprouteifindex OBJECT-TYPE SYNTAX INTEGER "The index value which uniquely identifies the local interface through which the next hop of this route should be reached. The interface identified by a particular value of this index is the same interface as identified by the same value of Page 8

ifindex." ::= { iprouteentry 2 iproutenexthop OBJECT-TYPE SYNTAX IpAddress "The IP address of the next hop of this route. (In the case of a route bound to an interface which is realized via a broadcast media, the value of this field is the agent's IP address on that interface.)" ::= { iprouteentry 7 iproutetype OBJECT-TYPE SYNTAX INTEGER { other(1), -- none of the following invalid(2), direct(3), -- an invalidated route -- route to directly -- connected (sub-)network -- route to a non-local indirect(4) -- host/network/sub-network "The type of route. Note that the values direct(3) and indirect(4) refer to the notion of direct and indirect routing in the IP architecture. Setting this object to the value invalid(2) has the effect of invalidating the corresponding entry in the iproutetable object. That is, it effectivelydissasociates the destination identified with said entry from the route identified with said entry. It is an implementation-specific matter as to whether the agent removes an invalidated entry from the table. Accordingly, management stations must be prepared to receive tabular information from agents that corresponds to entries not currently in use. Proper interpretation of such entries requires examination of the relevant iproutetype object." ::= { iprouteentry 8 iproutemask OBJECT-TYPE SYNTAX IpAddress "Indicate the mask to be logical-anded with the destination address before being compared to the value in the iproutedest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the iproutemask by determining whether the value of the correspondent iproutedest field belong to a class-a, B, or C network, and then using one of: mask network 255.0.0.0 class-a Page 9

255.255.0.0 class-b 255.255.255.0 class-c If the value of the iproutedest is 0.0.0.0 (a default route), then the mask value is also 0.0.0.0. It should be noted that all IP routing subsystems implicitly use this mechanism." ::= { iprouteentry 11 Page 10