View Single Post
  #2   (View Single Post)  
Old 22nd May 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I don't know if I've ever seen DHCP "under" IPSec discussed in regards to OpenBSD before.

I run IPSec for wireless security, with DHCP, but the leases are established before the ESP tunnels are established. They have to be, since I use an isakmpd(8) PKE infrastructure. Those require UDP communication between existing IP addresses for SA and flow negotiations, tunnel setup, key change, and tear down.

AFAIK, dhcpd(8) and dhclient(8) use bpf(4) for communication. I don't know, therefore, how one would go about applying ESP or AH protocols to such packets.

As for your question about enc(4), that is, as far as I know, only usable with pf(4) and tcpdump(8).
Reply With Quote