meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:sw:dhcp:rogue [2023/08/22 09:18] niziaklinux:sw:dhcp:rogue [2024/04/26 11:34] (current) niziak
Line 1: Line 1:
-====== Rogue server detection ======+====== Rogue DHCP server detection ======
  
 Turn off DHCP server. Turn off DHCP server.
Line 6: Line 6:
  
 <code bash> <code bash>
-sudo nmap --script broadcast-dhcp-discover -e br-lan+tcpdump -i any -nelt udp port 68 | grep -i "boot.*reply"
 </code> </code>
  
 <code bash> <code bash>
-tcpdump -i any -nelt udp port 68 | grep -i "boot.*reply"+sudo nmap --script broadcast-dhcp-discover -e br-lan
 </code> </code>
 +
 +