1
1
mirror of https://github.com/wader/fq.git synced 2024-11-22 15:45:45 +03:00
Commit Graph

1768 Commits

Author SHA1 Message Date
Mattias Wadman
980ecdba82 decode: Add float 80 reader
Rename *d.Bits to UintBits as it return a uint
Add *d.Bits that return []byte
2023-03-10 01:15:55 +01:00
Mattias Wadman
b79b7ca601
Merge pull request #614 from wader/aiff
aiff: Add basic decoder
2023-03-09 15:29:40 +01:00
Mattias Wadman
dc4a82eeed aiff: Add basic decoder 2023-03-09 15:16:52 +01:00
Mattias Wadman
73ab18848c
Merge pull request #613 from retokromer/patch-1
fix typo
2023-03-09 09:51:04 +01:00
Mattias Wadman
2619587c0d
Merge pull request #612 from slingamn/compat
readline: remove direct access to (*Instance).Config
2023-03-09 09:50:56 +01:00
רטו/רעטאָ/רֵיטוֹ • Reto
87e5bb142d
fix typo 2023-03-09 07:01:52 +01:00
Shivaram Lingamneni
ffc66db083 readline: remove direct access to (*Instance).Config 2023-03-09 05:53:29 +00:00
Mattias Wadman
29bb15a55d
Merge pull request #609 from wader/release-0.4.0
fq: Release 0.4.0
2023-03-08 17:41:02 +01:00
Mattias Wadman
1fa55ec7d7 fq: Release 0.4.0 2023-03-08 17:30:28 +01:00
Mattias Wadman
fc95c1f98e
Merge pull request #610 from wader/bump-docker-golang-1.20.2
Update docker-golang to 1.20.2 from 1.20.1
2023-03-08 17:15:10 +01:00
Mattias Wadman
4c6158f912
Merge pull request #611 from wader/bump-github-go-version-1.20.2
Update github-go-version to 1.20.2 from 1.20.1
2023-03-08 17:15:03 +01:00
bump
c5130887f8 Update github-go-version to 1.20.2 from 1.20.1 2023-03-08 16:03:51 +00:00
bump
72870a5a35 Update docker-golang to 1.20.2 from 1.20.1 2023-03-08 16:03:48 +00:00
Mattias Wadman
7f666fff6d
Merge pull request #608 from wader/gojq-fq-update
gojq: Update fq fork
2023-03-08 16:09:51 +01:00
Mattias Wadman
3cc8383735 gojq: Update fq fork
Mostly interface{} -> any and fixes from upstream
2023-03-08 15:59:35 +01:00
Mattias Wadman
ebcdd38322
Merge pull request #607 from wader/readline-update
readline: Update fq fork
2023-03-07 18:46:35 +01:00
Mattias Wadman
f50bd6eed0 readline: Update fq fork
Some bug and redraw fixes from @tpodowd

Windows native ANSI support from @slingamn
2023-03-07 18:32:02 +01:00
Mattias Wadman
a1020c5f19
Merge pull request #606 from wader/id3v2-fix-ctoc-header
id3v2: Decode subframes for CTOC and add struct for headers
2023-03-05 19:38:08 +01:00
Mattias Wadman
cc52a4419d id3v2: Decode subframes for CTOC and add struct for headers 2023-03-05 19:29:22 +01:00
Mattias Wadman
6498e3f318
Merge pull request #605 from wader/bump-gomod-golang-x-net-0.8.0
Update gomod-golang-x-net to 0.8.0 from 0.7.0
2023-03-05 17:27:09 +01:00
Mattias Wadman
3ac0b28f3f
Merge pull request #604 from wader/bump-gomod-golang-x-crypto-0.7.0
Update gomod-golang-x-crypto to 0.7.0 from 0.6.0
2023-03-05 17:26:16 +01:00
bump
80a0744667 Update gomod-golang-x-net to 0.8.0 from 0.7.0
Tags https://github.com/golang/net/tags
2023-03-05 16:04:09 +00:00
bump
c03d3ccd75 Update gomod-golang-x-crypto to 0.7.0 from 0.6.0
Tags https://github.com/golang/crypto/tags
2023-03-05 16:04:06 +00:00
Mattias Wadman
1e602c67d2
Merge pull request #603 from wader/tls
tls: Add TLS 1.0, 1.1, 1.2 decode and decryption
2023-03-05 14:06:37 +01:00
Mattias Wadman
9852f56b74 tls: Add TLS 1.0, 1.1, 1.2 decode and decryption
What it can do:
- Decodes records and most standard messages and extensions.
- Decryptes records and reassemples application data stream if a keylog is provided
  and the cipher suite is supported.
- Supports most recommended and used ciphers and a bunch of older ones.

What it can't do:
- SSL v3 maybe supported, is similar to TLS 1.0, not tested.
- Decryption and renegotiation/cipher change.
- Record defragmentation not supported, seems rare over TCP.
- TLS 1.3
- SSL v2 but v2 compat header is supported.
- Some key exchange messages not decoded yet

