Live data from Hacker News

Using tcpflow to debug HTTP API libraries

woss.name

11–12 of 12 posts

Re: Using tcpflow to debug HTTP API libraries

#11

How does tcpflow compare with ngrep?

tcpflow is rather simpler, but probably a lot better for examining multiple connections. You specify a tcpdump/pcap filter and it saves the traffic to files (two per connection, one for each direction). You review the data at your leisure, it's not all jumbled up in your terminal.

Can tcpflow set up fake TLS certificates like Charles?

Re: Using tcpflow to debug HTTP API libraries

#12
post #11

Earlier quoted context omitted.

tcpflow is rather simpler, but probably a lot better for examining multiple connections. You specify a tcpdump/pcap filter and it saves the traffic to files (two per connection, one for each direction). You review the data at your leisure, it's not all jumbled up in your terminal.

Can tcpflow set up fake TLS certificates like Charles?

No. It takes data from the network and puts it into files. That's all. It doesn't inject, interpret, or decrypt data.
Post reply on HN