Permalink
Switch branches/tags
Nothing to show
Commits on Jul 28, 2015
Commits on Feb 12, 2015
  1. Merge pull request #26 from jcuga/fixing-tcpdump-usage-feedback

    akrennmair committed Feb 12, 2015
    fixing tcpdump's Usage errorout feedback on invalid cmdline args
  2. Adding a flush to errorout so users receive feedback when they provid…

    jcuga committed Feb 12, 2015
    …e invalid cmd line args to tcpdump
Commits on May 14, 2014
  1. Merge pull request #22 from packetbeat/master

    akrennmair committed May 14, 2014
    Added support for Windows.
Commits on May 13, 2014
  1. Added support for Windows.

    monicasarbu committed May 13, 2014
    This change is backported from the gopacket project.
Commits on Feb 25, 2013
  1. fix import path.

    akrennmair committed Feb 25, 2013
  2. Merge pull request #20 from gconnell/speedcopy

    akrennmair committed Feb 25, 2013
    Speedcopy
  3. Merge pull request #21 from tsg/upstream

    akrennmair committed Feb 25, 2013
    Fixed precision of timestmaps.
Commits on Feb 24, 2013
  1. Fixed precision of timestmaps.

    tsg committed Feb 24, 2013
    The C pcap library uses {sec,usec} for timestamps, where usec are
    microsconds. Go's time.Time have nanosecond precisions, so we need
    to convert between the two.
Commits on Dec 11, 2012
  1. Modify packet capture a bit to for speed.

    gconnell committed Dec 11, 2012
    Used benchmark to test this out.
    
    Old:
    (/tmp/bench is tools/benchmark with the old code)
    gconnell@zombie-test1.mtv:/$ /tmp/bench -file /tmp/foo
    Took 3.334896s to process 1000000 packets, 3.334us per packet, 0 nil packets
    gconnell@zombie-test1.mtv:/$ /tmp/bench -file /tmp/foo
    Took 3.329675s to process 1000000 packets, 3.329us per packet, 0 nil packets
    
    New:
    (/tmp/bench2 is tools/benchmark with the new code)
    gconnell@zombie-test1.mtv:/$ /tmp/bench2 -file /tmp/foo
    Took 1.588695s to process 1000000 packets, 1.588us per packet, 0 nil packets
    gconnell@zombie-test1.mtv:/$ /tmp/bench2 -file /tmp/foo
    Took 1.580306s to process 1000000 packets, 1.58us per packet, 0 nil packets
    
    About a 50% reduction in the initial packet copy.  This seemed to work pretty
    repeatably.
  2. Fix up benchmark.

    gconnell committed Dec 11, 2012
    Turns out that benchmarking from a live interface is silly, because it's always
    blocked on the interface, not on the actual code.  Switched to benchmarking from
    a file, which produces much more repeatable results.
  3. Hopefully speed up packet capture.

    Graeme Connell
    Graeme Connell committed Dec 11, 2012
  4. Add benchmark binary.

    Graeme Connell
    Graeme Connell committed Dec 11, 2012
Commits on Dec 7, 2012
  1. Merge pull request #19 from elimisteve/master

    akrennmair committed Dec 7, 2012
    Fixed typo in decode.go
Commits on Nov 29, 2012
  1. Fix typo.

    gconnell committed Nov 29, 2012
Commits on Nov 20, 2012
  1. Merge pull request #17 from gconnell/master

    akrennmair committed Nov 20, 2012
    VLAN tagging (802.1Q) support
Commits on Aug 15, 2012
  1. Merge pull request #15 from elrik75/master

    akrennmair committed Aug 15, 2012
    fix pcaptest.go example according to new Time API
Commits on Jul 28, 2012
  1. fix pcaptest.go example according to new Time API

    Guillaume Savary
    Guillaume Savary committed Jul 28, 2012
Commits on Jul 11, 2012
  1. Merge pull request #14 from miekg/master

    akrennmair committed Jul 11, 2012
    use time.Time
Commits on May 8, 2012
  1. fix imports.

    akrennmair committed May 8, 2012
  2. Merge pull request #13 from gconnell/master

    akrennmair committed May 8, 2012
    Add a benchmark test for TCP packet decoding.
  3. Merge pull request #11 from dustin/master

    akrennmair committed May 8, 2012
    More enhancements after some heavy use
Commits on May 7, 2012
Commits on May 3, 2012
  1. better

    miekg committed May 3, 2012
Commits on May 2, 2012
  1. Fix README

    miekg committed May 2, 2012
Commits on Apr 29, 2012
  1. diff. layout

    miekg committed Apr 29, 2012
  2. more Go like and shorter

    miekg committed Apr 29, 2012
Commits on Apr 26, 2012
  1. documenttion

    miekg committed Apr 26, 2012