Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
six-ddc committed Feb 28, 2017
1 parent 7191d74 commit 04e3b19
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ or directly download [Release](https://github.com/six-ddc/httpflow/releases) bin
libpcap version 1.3.0
httpflow 0.0.1

Usage: httpflow [-i interface] [-f filter] [-s snapshot-length] [-w output-path]
Usage: httpflow [-i interface] [-f filter] [-r pcap-file] [-w output-path] [-x pipe-line] [-s snapshot-length]
```

* Capture default interface
Expand All @@ -66,3 +66,10 @@ Usage: httpflow [-i interface] [-f filter] [-s snapshot-length] [-w output-path]
# For the expression syntax, see pcap-filter(7).
> httpflow -f 'tcp port 80 and host baidu.com'
```

* Read packets from file

```bash
# tcpdump -w a.cap
> httpflow -r a.cap
```

0 comments on commit 04e3b19

Please # to comment.