SlideShare a Scribd company logo
1 of 26
Download to read offline
c 2009
Benedikt
Stockebrand
Monitoring (and) IPv6
Benedikt Stockebrand
Dipl. Inform.
<me@benedikt-stockebrand.de>
October 28, 2009
Open Source Monitoring Conference
N¨urnberg, Germany
<<< << >> >>> 1/26
c 2009
Benedikt
Stockebrand
Introduction
IPv6 and Monitoring
Monitoring and IPv6 Deployment
What is IPv6?
The IPv6 (Non-)Impact
<<< << Introduction >> >>> 2/26
c 2009
Benedikt
Stockebrand
IPv6 and Monitoring
Intended Audiences
◮ Monitoring tool users
◮ Check script/plugin developers
◮ Monitoring tool developers
Relationships between Monitoring and IPv6
◮ Monitoring and IPv6 Deployments
◮ Monitoring IPv6
◮ Monitoring with IPv6
<<< << Introduction IPv6 and Monitoring >> >>> 3/26
c 2009
Benedikt
Stockebrand
Monitoring and IPv6 Deployment
◮ Most things won’t break when IPv6 is deployed,
◮ . . . but IPv6 can potentially break anything.
◮ During a deployment, make sure everything works.
◮ Don’t deploy IPv6 without comprehensive
monitoring.
◮ Help management understand the importance of
monitoring:-)
<<< << Introduction Monitoring and IPv6 Deployment >> >>> 4/26
c 2009
Benedikt
Stockebrand
What is IPv6? I
Application
Layer
Transport
Layer
Network
Layer
Link
Layer
DNS SSH SMTP IMAP HTTP · · ·
TCP UDP · · ·
IP(v4)
IGMP ICMP
IPv6
MLD ICMP6
Ethernet PPP
Token
Ring
· · ·
<<< << Introduction What is IPv6? >> >>> 5/26
c 2009
Benedikt
Stockebrand
What is IPv6? II
◮ IPv4 and IPv6 can be run in parallel.
◮ IPv6 can’t solve problems outside the network layer.
◮ IPv6 can’t solve fundamental design deficiencies of
the TCP/IP stack.
◮ Application porting should be easy. . .
◮ . . . but still must be done.
◮ Monitoring should be affected in only few areas.
<<< << Introduction What is IPv6? >> >>> 6/26
c 2009
Benedikt
Stockebrand
The IPv6 (Non-)Impact
Unaffected are:
◮ Local checks (disk usage, CPU load, . . . )
◮ Anything IPv4-specific
Possibly affected are:
◮ Network applications (depending on check method)
◮ Network communications within monitoring
software (depending on transport used)
Always affected are:
◮ IPv6-specific checks
◮ New monitoring features requiring IPv6
<<< << Introduction The IPv6 (Non-)Impact >> >>> 7/26
c 2009
Benedikt
Stockebrand
Monitoring and the IPv6 Way of Networking
Scopes
IPv6 Addressing
Helpful New Mechanisms
<<< << Monitoring and the IPv6 Way of Networking >> >>> 8/26
c 2009
Benedikt
Stockebrand
Scopes
◮ Link-local scope is new.
◮ Site-local scope is still available.
◮ ARP has become ICMPv6 Neighbor Discovery
(ND).
◮ Link-local features may require a satellite
(NRPE or such) per subnet.
◮ Consider a 802.1Q trunk interface
on your monitoring server.
<<< << Monitoring and the IPv6 Way of Networking Scopes >> >>> 9/26
c 2009
Benedikt
Stockebrand
Plain Vanilla Unicast Addresses
◮ NAT is dead.
◮ . . . and so is STUN.
◮ There are enough addresses.
◮ Use Unique-local Addresses (ULA) with site-local
scope where applicable.
◮ Multiple addresses per interface:
◮ Check all, not just a “primary” one.
◮ Hosts may use randomized temporary addresses
(aka. “Privacy Extensions”, RFC 3041).
◮ Multiple addresses from DNS:
◮ Check services with all.
◮ Watch for excessive timeouts.
◮ Beware of ping6 limitations.
◮ Check DNS queries via TCP.
<<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 10/26
c 2009
Benedikt
Stockebrand
Multicast
IPv6 multicast offers
◮ all the addresses you need,
◮ actually working multicast routing
(within scalability limits) and
◮ enormous potential for new functionalities.
Multicast routing monitoring:
◮ Use multicast ping (with mcjoin) for simple tests.
◮ Possibly check from multiple subnets.
<<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 11/26
c 2009
Benedikt
Stockebrand
Anycast
◮ Now a standard, no longer a hack
◮ Difficult to test without actual failover
◮ Use whitebox style local checks
<<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 12/26
c 2009
Benedikt
Stockebrand
Helpful New Mechanisms
Autoconfiguration
◮ Much better than DHCP address management.
◮ Check lifetimes locally on host.
◮ Check for (possibly multiple) default routes on hosts.
Duplicate Address Detection
◮ Should appear locally in syslog.
<<< << Monitoring and the IPv6 Way of Networking Helpful New Mechanisms >> >>> 13/26
c 2009
Benedikt
Stockebrand
Monitoring Dual Stack Environments
Tunnels
Gateway Mechanisms
Where to Put Your Monitoring Server
<<< << Monitoring Dual Stack Environments >> >>> 14/26
c 2009
Benedikt
Stockebrand
Tunnels
◮ Do IPv6 blackbox tests through tunnels.
◮ Do IPv4 whitebox tests of tunnel routes if possible.
◮ Check for unexpected tunnels
in security-critical environments
(especially Teredo, UDP 3544).
<<< << Monitoring Dual Stack Environments Tunnels >> >>> 15/26
c 2009
Benedikt
Stockebrand
Gateway Mechanisms
◮ Application level gateways/proxies are basically
unchanged.
◮ Protocol translators (TRT, NAT-PT) can be
troublesome.
◮ Avoid them, they are deprecated anyway.
◮ Don’t rely on ping to work through them.
◮ Check the application instead.
◮ Transparent proxies (socat et al.)
can also be somewhat troublesome.
◮ Pings are answered by the proxy.
<<< << Monitoring Dual Stack Environments Gateway Mechanisms >> >>> 16/26
c 2009
Benedikt
Stockebrand
Where to Put Your Monitoring Server
◮ Preferably keep your monitoring server
dual-stacked.
◮ This may require a minor downtime of the
monitoring server.
◮ Consider adding a dedicated IPv6 interface,
rather than dual-stacking an existing one.
◮ If that’s impossible, use satellites.
◮ If that’s impossible, use (transparent) proxies.
◮ Don’t force all clients to be dual-stacked.
<<< << Monitoring Dual Stack Environments Where to Put Your Monitoring Server >> >>> 17/26
c 2009
Benedikt
Stockebrand
Monitoring With IPv6
Intermediate Protocols
Monitoring Protocols
Adding IPv6 Support
Summary
<<< << Monitoring With IPv6 >> >>> 18/26
c 2009
Benedikt
Stockebrand
Ssh and SSL
◮ Ssh works without problems.
◮ SSL too, unless openssl s client and s server
are used with popen(3) or scripts.
◮ The multiple addresses issue may cause
undesirable effects.
<<< << Monitoring With IPv6 Intermediate Protocols >> >>> 19/26
c 2009
Benedikt
Stockebrand
Standard Protocols
SNMP
◮ netsnmp works fine.
◮ But many appliances (routers, switches, . . . ) don’t.
Syslog
◮ The Linux sysklogd doesn’t support IPv6.
◮ Use syslog-ng or rsyslog on Linux.
◮ Many appliances don’t support IPv6.
Workarounds:
◮ make the monitoring servers/satellites dual stacked,
◮ use satellites,
◮ or proxies.
<<< << Monitoring With IPv6 Monitoring Protocols >> >>> 20/26
c 2009
Benedikt
Stockebrand
Nagios and IPv6 I
◮ Works fine over Ssh.
◮ Works fine through Apache.
◮ But (sorry about the nagging. . . ):
<<< << Monitoring With IPv6 Monitoring Protocols >> >>> 21/26
c 2009
Benedikt
Stockebrand
Nagios and IPv6 II
From: Jens Link [. . . ]
Subject: IPv6 Monitoring
Moin,
was fuer deinen Vortrag. Falls du einen der
Entwickler dabei hast.
root@calo-ila# ./check nrpe -H 2001:6f8:1138::1
Invalid host name ’2001:6f8:1138::1’
(Auch mit nur Hostname, [], ...)
root@calo-ila# ./check nrpe
Incorrect command line arguments supplied
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad
(nagios@nagios.org)
Version: 2.12
Last Modified: 03-10-2008
Jens
<<< << Monitoring With IPv6 Monitoring Protocols >> >>> 22/26
c 2009
Benedikt
Stockebrand
Adding IPv6 Support
◮ Software is usually easy to port,
◮ . . . but still requires doing so.
◮ Code samples at my home page
http://www.benedikt-stockebrand.de/
◮ TCP is simple, UDP can involve a bit of work.
◮ Alternative I: Run over existing protocols, like Ssh.
◮ Alternative II: Use a high level language.
◮ Review all code sections touching raw IP
addresses.
◮ Expect minor fun with configuration syntax issues.
Show that Open Source is a step (or ten) ahead!
<<< << Monitoring With IPv6 Adding IPv6 Support >> >>> 23/26
c 2009
Benedikt
Stockebrand
Making Use of IPv6
Developers
◮ Multicast routing is worth some real thought.
◮ Neighbor Discovery may simplify
ARPwatch style functionality.
Users
◮ Consider using dedicated addresses for monitoring
access.
Everybody
◮ Forget about NAT, STUN and similar diseases.
<<< << Monitoring With IPv6 Adding IPv6 Support >> >>> 24/26
c 2009
Benedikt
Stockebrand
Summary: Monitoring With IPv6
◮ IPv6 needs proper monitoring.
◮ Monitoring stays largely unchanged.
◮ Some details need work.
◮ IPv6 simplifies monitoring in a number of respects.
◮ IPv6 offers some nice infrastructure features.
<<< << Monitoring With IPv6 Summary >> >>> 25/26
c 2009
Benedikt
Stockebrand
Contact Information
Benedikt Stockebrand
Dipl.-Inform.
Fichardstr. 38
D-60322 Frankfurt/Main
contact@benedikt-stockebrand.de
http://www.benedikt-stockebrand.de/
<<< << Contact Information >> >>> 26/26

