snmp in the ipv6 context - 情報処理学会 · 2003/01/28 cyber solutions inc./tohoku univ. 1...

29
2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide , Debasish Chakraborty, Norio Shiratori Cyber Solutions Inc.

Upload: others

Post on 21-Mar-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1

SNMP in the IPv6 Context

Glenn Mansfield Keeni, ○Kazuhide Koide,Debasish Chakraborty, Norio Shiratori

Cyber Solutions Inc.

Page 2: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 2

Contentsl Introductionl Network Monitoring and Multi-Protocol Issues

l Status Surveyl MIB investigation

l Solution: Development of IPv6 ready SNMP-agentl Transportl Proxy (SNMP Proxy between IPv4/IPv6)l Access Control (Access Control based on IPv6-address)

l Application: Passive Monitorl Agent that Collects IPv6 Traffic Informationl Visualization

l Conclusion

Page 3: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 3

agent

manager

SNMP/UDP/IP

viewer

Issues of SNMP in IPv6 NetworkEx.) Network Monitoring Environment using SNMP polling

IPInOctets

Page 4: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 4

agent

manager

SNMP/IPv6?

Issues of SNMP in IPv6 Network

P1:Transport issue

Page 5: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 5

viewermanager

IPv6InOctets ?

Issues of SNMP in IPv6 Network

P2:MIB issue

Page 6: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 6

The Multi-Protocol Issues:l MIB definitions & Implementations

→ MIB data structure supports IPv6l Number of IPv6 Packets, Octetsl Metric of an IPv6 route

l Transport Definitions & Implementations→Multi-protocol in transporting SNMP, proxy, access controll IPv4/IPv6, TCP/UDP, SNMPv1/v2/v3

Today: RFC under construction<draft-ietf-ipv6-rfc2011-update-*.txt><draft-ietf-ipv6-rfc2012-update-*.txt><draft-ietf-ipv6-rfc2012-update-*.txt><draft-ietf-ipv6-rfc2096-update-*.txt>

Today: RFC 3291(Textual Conventions for Internet Network Addresses)Implementation: net-snmp5.0.6

Page 7: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 7

Survey : MIBs using “IP Address”

5RMON2-MIB

1UDP-MIB

2TCP-MIB

3IP-MIB

18MIP-MIB

13OSPF-MIB

4RIPv2-MIB

1SMDS-if MIB

11BGP4-MIB

4DNS Resolver MIB

3DNS Server MIB

2SNA APPN MIB

8BGPv3 MIB

2AppleTalk MIB

8MIB-II

No. of OBJECTSMIB name

1DOCS-BPI-MIB

1NOTIFICATION-LOG-MIB

1DISMAN-EXPRESSION-MIB

4VRRP-MIB

1DOCS-IF-MIB

12DOCS-CABLE-DEVICE-MIB

4IP Tunnel MIB

1RADIUS-ACC-SERVER-MIB

1RADIUS-ACC-CLIENT-MIB

1RADIUS-AUTH-SERVER-MIB

1RADIUS-AUTH-CLIENT-MIB

1TN3270E-MIB

1ATM-MIB

10IPATM-IPMC-MIB

3IOPA-MIB

6IP-FORWARD-MIB

No. of OBJECTSMIB name

l These MIBs need to update to support IPv6(Focus on MIBs defined by RFC)

Page 8: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 8

MIBs using “IPv6 Address”

ipv6NetToMediaNetAddress

ipv6RouteNextHop

ipv6RouteDest

ipv6AddrAddressIPV6-MIB

ipv6UdpLocalAddressIPV6-UDP-MIB

ipv6TcpConnRemAddress

ipv6TcpConnLocalAddressIPV6-TCP-MIB

Managed ObjectMIB name

l “IPv6Address”l RFC exists - Only MOs in MIB-IIl MIB-II, Forwarding MIB are under discussion<draft-ietf-ipv6-rfc2011-update-*.txt><draft-ietf-ipv6-rfc2012-update-*.txt><draft-ietf-ipv6-rfc2012-update-*.txt><draft-ietf-ipv6-rfc2096-update-*.txt>

→Not sufficient

Page 9: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 9

Solution : transport issues Development of IPv6 ready SNMP-agent

l Design of IPv6 ready SNMP-agentl RFC 3291

