1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 12:26:03 +02:00

ipsumdump, ipaggcreate, ipaggmanip: add page (#6966)

This commit is contained in:
Juri 2021-10-20 23:21:51 +02:00 committed by GitHub
parent 356e95ce79
commit e26d7c6659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# ipaggcreate
> Produce aggregate statistics of TCP/IP dumps.
> More information: <https://manned.org/ipaggcreate>.
- Count the number of packets sent from each source address appearing in a pcap file:
`ipaggcreate --src {{path/to/file.pcap}}`
- Group and count packets read from a network interface by IP packet length:
`ipaggcreate --interface {{eth0}} --length`
- Count the number of bytes sent between each address pair appearing in a pcap file:
`ipaggcreate --address-pairs --bytes {{path/to/file.pcap}}`

View file

@ -0,0 +1,16 @@
# ipaggmanip
> Manipulate aggregate statistics produced by `ipaggcreate`.
> More information: <https://manned.org/ipaggmanip>.
- Combine labels equal in their high-order bits:
`ipaggmanip --prefix {{16}} {{path/to/file}}`
- Remove labels with a count smaller than a given number of bytes and output a random sample of such labels:
`ipaggmanip --cut-smaller {{100}} --cull-labels {{5}} {{path/to/file}}`
- Replace each label's count with 1 if it is non-zero:
`ipaggmanip --posterize {{path/to/file}}`

16
pages/common/ipsumdump.md Normal file
View file

@ -0,0 +1,16 @@
# ipsumdump
> Summarise TCP/IP dumps into a human and machine readable ASCII format.
> More information: <https://manned.org/ipsumdump>.
- Print the source and destination IP addresses of all packets in a pcap file:
`ipsumdump --src --dst {{path/to/file.pcap}}`
- Print the timestamps, source address, source port, destination address, destination port and protocol of all packets read from a given network interface:
`ipsumdump --interface {{eth0}} -tsSdDp`
- Print the anonymised source address, anonymised destination address, and IP packet length of all packets in a pcap file:
`ipsumdump --src --dst --length --anonymize {{path/to/file.pcap}}`