Commit Graph

1221 Commits

Author SHA1 Message Date
M66B c6658c8531 Native non blocking socket IO
tun is left in blocking mode, since there would be no gain in non blocking mode
2016-01-26 20:43:07 +01:00
M66B 5e09b78593 Native return DNS NXDOMAIN instead of local host 2016-01-26 19:05:39 +01:00
M66B 2e78edc183 Native fixes 2016-01-26 18:54:18 +01:00
M66B cbaad1047a Native bail on DNS compression, remarks 2016-01-26 18:41:19 +01:00
M66B 60e3fca0a4 Native DHCP
Unfortunately this does not solve tethering nor is it needed for tethering,
but lets leave it there for when we need it in the future.
2016-01-26 17:39:41 +01:00
M66B ef0231f560 Native recognize ICMPv6 2016-01-26 15:07:26 +01:00
M66B 8d9ecd010b Native IPv6 extension headers, refactoring, log fixes 2016-01-26 15:00:54 +01:00
M66B 9be681df84 imap ssl known port 2016-01-26 14:43:22 +01:00
M66B aacbdbeab4 Clear database async 2016-01-26 14:42:58 +01:00
M66B f061cb8f42 Native log extra data (currently qnames only) 2016-01-26 11:41:18 +01:00
M66B 071124d3fc Improved traffic log 2016-01-26 10:10:01 +01:00
M66B 860f251719 Append IP version to protocol 2016-01-26 09:09:00 +01:00
M66B eef1540a5a Revert "Native ICMP proof of concept"
This reverts commit 84c10f803e.
2016-01-26 09:02:44 +01:00
M66B 84c10f803e Native ICMP proof of concept 2016-01-26 09:02:07 +01:00
M66B e2b14108fb Native lock tun I/O 2016-01-26 08:05:42 +01:00
M66B 0ab9849552 Added debug setting 2016-01-26 08:03:59 +01:00
M66B 3787fc9190 Updated DNS on network change, better reload logic
Fixes #251
2016-01-26 07:26:43 +01:00
M66B e8ba6e24f5 Fallback to system DNS 2016-01-26 06:50:18 +01:00
M66B c74455c4b6 Native DNS TTL match default Android cache time 2016-01-25 20:25:40 +01:00
M66B f4e1382cb5 Added development option to set DNS 2016-01-25 19:23:59 +01:00
M66B dc968e449f Native fixed locking 2016-01-25 19:23:41 +01:00
M66B 6b7ecedffe Native TCPv6 2016-01-25 18:57:05 +01:00
M66B b6ec289f52 Show IP version 2016-01-25 16:41:54 +01:00
M66B 09a984ac95 Native DNSv6 blocking 2016-01-25 15:21:21 +01:00
M66B 0582fad911 Native use system DNS
Fixes #246
2016-01-25 13:58:44 +01:00
M66B 066d18a7d1 Native UDPv6 2016-01-25 13:28:52 +01:00
M66B c1a6b6d022 Get default DNS stub 2016-01-25 10:47:22 +01:00
M66B cf1263c309 Native allow unknown uids from Java 2016-01-25 09:44:17 +01:00
M66B d96e9ec3d4 Native PCAP init once 2016-01-25 09:37:58 +01:00
M66B 7e3fe28d9e Native fixed bad file descriptor 2016-01-25 09:27:12 +01:00
M66B 6db622a802 Native DNS blocked respond with no such name 2016-01-24 23:33:47 +01:00
M66B ce1915992d Native allow connections for unknown uids 2016-01-24 23:05:53 +01:00
M66B d816611618 Native UDPv6 (untested), attempt to fix PCAP 2016-01-24 22:46:25 +01:00
M66B af1f256664 Native fixed crash on no connection
Fixes #250
2016-01-24 16:03:46 +01:00
M66B 164c4002fb Subnet 224+ is not addressable 2016-01-24 16:03:36 +01:00
M66B d693af8928 Native fixed DNS reply, IPv6 preparations 2016-01-24 15:39:56 +01:00
M66B c8aee09a93 Native fixed/simplified DNS compression 2016-01-24 14:54:38 +01:00
M66B e204cbba50 Crowdin sync 2016-01-24 14:24:17 +01:00
M66B bd9a56b4da Allow beta sub version numbers 2016-01-24 14:21:53 +01:00
M66B f7b85638f1 Fixed crash when enabling tethering 2016-01-24 14:18:31 +01:00
M66B e1127183e1 Move hosts file to data folder 2016-01-24 14:10:22 +01:00
M66B 2ca17cd4a7 Native fixed crash recently introduced 2016-01-24 14:10:02 +01:00
M66B c5f1b3ebd3 Enable IP filtering for new installations for Android versions before 5.1 2016-01-24 14:04:37 +01:00
M66B 495dc5c2a7 Native prevent too many open files 2016-01-24 13:39:04 +01:00
M66B 7e5141ca6e Native report exit reason, refactoring 2016-01-24 12:50:40 +01:00
M66B c1dbd64447 Do not filter logcat on netguard 2016-01-24 08:59:47 +01:00
M66B 977f15822c Handle on destroy stop exceptions 2016-01-24 08:58:52 +01:00
M66B e965043116 Allow importing hosts files of any mime type 2016-01-24 07:58:04 +01:00
M66B 1e75535836 Native quick restart, allow root, terminate not allowed session on start 2016-01-24 07:47:32 +01:00
M66B 8475dbdf9d Updated text 2016-01-23 22:16:50 +01:00
M66B d7c2d64280 Disable use hosts switch if no hosts file 2016-01-23 22:14:04 +01:00
M66B 34dfcbcf0d Crowdin sync 2016-01-23 21:48:53 +01:00
M66B 47be2c367e Added option to enable/disable domain blocking
Thanks @rgarza

