diff --git a/FAQ.md b/FAQ.md index 3d6f0b28..55782e31 100644 --- a/FAQ.md +++ b/FAQ.md @@ -218,6 +218,38 @@ There is no need for a select all function, because you can switch from black list to white list mode using the settings. See also [question 0](#FAQ0). + +**(27) How do I read the blocked traffic log?** + +The columns have the following meaning: + +1. Day of month +1. Time +1. Protocol +1. Port +1. Packet flags +1. Application icon +1. Application uid +1. Wi-Fi / mobile icon +1. IP address + +Protocols: + +* I = ICMP +* T = TCP +* U = UDP +* Number = one of the protocols on [this list](https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers) + +Packet flags: + +* S = SYN +* A = ACK +* P = PSH +* F = FIN +* R = RST + +For a detailed explanation see [here](https://en.wikipedia.org/wiki/Transmission_Control_Protocol). +
**If you didn't found the answer to your question, you can ask your questions [here](http://forum.xda-developers.com/showthread.php?t=3233012)**. diff --git a/README.md b/README.md index ba28c63d..42f1535d 100644 --- a/README.md +++ b/README.md @@ -175,8 +175,8 @@ Frequently Asked Questions (FAQ) [**(25) Can you add a 'select all'?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ25) - -[**(26) Can you make the colors configurable?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ26) + +[**(27) How do I read the blocked traffic log?**](https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ27) Permissions ----------- diff --git a/app/src/main/java/eu/faircode/netguard/ActivityLog.java b/app/src/main/java/eu/faircode/netguard/ActivityLog.java index 4074251d..a9e11d84 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityLog.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityLog.java @@ -158,6 +158,12 @@ public class ActivityLog extends AppCompatActivity { case R.id.menu_clear: dh.clear(); return true; + case R.id.menu_support: + Intent intent = new Intent(Intent.ACTION_VIEW); + intent.setData(Uri.parse("https://github.com/M66B/NetGuard/blob/master/FAQ.md#FAQ27")); + if (getPackageManager().resolveActivity(intent, 0) != null) + startActivity(intent); + return true; } return super.onOptionsItemSelected(item); } diff --git a/app/src/main/res/menu/log.xml b/app/src/main/res/menu/log.xml index 5d3f5097..d6b4357f 100644 --- a/app/src/main/res/menu/log.xml +++ b/app/src/main/res/menu/log.xml @@ -7,4 +7,7 @@ +