(Textual Conventions for Internet Network Addresses)

l Deployment based on net-snmp-5.0pre1l Transport implementationl Proxy implementationl ACL implementation

→Merged into net-snmp(mainstream)

l The latest Ver.:net-snmp-5.0.6→IPv6 transport is available

Page 10: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 10

Traffic Pattern of ‘snmpwalk’ in IPv4/IPv6

:IPv4 snmpwalk:IPv6 snmpwalk

Equipment : FreeBSD4.6(KAME) + net-snmp5.0.6

time[sec]

[bytes]

Page 11: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 11

Use of SNMP Proxy(IPv4/v6)

Proxy Agent

IPv4Network

IPv6Network

Manager

Manager

Managing Equipment (agent)

Managing Equipment

Page 12: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 12

Use of Access control (ACL) in IPv6

Segment A(Allowed Network)

Segment B(Denied Network)

IPv6 ready SNMP-agent

IPv6 Network

IPv6Network

2001:200:1a0:ff00::/64

2001:200:1a0:ff01::/64

2001:200:1a0:ff00::c0a8:76/64 2001:200:1a0:ff00::c0a8:a01/64

# sec.name source communitycom2sec mynetwork 2001:200:1a0:ff00::/64 RIGHT

Page 13: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 13

Current status

○SNMP transport over IPv6

○IPv4 ⇔ IPv6 Transport Proxy

○VACM in IPv6 Environment

○USM Authentication/Privacy in IPv6 Environment○USM Authentication in IPv6 Environment

○Access Control based on IPv6 Address

OurImplementation

Page 14: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 14

Application : IPv6 Network Monitoring

l In many existing IPv6 network:l SNMP-functions of Equipments : insufficient

l Monitoring of IPv6 Network or Traffic by SNMP:→Difficult

RMON-type(add-on) passive monitoring agent

Proposal

Page 15: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 15

Passive Monitoring

l Strategy of Network Monitoringl Sniffing link using Tapping Kit (Ex. RMON)

l Merits:l Do NOT affect to Network Operationl Capability to access details in each packet

→Capable of getting ANY(IPv4/IPv6) information→Also capable of getting Application-layer Information

Managing Equipment(Router, Host, Network)

Tapping Kit Passive Monitor

Agent

Page 16: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 16

Multi-Protocol Passive Monitor

Feature:l Any kind of Info. about packetsl {Packets, Octets}l {IPv4, IPv6}l {TCP,UDP,ICMP}l {Application wise..}l {VLAN1,VLAN2,..}

l Information provision in MIBsl Remote Monitoring

l Multi-protocol Transportl SNMP over IPv4/v6l SNMP v1/v2c/v3

Monitor

tapping

Page 17: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 17

l Probe - Backendl Collecting Information of every packetsl pcap , filtering

l SNMP agent - Frontendl Information Provision in MIB form

l Programmable MIB

l Multi-protocol Transport

Implementation:pcap + net-snmp + new MIB

tapping

Probe

SNMP agent

Designing

Page 18: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 18

Agent(1-box)

Page 19: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 19

Agent(Tapping Kit(100baseTX) + PC)

Page 20: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 20

Tapping Kit(1000base-SX)

Page 21: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 21

Experiment

l Environment : JGN-IPv6(IPv6 test-bed)l From Nov. 2001l TOHOKU-HOKKAIDO NOC in Tohoku Univ.l 6-sites are connected

Page 22: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 22

Environment : JGN-IPv6 Tohoku-NOC

JGN-IPv6

CISCO 7206

Summit 24(3ffe:516:3010::/64)

Iwamizawa

Sapporo

Hachinohe

Iwate Sendai Aizu

3ffe:516:3005::/64

v6Router

3ffe:516:3010:10::/64

192.168.0.0/24

agent3

agent2

agent1

manager

→[mirrored traffic]

130.34.38.128/26

IPv4-cloud

v4Router

:Tap Kit

Page 23: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 23

Visualization

u 2002/Nov./9 JGN Symposium(MPEG traffic, Video Conference)

Page 24: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 24

Conclusion

Status Survey:MIB Investigation

Solutions:Transport: Design and Implementation of

IPv6 transport SNMP-agentProxy: Ready - lPv6 SNMP ProxyACL: Ready - IPv6 Access Control

