Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43370 - Patch to make dsniff compile again (and it seems to work too!)
Summary: Patch to make dsniff compile again (and it seems to work too!)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 04:52 UTC by Magnus Määttä
Modified: 2004-04-07 23:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that fix libnids stuff (2.3-libnids-1.0.patch,4.19 KB, patch)
2004-03-01 04:53 UTC, Magnus Määttä
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Määttä 2004-03-01 04:52:20 UTC
I needed dsniff for some lighter debugging and it didn't compile so I had to look into making it work again.

The RDEPENDS looks a bit bogus in the ebuild. I changed it to:
RDEPEND=">=net-libs/libpcap-0.7.1
    >=net-libs/libnet-1.0.2a-r3
    >=net-libs/libnids-1.16-r1
    >=dev-libs/openssl-0.9.6e"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Magnus Määttä 2004-03-01 04:53:48 UTC
Created attachment 26650 [details, diff]
Patch that fix libnids stuff

It fixes the configure test and the changes the includes to nids.h from
nids-1.0.h.
Comment 2 SpanKY gentoo-dev 2004-03-01 05:19:38 UTC
dsniff is masked because it requires <nids-1.18 which is known to have security bugs
Comment 3 Magnus Määttä 2004-03-03 08:58:33 UTC
So how come I have it installed with libnids-1.18 ?

root@gateway / # ls /var/db/pkg/net-libs/
libnet-1.0.2a-r3  libnet-1.1.1  libnids-1.18  libpcap-0.8.1-r1

root@gateway / # ldd /usr/sbin/dsniff
        libresolv.so.2 => /lib/libresolv.so.2 (0x22e98000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x22eaa000)
        libnids.so.1.18 => /usr/lib/libnids.so.1.18 (0x22ebf000)
        libpcap.so.0 => /usr/lib/libpcap.so.0 (0x22ecd000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x22ef4000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x22f22000)
        libc.so.6 => /lib/libc.so.6 (0x23014000)
        libdl.so.2 => /lib/libdl.so.2 (0x23149000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x22e7d000)

Or am I missing something ?
Comment 4 SpanKY gentoo-dev 2004-03-04 03:50:09 UTC
you didnt explicitly state that your patch fixes dsniff to compile with libnids-1.18
Comment 5 FieldySnuts 2004-03-07 13:20:54 UTC
Is this going anywhere? It'd be nice to use dsniff :)
Comment 6 Jeff Caplan 2004-03-27 05:59:21 UTC
sorry to play dumb here, but what are the steps needed to make this patch fix libnids?  thanks.

~jeff~
Comment 7 SpanKY gentoo-dev 2004-04-07 23:58:24 UTC
ah what screwed me up was that the patch only reverts the libnids portion of my libnet-1.0 patch, not the libnet-1.0 part

trimmed out the nids-1.0 parts of the libnet-1.0 patch and unmasked dsniff

thanks for the heads up