KaranGauswami
519072a4af
breaking: changed the default listening IP from `0.0.0.0` to `127.0.0.1`. This change restricts the application access to the local machine only.
11 months ago
KaranGauswami
bd87ee1628
added support for ipv6 listen ip
11 months ago
Karan Gauswami
71448ee7b0
Feature/structure and testing changes ( #22 )
* refactor: refactored code to facilitate testing in pipeline
* refactor: added some tests
* refactor: added some tests
* refactor: added some tests
* version bump
* made changes so arguments will accept Option<&T> instead of &Option<T>
* added auth related code from main branch
* allow support for passing DNS in the socks_address
* accepted clippy suggestions
* bump the dependencies version
11 months ago
Karan Gauswami
c7d0c8f5ed
remove no_httpauth flag from cli and some cleanup ( #23 )
Signed-off-by: KaranGauswami <[email protected] >
11 months ago
blackswan
e4973cfffa
Support HTTP Basic Auth ( #21 )
* support HTTP Basic auth
* Revert "support HTTP Basic auth"
This reverts commit ea036f2790
.
* support HTTP Basic Auth
* update usage
* remove a single used variable
* add option: --no-httpauth to disable HTTP authenticaiton by default
* update usage: --no-httpauth
* fix --no-httpauth parser on true/false
11 months ago
Karan Gauswami
538ee40763
fixed issue #15 by updating hyper version and generating new lock file
2 years ago
Karan Gauswami
0b1fd7f8e7
changed logging from log to tracing
2 years ago
Karan Gauswami
b8a5e26db0
refactored code as per new example of hyper
2 years ago
Karan Gauswami
226b9295a6
deny warnings in code
2 years ago
Karan Gauswami
eb8ab7d106
use clap feature for allowed domains
2 years ago
Karan Gauswami
b0c41030ab
took some suggestions from clippy
2 years ago
Karan Gauswami
899e493f82
used Argument Relations feature in clap to avoid doing double validation in auth username and password
2 years ago
Karan Gauswami
34d4b5c2ab
upgrade clap version to 4
2 years ago
mostafa
66092ceab5
feat: add allowed domain options
2 years ago
KaranGauswami
cf2d06df1c
moved box leak to start of the program to avoid leaking more memory
3 years ago
KaranGauswami
50ee3dcddf
removed anyhow and and support some flags
3 years ago
KaranGauswami
18babcd021
fixed wrong name in docs
3 years ago
KaranGauswami
a06e3bc81e
added support for authentication with username and password
3 years ago
KaranGauswami
d193aa9e66
mirgrated from structopt to clap v3
3 years ago
Karan Gauswami
8dc1b3d65f
added logging crate
4 years ago
Karan Gauswami
6056635500
removed allocations
4 years ago
Karan Gauswami
34b318d338
ran cargo clippy
4 years ago
Karan Gauswami
c6ff545343
added exp support for http api
4 years ago
Karan Gauswami
d3ff30c419
removed unnessary clone
4 years ago
Karan Gauswami
1b24d89d99
return bad request on non https request
4 years ago
Karan Gauswami
d18d6bb1dc
use anyhow until we figure out how to use color_eyre
4 years ago
Karan Gauswami
4778b0fead
updated code to work with newer dependencies version
4 years ago
Karan Gauswami
6066fd54dc
fixed variables name
4 years ago
Karan Gauswami
1e204367da
updated hyper and tokio
4 years ago
KaranGauswami
70297792e8
initial commit after worflow
5 years ago