Andy Wang
|
beb6568ce0
|
Check before passive close
|
2019-10-15 22:06:23 +01:00 |
|
Andy Wang
|
6580e38e44
|
Introduce a special Session closing frame
|
2019-10-14 15:34:14 +01:00 |
|
Andy Wang
|
96215f116a
|
Fix #61
|
2019-09-22 10:44:16 +01:00 |
|
Andy Wang
|
854dc422a2
|
Update some comments
|
2019-09-01 23:14:28 +01:00 |
|
Andy Wang
|
75dc91c15c
|
Fix wrong wait type
|
2019-08-31 15:33:23 +01:00 |
|
Andy Wang
|
4861efbc50
|
Fix #54
|
2019-08-31 15:32:57 +01:00 |
|
Andy Wang
|
c3ff3f5d1a
|
Fix the weird nil pointer again
|
2019-08-21 13:14:23 +01:00 |
|
Andy Wang
|
bbb0d35e80
|
Remove conns from map once switchboard.CloseAll is called
|
2019-08-20 23:15:36 +01:00 |
|
Andy Wang
|
87a7684e10
|
More comments
|
2019-08-20 22:43:04 +01:00 |
|
Andy Wang
|
52796ad0b1
|
recvDataFromRemote returns err
|
2019-08-16 23:47:15 +01:00 |
|
Andy Wang
|
c1b1d5d8ba
|
Fix accidentally removed tx qos
|
2019-08-14 11:56:55 +01:00 |
|
Andy Wang
|
c36ec04ce5
|
Add unordered mode
|
2019-08-14 11:56:55 +01:00 |
|
Andy Wang
|
8967819830
|
Fix accidentally removed tx qos
|
2019-08-14 10:28:08 +01:00 |
|
Qian Wang
|
71e48a1947
|
Refactor switchboard configuration and add unordered option
|
2019-08-12 00:48:20 +01:00 |
|
Qian Wang
|
cb672a99de
|
Refactor session configuration
|
2019-08-12 00:22:15 +01:00 |
|
Qian Wang
|
abc83a9190
|
Potential fix to an edge case nil pointer
|
2019-08-09 10:36:27 +01:00 |
|
Qian Wang
|
d99b4009b2
|
Differentiate concrete types of LimitedValve and UnlimitedValve to avoid unnecessary atomic.AddUint64 since it has non-trivial overhead on embedded systems
|
2019-08-07 15:43:42 +01:00 |
|
Qian Wang
|
e7aa4cd04b
|
Fix a stuck mutex
|
2019-08-07 13:59:27 +01:00 |
|
Qian Wang
|
3002c87a49
|
Fix a server crashing null pointer
|
2019-08-06 21:04:08 +01:00 |
|
Qian Wang
|
01036086c7
|
Change the frame distribution strategy so that each stream is assigned a fixed underlying TCP connection to send its frames to reduce framesorter ooo count
|
2019-08-05 22:14:11 +01:00 |
|
Qian Wang
|
fac381dbca
|
Refactor switchboard
|
2019-08-05 14:33:20 +01:00 |
|
Qian Wang
|
d46fa74924
|
Refactor frame sorter
|
2019-08-05 13:32:53 +01:00 |
|
Qian Wang
|
9fcc328797
|
Fix a mutex deadlock
|
2019-08-05 13:17:02 +01:00 |
|
Qian Wang
|
e75c713385
|
Refactor session struct's obfs fields
|
2019-08-02 16:37:48 +01:00 |
|
Qian Wang
|
33f232475d
|
Improve logging
|
2019-08-02 15:45:33 +01:00 |
|
Qian Wang
|
8f9922b06b
|
Add terminal messages upon session closing
|
2019-07-25 20:57:02 +01:00 |
|
Qian Wang
|
29a45bcc1a
|
Rewrite user authentication, credit bookkeeping and db interaction
|
2019-07-22 13:42:39 +01:00 |
|
Qian Wang
|
9d2e9be1ef
|
Fix a race which causes the server unable to close all the connections in a session
|
2019-01-22 00:03:38 +00:00 |
|
Qian Wang
|
0544364a8e
|
Cleanup logs
|
2019-01-12 15:51:20 +00:00 |
|
Qian Wang
|
310ce1643a
|
Minor Makefile edit and remove FIXME
|
2019-01-12 14:16:31 +00:00 |
|
Qian Wang
|
d906541497
|
Redo the header obfuscation. Fix hiccups caused by short packets
|
2019-01-06 01:40:27 +00:00 |
|
Qian Wang
|
f3f3042c81
|
Remove redundant functions
|
2018-12-31 11:30:39 +00:00 |
|
Qian Wang
|
23a06c6a52
|
Clarify the code to enter admin mode
|
2018-12-30 01:15:46 +00:00 |
|
Qian Wang
|
4b6ab1b4d5
|
Finish the admin control
|
2018-12-26 00:46:39 +00:00 |
|
Qian Wang
|
73aefdeeeb
|
Done some TODOs
|
2018-12-22 23:58:03 +00:00 |
|
Qian Wang
|
ed1253ff4c
|
Refactor MakeObfs and MakeDeobfs
|
2018-12-09 23:45:06 +00:00 |
|
Qian Wang
|
306385f9c2
|
Uncomment header obfuscation
|
2018-11-24 01:24:47 +00:00 |
|
Qian Wang
|
239647c5b2
|
Fix a race, some cleanup
|
2018-11-24 00:55:26 +00:00 |
|
Qian Wang
|
c4048dccea
|
Basic remote control
|
2018-11-22 21:55:23 +00:00 |
|
Qian Wang
|
3534d05055
|
QOS and user managing, bug fixes
|
2018-11-07 21:16:13 +00:00 |
|
Qian Wang
|
6a6b293164
|
Add bandwidth limiter
|
2018-10-28 22:51:00 +00:00 |
|
Qian Wang
|
f476650953
|
Rework switchboard dispatch
|
2018-10-28 21:22:38 +00:00 |
|
Qian Wang
|
9e4aedbdc1
|
Stream closing is now ordered
|
2018-10-27 23:35:46 +01:00 |
|
Qian Wang
|
077eb16dba
|
Fix goroutine leak
|
2018-10-27 15:27:43 +01:00 |
|
Qian Wang
|
0db52a8a26
|
General improvements
|
2018-10-23 20:47:58 +01:00 |
|
Qian Wang
|
3f7eef98e3
|
drop aes encryption of headers
|
2018-10-20 21:41:01 +01:00 |
|
Qian Wang
|
bd69784443
|
optimisations
|
2018-10-20 17:03:39 +01:00 |
|
Qian Wang
|
7487600434
|
Mostly works
|
2018-10-20 11:35:50 +01:00 |
|
Qian Wang
|
02fa072964
|
Fix infinite loop. Baseline
|
2018-10-16 21:13:19 +01:00 |
|
Qian Wang
|
a8786a5576
|
Use ECDH instead of ECIES
|
2018-10-14 20:32:54 +01:00 |
|