PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001331PacketFencecorepublic2011-11-09 12:422015-02-13 15:26
Reporterpacketfence4me 
Assigned Toobilodeau 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version3.0.1 
Target VersionFixed in Version 
Summary0001331: Swtich in Disovery mode logs node connection details
DescriptionWhat would be beneficial to our environment would be able to put a switch in discovery mode and it does the following
- does not check the managed VLANs for that switch
- logs the node location, and any VLAN from learnt trap, and IP
- removes node active location from remove trap
- triggers alert violations

It would not
- contact the switch to perform any SNMP writes (setVLAN, bouncepPort, etc)
Additional InformationI've been able to accomplish this somewhat through the modification of the pfsetvlan file in the pf/sbin/ folder. I've marked the mods with comments of Josh Fisk. I'm not the most efficient programmer and I've done this through trial and error. However, my version does not look at the mode which the switch is in, it simply does this no matter the mode.

Thanks,
TagsCode Review
fixed in git revision
fixed in mtn revision
Attached Files? file icon pfsetvlan [^] (82,238 bytes) 2011-11-09 12:42 [Show Content]

- Relationships
related to 0001262closed Several Mods to /provide mail form/update db table/mod SNMP for 'stealth mode' 

-  Notes
(0002434)
obilodeau (reporter)
2011-11-11 10:27

I haven't looked at the code but the concept you describe is definitely in the right direction with what the discovery mode should be.

I'll review it and see where we can take it from there. Thanks for taking the time to push upstream!
(0002437)
packetfence4me (reporter)
2011-11-11 11:35

Ah, so after going through it again, it looks like the location (switch, port, VLAN) does show up but only under Node:Lookup. However the active location doesn't show up in the Node:View. I was hoping that under discovery mode the node locations show up in the Node:View so that I can export to a spreadsheet.

I'm also seeing the trigger of violations while in discovery mode: my fault.

But one thing that would be nice would be the option, in discovery mode, to ignore if the VLAN has been configured as a Managed VLAN.

Thanks for your help
(0002438)
packetfence4me (reporter)
2011-11-11 15:41

I've been exploring the discovery mode option and I'm not sure if the locationlog functionality is fully there. There seems to be issues with updating the location from the snmp trap from the switch. The dhcplistener updates the node info great. But I'm have problems with the snmp trap updating the location.
(0003722)
lmunro (administrator)
2015-02-13 15:26

Old issues.
Most are not relevant to PF 4 and up.

Let's reopen the ones that matter when we move to github.

- Issue History
Date Modified Username Field Change
2011-11-09 12:42 packetfence4me New Issue
2011-11-09 12:42 packetfence4me File Added: pfsetvlan
2011-11-11 10:27 obilodeau Note Added: 0002434
2011-11-11 10:27 obilodeau Assigned To => obilodeau
2011-11-11 10:27 obilodeau Status new => assigned
2011-11-11 10:27 obilodeau Category feature => core
2011-11-11 10:27 obilodeau Target Version => +1
2011-11-11 10:27 obilodeau Tag Attached: Code Review
2011-11-11 11:35 packetfence4me Note Added: 0002437
2011-11-11 15:41 packetfence4me Note Added: 0002438
2012-02-09 14:18 obilodeau Relationship added related to 0001262
2015-02-13 15:26 lmunro Note Added: 0003722
2015-02-13 15:26 lmunro Status assigned => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker