Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Oct 3, 2012
  1. @ates

    Fix README

    ates authored
  2. @ates

    Update README

    ates authored
Commits on Oct 2, 2012
  1. @ates

    Fix formatting

    ates authored
  2. @ates
Commits on Sep 20, 2012
  1. Merge pull request #5 from DeadZen/patch-1

    authored
    Support OSX before PCAP_NETMASK_UNKNOWN was added
  2. @DeadZen

    Support OSX before PCAP_NETMASK_UNKNOWN was added

    DeadZen authored
    This was added recently and failed to build due to being undeclared.
Commits on Jul 14, 2012
  1. Update README

    authored
  2. sniff: save epcap PID in state

    authored
Commits on Jul 12, 2012
  1. @ates
  2. @ates
Commits on Jul 1, 2012
  1. Merge branch 'fixes'

    authored
  2. Configure allowed open fds based on OS

    authored
    On Mac OS X (and other BSDs), poll() does not check RLIMIT_NOFILES.
    The default is to assume the best case and disallow any new fds from
    being opened in the child.
  3. Check for child exit before select

    authored
    If the child exits before the parent goes into select, the parent will
    block in select indefinitely.
  4. Sandbox pcap using process limits

    authored
    Provide some basic process restrictions on the process using pcap. On
    Linux, poll() checks the number of allowed file descriptors. If setrlimit
    sets the value of RLIMIT_NOFILES to 0, poll() fails with EINVAL.
  5. Add error checking

    authored
    Remove the pedantic calls to free. The process is exiting anyway.
Commits on May 2, 2012
  1. Use https for git dependencies

    authored
    Workaround for users with firewall rules preventing git access.
  2. Fix code dupe

    authored
Commits on Apr 12, 2012
  1. Update contrib

    authored
  2. @lefan

    added support of devices without ipwq

    lefan authored committed
  3. @lefan

    Added support of GRE (RFC2784)

    lefan authored committed
Commits on Apr 11, 2012
  1. Add the deprecated flag to epcap_net

    authored
    epcap_net will be around for a while, at least until the examples can
    be fixed to use the pkt module. Updates will be sporadic though.
  2. Check pcap supports monitor mode

    authored
    Some versions of pcap don't support monitor mode. See this commit:
    
    mattsta@4452d85
    
    Use whether the error code for PCAP_ERROR_RFMON_NOTSUP is defined as
    a weak check for pcap support.
    
    Thanks @mattsta!
  3. Copyright heartbeat

    authored
  4. Set timeout based on OS

    authored
    On Linux, a timeout of 0 will block until the next packet is received.
    
    On BSD/Mac OS X, 0 will block until the snaplen buffer is full, so set
    the default timeout to 500 ms.
Commits on Mar 30, 2012
  1. Move sniff to the examples directory

    authored
    Create an examples directory and a makefile target for sniff.
Commits on Mar 13, 2012
  1. Add a start up script

    authored
Something went wrong with that request. Please try again.