Commit Graph

299 Commits

Author SHA1 Message Date
M66B e647d0ea29 Revert "Handle epoll hup"
This reverts commit 4b847acc88.
2016-06-24 18:46:13 +02:00
M66B cf3f629b52 Optimization
Refs #431
2016-06-24 18:33:44 +02:00
M66B 4b847acc88 Handle epoll hup
Refs #431
2016-06-24 18:33:29 +02:00
M66B 0520a51736 Log epoll hup
Refs #431
2016-06-24 17:56:33 +02:00
M66B f615d251b1 Simplications
Refs #431
2016-06-24 17:48:22 +02:00
M66B af71ba803f Replace signals by pipe
Refs #431
2016-06-24 17:44:54 +02:00
M66B b1de77be1e Cleanup obsolete code
Refs #431
2016-06-24 16:28:50 +02:00
M66B 810a7ca23c Increase max session count to 75%
Refs #431
2016-06-24 16:15:01 +02:00
M66B 5e0f64a039 Optimize session checking
Refs #431
2016-06-24 16:12:05 +02:00
M66B 6c7c66322a Optimize session counting
Refs #431
2016-06-24 15:48:03 +02:00
M66B 11c79001b5 Switch from pselect to epoll
Refs #431
2016-06-24 15:21:04 +02:00
M66B 7983b03c6c Use fcntl to check for valid file descriptors
Refs #431
2016-06-23 16:50:15 +02:00
M66B 2fe2fdd273 Limit number of sessions to 50% of available descriptors
Limit number of retries after EBADF to 10 times

Closes #420
2016-05-06 07:06:53 +02:00
M66B 4164014df7 Revert fddbdccdec 2016-05-01 16:11:57 +02:00
M66B fddbdccdec Reduce searching for ready file descriptors to save battery 2016-04-16 12:19:40 +02:00
M66B 2782d44e10 Revert "Increase uid retry to 10"
This reverts commit 51ef5f2093.
2016-04-14 15:18:02 +02:00
M66B 51ef5f2093 Increase uid retry to 10 2016-04-11 18:54:38 +02:00
M66B c36ff9e420 Limit number of sessions to FD_SETSIZE 2016-04-11 08:11:49 +02:00
M66B 51332c6910 Prevent crash 2016-04-07 09:20:26 +02:00
M66B 5c5d016bd6 Android N compatibility: get system properties
http://developer.android.com/preview/behavior-changes.html#ndk
2016-03-26 18:16:28 +01:00
M66B bfce66196a Increase TCP idle timeout from 5 minutes to 1 hour 2016-03-25 08:07:06 +01:00
M66B ebdddb11ef Allow clearing datagram/stream separately 2016-03-19 07:27:22 +01:00
M66B 8608f20740 Fixed warnings 2016-03-11 11:32:15 +01:00
M66B b05f170e18 Allow dynamic MTU 2016-03-11 08:08:54 +01:00
M66B df04c29f1c Refactoring 2016-03-11 07:47:52 +01:00
M66B a8ad7a7b19 Small improvement 2016-03-10 16:41:49 +01:00
M66B 2233c92200 Small improvement 2016-03-10 13:21:50 +01:00
M66B bb43808ef3 Fixed warnings 2016-03-09 12:59:29 +01:00
M66B 2c0d0bc760 Fixed version conversion 2016-03-08 11:36:30 +01:00
M66B ef811796a5 Extra checks 2016-03-06 10:24:28 +01:00
M66B 27b19d630d Check for TCP urgent data 2016-03-05 14:12:10 +01:00
M66B 00edcd03e8 Define MTU in one place 2016-03-04 14:55:47 +01:00
M66B 27e98a6bd8 Handle partial sends 2016-03-04 13:24:58 +01:00
M66B 72e77f4a97 Implement TCP window scaling 2016-03-04 11:12:34 +01:00
M66B fe5f9370a3 Decode TCP window scale option 2016-03-03 12:40:05 +01:00
M66B 99ff31aad6 Increased send and receive window to 48 KB 2016-03-03 12:17:14 +01:00
M66B a055791d4a Calculate receive winodw after forwarding data 2016-03-03 11:02:45 +01:00
M66B 223de55f58 Removed local keep alive to save battery 2016-03-01 11:22:41 +01:00
M66B 5402eeed2a Revert "Enable keep alive later and enable on remote close"
This reverts commit fd614bcbd7.
2016-03-01 11:12:21 +01:00
M66B fd614bcbd7 Enable keep alive later and enable on remote close
This will save battery
2016-03-01 10:15:55 +01:00
M66B 5d27a2bb1e Properly handle EBADF
Closes #351
2016-02-27 19:02:20 +01:00
M66B 9a50844081 Reduce MTU to Android maximum value
Refs #342
2016-02-21 20:14:27 +01:00
M66B aedade8bfe Removed to do's 2016-02-21 12:58:14 +01:00
M66B c16f159c5c Updated to do's 2016-02-19 10:51:09 +01:00
M66B dbffce872f Native UDP/TCP traffic accounting 2016-02-15 17:51:23 +01:00
M66B dbe4414501 Native factor ACKed into send window 2016-02-15 12:50:03 +01:00
M66B 4e92a7aca8 Native report unknown unknown protocols only
Fixes #324
2016-02-15 12:03:19 +01:00
M66B 4ab9ebbfd8 Native fixed get uid logging, refactoring 2016-02-15 08:01:25 +01:00
M66B 5efacada27 Native report error number
This will allow different errors to have their own notification
2016-02-14 14:40:45 +01:00
M66B b037fe8727 Native refactoring 2016-02-14 14:11:05 +01:00