Fixes #241
Closes #245
2016-01-23 21:30:54 +01:00
M66B db71907dff Native fixed warnings 2016-01-23 20:46:39 +01:00
M66B 6403fb7796 Added error notification 2016-01-23 19:00:35 +01:00
iunk 24e3fc45a6 change in column name form ip to daddr 2016-01-23 11:08:48 -06:00
M66B 26e5978068 Fixed manifest 2016-01-23 17:37:56 +01:00
M66B 72c6103d5f Crowdin sync 2016-01-23 17:33:55 +01:00
M66B 22694e4d3a Ad blocking depends on filtering 2016-01-23 17:10:35 +01:00
M66B 97905df132 Ad blocking is not allowed in the Play store 2016-01-23 17:09:07 +01:00
M66B 70cc2e9017 Route DNS into VPN when filtering only 2016-01-23 16:58:25 +01:00
M66B 0026057861 Enable pro features and development settings in beta versions 2016-01-23 16:54:19 +01:00
M66B 8d6682515e Display nice names for VPN and DNS 2016-01-23 16:48:51 +01:00
M66B 705811f01f Native DNS domain blocking 2016-01-23 16:08:21 +01:00
M66B 0b03b6c443 Native ad blocking concept 2016-01-23 12:48:17 +01:00
M66B 4d932657a0 Native DNS request decompression 2016-01-23 10:57:20 +01:00
M66B 26852ebfc3 Native DNS request decode 2016-01-23 10:13:11 +01:00
M66B 19a4bc396f Allow internet to resolve host names 2016-01-23 08:28:32 +01:00
M66B 593a4fda87 Updated text
Thanks @pulser
2016-01-22 22:30:19 +01:00
M66B bc8150700a Added address to line script 2016-01-22 21:07:39 +01:00
M66B f5564607a1 Native fixed UDP broadcast 2016-01-22 20:59:11 +01:00
M66B ec77f7403e Route DNS into the VPN 2016-01-22 19:43:38 +01:00
M66B 1bdb7b86cb Native TCP push 2016-01-22 19:24:54 +01:00
M66B 69c5b7b2a0 Native TCP window 2016-01-22 19:03:32 +01:00
M66B 5a82c0aa6a Native optimize memory usage 2016-01-22 17:00:50 +01:00
M66B 7b9019e68f Native optimized JNI to Java calls 2016-01-22 16:41:27 +01:00
M66B c7557ff2fa Native refactoring, improvements 2016-01-22 16:15:13 +01:00
M66B a8da87fa9a Native better pcap file handling 2016-01-22 13:09:36 +01:00
M66B e8063ddbdb Blocked traffic layout improvements 2016-01-22 11:33:22 +01:00
M66B 5e061668c8 Handle packet logging async 2016-01-22 10:54:48 +01:00
M66B 87ee3417c2 Native improved stop logic 2016-01-22 10:43:59 +01:00
M66B 33845fd733 Native added source to traffic logging, added switch to enable host name resolving 2016-01-22 10:37:57 +01:00
M66B 8cad00d2b1 More efficient live update 2016-01-21 19:15:29 +01:00
M66B 98aa3c04fb Reorder pro features 2016-01-21 17:57:55 +01:00
M66B fae81d9109 Do not show NetGuard traffic stats 2016-01-21 17:46:31 +01:00
M66B ee78684869 Native fixed traffic log time 2016-01-21 17:41:26 +01:00
M66B 7c974c7278 Disable live traffic updates on pause 2016-01-21 17:29:09 +01:00
M66B 064f4922fe Native log errors, better UDP handling 2016-01-21 17:28:47 +01:00
M66B 70cf8a6077 Native closed session reset 2016-01-21 15:16:45 +01:00
M66B 5cf374d232 Link pro features titles 2016-01-21 14:33:19 +01:00
M66B 7a89db8fb8 Native refactoring 2016-01-21 13:46:57 +01:00
M66B 599ab57944 Native UDP state 2016-01-21 13:43:41 +01:00
M66B c28e6013c6 Updated text 2016-01-21 13:21:50 +01:00
M66B dea49b16ab Native refactoring 2016-01-21 13:21:13 +01:00
M66B c3f0aac602 Native report select exit to Java 2016-01-21 13:18:30 +01:00
M66B 2d8ae4735d Native cleanup 2016-01-21 12:36:28 +01:00
M66B 29ed10ba7d Native simplify logging 2016-01-21 12:34:31 +01:00
M66B 568a8b72bc Native added TCP close state 2016-01-21 12:04:41 +01:00
M66B f64298769e Native TCP received refactoring, improvements 2016-01-21 10:37:24 +01:00
M66B ad0445676c Native FIN+ACK on local close 2016-01-20 20:25:33 +01:00
M66B 3b1e5446d5 Native TCP fixes 2016-01-20 19:30:27 +01:00
M66B f699e497ec Native fixed reset sequence 2016-01-20 16:59:01 +01:00
M66B ac30913034 Native log downstream UDP, refactoring, cleanup 2016-01-20 16:52:38 +01:00
M66B af917422c9 Native fixed logging of other than TCP 2016-01-20 15:25:09 +01:00
M66B 0b3de63c40 Added development option to set log level 2016-01-20 15:19:28 +01:00
M66B 1b55e3557d Native UDP 2016-01-20 14:16:21 +01:00
M66B 8c55f53e85 Native socket activity 2016-01-20 12:40:26 +01:00
M66B 517d79b78e Native refactoring 2016-01-20 12:35:51 +01:00
M66B 60fb4d1fd8 Native UDP improvements 2016-01-20 12:14:15 +01:00
M66B 09481772a0 Refactoring 2016-01-20 11:04:32 +01:00
M66B 1f341837b9 Cache resolved IP addresses
Closes #237
2016-01-20 10:46:48 +01:00
M66B 33669a43c1 Native no need to shutdown a closed socket 2016-01-20 10:38:05 +01:00
M66B 17772a9c45 Native delay get uid, reduce logging 2016-01-20 10:27:18 +01:00
M66B 28a6f1d935 Native data of previous ack is still data 2016-01-20 10:07:09 +01:00
M66B 563b1e027b Native UDP handling setup 2016-01-20 09:24:34 +01:00
M66B 7adbd8e4e4 Native log non TCP/UDP traffic in filtering mode 2016-01-19 22:25:23 +01:00
M66B 6ffb7eb861 Log view async resolving of IP addresses in host names 2016-01-19 22:17:40 +01:00
M66B 868ddf0bef Native allow non syn in filtering mode 2016-01-19 21:25:01 +01:00
M66B 1d294dba2d Native fixed port number logging 2016-01-19 21:16:54 +01:00
M66B 15734a8b6e Do not show port 0 2016-01-19 21:11:00 +01:00
M66B 113c827695 Native less uid lookups 2016-01-19 21:10:48 +01:00
M66B 65a26a7bc1 Native filtering integration 2016-01-19 20:58:51 +01:00
M66B ca103c7313 Added filtering warning dialog
@licaon-kter maybe you have better suggestion for the new texts related to filtering
2016-01-19 18:29:58 +01:00
M66B 05c01f08e0 Moved PCAP to log view, added setting to enable filtering 2016-01-19 17:54:07 +01:00
M66B 5f79b291e5 Native refactoring 2016-01-19 15:18:42 +01:00
M66B 215480e79e Small improvement 2016-01-19 15:17:04 +01:00
M66B 35f7330fd8 Crowdin sync 2016-01-19 14:58:54 +01:00
M66B 2b2812588a Fixed tethering with an ugly hack, yeah 2016-01-19 14:56:57 +01:00
M66B 05c8db0cb0 Native route all traffic into VPN service 2016-01-19 13:57:38 +01:00
M66B f20443e5ef Native fixed getting uid 2016-01-19 09:51:04 +01:00
M66B 33ccbe3087 Revert "Merge pull request #235 from rgarza/master"
This reverts commit e16be9e6f8, reversing
changes made to ab47fda021.

Does not work for me

Refs #235
2016-01-19 08:09:56 +01:00
M66B d5f7796907 Revert "Fixed log view menu"
This reverts commit a822d9da2c.
2016-01-19 08:06:26 +01:00
M66B 4cc08ee9a6 Revert "Merge branch 'master' of github.com:M66B/NetGuard"
This reverts commit 131f4c586b, reversing
changes made to a822d9da2c.
2016-01-19 08:05:59 +01:00
M66B 131f4c586b Merge branch 'master' of github.com:M66B/NetGuard 2016-01-19 08:03:26 +01:00
M66B a822d9da2c Fixed log view menu 2016-01-19 07:58:52 +01:00
M66B 2a4f381961 Refactoring 2016-01-19 07:57:48 +01:00
iunk 9dfbfabb77 filter log by ip 2016-01-18 15:39:11 -06:00
M66B ab47fda021 Native copyright 2016-01-18 22:22:54 +01:00
M66B 4aceba791f Native tun/socket fixed blocking mode 2016-01-18 21:54:45 +01:00
M66B dd7040eae2 Native refactoring 2016-01-18 21:47:48 +01:00
M66B e1eb6342ba Native skip TCP options 2016-01-18 21:19:49 +01:00
M66B af04ece071 Native pcap init/cleanup 2016-01-18 21:07:35 +01:00
M66B 27843d3f88 Native TCP init, idle, close timeout, refactoring 2016-01-18 20:57:49 +01:00
M66B 02640aea4b Native set tun blocking again 2016-01-18 20:28:33 +01:00
M66B ff40aff6d8 Native bring back uid retry 2016-01-18 20:05:58 +01:00
M66B 4d731a40ac Merge branch 'master' of github.com:M66B/NetGuard 2016-01-18 19:41:41 +01:00
M66B b070aa6e54 Native refactoring, improvements, fixes, settings 2016-01-18 19:37:52 +01:00
iunk 7b447bdacb keep search while refreshing the list; 2016-01-18 12:25:23 -06:00
M66B 10634c0c05 Apply rules set by notification action
Fixes #233
2016-01-18 17:56:55 +01:00
M66B 6c167ebeeb Native review, refactoring, logging 2016-01-18 15:29:01 +01:00
M66B 1102c65507 Native added on/off switch 2016-01-18 13:07:00 +01:00
M66B d21d75edaf Native refactoring 2016-01-18 12:19:40 +01:00
M66B 575bf16f54 Native disabled 2016-01-17 21:07:46 +01:00
M66B df20353015 Native review 2016-01-17 20:40:40 +01:00
M66B 2ec09de161 Crowdin sync 2016-01-17 20:19:35 +01:00
M66B 97305f2485 Revert "Native fixed some warnings"
This reverts commit 6cb9d0f846.
2016-01-17 19:59:27 +01:00
M66B 6cb9d0f846 Native fixed some warnings 2016-01-17 19:47:32 +01:00
M66B 4fd4ce39a1 Native header file 2016-01-17 17:42:16 +01:00
M66B b61cc13d6d Native refactoring 2016-01-17 17:39:11 +01:00
M66B f624815db8 Native logging 2016-01-17 17:24:12 +01:00
M66B 12c74b24ab Native uid retry, ignore unknown sessions 2016-01-17 16:48:39 +01:00
M66B 49b15e261d Native socket eof/error handling 2016-01-17 16:34:26 +01:00
M66B e525ec7050 Native fixes 2016-01-17 16:08:40 +01:00
M66B 1d874ef4d1 Native packet processing order 2016-01-17 14:30:21 +01:00
M66B 0c7021e8be Native log level 2016-01-17 14:20:07 +01:00
M66B b71e675e82 Native FIN hack 2016-01-17 13:45:34 +01:00
M66B 7a41f35e74 Native PCAP export, fixes 2016-01-17 13:13:58 +01:00
M66B 38dfc4aa36 Native relative seq/ack logging 2016-01-17 06:57:29 +01:00
M66B ac7bd53798 Native RST remote sequence 2016-01-17 06:48:12 +01:00
M66B 333747185a Native stop with clear 2016-01-17 06:35:26 +01:00
M66B e0d80a248a Native check session source and destination 2016-01-16 21:58:01 +01:00
M66B 369954c471 Native default TCP idle timeout 300 seconds 2016-01-16 20:31:52 +01:00
M66B 5f5fdda282 Native fixes 2016-01-16 20:26:15 +01:00
M66B 81e21c71c5 Native pause on idle 2016-01-16 19:31:44 +01:00
M66B 83db13a773 Native optimize memory usage 2016-01-16 15:12:42 +01:00
M66B e30b1a15d2 Native timeout, better seq handling, improvements 2016-01-16 14:50:02 +01:00
M66B a317fa3f3e Native close 2016-01-16 12:32:55 +01:00
M66B 36bb564edb Native refactoring 2016-01-16 09:07:04 +01:00
M66B 9a83f2b17d Native active close states 2016-01-15 21:40:37 +01:00
M66B e5d403e2a7 Native refactoring 2016-01-15 19:51:07 +01:00
M66B 00b476f599 Native checksum 2016-01-15 14:14:26 +01:00
M66B bad7ece7ba Native fixes, cleanup 2016-01-15 12:21:43 +01:00
M66B aeb9591884 Native RST, error checking 2016-01-15 11:51:42 +01:00
M66B ab9ecde817 Native radomize local sequence 2016-01-15 10:08:18 +01:00
M66B f884f06a84 Native refactoring 2016-01-15 10:04:44 +01:00
M66B d159cc77da Native handle remote FIN 2016-01-15 09:09:57 +01:00
M66B b4a8805788 Fixed jumping traffic statistics notification 2016-01-15 07:41:52 +01:00
M66B 7430c8a65b Native conditional reload 2016-01-14 22:49:32 +01:00
M66B 65cc667d71 Native rough FIN 2016-01-14 22:48:05 +01:00
M66B 12e701004b Native fixed local reference table overflow 2016-01-14 22:02:21 +01:00
M66B 85dc20b272 Native outgoing data 2016-01-14 21:56:32 +01:00
M66B 2636a4dddb Native incoming data 2016-01-14 18:58:55 +01:00
M66B 175a6aed9b Native ignore SYN data, keepalive, check packet length 2016-01-14 10:15:53 +01:00
M66B 3e4cc108bc Native fixed start/stop 2016-01-14 07:46:23 +01:00
M66B 3363595327 Native SYN data 2016-01-13 20:17:21 +01:00
M66B ec2485ac1a Native can write tun 2016-01-13 19:25:15 +01:00
M66B 5086ff800e Native traditional signal to interrupt thread 2016-01-13 19:05:44 +01:00
M66B 36ce001643 Native recv, refactoring 2016-01-13 11:11:11 +01:00
M66B 5630d71e27 Native refactoring 2016-01-13 10:26:59 +01:00
M66B d90674ca16 Native select 2016-01-13 09:23:21 +01:00
M66B 28c0bf2dad Native TCP 3 way handshake 2016-01-12 21:34:40 +01:00
M66B 92cf6af707 Native data types and fixed option length 2016-01-12 20:48:39 +01:00
M66B 1ba8a56118 Native receive buffer 2016-01-12 19:44:56 +01:00
M66B 1542e29ccd Native poll 2016-01-12 17:19:27 +01:00
M66B fa5b8c974a Native SYN+ACK 2016-01-12 16:44:15 +01:00
M66B 84ea3d5f6e Native SYN fixes/improvements 2016-01-12 09:45:58 +01:00
M66B 806196bc69 Native SYN forward 2016-01-11 23:06:35 +01:00
M66B 4a0adc143e Give service on background time to stop 2016-01-11 18:42:50 +01:00
M66B 81b3148ddf Better handle fail over problems 2016-01-11 18:33:44 +01:00
M66B 61eb1652e5 Refactoring 2016-01-11 18:33:31 +01:00
M66B c7219afedd Multi user is a pro feature 2016-01-11 12:51:19 +01:00
M66B 759a9572ea Crowdin sync 2016-01-11 12:00:04 +01:00
M66B 09b841f63e Multi user support is a pro feature 2016-01-11 11:58:53 +01:00
M66B 17a590c795 Multi user support 2016-01-11 11:38:48 +01:00
M66B a6d4abb1a0 IAB is not always available 2016-01-11 11:27:23 +01:00
M66B 311e4169ca Prepare multi user support 2016-01-11 10:08:36 +01:00
M66B 1dca134061 Native exception handling 2016-01-10 17:10:52 +01:00
M66B 5ebbf82ef3 0.75 stable 2016-01-10 16:18:33 +01:00
M66B 1bc2392ef3 Move jni folder 2016-01-10 15:26:10 +01:00
M66B e745ae94bc Nobody 2016-01-10 14:29:39 +01:00
M66B 1535b841e9 Andy 2016-01-10 14:13:36 +01:00
M66B a6ed4a41e0 Crowdin sync 2016-01-10 13:03:42 +01:00
M66B af63535a21 Native binary address compare 2016-01-10 12:51:02 +01:00
M66B d306906924 Added option to disable live updates blocked traffic log 2016-01-10 10:25:28 +01:00
M66B 242ec83248 Another attempt to workaround start at boot issues 2016-01-10 10:14:32 +01:00
M66B 06f213594c Added more fragments as flag, improved layout 2016-01-10 09:35:00 +01:00
M66B 1abeebd02f Do not report IllegalStateException 2016-01-10 08:53:29 +01:00
M66B 877a801c8a Add ABI to logcat 2016-01-10 08:48:01 +01:00
M66B 0d1a4d8f2f Refactoring 2016-01-10 08:35:26 +01:00
M66B 86a81119d7 Cleanup 2016-01-10 08:33:06 +01:00
M66B 064c3d4d4b Native get uid 2016-01-10 08:14:47 +01:00
M66B ae733ee8e5 System apps should not be shown by default 2016-01-10 06:19:32 +01:00
M66B b7e3980ced Native scan /proc/net 2016-01-09 21:17:42 +01:00
M66B d6d8278623 Native decode packet 2016-01-09 19:53:50 +01:00
M66B ec83212c0d Close search when opening settings to prevent keyboard from popping up 2016-01-09 17:48:24 +01:00
M66B f008bd6028 Block all on no connection
Refs #225
2016-01-09 17:10:57 +01:00
M66B 6cdbba92b9 JNI receive 2016-01-09 16:56:23 +01:00
M66B fc863c033b JNI setup 2016-01-09 13:19:33 +01:00
M66B 93297fd4d0 0.73 stable 2016-01-09 09:02:57 +01:00
M66B 051fc0a8d7 Better handle service theme changes 2016-01-09 09:00:18 +01:00
M66B c9392c1d81 Use date as suffix for export file name 2016-01-09 08:49:50 +01:00
M66B ecf83ac813 Menu improvement 2016-01-09 08:49:37 +01:00
M66B 26814b2b51 Added interactive state to traffic blocked log 2016-01-09 08:36:17 +01:00
M66B 8d5dadff73 Set theme on import 2016-01-08 21:31:46 +01:00
M66B f02aa3644c 0.72 beta 2016-01-08 19:18:27 +01:00
M66B 4165ae19a0 Added FAQ 2016-01-08 19:09:35 +01:00
M66B 4ee4b2483d Defer packet checksum calculation 2016-01-08 18:51:03 +01:00
M66B 01e4a35b63 Fixed importing home networks 2016-01-08 18:30:39 +01:00
M66B 86d8412b6c Fixed not finding uids 2016-01-08 18:21:45 +01:00
M66B 6f7c19ec15 Layout improvement 2016-01-08 17:21:50 +01:00