More Related Content

What's hot (18)

Network scanning
Network scanningNetwork scanning
Network scanning
 
BSides London - Scapy Workshop
BSides London - Scapy WorkshopBSides London - Scapy Workshop
BSides London - Scapy Workshop
 
NMAP
NMAPNMAP
NMAP
 
NMap
NMapNMap
NMap
 
N map presentation
N map presentationN map presentation
N map presentation
 
Nmap and metasploitable
Nmap and metasploitableNmap and metasploitable
Nmap and metasploitable
 
Nmap(network mapping)
Nmap(network mapping)Nmap(network mapping)
Nmap(network mapping)
 
2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast
 
Nmap Basics
Nmap BasicsNmap Basics
Nmap Basics
 
Recon with Nmap
Recon with Nmap Recon with Nmap
Recon with Nmap
 
Deep dive networking
Deep dive networkingDeep dive networking
Deep dive networking
 
Nmap basics
Nmap basicsNmap basics
Nmap basics
 
IPv6 Council: IPv6 on your servers; fun or frightening?
IPv6 Council: IPv6 on your servers; fun or frightening? IPv6 Council: IPv6 on your servers; fun or frightening?
IPv6 Council: IPv6 on your servers; fun or frightening?
 
Linux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack NetworkingLinux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack Networking
 
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security AssessmentPositive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
 
