Skip to content
9b1c52e
Compare
Choose a tag to compare
  • Improves support for domain-name-based connections

Changelog

c6a4dcb Make race detector happy
9b1c52e Merge pull request #101 from Jigsaw-Code/bemasc-happy-eyeballs
7bb30b3 Move expected status definition up
046dbd4 Use Dialer.Control to check IP before connection
8d6f171 Use implicit name resolution for TCP destinations

4f3ce4d
Compare
Choose a tag to compare
4759578
Compare
Choose a tag to compare
  • Fixes UDP leak
  • Stops depending on go-shadowsocks2 that always initializes their bloom filter

Changelog

e39d582 Add a unit test
6447a85 Avoid creating NAT mappings for rejected packets
6e8119b Merge pull request #95 from Jigsaw-Code/bemasc-reject
4759578 Merge pull request #96 from Jigsaw-Code/fortuna-deps
bb167f4 Tidy up previous versions
d9d7ad8 Update other dependencies
be8fdac Upgrade go-shadowsocks2 to master
262ac75 parsePacket() -> validatePacket()

264ddf9
Compare
Choose a tag to compare

Issues

  • Server is leaking UDP associations when the packet has an invalid address due to #83.

Features

  • Better detection resistance
  • Reduce memory usage in read streams #90
  • New probe metric buckets
  • UDP performance improvement

Changelog

22c3d1f Add Probe tests
df76b56 Add comment
6889e91 Add status counts
477cfb5 Address comments
37978cf Clarify connection type
b254da7 Compute maxCipherOverhead from the list
61d0c98 Create cipher.go
3832473 Create dialTarget
e0d8f9c Create probe tests
ac79303 Disable timeout earlier
cceb1dd Drain on address errors
618cf87 Drain on relay error
c071f74 Expand comments on *[]byte issue
397af32 Fix SupportedCipherNames
2736502 Fix integer type
b1b2572 Fix key derivation
dea3ff3 Fix relay issue
03ad234 Fix test
2373c69 Fix test race condition
e83280b Hardcode bytesForKeyFinding
9eebbd5 Implement a more general slice pool
367246f Make SuportedCipherNames a function
218241e Make saltSize explicit
87c0efa Make ss-subkey a constant
08cf2a5 Make timeout apply to connection
73a2b79 Merge branch 'fortuna-probe' into fortuna-clear
38db713 Merge branch 'master' into fortuna-clear
5eb8710 Merge branch 'master' into fortuna-clear
3125d6b Merge branch 'master' into fortuna-clear
e82cf98 Merge pull request #85 from Jigsaw-Code/fortuna-clear
842ecc9 Merge pull request #88 from Jigsaw-Code/fortuna-aead
72e7ee4 Merge pull request #89 from Jigsaw-Code/bemasc-pool1
25f6db2 Merge pull request #90 from Jigsaw-Code/bemasc-pool2
8269318 Merge pull request #91 from Jigsaw-Code/fortuna-bytes-metric
264ddf9 Merge pull request #92 from Jigsaw-Code/fortuna-key
908426c Move getAEADSpec and fix capitalization
354c508 Move makeServerBytes
ce1b584 Move tgtConn.CloseWrite
98cc1ad Reduce memory usage in read streams
dcb91ef Reduce probe buckets
2b0f428 Remove status from data bytes metric
523b106 Rename ssPool to readBufPool and fix comment
995be6c Rename to "LazySlice"
eda84e7 Renames (LazySlice, maxTagSize, payloadSizeBuf)
90bbbe2 Restore status
046c502 Revert TCPConn in test
6478ac5 Update CipherList comment
ad01a2c Update shadowsocks/cipher.go
ea6d350 Update shadowsocks/cipher.go
c5d4cb7 Use int64 on addIfNonZero

f57f555
Compare
Choose a tag to compare

Issues

  • Server is leaking UDP associations when the packet has an invalid address due to #83.

Features

  • Reduce memory usage in client and server.
  • Refactor client and server packages.

