1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-24 23:23:08 +00:00
Commit graph

1712 commits

Author SHA1 Message Date
M66B
3ba197649b Support for multiple DNS servers 2016-02-21 14:00:17 +01:00
M66B
aedade8bfe Removed to do's 2016-02-21 12:58:14 +01:00
M66B
144b1e3a67 Show application name on larger screens
Fixes #332
2016-02-21 12:58:01 +01:00
M66B
48bafdcf00 Remove resolved menu
Closes #326
2016-02-21 12:27:05 +01:00
M66B
6f51464651 Refactoring 2016-02-21 12:13:53 +01:00
M66B
7544f3cdc7 Reset apply as well 2016-02-21 09:53:08 +01:00
M66B
74c5cd7268 Consider not apply as a change rule as well 2016-02-21 09:50:22 +01:00
M66B
6afc4706f9 0.91 beta 2016-02-21 09:35:17 +01:00
M66B
340162da8b Do not apply when not managing system applications 2016-02-21 09:32:00 +01:00
M66B
0603060011 Crowdin sync 2016-02-21 09:25:30 +01:00
M66B
cb1235a217 Replaced confusing filter allowed option with per application apply setting 2016-02-21 09:04:03 +01:00
M66B
da25a91e61 Fixed filtering enabled by default on Android 5.1
Closes #338
2016-02-20 16:32:50 +01:00
M66B
a07677b0a2 Storing resolved DNS names depends on filtering allowed traffic 2016-02-20 13:00:50 +01:00
M66B
ddc3704379 Port forwarding depends on filtering allowed traffic 2016-02-20 12:35:51 +01:00
M66B
ef9d459833 Default allow NetGuard
Fixes #336
2016-02-20 11:11:42 +01:00
M66B
a1b5bb802d Show all application for port forwarding
Fixes #335
2016-02-20 11:07:36 +01:00
M66B
df6c43517d Log version on create main activity 2016-02-20 09:05:12 +01:00
M66B
6e20de59d2 Crowdin sync 2016-02-20 08:58:41 +01:00
M66B
939e059e2a Make roaming symbol translatable
For scripts other than latin

Refs #333
2016-02-20 08:56:33 +01:00
M66B
e20e8234d7 Fixed tinting off legend on lower Android versions
Refs #333
2016-02-20 08:53:39 +01:00
M66B
800b12c469 Fixed legend in light theme
Fixes #333
2016-02-20 08:42:48 +01:00
M66B
c464ec1ab5 Ask if sure when clearing network usage, layout improvement 2016-02-20 08:36:34 +01:00
M66B
45fe542e91 Log number of connections per domain per applications 2016-02-19 20:58:11 +01:00
M66B
10bcd8e4ee 2016021902 beta 2016-02-19 17:47:04 +01:00
M66B
cb8a7f1479 Crowdin sync 2016-02-19 17:44:38 +01:00
M66B
2e70a03897 Lets behave
When power save mode is enabled on Lollipop or later:
- stop traffic logging
- stop usage logging
- stop speed graph notification
2016-02-19 17:33:19 +01:00
M66B
5e80515785 Store notify indication by package name 2016-02-19 16:49:32 +01:00
M66B
b4e7a7a1ef Added legend 2016-02-19 12:43:26 +01:00
M66B
4ad768bdb5 Crowdin sync 2016-02-19 11:13:50 +01:00
M66B
4ac98761bc Better position long press help texts, long press icon shows about 2016-02-19 11:12:19 +01:00
Marcel Bokhorst
ca85cad3af Merge pull request #331 from licaon-kter/patch-1
Long press toast on hourglass
2016-02-19 10:52:13 +01:00
M66B
c16f159c5c Updated to do's 2016-02-19 10:51:09 +01:00
licaon-kter
6f5f4dcf89 Actual toast 2016-02-19 11:39:29 +02:00
licaon-kter
5fc001cb19 Toaster tip on busy long press 2016-02-19 11:37:30 +02:00
M66B
c992aa56fe Layout improvement 2016-02-19 09:43:14 +01:00
M66B
bb2b9a9d44 Fixed resetting state on stop 2016-02-19 09:28:12 +01:00
M66B
c58c4bacdf 0.90 beta 2016-02-19 08:53:26 +01:00
M66B
e6bdf5c77d Added hourglass to indicate the background service is busy 2016-02-19 08:49:31 +01:00
M66B
e161c8d7ad Added database indices for faster reload 2016-02-19 08:03:41 +01:00
M66B
185c6f6f91 Split main/log action bar layout 2016-02-18 23:05:02 +01:00
M66B
67161f32d9 Fixed enabling/disabling PCAP
Fixes #328
2016-02-18 23:01:20 +01:00
M66B
7800251ebf Indicate connection is metered in the action bar 2016-02-18 10:10:55 +01:00
M66B
5ae59064ab IAB fixes, improvements 2016-02-18 09:16:18 +01:00
M66B
6a1a3157b6 Checked database indices 2016-02-17 15:47:53 +01:00
M66B
a5b44db63f Added logging 2016-02-17 13:25:58 +01:00
M66B
7b9d3039ec Save some memory when not started 2016-02-17 13:24:36 +01:00
M66B
37d44af65a Always reload rules 2016-02-17 13:08:57 +01:00
M66B
2ea05570da Added logging 2016-02-17 09:14:08 +01:00
M66B
5eea96737d Fixed port forwarding application selector 2016-02-17 09:01:42 +01:00
M66B
7cc7e5de1b Register connection/interactive state when receiving log
There could be a (small) time between sending and handling to log message
2016-02-16 09:18:26 +01:00
M66B
be28756be6 Crowdin sync 2016-02-16 08:14:09 +01:00
M66B
12b35caff0 0.89 beta 2016-02-16 07:42:34 +01:00
M66B
3c7cc7eaa2 Crowdin sync 2016-02-16 07:41:32 +01:00
M66B
6ea46b47c1 Merge branch 'master' into usage
Conflicts:
	app/src/main/java/eu/faircode/netguard/SinkholeService.java
