Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


MAC Authorization

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Tue Jan 29, 2008 11:12 am    Post subject: MAC Authorization Reply with quote

Does anyone have this working properly?? I'm finding that I authorize a load of MAC's and then when the scanner next runs I get the same mac's as showing un-authorised so end up with multiple entries in the mac_track_ports table some with authorized as 0 and some with authorized as 1.

I would guess that the scanner is not checking the mac_track_macauth table to see if a mac address has been authorized at scan time and setting the authorized field in mac_track_ports accordingly.
Back to top
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Thu Jan 31, 2008 11:55 am    Post subject: Reply with quote

ok... I've modified mactrack_functions.php to check whether the mac address exists in the mac_track_macauth table or not and update the authorized field in mac_track_temp_ports and poller_mactrack.php to update the authorized field in mac_track_ports when it does the update from mac_track_temp_ports.

However, I cannot get it to work consistently of every scan cycle and I've no idea why?

Anyone with any ideas greatly appreciated!!!



poller_mactrack.php.txt
 Description:

Download
 Filename:  poller_mactrack.php.txt
 Filesize:  21.09 KB
 Downloaded:  224 Time(s)


mactrack_functions.php.txt
 Description:

Download
 Filename:  mactrack_functions.php.txt
 Filesize:  58.88 KB
 Downloaded:  187 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group