Greg Alexander
|
0523529968
|
replace awkward authorized keys editor with a single "Reset Keys" option
to delete the authorized_keys file and revert to single-use passwords
|
8 years ago |
Greg Alexander
|
c9b8494352
|
add "Start on Open" option that makes the activity start the service, and
stopping the service ends the activity
|
8 years ago |
Greg Alexander
|
14a9812c85
|
now if you tap on the notification it goes to the SimpleSSHD main
activity so you can conveniently stop the service
|
8 years ago |
Greg Alexander
|
3da61bfa96
|
make the foreground service an option
|
8 years ago |
Greg Alexander
|
ae7703fad0
|
implemented startForeground(), with some reservation
|
8 years ago |
Greg Alexander
|
73d4406ee1
|
automatically restart sshd if the system kills it (or it crashes). but
don't restart it if it dies twice within 10 seconds.
only access sshd_pid (et al) from a few select spots now, with proper
synchronization.
|
8 years ago |
Greg Alexander
|
4eecabf241
|
and now it works, even will create a new ssh directory from scratch
|
8 years ago |
Greg Alexander
|
31fd0b37d0
|
now it compiles
|
8 years ago |
Greg Alexander
|
84f9f31c14
|
first draft of new authorized_keys creation activity and support threads
|
8 years ago |
Greg Alexander
|
65d628499b
|
beginning framework for authorized keys editor
|
8 years ago |
Greg Alexander
|
b35cee186d
|
separate "Documentation" and "About" choices, and About just displays
version numbers now
|
9 years ago |
Greg Alexander
|
a916ac5c08
|
add 'buffersu' program to wrap rsync and make sure there is no wedging
when SuperSU is combined with rsync
|
9 years ago |
Greg Alexander
|
fc20a31b6c
|
if there are multiple interfaces up, go ahead and list them all
|
10 years ago |
Greg Alexander
|
698ce0c52c
|
now it skips the fe80 bogus ipv6 addr
|
10 years ago |
Greg Alexander
|
63d63e4f84
|
this approach using java.net.NetworkInterface doesn't seem to work either
- it gives a random ipv6 address of no relation to any reality I'm
interested in, I think
|
10 years ago |
Greg Alexander
|
615e835880
|
get the ip address of the device using wifimanager, which only works if
we're on wifi, and needs a new permission
|
10 years ago |
Greg Alexander
|
3620b17411
|
implement start on boot
|
10 years ago |
Greg Alexander
|
8a1bc2c4e0
|
made the JNI methods static because they didn't use this anyways
|
10 years ago |
Greg Alexander
|
5df0610f5c
|
implement the extra dropbear commandline options
|
10 years ago |
Greg Alexander
|
637de21aca
|
add locking to resolve some thread safety issues
|
10 years ago |
Greg Alexander
|
5c7d92415c
|
remove debug code from updater thread
|
10 years ago |
Greg Alexander
|
a40b35a5a2
|
updater checks length as well as time, in case there are multiple
modifications within the same second
|
10 years ago |
Greg Alexander
|
52a1093dde
|
make the log view always show the bottom of the log
|
10 years ago |
Greg Alexander
|
4581a224ac
|
first draft of a thread to poll for changes to the dropbear.err file
|
10 years ago |
Greg Alexander
|
b44b9295d5
|
add display of the dropbear.err log (it doesn't update yet)
|
10 years ago |
Greg Alexander
|
932bfa3242
|
save the static pointer to the main Activity in SimpleSSHD because it'll
be used by more than just SimpleSSHDService..
|
10 years ago |
Greg Alexander
|
76eb76fac4
|
get rid of the old prefs machinery
|
10 years ago |
Greg Alexander
|
e49cf68feb
|
port is a string now because none of the stock preference widgets will do
a number...
|
10 years ago |
Greg Alexander
|
bbcb048996
|
first draft of settings activity
|
10 years ago |
Greg Alexander
|
95c028ad81
|
add an options menu to access the future settings activity
|
10 years ago |
Greg Alexander
|
324bf93935
|
no need to specify -l on the shell, dropbear does it as appropriate
|
10 years ago |
Greg Alexander
|
f0347f7477
|
probably startForeground() is overkill?
|
10 years ago |
Greg Alexander
|
5c01b97345
|
when creating the Service, we check for a pid file for an orphaned daemon
process, and if it exists, we kill it.
|
10 years ago |
Greg Alexander
|
e77351edd4
|
factor the SharedPreferences usage into its own Prefs class
|
10 years ago |
Greg Alexander
|
5248db4380
|
add a (useless) service onDestroy() to clean up the sshd
|
10 years ago |
Greg Alexander
|
aa006d51d8
|
eek! and call super.onPause() too
|
10 years ago |
Greg Alexander
|
f5d6675cad
|
make the start button color a little more palatable
|
10 years ago |
Greg Alexander
|
58eefb02b9
|
add something to wait for the forked process to die, so it doesn't become
a zombie
|
10 years ago |
Greg Alexander
|
c6fbf0cbcc
|
fix getting the port number out of the UI
|
10 years ago |
Greg Alexander
|
41faa118cc
|
fix typos in definition of startstop_clicked()
|
10 years ago |
Greg Alexander
|
b9ad9864ce
|
whoops, chain to super.onResume()
|
10 years ago |
Greg Alexander
|
1febe9ebe9
|
add service lifetime termination, and notes about future service foregrounding..
|
10 years ago |
Greg Alexander
|
a9ca75accc
|
communicate the preferences to the C code
|
10 years ago |
Greg Alexander
|
02a88eae06
|
typos...
|
10 years ago |
Greg Alexander
|
8ced3ab635
|
and there's the start/stop button implementation
|
10 years ago |
Greg Alexander
|
9cac7ed132
|
make sshd_pid static
|
10 years ago |
Greg Alexander
|
720007ae32
|
now it compiles...
|
10 years ago |
Greg Alexander
|
643a5aff23
|
first draft of service
|
10 years ago |
Greg Alexander
|
4cd9277401
|
oversight
|
10 years ago |
Greg Alexander
|
a23c28a02d
|
first draft of preferences ui code
|
10 years ago |