2016-02-16 07:38:53 +01:00
M66B
ee692d9e27 Refresh application list when needed only 2016-02-16 07:25:57 +01:00
M66B
fbd758140b Prevent crash
Refs #291
2016-02-16 07:21:14 +01:00
M66B
902a0de9a0 Try to workaround handover fail
https://code.google.com/p/android/issues/detail?id=62410
2016-02-16 07:12:15 +01:00
M66B
12d4dbfb6e Merge branch 'master' into usage 2016-02-15 20:24:46 +01:00
M66B
a780534082 Try to workaround handover fail
https://code.google.com/p/android/issues/detail?id=62410
2016-02-15 20:24:11 +01:00
M66B
6f1a670091 Crowdin sync 2016-02-15 19:51:45 +01:00
M66B
4df3eb535f Added option to reset network usage statistics 2016-02-15 19:49:33 +01:00
M66B
66aee047a9 Layout improvement 2016-02-15 18:42:11 +01:00
M66B
53b6b99764 Traffic accounting units 2016-02-15 18:31:08 +01:00
M66B
b4810bcd61 Crowdin sync 2016-02-15 17:56:17 +01:00
M66B
dbffce872f Native UDP/TCP traffic accounting 2016-02-15 17:51:23 +01:00
M66B
e92b51643b Removed to do 2016-02-15 14:04:31 +01:00
M66B
8c3123aea2 2016021502 beta 2016-02-15 13:12:18 +01:00
M66B
1c5a7a188e Reload hosts file when needed only 2016-02-15 13:10:35 +01:00
M66B
dbe4414501 Native factor ACKed into send window 2016-02-15 12:50:03 +01:00
M66B
0e09d6d31e Fixed removing advanced setting 2016-02-15 12:12:09 +01:00
M66B
4e92a7aca8 Native report unknown unknown protocols only
Fixes #324
2016-02-15 12:03:19 +01:00
M66B
2f68dc8fff 0.88 beta 2016-02-15 08:37:31 +01:00
M66B
f2c927bcbc Crowdin sync 2016-02-15 08:30:15 +01:00
M66B
e2aec1a97d Check for pro feature later 2016-02-15 08:19:07 +01:00
M66B
bd582ce964 Layout improvement 2016-02-15 08:18:57 +01:00
M66B
77212945b9 Set filter allowed for older Android versions 2016-02-15 08:09:08 +01:00
M66B
4ab9ebbfd8 Native fixed get uid logging, refactoring 2016-02-15 08:01:25 +01:00
M66B
c137d98dbd 2016021402 beta 2016-02-14 20:27:44 +01:00
M66B
0411e4b9aa Layout improvement 2016-02-14 19:23:01 +01:00
M66B
5ed0bf7538 Let domain blocking depend on filtering allowed traffic 2016-02-14 18:22:34 +01:00
M66B
29123467c1 2016021401 beta 2016-02-14 16:39:29 +01:00
M66B
5b0ba61fcd Added setting to route allowed traffic, crowdin sync 2016-02-14 16:34:37 +01:00
M66B
c3efb778f7 Routing allowed only if filter rules
Closes #321
2016-02-14 16:01:11 +01:00
M66B
f1c2c13193 Revert "Do not route system traffic into the VPN when not managing system apps"
This reverts commit 41f9ec6644.

