Mattias Wadman
c8666eeb04
ipv4_packet,ipv6_packet,sll_packet,sll2_packet: Support ipv4/ipv6 link frames and pass correct in arg
...
ipv4/ipv6 in sll* accidentally worked as it passed wrong arg with ether type
2023-02-20 01:34:38 +01:00
Mattias Wadman
acc92e6996
Merge pull request #589 from wader/decode-multi-arg-refactor
...
decode: Support multiple format args and some rename and refactor
2023-02-18 21:56:03 +01:00
Mattias Wadman
8e0dde03d0
decode: Support multiple format args and some rename and refactor
...
This will allow passing both cli options and format options to sub decoder.
Ex: pass keylog option to a tls decoder when decoding a pcap.
Ex: pass decode options to a format inside a http body inside a pcap.
Add ArgAs method to lookup argument based on type. This also makes the format
decode function have same signature as sub decoders in the decode API.
This change decode.Format a bit:
DecodeFn is now just func(d *D) any
DecodeInArg renamed to DefaultInArg
2023-02-18 21:38:51 +01:00
Mattias Wadman
570a213178
Merge pull request #584 from wader/bump-docker-golang-1.20.1
...
Update docker-golang to 1.20.1 from 1.20.0
2023-02-17 12:40:41 +01:00
Mattias Wadman
c2d81fbd4f
Merge pull request #588 from wader/bump-github-go-version-1.20.1
...
Update github-go-version to 1.20.1 from 1.20.0, 1.20.0, 1.20.0
2023-02-17 12:40:23 +01:00
bump
02e573a902
Update github-go-version to 1.20.1 from 1.20.0, 1.20.0, 1.20.0
2023-02-17 10:51:30 +00:00
Mattias Wadman
feefd7eec3
Merge pull request #585 from wader/bump-gomod-golang-x-net-0.7.0
...
Update gomod-golang-x-net to 0.7.0 from 0.6.0
2023-02-15 11:42:52 +01:00
bump
dd8ab79927
Update gomod-golang-x-net to 0.7.0 from 0.6.0
...
Tags https://github.com/golang/net/tags
2023-02-15 10:35:04 +00:00
bump
0581ecea3e
Update docker-golang to 1.20.1 from 1.20.0
2023-02-15 10:34:57 +00:00
Mattias Wadman
55375c0331
Merge pull request #583 from wader/help-cleanup
...
doc,fq: Improve cli help and some cleanup
2023-02-15 11:13:12 +01:00
Mattias Wadman
a1bb630a2a
doc,fq: Improve cli help and some cleanup
2023-02-15 11:04:39 +01:00
Mattias Wadman
9bad37814e
Merge pull request #581 from wader/matroska-unknown-size-test
...
matroska: Add unknown size test and add description to ebml header
2023-02-10 10:39:22 +01:00
Mattias Wadman
9aaf2ddf27
matroska: Add unknown size test and add description to ebml header
2023-02-10 10:29:25 +01:00
Mattias Wadman
4579c7ee23
Merge pull request #580 from wader/matoska-update-spec
...
matroska: Update spec and make refs in descriptions look nicer
2023-02-09 23:46:22 +01:00
Mattias Wadman
c890a2899f
matroska: Update spec and make refs in descriptions look nicer
2023-02-09 23:18:17 +01:00
Mattias Wadman
072a63ae6b
Merge pull request #576 from wader/matroska-master-unknown-size-end
...
matroska: Assume master with unknown size has ended if a valid parent is found
2023-02-09 20:26:25 +01:00
Mattias Wadman
a8d0bf4d3e
matroska: Assume master with unknown size has ended if a valid parent is found
...
Major refactor of ebml code generator, now decoupled from fq code
Cleanup element descriptions a bit, a bit shorter and less clutter
Cleanup old comments
2023-02-09 20:10:47 +01:00
Mattias Wadman
7a718abaac
Merge pull request #579 from wader/bump-gomod-golang/text-0.7.0
...
Update gomod-golang/text to 0.7.0 from 0.6.0
2023-02-09 18:45:22 +01:00
Mattias Wadman
d946f10638
Merge pull request #578 from wader/bump-gomod-golang-x-net-0.6.0
...
Update gomod-golang-x-net to 0.6.0 from 0.5.0
2023-02-09 18:45:07 +01:00
Mattias Wadman
db90e16b99
Merge pull request #577 from wader/bump-gomod-golang-x-crypto-0.6.0
...
Update gomod-golang-x-crypto to 0.6.0 from 0.5.0
2023-02-09 18:44:48 +01:00
bump
97643b9873
Update gomod-golang/text to 0.7.0 from 0.6.0
...
Source diff 0.6.0..0.7.0 https://github.com/golang/text/compare/v0.6.0..v0.7.0
2023-02-09 16:04:05 +00:00
bump
2430fba7e5
Update gomod-golang-x-net to 0.6.0 from 0.5.0
...
Tags https://github.com/golang/net/tags
2023-02-09 16:04:02 +00:00
bump
b1d9306b18
Update gomod-golang-x-crypto to 0.6.0 from 0.5.0
...
Tags https://github.com/golang/crypto/tags
2023-02-09 16:03:59 +00:00
Mattias Wadman
0609369b56
Merge pull request #575 from wader/matoska-unknown-size-non-master
...
matroska: Handle unknown size for non-master types a bit better
2023-02-08 12:26:17 +01:00
Mattias Wadman
0d14d7b40f
matroska: Handle unknown size for non-master types a bit better
...
For non-master types assume size to be rest of file
Still does not follow the ebml spec
2023-02-08 12:14:40 +01:00
Mattias Wadman
52b76b05c1
Merge pull request #574 from wader/matroska-decode-samples-option
...
matroska: Add decode_samples option
2023-02-08 11:43:10 +01:00
Mattias Wadman
b60aceca9e
matroska: Add decode_samples option
...
Also change the option help a bit, maybe medid and support is confusing, we
might evetually decode non-audio/video things.
2023-02-08 11:31:41 +01:00
Mattias Wadman
5b3ed334e6
Merge pull request #573 from wader/jqvalue-cancel-error
...
Fix cancel panic when interrupting big json output
2023-02-07 17:06:26 +01:00
Mattias Wadman
dc79a73b72
interp,json: Move error handling to colorjson
...
Cancel error from ValueFn etc will be return by Marshal instead
2023-02-07 16:57:54 +01:00
Mattias Wadman
50d26ec759
colorjson: Handle encoding error value
...
Can happen if ValueFn is used and it returns an error, reader is canceled etc
2023-02-07 16:45:29 +01:00
Mattias Wadman
5c8e115106
colorjson: Refactor to option struct
2023-02-07 16:18:32 +01:00
Mattias Wadman
3ce9e9fc71
Merge pull request #572 from wader/fosdem2023-link
...
doc: Add FOSDEM 2023 talk
2023-02-06 17:03:24 +01:00
Mattias Wadman
156aeecacd
doc: Add FOSDEM 2023 talk
2023-02-06 16:50:49 +01:00
Mattias Wadman
b537bfe34f
Merge pull request #570 from wader/bump-make-golangci-lint-1.51.1
...
Update make-golangci-lint to 1.51.1 from 1.51.0
2023-02-05 19:14:57 +01:00
Mattias Wadman
61fff1b8fc
Merge pull request #571 from wader/bump-github-golangci-lint-1.51.1
...
Update github-golangci-lint to 1.51.1 from 1.51.0
2023-02-05 19:14:38 +01:00
bump
ce2637260c
Update github-golangci-lint to 1.51.1 from 1.51.0
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.1
2023-02-05 16:03:46 +00:00
bump
36df57ebec
Update make-golangci-lint to 1.51.1 from 1.51.0
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.1
2023-02-05 16:03:43 +00:00
Mattias Wadman
bafc8e3d93
Merge pull request #562 from wader/release-0.3.0
...
Release 0.3.0
2023-02-02 11:32:47 +01:00
Mattias Wadman
00c0cde6ab
fq: Release 0.3.0
2023-02-02 11:23:02 +01:00
Mattias Wadman
23e244e6e5
Merge pull request #568 from wader/bump-github-go-version-1.20.0
...
Update github-go-version to 1.20.0 from 1.19.5, 1.19.5, 1.19.5
2023-02-02 11:17:42 +01:00
Mattias Wadman
57144b2f95
github-action: Use quotes becase yaml (1.20 -> 1.2)
2023-02-02 11:05:53 +01:00
bump
d338c8b7c3
Update github-go-version to 1.20.0 from 1.19.5, 1.19.5, 1.19.5
2023-02-02 11:05:01 +01:00
Mattias Wadman
c34050b132
Merge pull request #565 from wader/bump-docker-golang-1.20.0
...
Update docker-golang to 1.20.0 from 1.19.5
2023-02-02 11:04:47 +01:00
Mattias Wadman
72dbd73952
Merge pull request #566 from wader/bump-make-golangci-lint-1.51.0
...
Update make-golangci-lint to 1.51.0 from 1.50.1
2023-02-02 11:04:07 +01:00
Mattias Wadman
a7177c2427
Merge pull request #567 from wader/bump-github-golangci-lint-1.51.0
...
Update github-golangci-lint to 1.51.0 from 1.50.1
2023-02-02 11:03:52 +01:00
bump
ad4919a810
Update github-golangci-lint to 1.51.0 from 1.50.1
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.0
2023-02-02 08:29:34 +00:00
bump
f1057b9bfe
Update make-golangci-lint to 1.51.0 from 1.50.1
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.0
2023-02-02 08:29:30 +00:00
bump
a7f37d7300
Update docker-golang to 1.20.0 from 1.19.5
2023-02-02 08:29:27 +00:00
Mattias Wadman
c21d960d8f
Merge pull request #564 from wader/gomod-update-bump
...
gomod: Update non-bump tracked mods and add bump config
2023-01-31 18:03:02 +01:00
Mattias Wadman
7855b359eb
gomod: Update non-bump tracked mods and add bump config
2023-01-31 17:54:22 +01:00