본문 바로가기

전체 글128

Packet Handling in the Kernel - Netfilter NetfilterNetfilter, included in Linux since 2.3, is a critical component of packet handling.Netfilter is a framework of kernel hooks, which allow userspace programs to handle packets on behalf of the kernel.Netfilter는 사용자 공간(userspace) 프로그램이 커널을 대신하여 패킷을 처리할 수 있게 해주는 커널 훅(hook)의 프레임워크입니다.In short, a program registers to a specific Netfilter hook, and the kernel calls that program on applicable p.. 2025. 2. 26.
i-node https://www.youtube.com/watch?v=_itDfNvm09k&t=301s https://www.youtube.com/watch?v=qXVbNlMG28I  https://anfrhrl5555.tistory.com/171 i-node 실습0. 들어가기 앞서 리눅스에서 i-node란 무엇이고, 어떤 의미를 갖는지 공부해보고 disk를 직접 mount 하여 i-noded가 full차면 어떤 현상이 발생하는지 알아보자. 추가로 linux에 quota라는것도 알아보자. 1.anfrhrl5555.tistory.com https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/12_FileSystemImplementation.html Operating S.. 2025. 2. 14.
The Bridge Interface br0 > Bridgeveth > virtual Etherneteth0 > physical device   brctl : 리눅스에서 이더넷 브리지를 관리하기 위한 레거시 도구 / 현대 리눅스에서는 ip 명령어 사용 권장# 브리지 인터페이스 br0 생성sudo ip link add name br0 type bridge# 브리지 인터페이스 활성화sudo ip link set br0 up# 현재 네트워크 인터페이스 확인ip link show# eth0을 브리지에 연결sudo ip link set eth0 master br0# veth 페어 생성sudo ip link add veth0 type veth peer name veth1# veth 인터페이스 활성화sudo ip link set veth0 upsudo .. 2025. 1. 17.
The Network Interface Network Interface (Ethernet network controller)PhysicalVirtual loopback interface목적for same-host communication (127.0.0.1)취약점컨테이너 네트워킹 보안 문제(CVE-2020-8558)  kube-proxy의 잘못된 설정으로 인해 외부 시스템이 노드의 127.0.0.1 주소에 접근할 수 있게 되었음. 2025. 1. 7.
기본 이미지 Linux Networking - Basic 1. 개요쿠버네티스 네트워킹 구현을 이해하기 위해서는 리눅스 네트워킹 기초를 이해할 필요가 있음.쿠버네티스가 본질적으로 리눅스 시스템에서 동작하는 도구이기 때문 2. Go 웹 서버 실행# amazon liunx 2023# git 명령어 설치sudo dnf install git -ygit --version더보기 [ec2-user@ip-10-0-3-220 ~]$ sudo dnf install git -yAmazon Linux 2023 Kernel Livepatch repository .. 2025. 1. 7.
기본 이미지 ICMP 2024. 12. 4.
기본 이미지 IP 2024. 12. 4.
기본 이미지 UDP 2024. 12. 4.