Giter VIP home page Giter VIP logo

networklog's Introduction

Android Network Log Monitor

Requires rooted devices.

Wondering when and to where your Android apps are connecting across the Internet? Look no further! Network Log is for you!

Network Log monitors iptables-logging to display a real-time list of which apps are making network connections, and provides statistics about those app connections.

Real-time log display

The log tab shows the network packets being transmitted and their details such as:

  • source and destination addresses/ports
  • network protocol and interface
  • bytes transmitted
  • timestamp

Real-time network usage statistics

The applications tab lists installed applications along with network usage statistics such as:

  • total packets and bytes sent
  • active network throughput speed in Bps/Kbps/Mbps
  • timestamp of last connection
  • list of all the unique connections made by each app
  • sortable and filterable

Real-time connection notifications

The statusbar icon's up/down arrows will highlight when upload/download traffic occurs, and the notification drop-down shade displays the connection throughput speed in Kbps.

You can also configure toast pop-up notifications on a per-app basis that will pop-up a temporary notification containing connection details no matter which app you are in.

Graphs

Click an app in either tab to see time-lines of its connections.

Select the 'Apps Timeline' menu item to see an over-all time-line of all apps.

Adjustable interval from 1 ms to 48 hours for summing data:

  • to see each packet, set to 1 ms
  • for Kbps, set to 1 second
  • for Kb-per-hour, set to 1 hour; etc

Adjustable pinch-zoomable and scrollable graphs.

Requires rooted devices.

Full source code available at https://github.com/pragma-/networklog.

Note: While the app itself is designed to use minimal CPU/battery, you can further reduce the CPU/battery use by exiting the app after starting the logging service.

             

networklog's People

Contributors

pragma- avatar snakko avatar timroes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

networklog's Issues

Compile grep/iptables under JNI

Hey this is not really an issue because I can compile the app perfectly. I am trying to figure out how the grep and iptables are compiled. After I run "sudo ndk-build -B" I got an error:

arm-linux-androideabi-gcc: error: /libxt_AUDIT.c: No such file or directory
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
make: *** [obj/local/armeabi/objs/ext//libxt_AUDIT.o] Error 1

I am doing so because i need to install tcpdump to the app for a research project but I am not sure how. Any suggestions? I will really appreciate any help :)

networklog stops after 1minute

Networklog stops after 1-2 minutes. If I change the logging method it will start, but again only for 1 minute.

Thanks you in advance.

System: CM13
Phone: HTC a9
SELinux: moderate (setenforce 0)
SU: 2.76 Chainfire
Accu: Networklog not optimized

Custom chain for log rule

Please add an option to allow the log/nflog rule to be put into a custom chain.
This would allow to log blocked packets by applications like Droidwall, Android Firewall, ...

Currently one has to enable logging in networklog, manually delete by networklog created log/nflog rules and finally add a proper log/nflog rule to the chain droidwall-reject.

Allowing to put the rule only into a user defined chain would be really great.

Network Log forces Random Reboots

Good evening, @pragma-! First of all, THANKS for this awesome little App. Ever since reading about it in the article on the Kuketz-Blog, I love using it. Unfortunately, I cannot do so. NetworkLog 2.23.0 makes my phone freeze and reboot. I am hoping you may be able to find a way to fix this using my full logcat.

Here are my current device specifications:

  • Android 4.4.4 ROOTED
  • Device HTC One aokp_m7
  • Kernel 3.43.82-gdb58087
  • System aokp_m7-userdebug 4.4.4 KTU84Q
  • eng.jenkins.20141018.001202 test-keys
  • CPU armeabi-v7a armeabi

Let me know if you need anything else for resolving this Issue. Thanks for rocking this App!

Ability to add iptables rule directly into Afwall+

Hi

It would be so awesome if there is a way to add ip banning/blocking inside this app directly to the Afwall( if it is installed) custom scripts. This would make this app one of the best ways to protect the privacy and intrusion

thanks

Displaying DNS packets

Hi,

I have issues viewing DNS packets for some apps with Network Log. For example, the Angry Birds app as shown below is displaying DNS packets.
image

However, most of the apps I have tested with failed to display DNS. I have checked with wireshark that DNS queries did appear when running those apps. Could you please advise how I may ensure that DNS would display on Network Log each time I run an app?

Any help would be appreciated! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.