mirror of
https://github.com/icewind1991/warp-real-ip.git
synced 2026-08-02 08:14:49 +02:00
Allow specifying IP networks for permitted proxies in place of IP addresses.
This commit is contained in:
parent
75a2f210c9
commit
c6af4e7ae9
4 changed files with 45 additions and 5 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
|
@ -378,6 +378,15 @@ dependencies = [
|
|||
"bytes",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ipnetwork"
|
||||
version = "0.18.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4088d739b183546b239688ddbc79891831df421773df95e236daf7867866d355"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "0.4.7"
|
||||
|
|
@ -1088,6 +1097,7 @@ dependencies = [
|
|||
name = "warp-real-ip"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"ipnetwork",
|
||||
"rfc7239",
|
||||
"tokio",
|
||||
"warp",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue