
| Anonymous | Login | 2025-10-27 00:35 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 | |||
| 0001429 | PacketFence | configuration | public | 2012-04-20 10:19 | 2012-10-19 10:12 | |||
| Reporter | obilodeau | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | unable to reproduce | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.1.0 | |||||||
| Target Version | 3.1.0 | Fixed in Version | 3.1.0 | |||||
| Summary | 0001429: pfcmd interfaceconfig with enforcement=... fails | |||||||
| Description | Reported on the mailing list:I exec : ./pfcmd interfaceconfig edit eth3 ip="192.168.1.180", mask="255.255.255.0", type="internal", enforcement="inline", gateway="192.168.1.1" ERROR!! LOG: Apr 19 15:23:46 pfcmd(8179) DEBUG: starting to parse 'interfaceconfig edit eth3 ip="192.168.1.180", mask="255.255.255.0", type="internal", enforcement="inline", gateway="192.168.1.1"' (pf::pfcmd::parseCommandLine) Apr 19 15:23:46 pfcmd(8179) DEBUG: main cmd argument is interfaceconfig (pf::pfcmd::parseCommandLine) Apr 19 15:23:46 pfcmd(8179) DEBUG: 1 main cmd argument is interfaceconfig (pf::pfcmd::parseCommandLine) Apr 19 15:23:46 pfcmd(8179) DEBUG: 3 main cmd argument is interfaceconfig (pf::pfcmd::parseCommandLine) Apr 19 15:23:46 pfcmd(8179) DEBUG: 1 parse With Grammar is 1 (pf::pfcmd::parseWithGrammar) Apr 19 15:23:47 pfcmd(8179) DEBUG: 2 parse With Grammar is 0 (pf::pfcmd::parseWithGrammar) And I exec: ./pfcmd interfaceconfig edit eth3 ip="192.168.1.180", mask="255.255.255.0", type="internal", gateway="192.168.1.1" Success!! Why ? but I should exec the first command and success . | |||||||
| Tags | No tags attached. | |||||||
| fixed in git revision | ||||||||
| fixed in mtn revision | ||||||||
| Attached Files | ||||||||
Notes |
|
|
(0002674) obilodeau (reporter) 2012-04-20 12:43 |
On version 3.3.0 I was unable to reproduce the issue. On my environment I put in: bin/pfcmd interfaceconfig edit eth1.666 ip="192.168.1.180", mask="255.255.255.0", type="internal", enforcement="inline", gateway="192.168.1.1" and it worked and properly updated the interface in conf/pf.conf. According to NEWS this issue was fixed in 3.1.0 and you say that you run 3.1.0? Can you follow the steps to manually recompile your grammar file? run `perldoc /usr/local/pf/lib/pf/pfcmd/pfcmd.pm` and perform the steps mentioned under "MANUAL PRECOMPILE". |
|
(0002688) obilodeau (reporter) 2012-04-26 09:04 |
no feedback, closing |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-04-20 10:19 | obilodeau | New Issue | |
| 2012-04-20 10:19 | obilodeau | Status | new => assigned |
| 2012-04-20 10:19 | obilodeau | Assigned To | => obilodeau |
| 2012-04-20 12:39 | obilodeau | Product Version | => 3.1.0 |
| 2012-04-20 12:43 | obilodeau | Note Added: 0002674 | |
| 2012-04-20 12:43 | obilodeau | Reproducibility | have not tried => unable to reproduce |
| 2012-04-20 12:43 | obilodeau | Status | assigned => feedback |
| 2012-04-26 09:04 | obilodeau | Note Added: 0002688 | |
| 2012-04-26 09:04 | obilodeau | Status | feedback => closed |
| 2012-04-26 09:04 | obilodeau | Resolution | open => fixed |
| 2012-04-26 09:04 | obilodeau | Fixed in Version | => 3.1.0 |
| 2012-10-19 10:12 | fgaudreault | Assigned To | obilodeau => |
| 2012-10-19 10:12 | fgaudreault | Target Version | +1 => 3.1.0 |
| Copyright © 2000 - 2012 MantisBT Group |