Changelog

d5da8bd Add an integration test for the entire server
2b2558d Add early length check
6762cc3 Avoid UDP cipher search if a NAT mapping exists
5f22a55 Fix buffer size
afda20a Fix geoip db path
408112f Improvements suggested by fortuna@
c0bc713 Measure more probe buckets
0a649b4 Merge branch 'master' into fortuna-refactor
7298816 Merge pull request #81 from Jigsaw-Code/bemasc-test
cf615e8 Merge pull request #82 from Jigsaw-Code/fortuna-probes
ac58257 Merge pull request #83 from Jigsaw-Code/bemasc-udp-buffer
fdfc52a Merge pull request #84 from Jigsaw-Code/fortuna-refactor
f625a9f Merge pull request #86 from Jigsaw-Code/bemasc-unpack
f57f555 Merge pull request #87 from Jigsaw-Code/bemasc-unpack
4a79431 Rename unpack to findAccessKeyUDP
45a9303 Rename isTagetIPValid
35e6b79 Rename randomServerSaltGenerator
3fed19c Restore 51, 52, and add 220, 221
e44d8f6 Revert UDP buffer size to 16KiB
3ccf0cc Revert client test to maxUDPBufferSize
2abf39e Revert model.go
76c976c Separate client and server code
3e9da3f Update dependencies
6d53eab Update udo imports
fa6b7ac Use onet.IPPolicy
bb76e73 Use onet.IPPolicy
34a60e1 Use onet.TargetIPValidator
5f16090 Use our own implementation of Pack for UDP
616163e Use our own implementation of Unpack for UDP
b0ce0fc Use ss namespace consistently
04656b9 Use ss.TestCipher

a666826
Compare
Choose a tag to compare
13f8610
Compare
Choose a tag to compare

[BROKEN] v1.2.0

Pre-release
Pre-release

Features:

  • Protection against replays of server data
  • Version flag and metric

Changelog

1c62281 Add SetSaltGenerator
ff277dc Add build_info metric
777815a Add comments on entropy check
64c3a21 Add documentation on probing defenses
cfd8e00 Add license headers
bda76c7 Clarify probability claims
ba08144 Make TCP code more readable
43fb8a9 Make tests pass under the race detector
8495c76 Merge branch 'master' into bemasc-blocksalt
cf963fa Merge pull request #74 from Jigsaw-Code/bemasc-race
40eab64 Merge pull request #75 from Jigsaw-Code/fortuna-read
60d0292 Merge pull request #76 from Jigsaw-Code/fortuna-version
13f8610 Merge pull request #78 from Jigsaw-Code/bemasc-blocksalt
20a6cc7 Merge pull request #79 from Jigsaw-Code/bemasc-race
62e89ea Move entropy check into MakeCipherEntry
f820bb2 Move to a gRPC-style interface
3938bf1 Record server salts
1236943 Remove data race in the benchmarks due to logging
2f30fe4 Remove multi-Serve capability
b447202 Remove unused field from fakeAEAD
463afb0 Rename ERR_REPLAY and add a test
5c265e8 Respond to comments and various improvements
958c818 Restructure salt size validity checks
78d6b15 Revert "Restructure salt size validity checks"
91d3f3b Review feedback
25cbc2f Switch to HMAC-SHA1 and HKDF-SHA1
1c6ebb5 Use the shadowsocks cipher to mark the salt

b3fb4cc
Compare
Choose a tag to compare

Changelog

0e5ffbf Concatenate header and first upstream payload
b31f9e7 Fix client-to-proxy location metrics for UDP
7dee86c Merge pull request #70 from Jigsaw-Code/bemasc-udp-location
b3fb4cc Merge pull request #73 from Jigsaw-Code/bemasc-lazy2
0e9dba0 Relax comment and tighten tests
753b772 Remove temporary allocation, short timeout, add a test
2c8fbca Reorganize deferred metrics reporting

196a0a1
Compare
Choose a tag to compare