Auxiliary Interface¶
pcapkit.interface.misc contains miscellaneous
user interface functions, classes, etc., which are
generally provided per user’s requests.
- pcapkit.interface.misc.follow_tcp_stream(fin=None, verbose=False, extension=True, engine=None, fout=None, format=None, byteorder='little', nanosecond=False)[source]¶
Follow TCP streams.
- Parameters:
fin (
Optional[str]) – file name to be read; if file not exist, raiseFileNotFoundextension (
bool) – if check and append extensions to output fileverbose (
bool) – if print verbose output informationengine (
Optional[Literal['default','pcapkit','dpkt','scapy','pyshark']]) – extraction engine to be usedfout (
Optional[str]) – path name for flow tracer if necessaryformat (
Optional[Literal['pcap','json','tree','plist']]) – output file format of flow tracerbyteorder (
Literal['little','big']) – output file byte ordernanosecond (
bool) – output nanosecond-resolution file flag
- Return type:
- Returns:
List of extracted TCP streams.