bgp flowspec(rfc5575) - janog · 2016-09-03 · cisco public bgp...
TRANSCRIPT
![Page 2: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/2.jpg)
2
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• 土屋 師子生 (シスコシステムズ合同会社)
• 平澤 庄次郎 (ビッグローブ株式会社)
• 我妻 敏 (株式会社東陽テクニカ)
本日の登壇者
![Page 3: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/3.jpg)
3
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
DDOSトラフィックは絶えず変化していく
http://www.digitalattackmap.com/
![Page 4: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/4.jpg)
4
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
DDOS攻撃の影響範囲
収容回線 ノード
バックボーン帯域
顧客回線 ノード・サービス
ターゲット サービス 203.0.113.1
![Page 5: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/5.jpg)
5
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
RTBH(Remote Triggered Black Hole Filtering)
ターゲット サービス 203.0.113.1
203.0.113.1 via 192.0.2.1
192.0.2.1 null0 203.113.1 192.0.2.1
192.0.2.1 null0 203.113.1 192.0.2.1
192.0.2.1 null0 203.113.1 192.0.2.1
![Page 6: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/6.jpg)
6
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Netflow+BGP Attribute
BGP Flowspecの登場
§ RTBHでは悪意の無いユーザのトラフィックも止まってしまう
§ また急遽増えた攻撃に対しての検出/アクションの適用が難しい
![Page 7: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/7.jpg)
7
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6
Dst IPSrc IPprotocolportDst portSrc PortICMP TypeICMP CodeTCP FlagsPacket LengthDSCPFragment
traffic-ratetraffic-actionredirecttraffic-marking
Flow Type
Action Rule
+---------------------------------------------------------+ | AFI(2 octets) 1 and 2 | +---------------------------------------------------------+ | SAFI (1 octet) 133 and 134 | +---------------------------------------------------------+ | Length of Next Hop Network Address (1 octet) | +---------------------------------------------------------+ | Network Address of Next Hop (variable) | +---------------------------------------------------------+ | Reserved (1 octet) | +---------------------------------------------------------+ | Network Layer Reachability Information (variable) | +---------------------------------------------------------+
SAFI 133 Dissemination of flow specification rules 134 L3VPN dissemination of flow specification rules
![Page 8: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/8.jpg)
8
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
BGP Flowspec(RFC5575)
ターゲット サービス 203.0.113.1
A,B,C to 203.0.113.1 drop
D and E to 203.0.113.1 100kbps
F markdown to dscp 0
100kbps
Netflow collector
![Page 9: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/9.jpg)
9
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• イントロ 土屋
• World WideのDDOSトレンド 我妻さん
• ISPの現在のDDOSの状況と対策およびBGP Flowspecへの期待 平澤さん
• 打ち合わせで出た疑問
• 会場との議論
Agenda
![Page 10: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/10.jpg)
10
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• イントロ 土屋
• World WideのDDOSトレンド 我妻さん
• ISPの現在のDDOSの状況と対策およびBGP Flowspecへの期待 平澤さん
• 打ち合わせで出た疑問
• 会場との議論
Agenda
![Page 11: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/11.jpg)
11
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
BGP Flowspecってそもそもどこまで出来るの?
疑問1 平澤さんから
![Page 12: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/12.jpg)
12
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
もう少し細かくFlow typeとRule Action
type extended community 実際のアクション RFC/draft
0x8006 traffic-rate Policeレートを指定 0:drop
RFC5575
0x8007 traffic-action 特定のアクションを指定 Terminal bit:(0なら終了) Sample bit:(1ならlogging/sampling)
RFC5575
0x8008 0x8208 0x800b
redirect AS-2byte redirect AS-4byte redirect IPv6 specific AS
指定したVRFにredirect flowspec-redirect-rt-bis flowspec-redirect-rt-bis flow-spec-v6
0x8108 redirect IPv4 address 指定したアドレスにredirect flowspec-redirect-rt-bis
0x8009 traffic-marking DSCPの値をマーキング lowspec-redirect-rt-bis flow-spec-v6
Type IPv4 (RFC5575)
IPv6 (flow-spec-v6)
1 Destination Prefix Destination IPv6 Prefix
2 Source Prefix Source IPv6 Prefix
3 IP Protocol Next Header
4 Port Port
5 Destination port Destination port
6 Source port Source Port
7 ICMP type ICMP type
8 ICMP code ICMP type
9 TCP flags TCP flags
10 Packet length Packet length
11 DSCP DSCP
12 Fragment Fragment
13 N/A Flow Label
Flow Type operator codeがあり、lt,gt,eqの指定が可能
あ、IPv6アドレス指定が出来ない…
![Page 13: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/13.jpg)
13
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Cisco IOS-XR:5.2.0-
IOS-XE3.14 –
IOS 15.5(1)S-
• Juniper JUNOS 7.3-
• Alcatel-Lucent SR-OS 9.0R1-
実装状況
• Arbor Networks PeakFlow 6.0-
• Genie Networks 5.5.1-
![Page 14: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/14.jpg)
14
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
そもそもフローで良いんだろうか?
疑問2 馬渡さんから
![Page 15: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/15.jpg)
15
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
DDOSの検証のイケてる方法って?
疑問3 土屋・平澤さんから
![Page 16: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/16.jpg)
16
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• IPv4アドレスが共有されている時代、フローベースでのフィルタが必要か? モバイル・CGNのDDOS状況はどうですか?
• BGP Flowspec for IPv6対応状況 欲しいですか?
• 運用者から見た美味しい所、厳しい所
• 運用実績や状況など
議論したい所
![Page 17: BGP Flowspec(RFC5575) - JANOG · 2016-09-03 · Cisco Public BGP Flowspec(RFC5575)+draft-ietf-idr-flow-spec-v6 Dst IP Src IP protocol port Dst port Src Port ICMP Type ICMP Code TCP](https://reader030.vdocuments.net/reader030/viewer/2022040916/5e8f62643986f53104171905/html5/thumbnails/17.jpg)