Bug 867075
Summary: | Impossible to enter a pool of IP addresses in ettercap's DHCP spoofing menu | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Éric Bischoff <ebischoff> | ||||
Component: | ettercap | Assignee: | Gwyn Ciesla <gwync> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | eescobar, gwync | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-12-20 15:39:38 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Thanks for the patch. The tarball is in fact misnamed. :) I'll get this out ASAP. ettercap-0.7.5-2.fc18.1.20120906gitc796e5 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ettercap-0.7.5-2.fc18.1.20120906gitc796e5 ettercap-0.7.5-2.fc17.1.20120906gitc796e5 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ettercap-0.7.5-2.fc17.1.20120906gitc796e5 Package ettercap-0.7.5-2.fc18.1.20120906gitc796e5: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ettercap-0.7.5-2.fc18.1.20120906gitc796e5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16287/ettercap-0.7.5-2.fc18.1.20120906gitc796e5 then log in and leave karma (feedback). Thank you Jon. This was responsive :-). I'll test the fixed RPM ASAP. Please notice that the next upstream version of ettercap might not have the bug. I'm saying this because I have not seen the wrong strncpy() instruction in their online Git repository, which I suppose is the latest version. So you might need to drop my patch once you resynchronize with them. I'll watch for it. If not, the patch won't apply, in which case I'll doube check and likely drop it. Package still not online. Did you notice I was in Fedora Core 17? It's in updates-testing. This bug was fixed in our latest release of Ettercap 0.7.5, I believe Fedora is being changed to use our GitHub repository as upstream. Is this not the case? Thanks, Emilio Yes, in fact 0.7.5 is on it's way to updates-testing, but we're still using the SF.net tarball release. That's ok, the 0.7.5 tarball on SF.net is the same one hosted at GitHub. Thanks! ettercap-0.7.5-2.fc18.1.20120906gitc796e5 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 628307 [details] Patch fixing the issue Description of problem: Ettercap has a GTK graphical mode. In this mode, the DHCP spoofing menu entry does not work as expected. Version-Release number of selected component (if applicable): ettercap-0.7.5-1.fc17.1.20120906gitc796e5.x86_64 How reproducible: In Fedora core 17, ask for DHCP spoofing in Ettercap GUI. Steps to Reproduce: 1. yum install ettercap 2. ettercap -G (as root) 3. In the menus, select Sniff => Unified sniffing 4. Select your network interface card 5. In the menus, select MITM => DHCP spoofing 6. Enter a valid IP address in the first field 7. Enter the network mask in the second field 8. Enter the address of a DNS server in the third field 9. Press OK button Actual results: Message "DHCP spoofing: parameter number 1 is incorrect" appears, followed by "Incorrect number of tokens (///) in TARGET!" Expected results: No error message should appear, but a message that spoofing has been set up should appear in the messages log in lower part of main window. Additional info: A fix is attached to this bug report, inspired from ettercap's online GIT repository. It has been tested with rpmbuild and works. Also, are you sure that it is really the 0.7.5 version of ettercap that is packaged? Strangely enough, the tarball in the source package is numbered 0.7.4.1. But it might just be misnamed, because "ettercap -v" returns the correct 0.7.5 release number.