Commits on Aug 25, 2010
  1. Merge remote branch 'github/addhar' into addhar

    Andrew Fleenor committed Aug 25, 2010
  2. Insignificant doc changes in http.py

    Andrew Fleenor committed Aug 25, 2010
Commits on Aug 23, 2010
  1. added timings to HAR

    added ms_from_dpkt_time function to pcaputil
    Andrew Fleenor committed Aug 23, 2010
  2. Added headers to HAR, added slightly more sophisticated json serializ…

    …ation
    
    There is now a JsonReprEncoder which attempts to call a json_repr method on
    each object, allowing each class to determine its JSON representation. In
    practice, the json_repr's are added to http.Request/Response by the har
    module.
    Andrew Fleenor committed Aug 23, 2010
  3. now writing proto-HAR

    Andrew Fleenor committed Aug 23, 2010
  4. renaming har.py to httpsession.py, to free up name har.py...

    ...for module that actually writes HAR
    Andrew Fleenor committed Aug 23, 2010
  5. created HTTPSession class, associated bug fixes.

    Also, added pcaputil.ms_from_timedelta
    Andrew Fleenor committed Aug 23, 2010
  6. fixed Direction.byte_to_seq

    Andrew Fleenor committed Aug 23, 2010
  7. Merge branch 'messy' into addhar

    Andrew Fleenor committed Aug 23, 2010
  8. importing tcp in tcp/direction.py, apparently forgot to do that earlier.

    It worked before. I'm not sure exactly what happened.
    Andrew Fleenor committed Aug 23, 2010
  9. Improved http request/response pairing.

    Andrew Fleenor committed Aug 23, 2010
  10. prototyping HAR functionality

    Andrew Fleenor committed Aug 22, 2010
  11. adding PyScripter project file

    Andrew Fleenor committed Aug 22, 2010
Commits on Aug 22, 2010
  1. forgot to add these changes to previous commit

    Andrew Fleenor committed Aug 22, 2010
  2. Fixed bug in tcp.Direction.byte_to_seq, name issues in tcp package re…

    …factor
    
    tcp.Direction now calculates its seq start from the first seq number in its
    data chunks, rather than just taking self.flow.handshake[0].seq, which was
    actually pretty moronic. Also, figured out how to make the Python package
    system make statements like tcp.Flow valid, even though their full name is
    like tcp.flow.Flow
    Andrew Fleenor committed Aug 22, 2010
  3. added HTTPError for http parse errors, to replace ValueError

    Andrew Fleenor committed Aug 22, 2010
Commits on Aug 21, 2010
  1. refactored TCP stuff into its own package, for clarity

    Andrew Fleenor committed Aug 20, 2010
Commits on Aug 19, 2010
  1. MessagePair class, and inconsequential little stuff

    doc/comment changes, re-working http parsing in main.py, and that's basically
    it
    Andrew Fleenor committed Aug 19, 2010
  2. Getting timestamps from TCP flows appears to be working with HTTP par…

    …sing
    
    New architecture for HTTP request/response objects. They now grab timestamps
    from a TCPDirection after parsing data using dpkt.
    Andrew Fleenor committed Aug 19, 2010
  3. Fixed past-the-end bug in SortedCollection.find_le

    Andrew Fleenor committed Aug 19, 2010
  4. re-arranged TCPFlow to look for handshake more robustly

    removed cruft, implemented delayed merging (until handshake is detected).
    Created member functions of TCPDirection to access arrival data. those are
    not tested.
    None of it has been rigorously tested.
    Andrew Fleenor committed Aug 19, 2010
Commits on Aug 17, 2010
  1. started rewriting http.py, non-working

    Andrew Fleenor committed Aug 16, 2010
Commits on Aug 16, 2010
  1. Added ability to calculate final arrival times.

    Andrew Fleenor committed Aug 16, 2010
  2. Fixed calculation of seq_num of new data when merging to back of exis…

    …ting data
    Andrew Fleenor committed Aug 16, 2010
  3. TCP stitching working again

    Finished implementing stitching. Added new test program that writes out tcp
    data to a directory (again). Slight restructuring in TCPFlowAccumulator to
    reflect new architecture.
    Andrew Fleenor committed Aug 16, 2010
  4. started rewriting TCPFlow, new naming conventions for seq numbers

    Sequence number variables shall be named 'seq_start' or 'seq_end'. TCPFlow
    will soon support streaming packets, not just a list, through an add(pkt)
    method.
    Andrew Fleenor committed Aug 16, 2010
Commits on Aug 14, 2010
Commits on Aug 11, 2010
  1. started adding HTTP Parsing

    Andrew Fleenor committed Aug 11, 2010
Commits on Aug 10, 2010
  1. refactoring in tcpflow.py: new class TCPDirection, moved assemble_stream

    Specifically, it was made into a free function, as was detect_handshake. A
    no-op detect_closing handshake has also been added
    Andrew Fleenor committed Aug 9, 2010
  2. re-wrote get_flow to use a dictionary-based approach to checking keyw…

    …ord args
    Andrew Fleenor committed Aug 9, 2010
Commits on Aug 9, 2010
  1. added handshake detection

    I think. also a few convenience members of TCPPacket
    Andrew Fleenor committed Aug 9, 2010
  2. more, maybe better logging and error handling

    Andrew Fleenor committed Aug 9, 2010
  3. added writeout_data method to TCPFlow

    it writes out forward and reverse data to two files with names determined by
    a base name passed to the method
    Andrew Fleenor committed Aug 9, 2010