Giter Site home page Giter Site logo

Comments (2)

carldebilly avatar carldebilly commented on August 18, 2024

After few thoughts, I think the ARP table could be a more reliable way to get the presence information I need instead of DHCP.

from pfsense_fauxapi.

ndejong avatar ndejong commented on August 18, 2024

Based on the detail you've provided "device presence detection" I'd suggest you simply need to watch the ARP tables which can be done at the pfSense console using arp -a

Adding a function to provide this would be rather easy but it is a step outside the original mission of providing a programmatic interface to pfSense to manage the config.xml file and the functions required to get that config adopted by the system.

This does not mean it's a dead-end, you should be able to use the function_call call and invoke the exec_command pfSense function to hence make an arp -a call and extract the data you need - read-the-docs, you will need to enable exec_command in the /etc/pfsense_function_calls.txt file to make this work.

Collecting the same data via a simple ssh remote-exec is your other option here.

from pfsense_fauxapi.

Related Issues (20)

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.