Refs #321
2016-02-14 15:06:45 +01:00
M66B
41f9ec6644 Do not route system traffic into the VPN when not managing system apps
Refs #321
2016-02-14 14:57:50 +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
M66B
9769db65c1 Add last 250 traffic log entries to logcat 2016-02-14 13:50:11 +01:00
M66B
19b0fe25a5 Native report fragmentation, unknown protocols 2016-02-14 13:30:36 +01:00
M66B
db43a95de3 Log not supported protocols as blocked
Refs #321
2016-02-14 12:48:26 +01:00
M66B
87b3d0c33c Native the maximum domain name length is 255 octets
http://tools.ietf.org/html/rfc3986#page-21
2016-02-14 11:58:34 +01:00
M66B
dc0980e87f Native refactoring 2016-02-14 11:29:48 +01:00
M66B
3beb851339 System application theming fix 2016-02-14 11:16:50 +01:00
M66B
a315b5042d Fixed image button theming 2016-02-14 11:13:34 +01:00
M66B
5166b8318b Make PCAP record size and max file size configurable 2016-02-14 11:01:36 +01:00
M66B
46b054b9f8 Prevent double name lookups 2016-02-14 10:16:44 +01:00
M66B
bb3f4bf212 Do not import last hosts file import/download time 2016-02-14 10:09:12 +01:00
M66B
60a3babb4e Search on complete uid in traffic log
Only searching on 0 root is still awkward
2016-02-14 10:03:43 +01:00
M66B
2c40e71326 Recursively apply related rules
Refs #317
2016-02-14 09:56:51 +01:00
M66B
645964af12 Remove open file list from logcat 2016-02-14 08:17:28 +01:00
M66B
d05f9c68d7 2016021301 beta 2016-02-13 19:01:19 +01:00
M66B
00d5a656c1 Scale down application icons to save memory 2016-02-13 16:10:18 +01:00
M66B
6d4639325d Inflate without attaching to root 2016-02-13 15:55:22 +01:00
M66B
02f8abaf1c Native keep alive in established state only 2016-02-13 14:51:34 +01:00
M66B
81ee9a2614 Native keep record of ACKed 2016-02-13 14:46:03 +01:00
M66B
84397de61b Native accept ACK after FIN/ACK 2016-02-13 14:14:21 +01:00
M66B
3ffbd588b3 Native enable socket keep alive after keep alive response 2016-02-13 14:13:43 +01:00
M66B
3acd171bee Native check for bad sockets
Refs #316
2016-02-13 13:41:38 +01:00
M66B
a66e6c302d Collect garbage 2016-02-13 13:25:48 +01:00
M66B
a93e536be5 Cleanup 2016-02-13 13:17:05 +01:00
M66B
945a9e0f33 VACUUM cannot run within a transaction 2016-02-13 13:16:02 +01:00
M66B
baf5df686c Enable write ahead logging on database
This will consume more memory, but be faster
2016-02-13 13:09:23 +01:00
M66B
37940d6fc9 Notify forward changed 2016-02-13 12:42:26 +01:00
M66B
f83cc0e82d Native allow settings PCAP record/file size from Java 2016-02-13 12:28:59 +01:00
M66B
6b7d4ed017 Log ACK behind 2016-02-13 12:24:18 +01:00
M66B
9310d71dcf Enable socket keep alive after 150 seconds or when receiving a keep alive ACK 2016-02-13 10:49:26 +01:00
M66B
72815e6e79 Revert "Remove reverse DNS from access adapter"
This reverts commit fa027e50a2.
2016-02-13 09:45:03 +01:00
M66B
ed53576311 Allow system applications in disconnected state 2016-02-13 09:09:00 +01:00
M66B
5a63c34938 Show resolved domain names (debug version only) 2016-02-13 07:54:44 +01:00
M66B
c5315926d3 2016021201 beta 2016-02-12 22:07:04 +01:00
M66B
fa027e50a2 Remove reverse DNS from access adapter 2016-02-12 22:02:51 +01:00
M66B
6b37952153 Crowdin sync 2016-02-12 21:29:43 +01:00
M66B
194fd65a08 Show of allowed/blocked without connection 2016-02-12 21:25:34 +01:00
M66B
6b6b2769d8 Revert "Revert "Allow unknown addresses""
This reverts commit 9b224314eb.
2016-02-12 21:19:43 +01:00
M66B
c456948827 Allow all when no connection 2016-02-12 21:18:42 +01:00
M66B
2ba3f8e0d8 Fixed allowing numeric addresses 2016-02-12 21:13:09 +01:00
M66B
9b224314eb Revert "Allow unknown addresses"
This reverts commit c4cf6bf7b2.
2016-02-12 21:01:27 +01:00
M66B
c4cf6bf7b2 Allow unknown addresses 2016-02-12 20:41:04 +01:00
M66B
55de37cb5c Last time imported hosts file
Fixes #280
2016-02-12 10:52:28 +01:00
M66B
06f3ea9a79 Support other URL types 2016-02-12 10:32:26 +01:00
M66B
37a100bcfd Updated text 2016-02-12 09:56:16 +01:00
M66B
70ef2d4303 Remark about NETLINK
https://en.wikipedia.org/wiki/Netlink
2016-02-12 09:25:31 +01:00
M66B
38ba3513c0 Added button to filter application with same uid
Also show application settings and launch button for everybody

