Solved

Fire a trigger, when a device comes online

Posted on 2010-11-17
6
264 Views
Last Modified: 2012-05-10
Im working on a project, where I will need to be able to fire a trigger (either from within a SQL database or via a program) that will be trigged, when a device is connecting to our network.

Eg; when an employee approches the office, his phone will aquire an IP address from the WiFi network. At the same time (or almost) a program or trigger will match the phones MAC address with our listed MAC addresses, and add an entry to a table showing that the employee has arrived to the office.

My first idea was to query the DHCP server for leases to that given MAC address, but its not good enough due to the lease time.

Then I thought of a network scan to scan if the MAC address is available.

But im not exactly sure whats the best approch, and would very much like to hear if any body has any experience in this?

Thanks.
0
Comment
Question by:jesperhp
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34154271
What wifi access point do you have? Perhaps you can use syslog. It should log when a new association is being made.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34154277
That would also include the time of the association (arrival of the employee).
0
 

Author Comment

by:jesperhp
ID: 34154304
At the moment we are using soho versions of Linksys/Cisco.

I'm not familiar with querying the syslog - is there a standard for querying syslogs?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:jesperhp
ID: 34154312
Also: will the syslog register when a device leaves the network?
0
 
LVL 35

Accepted Solution

by:
Ernie Beek earned 250 total points
ID: 34154356
It's not really querying, you set the device up to send syslog to a certain machine/server. From there you can cath the syslogs with something like kiwisyslog: http://www.kiwisyslog.com/kiwi-syslog-server-overview/ (it's got a free version).

The AP's syslog should also log when a device is unregistrered from the wireless network.
0
 

Author Comment

by:jesperhp
ID: 34154836
Thanks - I will look into the syslog functions.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now