Jump to content

Keep my IP out of the log files ?


SP2005

Recommended Posts

Posted

My own IP is logged in the log files and it took me some time to see that the traffic in the log files was from my own phone. Is it possible to keep my IP/Phone out of the log files ?

Posted
On 5/7/2018 at 10:59 AM, SP2005 said:

My own IP is logged in the log files and it took me some time to see that the traffic in the log files was from my own phone. Is it possible to keep my IP/Phone out of the log files ?

Is it a local IP, In a subnet range of (172.16.0.0./16 or 192.168.0.0/16) if so don't worry about it.  

What module are you using?

The log files are either stored on the SD or Internally, so if you really want to purge your ip from logs, use the "sed" command  to do string replacement on your own IP. 

Posted

When I use SSlsplit I can see my own traffic in the logfile. I thought it would be nice if I could keep my own traffic out of this logfile.

Yes it is my own local IP like 172.....

Posted

When I use my phone to connect to my NANO I can see I get the IP 172.... in the settings on my phone. When I look in the logfile of the NANO, I can see the same IP. So I'm pretty sure that it is my own IP I can see in the logfile.

Posted

What exactly is the problem with that?

 

as trashbo4t said: 

172.16.0.0/16 CIDR's are not Internet routable. From an outside perspective it could be anyones IP address.

The pineapple DHCP gives you this local, unroutable IP to connect to the Pineapple. It is not unique to the phone, and doesn't say anything about your traffic or your device. It is basically useless to anyone getting acces to it, because anytime you connect your phone to your pineapple you will get a new one.

 

 

Posted
1 hour ago, SP2005 said:

When I use my phone to connect to my NANO I can see I get the IP 172.... in the settings on my phone. When I look in the logfile of the NANO, I can see the same IP. So I'm pretty sure that it is my own IP I can see in the logfile.

Here is some more information:

https://en.wikipedia.org/wiki/Private_network

 

Posted

Imagine if you put up a hotspot and a lot of people connect to your hotspot they create a lot of traffic in the logfile. If you later goes through this logfile, to see what kind of data people was creating, you would not only see other peoples traffic but also your own traffic, which I want to sort out.

I hope not this is hard to understand.

Posted

I can see I have to find out how I get those log files in my NANO and run them through Wireshark, for better view.

Posted

I'm not sure exactly what you're trying to log. If you're just trying to capture packets:

tcpdump -i [interface] -w /path/to/savefile.pcap 'host not [your ip]'

Then you can download /path/to/savefile.pcap from your WiFi Pineapple and analyze it using wireshark or a number of other tools.

Posted
18 minutes ago, Tesla said:

I'm not sure exactly what you're trying to log. If you're just trying to capture packets:


tcpdump -i [interface] -w /path/to/savefile.pcap 'host not [your ip]'

Then you can download /path/to/savefile.pcap from your WiFi Pineapple and analyze it using wireshark or a number of other tools. 

Note this will only capture traffic if the ip youre filtering out is not that of your gateway/pineapple.

i.e filter out your phones local IP not the pineapple, or else you wont capture any data of value or jut simplex traffic.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...