Przemyslaw Pawelczyk
a94c198eb3
Fix conv specs in format strings for [s]size_t args.
...
Remove warnings in archs using LP64 by dealing with [s]size_t arguments.
There is a special length modifier 'z' that should precede integer
conversion specifier in format strings using [s]size_t arguments.
2011-01-27 22:06:40 +01:00
Daniel Gröber
191249a33c
Fixed double "Basic" in Proxy-Authenticate header.
...
The authentication scheme name is already appended to the header in
httpc_mkconnect.
2011-01-24 15:17:05 +01:00
Leonid Evdokimov
642c9a448f
Fix several compiler warnings.
2011-01-15 16:29:40 +02:00
Bin Jin
7099116ff1
remove free_null macro
2011-01-13 15:24:48 +08:00
Bin Jin
ba5b8bee01
handle malformed request properly
2010-12-09 13:30:08 +08:00
Bin Jin
9d876181b3
merge commits from upstream
2010-12-03 22:02:40 +08:00
Leonid Evdokimov
c0d4cede5a
Initial UDP over Socks5 support.
2010-12-03 02:18:14 +02:00
Leonid Evdokimov
2e35ae49c7
Cleanup: make socks5 structures reusable.
2010-12-02 23:39:03 +02:00
Leonid Evdokimov
bce12d59dd
Fix bug introduced in 45cab3.
2010-12-02 23:30:21 +02:00
Leonid Evdokimov
94c96a60ef
Cleanup client session logging.
2010-12-02 23:16:23 +02:00
Bin Jin
7772258767
fix issue: recieve eof from client while connection to relay is not established
2010-11-29 22:41:53 +08:00
Leonid Evdokimov
197d37c382
Another minor cleanup.
2010-11-29 00:50:19 +02:00
Leonid Evdokimov
45cab3de31
This cleanup commit introduces ex-plain function!
2010-11-29 00:09:48 +02:00
Leonid Evdokimov
9c8f21a986
Further cleanup.
2010-11-28 23:15:56 +02:00
Bin Jin
04662c4226
fix several fatal issues; send request body on fly, rather than depend on content-length
2010-11-28 13:47:49 +08:00
Leonid Evdokimov
6e574a2021
Another source code cleanup.
2010-11-27 23:30:58 +02:00
Leonid Evdokimov
8ad8d7eb41
More source code cleanup.
2010-11-27 23:20:46 +02:00
Leonid Evdokimov
c50dd8b2b4
Some source code cleanup.
2010-11-27 21:57:43 +02:00
Bin Jin
f005959a55
update README file
2010-11-25 19:54:10 +08:00
Bin Jin
9136aa5e5f
add clang compiler support; clean warnings; remove auth info from log file
2010-11-25 19:11:14 +08:00
Bin Jin
3d5d22a59b
fix typo
2010-11-25 17:48:11 +08:00
Bin Jin
0ed9eeb920
add pidfile option
2010-11-24 14:44:02 +08:00
Bin Jin
651754834f
fix memory leak issues
2010-11-23 14:19:57 +08:00
Bin Jin
a1e65e4ccb
fix issue: EOF from client in http relay
2010-11-23 13:21:09 +08:00
Bin Jin
d95c791e8b
fix: 403 found but not header provided
2010-11-23 02:04:18 +08:00
Bin Jin
1b07ca821c
handle http-relay client request in an evented way
2010-11-23 01:43:00 +08:00
Bin Jin
383455512c
add support for http POST connection
2010-11-23 00:31:14 +08:00
Bin Jin
abb26a1505
fix issue: segment fault on ARM platform
2010-11-21 22:33:27 +08:00
Bin Jin
ff134afb2f
fix issue: can't handle hostname in request headers properly
2010-11-19 08:17:01 +08:00
Bin Jin
ed8d184147
add proxy auth support for http-relay, also working but buggy
2010-11-19 07:51:27 +08:00
Bin Jin
54c91ad6c2
remove time limit between consective attempts
2010-11-19 01:03:20 +08:00
Bin Jin
1a3d2f7df2
fix the fatal issue in lastest commit
2010-11-19 00:52:41 +08:00
Bin Jin
b8a5598b17
use strcasecmp() instead, fix issue on staled auth
2010-11-19 00:47:39 +08:00
Bin Jin
8a545ad1da
fix issue: failed when no password provided after an auth challenge
2010-11-18 23:59:42 +08:00
Bin Jin
5581843c3b
minor fix
2010-11-18 23:29:54 +08:00
Bin Jin
c12924022a
add proxy auth for http-connect, working but buggy
2010-11-18 22:57:20 +08:00
Bin Jin
c83e3b5fb2
minor fixes
2010-11-14 22:35:22 +08:00
Bin Jin
35a8f066ec
implement http-auth for basic and digest scheme
2010-11-14 22:28:48 +08:00
Bin Jin
3655d75040
add base64 and md5 library for http auth
2010-11-14 14:34:08 +08:00
Bin Jin
7273c3a261
added .depend to .gitignore
2010-11-11 16:39:44 +08:00
Bin Jin
6e76f8dd72
add http auth RFC doc
2010-11-11 16:35:46 +08:00
Leonid Evdokimov
a37aa7a0e6
Added logging to file.
...
Thanks to Przemyslaw Pawelczyk <przemoc@gmail.com>
2009-05-21 11:48:22 +07:00
Leonid Evdokimov
b7cd855347
Fixed compilation with glibc-2.8.
...
Thanks to Vsevolod Velichko <torkvemada@nigma.ru>
2009-05-21 11:37:09 +07:00
Leonid Evdokimov
d8dfde947f
Fixed format string bug.
2009-05-21 11:28:54 +07:00
Leonid Evdokimov
77a490422b
Added GPLv3 copyright notice to every source file.
2008-12-13 15:40:52 +06:00
Leonid Evdokimov
7cc7145802
Added link to transocks_ev.
2008-12-13 15:39:00 +06:00
Leonid Evdokimov
a1f4ccddd0
Added README and better configuration example.
2008-08-19 03:27:14 +07:00
Leonid Evdokimov
ed80ac7d70
Fix compiler warning: time() was undefined.
2008-08-19 02:21:14 +07:00
Leonid Evdokimov
60ccc646e0
Write daemon shutdown event to log.
2008-08-18 23:08:45 +07:00
Leonid Evdokimov
4d886f5109
Graceful exit on SIGINT and SIGTERM.
2008-08-18 18:54:17 +07:00