Decryption code is heavly based on golang crypto/tls and zmap/zcrypto.

Will be base for decoding http2 and other TLS based on protocols.

Fixes #587
2023-03-05 13:52:12 +01:00
Mattias Wadman
fb5377f79a
Merge pull request #602 from wader/bump-gomod-golang/text-0.8.0
Update gomod-golang/text to 0.8.0 from 0.7.0
2023-03-04 17:19:54 +01:00
bump
e7168b994b Update gomod-golang/text to 0.8.0 from 0.7.0
Source diff 0.7.0..0.8.0 https://github.com/golang/text/compare/v0.7.0..v0.8.0
2023-03-04 16:03:58 +00:00
Mattias Wadman
59ad7a9128
Merge pull request #601 from wader/help-format-options-nice-example
help: Show default option value as JSON
2023-03-04 10:04:17 +01:00
Mattias Wadman
c75a83c829 help: Show default option value as JSON 2023-03-04 09:53:33 +01:00
Mattias Wadman
a6370ec874
Merge pull request #600 from wader/markdown-text-fix
help,markdown: Fix double line breaks when converting to text
2023-03-02 23:51:20 +01:00
Mattias Wadman
dec433fc53 help,markdown: Fix double line breaks when converting to text
Also fix ugly last line break hack
2023-03-02 23:38:11 +01:00
Mattias Wadman
461783ede8
Merge pull request #599 from wader/pcap-link-type-raw-ipv4_v6
pcap,pcapng,ipv4,ipv6: Support raw link type (ipv4 or ipv6)
2023-03-02 18:47:39 +01:00
Mattias Wadman
6c032455eb pcap,pcapng,ipv4,ipv6: Support raw link type (ipv4 or ipv6) 2023-03-02 18:37:00 +01:00
Mattias Wadman
cbd2df2b06
Merge pull request #598 from wader/update-docs
doc: Run make doc
2023-02-26 21:50:41 +01:00
Mattias Wadman
3e0ebafa6d doc: Run make doc 2023-02-26 21:41:46 +01:00
Mattias Wadman
861ce59d01
Merge pull request #597 from wader/opt-file-value-error
interp: Exit with error if -o name=@path fails to be read, also document
2023-02-26 21:39:39 +01:00
Mattias Wadman
73db6587a0 interp: Exit with error if -o name=@path fails to be read, also document 2023-02-26 21:18:36 +01:00
Mattias Wadman
0165644295
Merge pull request #596 from wader/zip-correctly-peek-zip64-eocd
zip: Correctly peek for zip64 EOCD
2023-02-22 22:34:36 +01:00
Mattias Wadman
bdd6718ddb zip: Correctly peek for zip64 EOCD 2023-02-22 22:22:36 +01:00
Mattias Wadman
58b33ab5c4
Merge pull request #595 from wader/zip-correctly-look-for-eocds
zip: Correctly look for and decode both zip32/64 EOCD record
2023-02-22 19:43:43 +01:00
Mattias Wadman
5228fdd6cd zip: Correctly look for and decode both zip32/64 EOCD record
There will always be zip(32) EOCD but optinally a zip64 EOCD

Related to #586
2023-02-22 19:34:28 +01:00
Mattias Wadman
9f7d50bf0e
Merge pull request #594 from wader/xml-toml-fail-fast
toml,xml: Fail fast on invalid content
2023-02-22 16:33:13 +01:00
Mattias Wadman
56edb59e83 toml,xml: Fail fast on invalid content
encoding/xml and github.com/BurntSushi/toml both reads a lot before detecting
that it can't decode. Now we instead read one UTF-8 and make sure it's valid
xml or toml.

Should speed up probing

Related to #586 bigzero-zip.zip
2023-02-22 16:23:21 +01:00
Mattias Wadman
aaf60ec250
Merge pull request #592 from wader/bump-make-golangci-lint-1.51.2
Update make-golangci-lint to 1.51.2 from 1.51.1
2023-02-20 17:14:00 +01:00
Mattias Wadman
9078d4a618
Merge pull request #593 from wader/bump-github-golangci-lint-1.51.2
Update github-golangci-lint to 1.51.2 from 1.51.1
2023-02-20 17:13:53 +01:00
bump
75bfdda362 Update github-golangci-lint to 1.51.2 from 1.51.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.2
2023-02-20 16:03:57 +00:00
bump
70e08faa18 Update make-golangci-lint to 1.51.2 from 1.51.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.51.2
2023-02-20 16:03:55 +00:00
Mattias Wadman
7b6847c24e
Merge pull request #591 from wader/ipv4frag-tcp-test
pcap: Add ipv4 fragments tcp test
2023-02-20 11:59:12 +01:00
Mattias Wadman
d4ea6632fa pcap: Add ipv4 fragments tcp test 2023-02-20 11:45:12 +01:00
Mattias Wadman
ab80713ea4
Merge pull request #590 from wader/pcap-ipv45-link-frame
ipv4_packet,ipv6_packet,sll_packet,sll2_packet: Support ipv4/ipv6 lin…
2023-02-20 09:22:42 +01:00