https://github.com/kusaremkn/icom
https://github.com/kusaremkn/icom
c ebpf sip
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kusaremkn/icom
- Owner: KusaReMKN
- License: gpl-2.0
- Created: 2025-02-12T02:21:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-03T10:14:16.000Z (11 months ago)
- Last Synced: 2025-08-03T11:31:03.090Z (11 months ago)
- Topics: c, ebpf, sip
- Language: C
- Homepage: https://zenn.dev/kusaremkn/articles/cb32b500fc1334
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_GPL
Awesome Lists containing this project
README
# ICOM のやつ
## 注意!
これはその場しのぎのプログラムであって、その構造に欠陥がある。
動作に一切の保証はない。
また、責任もない。
## つかいかた
MikoPBX を収容している Ubuntu において、以下の通り実行する。
```console
# apt update && apt upgrade -y
# apt install clang llvm libelf-dev libbpf-dev
# git clone https://github.com/kusaremkn/icom.git
# cd icom
# vi icom.c # SADDR や DESTPORT の定義を icom の IP アドレスに変える
# make
# ip link set eth0 xdp obj icom.o # これで完了
# ip link set eth0 xdp off # これで元に戻る
```