PacketFence - BTS - PacketFence |
View Issue Details |
|
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 | |
fixed in git revision | |
fixed in mtn revision | b022f8397dfee411d74b1bdad5f7d45f633ebbb3 |
|
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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | pfdhcplistener-ip-helper-support-fix.patch (3,706) 2011-01-13 10:58 https://www.packetfence.org/bugs/file_download.php?file_id=62&type=bug |
|
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 |
Notes |
|
|
pfdhcplistener now updates iplog when processing DHCP INFORM packets |
|
|
|
Attached patch should apply cleanly to most packetfence installations.
Apply from /usr/local/pf with:
patch -p1 < pfdhcplistener-updates-iplog-on-inform.patch |
|
|
|
apparently some devices don't send DHCP INFORM at the end of their DHCP handshake so we need to find another way |
|
|
|
After reading RFC 2131, we should use DHCP REQUEST instead of DHCP INFORM as our source of updated client IP information. |
|
|
|
Fixed for good.
Updated attached patch that should apply cleanly on 1.9.x, 2.0.0 and maybe 1.8.x. |
|
|
|
|