Deploying IPv6 on OpenStack
Deploying IPv6 on OpenStackDeploying IPv6 on OpenStack
Deploying IPv6 on OpenStack
 
Port scanning
Port scanningPort scanning
Port scanning
 
Troubleshooting Tracebacks
Troubleshooting TracebacksTroubleshooting Tracebacks
Troubleshooting Tracebacks
 

Similar to OSMC 2009 | Monitoring and IPv6 by Benedikt Stockebrandt

Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewbrouer
 
presentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfpresentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfHaithamAli51
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICAPNIC
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksSkeeve Stevens
 
NTC/326 ENTIRE CLASS UOP TUTORIALS
NTC/326 ENTIRE CLASS UOP TUTORIALSNTC/326 ENTIRE CLASS UOP TUTORIALS
NTC/326 ENTIRE CLASS UOP TUTORIALSSharon Reynolds
 
PLNOG 3: Jens Link - IPv6 - Migration Planning
PLNOG 3: Jens Link -  IPv6 - Migration PlanningPLNOG 3: Jens Link -  IPv6 - Migration Planning
PLNOG 3: Jens Link - IPv6 - Migration PlanningPROIDEA
 
Adding IPv6 to the application layer
Adding IPv6 to the application layerAdding IPv6 to the application layer
Adding IPv6 to the application layerKoichi Taniguchi
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceSamsung Open Source Group
 
Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Lars Vogdt
 
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment Ethern Lin
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPFAlex Maestretti
 
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNICIndonesia Network Operators Group
 