Application:Multi-protocol Passive MonitorCapability to Monitor ANY Network

Status:Prototype operationat JGN-IPv6 Tohoku-Hokkaido NOC

Page 25: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 25

Future Works

l Implementation of IPv6-ready MIBs

l “Programmable Monitoring”l Using

“Light-weight Multi-Protocol Passive Monitor”l “Very Light RMON”l Easy Use

l For IPv6 Monitoring

Page 26: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 26

Appendix A.Definition of SNMP over UDP/IPv4

-- SNMPv2 over UDP over IPv4snmpUDPDomain OBJECT-IDENTITY

STATUS currentDESCRIPTION

“The SNMPv2 over UDP transport domain. The correspondingtransport address is of the type SNMPUDPAddress.”

::= { snmpDomains 1}SnmpUDPAddress ::= TEXTUAL-CONVENTION

DISPLAY-HINT “1d.1d.1d.1d/2d”STATUS currentDESCRIPTION

“Represents a UDP address:                  octets contents encoding

1-4 IP-address network-byte order5-6 UDP-port network-byte order”

SYNTAX OCTET STRING (SIZE(6))

l Definition of TRANSPORT

J.Case, K. McCloghrie, M.Rose, S. Waldbusser, RFC1906, Transport Mapping for Version 2 of the Simple Network Management Protocol (SNMPv2)

Page 27: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 27

Appendix B.Definition of SNMP over UDP/IPv6

transportDomainUdpIpv6 OBJECT-IDENTITYSTATUS currentDESCRIPTION

"The UDP over IPv6 transport domain. The correspondingtransport address is of type TransportAddressIPv6."

::= { transportDomains 2 }

TransportAddressIPv6 ::= TEXTUAL-CONVENTIONDISPLAY-HINT "0a[2x:2x:2x:2x:2x:2x:2x:2x]0a:2d"STATUS currentDESCRIPTION

     "Represents a UDP/TCP/SCTP over IPv6 transport address:

octets contents encoding1-16 IPv6 address network-byte order

17-18 port number network-byte order

This textual convention SHOULD NOT be used directly in objectdefinitions since it restricts addresses to a specific format.However, if it is used, it MAY be used either on its own orin conjunction with TransportAddressType or TransportDomainas a pair."

SYNTAX OCTET STRING (SIZE (18))

l Definition of TRANSPORT in IPv6 network

M. Daniele, J. Schoenwaelder, Textual Conventions for Transport Address, draft-ietf-ops-taddress-mib-02.txt

Page 28: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 28

Appendix C.snmpd.conf for proxy

# proxy to SNMP over IPv6 agent proxy -v1 -c COMMUNITY 2001:200:1a0:ff00::ffff .enterprise.73.15.1 .1proxy -v2c -c COMMUNITY 2001:200:1a0:ff00::ffff .enterprise.73.15.2 .1proxy -v3 -u user -l authNoPriv -a MD5 -A AUTHPASS 2001:200:1a0:ff00::ffff .enterprise.73.15.3 .1proxy -v3 -u user -l authPriv -a MD5 -A AUTHPASS -x DES -X PRIVPASS 2001:200:1a0:ff00::ffff .enterprise.73.15.4 .1

# proxy to SNMP over IPv4 agentproxy -v1 -c COMMUNITY 192.168.0.254 .enterprise.73.14.1 .1proxy -v2c -c COMMUNITY 192.168.0.254 .enterprise.73.14.2 .1proxy -v3 -u user -l authNoPriv -a MD5 -A AUTHPASS 192.168.0.254 .enterprise.73.14.3 .1proxy -v3 -u user -l authPriv -a MD5 -A AUTHPASS -x DES -X PRIVPASS 192.168.0.254 .enterprise.73.14.4 .1

Page 29: SNMP in the IPv6 Context - 情報処理学会 · 2003/01/28 Cyber Solutions Inc./Tohoku Univ. 1 SNMP in the IPv6 Context Glenn Mansfield Keeni, Kazuhide Koide, Debasish Chakraborty

2003/01/28 Cyber Solutions Inc./Tohoku Univ. 29

Appendix D.Programmable MIB

# cpMonitorBE.confpreprocessor CGpMonitor: 22 23 80 161 162