Skip to Content
BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍
book

BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍

by 류광, 데이비드 칼라베라, 로렌초 폰타나
May 2020
Beginner to intermediate
236 pages
5h 15m
Korean
Hanbit Media, Inc.
Content preview from BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍
7
XDP 프로그램
196
참고:
MAC
주소의
MAC
Media
Access
Control
(매체 접근 제어)을 줄인 것이다.
MAC
주소는
각각의 네트워크 장치를 고유하게 식별하는
6
바이트 식별자이다 (처음 세 바이트는 주소를 발급한 조
직을, 나머지 셋은 해당 네트워크 장치를 나타낸다 ). 이
MAC
주소는 데이터 링크 계층(
OSI
모형의
2
계층 )에서 네트워크 장치들 (이더넷이나 블루투스,
WiFi
로 연결된 )을 고유하게 식별하는 용도로
쓰인다.
7.4
XDP
활용 사례
전 세계 기업과 조직들이
XDP
를 어떤 용도로 사용하는지 살펴보면
XDP
를 좀 더 잘 이해할
수 있다. 특히, 몇몇 경우에서 소켓 필터링이나
TC
보다
XDP
가 더 나은 이유를 파악하는 데 도
움이 될 것이다.
그럼
XDP
의 주된 용도 중 하나인 감시를 살펴보자.
7.4.1
감시(모니터링)
요즘 대부분의 네트워크 감시 시스템은 커널 모듈로 구현되거나 아니면 사용자 공간에서 특정
시스템 파일들에 접근하는 형태로 구현된다. 그런데 커널 모듈을 작성하고, 배포하고, 컴파일
하는 것이 모든 이에게 쉬운 일은 아니다. 기본적으로 커널을 건드리는 것은 위험한 일이다. 커
널 모듈은 유지보수하기도, 디버깅하기도 쉽지 않다. 사용자 공간 접근 방식 역시 단점이 있다.
커널 모듈로 얻는 것과 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지

컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지

류광, 리즈 라이스

Publisher Resources

ISBN: 9791162243053