PacketFence - BTS - PacketFence
View Issue Details
0001030PacketFenceerror-handlingpublic2010-07-08 18:442015-02-13 15:24
obilodeau 
obilodeau 
normalminorrandom
closedopen 
1.8.1 
 
0001030: invalid MACs in traps are injected into the system
Jul 08 18:01:22 pfsetvlan(14) INFO: nb of items in queue: 1; nb of threads running: 1 (main::startTrapHandlers)

Jul 08 18:01:22 pfsetvlan(14) INFO: secureMacAddrViolation trap for MAC 00:00:00:00:00:00 on aaa.bbb.ccc.ddd 
ifIndex x (main::handleTrap)
Jul 08 18:01:22 pfsetvlan(14) WARN: database query failed with: MySQL server has gone away. (errno: 2006), 
will try again (pf::db::db_query_execute)
Jul 08 18:01:22 pfsetvlan(14) INFO: node 00:00:00:00:00:00 does not yet exist in PF database. Adding 
it now (main::node_update_PF)
Jul 08 18:01:22 pfsetvlan(14) ERROR: invalid MAC: 00:00:00:00:00:00 (pf::util::valid_mac)
Jul 08 18:01:22 pfsetvlan(14) INFO: node 00:00:00:00:00:00 does not yet exist in PF database. Adding 
it now (pf::vlan::custom::vlan_determine_for_node)
Jul 08 18:01:22 pfsetvlan(14) ERROR: invalid MAC: 00:00:00:00:00:00 (pf::util::valid_mac)


We should validate a MAC sooner and reject it before anything else.
No tags attached.
Issue History
2010-07-08 18:44obilodeauNew Issue
2010-07-08 18:44obilodeauStatusnew => assigned
2010-07-08 18:44obilodeauAssigned To => obilodeau
2010-07-08 18:47obilodeauProduct Version1.8.3 => 1.8.1
2010-09-22 16:02obilodeauTarget Version1.9.1 => 1.9.2
2010-11-19 14:24obilodeauTarget Version1.9.2 => 2.0.0
2011-01-18 09:47obilodeauTarget Version2.0.0 => 2.0.1
2011-01-26 15:30obilodeauTarget Version2.0.1 => 2.0.2
2011-03-03 15:19obilodeauTarget Version2.0.2 => +1
2015-02-13 15:24lmunroNote Added: 0003655
2015-02-13 15:24lmunroStatusassigned => closed

Notes
(0003655)
lmunro   
2015-02-13 15:24   
These issues are too old to still be relevant.

Let's start anew.