
| Anonymous | Login | 2025-10-27 00:38 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0001149 | PacketFence | dhcp | public | 2011-01-10 15:17 | 2011-01-26 15:44 | |||
| Reporter | obilodeau | |||||||
| Assigned To | obilodeau | |||||||
| Priority | high | Severity | major | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | 2.0.1 | Fixed in Version | 2.0.1 | |||||
| Summary | 0001149: pfdhcplistener not properly updating iplog when configured with ip-helpers aka pfdhcplistener should update iplog on DHCP INFORM | |||||||
| Description | We realized that pfdhcplistener only updates iplog on server replies. In an ip-helper address based setup, such replies will never reach the packetfence server since they are unicast packets going back to the ip-helper enabled switch. Updating internal iplog database on DHCP INFORM packets will fix the problem. It's an important enough problem that for those not ready to upgrade, a simple patch will be provided here that should apply cleanly to 1.8.x, 1.9.x. | |||||||
| Tags | No tags attached. | |||||||
| fixed in git revision | ||||||||
| fixed in mtn revision | b022f8397dfee411d74b1bdad5f7d45f633ebbb3 | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0001800) obilodeau (reporter) 2011-01-10 16:59 |
pfdhcplistener now updates iplog when processing DHCP INFORM packets |
|
(0001801) obilodeau (reporter) 2011-01-10 17:01 |
Attached patch should apply cleanly to most packetfence installations. Apply from /usr/local/pf with: patch -p1 < pfdhcplistener-updates-iplog-on-inform.patch |
|
(0001805) obilodeau (reporter) 2011-01-12 12:35 |
apparently some devices don't send DHCP INFORM at the end of their DHCP handshake so we need to find another way |
|
(0001806) obilodeau (reporter) 2011-01-12 15:03 |
After reading RFC 2131, we should use DHCP REQUEST instead of DHCP INFORM as our source of updated client IP information. |
|
(0001807) obilodeau (reporter) 2011-01-12 15:28 |
Fixed for good. Updated attached patch that should apply cleanly on 1.9.x, 2.0.0 and maybe 1.8.x. |
|
(0001808) obilodeau (reporter) 2011-01-13 11:10 |
Updated patch. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-01-10 15:17 | obilodeau | New Issue | |
| 2011-01-10 15:17 | obilodeau | Status | new => assigned |
| 2011-01-10 15:17 | obilodeau | Assigned To | => obilodeau |
| 2011-01-10 16:59 | obilodeau | mtn revision | => 9982bf14855b4eb09ebe509e2e683f6f40ccbae1 |
| 2011-01-10 16:59 | obilodeau | Note Added: 0001800 | |
| 2011-01-10 16:59 | obilodeau | Status | assigned => resolved |
| 2011-01-10 16:59 | obilodeau | Fixed in Version | => 2.0.1 |
| 2011-01-10 16:59 | obilodeau | Resolution | open => fixed |
| 2011-01-10 17:00 | obilodeau | File Added: pfdhcplistener-updates-iplog-on-inform.patch | |
| 2011-01-10 17:01 | obilodeau | Note Added: 0001801 | |
| 2011-01-12 12:35 | obilodeau | Note Added: 0001805 | |
| 2011-01-12 12:35 | obilodeau | Status | resolved => feedback |
| 2011-01-12 12:35 | obilodeau | Resolution | fixed => reopened |
| 2011-01-12 15:03 | obilodeau | Note Added: 0001806 | |
| 2011-01-12 15:26 | obilodeau | File Added: pfdhcplistener-updates-iplog-on-inform-v2.patch | |
| 2011-01-12 15:26 | obilodeau | File Deleted: pfdhcplistener-updates-iplog-on-inform.patch | |
| 2011-01-12 15:28 | obilodeau | mtn revision | 9982bf14855b4eb09ebe509e2e683f6f40ccbae1 => b022f8397dfee411d74b1bdad5f7d45f633ebbb3 |
| 2011-01-12 15:28 | obilodeau | Note Added: 0001807 | |
| 2011-01-12 15:28 | obilodeau | Status | feedback => resolved |
| 2011-01-12 15:28 | obilodeau | Resolution | reopened => fixed |
| 2011-01-13 10:57 | obilodeau | File Deleted: pfdhcplistener-updates-iplog-on-inform-v2.patch | |
| 2011-01-13 10:58 | obilodeau | File Added: pfdhcplistener-ip-helper-support-fix.patch | |
| 2011-01-13 11:10 | obilodeau | Note Added: 0001808 | |
| 2011-01-26 15:44 | obilodeau | Status | resolved => closed |
| Copyright © 2000 - 2012 MantisBT Group |