Re: pf divert raw sockets

2017-12-22 Thread Alexander Bluhm
On Fri, Dec 15, 2017 at 03:10:49PM +0100, Alexander Bluhm wrote: > Hi, > > With pf divert raw sockets behave differently than TCP or UDP. > > TCP and UDP first make an exact match without divert in_pcbhashlookup(). > Then they do the divert-to match in in_pcblookup_listen(). &g

pf divert raw sockets

2017-12-15 Thread Alexander Bluhm
Hi, With pf divert raw sockets behave differently than TCP or UDP. TCP and UDP first make an exact match without divert in_pcbhashlookup(). Then they do the divert-to match in in_pcblookup_listen(). This diff makes it consistent. Search for bound and connected sockets in raw_input() also