How to configure flexible netflow export on cisco routers
How to configure flexible netflow export on cisco routersHow to configure flexible netflow export on cisco routers
How to configure flexible netflow export on cisco routersIT Tech
 
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabNSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabCisco Canada
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002suvobgd
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linaro
 
Linux networking is Awesome!
Linux networking is Awesome!Linux networking is Awesome!
Linux networking is Awesome!Cumulus Networks
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE
 

Similar to OSMC 2009 | Monitoring and IPv6 by Benedikt Stockebrandt (20)

Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
 
presentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfpresentation_5725_1534743837.pdf
presentation_5725_1534743837.pdf
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNIC
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP Networks
 
NTC/326 ENTIRE CLASS UOP TUTORIALS
NTC/326 ENTIRE CLASS UOP TUTORIALSNTC/326 ENTIRE CLASS UOP TUTORIALS
NTC/326 ENTIRE CLASS UOP TUTORIALS
 
PLNOG 3: Jens Link - IPv6 - Migration Planning
PLNOG 3: Jens Link -  IPv6 - Migration PlanningPLNOG 3: Jens Link -  IPv6 - Migration Planning
PLNOG 3: Jens Link - IPv6 - Migration Planning
 
Adding IPv6 to the application layer
Adding IPv6 to the application layerAdding IPv6 to the application layer
Adding IPv6 to the application layer
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
IPv6 at CSCS
IPv6 at CSCSIPv6 at CSCS
IPv6 at CSCS
 
Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015
 
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment
IPv6/IPv4 Transition: The experience sharing of Tunnel Broker deployment
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPF
 
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC
02 - IDNOG04 - Sheryl Hermoso (APNIC) - IPv6 Deployment at APNIC
 
How to configure flexible netflow export on cisco routers
How to configure flexible netflow export on cisco routersHow to configure flexible netflow export on cisco routers
How to configure flexible netflow export on cisco routers
 
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabNSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002
 
Run Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT NetworkRun Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT Network
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
Linux networking is Awesome!
Linux networking is Awesome!Linux networking is Awesome!
Linux networking is Awesome!
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
 

Recently uploaded

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 

