Chen Yufei
|
154264352f
|
Allow client use basic authentication.
|
2013-11-01 20:47:14 +08:00 |
|
Chen Yufei
|
25e8ecc710
|
Refactor calcRequestDigest.
|
2013-08-02 10:52:45 +08:00 |
|
Chen Yufei
|
b4e5370a84
|
Report precise error message to client.
|
2013-08-02 10:47:07 +08:00 |
|
Chen Yufei
|
2ebcdc3934
|
Only show auth response body if verbose is true.
|
2013-08-02 01:22:32 +08:00 |
|
Chen Yufei
|
a2f0814386
|
Remove splitHostPort, use net.SplitHostPort exclusively.
|
2013-07-19 12:37:50 +08:00 |
|
Chen Yufei
|
1842600728
|
Do not forward expect header, ignore 100 continue response.
|
2013-07-05 14:59:50 +08:00 |
|
Chen Yufei
|
b80f89ae85
|
Specify go 1.1 in Travis, remove unnecessary return.
|
2013-06-13 22:27:14 +08:00 |
|
Chen Yufei
|
cb94b00acf
|
Use forked bufio to fix build on Travis.
|
2013-06-13 22:13:24 +08:00 |
|
Chen Yufei
|
a5f6ffef89
|
Check duplicate user.
|
2013-06-13 16:41:02 +08:00 |
|
Chen Yufei
|
471664c75d
|
Check port in authentication.
|
2013-06-13 16:34:34 +08:00 |
|
Chen Yufei
|
75d2011e5b
|
Better auth bad request message.
|
2013-06-13 16:15:26 +08:00 |
|
Chen Yufei
|
30715c97f4
|
Parse and load user password file.
|
2013-06-13 16:07:48 +08:00 |
|
Chen Yufei
|
1bf0affd81
|
Extract Fatal(f), reorder options in config.go
|
2013-04-13 09:47:43 +08:00 |
|
Chen Yufei
|
857443ca4e
|
Also check command line option syntax.
|
2013-03-06 15:05:09 +08:00 |
|
Chen Yufei
|
b8b03b901c
|
Fix crash on auth with only allowedClient.
|
2013-03-04 11:06:04 +08:00 |
|
Chen Yufei
|
91631c5b00
|
Remove rand in auth.go
|
2013-02-10 12:47:23 +08:00 |
|
Chen Yufei
|
d2a050443c
|
make slice with 1 argument is enough.
It creates slice with the same len and cap by default.
|
2013-01-31 22:32:44 +08:00 |
|
Chen Yufei
|
f7587fa8ee
|
Parse header for CONNECT method to support authentication.
|
2013-01-28 23:09:18 +08:00 |
|
Chen Yufei
|
f50bef1777
|
Check nonce not too early instead of exact match.
iOS creates new connection to authenticate, so adding random number
in nonce would make it harder to check nonce.
|
2013-01-28 23:09:18 +08:00 |
|
Chen Yufei
|
d1a77274aa
|
Auth: check allowed clients before checking user password.
|
2013-01-28 23:09:17 +08:00 |
|
Chen Yufei
|
da993ad31f
|
Parse allowedClients in config file and cmd line option.
|
2013-01-28 23:09:17 +08:00 |
|
Chen Yufei
|
e5703c35a0
|
Generate new nonce on each authorization request.
|
2013-01-09 22:19:14 +08:00 |
|
Chen Yufei
|
7a297eca98
|
Support digest authentication.
|
2013-01-09 20:56:34 +08:00 |
|
Chen Yufei
|
0cc80aacf7
|
Sending back authenticate response to client.
|
2013-01-02 00:11:23 +08:00 |
|