Giter Club home page Giter Club logo

pfloggerd's Introduction

pfloggerd

pf log daemon for macOS

pf is the built-in macOS packet filter, pfloggerd is a tool used to save pf logs to file in a human readable format. pfloggerd reads pf logs from pflog0 interface and saves it to /var/log/pffirewall.log. pfloggerd is part of Murus, a pf GUI front end for macOS. More info at www.murusfirewall.com

pfloggerd needs to be launched by root at system boot using a shell script that:

  • creates the pflog0 interface needed by pf
  • runs pfloggerd

For that purpose we provide an example boot script, it.murus.pfloggerd.plist. Copy this file to /Library/LaunchDaemons/ , set its ownership to root:wheel and permission to 644. Then copy pfloggerd binary to /usr/local/bin/ . Reboot your Mac to start pfloggerd.

pfloggerd's People

Contributors

themurusteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pfloggerd's Issues

help me

How to compile it?

$ gcc main.c
Undefined symbols for architecture x86_64:
"_pcap_close", referenced from:
_main in main-1f6ce7.o
"_pcap_compile", referenced from:
_main in main-1f6ce7.o
"_pcap_datalink", referenced from:
_main in main-1f6ce7.o
"_pcap_freecode", referenced from:
_main in main-1f6ce7.o
"_pcap_geterr", referenced from:
_main in main-1f6ce7.o
"_pcap_loop", referenced from:
_main in main-1f6ce7.o
"_pcap_open_live", referenced from:
_main in main-1f6ce7.o
"_pcap_setfilter", referenced from:
_main in main-1f6ce7.o
"_pcap_snapshot", referenced from:
_main in main-1f6ce7.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.