Created attachment 376081 [details] Patch fixing the bug Description of problem: Any attempt to mangle an hardware address results in the error message: arptables v0.0.8: no hln defined Try `arptables -h' or 'arptables --help' for more information. Version-Release number of selected component (if applicable): arptables_jf-0.0.8-16.fc12 How reproducible: Always Steps to Reproduce: 1. Under root issue de command "arptables -A IN -a 6 -j mangle --mangle-hw-s 11:11:11:11:11:11" Actual results: arptables v0.0.8: no hln defined Try `arptables -h' or 'arptables --help' for more information. Expected results: No error message and an entry added to the arptables. Note that the above command will surely ruin your test machine accessibility throught the network ! Additional info: This bug comes from the fact that the "mangle" extension parse procedure uses the hardware length (arhln field) from the structure before it is set. The attached patch fixes this as a special case (but a more general case fix would probably be preferable).
arptables_jf-0.0.8-17.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/arptables_jf-0.0.8-17.fc12
correct version going to update arptables_jf-0.0.8-18.fc12
arptables_jf-0.0.8-18.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update arptables_jf'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/arptables_jf-0.0.8-18.fc12
arptables_jf-0.0.8-18.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.