[Wireshark] ๋คํธ์ํฌ ํจํท ๋ชจ๋ํฐ๋ง์ PcapPlusPlus๋ก ์ฝ๊ฒ!
Pcap++ ๋ผ์ด๋ธ๋ฌ๋ฆฌ
๋คํธ์ํฌ ํจํท ๊ฐ์ง๋ฅผ ์ํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก๋ Unix์ libpcap, Windows์ Npcap๊ณผ WinPcap์ด ๋ํ์ ์ ๋๋ค. PcapPlusPlus(Pcap++)๋ ๋คํธ์ํฌ ํจํท์ ๊ฐ์งํ๊ณ ํ์ฑํ๊ธฐ ์ํ ๋ฉํฐ ํ๋ซํผ C++ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ด๋ฉฐ, libpcap, Npcap๊ณผ ๊ฐ์ ๋๋ฆฌ ์ฌ์ฉ๋๋ ํจํท ์ฒ๋ฆฌ ์์ง์ ์ฌ์ฉํ๊ธฐ ์ฝ๊ฒ C++ Wrapper๋ก ์ ๊ณตํ๋ ๊ฒ์ ๋๋ค.
์ฐธ๊ณ ๋ก, Windows์ WinPcap์ 2013๋ ์ ๋ง์ง๋ง์ผ๋ก ๋ ์ด์ ๊ฐ๋ฐ๋์ง ์์ต๋๋ค. ์ดํ๋ก๋ Npcap ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ง ์ง์๋๋ฉฐ ์ด์ ๋ํ ๋ด์ฉ์ ์๋ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ์๋ฉด ๋๊ฒ ์ต๋๋ค.
https://npcap.com/vs-winpcap.html
Npcap vs WinPcap"
Docs Download Licensing Windows 11 WinPcap WinPcap has been the de facto standard library for packet capture and link-layer packet injection for over a decade. Many open source and commercial network tools use WinPcap for network access and filtering, but
npcap.com
์ฃผ์ ํน์ง
Pcap++ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ฃผ์ ํน์ง์ ๋์ดํด ๋ณด๊ฒ ์ต๋๋ค.
- ๋ค์ํ ํ๋ซํผ ์ง์(Windows, Linux, Apple, FreeBSD, Android)
- ๋น ๋ฅธ ์๋์ ์ ์ ์ค๋ฒํค๋(๋ฒค์น๋งํฌ ์๋ฃ: https://pcapplusplus.github.io/docs/benchmark)
- ๋ค์ํ ํ๋กํ ์ฝ ์ง์(๋ชฉ๋ก: https://pcapplusplus.github.io/docs/features#supported-network-protocols)
- PCAP ๋ฐ PCAPNG ํ์ผ ์ฝ๊ธฐ/์ฐ๊ธฐ ์ง์
- Unlicense ๋ผ์ด์ ์ค
- Visual Studio 2015~2019 ์ง์(์ง์ ํ๊ฒฝ: https://pcapplusplus.github.io/docs/platforms)
์์
์๋ ๊ทธ๋ฆผ์ ํน์ ๋คํธ์ํฌ ์ด๋ํฐ์์ ์บก์ฒ๋๋ ์ค์๊ฐ ํจํท์ ๋ณด์ฌ์ฃผ๊ณ ์์ต๋๋ค. ์ผ๋ฐ์ ์ผ๋ก๋ Npcap ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ์ฌ ํจํท์ ์ง์ ๋ถ์ํด์ผ ํ์ง๋ง, Pcap++ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ๋ฉด ๊น์ ์ง์ ์์ด ๋ฐ๋ก ํจํท ๋ถ์์ด ๊ฐ๋ฅํฉ๋๋ค. ๊ทธ๋งํผ ๊ฐ๋ฐ ์๊ฐ์ ์ค์ผ ์ ์๋ ์ฅ์ ์ด ์์ต๋๋ค.