Hello PacketFence users,

I am looking for ways to automatically synchronize pre-registered nodes with an 
external system like a database.

One way to achieve this would be an application that periodically calls pfcmd 
or the HTTP API to import nodes into PacketFence.
 
Now I was just wondering if there was a way to dynamically register nodes 
during the first encounter of their MAC address.

A possible workflow would be:
  1.   If no node is found for a given MAC address in the PacketFence database, 
the system asks the external source if the node is known there (e.g. with a 
script that searches for the MAC address in a database table).
  2a. When the MAC address is found in the external system, a new node is 
created and automatically registered. This way PacketFence can immediately 
evaluate the network access (just like it would do with imported nodes).
  2b. When the MAC address is not found, the system continues with the normal 
flow for unknown nodes (e. g. putting the switch port into the registration 
VLAN).

Has anyone ever implemented something similar and can tell me if it possible? 
Or should I stick to the periodic update approach?

Thank you and
Best regards

Korbinian Schmidt

F.EE Industrieautomation GmbH & Co KG 
In der Seugn 20, 92431 Neunburg  v. W.
Email: korbinian.schm...@fee.de



_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to