1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 22:34:14 +03:00

opentimestamps: one last make doc.

This commit is contained in:
fiatjaf 2023-09-26 15:42:02 -03:00
parent 912f4116a9
commit 976a7564c7
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
2 changed files with 29 additions and 2 deletions

View File

@ -122,7 +122,7 @@ mpeg_ts,
[msgpack](doc/formats.md#msgpack), [msgpack](doc/formats.md#msgpack),
ogg, ogg,
ogg_page, ogg_page,
opentimestamps, [opentimestamps](doc/formats.md#opentimestamps),
opus_packet, opus_packet,
[pcap](doc/formats.md#pcap), [pcap](doc/formats.md#pcap),
pcapng, pcapng,

View File

@ -92,7 +92,7 @@
|[`msgpack`](#msgpack) |MessagePack |<sub></sub>| |[`msgpack`](#msgpack) |MessagePack |<sub></sub>|
|`ogg` |OGG&nbsp;file |<sub>`ogg_page` `vorbis_packet` `opus_packet` `flac_metadatablock` `flac_frame`</sub>| |`ogg` |OGG&nbsp;file |<sub>`ogg_page` `vorbis_packet` `opus_packet` `flac_metadatablock` `flac_frame`</sub>|
|`ogg_page` |OGG&nbsp;page |<sub></sub>| |`ogg_page` |OGG&nbsp;page |<sub></sub>|
|`opentimestamps` |OpenTimestamps&nbsp;file |<sub></sub>| |[`opentimestamps`](#opentimestamps) |OpenTimestamps&nbsp;file |<sub></sub>|
|`opus_packet` |Opus&nbsp;packet |<sub>`vorbis_comment`</sub>| |`opus_packet` |Opus&nbsp;packet |<sub>`vorbis_comment`</sub>|
|[`pcap`](#pcap) |PCAP&nbsp;packet&nbsp;capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>| |[`pcap`](#pcap) |PCAP&nbsp;packet&nbsp;capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
|`pcapng` |PCAPNG&nbsp;packet&nbsp;capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>| |`pcapng` |PCAPNG&nbsp;packet&nbsp;capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
@ -857,6 +857,33 @@ $ fq -d msgpack torepr file.msgpack
### References ### References
- https://github.com/msgpack/msgpack/blob/master/spec.md - https://github.com/msgpack/msgpack/blob/master/spec.md
## opentimestamps
### View a full OpenTimestamps file
```
$ fq dd file.ots
```
### List the names of the Calendar servers used
```
$ fq '.operations | map(select(.attestation_type == "calendar") | .url)' file.ots
```
### Check if there are Bitcoin attestations present
```
$ fq '.operations | map(select(.attestation_type == "bitcoin")) | length > 0' file.ots
```
### Authors
- fiatjaf, https://fiatjaf.com
### References
- https://opentimestamps.org/
- https://github.com/opentimestamps/python-opentimestamps
## pcap ## pcap
### Build object with number of (reassembled) TCP bytes sent to/from client IP ### Build object with number of (reassembled) TCP bytes sent to/from client IP