Giter Site home page Giter Site logo

valdikss / p0f-mtu Goto Github PK

View Code? Open in Web Editor NEW
216.0 216.0 63.0 112 KB

p0f with patches to save MTU value and export it via API (for VPN detection)

Home Page: https://medium.com/@ValdikSS/detecting-vpn-and-its-configuration-and-proxy-users-on-the-server-side-1bcc59742413

Makefile 0.12% C 80.80% Shell 3.22% GLSL 15.86%

p0f-mtu's People

Contributors

valdikss 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

p0f-mtu's Issues

Need help to use p0f

run p0f:
$ ./p0f -s socket
--- p0f 3.09b by Michal Zalewski [email protected] ---

[+] Closed 1 file descriptor.
[+] Loaded 366 signatures from 'p0f.fp'.
[+] Intercepting traffic on default interface 'eth0'.
[+] Default packet filtering configured [+VLAN].
[+] Listening on API socket 'socket' (max 20 clients).
[+] Entered main event loop.

run p0f-client:
$ ./p0f-client ../socket 172.68.27.17
First seen = 2017/03/30 08:57:09
Last update = 2017/03/30 08:57:09
Total flows = 2
Detected OS = Linux 2.2.x-3.x (no timestamps) [generic]
HTTP software = ???
MTU = 1500
Network link = Ethernet or modem
Language = Portuguese
Distance = 10
Sys change = 2017/03/30 08:57:10

The informations are wrong, someone can help me?

p0f-socket is missing

Hello, can you help me, please?
I've installed your script on my server and I've tried to run it with such command ./p0f-client /opt/p0f-mtu/p0f-socket <ip_adress> but getting such error

[-] SYSTEM ERROR : Can't connect to API socket.
        Location : main(), p0f-client.c:128
      OS message : No such file or directory

also, I've tried "p0f-mtu-script" source code and all I get is
PTR test = Probably home user Fingerprint and OS match. No proxy detected (this test does not include headers detection). No OpenVPN detected.
but nothing about Detected OS

No matching host in p0f cache. That's all we know.

No matching host in p0f cache. That's all we know.

PTR test = Probably home user
Fingerprint and OS match. No proxy detected (this test does not include headers detection).
No OpenVPN detected.
Getting your NTLM hash…

Logs:

.-[ 83.192.13.12/65013 -> 185.172.228.228/443 (mtu) ]-
|
| server = 185.172.228.228/443
| link = Ethernet or modem
| raw_mtu = 1500
|
`----

.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (syn) ]-
|
| client = 83.192.13.12/65014
| os = Mac OS X
| dist = 10
| params = generic fuzzy tos:0x0a
| raw_sig = 4:54+10:0:1340:65535,6:mss,nop,ws,nop,nop,ts,sok,eol+1:df:0
|
`----

.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (mtu) ]-
|
| client = 83.192.13.12/65014
| link = OpenVPN UDP bs128 SHA256 lzo
| raw_mtu = 1380
|
`----

.-[ 83.192.13.12/65014 -> 185.172.228.228/443 (syn+ack) ]-
|
| server = 185.172.228.228/443
| os = ???
| dist = 0
| params = none
| raw_sig = 4:64+0:0:1460:mss*45,7:mss,sok,ts,nop,ws:df:0
|
`----

I don't understand why it keeps throwing this error. The cache DOES match the ip of the host.
I'm not using cloudflare or any other caching. Running on Ubuntu 20.04.

i have lots of traffic need check os, please help me

i'm new.

thanks your script. very useful.

i use your p0f-mtu-script on my website.

i see this:
[+] Listening on API socket 'p0f-socket' (max 20 clients).

but i have 1 million users/per day on my website, how can i do ?

Не определят OS

Не всегда определят OS через мобильный интеренет, тестировал на андроиде и ифоне (browserleaks также показывает). А если уехать в другой город то определяет корректно. Если выйти в интернет через вай-фай с телефона то OS на этом же телефоне корректно показывает на разных провайдерах.
А как можно подменить фингерпринт?

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.