Closes #309
2016-02-12 09:22:12 +01:00
M66B
13bc0e237d Show NetGuard in the application list again
Fixes #312
2016-02-12 08:35:37 +01:00
M66B
1c86d724de Unknown host is a warning 2016-02-12 08:28:31 +01:00
M66B
ebeae91ed3 Separate command, log and stats handlers 2016-02-12 08:27:04 +01:00
M66B
2ab2ff00ec Make sure IAB will always be unbound
Refs #291
2016-02-12 07:52:19 +01:00
M66B
8a7061a1eb Subscription changes are relevant for national roaming only 2016-02-11 22:07:48 +01:00
M66B
52ceccd12b Simpler DNS server check 2016-02-11 22:05:19 +01:00
M66B
d460404d59 Native skip reset for listen timeout 2016-02-11 22:02:22 +01:00
M66B
c3bcd64bac 2016021102 beta 2016-02-11 17:28:09 +01:00
M66B
dcff6d0761 Hint port forwarding external server
Refs #303
2016-02-11 17:18:43 +01:00
M66B
e171a00b85 Native send keep alives 2016-02-11 17:16:02 +01:00
M66B
8e4fef627f 0.87 beta 2016-02-11 15:45:39 +01:00
M66B
bbb99e00b6 Native decode TCP options, log new TCP sessions 2016-02-11 15:44:31 +01:00
M66B
31b0b8e7ad Native warning for urgent TCP 2016-02-11 15:21:55 +01:00
M66B
e78133d381 Remarks 2016-02-11 15:15:18 +01:00
M66B
39cfeac239 Show VPN start exceptions 2016-02-11 15:03:39 +01:00
M66B
c0c5b2b94f Check if reload succeeded 2016-02-11 15:01:23 +01:00
M66B
a8f16d2d29 Native increase select timeout to 1 hour 2016-02-11 14:46:43 +01:00
M66B
c2681c3046 Workaround for inconsistent quoting of the Wi-Fi manager
Closes #311
2016-02-11 14:25:00 +01:00
M66B
9bab61ae3c Added port forwarding application selector
Closes #303
2016-02-11 14:09:32 +01:00
M66B
c4914c5651 Crowdin sync 2016-02-11 13:05:04 +01:00
M66B
67fb7427d1 Show original metered/roaming state
Refs #311
2016-02-11 13:03:01 +01:00
M66B
2f51938d1c Refactoring 2016-02-11 12:47:36 +01:00
M66B
556ef90e04 Show actual / maximum number of open files in speed notification
Refs #311
2016-02-11 10:33:43 +01:00
M66B
9f07fdb39a Revert "Remove open file percentage"
This reverts commit 2181221a79.
2016-02-11 10:13:10 +01:00
M66B
24892ed67d Native scale timeout depending on number of sessions
Refs #311
2016-02-11 09:51:50 +01:00
M66B
2181221a79 Remove open file percentage
It was showing the global number / maximum of open files, not for the process

