aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-08-03 23:39:50 -0500
committerAaditya Dhruv <[email protected]>2025-08-03 23:39:50 -0500
commit11550c66c0002a86d8c899812989325f191ef797 (patch)
tree18620712ab82db5940767b400450d735d9501575 /src/CMakeLists.txt
parent59feca8a49bd5fbe6d6331c518ab24d1addb6cb3 (diff)
Add support for sending ARP REPLY packets
Input includes the MAC Address and the spoofed IP address. For any broadcast REQUEST packet, the target protocol address (ipv4) is checked against the spoofed address, and if they are equal, an appropriate ARP REPLY is sent
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 48a00de..5718117 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,2 +1,3 @@
add_executable(arpee arpee.h arpee.c)
target_link_libraries(arpee PRIVATE junk)
+install(CODE "execute_process(COMMAND sudo setcap 'CAP_NET_RAW+eip' ./build/src/arpee)")