Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: remove struct arpreq from net/if_arp.h
To:
tech@openbsd.org
Date:
Mon, 14 Oct 2024 14:37:37 +0100

Download raw body.

Thread
On 2024/10/11 19:18, Jonathan Gray wrote:
> unused since "rewrite to merge arp and routing tables"
> in CSRG if_ether.c 7.14 (Berkeley) 06/25/91
> 
> not used in pppd as the #if RTM_VERSION >= 3, path is taken

Build hasn't quite finished yet (various ports were hidden behind
webkitgtk which I've just fixed on i386) but it's not too far off now -
only fallout so far is www/squid:

Eui48.cc:364:19: error: variable has incomplete type 'struct arpreq'
    struct arpreq arpReq;

used for ARP-based ACLs for proxy clients on the same subnet as the
proxy - it's behind a #if targetting specific OS types so can be
disabled pretty easily. (I don't expect this is a particularly useful
ACL type - if a client can change their IP address to get around ACLs
they can probably change their MAC address too..)