Commit graph

5 commits

Author SHA1 Message Date
Ryan Johnson d85b7f5e89
Update packet inspector and fix packet bugs (#172)
- Implement `encoded_len` for packet enums.
- Fix bug in `has_next_packet` causing a later `unwrap` to panic.
- Add robust `encoded_len` check in `PacketEncoder` for debug builds.
- Split packet inspector regex into separate "inclusive" and "exclusive"
arguments because the `regex` crate does not support negative lookahead.
- Better `Debug` impls for `Ident` and `Compound`.
- Remove read/write timeouts from packet inspector.
2022-12-16 08:23:48 -08:00
Ryan Johnson 0a75f103aa
Packet filtering (#67)
* Add `PacketName`

* Fix inefficiency in codec.rs

* Add regex argument to packet_inspector

* Reorder imports

* Make the regex arg optional

* Update README
2022-09-16 05:31:37 -07:00
Carson McManus 7c23d7a086
add docs for packet inspector: quick start w/ vanilla server in docker (#63) 2022-09-15 18:59:43 -07:00
Ryan Johnson ddc74ef01d
stderr -> stdout 2022-09-05 22:29:19 -07:00
Ryan 067d753267 Move packet_inspector README.md to correct directory 2022-09-05 22:18:13 -07:00
Renamed from packet_inspector/src/README.md (Browse further)