Gang Zhuo
ea43e2a72d
use ConcurrentDictionary instead of Dictionary
9 years ago
Licshee
687f397ae3
using StringEx
9 years ago
kimw
9194b0325f
avoid warning message while compile
9 years ago
kimw
64390d45ac
GetTempPath() now supports: return a full path with filename combined which pointed to the temporary directory
9 years ago
kimw
0b16ef7445
Merge upstream
# Conflicts:
# README.md
# shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs
# shadowsocks-csharp/Controller/Service/PACServer.cs
# shadowsocks-csharp/Controller/Strategy/SimplyChooseByStatisticsStrategy.cs
# shadowsocks-csharp/Data/cn.txt
# shadowsocks-csharp/Model/Configuration.cs
# shadowsocks-csharp/Model/LogViewerConfig.cs
# shadowsocks-csharp/View/LogForm.Designer.cs
# shadowsocks-csharp/View/LogForm.cs
# shadowsocks-csharp/View/MenuViewController.cs
9 years ago
Syrone Wong
131c4940c6
add chacha20-ietf support with updated libsscrypto
ChaCha20 with an extended (96 bit) nonce and a 32-bit counter has
been implemented as crypto_stream_chacha20_ietf() from LibSodium 1.0.4
Please refer to https://tools.ietf.org/html/rfc7539 for details.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Gang Zhuo
961ca041b2
Fix bug
9 years ago
Gang Zhuo
dd0d047402
override MD5, so compatible with FIPS
9 years ago
Gang Zhuo
d24548a04f
rm rc4 and table
9 years ago
Gang Zhuo
098640e792
refact
9 years ago
Gang Zhuo
c5e27486fb
Protocol V2
9 years ago
Gang Zhuo
3aac1cfcfc
Refine the authentication for true CCA
9 years ago
Gang Zhuo
19085a3cd1
Update the hash function
follow with 5ae4df94e4
9 years ago
Gang Zhuo
ab1f366049
Combine libsscrypto.dll and libsslcrypto2.dll
9 years ago
Gang Zhuo
1564e9ff81
support onetime auth
9 years ago
Gang Zhuo
72ea01d566
no repeat random number generator
The stock code use class Random to generate IV, the Random is pseudo random number generator. The IV maybe repeat, this will cause shadowsocks-libev closed the sockets with the error message 'invalid password or cipher'. Reference https://github.com/shadowsocks/shadowsocks-libev/issues/389
Solution is use class RNGCryptoServiceProvider to generate IV, of course it's lower performance, but a little bit.
9 years ago
kimw
0a733c61b8
fixed: standardize Logging usage
1. Add Logging.Info()
2. Console.WriteLine() -> Logging.Info()
3. Console.WriteLine() in exceptions -> Logging.LogUsefulException()
9 years ago
clowwindy
c767f55b3c
add portable mode
9 years ago
kimw
758c497eba
same the source code format.
1/ removed dual empty line
2/ removed tailing spaces
3/ converted tabs into spaces
4/ added some TODO comments
9 years ago
clowwindy
3bc77d212a
reduce cache size
9 years ago
clowwindy
db6701b1b2
refactor package name
10 years ago
clowwindy
5010a01d14
move encrypt package into encryption
10 years ago