Commit Graph

43 Commits

Author SHA1 Message Date
Lubomir Rintel
6b579b8190 Communicate SOCKS error states properly
This used to look pretty random :(

Try to keep the last decimal digits of internal errors sensible for v5
error codes. For most cases we can't really do much better than using the
value of one.

One specific code paths where we can return something more useful is the
authentication, where we not communicate the underlying error code or
signal an ACL denial.

As for v4, there's not really much space to be too smart as only the code
of 91 is meaningful. Therefore we limit the last digit to zero and one now.
2014-07-01 21:29:15 +04:00
Lubomir Rintel
9416012a01 Fix some awkward NOIPV6 typoes and ommissions 2014-07-01 21:22:52 +04:00
z3APA3A
5cccf7cbdd Do not ignore version.h
version.h is required to build from sources

Conflicts:
	.gitignore
2014-06-28 17:37:57 +04:00
z3APA3A
8975b00cce better EINTR handling 2014-06-11 01:54:25 +04:00
z3APA3A
7bae6c4525 resolving compilation issues for *nix 2014-06-11 01:26:07 +04:00
z3APA3A
7ca32fc940 overlapped memcpy replaced with memmove 2014-06-11 00:57:18 +04:00
z3APA3A
4fef3a1df0 More changes for IPv6 suppot +nbname auth removed 2014-05-12 01:11:04 +04:00
Vladimir Dubrovin
a30d5d51a5 IPv6 server side code
+ IPv6 server side support
!!! Auth need to be fixed
2014-05-12 01:10:58 +04:00
Vladimir Dubrovin
ccf606fd9e ntoa changed to ntop 2014-05-12 01:10:53 +04:00
Vladimir Dubrovin
7897b009a1 intport removed, SA macro added 2014-05-12 01:10:47 +04:00
Vladimir Dubrovin
bc7ca3af09 intip changed to intsa
intip changed to intsa for IPv6 use
2014-05-12 01:10:42 +04:00
Vladimir Dubrovin
cce3a94f04 proxy.h getip46() description fixed 2014-05-12 01:10:36 +04:00
Vladimir Dubrovin
6b99de69c4 getip46() added
int getip46(int family, unsigned char *name,  struct sockaddr_storage
*sa)
family: IPv4/IPv6 preference order 4, 6, 46, 64 or 0 for getip()
compatibility.
name - hostname,
sa - destination sockaddr (must be large enougth)
returns:
0 fo failed resolution
IP address for family = 0
AF_INET/AF_INET6 overwise.
2014-05-12 01:10:31 +04:00
Vladimir Dubrovin
aad2559004 FTP proxy debugging output removed, bind to same IP with control connection for active FTP
FTP proxy debugging output removed, bind to same IP with control
connection for active FTP
2014-05-07 01:42:22 +04:00
Vladimir Dubrovin
e3144dc61b ldapauth memory leak fixed
Привет !
Исправил старую багу по утечки памяти в плагине .. теперь вообще не
течет ,
глупая ошибка.. Вот так 3,5  года не попрограммируеш , срузу ошибку
найдеш :)

--
Kirill Lopuchov
2014-05-04 23:10:14 +04:00
Vladimir Dubrovin
9ab9c2524b Merge remote-tracking branch 'origin/master' into devel 2014-04-21 01:27:28 +04:00
Vladimir Dubrovin
53098814f0 Removing Changelog 2014-04-21 01:26:33 +04:00
Vladimir Dubrovin
8f4243ffe1 ftppr NLSD command added 2014-04-21 01:17:23 +04:00
z3APA3A
cb590049b3 More legacy code removed 2014-04-16 15:39:38 +04:00
Vladimir Dubrovin
faf5b4b124 Removing Changelog from git 2014-04-15 02:41:39 +04:00
Vladimir Dubrovin
cb7d48c9c5 Merge remote-tracking branch 'origin/master' into devel 2014-04-15 02:15:08 +04:00
Vladimir Dubrovin
618673c335 Ignore NTLM handshake unless NTLM is configured 2014-04-15 02:10:41 +04:00
Vladimir Dubrovin
2eee9d2e98 Changelogs 2014-04-15 00:13:42 +04:00
Vladimir Dubrovin
17835c4d66 resolving compilation issues 2014-04-14 23:58:11 +04:00
z3APA3A
1b5fb4e8d4 Merge remote-tracking branch 'origin/master' into devel 2014-04-14 02:15:39 +04:00
z3APA3A
f4c6c9d962 legacy counters code removed 2014-04-14 02:14:34 +04:00
z3APA3A
f452009079 Some useful warnings added
Checks for most common misconfigurations
2014-04-14 01:50:17 +04:00
Vladimir Dubrovin
5543b3052d Moving icons compilation to Makefiles 2014-04-13 19:21:18 +04:00
Vladimir Dubrovin
6a0b78268f Adding icons, resolving MinGW compilation 2014-04-13 18:41:25 +04:00
Vladimir Dubrovin
2b0f8bbcfc Add icon, resolve MinGW compilation issues 2014-04-13 18:26:32 +04:00
Vladimir Dubrovin
c411e03126 logging to changelog 2014-04-10 04:16:25 +04:00
Vladimir Dubrovin
90ca18b3c1 Revert "temp debugging"
This reverts commit 97d811fbfd.
2014-04-10 04:11:55 +04:00
Vladimir Dubrovin
97d811fbfd temp debugging 2014-04-10 04:11:48 +04:00
Vladimir Dubrovin
2890f06488 traffic counters are changed to 64-bit
traffic counters are changed to 64-bit using pstdint.h
2014-04-10 03:34:59 +04:00
Vladimir Dubrovin
467650bbbf ICO file added 2014-04-10 03:33:46 +04:00
Vladimir Dubrovin
d255b703a5 and some more files removed 2014-04-09 02:03:01 +04:00
Vladimir Dubrovin
094a4440e6 more files removed 2014-04-09 01:45:13 +04:00
Vladimir Dubrovin
a3ffc7dc3b removing autogenerated files 2014-04-09 01:37:27 +04:00
Vladimir Dubrovin
053630c6d7 Files change
Some missing files added, outdated files removed
2014-04-09 01:32:10 +04:00
z3APA3A
5416ad63bb copyright fixed in readme 2014-04-08 17:14:32 +04:00
z3APA3A
a2335a630e adding README 2014-04-08 13:20:46 +04:00
z3APA3A
825c96f39f Change Readme to README 2014-04-08 13:19:49 +04:00
z3APA3A
a060376f1e initial import to git 2014-04-08 13:03:21 +04:00