Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Oct 25, 2013

  1. Fixed httpVersion field for responses

    previously, only fixed for requests.
    authored October 25, 2013

Mar 05, 2013

  1. Fixes from Likai to be more forgiving with missing times and dates

    authored March 05, 2013

Dec 14, 2012

  1. Merge remote branch 'origin/master'

    Update test cases to handle new sorting.
    authored December 14, 2012

Nov 10, 2012

  1. Make sure headers and query parameters are sorted

    Before, they would not have been sorted by the json module,
    since they had already been put in a list before it sees them.
    They would have been randomized once hash randomization kicks in in
    a modern version of python, and they need to stay sorted so the
    tests work.
    authored November 09, 2012

Aug 21, 2012

  1. Correctly handle requests with no response.

    Fix ancient variable misspelling, which revealed a bunch of other
    bugs when response is None. Add test cases.
    authored August 21, 2012
  2. Economize on memory in http, and related changes.

    Refactor dpkt_http_replacement to only use two StringIO's. Move
    print_rusage to pcaputil.
    authored August 21, 2012
  3. Add log file option to main.py

    authored August 21, 2012
  4. Doc punctuation, get rid of import * in tcp/flow.py

    authored August 21, 2012
  5. Fix the memory error fix

    Drop tcpdir.data AFTER all http messages have been constructed
    from it.
    authored August 21, 2012
  6. Expose raw bytes of HTTP message, including header.

    authored August 21, 2012
  7. Handle multiple flows on the same socket.

    authored August 21, 2012
  8. Accept invalid media types with just a warning.

    authored August 21, 2012

Jul 17, 2012

  1. Wide-ranging cleanup

    Line-length <= 80 chars, blank lines between methods,
    other whitespace changes, rephrase some comments,
    s/"/'/, re-order some imports, etc.
    authored July 17, 2012
  2. add EasyParsePcap function to handle boilerplate.

    authored July 17, 2012
  3. Fix some relative imports for libification

    authored July 17, 2012
  4. Move most pcap2har .py files into a library directory

    authored July 17, 2012

Jul 16, 2012

  1. Extra fixes to merged stuff from mdwelsh and ethankb

    authored July 16, 2012
  2. Merge in fixes and tweaks to Matt's changes from Google.

    authored July 16, 2012

Jul 13, 2012

  1. Merge pull request #4 from ethankb/minor_fixes

    Basically, just handling malformed content-length headers.
    Instead of ethankb's exact solution, just catch ValueError
    and log the invalid values.
    authored July 13, 2012
  2. Merge changes from Matt Welsh and Ethan Katz-Basset

    authored July 13, 2012
  3. Merge pull request #4 from ethankb/minor_fixes

    Basically, just handling malformed content-length headers.
    Instead of ethankb's exact solution, just catch ValueError
    and log the invalid values.
    authored July 13, 2012

Jul 12, 2012

  1. Ethan had the right idea about logging in tcp/direction.py

    replace reference to logging with log, and remove import logging
    at top.
    authored July 12, 2012
  2. Fix stale reference to debug_pkt_count in pcap.py

    authored July 12, 2012
  3. Handle empty content type

    authored July 12, 2012
  4. Fix bad array check in dpkt_http_replacement.py

    Thanks to Ethan Katz-Basset <ethankb@google.com>
    authored July 12, 2012
  5. Allow semicolons on end of media type

    Also remove bad import from tcp/direction.py
    authored July 12, 2012
  6. Another typo from Matt Welsh: reponse is not a word.

    authored July 12, 2012
  7. Fix name typos in tcp/packet.py: s/TCPPacket/Packet

    authored July 12, 2012
  8. Make dependency on socket.inet_ntoa

    Also delete useless vim swap file.
    authored July 12, 2012
  9. Two small bugfixes:

      - Fix pad_missing_data when no chunks in a given flow
      - Allow ModifiedReader to read from a cStringIO object
    
    Conflicts:
    	tcp/direction.py
    authored July 12, 2012
  10. Options added to pad missing TCP data (making HTTP parsing more

    robust), and allowing for a mismatch in HTTP response sizes and the
    Content-Length header.
    
    Conflicts:
    	main.py
    	settings.py
    	tcp/direction.py
    
    Andrew: re-arranged for PEP8, minor touchups.
    authored September 02, 2011 Andrew Fleenor committed July 12, 2012
  11. Fix tcp.Direction assertion failure

    Remove useless asserts from packet-bridging-the-gap scenario. It
    turns out to be possible for the second chunk to merge onto the
    new one without adding any new data, if it's completely inside
    the newly merged chunk in front of it. The other condition is
    impossible because of the sorting invariant (I think).
    
    Also, somewhere in the merging, clear_data didn't get the news
    that self.chunks is a SortedCollection and you can't del[] it.
    authored July 12, 2012

Jul 11, 2012

  1. Be smarter about message body presence/absence

    Be sure not to process bodies for 204 and 304 responses,
    and don't bother handling pipelining for HTTP/1.0 without
    a content-length. (Strictly, 1.0 should never pipeline, but
    IIS at least does this, but it gives a content-length so
    we handle it just fine). This fix results in more accurate
    processing of out-of-order.pcap, so the test har was updated.
    There's also a couple useful debugging classes in pcaputil.
    authored July 11, 2012

Jul 10, 2012

  1. Add Google to list of copyright holders in LICENSE

    authored July 10, 2012
  2. Merge changes from Google

    Add option to drop http response bodies, miscellaneous re-
    arrangements, update regression tests, and use UTC time.
    Also, tcp.Direction is more robust to out-of-order packets.
    authored July 10, 2012
Something went wrong with that request. Please try again.