1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-23 09:22:16 -05:00
Commit Graph

59 Commits

Author SHA1 Message Date
Balint Kovacs
83de2e9485 random: raise PRNG entropy level
as described in
https://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html

Signed-off-by: blint@blint.hu
2015-07-25 00:18:51 +02:00
Balint Kovacs
dd0e9ac280 TcpProxyServerThread: add missing check on socket existence 2014-12-19 11:28:33 +01:00
Balint Kovacs
60646b523c SSLDroidTunnelDetails: remove unnecessary except clause
Signed-off-by: Balint Kovacs <blint@balabit.hu>
2014-12-19 11:27:00 +01:00
Balint Kovacs
c97ab2bb80 Moved Relay class into a separate file
Signed-off-by: Balint Kovacs <blint@blint.hu>
2014-02-08 10:15:07 +01:00
Balint Kovacs
42c6f7df96 Fix a race condition in TcpServerThread
Signed-off-by: Balint Kovacs <blint@blint.hu>
2014-02-03 15:49:49 +01:00
Balint Kovacs
72f5efd826 Added Clone tunnel functionality
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-13 08:16:06 +02:00
Balint Kovacs
27b08ae528 Removed unnecessary import
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-13 07:47:20 +02:00
Balint Kovacs
8ade78aeb7 Added version info in service startup log message
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-12 10:34:36 +02:00
Balint Kovacs
1c7977a78d Added share logs functionality
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-12 09:19:32 +02:00
Balint Kovacs
74d7c4c6a4 added suppress to remove warnings for yet unused functionality
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-12 09:18:34 +02:00
Balint Kovacs
f269d18052 removed presumably dead code 2013-06-12 09:15:08 +02:00
Balint Kovacs
15119d1698 removed unnecessary import
Signed-off-by: Balint Kovacs <blint@blint.hu>
2013-06-12 09:12:54 +02:00
Balint Kovacs
8e3cd92b69 Implemented explicit stop feature - stops the service until it is
started manually

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-10-19 11:44:43 +02:00
Balint Kovacs
d59aa907a8 Additional logging in case of SSL IOExeption
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-09-05 15:48:40 +02:00
Balint Kovacs
99e6e89c13 Changed logging, so that it includes the listening socket's IP address
as well

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-09-05 15:48:07 +02:00
Balint Kovacs
d474bb6682 Implement check if the client-side certificate is expired
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-09-05 15:44:20 +02:00
Balint Kovacs
6010416325 Check certificate expiration while saving the tunnel details
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-07-19 15:00:25 +02:00
Balint Kovacs
99c780aabc Causes NullPointerException
Revert "Enhanced logging for Network status change, so that we are able to"

This reverts commit c8a4d2a459.
2011-06-14 12:15:56 +02:00
Balint Kovacs
c8a4d2a459 Enhanced logging for Network status change, so that we are able to
filter better on change events in future

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-06-10 09:25:41 +02:00
Balint Kovacs
c3add3dbf8 Fixed too strict unicity check in tunnel details dialog
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-06-10 09:25:00 +02:00
Balint Kovacs
aad79a8e5a Indentation fixes
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 21:31:26 +02:00
Balint Kovacs
69c521c91e Removed the ticker text on service startup notification, only
displaying the icon now (less disturbing)

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 19:57:50 +02:00
Balint Kovacs
6c07dca8e0 Implemented network state change listener that stops the service on
connectivity loss and starts it once connectivity is regained

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 14:07:25 +02:00
Balint Kovacs
5d92ede437 Externalized string for menu item "Refresh" on the logview activity
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 12:41:23 +02:00
Balint Kovacs
4974177603 Added refresh menu option to the logview activity
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 12:32:34 +02:00
Balint Kovacs
cacac3cc50 Fixed a copy-paste problem in AndroidManifest.xml, the log read
activity always popped up the soft keyboard

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 10:02:30 +02:00
Balint Kovacs
236a6394c7 Removed log messages used for inital debugging that could disclose
personal information (SD card content)

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 09:32:28 +02:00
Balint Kovacs
64063593f8 Added Back button in the file browser and did some additional checks
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 09:28:26 +02:00
Balint Kovacs
7f5f4f4768 Implemented rudimentary file browser capability to dive into
subdirectories

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-03 21:20:47 +02:00
Balint Kovacs
ef3168131b Extended file pick dialog to find .p12 and .pfx files on the whole SD
card recursively

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-03 19:28:57 +02:00
Balint Kovacs
2e55c4e2c3 Polished log view a bit more
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-03 18:11:07 +02:00
Balint Kovacs
3a03aa7eed Removed unused code hunk
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-03 17:12:20 +02:00
Balint Kovacs
11db518fe9 Polished log view to a usable stage
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-03 17:06:04 +02:00
Balint Kovacs
662d62d7bd Log view prototype (untested)
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-29 02:01:24 +02:00
Balint Kovacs
5e276bf69c Added a bunch of TODO's to the appropriate files
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-28 15:40:17 +02:00
Balint Kovacs
de7a264296 Added log tags and session ID to the stream related error messages
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-26 15:42:11 +02:00
Balint Kovacs
a094fa8be1 Added local port collision check to the tunnel details input
validation

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-26 15:16:45 +02:00
Balint Kovacs
8d35c15a02 Added a bunch of input validation at the tunnel details screen
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-26 14:49:50 +02:00
Balint Kovacs
e33cf5dc17 Make sure the server socket only listens on localhost
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-21 07:26:35 +02:00
Balint Kovacs
f83d37f2ca Moved saving the TunnelDetails state from the onPause() hook to the
explicit button press event for the Apply button to avoid the changes
to be saved if the user hits the back button.

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-21 00:20:19 +02:00
Balint Kovacs
a4489bcd97 Basically undone these commits:
82da2651b2
780d221b2f

Instead of wait()-ing which has just made the problem worse, the
socket used for passing data between the threads needs to be closed.

The second is yet to be solved, onPause() is called even if the
Activity is being canceled, need to check somehow why this is needed
for saving the instance state.

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 23:34:35 +02:00
Balint Kovacs
79c357576c Implemented file chooser for picking the PKCS12 file for the tunnel
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 21:45:56 +02:00
Balint Kovacs
422d217e3b Some more cleanup
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:08:14 +02:00
Balint Kovacs
89d87a89e8 Some more cleanup
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:05:46 +02:00
Balint Kovacs
5ef9db389e Removed some clutter used for initial troubleshooting
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:05:19 +02:00
Balint Kovacs
82da2651b2 Try to wait() for the workerthreads to finish when stopping the
service, this probably needs more thought in the future

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:01:19 +02:00
Balint Kovacs
780d221b2f Fixed a problem that caused the application to save to tunnel
preference when pressing the back button and hence has also restarted
the service

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 18:59:42 +02:00
Balint Kovacs
422b11fdef Heavy refactoring, implemented proper GUI
Migrated settings to be sqlite-based and the GUI to be based on
ListActivity

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 18:10:34 +02:00
Balint Kovacs
4d724fb37d Implemented basics of multiple tunnel handling
Also implemented accepting all server certs as my subject server had
an expired certificate.

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-18 07:30:03 +02:00
Balint Kovacs
9d44957132 Changed "running" notification to display the tunnel details.
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-17 20:53:34 +02:00