Permalink
Switch branches/tags
Nothing to show
Commits on Jun 26, 2013
  1. removing unused variable

    nbareil committed Jun 26, 2013
  2. New Makefile target to generate a static binary

    nbareil committed Jun 26, 2013
    I still have to find a way to make the resulting binarie PIE. It seems
    doable with musl at least.
Commits on Jun 23, 2013
  1. Makes net2pcap compatible with musl-libc

    nbareil committed Jun 23, 2013
    - Headers files have been renamed
    - GNU Libc integer types have been corrected
  2. Updating copyright

    nbareil committed Jun 23, 2013
Commits on Jun 19, 2013
Commits on Sep 11, 2012
  1. Update README

    nbareil committed Sep 11, 2012
Commits on May 22, 2012
  1. Implements SECCOMP sandbox

    nbareil committed May 10, 2012
    This feature is enabled by default if libseccomp is found on the system.
Commits on Nov 15, 2011
  1. Set GID to UID's primary group if not set.

    nbareil committed Nov 15, 2011
    Closes #1.
    
    Thanks segoon!
Commits on Nov 14, 2011
  1. when I say stop, stop!

    nbareil committed Nov 14, 2011
    This patch replaces the signal machinery with asynchronous processing
    and signalfd().
    
    We don't have to care anymore about read() interruption and things like
    this.
  2. fixing project URL

    nbareil committed Nov 14, 2011
Commits on Aug 28, 2011
  1. increase default snap length to 65535

    nbareil committed Aug 28, 2011
    It is now common to receive packet bigger than the classic MTU 1492,
    especially with Google's servers.
  2. use correct type s/int/off_t/

    nbareil committed Aug 28, 2011
  3. handle partial write() when hitting disk

    nbareil committed Aug 28, 2011
    thanks segoon@openwall again
  4. setup syslog before chrooting and open the connection immediately

    nbareil committed Aug 28, 2011
    That way, no special device are required inside chrooted directory
    
    thanks segoon@openwall!
Commits on Aug 27, 2011
Commits on Aug 26, 2011
  1. support of privileges separation

    nbareil committed Aug 26, 2011
    usage:
    
         net2pcap -u 1337 -g 1337 -i eth0
  2. add chroot() support

    nbareil committed Aug 26, 2011
    usage:
       net2pcap -r /dumps/
  3. handle ^C gracefully

    nbareil committed Aug 26, 2011
  4. adds Makefile

    nbareil committed Aug 26, 2011
  5. adding README

    nbareil committed Aug 26, 2011
  6. changes exit code

    nbareil committed Aug 26, 2011
  7. daemonize using adequate daemon() which chdir+close fd

    nbareil committed Aug 26, 2011
    It also starts using syslog just after that.
  8. pcap timestamps need to be stored on disk in 32 bits

    nbareil committed Aug 26, 2011
    pcap header includes a 'timeval' structure which has a different
    length on 32 and 64 bits. It was defined that it would be 32 bits
    on-disk by "convention".
    
    See discussion http://www.ethereal.com/lists/ethereal-dev/199908/msg00236.html
    
    This commit explicitely prevents compilation on big endian (BE)
    architecture because I didn't want to have a "complicate" code path
    handling indifferently BE32, BE64, LE32, LE64.
  9. PERROR() also gives error message in daemon mode

    nbareil committed Aug 26, 2011
    * had to define PERROR as a function instead of a macro in order
      to cleanly build the error message string
    
    * s/daemon/daemonize/ because next commit will use daemon() function
  10. Enables large file (> 2GB) support on x86

    nbareil committed Aug 26, 2011
    There is no need to add O_LARGEFILE to open flags because
    _FILE_OFFSET_BITS macro force the use of 64 bits variants syscalls
    when dealing with files.