PacketFence - BTS - PacketFence |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001331 | PacketFence | core | public | 2011-11-09 12:42 | 2015-02-13 15:26 |
|
Reporter | packetfence4me | |
Assigned To | obilodeau | |
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | 3.0.1 | |
Target Version | | Fixed in Version | | |
fixed in git revision | |
fixed in mtn revision | |
|
Summary | 0001331: Swtich in Disovery mode logs node connection details |
Description | What 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) |
Steps To Reproduce | |
Additional Information | I'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, |
Tags | Code Review |
Relationships | related to | 0001262 | closed | | Several Mods to /provide mail form/update db table/mod SNMP for 'stealth mode' |
|
Attached Files | pfsetvlan (82,238) 2011-11-09 12:42 https://www.packetfence.org/bugs/file_download.php?file_id=120&type=bug |
|
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 |
Notes |
|
|
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! |
|
|
|
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 |
|
|
|
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
|
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. |
|