Mohit Lad CEO, ThousandEyes mohit@thousandeyeschinog.org/wp-content/uploads/2014/10/CHI-NOG-04...»...

Post on 29-Sep-2020

5 views 0 download

Transcript of Mohit Lad CEO, ThousandEyes mohit@thousandeyeschinog.org/wp-content/uploads/2014/10/CHI-NOG-04...»...

1

Mohit Lad CEO, ThousandEyes mohit@thousandeyes.com

Combining Active and Passive Monitoring

CHI-NOG 04

2

Basics

»  Passive Monitoring

»  Capture traffic from the network by generating a copy of the traffic usually via a span port, mirror port or network tap

»  Typical Use: Discover what is going on

»  Active Probing

»  Generating a synthetic probe that will discover information and report back

»  Examples: ping, traceroute

»  Typical Use: Find the root cause

3

Example: Google does not load

Google Servers

GET

Response

4

Example: Google does not load: Step 1 DNS resolution

Local DNS resolver

Authoritative DNS for Google.com

Name Server for .com

5

Probing for DNS issues

Local DNS resolver

Authoritative DNS for Google.com

Name Server for .com

»  Tcpdump on client -> tells us if we get a DNS reply or not »  What if we don’t get a reply?

»  Check for resolver, returns replies to other domains »  Troubleshoot DNS from resolver to Google

»  If we get a reply, is DNS working?

6

Buenos Aires cannot resolve DNS

7

Domain in question is anycasted

8

How do we know it’s anycast?

10 ms from Paris

55 ms from Sao Paulo

9

Identifying the problematic Anycast instance

10

So is everything ok if we get a DNS reply? Lets look at Facebook NS

Facebook NS gets “no mapping” in China

11

Facebook.com A record is 100% available in China

12

Most of the world maps facebook.com to 173.252.120.6

13

Who owns 173.252.120.6

14

72% of China sees a different IP 37.61.54.158

15

Who owns 37.61.54.158?

Azerbaijan

16

Traceroute

»  Protocol used can make a big difference, TCP, UDP or ICMP

»  Load balancing can distort discovered routes

»  Hard to distinguish between muted interfaces and real loss

»  Multiple routes exist, need several probes

»  MPLS can distort delays

17

Country Financial Outage

18

Looking at the network

19

Looking at the network

20

Diving deeper into BGP

21

After things are stable

22

Lets look at a DDoS attack

23

Network View shows congested Nodes in Upstream ISPs

Nodes with >25% packet loss

Packet loss in upstream ISPs

Verizon and AT&T

HSBC bank website under

attack

High packet loss from all testing

points

24

DDoS Attack: Mitigation Handoff Using BGP

New Autonomous System (VeriSign)

Prior Autonomous System (HSBC)

Withdrawn routes

New routes

HSBC prefix

25

Paypal Issues

26

Lets look at the network

27

Akamai advertising address block

28

Indosat advertising the same prefix block

29

Thanks !

mohit@thousandeyes.com