Permalink
Switch branches/tags
Nothing to show
Commits on Dec 7, 2016
  1. makefile cleanup

    committed Dec 7, 2016
Commits on Dec 6, 2016
Commits on Dec 5, 2016
  1. rebar3: add lock file

    committed Dec 5, 2016
Commits on Dec 4, 2016
  1. Clean up makefile

    committed Dec 4, 2016
Commits on Dec 3, 2016
Commits on Nov 10, 2016
Commits on Nov 9, 2016
  1. Add elvis style checks

    committed Nov 9, 2016
Commits on Oct 17, 2016
  1. Add dialyzer warnings

    committed Oct 17, 2016
Commits on Oct 16, 2016
  1. Switch to rebar3

    Uses the rebar port compiler instead of a makefile so (hopefully)
    everything continues to work on windows.
    committed Oct 16, 2016
Commits on Mar 12, 2016
  1. Use common test

    committed Mar 12, 2016
Commits on Oct 12, 2015
  1. Merge pull request #6 from christophermlewis/master

    application file was missing application depedencies
    committed Oct 12, 2015
Commits on Oct 10, 2015
  1. Remove unused allocated state

    committed Oct 10, 2015
Commits on Apr 5, 2015
Commits on Feb 25, 2015
  1. Update gitignore

    committed Feb 25, 2015
Commits on Feb 23, 2015
  1. Compile on Solaris

    Solaris using DLPI requires the interface is in promiscuous mode.
    committed Feb 23, 2015
Commits on Aug 6, 2014
  1. Fix overflow in device name if argument is NULL

    If the device name was an empty binary, a terminating NULL byte would
    be written to device.data[-1].
    committed Aug 6, 2014
Commits on May 29, 2014
  1. Bump version for monitor mode

    committed May 29, 2014
Commits on May 22, 2014
Commits on May 8, 2014
  1. Bump version

    committed May 8, 2014
  2. Add typespecs

    committed May 8, 2014
Commits on May 7, 2014
  1. Allow setting the pcap buffer size

    To avoid dropping packets, allow setting the PCAP buffer size.
    
    reported-by: Андрей Аленин
    committed May 7, 2014
  2. pcap_stat{} -> ewpcap_stat{}

    committed May 7, 2014
  3. ewpcap: add stats/1

    Retrieve statistics about packet capture using pcap_stats(3PCAP).
    committed May 7, 2014
  4. Fix compile error, formatting

    committed May 7, 2014
  5. ewpcap: return error if open/0,2 fails in lookup

    If open/2 is called with an empty interface and a suitable interface
    can't be found, return the error instead of crashing.
    committed May 7, 2014
  6. makefile: add dialyzer target

    committed May 7, 2014
  7. Copyright heartbeat

    committed May 7, 2014
  8. README cleanup

    committed May 7, 2014
Commits on Nov 15, 2013
Commits on Apr 8, 2013
  1. Copyright heartbeat

    committed Apr 8, 2013
Commits on Apr 7, 2013
  1. Update rebar URL

    committed Apr 7, 2013
Commits on Apr 6, 2013
  1. Fix segfault from cleanup

    The pcap handle and NIF environment are freed in the resource cleanup
    handler. When ewpcap_loop exits, it attempts to free the environments
    which may be already freed by the cleanup handler.
    committed Apr 6, 2013
  2. Fix segfault from pcap_geterr

    The pcap handle may have been closed by another thread when pcap_loop
    returns. pcap_geterr(3PCAP) will return an invalid pointer causing
    a segfault.
    
    Also remove the comment in the case statement checking the return
    value of pcap_loop. According to the documentation for pcap_breakloop,
    pcap_loop may return a positive number:
    
          Note also that, in a multi-threaded application, if one thread
          is blocked in pcap_dispatch(), pcap_loop(), pcap_next(),
          or  pcap_next_ex(), a  call to pcap_breakloop() in a different
          thread will not unblock that thread; you will need to use whatever
          mechanism the OS provides for breaking a thread out of blocking
          calls in order to unblock the thread, such as thread cancellation
          in systems that support POSIX threads.
    
          pcap_breakloop() does not guarantee that no further packets will
          be processed by pcap_dispatch() or pcap_loop() after it is called;
          at most one more packet might be processed.
    committed Apr 6, 2013