Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 538462

Summary: net-analyzer/dsniff - invalid calculation of Total Length header field in macof.c
Product: Gentoo Linux Reporter: jan.starke
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: jan.starke
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dsniff-2.4_beta1-r6/macof.c

Description jan.starke 2015-02-01 19:18:33 UTC
Created attachment 395338 [details, diff]
dsniff-2.4_beta1-r6/macof.c

Hi,

I observed that macof (package dsniff) does not include the size of the IP header in its calculation of the Total Length field.

I sent an email to the author of dsniff about this issue, but I received no answer. So I published a description of the problem (https://janstarke.wordpress.com/2015/02/01/invalid-tcp-segments-created-by-macof/)

Attached to this bug you find a patch which resolves this problem.

Kind regards, Jan
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-07 10:16:23 UTC
This patch went into -r7. Thanks for the report and patch.