8000 GitHub - threatmate/darwinpacket: This provides access to MacOS packet sockets using BPF. MIT Licensed.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

threatmate/darwinpacket

Repository files navigation

packet Test Status Go Reference Go Report Card

Package darwinpacket provides access to MacOS sockets via BPF.

It provides a net.PacketConn interface that can be used, in particular, with github.com/mdlayher/arp.

Golang GOOS targets:

  • darwin

Usage

conn, err := darwinpacket.Listen(iface, protocol, &darwinpacket.Config{})

History

github.com/mdlayher has specifically said that github.com/mdlayher/packet will only support Linux and recommended that we create variants for any other operating systems that we are interested in (in this case, MacOS).

This package is based on github.com/synfinatic/packet, but this version specifically limits support to MacOS in keeping with github.com/mdlayher's design wishes.

About

This provides access to MacOS packet sockets using BPF. MIT Licensed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0