프롬프트 도감 › No.1561
네트워크 패킷 분석 도구 만들기
Packet Analyzer CLI
libpcap(패킷 수집 도구)을 쓰는 C 언어 명령줄 프로그램 코드를 만들어 달라고 해요. 패킷 수집, 프로토콜 분석, 통계, 내보내기, 경고 기능이 한꺼번에 들어가요.
이럴 때 네트워크 공부, 보안 실습 도구 만들기, 포트폴리오
도구 ChatGPT · Claude · Gemini
프롬프트
Create a command-line network packet analyzer in C using libpcap. Implement packet capture from network interfaces with filtering options. Add protocol analysis for common protocols (TCP, UDP, HTTP, DNS, etc.). Include traffic statistics with bandwidth usage and connection counts. Implement packet decoding with detailed header information. Add export functionality in PCAP and CSV formats. Include alert system for suspicious traffic patterns. Implement connection tracking with state information. Add geolocation lookup for IP addresses. Include command-line arguments for all options with sensible defaults. Implement color-coded output for better readability.
팁
- 기능이 많으니 단계별로 나눠 요청하기
- 운영체제를 먼저 알려 주면 빌드 오류가 줄어요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: f.