1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-15 13:35:04 -05:00
Commit Graph

35 Commits

Author SHA1 Message Date
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
8a28244471 Another cleanup round
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 20:42:55 +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
Balint Kovacs
7cf08aca6e Fixed "running" notification to be persistent, e.g. not clearable by
the user.

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-17 20:44:04 +02:00
Balint Kovacs
a447f4419f Support for local settings
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-15 11:50:00 +02:00
Balint Kovacs
02465d3450 Moved notification creation and deletion to separate functions
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-15 08:43:13 +02:00
Balint Kovacs
c1a7c94be9 Fixed shutdown issue and some error handling adjustments
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-15 08:42:03 +02:00
Balint Kovacs
2ebebbd896 Huge amount of changes:
* moved TcpProxy server thread into separate class
* implemented on boot startup
* fixed service stop problem

and anything else I forgot about (bad boy, should commit more often)

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-12 17:06:00 +02:00
Balint Kovacs
36414ea0b9 Initial support for on-boot startup
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-03-25 11:43:04 +01:00
Balint Kovacs
769f2768dc Added the svg version of the logo the the assets
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-03-24 21:02:58 +01:00
Balint Kovacs
99fb986ac4 New icon and some minor reformattings
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-03-24 20:59:48 +01:00
Balint Kovacs
484d940be9 Minor logging cleanup and bugfixes
Finally a working proof-of-concept

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-03-22 14:47:14 +01:00
Balint Kovacs
4ba06a0131 Initial commit
So far done:
- ssl proxying
- basic android conversion

Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-03-21 12:27:51 +01:00