From 08b7292ac4e0b00a6caa2709e382ed2e4abd806d Mon Sep 17 00:00:00 2001 From: loki5512344 Date: Mon, 16 Nov 2026 12:47:25 +0100 Subject: [PATCH] test: fuzz the HTTP and PROXY v2 parsers, make PROXY parsing pure - PROXY v2 header parsing is now the pure, total function `parse_v2_header(buf, limit) -> (SocketAddr, consumed)`; the async reader only reads bytes and delegates. This makes the parser reachable from tests and fuzz targets and keeps every index bounds-checked. - tests/proxy_v2_parser.rs: valid v4/v6 headers, bad signature, non-PROXY command, TLVs, every truncated prefix, oversized header, unsupported family, short address block, and a deterministic sweep over family/length. - fuzz/: cargo-fuzz targets `http_head` (scan_head + evaluate) and `proxy_v2` with invariants (no panic, no out-of-buffer consumption, family matches the header). Seeds for the HTTP head keep coverage useful; `make fuzz` runs 60 s per target. Both targets ran clean (7M and 3M executions). - docs/testing.md documents the fuzz workflow; .gitignore covers the generated corpus/artifacts. --- .gitignore | 5 + Makefile | 8 +- TODO.md | 24 +- docs/testing.md | 29 + fuzz/Cargo.lock | 3781 +++++++++++++++++ fuzz/Cargo.toml | 29 + fuzz/fuzz_targets/http_head.rs | 30 + fuzz/fuzz_targets/proxy_v2.rs | 25 + .../004a029e95e5ccaef5bf670728ce8f477e008e9e | Bin 0 -> 16 bytes .../004a6bcdf2958c0390af7902783c581be362e67e | 3 + .../004bf552d8ee26054e8ce76cd4d4f27116beda52 | 2 + .../016cf8425821eb4b40f03675f616e4ce0cd50b84 | 17 + .../03c89b2a2c8f07b23f53fd186aaa35de081075e0 | 4 + .../05c16380242068486f23cd62c069fa78f14f2b05 | 3 + .../05ced3d7b7fe052b34d20b51fb0ca56bccf2c269 | 2 + .../06d0f53b8536fe6c0f1417ea179b03654d0b78f5 | Bin 0 -> 142 bytes .../070fffd0cffa82d2bf95071f6958159ffe5b8429 | 2 + .../07adbebb39a2712e4725af65808b35c2da8bcd49 | Bin 0 -> 34 bytes .../07febf95f098dc6141af10d327043ab8503d406f | 2 + .../0813329fdbad1eef7027b023bf420d56069195e5 | 1 + .../0a988c3fcc107d6bba2847999466a0626fb4995b | 6 + .../0be603006d17042396349fa77c5db9bcb870b3cb | Bin 0 -> 379 bytes .../0d163c6bd87e925df0961760b82c7e116d2c2951 | Bin 0 -> 429 bytes .../0d9fd31038095730447245e449f78f4159a99a41 | Bin 0 -> 40 bytes .../0e775bd88f55053633e4cbe67c72a44021598aca | Bin 0 -> 20 bytes .../0f4adec941f135b45ac9d8b050103c0391490364 | Bin 0 -> 378 bytes .../10d78232f5cfd98c0b6265f6cf9067e55d461b96 | 3 + .../11774a22a9b13efb759279c5e7333e377c7926e4 | Bin 0 -> 1025 bytes .../13059775a2a147c86911b06bd37629b417de1a06 | Bin 0 -> 88 bytes .../1393ebd486f15e8354dbb8b57e43e5cea030d644 | Bin 0 -> 148 bytes .../13b6f6ae57a8414fc1a2f3c1f745788efb24960a | Bin 0 -> 26 bytes .../159243420d085e6236340e05b9797d1eaa1b7452 | Bin 0 -> 21 bytes .../15bacf81742ca8f3b24df0351b6b1de3b3b99f40 | Bin 0 -> 742 bytes .../15c1b12a5c79bd4a7e9de89250017c15420443de | 36 + .../18670ed9fdb348872508c508adf1c95c1ba65c3c | 3 + .../19cc322317ee76ea7c6a35780ed5053278df7845 | 5 + .../19e99fe1f5b97d160b738ab3d280ae434d905eb2 | Bin 0 -> 95 bytes .../1af7a72ded690ab20217f39825b0453aa36e7b23 | 5 + .../1b0bce667a8cd67688577c47225bea54a12b8eff | 6 + .../1ba93cc69f96adf19a4dd47a8408b397a9a52bd4 | 2 + .../1c978b3e59a5ba9f0b23a8e8adca6e98b78d317e | 3 + .../1d1a5269e1bca94f01c9b26c4f1166adb63919c8 | Bin 0 -> 67 bytes .../1df47e4a7f4aa13008ae4666feb4ebe2c9d2731c | Bin 0 -> 30 bytes .../1ee04b7e71697adcde478ed3fa338225ff8a9b37 | Bin 0 -> 73 bytes .../205158ab0a16917506e0955e6ed59abcbfc49c43 | Bin 0 -> 176 bytes .../2109147624f2f5d92492d1cbd14c72479d0b7671 | 3 + .../211524d451689e2d9ec52708201e9769420ed589 | 3 + .../2551651ad6d853621fd7ed6e1e3caa97ef8ef0bc | Bin 0 -> 271 bytes .../2622814d4fdba371a72cb50aa7cbf568bc902c45 | Bin 0 -> 204 bytes .../27b5a584b14fa2bd368b7260d959acfe93007c16 | 3 + .../293b9c9330314b6a068ce2ade92cdca0e127c8de | Bin 0 -> 34 bytes .../2a2ff4e6d42691eb975cb9abd9c8165a5b7994d1 | 3 + .../2c2e034728016b27d8c565d5c423db32f45f9d43 | 13 + .../2c5dc6b483d7491b97d8176726e685337f20e811 | 3 + .../2d9bf749a131224c7339da047ad0ab7275733e5e | Bin 0 -> 49 bytes .../2e09d366e01c4e14f5fd5b918121c4c1fe347d8d | 4 + .../2f756e643e1df91458845c69a1aeddfa97361922 | Bin 0 -> 185 bytes .../2f8dcf39d1cb33c9e979138fde6cde7a3c80636e | Bin 0 -> 91 bytes .../30a71895622818ed4605fabf1b68eba0e069b77d | Bin 0 -> 591 bytes .../3164106b661733d366e0fc16270af2c27b89deb5 | Bin 0 -> 34 bytes .../3316045209f73d80f4ef8fa03ac2c9e2e71c95a3 | Bin 0 -> 65 bytes .../35d8df1a12dc16e7b9177d3575778b3427b815d0 | 2 + .../363245c1a9c144d7808a9832c7f01ff721009a03 | 2 + .../36d61bf68a36df657c7825700a3526fabc64d3b7 | Bin 0 -> 37 bytes .../37ceac039b42efaf82191a2a70cc9fa968c59a94 | 2 + .../382d76ce2858fc2d0df4eb08fd9051121ba3bd41 | Bin 0 -> 358 bytes .../39ad9dbaca070ab3b6e8fc5debf11d660435edeb | Bin 0 -> 45 bytes .../3a33bc52067612829438f03f510452a3542d1713 | Bin 0 -> 337 bytes .../3aa0ad1d16d70b918c58b54baa04a2fbdac773e3 | Bin 0 -> 129 bytes .../3b7cb101d8d2604fab6c9109dbd90e582daf4e04 | Bin 0 -> 589 bytes .../3c4cdc59ce12b7b2cf6fa20cfb0e9c6a39ba27e8 | Bin 0 -> 56 bytes .../3c70116e8acfdfac908b1d86c802d740e8ed45b0 | 4 + .../3db52c44b01793976f2e2fcda49d68d288b41977 | Bin 0 -> 94 bytes .../3e2588696ba39896ae1055eaaf453aedfc4dd949 | Bin 0 -> 934 bytes .../3e54549cf30509cfc0cf2a737ecda40b955d8b44 | Bin 0 -> 714 bytes .../3e9624dffed13a159125f75780f194c18e413cf5 | 9 + .../3eeb74f792a062d5638a7457019e1ec16d8f056d | 4 + .../402eea768878cac42c6deca60cb67311f15484a3 | Bin 0 -> 70 bytes .../409893f8b4ebd5000ef4a87e8a900182c6f59660 | 3 + .../449d5fdd588850488ab3ff6161e0cdc3443a345a | Bin 0 -> 319 bytes .../452406de53c27486361274ee8162aa360d0aaa43 | Bin 0 -> 754 bytes .../460c9003a19be6cca79144c662a437080d43f876 | Bin 0 -> 25 bytes .../4658b4fb88981d0da73eacef3c15163d4dbec3d9 | Bin 0 -> 102 bytes .../46dfb13866bced98ec3e1d74eb1e577973edc497 | 9 + .../47094baa350ae1d891b1453d3e8118a3f8bead49 | Bin 0 -> 25 bytes .../48483d3bcd36cbd10a80a33c29aad968f22c8b52 | 3 + .../49f9958d3ae769912dadc59c9b4a828933e2b98b | Bin 0 -> 531 bytes .../4a45dabd41f15d8d8713da5c5e54ce1a7cb89ab0 | 7 + .../4b0287d0e68cfc7c32125d44a2d788efa7199100 | Bin 0 -> 50 bytes .../4b04bfb652aaaf5e70ea42a9a939866e332354fe | 2 + .../4c03d29018aa1ebd45c7e1067fde45b58d420b28 | 4 + .../4c172c0e8ff87e8205fa23b7dea44b19148e1eac | Bin 0 -> 475 bytes .../4c6064c061ca5d121e5d5365cf4d7ff1af262eba | Bin 0 -> 64 bytes .../4c986d9fc931eb334716babd00a53d88de251be9 | Bin 0 -> 65 bytes .../4e4a662d57080e967a3eac9fa0dd2298a19fc2cb | 4 + .../4f067d7f87936d37cf36082712796b7d8b3962ba | Bin 0 -> 37 bytes .../4f62b57bb34b05fcea700953e16f4aa1da826e84 | 5 + .../4fed75b97905f43b96bbd04cf49c5e923a77b1f0 | 5 + .../4ff34f1df25a3e0e33fc1d6facc7157d012df1f0 | 8 + .../5115d1789cf8d3062bcfca602685c2fce5d74b21 | 4 + .../511993d3c99719e38a6779073019dacd7178ddb9 | 1 + .../51827b9a06961b2c82d5e60f5175ea86cd28441e | Bin 0 -> 222 bytes .../521b07a91ea54c0e4889a167476e7aa57f11f5b6 | 5 + .../522cdfcd7b5a3b3151f3ec7bbd4dd340775d7723 | Bin 0 -> 128 bytes .../52f0394bf8dfa3b4bbb294921e9a4bc1097f49be | Bin 0 -> 15 bytes .../53b39bb051b50553c82a2e40663772760753178c | Bin 0 -> 20 bytes .../53fb59ae83f5627af994263fc90b087a7c677c2d | Bin 0 -> 26 bytes .../54cf95e7f81ada1522fb3ebb05aef5c84aa7e29a | 4 + .../557b09c20471490d074cbd290a01f35d484ccbf7 | 6 + .../55cdecd67ea14762b6a9203fb9dbd240835060e4 | Bin 0 -> 7 bytes .../55d6dac2f3b61eaf9e3a6372de25aeca6e42a144 | Bin 0 -> 82 bytes .../5608c3f6b57937a801267088bbcba1e8b3aaea06 | Bin 0 -> 36 bytes .../56487907defeaa575f4cb8277c59339164b20e3e | 6 + .../57e56855bb977a86a143d8f1326f3a87a3f14c31 | 4 + .../59d2672009176af5327fd6999229c401a08ad465 | 11 + .../5f8985ac34321bfc2beb61a3f24b97c355c96507 | Bin 0 -> 8 bytes .../5fd40979a12e116292373708b886fa179553a301 | Bin 0 -> 53 bytes .../5fdba3e84a4cd7d15d4b41f93cd2cf41320dd77f | Bin 0 -> 252 bytes .../5fe0db11fdb7b70777ce36573d4d52cfd3afb8dc | Bin 0 -> 30 bytes .../62480b2abdf454663988b7f9844f8fe1ccfdd50e | Bin 0 -> 36 bytes .../65cb356f541d9b6527b87a5a5a427e8f00df1486 | 4 + .../66928e6cbb59c3a3bce606959ef4a865fe04e642 | 2 + .../6756e57fbf451cbe33834e282ad7625734293afe | Bin 0 -> 94 bytes .../6898b5aa4489287a766de4096b7d85a12889c4c4 | Bin 0 -> 49 bytes .../696ec2da91fd3d2d1bea195e73f8e9da9d732228 | 3 + .../69921142650100bb591ce5262af16a370f68d73a | Bin 0 -> 74 bytes .../69fa274ef1d8e1dba9eafde0938129c314f05953 | 8 + .../6ad018374603ed36c745049119725089467e9d1e | Bin 0 -> 952 bytes .../6b41f45a57e755b1f2d1ccc82952752874b512eb | Bin 0 -> 87 bytes .../6faaf4064f876537b646eec71ce3d756d08bb5df | 4 + .../6ff9109eb384b2d679612eacadad1c23b1b41e4f | 45 + .../70db29c308f8e7a885aa6a43858bc773a2fb3880 | 8 + .../7161dc7be9b4a0d1950b032ecb18fea2faf98806 | 3 + .../718b0059b629b63dc87bd3ef892f76f6e1371705 | 2 + .../726bb8bf1e63c4298140ed2a9e04079471c28e2c | Bin 0 -> 510 bytes .../73e17461e84a17bdc9826505f8591b1a1baafbbe | 3 + .../76346b7271b1ed8075f6d56eb2151fd9bb62e809 | Bin 0 -> 39 bytes .../79d2a78eaaa384de179084be3c1f7847fc082128 | Bin 0 -> 462 bytes .../79dc597260d7d7cb6136f1a962c6d144c4f4a0a4 | Bin 0 -> 647 bytes .../7dd67ec03a5e51994832b497ca8c839dc07d2565 | 2 + .../7e75ab677f449f6dff4db46c006b1888dd8369b9 | Bin 0 -> 151 bytes .../7e7c9a3570be4dfb54535ba9b5ca942cadf1d925 | Bin 0 -> 123 bytes .../801170952c66dca4e4bfe704e31c96a46ffb2428 | Bin 0 -> 57 bytes .../80b17e87eb8d40de0c653d0e5ebe58737f83e1c3 | Bin 0 -> 390 bytes .../80b4167156c02d96d28e5091b88fbc02a1f6d0da | 5 + .../81225ab6a8c538f0fe12cb98ba227d1451d366e3 | Bin 0 -> 50 bytes .../813b33224b1db4f881adf215b4af2a6b5c59ad14 | 7 + .../817207760e59ad5c08e828523d88c055310789cc | Bin 0 -> 75 bytes .../819f19118aa7a4e9dc2c3c907043138a5327e22f | Bin 0 -> 63 bytes .../82770f3b88a6fcb02eba6b786bac44445126bcd5 | Bin 0 -> 138 bytes .../83befa8a154c1b33daa1250719a248a5e723cf77 | 1 + .../84320a4fd36d7a5ca2f33db9524df2f0715e4b11 | 3 + .../85e1d3bd71f1f0be02920f9dde6f00b4d3f77d45 | Bin 0 -> 21 bytes .../87954380c672f52daf9fcda22214d63ee508614d | Bin 0 -> 89 bytes .../8797213b41606135ceec71d3e55bb877973d2043 | 14 + .../87a0fb99758ee7f9dcdc2da6bfed779996e38ebe | 1 + .../8933e1827979650f74f652b1dba9c6af0d25b8e8 | Bin 0 -> 245 bytes .../8abdf7347882db89a99aafc5146b795a1aebf7b7 | Bin 0 -> 24 bytes .../8c3d3e4538cd880bf3a9bfabfef0e4d7e7a138c8 | Bin 0 -> 124 bytes .../8cd4d0d3b090b319f9e3b14252e652fad3c1d3dd | Bin 0 -> 156 bytes .../8d104c5a253a5898f661e16f8e4430021e11c37f | Bin 0 -> 55 bytes .../8fd252db4567b4b0a1c05a8ade2e05501f135243 | Bin 0 -> 270 bytes .../8fd841d6476fcbcb3b76a8bec816d69f39e21a0c | Bin 0 -> 27 bytes .../90a1bbb830b224c3d2d90965d0a67f2d901490f2 | 1 + .../9109668bde05271adf9fb6272dbabdcccabcca74 | 3 + .../911ae09380360c7627f4e8925cdffd8d1305f069 | Bin 0 -> 112 bytes .../9183e0989d410ce7bbb1fe067418dd0e644814c1 | 3 + .../92cfa0abe9d4ad95609836130c69c5c320919b53 | Bin 0 -> 6 bytes .../94c7bfdea51208dcdb4c9aaf42b3efcc2331049a | 9 + .../95129db63e0f80a7be7e59b7c0ec731cd4f098e0 | Bin 0 -> 417 bytes .../9706506a0a22041e375f0aba1fb20d4f2ec28489 | Bin 0 -> 627 bytes .../9806bea71228db05390971865600876ccc1736fe | 3 + .../98280f2212c1aa67b26678c18b10171fae4d6019 | 3 + .../99712d298f654f46ce8cd677a5c5f4786e28aedb | 12 + .../99b04f7bfde6be5720e93312e46cab450be1f84c | Bin 0 -> 137 bytes .../9b25c46832d6071a7b3faf6a7e2e66dd1849ce73 | 6 + .../9bd2199ffa00bfcd4d0f13ddd255a83e488c78c7 | 2 + .../9c8f4becd1ec724ca5bdce7e98bc054f3a31a558 | Bin 0 -> 94 bytes .../9cd47f9840b5d2cdaa9e27e119e49c06044dff90 | Bin 0 -> 115 bytes .../9d937c1384ca3d68461a62dd4ac25f95436f841e | Bin 0 -> 92 bytes .../9da0cb25a06e8ce2a060d9ddea8af61c27486c8b | 4 + .../9f7e33a1468eddfacf5cc67d829b3b4e53b18288 | 7 + .../9fa1bad824f2b734f20ef944b169170a8d6fda6d | Bin 0 -> 174 bytes .../a223c583c018ff2921244930924f36d2f1658622 | 3 + .../a51f8c8da3fbebbbf46c86693c45934b6f202f1d | Bin 0 -> 20 bytes .../a6fc4b37c9ffda13cffe809c77032aa4c9353df2 | Bin 0 -> 58 bytes .../a7da43482a2c06ffad5e70156a5dec283b315b3b | 1 + .../a931af5b140aa88c1f44a434970cc208f5a698f4 | 3 + .../a978c94c35b8ac835840e59d6498974ef9e6640e | Bin 0 -> 140 bytes .../a9a1e0755b07ca0d8a524c0896935a0af9ad414f | Bin 0 -> 56 bytes .../ab157cadf257a400d04e0041e134e14f3df30652 | 10 + .../ac459b982cf19b9027d704626c81607d54793141 | Bin 0 -> 114 bytes .../ad5a7c7b0de9e4f3f324291fc74cde922b15c75a | 4 + .../ad86bb59018e8b6dec62a107df38ca2468371ce9 | 3 + .../ae347942fbc8bb68b033c3cfd2cda23bde3a9ca6 | 8 + .../ae52b92d12b11651cec67fa0cb62a59cd2ee606b | Bin 0 -> 80 bytes .../af2ecd19d153c5c4dee0b978399932a8f7695522 | Bin 0 -> 15 bytes .../b0b42eef5bca71c7ade0e45865271a4ea69f3bb9 | Bin 0 -> 161 bytes .../b18cc75fec64b3fed54f2b6d74c00897747b261c | Bin 0 -> 32 bytes .../b217163b85c56172f1b6e385686313cb264a91bb | Bin 0 -> 53 bytes .../b2977bec7d09b42981e7e8a79935ed6fc2a8ee83 | 4 + .../b2a2db3b95b2d73f934818858f30da0a60edb052 | Bin 0 -> 64 bytes .../b32ee4fed2053466445b135772179c3b544c6368 | 2 + .../b3b15cfb6520b4f67f38ab83d48d261f3ca245ae | Bin 0 -> 72 bytes .../b44fdb8ae252ffad6e6826e2cac99328354299ea | 4 + .../b45213571eefcf3f48038d8ab5a611d500e432e4 | 5 + .../b5d4dcf886b3275e683179ef4a4231950c508e93 | 18 + .../b6d780ec6261370a1e68cce202191e363b6e990c | Bin 0 -> 37 bytes .../b73b2e1a88b7858d207ceb97a37af7a40c1f570f | Bin 0 -> 176 bytes .../b858cb282617fb0956d960215c8e84d1ccf909c6 | 1 + .../b928479f761ddf1bb4cb0717605e9e73280c93aa | 3 + .../ba8ab5a0280b953aa97435ff8946cbcbb2755a27 | 1 + .../baa709012ad6e77680b574a8c0f98c1291606405 | 2 + .../bb9e4433a4b95a2f716b500e6d99b5525c300a15 | 5 + .../bb9f96925d9ae87ce2e28f00316088af599c6765 | 2 + .../bcaf3276ef3efc496971efc0c66683474ac1c0c5 | 4 + .../bcc810be88c83910a7b8987683cbc5354e5baf5a | 10 + .../bd48473dddd1d59dffa2dd98b5ca865fcd68d713 | 6 + .../bd8a2d09ab40303b61d9c437417423db8c8fd289 | 4 + .../be447ec35e2aa00159f08ccd952e9fb66ae248f0 | 4 + fuzz/seeds/http_head/blocked_path | 4 + .../c03de684fe8fb7dd939d0497567af8dfd056253f | 3 + .../c076363020c4503651fbc172bb242aeeb451806c | 4 + .../c2f88120bde690ed0b782c0cb503759723118c32 | 6 + .../c3909a0a3199211e612af801b5ad8b7d4e0a9267 | Bin 0 -> 70 bytes .../c647df6d300a1adde25ab01bb7b06bd1aa8a37ce | 3 + .../c66be7210915f39e91456fc2eac9441012a0a3ea | 1 + .../c6864d82445e308d6130322c7d09690a109043b9 | Bin 0 -> 23 bytes .../c7004b0e3ccf1c15b47fb76da5133d37117713b4 | Bin 0 -> 163 bytes .../c73d58b1a716e0304878e31ebe91d2cb77711d8f | 1 + .../cc1934558564a2389da2b95014aa26b0c4d77349 | 15 + .../cc1e22267ce66f395f1b92965327772607589cbf | 3 + .../cd3d661bd223bb3e61061f1452e7cc2c8de5c8be | 5 + .../ce245f50eb449c2372219e52a8878970b0257dd8 | 3 + .../cfb381718552fa0c20c905e1e6ae2d7411b993d0 | 1 + .../d09a5451b92b09463cdc245286e717d153c9d41d | 3 + .../d113b04bc5351592f6f4ec3b8724726feaf45468 | Bin 0 -> 55 bytes .../d177c079444c4ae28b48377dfe2fac44e786c5f3 | Bin 0 -> 160 bytes .../d1dcbf40db108072f2cfdf69769f45ec572a5532 | 38 + .../d3851a03808b16cda7b8e6c71699764c02c3573d | Bin 0 -> 267 bytes .../d391e090bf94006c8c1ef6dd3b42afc1725a3bf8 | Bin 0 -> 164 bytes .../d44c63159158cf4f84080cd84f9daedecdf290b6 | 3 + .../d5c9652dc809462eb612d100cfba368b16ae81f7 | 2 + .../d6883ecea67778d57e64d8fa287fa74b2e0946d0 | 3 + .../d69715370bccea0917bc6deec93a83f19a20fda2 | 29 + .../d6c23bbed27fca5be515afa886ff387e78aa9484 | 5 + .../d75d987e287fa116276bf8445bf8d53515ad5cbc | 1 + .../d77846c175c714b96e0b014baecaa4849b121b4a | Bin 0 -> 80 bytes .../d7d821c55012cb90aa11db5fcb630f523c4a1a93 | Bin 0 -> 256 bytes .../d85bbf935be220368812af8079828b448a2525ac | 4 + .../da14213485e309d93e3211e241ee8b6673750829 | Bin 0 -> 343 bytes .../dc10ab1cafb1bb450eae4602bfbb791020d53a93 | Bin 0 -> 44 bytes .../dc6f1d3f0c3df6ae1d244f517ec358a0944a6f6e | 5 + .../dceb5993f892533ea79c10db41aa6ddf2ed77883 | 3 + .../de5aa68cbfab3b7afe7ec80f59f3f06ad876f528 | Bin 0 -> 267 bytes .../dfa6faa0e553d006751dcf2043aa7452efc2fac7 | 3 + .../e1636a434652c9e2509fa8afb267dea59f01afe8 | Bin 0 -> 30 bytes .../e1bab1153adb28abf9cc6451ea14c7946eabebd8 | Bin 0 -> 12 bytes .../e2065c53a36b49dad9095559622028b5a14021c1 | 7 + .../e380c2203b623a024c900c3a27cc1d9626d496c0 | Bin 0 -> 234 bytes .../e466ac3583b193b755c14e0133820d4bb24c9eb8 | 7 + .../e72342fef9ef47d97abce407ece12f54dadd6d13 | 3 + .../e841dd00109099b5f51bf6a1b94105d4a6593c5c | Bin 0 -> 113 bytes .../e85a92441272bc0095d899fd9401d3d208cba59b | Bin 0 -> 134 bytes .../e9d7a58ef760ffa6bb712ac8989e390d2846fca0 | 4 + .../eac6c403e1d2970d08a091da606e7742c52b3644 | Bin 0 -> 47 bytes .../ebb3add8ea48bf35245bbe5f37303d6eecf0c4d0 | 12 + .../ed24beb60ed48ea38b972b2b5f1e2bb1727c7fe4 | 6 + .../ed37634d83164502848a3cee8ec318fa7c0c8403 | Bin 0 -> 216 bytes .../edf1313c9596588f3815fe49517840405d554989 | Bin 0 -> 28 bytes .../ee9a1761abcbffd7dcda4fcada47e9be29310602 | 1 + .../f1b1ba2e2d0ac0cd52aa0fda1371adfc14b2c913 | Bin 0 -> 24 bytes .../f1dc010a34428ffd27cc7bdd1b4272f31a5a8e41 | 2 + .../f3011fe8dae172a386efc68f9ee8fa7c69a17261 | 12 + .../f581433164c00d78078d33f61cb37ea2676c1dc6 | 4 + .../f5e57c050fd66b3b95a169cea0f5b9c7d0c2fd71 | Bin 0 -> 132 bytes .../f98e6ab51533fd2b537bb283f95f314994688cee | Bin 0 -> 129 bytes .../fbcd4da1b730a5339c56d50ae175453527cd6533 | Bin 0 -> 33 bytes .../fc0736b74d522898e3624cc77c0d52f79852f833 | Bin 0 -> 18 bytes .../fd50a42099453eecf3b30d95af91eb084b9d647c | 1 + .../fdcb9a6d2d0f600231dae50238ae38baa2528f85 | Bin 0 -> 65 bytes .../fe44b21ebc5fc9d37a712b330a3623ba167a07ba | Bin 0 -> 38 bytes .../ff0632d438cd2cc99c3990c6d324b2c438eb3b43 | Bin 0 -> 83 bytes .../ff65622375eb645dd5764960149cb0831663a65f | Bin 0 -> 433 bytes fuzz/seeds/http_head/valid_get | 5 + src/engine/tunnel.rs | 2 +- src/engine/tunnel/proxy.rs | 3 +- src/engine/tunnel/proxy/inbound.rs | 70 +- tests/proxy_v2_parser.rs | 124 + 289 files changed, 4837 insertions(+), 31 deletions(-) create mode 100644 fuzz/Cargo.lock create mode 100644 fuzz/Cargo.toml create mode 100644 fuzz/fuzz_targets/http_head.rs create mode 100644 fuzz/fuzz_targets/proxy_v2.rs create mode 100644 fuzz/seeds/http_head/004a029e95e5ccaef5bf670728ce8f477e008e9e create mode 100644 fuzz/seeds/http_head/004a6bcdf2958c0390af7902783c581be362e67e create mode 100644 fuzz/seeds/http_head/004bf552d8ee26054e8ce76cd4d4f27116beda52 create mode 100644 fuzz/seeds/http_head/016cf8425821eb4b40f03675f616e4ce0cd50b84 create mode 100644 fuzz/seeds/http_head/03c89b2a2c8f07b23f53fd186aaa35de081075e0 create mode 100644 fuzz/seeds/http_head/05c16380242068486f23cd62c069fa78f14f2b05 create mode 100644 fuzz/seeds/http_head/05ced3d7b7fe052b34d20b51fb0ca56bccf2c269 create mode 100644 fuzz/seeds/http_head/06d0f53b8536fe6c0f1417ea179b03654d0b78f5 create mode 100644 fuzz/seeds/http_head/070fffd0cffa82d2bf95071f6958159ffe5b8429 create mode 100644 fuzz/seeds/http_head/07adbebb39a2712e4725af65808b35c2da8bcd49 create mode 100644 fuzz/seeds/http_head/07febf95f098dc6141af10d327043ab8503d406f create mode 100644 fuzz/seeds/http_head/0813329fdbad1eef7027b023bf420d56069195e5 create mode 100644 fuzz/seeds/http_head/0a988c3fcc107d6bba2847999466a0626fb4995b create mode 100644 fuzz/seeds/http_head/0be603006d17042396349fa77c5db9bcb870b3cb create mode 100644 fuzz/seeds/http_head/0d163c6bd87e925df0961760b82c7e116d2c2951 create mode 100644 fuzz/seeds/http_head/0d9fd31038095730447245e449f78f4159a99a41 create mode 100644 fuzz/seeds/http_head/0e775bd88f55053633e4cbe67c72a44021598aca create mode 100644 fuzz/seeds/http_head/0f4adec941f135b45ac9d8b050103c0391490364 create mode 100644 fuzz/seeds/http_head/10d78232f5cfd98c0b6265f6cf9067e55d461b96 create mode 100644 fuzz/seeds/http_head/11774a22a9b13efb759279c5e7333e377c7926e4 create mode 100644 fuzz/seeds/http_head/13059775a2a147c86911b06bd37629b417de1a06 create mode 100644 fuzz/seeds/http_head/1393ebd486f15e8354dbb8b57e43e5cea030d644 create mode 100644 fuzz/seeds/http_head/13b6f6ae57a8414fc1a2f3c1f745788efb24960a create mode 100644 fuzz/seeds/http_head/159243420d085e6236340e05b9797d1eaa1b7452 create mode 100644 fuzz/seeds/http_head/15bacf81742ca8f3b24df0351b6b1de3b3b99f40 create mode 100644 fuzz/seeds/http_head/15c1b12a5c79bd4a7e9de89250017c15420443de create mode 100644 fuzz/seeds/http_head/18670ed9fdb348872508c508adf1c95c1ba65c3c create mode 100644 fuzz/seeds/http_head/19cc322317ee76ea7c6a35780ed5053278df7845 create mode 100644 fuzz/seeds/http_head/19e99fe1f5b97d160b738ab3d280ae434d905eb2 create mode 100644 fuzz/seeds/http_head/1af7a72ded690ab20217f39825b0453aa36e7b23 create mode 100644 fuzz/seeds/http_head/1b0bce667a8cd67688577c47225bea54a12b8eff create mode 100644 fuzz/seeds/http_head/1ba93cc69f96adf19a4dd47a8408b397a9a52bd4 create mode 100644 fuzz/seeds/http_head/1c978b3e59a5ba9f0b23a8e8adca6e98b78d317e create mode 100644 fuzz/seeds/http_head/1d1a5269e1bca94f01c9b26c4f1166adb63919c8 create mode 100644 fuzz/seeds/http_head/1df47e4a7f4aa13008ae4666feb4ebe2c9d2731c create mode 100644 fuzz/seeds/http_head/1ee04b7e71697adcde478ed3fa338225ff8a9b37 create mode 100644 fuzz/seeds/http_head/205158ab0a16917506e0955e6ed59abcbfc49c43 create mode 100644 fuzz/seeds/http_head/2109147624f2f5d92492d1cbd14c72479d0b7671 create mode 100644 fuzz/seeds/http_head/211524d451689e2d9ec52708201e9769420ed589 create mode 100644 fuzz/seeds/http_head/2551651ad6d853621fd7ed6e1e3caa97ef8ef0bc create mode 100644 fuzz/seeds/http_head/2622814d4fdba371a72cb50aa7cbf568bc902c45 create mode 100644 fuzz/seeds/http_head/27b5a584b14fa2bd368b7260d959acfe93007c16 create mode 100644 fuzz/seeds/http_head/293b9c9330314b6a068ce2ade92cdca0e127c8de create mode 100644 fuzz/seeds/http_head/2a2ff4e6d42691eb975cb9abd9c8165a5b7994d1 create mode 100644 fuzz/seeds/http_head/2c2e034728016b27d8c565d5c423db32f45f9d43 create mode 100644 fuzz/seeds/http_head/2c5dc6b483d7491b97d8176726e685337f20e811 create mode 100644 fuzz/seeds/http_head/2d9bf749a131224c7339da047ad0ab7275733e5e create mode 100644 fuzz/seeds/http_head/2e09d366e01c4e14f5fd5b918121c4c1fe347d8d create mode 100644 fuzz/seeds/http_head/2f756e643e1df91458845c69a1aeddfa97361922 create mode 100644 fuzz/seeds/http_head/2f8dcf39d1cb33c9e979138fde6cde7a3c80636e create mode 100644 fuzz/seeds/http_head/30a71895622818ed4605fabf1b68eba0e069b77d create mode 100644 fuzz/seeds/http_head/3164106b661733d366e0fc16270af2c27b89deb5 create mode 100644 fuzz/seeds/http_head/3316045209f73d80f4ef8fa03ac2c9e2e71c95a3 create mode 100644 fuzz/seeds/http_head/35d8df1a12dc16e7b9177d3575778b3427b815d0 create mode 100644 fuzz/seeds/http_head/363245c1a9c144d7808a9832c7f01ff721009a03 create mode 100644 fuzz/seeds/http_head/36d61bf68a36df657c7825700a3526fabc64d3b7 create mode 100644 fuzz/seeds/http_head/37ceac039b42efaf82191a2a70cc9fa968c59a94 create mode 100644 fuzz/seeds/http_head/382d76ce2858fc2d0df4eb08fd9051121ba3bd41 create mode 100644 fuzz/seeds/http_head/39ad9dbaca070ab3b6e8fc5debf11d660435edeb create mode 100644 fuzz/seeds/http_head/3a33bc52067612829438f03f510452a3542d1713 create mode 100644 fuzz/seeds/http_head/3aa0ad1d16d70b918c58b54baa04a2fbdac773e3 create mode 100644 fuzz/seeds/http_head/3b7cb101d8d2604fab6c9109dbd90e582daf4e04 create mode 100644 fuzz/seeds/http_head/3c4cdc59ce12b7b2cf6fa20cfb0e9c6a39ba27e8 create mode 100644 fuzz/seeds/http_head/3c70116e8acfdfac908b1d86c802d740e8ed45b0 create mode 100644 fuzz/seeds/http_head/3db52c44b01793976f2e2fcda49d68d288b41977 create mode 100644 fuzz/seeds/http_head/3e2588696ba39896ae1055eaaf453aedfc4dd949 create mode 100644 fuzz/seeds/http_head/3e54549cf30509cfc0cf2a737ecda40b955d8b44 create mode 100644 fuzz/seeds/http_head/3e9624dffed13a159125f75780f194c18e413cf5 create mode 100644 fuzz/seeds/http_head/3eeb74f792a062d5638a7457019e1ec16d8f056d create mode 100644 fuzz/seeds/http_head/402eea768878cac42c6deca60cb67311f15484a3 create mode 100644 fuzz/seeds/http_head/409893f8b4ebd5000ef4a87e8a900182c6f59660 create mode 100644 fuzz/seeds/http_head/449d5fdd588850488ab3ff6161e0cdc3443a345a create mode 100644 fuzz/seeds/http_head/452406de53c27486361274ee8162aa360d0aaa43 create mode 100644 fuzz/seeds/http_head/460c9003a19be6cca79144c662a437080d43f876 create mode 100644 fuzz/seeds/http_head/4658b4fb88981d0da73eacef3c15163d4dbec3d9 create mode 100644 fuzz/seeds/http_head/46dfb13866bced98ec3e1d74eb1e577973edc497 create mode 100644 fuzz/seeds/http_head/47094baa350ae1d891b1453d3e8118a3f8bead49 create mode 100644 fuzz/seeds/http_head/48483d3bcd36cbd10a80a33c29aad968f22c8b52 create mode 100644 fuzz/seeds/http_head/49f9958d3ae769912dadc59c9b4a828933e2b98b create mode 100644 fuzz/seeds/http_head/4a45dabd41f15d8d8713da5c5e54ce1a7cb89ab0 create mode 100644 fuzz/seeds/http_head/4b0287d0e68cfc7c32125d44a2d788efa7199100 create mode 100644 fuzz/seeds/http_head/4b04bfb652aaaf5e70ea42a9a939866e332354fe create mode 100644 fuzz/seeds/http_head/4c03d29018aa1ebd45c7e1067fde45b58d420b28 create mode 100644 fuzz/seeds/http_head/4c172c0e8ff87e8205fa23b7dea44b19148e1eac create mode 100644 fuzz/seeds/http_head/4c6064c061ca5d121e5d5365cf4d7ff1af262eba create mode 100644 fuzz/seeds/http_head/4c986d9fc931eb334716babd00a53d88de251be9 create mode 100644 fuzz/seeds/http_head/4e4a662d57080e967a3eac9fa0dd2298a19fc2cb create mode 100644 fuzz/seeds/http_head/4f067d7f87936d37cf36082712796b7d8b3962ba create mode 100644 fuzz/seeds/http_head/4f62b57bb34b05fcea700953e16f4aa1da826e84 create mode 100644 fuzz/seeds/http_head/4fed75b97905f43b96bbd04cf49c5e923a77b1f0 create mode 100644 fuzz/seeds/http_head/4ff34f1df25a3e0e33fc1d6facc7157d012df1f0 create mode 100644 fuzz/seeds/http_head/5115d1789cf8d3062bcfca602685c2fce5d74b21 create mode 100644 fuzz/seeds/http_head/511993d3c99719e38a6779073019dacd7178ddb9 create mode 100644 fuzz/seeds/http_head/51827b9a06961b2c82d5e60f5175ea86cd28441e create mode 100644 fuzz/seeds/http_head/521b07a91ea54c0e4889a167476e7aa57f11f5b6 create mode 100644 fuzz/seeds/http_head/522cdfcd7b5a3b3151f3ec7bbd4dd340775d7723 create mode 100644 fuzz/seeds/http_head/52f0394bf8dfa3b4bbb294921e9a4bc1097f49be create mode 100644 fuzz/seeds/http_head/53b39bb051b50553c82a2e40663772760753178c create mode 100644 fuzz/seeds/http_head/53fb59ae83f5627af994263fc90b087a7c677c2d create mode 100644 fuzz/seeds/http_head/54cf95e7f81ada1522fb3ebb05aef5c84aa7e29a create mode 100644 fuzz/seeds/http_head/557b09c20471490d074cbd290a01f35d484ccbf7 create mode 100644 fuzz/seeds/http_head/55cdecd67ea14762b6a9203fb9dbd240835060e4 create mode 100644 fuzz/seeds/http_head/55d6dac2f3b61eaf9e3a6372de25aeca6e42a144 create mode 100644 fuzz/seeds/http_head/5608c3f6b57937a801267088bbcba1e8b3aaea06 create mode 100644 fuzz/seeds/http_head/56487907defeaa575f4cb8277c59339164b20e3e create mode 100644 fuzz/seeds/http_head/57e56855bb977a86a143d8f1326f3a87a3f14c31 create mode 100644 fuzz/seeds/http_head/59d2672009176af5327fd6999229c401a08ad465 create mode 100644 fuzz/seeds/http_head/5f8985ac34321bfc2beb61a3f24b97c355c96507 create mode 100644 fuzz/seeds/http_head/5fd40979a12e116292373708b886fa179553a301 create mode 100644 fuzz/seeds/http_head/5fdba3e84a4cd7d15d4b41f93cd2cf41320dd77f create mode 100644 fuzz/seeds/http_head/5fe0db11fdb7b70777ce36573d4d52cfd3afb8dc create mode 100644 fuzz/seeds/http_head/62480b2abdf454663988b7f9844f8fe1ccfdd50e create mode 100644 fuzz/seeds/http_head/65cb356f541d9b6527b87a5a5a427e8f00df1486 create mode 100644 fuzz/seeds/http_head/66928e6cbb59c3a3bce606959ef4a865fe04e642 create mode 100644 fuzz/seeds/http_head/6756e57fbf451cbe33834e282ad7625734293afe create mode 100644 fuzz/seeds/http_head/6898b5aa4489287a766de4096b7d85a12889c4c4 create mode 100644 fuzz/seeds/http_head/696ec2da91fd3d2d1bea195e73f8e9da9d732228 create mode 100644 fuzz/seeds/http_head/69921142650100bb591ce5262af16a370f68d73a create mode 100644 fuzz/seeds/http_head/69fa274ef1d8e1dba9eafde0938129c314f05953 create mode 100644 fuzz/seeds/http_head/6ad018374603ed36c745049119725089467e9d1e create mode 100644 fuzz/seeds/http_head/6b41f45a57e755b1f2d1ccc82952752874b512eb create mode 100644 fuzz/seeds/http_head/6faaf4064f876537b646eec71ce3d756d08bb5df create mode 100644 fuzz/seeds/http_head/6ff9109eb384b2d679612eacadad1c23b1b41e4f create mode 100644 fuzz/seeds/http_head/70db29c308f8e7a885aa6a43858bc773a2fb3880 create mode 100644 fuzz/seeds/http_head/7161dc7be9b4a0d1950b032ecb18fea2faf98806 create mode 100644 fuzz/seeds/http_head/718b0059b629b63dc87bd3ef892f76f6e1371705 create mode 100644 fuzz/seeds/http_head/726bb8bf1e63c4298140ed2a9e04079471c28e2c create mode 100644 fuzz/seeds/http_head/73e17461e84a17bdc9826505f8591b1a1baafbbe create mode 100644 fuzz/seeds/http_head/76346b7271b1ed8075f6d56eb2151fd9bb62e809 create mode 100644 fuzz/seeds/http_head/79d2a78eaaa384de179084be3c1f7847fc082128 create mode 100644 fuzz/seeds/http_head/79dc597260d7d7cb6136f1a962c6d144c4f4a0a4 create mode 100644 fuzz/seeds/http_head/7dd67ec03a5e51994832b497ca8c839dc07d2565 create mode 100644 fuzz/seeds/http_head/7e75ab677f449f6dff4db46c006b1888dd8369b9 create mode 100644 fuzz/seeds/http_head/7e7c9a3570be4dfb54535ba9b5ca942cadf1d925 create mode 100644 fuzz/seeds/http_head/801170952c66dca4e4bfe704e31c96a46ffb2428 create mode 100644 fuzz/seeds/http_head/80b17e87eb8d40de0c653d0e5ebe58737f83e1c3 create mode 100644 fuzz/seeds/http_head/80b4167156c02d96d28e5091b88fbc02a1f6d0da create mode 100644 fuzz/seeds/http_head/81225ab6a8c538f0fe12cb98ba227d1451d366e3 create mode 100644 fuzz/seeds/http_head/813b33224b1db4f881adf215b4af2a6b5c59ad14 create mode 100644 fuzz/seeds/http_head/817207760e59ad5c08e828523d88c055310789cc create mode 100644 fuzz/seeds/http_head/819f19118aa7a4e9dc2c3c907043138a5327e22f create mode 100644 fuzz/seeds/http_head/82770f3b88a6fcb02eba6b786bac44445126bcd5 create mode 100644 fuzz/seeds/http_head/83befa8a154c1b33daa1250719a248a5e723cf77 create mode 100644 fuzz/seeds/http_head/84320a4fd36d7a5ca2f33db9524df2f0715e4b11 create mode 100644 fuzz/seeds/http_head/85e1d3bd71f1f0be02920f9dde6f00b4d3f77d45 create mode 100644 fuzz/seeds/http_head/87954380c672f52daf9fcda22214d63ee508614d create mode 100644 fuzz/seeds/http_head/8797213b41606135ceec71d3e55bb877973d2043 create mode 100644 fuzz/seeds/http_head/87a0fb99758ee7f9dcdc2da6bfed779996e38ebe create mode 100644 fuzz/seeds/http_head/8933e1827979650f74f652b1dba9c6af0d25b8e8 create mode 100644 fuzz/seeds/http_head/8abdf7347882db89a99aafc5146b795a1aebf7b7 create mode 100644 fuzz/seeds/http_head/8c3d3e4538cd880bf3a9bfabfef0e4d7e7a138c8 create mode 100644 fuzz/seeds/http_head/8cd4d0d3b090b319f9e3b14252e652fad3c1d3dd create mode 100644 fuzz/seeds/http_head/8d104c5a253a5898f661e16f8e4430021e11c37f create mode 100644 fuzz/seeds/http_head/8fd252db4567b4b0a1c05a8ade2e05501f135243 create mode 100644 fuzz/seeds/http_head/8fd841d6476fcbcb3b76a8bec816d69f39e21a0c create mode 100644 fuzz/seeds/http_head/90a1bbb830b224c3d2d90965d0a67f2d901490f2 create mode 100644 fuzz/seeds/http_head/9109668bde05271adf9fb6272dbabdcccabcca74 create mode 100644 fuzz/seeds/http_head/911ae09380360c7627f4e8925cdffd8d1305f069 create mode 100644 fuzz/seeds/http_head/9183e0989d410ce7bbb1fe067418dd0e644814c1 create mode 100644 fuzz/seeds/http_head/92cfa0abe9d4ad95609836130c69c5c320919b53 create mode 100644 fuzz/seeds/http_head/94c7bfdea51208dcdb4c9aaf42b3efcc2331049a create mode 100644 fuzz/seeds/http_head/95129db63e0f80a7be7e59b7c0ec731cd4f098e0 create mode 100644 fuzz/seeds/http_head/9706506a0a22041e375f0aba1fb20d4f2ec28489 create mode 100644 fuzz/seeds/http_head/9806bea71228db05390971865600876ccc1736fe create mode 100644 fuzz/seeds/http_head/98280f2212c1aa67b26678c18b10171fae4d6019 create mode 100644 fuzz/seeds/http_head/99712d298f654f46ce8cd677a5c5f4786e28aedb create mode 100644 fuzz/seeds/http_head/99b04f7bfde6be5720e93312e46cab450be1f84c create mode 100644 fuzz/seeds/http_head/9b25c46832d6071a7b3faf6a7e2e66dd1849ce73 create mode 100644 fuzz/seeds/http_head/9bd2199ffa00bfcd4d0f13ddd255a83e488c78c7 create mode 100644 fuzz/seeds/http_head/9c8f4becd1ec724ca5bdce7e98bc054f3a31a558 create mode 100644 fuzz/seeds/http_head/9cd47f9840b5d2cdaa9e27e119e49c06044dff90 create mode 100644 fuzz/seeds/http_head/9d937c1384ca3d68461a62dd4ac25f95436f841e create mode 100644 fuzz/seeds/http_head/9da0cb25a06e8ce2a060d9ddea8af61c27486c8b create mode 100644 fuzz/seeds/http_head/9f7e33a1468eddfacf5cc67d829b3b4e53b18288 create mode 100644 fuzz/seeds/http_head/9fa1bad824f2b734f20ef944b169170a8d6fda6d create mode 100644 fuzz/seeds/http_head/a223c583c018ff2921244930924f36d2f1658622 create mode 100644 fuzz/seeds/http_head/a51f8c8da3fbebbbf46c86693c45934b6f202f1d create mode 100644 fuzz/seeds/http_head/a6fc4b37c9ffda13cffe809c77032aa4c9353df2 create mode 100644 fuzz/seeds/http_head/a7da43482a2c06ffad5e70156a5dec283b315b3b create mode 100644 fuzz/seeds/http_head/a931af5b140aa88c1f44a434970cc208f5a698f4 create mode 100644 fuzz/seeds/http_head/a978c94c35b8ac835840e59d6498974ef9e6640e create mode 100644 fuzz/seeds/http_head/a9a1e0755b07ca0d8a524c0896935a0af9ad414f create mode 100644 fuzz/seeds/http_head/ab157cadf257a400d04e0041e134e14f3df30652 create mode 100644 fuzz/seeds/http_head/ac459b982cf19b9027d704626c81607d54793141 create mode 100644 fuzz/seeds/http_head/ad5a7c7b0de9e4f3f324291fc74cde922b15c75a create mode 100644 fuzz/seeds/http_head/ad86bb59018e8b6dec62a107df38ca2468371ce9 create mode 100644 fuzz/seeds/http_head/ae347942fbc8bb68b033c3cfd2cda23bde3a9ca6 create mode 100644 fuzz/seeds/http_head/ae52b92d12b11651cec67fa0cb62a59cd2ee606b create mode 100644 fuzz/seeds/http_head/af2ecd19d153c5c4dee0b978399932a8f7695522 create mode 100644 fuzz/seeds/http_head/b0b42eef5bca71c7ade0e45865271a4ea69f3bb9 create mode 100644 fuzz/seeds/http_head/b18cc75fec64b3fed54f2b6d74c00897747b261c create mode 100644 fuzz/seeds/http_head/b217163b85c56172f1b6e385686313cb264a91bb create mode 100644 fuzz/seeds/http_head/b2977bec7d09b42981e7e8a79935ed6fc2a8ee83 create mode 100644 fuzz/seeds/http_head/b2a2db3b95b2d73f934818858f30da0a60edb052 create mode 100644 fuzz/seeds/http_head/b32ee4fed2053466445b135772179c3b544c6368 create mode 100644 fuzz/seeds/http_head/b3b15cfb6520b4f67f38ab83d48d261f3ca245ae create mode 100644 fuzz/seeds/http_head/b44fdb8ae252ffad6e6826e2cac99328354299ea create mode 100644 fuzz/seeds/http_head/b45213571eefcf3f48038d8ab5a611d500e432e4 create mode 100644 fuzz/seeds/http_head/b5d4dcf886b3275e683179ef4a4231950c508e93 create mode 100644 fuzz/seeds/http_head/b6d780ec6261370a1e68cce202191e363b6e990c create mode 100644 fuzz/seeds/http_head/b73b2e1a88b7858d207ceb97a37af7a40c1f570f create mode 100644 fuzz/seeds/http_head/b858cb282617fb0956d960215c8e84d1ccf909c6 create mode 100644 fuzz/seeds/http_head/b928479f761ddf1bb4cb0717605e9e73280c93aa create mode 100644 fuzz/seeds/http_head/ba8ab5a0280b953aa97435ff8946cbcbb2755a27 create mode 100644 fuzz/seeds/http_head/baa709012ad6e77680b574a8c0f98c1291606405 create mode 100644 fuzz/seeds/http_head/bb9e4433a4b95a2f716b500e6d99b5525c300a15 create mode 100644 fuzz/seeds/http_head/bb9f96925d9ae87ce2e28f00316088af599c6765 create mode 100644 fuzz/seeds/http_head/bcaf3276ef3efc496971efc0c66683474ac1c0c5 create mode 100644 fuzz/seeds/http_head/bcc810be88c83910a7b8987683cbc5354e5baf5a create mode 100644 fuzz/seeds/http_head/bd48473dddd1d59dffa2dd98b5ca865fcd68d713 create mode 100644 fuzz/seeds/http_head/bd8a2d09ab40303b61d9c437417423db8c8fd289 create mode 100644 fuzz/seeds/http_head/be447ec35e2aa00159f08ccd952e9fb66ae248f0 create mode 100644 fuzz/seeds/http_head/blocked_path create mode 100644 fuzz/seeds/http_head/c03de684fe8fb7dd939d0497567af8dfd056253f create mode 100644 fuzz/seeds/http_head/c076363020c4503651fbc172bb242aeeb451806c create mode 100644 fuzz/seeds/http_head/c2f88120bde690ed0b782c0cb503759723118c32 create mode 100644 fuzz/seeds/http_head/c3909a0a3199211e612af801b5ad8b7d4e0a9267 create mode 100644 fuzz/seeds/http_head/c647df6d300a1adde25ab01bb7b06bd1aa8a37ce create mode 100644 fuzz/seeds/http_head/c66be7210915f39e91456fc2eac9441012a0a3ea create mode 100644 fuzz/seeds/http_head/c6864d82445e308d6130322c7d09690a109043b9 create mode 100644 fuzz/seeds/http_head/c7004b0e3ccf1c15b47fb76da5133d37117713b4 create mode 100644 fuzz/seeds/http_head/c73d58b1a716e0304878e31ebe91d2cb77711d8f create mode 100644 fuzz/seeds/http_head/cc1934558564a2389da2b95014aa26b0c4d77349 create mode 100644 fuzz/seeds/http_head/cc1e22267ce66f395f1b92965327772607589cbf create mode 100644 fuzz/seeds/http_head/cd3d661bd223bb3e61061f1452e7cc2c8de5c8be create mode 100644 fuzz/seeds/http_head/ce245f50eb449c2372219e52a8878970b0257dd8 create mode 100644 fuzz/seeds/http_head/cfb381718552fa0c20c905e1e6ae2d7411b993d0 create mode 100644 fuzz/seeds/http_head/d09a5451b92b09463cdc245286e717d153c9d41d create mode 100644 fuzz/seeds/http_head/d113b04bc5351592f6f4ec3b8724726feaf45468 create mode 100644 fuzz/seeds/http_head/d177c079444c4ae28b48377dfe2fac44e786c5f3 create mode 100644 fuzz/seeds/http_head/d1dcbf40db108072f2cfdf69769f45ec572a5532 create mode 100644 fuzz/seeds/http_head/d3851a03808b16cda7b8e6c71699764c02c3573d create mode 100644 fuzz/seeds/http_head/d391e090bf94006c8c1ef6dd3b42afc1725a3bf8 create mode 100644 fuzz/seeds/http_head/d44c63159158cf4f84080cd84f9daedecdf290b6 create mode 100644 fuzz/seeds/http_head/d5c9652dc809462eb612d100cfba368b16ae81f7 create mode 100644 fuzz/seeds/http_head/d6883ecea67778d57e64d8fa287fa74b2e0946d0 create mode 100644 fuzz/seeds/http_head/d69715370bccea0917bc6deec93a83f19a20fda2 create mode 100644 fuzz/seeds/http_head/d6c23bbed27fca5be515afa886ff387e78aa9484 create mode 100644 fuzz/seeds/http_head/d75d987e287fa116276bf8445bf8d53515ad5cbc create mode 100644 fuzz/seeds/http_head/d77846c175c714b96e0b014baecaa4849b121b4a create mode 100644 fuzz/seeds/http_head/d7d821c55012cb90aa11db5fcb630f523c4a1a93 create mode 100644 fuzz/seeds/http_head/d85bbf935be220368812af8079828b448a2525ac create mode 100644 fuzz/seeds/http_head/da14213485e309d93e3211e241ee8b6673750829 create mode 100644 fuzz/seeds/http_head/dc10ab1cafb1bb450eae4602bfbb791020d53a93 create mode 100644 fuzz/seeds/http_head/dc6f1d3f0c3df6ae1d244f517ec358a0944a6f6e create mode 100644 fuzz/seeds/http_head/dceb5993f892533ea79c10db41aa6ddf2ed77883 create mode 100644 fuzz/seeds/http_head/de5aa68cbfab3b7afe7ec80f59f3f06ad876f528 create mode 100644 fuzz/seeds/http_head/dfa6faa0e553d006751dcf2043aa7452efc2fac7 create mode 100644 fuzz/seeds/http_head/e1636a434652c9e2509fa8afb267dea59f01afe8 create mode 100644 fuzz/seeds/http_head/e1bab1153adb28abf9cc6451ea14c7946eabebd8 create mode 100644 fuzz/seeds/http_head/e2065c53a36b49dad9095559622028b5a14021c1 create mode 100644 fuzz/seeds/http_head/e380c2203b623a024c900c3a27cc1d9626d496c0 create mode 100644 fuzz/seeds/http_head/e466ac3583b193b755c14e0133820d4bb24c9eb8 create mode 100644 fuzz/seeds/http_head/e72342fef9ef47d97abce407ece12f54dadd6d13 create mode 100644 fuzz/seeds/http_head/e841dd00109099b5f51bf6a1b94105d4a6593c5c create mode 100644 fuzz/seeds/http_head/e85a92441272bc0095d899fd9401d3d208cba59b create mode 100644 fuzz/seeds/http_head/e9d7a58ef760ffa6bb712ac8989e390d2846fca0 create mode 100644 fuzz/seeds/http_head/eac6c403e1d2970d08a091da606e7742c52b3644 create mode 100644 fuzz/seeds/http_head/ebb3add8ea48bf35245bbe5f37303d6eecf0c4d0 create mode 100644 fuzz/seeds/http_head/ed24beb60ed48ea38b972b2b5f1e2bb1727c7fe4 create mode 100644 fuzz/seeds/http_head/ed37634d83164502848a3cee8ec318fa7c0c8403 create mode 100644 fuzz/seeds/http_head/edf1313c9596588f3815fe49517840405d554989 create mode 100644 fuzz/seeds/http_head/ee9a1761abcbffd7dcda4fcada47e9be29310602 create mode 100644 fuzz/seeds/http_head/f1b1ba2e2d0ac0cd52aa0fda1371adfc14b2c913 create mode 100644 fuzz/seeds/http_head/f1dc010a34428ffd27cc7bdd1b4272f31a5a8e41 create mode 100644 fuzz/seeds/http_head/f3011fe8dae172a386efc68f9ee8fa7c69a17261 create mode 100644 fuzz/seeds/http_head/f581433164c00d78078d33f61cb37ea2676c1dc6 create mode 100644 fuzz/seeds/http_head/f5e57c050fd66b3b95a169cea0f5b9c7d0c2fd71 create mode 100644 fuzz/seeds/http_head/f98e6ab51533fd2b537bb283f95f314994688cee create mode 100644 fuzz/seeds/http_head/fbcd4da1b730a5339c56d50ae175453527cd6533 create mode 100644 fuzz/seeds/http_head/fc0736b74d522898e3624cc77c0d52f79852f833 create mode 100644 fuzz/seeds/http_head/fd50a42099453eecf3b30d95af91eb084b9d647c create mode 100644 fuzz/seeds/http_head/fdcb9a6d2d0f600231dae50238ae38baa2528f85 create mode 100644 fuzz/seeds/http_head/fe44b21ebc5fc9d37a712b330a3623ba167a07ba create mode 100644 fuzz/seeds/http_head/ff0632d438cd2cc99c3990c6d324b2c438eb3b43 create mode 100644 fuzz/seeds/http_head/ff65622375eb645dd5764960149cb0831663a65f create mode 100644 fuzz/seeds/http_head/valid_get create mode 100644 tests/proxy_v2_parser.rs diff --git a/.gitignore b/.gitignore index d50bce2..e29fadc 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,8 @@ Thumbs.db # Reference projects (cloned for research) ref/ + +# cargo-fuzz +fuzz/corpus/ +fuzz/artifacts/ +fuzz/coverage/ diff --git a/Makefile b/Makefile index af78429..d0e070a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CARGO = cargo TARGET_DIR = target -.PHONY: all build release test test-all check check-all fmt fmt-check clippy clean deny audit +.PHONY: all build release test test-all check check-all fmt fmt-check clippy clean deny audit fuzz .PHONY: ebpf ebpf-clean .PHONY: docker docker-build docker-up docker-down docker-logs .PHONY: ci ci-full repo-gates @@ -78,6 +78,12 @@ docker-logs: checkstyle: fmt-check clippy @echo "✓ Checkstyle passed (rustfmt + clippy)" +# Parser fuzzing (nightly + cargo-fuzz). 60 s per target is a smoke run; +# longer campaigns are run locally before a release. +fuzz: + cargo +nightly fuzz run http_head fuzz/seeds/http_head -- -max_total_time=60 + cargo +nightly fuzz run proxy_v2 -- -max_total_time=60 + repo-gates: bash scripts/check_module_size.sh bash scripts/check_default_secrets.sh diff --git a/TODO.md b/TODO.md index 9e44f7b..a8d7ea9 100644 --- a/TODO.md +++ b/TODO.md @@ -285,7 +285,13 @@ module-size, secrets, `cargo deny`, rustdoc без warning'ов, clang+verifier, - `doctor` не дёргает защищённые ручки без токена и возвращает ненулевой код при провале. - Инлайн-тесты: 25 → 10 файлов (остальные — в следующих итерациях). -### Осталось (следующий раунд) +### Осталось + +- [ ] Monitor (`add_cidr`) и `traffic/hook` autoban не сверяются с `trusted_cidrs`: если + доверенный прокси физически живёт в банимой подсети, его адрес может попасть под + префиксный бан. Нужна общая проверка перед любым баном. + +### Сделано в этом раунде - [x] API manager'а: `SCAN`+`MGET` вместо `KEYS`/N+1, 503 вместо `200 []`, пагинация `limit`/`offset` (100 по умолчанию, 1000 максимум), GET без записи (бэкфилл метаданных @@ -293,12 +299,12 @@ module-size, secrets, `cargo deny`, rustdoc без warning'ов, clang+verifier, на все мутирующие ручки, graceful shutdown с SIGTERM и join heartbeat, эвикция login-лимитера, `MANAGER_TRUSTED_PROXIES` для `X-Forwarded-For`. Тесты — `tests/manager_api.rs` (9) и `tests/manager_security.rs` (23). -- [ ] `trusted_cidrs` + PROXY-header IP как ключ всех политик: банить/лимитировать по - transport-IP, header-IP — только после валидации (ban-amplification через LB). - -- [ ] IPv6 bind в listener (`Domain::IPV4` + строковый парсинг адреса). -- [ ] `relay_idle_timeout_secs` в `[limits]` (сейчас константа 300 с) и семафор бюджета - полем `Gateway` вместо `OnceLock`. +- [x] PROXY-header IP валидируется (loopback/link-local/multicast/broadcast/unspecified и + адреса из `trusted_cidrs` отклоняются, mapped-IPv4 нормализуется), баны для адресов из + `trusted_cidrs` подавляются; невалидный заголовок → transport-peer. +- [x] IPv6 bind в listener (парсинг `IpAddr`, домен по семейству, dual-stack для `::`). +- [x] `limits.relay_idle_timeout_secs` (300 по умолчанию, 1..=86400) и семафор бюджета полем + `Gateway` вместо `OnceLock`. - [x] Инлайн-тесты мигрированы: `grep -rn "#\[cfg(test)\]" src/` пуст, 41 тест переехал в 10 новых сюит (`manager_auth`, `manager_heartbeat`, `protocol_http_*`, `traffic_*`, `tui_prometheus`); счётчик тестов не изменился. @@ -314,7 +320,9 @@ module-size, secrets, `cargo deny`, rustdoc без warning'ов, clang+verifier, - [ ] Bloom filter для blacklist - [ ] io_uring runtime (feature flag) - [ ] ML anomaly detection (Isolation Forest) -- [ ] Fuzzing парсеров (`cargo-fuzz`) +- [x] Fuzzing парсеров (`cargo-fuzz`): цели `http_head` и `proxy_v2` в `fuzz/`, сиды в + `fuzz/seeds/`, запуск `make fuzz` (nightly); PROXY v2-парсер стал чистой функцией + `parse_v2_header` + 10 интеграционных тестов на обрезку/TLV/семейства. - [ ] BGP Anycast (AS + /24) --- diff --git a/docs/testing.md b/docs/testing.md index 9659e80..0388d8b 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -62,6 +62,35 @@ TCP-payload по `ip->tot_len`), VLAN/QinQ-теги и фрагменты — з --- +## 3. Fuzzing + +Внешние парсеры (HTTP request-head и PROXY protocol v2) фаззятся через `cargo-fuzz`. +Нужен nightly-тулчейн и установленный `cargo-fuzz`: + +```bash +rustup toolchain install nightly +cargo install cargo-fuzz + +# короткий прогон (60 с на цель), как в CI-смоуке +make fuzz + +# длительная кампания локально +cargo +nightly fuzz run http_head fuzz/seeds/http_head -- -max_total_time=600 +cargo +nightly fuzz run proxy_v2 -- -max_total_time=600 +``` + +Найденный краш сохраняется в `fuzz/artifacts//`; воспроизведение — +`cargo +nightly fuzz run fuzz/artifacts//`. Цели лежат в +`fuzz/fuzz_targets/`, сиды — в `fuzz/seeds/` (каталоги `corpus/`, `artifacts/` +в git не попадают). + +Инварианты, которые проверяют цели: парсер не паникует на произвольных байтах, +`scan_head` не выходит за буфер, `parse_v2_header` не потребляет больше +переданного и не принимает заголовок выше лимита, семейство адреса совпадает с +байтом family. + +--- + ## 3. Локальный integration-стенд (Docker) ```bash diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock new file mode 100644 index 0000000..d3c178a --- /dev/null +++ b/fuzz/Cargo.lock @@ -0,0 +1,3781 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] + +[[package]] +name = "ar_archive_writer" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "523e5e187fff36fcb8d1d19ccf0ca4ca43ec3d158316057f66dc6f72716bc5ec" +dependencies = [ + "object", +] + +[[package]] +name = "arbitrary" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bc62ac97cc33321f50863d514c3bc38a453947a8f9e781137e47c7401020aed" + +[[package]] +name = "atomic" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89cbf775b137e9b968e67227ef7f775587cde3fd31b0d8599dbd0f598a48340" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "aws-lc-rs" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53" +dependencies = [ + "aws-lc-sys", + "untrusted 0.7.1", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", + "pkg-config", +] + +[[package]] +name = "axum" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" +dependencies = [ + "axum-core", + "bytes", + "form_urlencoded", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "serde_core", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "axum-core" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "http-body-util", + "mime", + "pin-project-lite", + "sync_wrapper", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db" + +[[package]] +name = "by_address" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06" + +[[package]] +name = "bytemuck" +version = "1.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "castaway" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a" +dependencies = [ + "rustversion", +] + +[[package]] +name = "cc" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-link", +] + +[[package]] +name = "clap" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "clap_lex" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" + +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "compact_str" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dfdd1c2274d9aa354115b09dc9a901d6c5576818cdf70d14cae2bdb47df00ab" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "rustversion", + "ryu", + "static_assertions", +] + +[[package]] +name = "const-oid" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crossterm" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" +dependencies = [ + "bitflags 2.13.2", + "crossterm_winapi", + "derive_more", + "document-features", + "mio", + "parking_lot", + "rustix 1.1.6", + "signal-hook", + "signal-hook-mio", + "winapi", +] + +[[package]] +name = "crossterm_winapi" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" +dependencies = [ + "winapi", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "csscolorparser" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb2a7d3066da2de787b7f032c736763eb7ae5d355f81a68bab2675a96008b0bf" +dependencies = [ + "lab", + "phf", +] + +[[package]] +name = "darling" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 3.0.10", +] + +[[package]] +name = "darling_macro" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" +dependencies = [ + "darling_core", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "deltae" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5729f5117e208430e437df2f4843f5e5952997175992d1414f94c57d61e270b4" + +[[package]] +name = "deranged" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "const-oid", + "crypto-common 0.2.2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "errno" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "euclid" +version = "0.22.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06" +dependencies = [ + "num-traits", +] + +[[package]] +name = "fancy-regex" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2" +dependencies = [ + "bit-set", + "regex", +] + +[[package]] +name = "filedescriptor" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e40758ed24c9b2eeb76c35fb0aebc66c626084edd827e07e1552279814c6682d" +dependencies = [ + "libc", + "thiserror 1.0.69", + "winapi", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" + +[[package]] +name = "finl_unicode" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ded33109e99472f809cb7495544506eea45e366725dacf2a383e184f660456" + +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-core", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc" + +[[package]] +name = "icu_properties" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf" + +[[package]] +name = "icu_provider" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "indoc" +version = "2.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a37b2691796cffeb8a8cd305ac66e65841559f147f4e63231d0eafa4db5384d1" +dependencies = [ + "rustversion", +] + +[[package]] +name = "instability" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c3b5acc1e2fd9375041a388da33d1eb8aed5f7a8c0dd3543e3ea2805adfbe20" +dependencies = [ + "darling", + "indoc", + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "jsonwebtoken" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e75fe14a82d81e5f5af639997db37d8b96045938a7ac6ab18cdbe1c7467e05e1" +dependencies = [ + "aws-lc-rs", + "base64 0.22.1", + "getrandom 0.2.17", + "js-sys", + "pem", + "serde", + "serde_json", + "signature", + "simple_asn1", + "zeroize", +] + +[[package]] +name = "kasuari" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f14c90e40a6133f4805b83542a7ed7364f56070b447f56e7f4e90297122209" +dependencies = [ + "hashbrown 0.17.1", + "portable-atomic", + "thiserror 2.0.21", +] + +[[package]] +name = "lab" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf36173d4167ed999940f804952e6b08197cae5ad5d572eb4db150ce8ad5d58f" + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.191" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" + +[[package]] +name = "libfuzzer-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2" +dependencies = [ + "arbitrary", + "cc", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "line-clipping" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e752191d037c44ad111a8caa762921926658402f01cc1253f7bef2020ece4f5e" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "litrs" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown 0.17.1", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac_address" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3d0581a75c45969c63afd2bb87b1d8b25cfcc556c7a918cf9bb13b0fe8d2381" +dependencies = [ + "nix 0.31.3", + "windows-sys 0.61.2", +] + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matchit" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memmem" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a64a92489e2744ce060c349162be1c5f33c6969234104dbd99ddb5feb08b8c15" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mio" +version = "1.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a" +dependencies = [ + "libc", + "log", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "nix" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[package]] +name = "nix" +version = "0.31.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", + "memoffset", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_threads" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cabcc654086861f9e1bc5115258de62ef92c79b20f4615a1b0cc57c4e82027d4" +dependencies = [ + "libc", +] + +[[package]] +name = "object" +version = "0.39.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "openssl-probe" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e036b411754132fd6b74e94b74e9a13c5cf606fa93d1885c35860d3060820b1" + +[[package]] +name = "ordered-float" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" +dependencies = [ + "num-traits", +] + +[[package]] +name = "palette" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddeed8580d347d2abf3dcf06a5f0b3dc020258338526b277847cd4248a70fc64" +dependencies = [ + "approx", + "libm", + "palette_derive", + "palette_math", +] + +[[package]] +name = "palette_derive" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88537020289b719d81be994ccf1bbf4990f477e2f69ee52fe3e45f43a02e56be" +dependencies = [ + "by_address", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "palette_math" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e6eb142958d64335fb0e345c5b9ead2ecd6fc438c307e9d7d3c4fd428dbaf12" +dependencies = [ + "libm", +] + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pest" +version = "2.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ec53fd1d256900a9a771bf2720d42cef6f8bc91b4e25065fbd291e3e7222576" +dependencies = [ + "memchr", + "pest_stack_guard", + "ucd-trie", +] + +[[package]] +name = "pest_derive" +version = "2.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adcf794fd301ddc20818a6b4de85ed507f4b45300245cec948982e69e12e3bd7" +dependencies = [ + "pest", + "pest_generator", +] + +[[package]] +name = "pest_generator" +version = "2.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3073afae5db334c25dea9fc3e230a4f191e920c1df080cb9c0b37c9ce1dbb41" +dependencies = [ + "pest", + "pest_meta", + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "pest_meta" +version = "2.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bc7f614b3742541642af1685faaa910bf6333e3cd3729c2cccd118146a57327" +dependencies = [ + "pest", +] + +[[package]] +name = "pest_stack_guard" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ac6154fd4418b8f0b82532c59c26f303f9ca59a64c883e8ce3971fd82733439" +dependencies = [ + "psm", + "stacker", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros", + "phf_shared", +] + +[[package]] +name = "phf_codegen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +dependencies = [ + "phf_generator", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared", + "rand 0.8.8", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "procfs" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc5b72d8145275d844d4b5f6d4e1eef00c8cd889edb6035c21675d1bb1f45c9f" +dependencies = [ + "bitflags 2.13.2", + "hex", + "procfs-core", + "rustix 0.38.44", +] + +[[package]] +name = "procfs-core" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec" +dependencies = [ + "bitflags 2.13.2", + "hex", +] + +[[package]] +name = "prometheus" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a" +dependencies = [ + "cfg-if", + "fnv", + "lazy_static", + "libc", + "memchr", + "parking_lot", + "procfs", + "protobuf", + "thiserror 2.0.21", +] + +[[package]] +name = "protobuf" +version = "3.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65a1d4ddae7d8b5de68153b48f6aa3bba8cb002b243dbdbc55a5afbc98f99f4" +dependencies = [ + "once_cell", + "protobuf-support", + "thiserror 1.0.69", +] + +[[package]] +name = "protobuf-support" +version = "3.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e36c2f31e0a47f9280fb347ef5e461ffcd2c52dd520d8e216b52f93b0b0d7d6" +dependencies = [ + "thiserror 1.0.69", +] + +[[package]] +name = "psm" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dcd034599e63b970727f70d79e02d62390a4a84f7c6b827c27c46d5ac3fa622" +dependencies = [ + "ar_archive_writer", + "cc", +] + +[[package]] +name = "quinn" +version = "0.11.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11" +dependencies = [ + "bytes", + "cfg_aliases", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-proto" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe" +dependencies = [ + "aws-lc-rs", + "bytes", + "getrandom 0.4.3", + "lru-slab", + "rand 0.10.4", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-udp" +version = "0.5.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016" +dependencies = [ + "cfg_aliases", + "libc", + "once_cell", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rampart" +version = "0.3.0-dev" +dependencies = [ + "anyhow", + "axum", + "chrono", + "clap", + "crossterm", + "dashmap", + "futures", + "hex", + "jsonwebtoken", + "prometheus", + "rand 0.10.4", + "ratatui", + "reqwest", + "serde", + "serde_json", + "sha2 0.11.1", + "socket2", + "subtle", + "thiserror 2.0.21", + "tokio", + "toml", + "tower-http 0.7.1", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "rampart-fuzz" +version = "0.0.0" +dependencies = [ + "libfuzzer-sys", + "rampart", +] + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "ratatui" +version = "0.30.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3274ba0a2c5e1bcad2a2005d20f4dc59dad26b2eb0940fb094500dba4099d57d" +dependencies = [ + "instability", + "ratatui-core", + "ratatui-crossterm", + "ratatui-macros", + "ratatui-termina", + "ratatui-termwiz", + "ratatui-widgets", + "serde", +] + +[[package]] +name = "ratatui-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbb175c433c8e28a809d1f5773a2ae96e68c0ce40db865cbab1020bf33ae479c" +dependencies = [ + "bitflags 2.13.2", + "compact_str", + "critical-section", + "hashbrown 0.17.1", + "itertools", + "kasuari", + "lru", + "palette", + "serde", + "strum", + "thiserror 2.0.21", + "unicode-segmentation", + "unicode-truncate", + "unicode-width", +] + +[[package]] +name = "ratatui-crossterm" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567584a3b0e6a8203c23de40b4861497266725eb5363dbfd18a1edd603cca9f0" +dependencies = [ + "cfg-if", + "crossterm", + "instability", + "ratatui-core", +] + +[[package]] +name = "ratatui-macros" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed7dc68daa7498a43e4d68e0eb078427e10c38fbcfbb1e42d955f1fa2140d814" +dependencies = [ + "ratatui-core", + "ratatui-widgets", +] + +[[package]] +name = "ratatui-termina" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0bf912d9e66f057a759d92e386a280ea886b352ab757d6ac4d653c7ed2c43c2" +dependencies = [ + "instability", + "ratatui-core", + "termina", +] + +[[package]] +name = "ratatui-termwiz" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf03e0380b7744054d6cb74224fe3adf062a029754933f575ca1e3b4c2ce977" +dependencies = [ + "ratatui-core", + "termwiz", +] + +[[package]] +name = "ratatui-widgets" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66e3d19bcc9130ca376277d93b60767ff121ace3be06f5f95f81dd68956407d1" +dependencies = [ + "bitflags 2.13.2", + "hashbrown 0.17.1", + "indoc", + "instability", + "itertools", + "line-clipping", + "ratatui-core", + "serde", + "strum", + "time", + "unicode-segmentation", + "unicode-width", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tower", + "tower-http 0.6.11", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted 0.9.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" +dependencies = [ + "aws-lc-rs", + "once_cell", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a073f5dc7469f984c52ad2752b63b0807745133b6de880b7b64c1ac4c48aec4" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "102f35f7de7b06d8c61f1cff6592f5253e0dea431c74867aad5dfd70f44663fb" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" +dependencies = [ + "aws-lc-rs", + "ring", + "rustls-pki-types", + "untrusted 0.9.0", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cb23c424d8ee841bb4d813677ca237e2a610067d594fec130f87d6093495ab5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.13.2", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_path_to_error" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" +dependencies = [ + "itoa", + "serde", + "serde_core", +] + +[[package]] +name = "serde_spanned" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-mio" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc" +dependencies = [ + "libc", + "mio", + "signal-hook", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple_asn1" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d585997b0ac10be3c5ee635f1bab02d512760d14b7c468801ac8a01d9ae5f1d" +dependencies = [ + "num-bigint", + "num-traits", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "stacker" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "windows-sys 0.61.2", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "termina" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9048a889effe34a5cddee0af7f53285198b16dca3be510858d38dfdb3e62a04e" +dependencies = [ + "bitflags 2.13.2", + "parking_lot", + "rustix 1.1.6", + "signal-hook", + "windows-sys 0.61.2", +] + +[[package]] +name = "terminfo" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ea810f0692f9f51b382fff5893887bb4580f5fa246fde546e0b13e7fcee662" +dependencies = [ + "fnv", + "nom", + "phf", + "phf_codegen", +] + +[[package]] +name = "termios" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b" +dependencies = [ + "libc", +] + +[[package]] +name = "termwiz" +version = "0.23.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4676b37242ccbd1aabf56edb093a4827dc49086c0ffd764a5705899e0f35f8f7" +dependencies = [ + "anyhow", + "base64 0.22.1", + "bitflags 2.13.2", + "fancy-regex", + "filedescriptor", + "finl_unicode", + "fixedbitset", + "hex", + "lazy_static", + "libc", + "log", + "memmem", + "nix 0.29.0", + "num-derive", + "num-traits", + "ordered-float", + "pest", + "pest_derive", + "phf", + "sha2 0.10.9", + "signal-hook", + "siphasher", + "terminfo", + "termios", + "thiserror 1.0.69", + "ucd-trie", + "unicode-segmentation", + "vtparse", + "wezterm-bidi", + "wezterm-blob-leases", + "wezterm-color-types", + "wezterm-dynamic", + "wezterm-input-types", + "winapi", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.54.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "toml" +version = "1.2.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5755c51863cdac711f1956baf8eb9588e060755f7d3c4c979e70ea1e1f32cd7" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.2.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags 2.13.2", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-http" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" +dependencies = [ + "bitflags 2.13.2", + "bytes", + "http", + "http-body", + "percent-encoding", + "pin-project-lite", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-serde" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "704b1aeb7be0d0a84fc9828cae51dab5970fee5088f83d1dd7ee6f6246fc6ff1" +dependencies = [ + "serde", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "serde", + "serde_json", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "ucd-trie" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" + +[[package]] +name = "unicode-ident" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-truncate" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b380a1238663e5f8a691f9039c73e1cdae598a30e9855f541d29b08b53e9a5" +dependencies = [ + "itertools", + "unicode-segmentation", + "unicode-width", +] + +[[package]] +name = "unicode-width" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557" + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0" +dependencies = [ + "utf_types", +] + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "utf_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" + +[[package]] +name = "uuid" +version = "1.29.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c" +dependencies = [ + "atomic", + "getrandom 0.4.3", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "vtparse" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9b2acfb050df409c972a37d3b8e08cdea3bddb0c09db9d53137e504cfabed0" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" +dependencies = [ + "cfg-if", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e14e0327cb5368ad60ccb22d04a9827a693c95a926d8d125e9fa39e0baec501" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.10", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "web-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "wezterm-bidi" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0a6e355560527dd2d1cf7890652f4f09bb3433b6aadade4c9b5ed76de5f3ec" +dependencies = [ + "log", + "wezterm-dynamic", +] + +[[package]] +name = "wezterm-blob-leases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692daff6d93d94e29e4114544ef6d5c942a7ed998b37abdc19b17136ea428eb7" +dependencies = [ + "getrandom 0.3.4", + "mac_address", + "sha2 0.10.9", + "thiserror 1.0.69", + "uuid", +] + +[[package]] +name = "wezterm-color-types" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7de81ef35c9010270d63772bebef2f2d6d1f2d20a983d27505ac850b8c4b4296" +dependencies = [ + "csscolorparser", + "deltae", + "lazy_static", + "wezterm-dynamic", +] + +[[package]] +name = "wezterm-dynamic" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f2ab60e120fd6eaa68d9567f3226e876684639d22a4219b313ff69ec0ccd5ac" +dependencies = [ + "log", + "ordered-float", + "strsim", + "thiserror 1.0.69", + "wezterm-dynamic-derive", +] + +[[package]] +name = "wezterm-dynamic-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46c0cf2d539c645b448eaffec9ec494b8b19bd5077d9e58cb1ae7efece8d575b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "wezterm-input-types" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7012add459f951456ec9d6c7e6fc340b1ce15d6fc9629f8c42853412c029e57e" +dependencies = [ + "bitflags 1.3.2", + "euclid", + "lazy_static", + "serde", + "wezterm-dynamic", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml new file mode 100644 index 0000000..10b1b1d --- /dev/null +++ b/fuzz/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "rampart-fuzz" +version = "0.0.0" +publish = false +edition = "2024" + +[package.metadata] +cargo-fuzz = true + +[dependencies] +libfuzzer-sys = "0.4" +rampart = { path = "..", default-features = false, features = ["protocol-http", "protocol-minecraft"] } + +[[bin]] +name = "http_head" +path = "fuzz_targets/http_head.rs" +test = false +doc = false +bench = false + +[[bin]] +name = "proxy_v2" +path = "fuzz_targets/proxy_v2.rs" +test = false +doc = false +bench = false + +# Isolate the fuzz crate from the parent package. +[workspace] diff --git a/fuzz/fuzz_targets/http_head.rs b/fuzz/fuzz_targets/http_head.rs new file mode 100644 index 0000000..47ae406 --- /dev/null +++ b/fuzz/fuzz_targets/http_head.rs @@ -0,0 +1,30 @@ +#![no_main] + +//! Fuzz target for the HTTP/1.x request-head parser. +//! +//! `scan_head` and `evaluate` consume attacker-controlled bytes on every +//! connection, so they must never panic and must stay within the buffer. + +use libfuzzer_sys::fuzz_target; +use rampart::protocol::http::parser::{Policy, evaluate, scan_head}; + +fuzz_target!(|data: &[u8]| { + if let Some(head_len) = scan_head(data) { + assert!(head_len <= data.len(), "scan_head returned an out-of-bounds length"); + let policy = Policy { + max_header_bytes: 8192, + blocked_paths: vec!["/admin".to_string()], + require_user_agent: true, + }; + let _ = evaluate(&data[..head_len], &policy); + } + + // The whole buffer (not only a terminated head) must also be safe: a + // truncated head is evaluated defensively by callers. + let policy = Policy { + max_header_bytes: 8192, + blocked_paths: vec![], + require_user_agent: false, + }; + let _ = evaluate(data, &policy); +}); diff --git a/fuzz/fuzz_targets/proxy_v2.rs b/fuzz/fuzz_targets/proxy_v2.rs new file mode 100644 index 0000000..0052c7a --- /dev/null +++ b/fuzz/fuzz_targets/proxy_v2.rs @@ -0,0 +1,25 @@ +#![no_main] + +//! Fuzz target for the inbound PROXY protocol v2 header parser. +//! +//! The parser runs before authentication on a connection controlled by a +//! trusted proxy, so arbitrary bytes must produce an error, never a panic or +//! an out-of-bounds read. + +use libfuzzer_sys::fuzz_target; +use rampart::engine::tunnel::parse_v2_header; + +fuzz_target!(|data: &[u8]| { + const LIMIT: usize = 512; + if let Ok((client, consumed)) = parse_v2_header(data, LIMIT) { + assert!(consumed <= data.len(), "parser consumed more than the buffer"); + assert!(consumed <= LIMIT, "parser accepted a header above the limit"); + assert!(consumed >= 16, "a parsed header is at least the fixed part"); + // The address must be in the family advertised by the header byte. + let family = data[13]; + assert!( + (family == 0x11 && client.is_ipv4()) || (family == 0x21 && client.is_ipv6()), + "address family does not match the header" + ); + } +}); diff --git a/fuzz/seeds/http_head/004a029e95e5ccaef5bf670728ce8f477e008e9e b/fuzz/seeds/http_head/004a029e95e5ccaef5bf670728ce8f477e008e9e new file mode 100644 index 0000000000000000000000000000000000000000..ad52cc2c04db67650019238dc37416589e698a7e GIT binary patch literal 16 TcmZ<{DY0T?0D};P+{_RF7gGZ1 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/004a6bcdf2958c0390af7902783c581be362e67e b/fuzz/seeds/http_head/004a6bcdf2958c0390af7902783c581be362e67e new file mode 100644 index 0000000..212f9da --- /dev/null +++ b/fuzz/seeds/http_head/004a6bcdf2958c0390af7902783c581be362e67e @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +ost:om +User-Agent: Accep \ No newline at end of file diff --git a/fuzz/seeds/http_head/004bf552d8ee26054e8ce76cd4d4f27116beda52 b/fuzz/seeds/http_head/004bf552d8ee26054e8ce76cd4d4f27116beda52 new file mode 100644 index 0000000..0d3b342 --- /dev/null +++ b/fuzz/seeds/http_head/004bf552d8ee26054e8ce76cd4d4f27116beda52 @@ -0,0 +1,2 @@ +GGET / HTTP/1.1 +Hc G \ No newline at end of file diff --git a/fuzz/seeds/http_head/016cf8425821eb4b40f03675f616e4ce0cd50b84 b/fuzz/seeds/http_head/016cf8425821eb4b40f03675f616e4ce0cd50b84 new file mode 100644 index 0000000..97a7da5 --- /dev/null +++ b/fuzz/seeds/http_head/016cf8425821eb4b40f03675f616e4ce0cd50b84 @@ -0,0 +1,17 @@ +GET / HTTP/1.1 +H-ot-t: + +: + + +H-ot-t: +.1 +: + 1 */*1 +A +Co-t: +.1 +H-ot: + ! + +eLe- \ No newline at end of file diff --git a/fuzz/seeds/http_head/03c89b2a2c8f07b23f53fd186aaa35de081075e0 b/fuzz/seeds/http_head/03c89b2a2c8f07b23f53fd186aaa35de081075e0 new file mode 100644 index 0000000..4c64195 --- /dev/null +++ b/fuzz/seeds/http_head/03c89b2a2c8f07b23f53fd186aaa35de081075e0 @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +e.co: + +ept: diff --git a/fuzz/seeds/http_head/05c16380242068486f23cd62c069fa78f14f2b05 b/fuzz/seeds/http_head/05c16380242068486f23cd62c069fa78f14f2b05 new file mode 100644 index 0000000..5db8520 --- /dev/null +++ b/fuzz/seeds/http_head/05c16380242068486f23cd62c069fa78f14f2b05 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +Ho]t:t + diff --git a/fuzz/seeds/http_head/05ced3d7b7fe052b34d20b51fb0ca56bccf2c269 b/fuzz/seeds/http_head/05ced3d7b7fe052b34d20b51fb0ca56bccf2c269 new file mode 100644 index 0000000..f61da7a --- /dev/null +++ b/fuzz/seeds/http_head/05ced3d7b7fe052b34d20b51fb0ca56bccf2c269 @@ -0,0 +1,2 @@ +POST /#dQmin HTTP/1.1 +Hosv: diff --git a/fuzz/seeds/http_head/06d0f53b8536fe6c0f1417ea179b03654d0b78f5 b/fuzz/seeds/http_head/06d0f53b8536fe6c0f1417ea179b03654d0b78f5 new file mode 100644 index 0000000000000000000000000000000000000000..41692668551decc632b20e7ff7590592f9a92af7 GIT binary patch literal 142 zcmZ>F4N=fn@CXSB&^OdGU{LS~2?@|Q)HCGe^2jePu~Mku{k(m`A^@At3SR&K literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/07febf95f098dc6141af10d327043ab8503d406f b/fuzz/seeds/http_head/07febf95f098dc6141af10d327043ab8503d406f new file mode 100644 index 0000000..cd65ebc --- /dev/null +++ b/fuzz/seeds/http_head/07febf95f098dc6141af10d327043ab8503d406f @@ -0,0 +1,2 @@ +GE / HTTP/1.1 + exa \ No newline at end of file diff --git a/fuzz/seeds/http_head/0813329fdbad1eef7027b023bf420d56069195e5 b/fuzz/seeds/http_head/0813329fdbad1eef7027b023bf420d56069195e5 new file mode 100644 index 0000000..4b7135d --- /dev/null +++ b/fuzz/seeds/http_head/0813329fdbad1eef7027b023bf420d56069195e5 @@ -0,0 +1 @@ +T / H`TP /* \ No newline at end of file diff --git a/fuzz/seeds/http_head/0a988c3fcc107d6bba2847999466a0626fb4995b b/fuzz/seeds/http_head/0a988c3fcc107d6bba2847999466a0626fb4995b new file mode 100644 index 0000000..1756a4c --- /dev/null +++ b/fuzz/seeds/http_head/0a988c3fcc107d6bba2847999466a0626fb4995b @@ -0,0 +1,6 @@ +GET , HTTP/1.1 +Hosr-AgJnt: fuzz +Act: example.com +User-AgJnt: fuzz +Accept: */* + diff --git a/fuzz/seeds/http_head/0be603006d17042396349fa77c5db9bcb870b3cb b/fuzz/seeds/http_head/0be603006d17042396349fa77c5db9bcb870b3cb new file mode 100644 index 0000000000000000000000000000000000000000..9ac1360feb6b37b26c644bb0446ab062be2b98e7 GIT binary patch literal 379 zcmZ>F4N=fn@CXSB&^OdGbF4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL zpaR{ZRL68K58eC{E1&=`k_thf|_ dqPmXy2xF0SKpn+kMMrzVb`FMMNCpNm7XV)VQb7O! literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/0d9fd31038095730447245e449f78f4159a99a41 b/fuzz/seeds/http_head/0d9fd31038095730447245e449f78f4159a99a41 new file mode 100644 index 0000000000000000000000000000000000000000..46e603d0c357b9749ee7f0ac5bbfad18e6c80f13 GIT binary patch literal 40 rcmZ>F4N=fn@CXSB&^OdG1N@d{X0>RYOf)Fc(5(RxN4j>NztriEn literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/0e775bd88f55053633e4cbe67c72a44021598aca b/fuzz/seeds/http_head/0e775bd88f55053633e4cbe67c72a44021598aca new file mode 100644 index 0000000000000000000000000000000000000000..ac83082e3b6dd71c05bdcdc37e78740a9dd1248f GIT binary patch literal 20 bcmZ>F4PjtV&{yyX2?@|Q)HCGeD&YkHDeMF1 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/0f4adec941f135b45ac9d8b050103c0391490364 b/fuzz/seeds/http_head/0f4adec941f135b45ac9d8b050103c0391490364 new file mode 100644 index 0000000000000000000000000000000000000000..0c9072ac980833927bef259335f0e1eade781181 GIT binary patch literal 378 zcmaivF$=;l5QPIy9^8MpSx95nICYR_Yld_eN_3Kd&6LHz?$Jsc3DmpwdynsRS5Jzp z_fF|XBUl-eOa_jC2N9nL!xUb!eT0|{-Ceig=NXSvGR;_mA{$!b?<(GNr}$n*Xh&`Z wu*uxiNz}BbOZJpkk~AWx-SFc)%m2429hWhsOF4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL z21ck758eC{E1&=`T!w)Gq7AG`wwSak=7fJy$E&x)7 BxlRB8 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/13059775a2a147c86911b06bd37629b417de1a06 b/fuzz/seeds/http_head/13059775a2a147c86911b06bd37629b417de1a06 new file mode 100644 index 0000000000000000000000000000000000000000..d67e426547ac39f9984eb7a4190ffe6c8c7f8893 GIT binary patch literal 88 zcmZ>F4N=fn@CXSB&^OdGJhZ4u7^ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/1393ebd486f15e8354dbb8b57e43e5cea030d644 b/fuzz/seeds/http_head/1393ebd486f15e8354dbb8b57e43e5cea030d644 new file mode 100644 index 0000000000000000000000000000000000000000..2a4c54aaa06fef249d2504f9add855dc567f4153 GIT binary patch literal 148 zcmZ>F4N=fh@CXSB&^OdGF4N+h<3=LKA2nh+$H`FuaV!Z literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/15bacf81742ca8f3b24df0351b6b1de3b3b99f40 b/fuzz/seeds/http_head/15bacf81742ca8f3b24df0351b6b1de3b3b99f40 new file mode 100644 index 0000000000000000000000000000000000000000..5d4d9700f00f2d54e7d6e12692b041be69daf325 GIT binary patch literal 742 zcmZ>F4N-{FH&pNl2?@|Q)HCGe$}jdPvEp(}hO;mPl9N+mV#%o?A?`pU^dSZqfei4- zj|CdQ`+56>MIeLx-2?PB41tCNIZ(rsQ?aWDF7@Mz%z$pHYt0MX?D literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/15c1b12a5c79bd4a7e9de89250017c15420443de b/fuzz/seeds/http_head/15c1b12a5c79bd4a7e9de89250017c15420443de new file mode 100644 index 0000000..f972673 --- /dev/null +++ b/fuzz/seeds/http_head/15c1b12a5c79bd4a7e9de89250017c15420443de @@ -0,0 +1,36 @@ +GET / HTTP/1.1 +H-ot-t: +.1 +: + + 1 +H-ot-t: +.1 +: + 1 */*1 +A +Co-t: +.1 +H-o : +1t: +.11 +H-ot-t: +.1 +: + 1 */*1 +A +Co-t: +.1 +H-o : +1t: +.1 + +: + + 1 +H-ot-t: +.1 +: + 1 */*1 + +eLe- \ No newline at end of file diff --git a/fuzz/seeds/http_head/18670ed9fdb348872508c508adf1c95c1ba65c3c b/fuzz/seeds/http_head/18670ed9fdb348872508c508adf1c95c1ba65c3c new file mode 100644 index 0000000..8092645 --- /dev/null +++ b/fuzz/seeds/http_head/18670ed9fdb348872508c508adf1c95c1ba65c3c @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +H,G:T +UsermgJAKt: diff --git a/fuzz/seeds/http_head/19cc322317ee76ea7c6a35780ed5053278df7845 b/fuzz/seeds/http_head/19cc322317ee76ea7c6a35780ed5053278df7845 new file mode 100644 index 0000000..ecbd4a2 --- /dev/null +++ b/fuzz/seeds/http_head/19cc322317ee76ea7c6a35780ed5053278df7845 @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +Host:: ex /0HTTP/1.1TP/1.1 +Host: example.com +User-Agent: f + diff --git a/fuzz/seeds/http_head/19e99fe1f5b97d160b738ab3d280ae434d905eb2 b/fuzz/seeds/http_head/19e99fe1f5b97d160b738ab3d280ae434d905eb2 new file mode 100644 index 0000000000000000000000000000000000000000..4772b779aa22e26d1c698bda13c4248b38a92c4f GIT binary patch literal 95 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGpx NMR1AK)PfRTE&x!w5A^^5 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/205158ab0a16917506e0955e6ed59abcbfc49c43 b/fuzz/seeds/http_head/205158ab0a16917506e0955e6ed59abcbfc49c43 new file mode 100644 index 0000000000000000000000000000000000000000..87d9911af5d27ed33fe2ffbd98a06bcee849da36 GIT binary patch literal 176 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N-{FH&pNl2?@|Q)HCGe$}jdPvEp(}hO>YIyq~vESOgOFcMs6lFbqfy32}E- zRRAgX$d3g|z!W5>Vv2z@0hNa+=p)&JstsbU0ni0Nv!E`(WfaJMgiBo*KrZFw0$B?H D*U{LS~2?@|Q)HCGe^2jePu~Mku&GQK10sxm?2$ui= literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/2a2ff4e6d42691eb975cb9abd9c8165a5b7994d1 b/fuzz/seeds/http_head/2a2ff4e6d42691eb975cb9abd9c8165a5b7994d1 new file mode 100644 index 0000000..ce90845 --- /dev/null +++ b/fuzz/seeds/http_head/2a2ff4e6d42691eb975cb9abd9c8165a5b7994d1 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +Host: exGET / HT +User-Agent: diff --git a/fuzz/seeds/http_head/2c2e034728016b27d8c565d5c423db32f45f9d43 b/fuzz/seeds/http_head/2c2e034728016b27d8c565d5c423db32f45f9d43 new file mode 100644 index 0000000..8c63f26 --- /dev/null +++ b/fuzz/seeds/http_head/2c2e034728016b27d8c565d5c423db32f45f9d43 @@ -0,0 +1,13 @@ +GET / HTTP/1.1 +H-ot: +Act*/*1 +H +Co-t:*/*1 +H +: + +AP/1.1 +H-o: + 0 + +e diff --git a/fuzz/seeds/http_head/2c5dc6b483d7491b97d8176726e685337f20e811 b/fuzz/seeds/http_head/2c5dc6b483d7491b97d8176726e685337f20e811 new file mode 100644 index 0000000..8f85794 --- /dev/null +++ b/fuzz/seeds/http_head/2c5dc6b483d7491b97d8176726e685337f20e811 @@ -0,0 +1,3 @@ +GET , HTTP/1.1 +HHot:z  + diff --git a/fuzz/seeds/http_head/2d9bf749a131224c7339da047ad0ab7275733e5e b/fuzz/seeds/http_head/2d9bf749a131224c7339da047ad0ab7275733e5e new file mode 100644 index 0000000000000000000000000000000000000000..38b4e810af9058f214fbeffd49ef33f94ccb46ff GIT binary patch literal 49 zcmZ>F4N=fh@CXSB&^OdGF4N=fh@CXSB&^OdGF4N=fn@CXSB&^OdGiB*Y~z7|Lk emvg=@PztO;7oF4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL z21ck758eC{E1&=`T!w)Gq7AG`wr1gKbp+ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/3164106b661733d366e0fc16270af2c27b89deb5 b/fuzz/seeds/http_head/3164106b661733d366e0fc16270af2c27b89deb5 new file mode 100644 index 0000000000000000000000000000000000000000..9c2542c95dd8252eacbbcf253c6ad349ffb15508 GIT binary patch literal 34 pcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGSH O0w7OIUyGNEmkR*g0uKiO literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/35d8df1a12dc16e7b9177d3575778b3427b815d0 b/fuzz/seeds/http_head/35d8df1a12dc16e7b9177d3575778b3427b815d0 new file mode 100644 index 0000000..33d34a0 --- /dev/null +++ b/fuzz/seeds/http_head/35d8df1a12dc16e7b9177d3575778b3427b815d0 @@ -0,0 +1,2 @@ +POST n HTTP/1.1 +H[to:sTP1 Host \ No newline at end of file diff --git a/fuzz/seeds/http_head/363245c1a9c144d7808a9832c7f01ff721009a03 b/fuzz/seeds/http_head/363245c1a9c144d7808a9832c7f01ff721009a03 new file mode 100644 index 0000000..0860037 --- /dev/null +++ b/fuzz/seeds/http_head/363245c1a9c144d7808a9832c7f01ff721009a03 @@ -0,0 +1,2 @@ + +.At \ No newline at end of file diff --git a/fuzz/seeds/http_head/36d61bf68a36df657c7825700a3526fabc64d3b7 b/fuzz/seeds/http_head/36d61bf68a36df657c7825700a3526fabc64d3b7 new file mode 100644 index 0000000000000000000000000000000000000000..61823aa826242aea44bad0d87725957b6df047e4 GIT binary patch literal 37 scmWIW4-Qda&`!zCWMEM62nh+$H`FuaF4N=fHRPYE13D7sxGvwvUFZL+0;&Mz*P7Mh`w`Mpyt9f zVmBz+9iN*F5KhFa4&inxxB?a?pg@5-o{@pUHXnxvl7XrMLOlKbf`K8*%f-tD0Q|UI A`Tzg` literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/39ad9dbaca070ab3b6e8fc5debf11d660435edeb b/fuzz/seeds/http_head/39ad9dbaca070ab3b6e8fc5debf11d660435edeb new file mode 100644 index 0000000000000000000000000000000000000000..c41fd31d08b6fed416a74c83aaca83b460302d6c GIT binary patch literal 45 zcmZ>F4N=fn@CXSB&^OdGF4N=g^W?*1Y@CXSB&^OdG#rPNH=|%yCQx8Bmd!Tac5gmzF4N=fn@CXSB&^OdGF4N=g^W?*1Y@CXSB&^OdG#YcDiU)Ga#Hn@^K*H*LW|+%fz_mfG=T{%eJs+vT*;2f5NQlU s^|jC}N=z-tt-@sy)J24is|Nan2zN6uSiu5A5h=vrt{iEB!Nm)N05SEn#sB~S literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/3c4cdc59ce12b7b2cf6fa20cfb0e9c6a39ba27e8 b/fuzz/seeds/http_head/3c4cdc59ce12b7b2cf6fa20cfb0e9c6a39ba27e8 new file mode 100644 index 0000000000000000000000000000000000000000..9f4791e7088aab3767ac8524fadf470c09fd9d48 GIT binary patch literal 56 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG^OiUG{#F4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL z21ck758eC{E1&=`T!w)Gq7AG`wF4N=fn@CXSB&^OdGbx9qAjESn)AH05Gz0Qwwqu^^#FiB`_Jm V;=@Y8fR~Gx3zjy4DJ%_`ECFa^&&L1& literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/3e9624dffed13a159125f75780f194c18e413cf5 b/fuzz/seeds/http_head/3e9624dffed13a159125f75780f194c18e413cf5 new file mode 100644 index 0000000..e875b50 --- /dev/null +++ b/fuzz/seeds/http_head/3e9624dffed13a159125f75780f194c18e413cf5 @@ -0,0 +1,9 @@ +GET / HTTP/1.1 +H-ot: +/*1 +H +Co-t:*/*1 +-t:/1.1 +H-ot:0555 + +e diff --git a/fuzz/seeds/http_head/3eeb74f792a062d5638a7457019e1ec16d8f056d b/fuzz/seeds/http_head/3eeb74f792a062d5638a7457019e1ec16d8f056d new file mode 100644 index 0000000..88cff19 --- /dev/null +++ b/fuzz/seeds/http_head/3eeb74f792a062d5638a7457019e1ec16d8f056d @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +st:pl +UsermgJAKt:* + diff --git a/fuzz/seeds/http_head/402eea768878cac42c6deca60cb67311f15484a3 b/fuzz/seeds/http_head/402eea768878cac42c6deca60cb67311f15484a3 new file mode 100644 index 0000000000000000000000000000000000000000..0862681486a5e499f52de5aecaca882ae64919fc GIT binary patch literal 70 zcmZ>F4N=fn@CXSB&^OdGx}#fB?jSsY8-iNGk;Z DU%(OL literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/409893f8b4ebd5000ef4a87e8a900182c6f59660 b/fuzz/seeds/http_head/409893f8b4ebd5000ef4a87e8a900182c6f59660 new file mode 100644 index 0000000..b96ac0a --- /dev/null +++ b/fuzz/seeds/http_head/409893f8b4ebd5000ef4a87e8a900182c6f59660 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +sx:mpl/c + diff --git a/fuzz/seeds/http_head/449d5fdd588850488ab3ff6161e0cdc3443a345a b/fuzz/seeds/http_head/449d5fdd588850488ab3ff6161e0cdc3443a345a new file mode 100644 index 0000000000000000000000000000000000000000..4243b4584b466fd507fe7061a22731a7d308e5f6 GIT binary patch literal 319 zcmZ>F4N=fn@CXSB&^OdGp<>-nt*T~!ZmPdBwLwDu@>1~ aAs)y9f$lD_?->{p6o6jlF4N=fn@CXSB&^OdGb}F6VT&BPa076LJ+U6d<|?S6$gUzg){#P!B1dCOW$?tMZ&+f*$H0J= rHi5~4iva|Hk(!%YkdvsFjG_XV++cxirC`9z#mfat!@!i7228#HVr$%> literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/460c9003a19be6cca79144c662a437080d43f876 b/fuzz/seeds/http_head/460c9003a19be6cca79144c662a437080d43f876 new file mode 100644 index 0000000000000000000000000000000000000000..e386d9017252202cd1108006ee962911ea3c020a GIT binary patch literal 25 gcmZ>F4NF4N=fh@CXSB&^OdGF4N=fn@CXSB&^OdG_&A9l5lCc7v=oAk}K9c2xJI>V-mF3UedWV`P~Q4-f{cWL|_l;E;fs i50paq1005ASp^ISgax302YLiK;9=I$!8^QMyj%c#lWwK} literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/4a45dabd41f15d8d8713da5c5e54ce1a7cb89ab0 b/fuzz/seeds/http_head/4a45dabd41f15d8d8713da5c5e54ce1a7cb89ab0 new file mode 100644 index 0000000..5f36958 --- /dev/null +++ b/fuzz/seeds/http_head/4a45dabd41f15d8d8713da5c5e54ce1a7cb89ab0 @@ -0,0 +1,7 @@ +GET / HTTP/1.1 +H-ot: +AcGGG/1.1 +Host: +Ac Ggetx: 0 + +eLe diff --git a/fuzz/seeds/http_head/4b0287d0e68cfc7c32125d44a2d788efa7199100 b/fuzz/seeds/http_head/4b0287d0e68cfc7c32125d44a2d788efa7199100 new file mode 100644 index 0000000000000000000000000000000000000000..8806a61af3fb950973830ca7ed8a00cd7026bea2 GIT binary patch literal 50 zcmWIW4-Qe#Psz<>U{LS~2?@|Q)HCGe^2jePu~Mku{k(m`A}(GoUSF4N=fn@CXSB&^OdGbls?=UDE8sD1?C!%%du$zdI8Pd22xN@pc@MJ96m>bg9ynYuvwt6 z!V&^RxD9*oB0@pmu*8aw0Rn(t$xSWDNz_Y5i6&qm!(z-z!GM>GmkSnI!0=B4Mi~HI CcZ((f literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/4c6064c061ca5d121e5d5365cf4d7ff1af262eba b/fuzz/seeds/http_head/4c6064c061ca5d121e5d5365cf4d7ff1af262eba new file mode 100644 index 0000000000000000000000000000000000000000..c92431345e86f99a6e669927772fbc97e0a04e32 GIT binary patch literal 64 zcmZ>F4N=fn@CXSB&^OdG*Su*%U(&gJFOEecI_EKX0&%d%47(%0hU SvSTRDw{!3SsF4N=fn@CXSB&^OdGSH O0w7aMUyGNEmkR*pG7i)L literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/4e4a662d57080e967a3eac9fa0dd2298a19fc2cb b/fuzz/seeds/http_head/4e4a662d57080e967a3eac9fa0dd2298a19fc2cb new file mode 100644 index 0000000..604da94 --- /dev/null +++ b/fuzz/seeds/http_head/4e4a662d57080e967a3eac9fa0dd2298a19fc2cb @@ -0,0 +1,4 @@ +GET UUUUW/ HTTP/1.1 +Host:Acce +Host:AccepHTTP.1 +Host:Accep \ No newline at end of file diff --git a/fuzz/seeds/http_head/4f067d7f87936d37cf36082712796b7d8b3962ba b/fuzz/seeds/http_head/4f067d7f87936d37cf36082712796b7d8b3962ba new file mode 100644 index 0000000000000000000000000000000000000000..842da64506e31139f1b3f489d598f8f9faa8ddf0 GIT binary patch literal 37 scmWIW4-Qe#PfW?p%v10P2?@|Q)HCGe()D3rU`Q{?uu?GK<>KW60JyaXNdN!< literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/4f62b57bb34b05fcea700953e16f4aa1da826e84 b/fuzz/seeds/http_head/4f62b57bb34b05fcea700953e16f4aa1da826e84 new file mode 100644 index 0000000..fbd058d --- /dev/null +++ b/fuzz/seeds/http_head/4f62b57bb34b05fcea700953e16f4aa1da826e84 @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +Host: eampl +UsermgJAKt: fl +UsermgJAKt: fuzz : */* + diff --git a/fuzz/seeds/http_head/4fed75b97905f43b96bbd04cf49c5e923a77b1f0 b/fuzz/seeds/http_head/4fed75b97905f43b96bbd04cf49c5e923a77b1f0 new file mode 100644 index 0000000..69bd709 --- /dev/null +++ b/fuzz/seeds/http_head/4fed75b97905f43b96bbd04cf49c5e923a77b1f0 @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +Host:xa.com +User-AgJnt: fuzz +Accept: */* + diff --git a/fuzz/seeds/http_head/4ff34f1df25a3e0e33fc1d6facc7157d012df1f0 b/fuzz/seeds/http_head/4ff34f1df25a3e0e33fc1d6facc7157d012df1f0 new file mode 100644 index 0000000..99d7436 --- /dev/null +++ b/fuzz/seeds/http_head/4ff34f1df25a3e0e33fc1d6facc7157d012df1f0 @@ -0,0 +1,8 @@ +GET / HTTP/1.1 +Host: + +: f + GET / HTTP/1.1 +H +o]t: + 󷐢(0.1 diff --git a/fuzz/seeds/http_head/5115d1789cf8d3062bcfca602685c2fce5d74b21 b/fuzz/seeds/http_head/5115d1789cf8d3062bcfca602685c2fce5d74b21 new file mode 100644 index 0000000..9bff3d5 --- /dev/null +++ b/fuzz/seeds/http_head/5115d1789cf8d3062bcfca602685c2fce5d74b21 @@ -0,0 +1,4 @@ + n HTTP/1.0 +Hsx ov +C + diff --git a/fuzz/seeds/http_head/511993d3c99719e38a6779073019dacd7178ddb9 b/fuzz/seeds/http_head/511993d3c99719e38a6779073019dacd7178ddb9 new file mode 100644 index 0000000..675f43a --- /dev/null +++ b/fuzz/seeds/http_head/511993d3c99719e38a6779073019dacd7178ddb9 @@ -0,0 +1 @@ +P \ No newline at end of file diff --git a/fuzz/seeds/http_head/51827b9a06961b2c82d5e60f5175ea86cd28441e b/fuzz/seeds/http_head/51827b9a06961b2c82d5e60f5175ea86cd28441e new file mode 100644 index 0000000000000000000000000000000000000000..40e26bc89906b6da40e2fe1036667db12b8f9f62 GIT binary patch literal 222 zcmZ>F4N=fn@CXSB&^OdGb2n$K^58NbZgvc^d-xb20O+pV)PkHuy<`utV|lqi?zK`d;N{}w JLU$_2G63MgJ7)j@ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/521b07a91ea54c0e4889a167476e7aa57f11f5b6 b/fuzz/seeds/http_head/521b07a91ea54c0e4889a167476e7aa57f11f5b6 new file mode 100644 index 0000000..4e5fb17 --- /dev/null +++ b/fuzz/seeds/http_head/521b07a91ea54c0e4889a167476e7aa57f11f5b6 @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +H-ot: +Accep :t*/*1 h: 0 + +eLe diff --git a/fuzz/seeds/http_head/522cdfcd7b5a3b3151f3ec7bbd4dd340775d7723 b/fuzz/seeds/http_head/522cdfcd7b5a3b3151f3ec7bbd4dd340775d7723 new file mode 100644 index 0000000000000000000000000000000000000000..e7575f0b590cfc382b323db5b4479bc21f35d704 GIT binary patch literal 128 zcmZ>F4N=fh@CXSB&^OdG~3 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/53b39bb051b50553c82a2e40663772760753178c b/fuzz/seeds/http_head/53b39bb051b50553c82a2e40663772760753178c new file mode 100644 index 0000000000000000000000000000000000000000..e2d06413acc9d9cb074c0d95b37ef84ac4b29ec7 GIT binary patch literal 20 Scmd<(Dt31bVPQZ3UM>I_I{}6O literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/53fb59ae83f5627af994263fc90b087a7c677c2d b/fuzz/seeds/http_head/53fb59ae83f5627af994263fc90b087a7c677c2d new file mode 100644 index 0000000000000000000000000000000000000000..5177d5f04dc01b51d873c62b7f96cf56c0c297bd GIT binary patch literal 26 TcmZQzU=Z;|0}5KaT)bQWNwx)D literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/54cf95e7f81ada1522fb3ebb05aef5c84aa7e29a b/fuzz/seeds/http_head/54cf95e7f81ada1522fb3ebb05aef5c84aa7e29a new file mode 100644 index 0000000..70da040 --- /dev/null +++ b/fuzz/seeds/http_head/54cf95e7f81ada1522fb3ebb05aef5c84aa7e29a @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +Host: Qempl +User-gJAKt: fu*/* + diff --git a/fuzz/seeds/http_head/557b09c20471490d074cbd290a01f35d484ccbf7 b/fuzz/seeds/http_head/557b09c20471490d074cbd290a01f35d484ccbf7 new file mode 100644 index 0000000..918f387 --- /dev/null +++ b/fuzz/seeds/http_head/557b09c20471490d074cbd290a01f35d484ccbf7 @@ -0,0 +1,6 @@ +GET , HTTP/1.1 +Hosr-: :xa.com +User-AgJnt:יuAz +Ai +Ho> + \ No newline at end of file diff --git a/fuzz/seeds/http_head/55cdecd67ea14762b6a9203fb9dbd240835060e4 b/fuzz/seeds/http_head/55cdecd67ea14762b6a9203fb9dbd240835060e4 new file mode 100644 index 0000000000000000000000000000000000000000..c8d16fa3af8fe05fbd05364f9401a0d1f75c5720 GIT binary patch literal 7 OcmeZw4`v7maRmSeRsquh literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/55d6dac2f3b61eaf9e3a6372de25aeca6e42a144 b/fuzz/seeds/http_head/55d6dac2f3b61eaf9e3a6372de25aeca6e42a144 new file mode 100644 index 0000000000000000000000000000000000000000..46cb8b6e922dc489243960ba071549b3fb4abf63 GIT binary patch literal 82 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGKW^PUi&xd(Q?Q literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/56487907defeaa575f4cb8277c59339164b20e3e b/fuzz/seeds/http_head/56487907defeaa575f4cb8277c59339164b20e3e new file mode 100644 index 0000000..292319e --- /dev/null +++ b/fuzz/seeds/http_head/56487907defeaa575f4cb8277c59339164b20e3e @@ -0,0 +1,6 @@ +GET / HTTP/1.1 +Ho]t: + +Ho]t: +AOGSTHTTP/(1.1 +Ho]t:o](0.1 diff --git a/fuzz/seeds/http_head/57e56855bb977a86a143d8f1326f3a87a3f14c31 b/fuzz/seeds/http_head/57e56855bb977a86a143d8f1326f3a87a3f14c31 new file mode 100644 index 0000000..a0d191c --- /dev/null +++ b/fuzz/seeds/http_head/57e56855bb977a86a143d8f1326f3a87a3f14c31 @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +t: expaom +Usar-Ag;nt: fu** + diff --git a/fuzz/seeds/http_head/59d2672009176af5327fd6999229c401a08ad465 b/fuzz/seeds/http_head/59d2672009176af5327fd6999229c401a08ad465 new file mode 100644 index 0000000..3295846 --- /dev/null +++ b/fuzz/seeds/http_head/59d2672009176af5327fd6999229c401a08ad465 @@ -0,0 +1,11 @@ +GET / HTTP/1.1 +H-ot: + + +w +H +Ct: +AP1 +H-ot: + +eLe diff --git a/fuzz/seeds/http_head/5f8985ac34321bfc2beb61a3f24b97c355c96507 b/fuzz/seeds/http_head/5f8985ac34321bfc2beb61a3f24b97c355c96507 new file mode 100644 index 0000000000000000000000000000000000000000..3c1a0ed035e7fd8f8dcd9378ebf5ccb183c97225 GIT binary patch literal 8 Mcmd<(VgP{v009O7XaE2J literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/5fd40979a12e116292373708b886fa179553a301 b/fuzz/seeds/http_head/5fd40979a12e116292373708b886fa179553a301 new file mode 100644 index 0000000000000000000000000000000000000000..2cd6fc214a02b5c4765b7a74b12064d95755fee1 GIT binary patch literal 53 vcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGT3ag0dyD!9{`p-GZz2= literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/5fe0db11fdb7b70777ce36573d4d52cfd3afb8dc b/fuzz/seeds/http_head/5fe0db11fdb7b70777ce36573d4d52cfd3afb8dc new file mode 100644 index 0000000000000000000000000000000000000000..64b6fee5845f2ce0607b6c1c4625b5d37ceffa0e GIT binary patch literal 30 icmZ>F4N=fn@CXSB&^OdGJ=x&@#B literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/62480b2abdf454663988b7f9844f8fe1ccfdd50e b/fuzz/seeds/http_head/62480b2abdf454663988b7f9844f8fe1ccfdd50e new file mode 100644 index 0000000000000000000000000000000000000000..add2c3b6c6f1ae67bb0044e9230fb88a1484ef06 GIT binary patch literal 36 rcmWIW4-Qe#PfW?p%v10P2?@|Q)HCGe^2jePW3XaiU{K)Y;^hJWv?vGt literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/65cb356f541d9b6527b87a5a5a427e8f00df1486 b/fuzz/seeds/http_head/65cb356f541d9b6527b87a5a5a427e8f00df1486 new file mode 100644 index 0000000..80f3f86 --- /dev/null +++ b/fuzz/seeds/http_head/65cb356f541d9b6527b87a5a5a427e8f00df1486 @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +Host: exampm +Usep-AgJnt: ept +/ diff --git a/fuzz/seeds/http_head/66928e6cbb59c3a3bce606959ef4a865fe04e642 b/fuzz/seeds/http_head/66928e6cbb59c3a3bce606959ef4a865fe04e642 new file mode 100644 index 0000000..99a8091 --- /dev/null +++ b/fuzz/seeds/http_head/66928e6cbb59c3a3bce606959ef4a865fe04e642 @@ -0,0 +1,2 @@ + + diff --git a/fuzz/seeds/http_head/6756e57fbf451cbe33834e282ad7625734293afe b/fuzz/seeds/http_head/6756e57fbf451cbe33834e282ad7625734293afe new file mode 100644 index 0000000000000000000000000000000000000000..e0d6bcde21338109f93fca8a04347bd3eafdb9b5 GIT binary patch literal 94 zcmZ>F4N=fn@CXSB&^OdGz~E=PSWUM@R^;(R*>53o$C Sm4dz_7rG#dnq*!sUM>K8pb>ch literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/6898b5aa4489287a766de4096b7d85a12889c4c4 b/fuzz/seeds/http_head/6898b5aa4489287a766de4096b7d85a12889c4c4 new file mode 100644 index 0000000000000000000000000000000000000000..673b5628e8d8e2a1cbd9a83cc92bd9e2a25ce5f3 GIT binary patch literal 49 zcmZ>F4N+hX4Gs0kFD|hP4GlL_@CXSB&^OdGF4N=fn@CXSB&^OdGPx# literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/69fa274ef1d8e1dba9eafde0938129c314f05953 b/fuzz/seeds/http_head/69fa274ef1d8e1dba9eafde0938129c314f05953 new file mode 100644 index 0000000..fc71c03 --- /dev/null +++ b/fuzz/seeds/http_head/69fa274ef1d8e1dba9eafde0938129c314f05953 @@ -0,0 +1,8 @@ +GET / HTTP/1.1 +Host: exampl +UsermgJAKt: fl +UsermgJAKt: fuzz :ET / HTTP/1.1 +Host: exampl +UsermgJAKt: fl +UsermgJAKt: fuzz : */* */* + diff --git a/fuzz/seeds/http_head/6ad018374603ed36c745049119725089467e9d1e b/fuzz/seeds/http_head/6ad018374603ed36c745049119725089467e9d1e new file mode 100644 index 0000000000000000000000000000000000000000..79359ecd0ccfb5cd98f72d656bd7933e4c676c92 GIT binary patch literal 952 zcmZ>F4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL z21ck758eC{E1&=`T!w)Gq7AG`wF4N=fn@CXSB&^OdGk literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/6faaf4064f876537b646eec71ce3d756d08bb5df b/fuzz/seeds/http_head/6faaf4064f876537b646eec71ce3d756d08bb5df new file mode 100644 index 0000000..707560a --- /dev/null +++ b/fuzz/seeds/http_head/6faaf4064f876537b646eec71ce3d756d08bb5df @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +Host: example.com +Ucer-Agent:uzz/* + diff --git a/fuzz/seeds/http_head/6ff9109eb384b2d679612eacadad1c23b1b41e4f b/fuzz/seeds/http_head/6ff9109eb384b2d679612eacadad1c23b1b41e4f new file mode 100644 index 0000000..1a4099f --- /dev/null +++ b/fuzz/seeds/http_head/6ff9109eb384b2d679612eacadad1c23b1b41e4f @@ -0,0 +1,45 @@ +GET Z/1 HTTP/1.1 +osHt: +Ac +osHt: +AosHt: +Ac +osHt: +AcceosHtceTTGET / HTTP/1.1 +Ho]t: + 󷐢t: +1 +Ho]t: + 󷐢t: +AOGPTGET / HTTP/1.1 +Ho]t: + 󷐢t: +AOGP/(1P/1t: + +osHt: +ce.1 +Ho]t: + 󷐢t: +ATTGET / HTTP/1.1 +Ho]t: + 󷐢t: +AOGP/(1P/1t: + +osHt: +ce.1 +Ho]t: + 󷐢t: +AOGPTGET / HTTP/1.1 +Ho]t: + 󷐢t: +AOGP/(1P/1t: + +osHt: +ce.1 +Ho]t: + 󷐢t: +AOGP/(1P/1.1 +osHt: +AccTTP1. .1 (0 + +.1 diff --git a/fuzz/seeds/http_head/70db29c308f8e7a885aa6a43858bc773a2fb3880 b/fuzz/seeds/http_head/70db29c308f8e7a885aa6a43858bc773a2fb3880 new file mode 100644 index 0000000..2599970 --- /dev/null +++ b/fuzz/seeds/http_head/70db29c308f8e7a885aa6a43858bc773a2fb3880 @@ -0,0 +1,8 @@ +GET / HTTP/1.1 +H-ot: +ep :t*/*1 +H +Co-t: +Accep :Lengt: 5 + +eLe diff --git a/fuzz/seeds/http_head/7161dc7be9b4a0d1950b032ecb18fea2faf98806 b/fuzz/seeds/http_head/7161dc7be9b4a0d1950b032ecb18fea2faf98806 new file mode 100644 index 0000000..2382a67 --- /dev/null +++ b/fuzz/seeds/http_head/7161dc7be9b4a0d1950b032ecb18fea2faf98806 @@ -0,0 +1,3 @@ +GET , HTTP/1.1 +Hosr-AgJot:*Act: f + diff --git a/fuzz/seeds/http_head/718b0059b629b63dc87bd3ef892f76f6e1371705 b/fuzz/seeds/http_head/718b0059b629b63dc87bd3ef892f76f6e1371705 new file mode 100644 index 0000000..db62f36 --- /dev/null +++ b/fuzz/seeds/http_head/718b0059b629b63dc87bd3ef892f76f6e1371705 @@ -0,0 +1,2 @@ + + diff --git a/fuzz/seeds/http_head/726bb8bf1e63c4298140ed2a9e04079471c28e2c b/fuzz/seeds/http_head/726bb8bf1e63c4298140ed2a9e04079471c28e2c new file mode 100644 index 0000000000000000000000000000000000000000..7dc83a0ff158f779717a9da06c73d7f87deadccd GIT binary patch literal 510 zcmd6jJqp7x421~4le!3T`=^^Por0;%< z#+xq2!3P&KcD7~9G(2C?s{~R#Ooq7ejZ80i%`!#V{I=!VMye^9Eit;YM#3X%1u88P zAem6RB1_oDRbsX-_{*b&3-t_UTDi!_Ob551Jax7**}bzum|@W$Ha`h1>|x#!H-c2- H_!#XQZvRl^ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/73e17461e84a17bdc9826505f8591b1a1baafbbe b/fuzz/seeds/http_head/73e17461e84a17bdc9826505f8591b1a1baafbbe new file mode 100644 index 0000000..8cd7d84 --- /dev/null +++ b/fuzz/seeds/http_head/73e17461e84a17bdc9826505f8591b1a1baafbbe @@ -0,0 +1,3 @@ +GET / HTTP/!.2 +/* + diff --git a/fuzz/seeds/http_head/76346b7271b1ed8075f6d56eb2151fd9bb62e809 b/fuzz/seeds/http_head/76346b7271b1ed8075f6d56eb2151fd9bb62e809 new file mode 100644 index 0000000000000000000000000000000000000000..649fa26a345e02e7aa59e0d546a208c2f3f83e7a GIT binary patch literal 39 ucmWIW4-Qe#PfW?p%v10P2?@|Q)HCGe^2jePV@SF4N=fn@CXSB&^OdG? literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/79dc597260d7d7cb6136f1a962c6d144c4f4a0a4 b/fuzz/seeds/http_head/79dc597260d7d7cb6136f1a962c6d144c4f4a0a4 new file mode 100644 index 0000000000000000000000000000000000000000..05f21d06480d724a0e223f46b95158aa4badf6db GIT binary patch literal 647 zcmZ>F4N=fn@CXSB&^OdGx9WbpSc%3*1orDtX*n9*O!w7UOUImzk uF{KmIz(I`}R*1mGt6u@8KZk*V0hS=Jxhw>W%Lv3WRdNasdErqP;Qz literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/7dd67ec03a5e51994832b497ca8c839dc07d2565 b/fuzz/seeds/http_head/7dd67ec03a5e51994832b497ca8c839dc07d2565 new file mode 100644 index 0000000..5850346 --- /dev/null +++ b/fuzz/seeds/http_head/7dd67ec03a5e51994832b497ca8c839dc07d2565 @@ -0,0 +1,2 @@ +POST /admin HTTP/1.1 +Hosv: diff --git a/fuzz/seeds/http_head/7e75ab677f449f6dff4db46c006b1888dd8369b9 b/fuzz/seeds/http_head/7e75ab677f449f6dff4db46c006b1888dd8369b9 new file mode 100644 index 0000000000000000000000000000000000000000..fa4efd350133491b1e875e88aad78a3ea9d81e5b GIT binary patch literal 151 zcmZ>F4N=fn@CXSB&^OdGp2OSy! literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/7e7c9a3570be4dfb54535ba9b5ca942cadf1d925 b/fuzz/seeds/http_head/7e7c9a3570be4dfb54535ba9b5ca942cadf1d925 new file mode 100644 index 0000000000000000000000000000000000000000..69941aca727085806bd545e79f1c5b21aacf8590 GIT binary patch literal 123 zcmZ>F4N=fn@CXSB&^OdG!FU`SwKuqx5g2SP(D nF0eYVEKmjrobz>oD)kJ2y1}9fS|EeCpu!+FL>NgY&{!@2fPfZR literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/801170952c66dca4e4bfe704e31c96a46ffb2428 b/fuzz/seeds/http_head/801170952c66dca4e4bfe704e31c96a46ffb2428 new file mode 100644 index 0000000000000000000000000000000000000000..af92c4e53379d7572257e652b7fe53ce6afc03eb GIT binary patch literal 57 zcmZ>F4N=fn@CXSB&^OdG!kdF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGKW60Fd+&7ytkO literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/819f19118aa7a4e9dc2c3c907043138a5327e22f b/fuzz/seeds/http_head/819f19118aa7a4e9dc2c3c907043138a5327e22f new file mode 100644 index 0000000000000000000000000000000000000000..3bdbb72d64374915f3ca572585831272928016a3 GIT binary patch literal 63 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG1u zE3`PZNH^Wf(Hkh5R;s11#mnWGoNNH(f!VxV0sde^^tC|x(@Lw*wJ-odG0<8CEiHXs Jpn(DY!2rsqBE$dy literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/83befa8a154c1b33daa1250719a248a5e723cf77 b/fuzz/seeds/http_head/83befa8a154c1b33daa1250719a248a5e723cf77 new file mode 100644 index 0000000..44b066a --- /dev/null +++ b/fuzz/seeds/http_head/83befa8a154c1b33daa1250719a248a5e723cf77 @@ -0,0 +1 @@ + o HTTP/1.0 \ No newline at end of file diff --git a/fuzz/seeds/http_head/84320a4fd36d7a5ca2f33db9524df2f0715e4b11 b/fuzz/seeds/http_head/84320a4fd36d7a5ca2f33db9524df2f0715e4b11 new file mode 100644 index 0000000..c2ad0d2 --- /dev/null +++ b/fuzz/seeds/http_head/84320a4fd36d7a5ca2f33db9524df2f0715e4b11 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +hosb:o- + diff --git a/fuzz/seeds/http_head/85e1d3bd71f1f0be02920f9dde6f00b4d3f77d45 b/fuzz/seeds/http_head/85e1d3bd71f1f0be02920f9dde6f00b4d3f77d45 new file mode 100644 index 0000000000000000000000000000000000000000..1969d13f9e1e1d649c452d011239d89b090a7e2e GIT binary patch literal 21 ccmWGwU|>-25AY39&`(Us%`6G=P$F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4Pj(p&{EJ>@CXSB&^OdGyzW@LL literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/8c3d3e4538cd880bf3a9bfabfef0e4d7e7a138c8 b/fuzz/seeds/http_head/8c3d3e4538cd880bf3a9bfabfef0e4d7e7a138c8 new file mode 100644 index 0000000000000000000000000000000000000000..9bed21ee47de3f2d5ce1abd579a69afa741ff569 GIT binary patch literal 124 zcmZ>F4N=h5SMUf43D7sxGvwv+$S*Fj(o4?I<>d-3PA$@POiyK~vQpsUmeWj literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/8cd4d0d3b090b319f9e3b14252e652fad3c1d3dd b/fuzz/seeds/http_head/8cd4d0d3b090b319f9e3b14252e652fad3c1d3dd new file mode 100644 index 0000000000000000000000000000000000000000..4a177918a2a4d4814c283c2eeef7dc1f4b189540 GIT binary patch literal 156 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG-8K2U-Sq==J? zIUl5oUC)S@%L>A9$1o@#s@e)-E>MS62^Uxg&;VX$2Id5yW(bpkAwj_q&IH?m&;>FE pWDiUi$YoZZB@7A$2$w;fgX|B8^(Z>whM?M~0Q3?sSE^5{E&yltEMouw literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/8fd841d6476fcbcb3b76a8bec816d69f39e21a0c b/fuzz/seeds/http_head/8fd841d6476fcbcb3b76a8bec816d69f39e21a0c new file mode 100644 index 0000000000000000000000000000000000000000..b6a3b227a6f241e567d9b506f8120c2b57a806ab GIT binary patch literal 27 icmZ>F4N=fn@CXSB&^OdG;N{X$C@!&LVBqEAF4N=fn@CXSB&^OdGb=Qb;SULK5*Su_`Go WNK>#PMkP>h0nh|3eJx%tUM>LHSRYdW literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/9183e0989d410ce7bbb1fe067418dd0e644814c1 b/fuzz/seeds/http_head/9183e0989d410ce7bbb1fe067418dd0e644814c1 new file mode 100644 index 0000000..e77e378 --- /dev/null +++ b/fuzz/seeds/http_head/9183e0989d410ce7bbb1fe067418dd0e644814c1 @@ -0,0 +1,3 @@ +&ET / HTTP/1.1 +Host: + diff --git a/fuzz/seeds/http_head/92cfa0abe9d4ad95609836130c69c5c320919b53 b/fuzz/seeds/http_head/92cfa0abe9d4ad95609836130c69c5c320919b53 new file mode 100644 index 0000000000000000000000000000000000000000..636d87b318711d1643287e73f8fe8b010a2b0081 GIT binary patch literal 6 NcmcEK(&A#^0ssPP0E7Sl literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/94c7bfdea51208dcdb4c9aaf42b3efcc2331049a b/fuzz/seeds/http_head/94c7bfdea51208dcdb4c9aaf42b3efcc2331049a new file mode 100644 index 0000000..6b39906 --- /dev/null +++ b/fuzz/seeds/http_head/94c7bfdea51208dcdb4c9aaf42b3efcc2331049a @@ -0,0 +1,9 @@ +GET / HTTP/1.1 +H: + 󷐢t: +AO +H: +. + +: +e- \ No newline at end of file diff --git a/fuzz/seeds/http_head/95129db63e0f80a7be7e59b7c0ec731cd4f098e0 b/fuzz/seeds/http_head/95129db63e0f80a7be7e59b7c0ec731cd4f098e0 new file mode 100644 index 0000000000000000000000000000000000000000..da909bda3f2abd25cb461ef58ecc0cd8078aef2a GIT binary patch literal 417 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG$z z0+*w{Rw{@G<9nc}fEePyfME!Urbv+H7VHj#h+dl&5DN6Eo}m^sy@(~8i1i{dAxMGo j;F$5qM+w1fg0TqF4N=fh@CXSB&^OdGF4N=fn@CXSB&^OdG$z d0+*w{Rw{@G<9lFHacx#WD6-*Nsd~vE9RRB686p4x literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/9d937c1384ca3d68461a62dd4ac25f95436f841e b/fuzz/seeds/http_head/9d937c1384ca3d68461a62dd4ac25f95436f841e new file mode 100644 index 0000000000000000000000000000000000000000..07e0a87fc6e162a03c4a1f348e69d80b467dd797 GIT binary patch literal 92 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG98of literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/a223c583c018ff2921244930924f36d2f1658622 b/fuzz/seeds/http_head/a223c583c018ff2921244930924f36d2f1658622 new file mode 100644 index 0000000..caa8dac --- /dev/null +++ b/fuzz/seeds/http_head/a223c583c018ff2921244930924f36d2f1658622 @@ -0,0 +1,3 @@ +GET - HTTP/1.1 +Ho.1 -ot: `8֚ +PU \ No newline at end of file diff --git a/fuzz/seeds/http_head/a51f8c8da3fbebbbf46c86693c45934b6f202f1d b/fuzz/seeds/http_head/a51f8c8da3fbebbbf46c86693c45934b6f202f1d new file mode 100644 index 0000000000000000000000000000000000000000..e4cfa976788ccce1413a0c4dfac99a130cb6469f GIT binary patch literal 20 YcmWIW4-8?*V*r7W0DVIPUM^lP04Fj76#xJL literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/a6fc4b37c9ffda13cffe809c77032aa4c9353df2 b/fuzz/seeds/http_head/a6fc4b37c9ffda13cffe809c77032aa4c9353df2 new file mode 100644 index 0000000000000000000000000000000000000000..74b88219ab524600338a874ea5950fa252731408 GIT binary patch literal 58 zcmZ>F4N=fn@CXSB&^OdG!k{NfTTh13cL1}F4N+jwSMUf43D7sxGvwv+$S-DKkYhjqtDIE5r??!^ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/a9a1e0755b07ca0d8a524c0896935a0af9ad414f b/fuzz/seeds/http_head/a9a1e0755b07ca0d8a524c0896935a0af9ad414f new file mode 100644 index 0000000000000000000000000000000000000000..fd28e7b16615ea6e3f4ab5b7b45cb0597784dde6 GIT binary patch literal 56 zcmWIW4-Qe#PfW?p%v10P2?@|Q)HCGe^2jePV_>jiU|>+F;N=2RAhvUAUV2G}m4X2; H7cUn8d)^DF literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/ab157cadf257a400d04e0041e134e14f3df30652 b/fuzz/seeds/http_head/ab157cadf257a400d04e0041e134e14f3df30652 new file mode 100644 index 0000000..82d6ef1 --- /dev/null +++ b/fuzz/seeds/http_head/ab157cadf257a400d04e0041e134e14f3df30652 @@ -0,0 +1,10 @@ +GET / HTTP/1.1 +H-ot: +Accep : +H +Co-t: +AP/1.1 +H-ot: + 0 + +e diff --git a/fuzz/seeds/http_head/ac459b982cf19b9027d704626c81607d54793141 b/fuzz/seeds/http_head/ac459b982cf19b9027d704626c81607d54793141 new file mode 100644 index 0000000000000000000000000000000000000000..0e824e204a11ca207beabeaaa92fa9753233e759 GIT binary patch literal 114 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGbxb%#8`G5jk&iM)m Wz{|x86yjxOD6x`dU|{e`)dc`8jSKt$ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/af2ecd19d153c5c4dee0b978399932a8f7695522 b/fuzz/seeds/http_head/af2ecd19d153c5c4dee0b978399932a8f7695522 new file mode 100644 index 0000000000000000000000000000000000000000..11f05ebc92df7c6099537a652f950abf5599fb34 GIT binary patch literal 15 WcmWGh&}R_mD(2G4SK#&HF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG^EGq>rM|~|` SE<1+ed^-jYm?B;-D=q+CX%GGY literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/b44fdb8ae252ffad6e6826e2cac99328354299ea b/fuzz/seeds/http_head/b44fdb8ae252ffad6e6826e2cac99328354299ea new file mode 100644 index 0000000..38a0913 --- /dev/null +++ b/fuzz/seeds/http_head/b44fdb8ae252ffad6e6826e2cac99328354299ea @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +ent: +/A/֚ +PU \ No newline at end of file diff --git a/fuzz/seeds/http_head/b45213571eefcf3f48038d8ab5a611d500e432e4 b/fuzz/seeds/http_head/b45213571eefcf3f48038d8ab5a611d500e432e4 new file mode 100644 index 0000000..8539a4e --- /dev/null +++ b/fuzz/seeds/http_head/b45213571eefcf3f48038d8ab5a611d500e432e4 @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +Host: exampl.com +User-Agent: fuzz +Accept: */* + diff --git a/fuzz/seeds/http_head/b5d4dcf886b3275e683179ef4a4231950c508e93 b/fuzz/seeds/http_head/b5d4dcf886b3275e683179ef4a4231950c508e93 new file mode 100644 index 0000000..ca161b4 --- /dev/null +++ b/fuzz/seeds/http_head/b5d4dcf886b3275e683179ef4a4231950c508e93 @@ -0,0 +1,18 @@ +GET /1 HTTP/1.1 +osHt: +AcceTT1 +osHt: +AceTTP/1.1 +oyHt: +AccH/1.1 +osHt: + /1 HTTP/1.1 +osHt: +AcceTT1 +osHt: +AcceTTP/1.1 +oyHt: +AccP/1.1 +osHt: +AccTTPPTIONS.2 + diff --git a/fuzz/seeds/http_head/b6d780ec6261370a1e68cce202191e363b6e990c b/fuzz/seeds/http_head/b6d780ec6261370a1e68cce202191e363b6e990c new file mode 100644 index 0000000000000000000000000000000000000000..75a2e06aafffe60fb0ac74abf7e6fc042c52129d GIT binary patch literal 37 qcmWIW4-Qc+%v10P2?@|Q)HCGeDq~<`00OJ@l2BeQUM>KybO*%% literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/b73b2e1a88b7858d207ceb97a37af7a40c1f570f b/fuzz/seeds/http_head/b73b2e1a88b7858d207ceb97a37af7a40c1f570f new file mode 100644 index 0000000000000000000000000000000000000000..5538a88f1ccd249d0d6279241c1038220dec6c6b GIT binary patch literal 176 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGSEwSPPF|4?Fxp0Vu@FmFknK3jo@E4MqR} literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/c647df6d300a1adde25ab01bb7b06bd1aa8a37ce b/fuzz/seeds/http_head/c647df6d300a1adde25ab01bb7b06bd1aa8a37ce new file mode 100644 index 0000000..d87dfee --- /dev/null +++ b/fuzz/seeds/http_head/c647df6d300a1adde25ab01bb7b06bd1aa8a37ce @@ -0,0 +1,3 @@ +P0ST /ad HTTP/1.1 +Ho: 0 + diff --git a/fuzz/seeds/http_head/c66be7210915f39e91456fc2eac9441012a0a3ea b/fuzz/seeds/http_head/c66be7210915f39e91456fc2eac9441012a0a3ea new file mode 100644 index 0000000..bb7d13c --- /dev/null +++ b/fuzz/seeds/http_head/c66be7210915f39e91456fc2eac9441012a0a3ea @@ -0,0 +1 @@ +õ \ No newline at end of file diff --git a/fuzz/seeds/http_head/c6864d82445e308d6130322c7d09690a109043b9 b/fuzz/seeds/http_head/c6864d82445e308d6130322c7d09690a109043b9 new file mode 100644 index 0000000000000000000000000000000000000000..5a87c9f2f496267bf286890a4deed11359ed397f GIT binary patch literal 23 YcmZ>FW$^W74Dkg6UM^lP5JNuz06oS9D*ylh literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/c7004b0e3ccf1c15b47fb76da5133d37117713b4 b/fuzz/seeds/http_head/c7004b0e3ccf1c15b47fb76da5133d37117713b4 new file mode 100644 index 0000000000000000000000000000000000000000..f7d186e3d649e28ce4dd88e3e3f0786844059dc1 GIT binary patch literal 163 zcmZ>F4N=fh@CXSB&^OdG~n%DR4RJYbEFB!ezXGGGH^@fi~!)+JN00uo1jm?x85^?YIDG=P0KD literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/c73d58b1a716e0304878e31ebe91d2cb77711d8f b/fuzz/seeds/http_head/c73d58b1a716e0304878e31ebe91d2cb77711d8f new file mode 100644 index 0000000..658d85b --- /dev/null +++ b/fuzz/seeds/http_head/c73d58b1a716e0304878e31ebe91d2cb77711d8f @@ -0,0 +1 @@ +GETt: fuzP1 \ No newline at end of file diff --git a/fuzz/seeds/http_head/cc1934558564a2389da2b95014aa26b0c4d77349 b/fuzz/seeds/http_head/cc1934558564a2389da2b95014aa26b0c4d77349 new file mode 100644 index 0000000..1631a2a --- /dev/null +++ b/fuzz/seeds/http_head/cc1934558564a2389da2b95014aa26b0c4d77349 @@ -0,0 +1,15 @@ +GET / HTTP/1.1 +Hst: exampl +User-gJAKt: fuzz exampl +User-gJZKt:cc0t:-Aost: exampl +User-gJAKt: fuzz exampl +User-gJZKt:cc0t:-ET / HTTP/1.1 +Hst: exampl +User-gJAKt: fuzz exampl +User-gJZKt:cc0t:-Aost: exampl +User-gJAKt: fuzz exampl +User-gJZKt:cc0t:-Ag */* + +POSTAg */* + +POST/ \ No newline at end of file diff --git a/fuzz/seeds/http_head/cc1e22267ce66f395f1b92965327772607589cbf b/fuzz/seeds/http_head/cc1e22267ce66f395f1b92965327772607589cbf new file mode 100644 index 0000000..c9a3ff7 --- /dev/null +++ b/fuzz/seeds/http_head/cc1e22267ce66f395f1b92965327772607589cbf @@ -0,0 +1,3 @@ +POST /ain HTTP/1.1 +Hos: +0 diff --git a/fuzz/seeds/http_head/cd3d661bd223bb3e61061f1452e7cc2c8de5c8be b/fuzz/seeds/http_head/cd3d661bd223bb3e61061f1452e7cc2c8de5c8be new file mode 100644 index 0000000..c730259 --- /dev/null +++ b/fuzz/seeds/http_head/cd3d661bd223bb3e61061f1452e7cc2c8de5c8be @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +Host: com +User-Agent: fuzGET TTP/1.1 om +User-Agent: fcce`t:z/ ** + diff --git a/fuzz/seeds/http_head/ce245f50eb449c2372219e52a8878970b0257dd8 b/fuzz/seeds/http_head/ce245f50eb449c2372219e52a8878970b0257dd8 new file mode 100644 index 0000000..aef8504 --- /dev/null +++ b/fuzz/seeds/http_head/ce245f50eb449c2372219e52a8878970b0257dd8 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +Host: example.coÿÿÿm +User-AgJnt: fuGEÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ]ÉÉÉÉÉÉÉÒÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉT UUUzUUUW2 HTP/z \ No newline at end of file diff --git a/fuzz/seeds/http_head/cfb381718552fa0c20c905e1e6ae2d7411b993d0 b/fuzz/seeds/http_head/cfb381718552fa0c20c905e1e6ae2d7411b993d0 new file mode 100644 index 0000000..03de079 --- /dev/null +++ b/fuzz/seeds/http_head/cfb381718552fa0c20c905e1e6ae2d7411b993d0 @@ -0,0 +1 @@ +GEPOT / \ No newline at end of file diff --git a/fuzz/seeds/http_head/d09a5451b92b09463cdc245286e717d153c9d41d b/fuzz/seeds/http_head/d09a5451b92b09463cdc245286e717d153c9d41d new file mode 100644 index 0000000..be46310 --- /dev/null +++ b/fuzz/seeds/http_head/d09a5451b92b09463cdc245286e717d153c9d41d @@ -0,0 +1,3 @@ +JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJO + + diff --git a/fuzz/seeds/http_head/d113b04bc5351592f6f4ec3b8724726feaf45468 b/fuzz/seeds/http_head/d113b04bc5351592f6f4ec3b8724726feaf45468 new file mode 100644 index 0000000000000000000000000000000000000000..16d41063469ad1ebd39f377e9b3b9848021c35cc GIT binary patch literal 55 zcmWIW4-Qe#PfW?p%v10P2?@|Q)HCGe^2lcZ0V{F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG0uF&GtB3(zR)VvZa1ukAL zpaR{ZRL68KH{JXaE1&=`LdHWkj7u{&RJ}MgJryLC&gB79#0=Dzz`$TtqNT3|vW&|) zUl*tyY_V>Bl@*r)P*m4ZAFB?iqZq6}_QH)s*qfY>!*nB{O}I_h*8+MH=m9PO3W_k% literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/d391e090bf94006c8c1ef6dd3b42afc1725a3bf8 b/fuzz/seeds/http_head/d391e090bf94006c8c1ef6dd3b42afc1725a3bf8 new file mode 100644 index 0000000000000000000000000000000000000000..2e925b8cf33659bca4f3238d556739255eee27db GIT binary patch literal 164 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdG$z q0+*w{Rw{@G<9nc}z-b7Hrbv+H7VHj#h+dl&5Q^+mtyH~akn;f=@-^iE literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/d85bbf935be220368812af8079828b448a2525ac b/fuzz/seeds/http_head/d85bbf935be220368812af8079828b448a2525ac new file mode 100644 index 0000000..fd6b570 --- /dev/null +++ b/fuzz/seeds/http_head/d85bbf935be220368812af8079828b448a2525ac @@ -0,0 +1,4 @@ +GET HTTP/1.1 +st: exzz +Accept: */* + diff --git a/fuzz/seeds/http_head/da14213485e309d93e3211e241ee8b6673750829 b/fuzz/seeds/http_head/da14213485e309d93e3211e241ee8b6673750829 new file mode 100644 index 0000000000000000000000000000000000000000..594483c4f1e6fd8899d18a03b1d8f778b93bc221 GIT binary patch literal 343 zcmZ>F4N=fn@CXSB&^OdG!FU`SwKuqx5g2SP(D zF0eYVEKmjrobz={s9*%L!3tU+w{U?>MiB;z>N=)lcN`Y1-x#0ITY Ky<}jJaRC5&KRt{9 literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/dc10ab1cafb1bb450eae4602bfbb791020d53a93 b/fuzz/seeds/http_head/dc10ab1cafb1bb450eae4602bfbb791020d53a93 new file mode 100644 index 0000000000000000000000000000000000000000..6ab20c86868b7cf0f647d9134abd9a3665212ee3 GIT binary patch literal 44 zcmZ>F4N=fn@CXSB&^OdGE@a%2cdPIfKP($@k2=P3$d literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/dc6f1d3f0c3df6ae1d244f517ec358a0944a6f6e b/fuzz/seeds/http_head/dc6f1d3f0c3df6ae1d244f517ec358a0944a6f6e new file mode 100644 index 0000000..19e2455 --- /dev/null +++ b/fuzz/seeds/http_head/dc6f1d3f0c3df6ae1d244f517ec358a0944a6f6e @@ -0,0 +1,5 @@ +GET / HTTP/1.1 +t: expalm.com +Usar-Ag;nt: fu:'.com +Usar-Ag;nt: fu** + diff --git a/fuzz/seeds/http_head/dceb5993f892533ea79c10db41aa6ddf2ed77883 b/fuzz/seeds/http_head/dceb5993f892533ea79c10db41aa6ddf2ed77883 new file mode 100644 index 0000000..678c92d --- /dev/null +++ b/fuzz/seeds/http_head/dceb5993f892533ea79c10db41aa6ddf2ed77883 @@ -0,0 +1,3 @@ +POST /admin HTTP/1.0 +Host: + diff --git a/fuzz/seeds/http_head/de5aa68cbfab3b7afe7ec80f59f3f06ad876f528 b/fuzz/seeds/http_head/de5aa68cbfab3b7afe7ec80f59f3f06ad876f528 new file mode 100644 index 0000000000000000000000000000000000000000..75c807d0a85f4b57fa6304589c67406bd896685b GIT binary patch literal 267 zcmZ>F4N=fn@CXSB&^OdGT}y!OGtdJ7u`WW@ literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/dfa6faa0e553d006751dcf2043aa7452efc2fac7 b/fuzz/seeds/http_head/dfa6faa0e553d006751dcf2043aa7452efc2fac7 new file mode 100644 index 0000000..a26cc0b --- /dev/null +++ b/fuzz/seeds/http_head/dfa6faa0e553d006751dcf2043aa7452efc2fac7 @@ -0,0 +1,3 @@ +GET / HTTP/1.1 +zost: +A \ No newline at end of file diff --git a/fuzz/seeds/http_head/e1636a434652c9e2509fa8afb267dea59f01afe8 b/fuzz/seeds/http_head/e1636a434652c9e2509fa8afb267dea59f01afe8 new file mode 100644 index 0000000000000000000000000000000000000000..bda937968cc2b010cc3f3a17e61065f5d3bbdba6 GIT binary patch literal 30 lcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4N=fh@CXSB&^OdG$lg)QUs~ zhLD8Zf}B*nF4N=fn@CXSB&^OdGs literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/ee9a1761abcbffd7dcda4fcada47e9be29310602 b/fuzz/seeds/http_head/ee9a1761abcbffd7dcda4fcada47e9be29310602 new file mode 100644 index 0000000..a3e1559 --- /dev/null +++ b/fuzz/seeds/http_head/ee9a1761abcbffd7dcda4fcada47e9be29310602 @@ -0,0 +1 @@ +GP ST \ No newline at end of file diff --git a/fuzz/seeds/http_head/f1b1ba2e2d0ac0cd52aa0fda1371adfc14b2c913 b/fuzz/seeds/http_head/f1b1ba2e2d0ac0cd52aa0fda1371adfc14b2c913 new file mode 100644 index 0000000000000000000000000000000000000000..66ae7bd896d3544c6c4c6a6c42479fe321ac9789 GIT binary patch literal 24 fcmWIW4-Qe#PfXFxWMuFN(A8)3VD#hV;^hJWM`{GD literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/f1dc010a34428ffd27cc7bdd1b4272f31a5a8e41 b/fuzz/seeds/http_head/f1dc010a34428ffd27cc7bdd1b4272f31a5a8e41 new file mode 100644 index 0000000..88ea0c3 --- /dev/null +++ b/fuzz/seeds/http_head/f1dc010a34428ffd27cc7bdd1b4272f31a5a8e41 @@ -0,0 +1,2 @@ + + diff --git a/fuzz/seeds/http_head/f3011fe8dae172a386efc68f9ee8fa7c69a17261 b/fuzz/seeds/http_head/f3011fe8dae172a386efc68f9ee8fa7c69a17261 new file mode 100644 index 0000000..66f5124 --- /dev/null +++ b/fuzz/seeds/http_head/f3011fe8dae172a386efc68f9ee8fa7c69a17261 @@ -0,0 +1,12 @@ +GET Z/1 HTTP/1.1 +osHt: +󷐢t: +AOGP/(2P/1.1 +osHt: +ce.1 +Ho]t: + 󷐢t: +AOGP/(Ht: +AccTXP0. .1 (0 + +.1 diff --git a/fuzz/seeds/http_head/f581433164c00d78078d33f61cb37ea2676c1dc6 b/fuzz/seeds/http_head/f581433164c00d78078d33f61cb37ea2676c1dc6 new file mode 100644 index 0000000..47fe490 --- /dev/null +++ b/fuzz/seeds/http_head/f581433164c00d78078d33f61cb37ea2676c1dc6 @@ -0,0 +1,4 @@ +GET / HTTP/1.1 +Host: /1. +Host:al + diff --git a/fuzz/seeds/http_head/f5e57c050fd66b3b95a169cea0f5b9c7d0c2fd71 b/fuzz/seeds/http_head/f5e57c050fd66b3b95a169cea0f5b9c7d0c2fd71 new file mode 100644 index 0000000000000000000000000000000000000000..51ad6c9f97a04bc4a19c7d7292e7af94072823eb GIT binary patch literal 132 zcmZ>F4N=fn@CXSB&^OdGF4N=fn@CXSB&^OdGF4Pj(p&{EJ>@CXSB&^OdG1OOj019|`e literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/fd50a42099453eecf3b30d95af91eb084b9d647c b/fuzz/seeds/http_head/fd50a42099453eecf3b30d95af91eb084b9d647c new file mode 100644 index 0000000..84d891b --- /dev/null +++ b/fuzz/seeds/http_head/fd50a42099453eecf3b30d95af91eb084b9d647c @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/fuzz/seeds/http_head/fdcb9a6d2d0f600231dae50238ae38baa2528f85 b/fuzz/seeds/http_head/fdcb9a6d2d0f600231dae50238ae38baa2528f85 new file mode 100644 index 0000000000000000000000000000000000000000..06871a3cf79a8cbaec927460cbd6e5fe26d8443a GIT binary patch literal 65 zcmZ>F4N=fn@CXSB&^OdGd-3PA$@POi#@#u>wh!C=^?z QG603G6twiUc)57F07T^wZ2$lO literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/fe44b21ebc5fc9d37a712b330a3623ba167a07ba b/fuzz/seeds/http_head/fe44b21ebc5fc9d37a712b330a3623ba167a07ba new file mode 100644 index 0000000000000000000000000000000000000000..08678883d984a844607ca1c84c1ab32ba4cbe1c0 GIT binary patch literal 38 rcmZ>F4N=fn@CXSB&^OdGF4N=fHQt$`~3D7sxGvwv+$S*FjQUIdVih`U}z2y8{UarvM)FNHS^wj(ktJDf6 b1ukAL1}Na=3eh*#GvWmbdF1l~^#G*+XlD{h literal 0 HcmV?d00001 diff --git a/fuzz/seeds/http_head/ff65622375eb645dd5764960149cb0831663a65f b/fuzz/seeds/http_head/ff65622375eb645dd5764960149cb0831663a65f new file mode 100644 index 0000000000000000000000000000000000000000..2ed0db1d4dd2f77042501d74b4d433053f35fbb0 GIT binary patch literal 433 zcmZ>F4N=fn@CXSB&^OdG anyhow::Result { - let mut fixed = [0u8; FIXED_HEADER_BYTES]; - stream.read_exact(&mut fixed).await?; + let mut header = vec![0u8; FIXED_HEADER_BYTES]; + stream.read_exact(&mut header).await?; - if fixed[..12] != SIGNATURE { - anyhow::bail!("invalid inbound PROXY protocol signature"); - } - if fixed[12] != 0x21 { - anyhow::bail!("inbound PROXY protocol requires version 2 PROXY command"); - } - - let payload_len = usize::from(u16::from_be_bytes([fixed[14], fixed[15]])); + let payload_len = usize::from(u16::from_be_bytes([header[14], header[15]])); let total_len = FIXED_HEADER_BYTES .checked_add(payload_len) .ok_or_else(|| anyhow::anyhow!("inbound PROXY header length overflow"))?; @@ -44,7 +38,44 @@ async fn read_v2_header_inner(stream: &mut TcpStream, max_header_bytes: usize) - anyhow::bail!("inbound PROXY header exceeds configured limit"); } - let address_len = match fixed[13] { + header.resize(total_len, 0); + stream.read_exact(&mut header[FIXED_HEADER_BYTES..]).await?; + let (client, consumed) = parse_v2_header(&header, max_header_bytes)?; + debug_assert_eq!(consumed, total_len, "parser must consume exactly one header"); + Ok(client) +} + +/// Parses a complete inbound PROXY v2 header from `buf`. +/// +/// Pure and total: every read is bounds-checked, so arbitrary bytes can only +/// produce an error, never a panic (covered by the `proxy_v2` fuzz target). +/// +/// # Errors +/// Fails on a short buffer, bad signature or command, unsupported address +/// family, TLVs, and on a header larger than `max_header_bytes`. +pub fn parse_v2_header(buf: &[u8], max_header_bytes: usize) -> anyhow::Result<(SocketAddr, usize)> { + if buf.len() < FIXED_HEADER_BYTES { + anyhow::bail!("inbound PROXY header is truncated"); + } + if buf[..12] != SIGNATURE { + anyhow::bail!("invalid inbound PROXY protocol signature"); + } + if buf[12] != 0x21 { + anyhow::bail!("inbound PROXY protocol requires version 2 PROXY command"); + } + + let payload_len = usize::from(u16::from_be_bytes([buf[14], buf[15]])); + let total_len = FIXED_HEADER_BYTES + .checked_add(payload_len) + .ok_or_else(|| anyhow::anyhow!("inbound PROXY header length overflow"))?; + if total_len > max_header_bytes { + anyhow::bail!("inbound PROXY header exceeds configured limit"); + } + if buf.len() < total_len { + anyhow::bail!("inbound PROXY header is truncated"); + } + + let address_len = match buf[13] { 0x11 => 12, 0x21 => 36, family => anyhow::bail!("unsupported inbound PROXY address family/protocol 0x{family:02x}"), @@ -56,22 +87,21 @@ async fn read_v2_header_inner(stream: &mut TcpStream, max_header_bytes: usize) - anyhow::bail!("inbound PROXY v2 TLVs are not supported"); } - let mut payload = vec![0u8; payload_len]; - stream.read_exact(&mut payload).await?; - match fixed[13] { + let payload = &buf[FIXED_HEADER_BYTES..total_len]; + let client = match buf[13] { 0x11 => { let source = Ipv4Addr::new(payload[0], payload[1], payload[2], payload[3]); let port = u16::from_be_bytes([payload[8], payload[9]]); - Ok(SocketAddr::V4(SocketAddrV4::new(source, port))) + SocketAddr::V4(SocketAddrV4::new(source, port)) }, - 0x21 => { + _ => { let source_bytes: [u8; 16] = payload[..16] .try_into() .map_err(|_| anyhow::anyhow!("invalid inbound PROXY IPv6 source address"))?; let source = Ipv6Addr::from(source_bytes); let port = u16::from_be_bytes([payload[32], payload[33]]); - Ok(SocketAddr::V6(SocketAddrV6::new(source, port, 0, 0))) + SocketAddr::V6(SocketAddrV6::new(source, port, 0, 0)) }, - family => anyhow::bail!("unsupported inbound PROXY address family/protocol 0x{family:02x}"), - } + }; + Ok((client, total_len)) } diff --git a/tests/proxy_v2_parser.rs b/tests/proxy_v2_parser.rs new file mode 100644 index 0000000..72a2c37 --- /dev/null +++ b/tests/proxy_v2_parser.rs @@ -0,0 +1,124 @@ +//! Parser contract for inbound PROXY protocol v2 headers. + +#![cfg(feature = "protocol-minecraft")] +//! +//! The parser is pure and total: arbitrary bytes must produce an error, never a +//! panic. These cases pin the accepted wire format and every rejection path. + +use std::net::SocketAddr; + +use rampart::engine::tunnel::parse_v2_header; + +const SIGNATURE: [u8; 12] = *b"\r\n\r\n\0\r\nQUIT\n"; + +fn header(family: u8, payload: &[u8]) -> Vec { + let mut out = Vec::with_capacity(16 + payload.len()); + out.extend_from_slice(&SIGNATURE); + out.push(0x21); + out.push(family); + out.extend_from_slice(&(payload.len() as u16).to_be_bytes()); + out.extend_from_slice(payload); + out +} + +fn v4_payload(source: [u8; 4], source_port: u16) -> Vec { + let mut payload = Vec::with_capacity(12); + payload.extend_from_slice(&source); + payload.extend_from_slice(&[192, 0, 2, 10]); // destination + payload.extend_from_slice(&source_port.to_be_bytes()); + payload.extend_from_slice(&443u16.to_be_bytes()); + payload +} + +fn v6_payload(source: [u8; 16], source_port: u16) -> Vec { + let mut payload = Vec::with_capacity(36); + payload.extend_from_slice(&source); + payload.extend_from_slice(&[0u8; 16]); // destination + payload.extend_from_slice(&source_port.to_be_bytes()); + payload.extend_from_slice(&443u16.to_be_bytes()); + payload +} + +#[test] +fn parses_ipv4_header() { + let buf = header(0x11, &v4_payload([203, 0, 113, 7], 51234)); + let (client, consumed) = parse_v2_header(&buf, 512).expect("valid v4 header"); + assert_eq!(consumed, buf.len()); + assert_eq!(client, "203.0.113.7:51234".parse::().expect("addr")); +} + +#[test] +fn parses_ipv6_header() { + let source = [0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; + let buf = header(0x21, &v6_payload(source, 1024)); + let (client, consumed) = parse_v2_header(&buf, 512).expect("valid v6 header"); + assert_eq!(consumed, buf.len()); + assert_eq!(client, "[2001:db8::1]:1024".parse::().expect("addr")); +} + +#[test] +fn rejects_bad_signature() { + let mut buf = header(0x11, &v4_payload([1, 2, 3, 4], 1)); + buf[0] = b'X'; + assert!(parse_v2_header(&buf, 512).is_err()); +} + +#[test] +fn rejects_non_proxy_command() { + let mut buf = header(0x11, &v4_payload([1, 2, 3, 4], 1)); + buf[12] = 0x20; // LOCAL command, not PROXY + assert!(parse_v2_header(&buf, 512).is_err()); +} + +#[test] +fn rejects_tlvs() { + let mut payload = v4_payload([1, 2, 3, 4], 1); + payload.extend_from_slice(&[0x04, 0x00, 0x01, 0x00]); + assert!(parse_v2_header(&header(0x11, &payload), 512).is_err()); +} + +#[test] +fn rejects_truncated_header() { + let buf = header(0x11, &v4_payload([1, 2, 3, 4], 1)); + for cut in 0..buf.len() { + assert!( + parse_v2_header(&buf[..cut], 512).is_err(), + "a {cut}-byte prefix must be rejected" + ); + } +} + +#[test] +fn rejects_oversized_header() { + let buf = header(0x11, &v4_payload([1, 2, 3, 4], 1)); + assert!(parse_v2_header(&buf, 16).is_err(), "limit smaller than the header"); +} + +#[test] +fn rejects_unsupported_family() { + let buf = header(0x31, &v4_payload([1, 2, 3, 4], 1)); + assert!(parse_v2_header(&buf, 512).is_err()); +} + +#[test] +fn rejects_short_address_block() { + let buf = header(0x11, &[0u8; 8]); + assert!(parse_v2_header(&buf, 512).is_err()); +} + +#[test] +fn never_panics_on_arbitrary_bytes() { + // Deterministic pseudo-random sweep over the interesting prefixes: a + // signature-valid header with arbitrary family/length/payload bytes. + for family in 0u8..=255 { + for len in [0usize, 1, 11, 12, 13, 35, 36, 37, 512, 65535] { + let mut buf = Vec::new(); + buf.extend_from_slice(&SIGNATURE); + buf.push(0x21); + buf.push(family); + buf.extend_from_slice(&(len as u16).to_be_bytes()); + buf.extend(std::iter::repeat_n(0xA5u8, len.min(64))); + let _ = parse_v2_header(&buf, 512); + } + } +}