diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-28 22:21:18 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-01-28 22:21:18 -0500 |
commit | 9cbeee4b67890ad38901ce31a6fadfa7a8c3b408 (patch) | |
tree | 7dd4e9fa29a5d940b721d1ca2268d8fd65a393d2 /Cargo.lock | |
parent | fmt (diff) | |
download | xssbook-9cbeee4b67890ad38901ce31a6fadfa7a8c3b408.tar.gz xssbook-9cbeee4b67890ad38901ce31a6fadfa7a8c3b408.tar.bz2 xssbook-9cbeee4b67890ad38901ce31a6fadfa7a8c3b408.zip |
reverse proxy ip checking
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -65,6 +65,16 @@ dependencies = [ ] [[package]] +name = "axum-client-ip" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfb5a3ddd6367075d50629546fb46710584016ae7704cd03b6d41cb5be82e5a" +dependencies = [ + "axum", + "forwarded-header-value", +] + +[[package]] name = "axum-core" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -188,6 +198,16 @@ dependencies = [ ] [[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty", + "thiserror", +] + +[[package]] name = "futures-channel" version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -464,6 +484,12 @@ dependencies = [ ] [[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + +[[package]] name = "nu-ansi-term" version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -781,6 +807,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20518fe4a4c9acf048008599e464deb21beeae3d3578418951a189c235a7a9a8" [[package]] +name = "thiserror" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] name = "thread_local" version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1134,6 +1180,7 @@ name = "xssbook" version = "0.0.1" dependencies = [ "axum", + "axum-client-ip", "bytes", "lazy_static", "rand", |