[SRU] ettercap

Bug #1382871 reported by Gianfranco Costamagna
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ettercap (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Timo Jyrinki

Bug Description

[Impact]

scan for hosts while sniffing is active causes a crash into ubuntu trusty.

[Test Case]

Run ettercap, select interface, start sniffing, scan for hosts, enjoy your crash

[Regression Potential]

none

[Other Info]
 (upstream hat on) Honestly I would like to see 0.8.1 as SRU replacement for 0.8.0, since there were many and many bugs against scan for hosts, that we fixed by properly handling multithread, lock and unlock, by avoiding many kind of crash, fixing timeouts, improving efficiency of scan, fixing ipv6 scan and so on.

But I don't think any sponsor will accept 0.8.1, so I'm giving you the little patch to at least fix this crash when scan for hosts.
(at least other two crashes can be fixed, but I would like to keep the patch as minimal as possible, and fix this one because occurs *always* with the kernel on trusty).

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

e.g. with this patch it is still not possible to cancel a pending scan for hosts, because the mutex is not correctly unlocked.

Unfortunately cherry-picking patches from 0.8.1 is far more difficult than using directly the new one.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Thanks for the cherry-picked fix! I tested it to be working on 14.04 LTS and uploaded it. Currently it sits in the unapproved queue at https://launchpad.net/ubuntu/trusty/+queue?queue_state=1&queue_text=

Changed in ettercap (Ubuntu):
status: New → In Progress
Changed in ettercap (Ubuntu Trusty):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → In Progress
Changed in ettercap (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Chris J Arges (arges) wrote :

Can you please reupload the fix with the changelog entry fixed to show (LP: #1382871). This will help ensure that the SRU tools properly pick up this bug.
Thanks!

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Sure, sorry about that.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

oops, sorry it was my fault... It has been a while since my last SRU :)

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello LocutusOfBorg, or anyone else affected,

Accepted ettercap into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ettercap/1:0.8.0-11ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ettercap (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I already checked it at least 15 times, I'm the maintainer :)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

@LocutusOfBorg - but did you test with the version of the package from the -proposed repository?

tags: added: verification-needed
removed: verification-done
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

yes, of course :)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ettercap - 1:0.8.0-11ubuntu0.1

---------------
ettercap (1:0.8.0-11ubuntu0.1) trusty-proposed; urgency=medium

  * Fix a crash when scanning for hosts. (LP: #1382871)
 -- Gianfranco Costamagna <email address hidden> Sat, 18 Oct 2014 23:09:24 +0200

Changed in ettercap (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for ettercap has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.