Your message dated Sat, 09 Oct 2010 21:02:09 +
with message-id
and subject line Bug#521857: fixed in ettercap 1:0.7.3-2.1
has caused the Debian Bug report #521857,
regarding ettercap: Ettercap segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If
-1,4 +1,5 @@
-See debian bug #521857, patch from Timothy Redaelli
+See debian bug #521857, patch from Timothy Redaelli
+Revised by Robert Edmonds
--- ettercap-0.7.3.orig/src/protocols/ec_tcp.c
+++ ettercap-0.7.3/src/protocols/ec_tcp.c
@@ -8,5 +9,5 @@
opt_start = (u_char *)(tcp + 1);
-
I agree with Yiannis, Julien and Robert--I believe the first proposed
patch (to remove the cast) is incorrect. I think it causes sporadic
problems where the TCP analyzer is not able to capture/log traffic. I
suspect this is the bug described here:
https://bugs.launchpad.net/ubuntu/+source/etterca
reopen 521857
found 1:0.7.3-1.3
thanks
this bug is not fixed in the current version.
--
Robert Edmonds
edmo...@debian.org
debian bug #521857
--- ettercap-0.7.3.orig/src/protocols/ec_tcp.c
+++ ettercap-0.7.3/src/protocols/ec_tcp.c
@@ -116,7 +116,7 @@
tcp = (struct tcp_header *)DECODE_DATA
On Sat, May 15, 2010 at 18:12:57 +0300, Yiannis Marangos wrote:
> ettercap-0.7.3-amd64-casting.diff patch has problem because of this:
>
> - opt_end = (u_char *)((int)tcp + tcp->off * 4);
> + opt_end = (u_char *)(tcp + tcp->off * 4);
>
> the variable tcp is struct tcp_header* and the sizeof(
ettercap-0.7.3-amd64-casting.diff patch has problem because of this:
- opt_end = (u_char *)((int)tcp + tcp->off * 4);
+ opt_end = (u_char *)(tcp + tcp->off * 4);
the variable tcp is struct tcp_header* and the sizeof(struct tcp_header)
is 20 bytes..
for example if the tcp is 0x0 and the tcp->o
Your message dated Thu, 09 Jul 2009 10:02:06 +
with message-id
and subject line Bug#521857: fixed in ettercap 1:0.7.3-1.3
has caused the Debian Bug report #521857,
regarding ettercap: Ettercap segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If
I attach the patch to fix that bug
--- ettercap-0.7.3.orig/src/protocols/ec_tcp.c
+++ ettercap-0.7.3/src/protocols/ec_tcp.c
@@ -116,7 +116,7 @@
tcp = (struct tcp_header *)DECODE_DATA;
opt_start = (u_char *)(tcp + 1);
- opt_end = (u_char *)((int)tcp + tcp->off * 4);
+ opt_end = (u_c
Package: ettercap
Version: 1:0.7.3-1.2
Severity: serious
Ettercap makes a segmentation fault on amd64 with the following command :
ettercap -T -M arp:oneway /192.168.0.1/ /192.168.0.111/ -i eth0
Here the backtrace :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f
9 matches
Mail list logo