Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.32k stars 488 forks source link

ettercap can't display TCP data #279

Closed srcfan closed 11 years ago

srcfan commented 11 years ago

my linux version is : $ uname -a Linux Lion 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux I use the options below:

$ ettercap -T -i eth0 -t tcp ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA Listening on eth0... (Ethernet) eth0 -> 08:00:27:C5:09:F6 192.168.22.105 255.255.255.0 SSL dissection needs a valid 'redir_command_on' script in the etter.conf file Privileges dropped to UID 65534 GID 65534... 28 plugins 39 protocol dissectors 53 ports monitored 7587 mac vendor fingerprint 1698 tcp OS fingerprint 2183 known services Starting Unified sniffing... Text only Interface activated... Hit 'h' for inline help

the problem which I meet is It can not display the TCP data with -T options, I find that the TCP DATA.display_data isn't have the right data, it always display like below:

Mon Jan 21 11:54:20 2013 TCP 192.168.22.201:110 --> 192.168.22.105:39952 | AP GRSMessageType:DeviceOnlineAdvertisement. 01-SourceDeviceId:urn:IGRS:Device:DeviceId:7CFDCCE6-5D92-B433-8705-42D7C4C91718. 01-ConfigId:0. 01-BootId:167. 01-MagicNumber:30566000. 01-DeviceName:LENOVO-E10766D1. 01-DeviceType:urn:IGRS:Device:DeviceType

but the UDP display data is always what I sent. I also test the version NG-0.7.4 and NG-0.7.5, they have the same problem. somone have encountered this problem??

LocutusOfBorg commented 11 years ago

Sorry could you try with the latest git?

I'm pretty sure the problem is already fixed.

LocutusOfBorg commented 11 years ago

Hi @srcfan I think the bug was in many of the fix I/we did, starting from libnet and ending to pcap (#245 and #297) So closing because of no activity, feel free to comment if you still have this problem!