<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 4/12/23 08:19, Geert Stappers wrote:<br>
<blockquote type="cite"
cite="mid:ZDY%2FTCkXJgJcK2%2F2@gpm.stappers.nl">
<pre class="moz-quote-pre" wrap="">On Wed, Apr 12, 2023 at 02:03:22AM +0300, 0zl wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On 4/12/23 01:59, 0zl wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Second I don't understand how this works exactly, I intend to create a
script that adds a permanent arp entry to make me more resilient to ARP
spoofing attacks, should I create the entry on arp add/old and remove on
del; OR use these arp-add and arp-del actions to do the same.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Replying to myself because I made a typo in this paragraph. I meant to say:
"should I create the ARP entry on the add/old action and remove on del"
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Experiment
Groeten
Geert Stappers
</pre>
</blockquote>
<p>This dhcp-script seems to work just fine, not sure what the point
of arp-add/arp-del is though:<br>
</p>
<pre>
#!/bin/sh
action=$1 hw_addr=$2 hostname=$3
case $action in
add|old) arp -s $hostname $hw_addr ;;
del) arp -d $hostname ;;
esac
</pre>
</body>
</html>