Recently uploaded (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

OSMC 2009 | Monitoring and IPv6 by Benedikt Stockebrandt

  • 1. c 2009 Benedikt Stockebrand Monitoring (and) IPv6 Benedikt Stockebrand Dipl. Inform. <me@benedikt-stockebrand.de> October 28, 2009 Open Source Monitoring Conference N¨urnberg, Germany <<< << >> >>> 1/26
  • 2. c 2009 Benedikt Stockebrand Introduction IPv6 and Monitoring Monitoring and IPv6 Deployment What is IPv6? The IPv6 (Non-)Impact <<< << Introduction >> >>> 2/26
  • 3. c 2009 Benedikt Stockebrand IPv6 and Monitoring Intended Audiences ◮ Monitoring tool users ◮ Check script/plugin developers ◮ Monitoring tool developers Relationships between Monitoring and IPv6 ◮ Monitoring and IPv6 Deployments ◮ Monitoring IPv6 ◮ Monitoring with IPv6 <<< << Introduction IPv6 and Monitoring >> >>> 3/26
  • 4. c 2009 Benedikt Stockebrand Monitoring and IPv6 Deployment ◮ Most things won’t break when IPv6 is deployed, ◮ . . . but IPv6 can potentially break anything. ◮ During a deployment, make sure everything works. ◮ Don’t deploy IPv6 without comprehensive monitoring. ◮ Help management understand the importance of monitoring:-) <<< << Introduction Monitoring and IPv6 Deployment >> >>> 4/26
  • 5. c 2009 Benedikt Stockebrand What is IPv6? I Application Layer Transport Layer Network Layer Link Layer DNS SSH SMTP IMAP HTTP · · · TCP UDP · · · IP(v4) IGMP ICMP IPv6 MLD ICMP6 Ethernet PPP Token Ring · · · <<< << Introduction What is IPv6? >> >>> 5/26
  • 6. c 2009 Benedikt Stockebrand What is IPv6? II ◮ IPv4 and IPv6 can be run in parallel. ◮ IPv6 can’t solve problems outside the network layer. ◮ IPv6 can’t solve fundamental design deficiencies of the TCP/IP stack. ◮ Application porting should be easy. . . ◮ . . . but still must be done. ◮ Monitoring should be affected in only few areas. <<< << Introduction What is IPv6? >> >>> 6/26
  • 7. c 2009 Benedikt Stockebrand The IPv6 (Non-)Impact Unaffected are: ◮ Local checks (disk usage, CPU load, . . . ) ◮ Anything IPv4-specific Possibly affected are: ◮ Network applications (depending on check method) ◮ Network communications within monitoring software (depending on transport used) Always affected are: ◮ IPv6-specific checks ◮ New monitoring features requiring IPv6 <<< << Introduction The IPv6 (Non-)Impact >> >>> 7/26
  • 8. c 2009 Benedikt Stockebrand Monitoring and the IPv6 Way of Networking Scopes IPv6 Addressing Helpful New Mechanisms <<< << Monitoring and the IPv6 Way of Networking >> >>> 8/26
  • 9. c 2009 Benedikt Stockebrand Scopes ◮ Link-local scope is new. ◮ Site-local scope is still available. ◮ ARP has become ICMPv6 Neighbor Discovery (ND). ◮ Link-local features may require a satellite (NRPE or such) per subnet. ◮ Consider a 802.1Q trunk interface on your monitoring server. <<< << Monitoring and the IPv6 Way of Networking Scopes >> >>> 9/26
  • 10. c 2009 Benedikt Stockebrand Plain Vanilla Unicast Addresses ◮ NAT is dead. ◮ . . . and so is STUN. ◮ There are enough addresses. ◮ Use Unique-local Addresses (ULA) with site-local scope where applicable. ◮ Multiple addresses per interface: ◮ Check all, not just a “primary” one. ◮ Hosts may use randomized temporary addresses (aka. “Privacy Extensions”, RFC 3041). ◮ Multiple addresses from DNS: ◮ Check services with all. ◮ Watch for excessive timeouts. ◮ Beware of ping6 limitations. ◮ Check DNS queries via TCP. <<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 10/26
  • 11. c 2009 Benedikt Stockebrand Multicast IPv6 multicast offers ◮ all the addresses you need, ◮ actually working multicast routing (within scalability limits) and ◮ enormous potential for new functionalities. Multicast routing monitoring: ◮ Use multicast ping (with mcjoin) for simple tests. ◮ Possibly check from multiple subnets. <<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 11/26
  • 12. c 2009 Benedikt Stockebrand Anycast ◮ Now a standard, no longer a hack ◮ Difficult to test without actual failover ◮ Use whitebox style local checks <<< << Monitoring and the IPv6 Way of Networking IPv6 Addressing >> >>> 12/26
  • 13. c 2009 Benedikt Stockebrand Helpful New Mechanisms Autoconfiguration ◮ Much better than DHCP address management. ◮ Check lifetimes locally on host. ◮ Check for (possibly multiple) default routes on hosts. Duplicate Address Detection ◮ Should appear locally in syslog. <<< << Monitoring and the IPv6 Way of Networking Helpful New Mechanisms >> >>> 13/26
  • 14. c 2009 Benedikt Stockebrand Monitoring Dual Stack Environments Tunnels Gateway Mechanisms Where to Put Your Monitoring Server <<< << Monitoring Dual Stack Environments >> >>> 14/26
  • 15. c 2009 Benedikt Stockebrand Tunnels ◮ Do IPv6 blackbox tests through tunnels. ◮ Do IPv4 whitebox tests of tunnel routes if possible. ◮ Check for unexpected tunnels in security-critical environments (especially Teredo, UDP 3544). <<< << Monitoring Dual Stack Environments Tunnels >> >>> 15/26
  • 16. c 2009 Benedikt Stockebrand Gateway Mechanisms ◮ Application level gateways/proxies are basically unchanged. ◮ Protocol translators (TRT, NAT-PT) can be troublesome. ◮ Avoid them, they are deprecated anyway. ◮ Don’t rely on ping to work through them. ◮ Check the application instead. ◮ Transparent proxies (socat et al.) can also be somewhat troublesome. ◮ Pings are answered by the proxy. <<< << Monitoring Dual Stack Environments Gateway Mechanisms >> >>> 16/26
  • 17. c 2009 Benedikt Stockebrand Where to Put Your Monitoring Server ◮ Preferably keep your monitoring server dual-stacked. ◮ This may require a minor downtime of the monitoring server. ◮ Consider adding a dedicated IPv6 interface, rather than dual-stacking an existing one. ◮ If that’s impossible, use satellites. ◮ If that’s impossible, use (transparent) proxies. ◮ Don’t force all clients to be dual-stacked. <<< << Monitoring Dual Stack Environments Where to Put Your Monitoring Server >> >>> 17/26
  • 18. c 2009 Benedikt Stockebrand Monitoring With IPv6 Intermediate Protocols Monitoring Protocols Adding IPv6 Support Summary <<< << Monitoring With IPv6 >> >>> 18/26
  • 19. c 2009 Benedikt Stockebrand Ssh and SSL ◮ Ssh works without problems. ◮ SSL too, unless openssl s client and s server are used with popen(3) or scripts. ◮ The multiple addresses issue may cause undesirable effects. <<< << Monitoring With IPv6 Intermediate Protocols >> >>> 19/26
  • 20. c 2009 Benedikt Stockebrand Standard Protocols SNMP ◮ netsnmp works fine. ◮ But many appliances (routers, switches, . . . ) don’t. Syslog ◮ The Linux sysklogd doesn’t support IPv6. ◮ Use syslog-ng or rsyslog on Linux. ◮ Many appliances don’t support IPv6. Workarounds: ◮ make the monitoring servers/satellites dual stacked, ◮ use satellites, ◮ or proxies. <<< << Monitoring With IPv6 Monitoring Protocols >> >>> 20/26
  • 21. c 2009 Benedikt Stockebrand Nagios and IPv6 I ◮ Works fine over Ssh. ◮ Works fine through Apache. ◮ But (sorry about the nagging. . . ): <<< << Monitoring With IPv6 Monitoring Protocols >> >>> 21/26
  • 22. c 2009 Benedikt Stockebrand Nagios and IPv6 II From: Jens Link [. . . ] Subject: IPv6 Monitoring Moin, was fuer deinen Vortrag. Falls du einen der Entwickler dabei hast. root@calo-ila# ./check nrpe -H 2001:6f8:1138::1 Invalid host name ’2001:6f8:1138::1’ (Auch mit nur Hostname, [], ...) root@calo-ila# ./check nrpe Incorrect command line arguments supplied NRPE Plugin for Nagios Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org) Version: 2.12 Last Modified: 03-10-2008 Jens <<< << Monitoring With IPv6 Monitoring Protocols >> >>> 22/26
  • 23. c 2009 Benedikt Stockebrand Adding IPv6 Support ◮ Software is usually easy to port, ◮ . . . but still requires doing so. ◮ Code samples at my home page http://www.benedikt-stockebrand.de/ ◮ TCP is simple, UDP can involve a bit of work. ◮ Alternative I: Run over existing protocols, like Ssh. ◮ Alternative II: Use a high level language. ◮ Review all code sections touching raw IP addresses. ◮ Expect minor fun with configuration syntax issues. Show that Open Source is a step (or ten) ahead! <<< << Monitoring With IPv6 Adding IPv6 Support >> >>> 23/26
  • 24. c 2009 Benedikt Stockebrand Making Use of IPv6 Developers ◮ Multicast routing is worth some real thought. ◮ Neighbor Discovery may simplify ARPwatch style functionality. Users ◮ Consider using dedicated addresses for monitoring access. Everybody ◮ Forget about NAT, STUN and similar diseases. <<< << Monitoring With IPv6 Adding IPv6 Support >> >>> 24/26
  • 25. c 2009 Benedikt Stockebrand Summary: Monitoring With IPv6 ◮ IPv6 needs proper monitoring. ◮ Monitoring stays largely unchanged. ◮ Some details need work. ◮ IPv6 simplifies monitoring in a number of respects. ◮ IPv6 offers some nice infrastructure features. <<< << Monitoring With IPv6 Summary >> >>> 25/26
  • 26. c 2009 Benedikt Stockebrand Contact Information Benedikt Stockebrand Dipl.-Inform. Fichardstr. 38 D-60322 Frankfurt/Main contact@benedikt-stockebrand.de http://www.benedikt-stockebrand.de/ <<< << Contact Information >> >>> 26/26