Refs #311
2016-02-11 09:15:10 +01:00
M66B
09da6010da Native limit number of sessions
Refs #311
2016-02-11 09:12:00 +01:00
M66B
1212c49e9b Native raise file number limit to maximum
Refs #311
2016-02-11 08:48:14 +01:00
M66B
97d9bcf610 Native remarks 2016-02-11 08:20:45 +01:00
M66B
223cf9fbc7 Better checl VPN/DNS address 2016-02-11 07:50:02 +01:00
M66B
85d179f5de Crowdin sync 2016-02-10 20:42:37 +01:00
M66B
2e185d184a Add open files to logcat, show percentage files open
refs #307
2016-02-10 20:39:33 +01:00
M66B
d5911f8a51 Move session counts to upper left 2016-02-10 20:10:02 +01:00
M66B
c9c8175391 Log allowed count 2016-02-10 19:52:55 +01:00
M66B
a78030713f Native refactoring 2016-02-10 19:28:40 +01:00
M66B
29d3c74a9a Use reentrant read/write lock to protect database / optimize performance
Refs #243
2016-02-10 18:54:22 +01:00
M66B
e738cddd80 Make database helper single instance
Refs #243
2016-02-10 12:50:51 +01:00
M66B
5b93010a9a Crowdin sync 2016-02-10 12:30:33 +01:00
M66B
bdcb1056b4 Log number of logcat lines
Refs #243
2016-02-10 12:29:52 +01:00
M66B
92f8dd662d Native ACK remote FIN without delay 2016-02-10 12:07:39 +01:00
M66B
0608189bdf Nobody 2016-02-10 10:22:13 +01:00
M66B
ad9610cd43 Enable use hosts after download 2016-02-10 09:32:36 +01:00
M66B
6916fda17e Hint destination port to be 5353
Closes #304
2016-02-10 09:16:37 +01:00
M66B
5c13c4ab0c 2016020902 beta 2016-02-09 21:30:19 +01:00
M66B
b6b1e0d251 Native TCP socket close handling 2016-02-09 21:16:16 +01:00
M66B
47a27f61c4 Native refactoring 2016-02-09 19:56:05 +01:00
M66B
e638533e06 Native refactoring 2016-02-09 18:59:20 +01:00
M66B
8eba191c43 Native is numeric address, reverse DNS for numeric access addresses 2016-02-09 16:31:56 +01:00
M66B
d6e9f711f4 Fixed lint warnings 2016-02-09 15:29:28 +01:00
M66B
e43c76b264 Added hint texts to port forward add dialog 2016-02-09 15:10:12 +01:00
M66B
285e2e7f13 Port forwarding UDP/TCP dropdown
Refs #303
2016-02-09 14:56:34 +01:00
M66B
5436b12fbf Default native log level error 2016-02-09 14:20:37 +01:00
M66B
f28f2ec461 Move session info to bottom corner 2016-02-09 14:20:18 +01:00
M66B
32223b6c4f Native refactoring 2016-02-09 13:43:18 +01:00
M66B
fec3593a73 Fixed build.gradle
Refs #298
2016-02-09 12:33:14 +01:00
M66B
03ff9d7d12 0.86 beta 2016-02-09 11:36:15 +01:00
M66B
9c9a7a7523 Native increase select timeout 2016-02-09 11:32:03 +01:00
M66B
27cc16eb2e Basic port forwarding UI
Fixes #292
2016-02-09 11:24:59 +01:00
Marcel Bokhorst
a5ace98900 Merge pull request #298 from smarek/gradle-experimental-upgrade
Upgrade to Gradle experimental plugin 0.6.0-alpha5
2016-02-09 08:12:27 +01:00
M66B
b8716554f0 Native better receive window handling 2016-02-09 07:59:26 +01:00
M66B
da99bca7a1 Native calculate receive window 2016-02-08 22:20:38 +01:00
M66B
b3458e3bd9 2016020803 beta 2016-02-08 21:14:13 +01:00
M66B
e5f22a9029 Native less agressive scaling 2016-02-08 21:01:20 +01:00
M66B
d0a50b53f9 2016020802 beta 2016-02-08 20:41:31 +01:00
M66B
0a8dd5a41b Native scale UDP/TCP timeout 2016-02-08 20:36:16 +01:00
M66B
09be0d58d9 Revert "Native keep sessions shorter to prevent too many open files"
This reverts commit c14a79623a.
2016-02-08 19:26:28 +01:00
M66B
c14a79623a Native keep sessions shorter to prevent too many open files 2016-02-08 19:12:33 +01:00