Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Z4「高速なFW/IDSの実装」
Search
khwarizmi
August 18, 2018
Programming
0
140
Z4「高速なFW/IDSの実装」
khwarizmi
August 18, 2018
Tweet
Share
More Decks by khwarizmi
See All by khwarizmi
IntelNIC 送受信を学ぶ
khwarizmi
3
840
NICのデバドラ開発
khwarizmi
0
130
ハードウェア乱数を用いた謝辞代表者の決定
khwarizmi
0
58
僕はDPDKをやっている人ではありません(XDP・netmap入門)
khwarizmi
1
580
ネットワーク性能調査ちょっとやってみる
khwarizmi
0
140
klab インターン成果物発表
khwarizmi
0
230
HIGHSPEED PACKET IO
khwarizmi
0
82
Other Decks in Programming
See All in Programming
Hanami and htmx
bkuhlmann
0
230
Documentation for users with AsciiDoc and Antora
ahus1
0
370
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.7k
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
550
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1.1k
AppRouter Panel Talk
yosuke_furukawa
PRO
1
500
Implementing Design Systems in Swift
seyfoyun
2
500
VS Code をプロダクトにどう取り込むか
onomax
1
780
Folding Cheat Sheet #4
philipschwarz
PRO
0
100
Revisiting the Hotwire Landscape after Turbo 8 @ RailsConf 2024, Detroit
marcoroth
0
260
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
2
400
Introducing Kotlin Multiplatform in an existing mobile app - Workshop Edition | AndroidMakers Paris
prof18
0
170
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Atom: Resistance is Futile
akmur
260
25k
A designer walks into a library…
pauljervisheath
201
23k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
A better future with KSS
kneath
231
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
Faster Mobile Websites
deanohume
300
30k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
The Cult of Friendly URLs
andyhume
74
5.7k
Transcript
Z4 「 高速なFW / IDS の実装」 河原颯太(@khwarizmi6514) 集中開発Z4(アンチウィルス実装ゼミ)
講義の内容 1. 高速なFW / IDS の実装 - 高速パケット処理をするため, DPDKを使用 -
FWの基本であるタプルフィルタの実装 - 簡単な性能計測 2. 追加でフラグメンテーション処理を実装(DPIを想定)
DPDKとは ポイント ・カーネルバイパスなNICアクセス -> システムコール, 割り込みのオーバーヘッドがない ・独自のポーリングモデル -> コアがNICに張り付く ・hugepagesの使用
-> メモリコピーを無くして高速化
1. DPDKを用いたファイアウォール ・5タプル1ルールのFW -> 3.3Gbps を達成 ・5タプル8ルールのFW -> 2.5Gbps を達成
今回は計測していないが, linuxカーネルでは Gbps 出すのも難しいはず. (※ 64byte, 線形探索)
2. DPDKを用いたIPフラグメント処理(DPIを想定) ・ネットワークファンクション上でマルウェア検知をしたい ↓ ・IPフラグメントによってフラグメントされているから検知できない!! ↓ ・IPフラグメント処理を実装しました
None
None
None