Giter Site home page Giter Site logo

/home/p0f-logs/socket about p0f-mtu-script HOT 22 CLOSED

valdikss avatar valdikss commented on August 28, 2024
/home/p0f-logs/socket

from p0f-mtu-script.

Comments (22)

ValdikSS avatar ValdikSS commented on August 28, 2024

Excuse me? I don't understand.

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

Hello, I am Chinese, English is not very good!
In PHP, this line of code, in the index.
The exec ("/home/p0f - mtu/tools/p0f - client/home/p0f - logs/socket ". $_SERVER [' REMOTE_ADDR], $pof_output);
The first argument why this happen

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

It executes p0f-client with socket path. p0f-client is a client you can find in "tools" folder of p0f.

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

I have seen https://github.com/ValdikSS/p0f-mtu, tried to install, but failed in the end.

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

To build client, you should run "make" in p0f "tools" folder
https://github.com/ValdikSS/p0f-mtu/tree/master/tools

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

Enter the tools folder, and then run "make"?

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

Yes.

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

After the make?

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

After make you can run client.

./p0f-client

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

Can directly enter the command window. / p0f - client? So you can perform?
Finally in the PHP can also use the exec ("/home/p0f - mtu/tools/p0f - client/home/p0f - logs/socket ". $_SERVER [' REMOTE_ADDR], $pof_output); ??

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

Hello, after I make, and then execute"./p0f-client /home/p0f-logs/socket ip" the following information:
[-] SYSTEM ERROR : Can't connect to API socket.
Location : main(), p0f-client.c:128
OS message : No such file or directory

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

You should run p0f first, then use the client.

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

In p0f - mtu folder one build.Sh need to perform?

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

Yes

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

run p0f first?In p0f-mtu folder, also need to make first?

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

Please read this

http://lcamtuf.coredump.cx/p0f3/README

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

I'm sorry, I ability is limited.
run . / p0f is working,
but cd tools to run "./p0f-client xx xx " is failure.
notice: SYSTEM ERROR : Can't connect to API socket.

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024
./p0f -s socket
./tools/p0f-client ./socket

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

run "./tools/p0f-client ./socket IP" no response? I input the wrong? So does change the IP.

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

You should run p0f as root in one window and client in another. p0f should be running when you use client.

from p0f-mtu-script.

leakeung avatar leakeung commented on August 28, 2024

Thank you, must keep p0f background continues to run. When users request was then extracted data in the cache

from p0f-mtu-script.

ValdikSS avatar ValdikSS commented on August 28, 2024

Yes.

from p0f-mtu-script.

Related Issues (6)

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.