could you guys add libvlc-dev to the repositories so we could compile/install UCsniff 3.0x on BT4?
Update: i got it working the vlc_1.0.4-bt1_i386.deb has all the dev headers needed to compile UC Sniff
Code:
apt-get install build-essential zlib1g-dev liblzo2-dev libpcap0.8-dev libnet1-dev libasound2-dev libbz2-dev libx11-dev libxext-dev libfreetype6-dev vlc libhal-dev
wget http://downloads.sourceforge.net/project/ucsniff/ucsniff/ucsniff-3.0%20src/ucsniff-3.08.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fucsniff%2Ffiles%2F&ts=1281959319&mirror=garr
tar -xvzf ucsniff_3.08.tar.gz
#UCSniff shares so much with ettercap that they even share the same bugs ;) this probably have to fixed in upstream.
cat << EOF > pointers_and_ints_dont_mix.patch
--- a/src/protocols/ec_tcp.c
+++ b/src/protocols/ec_tcp.c
@@ -116,7 +116,7 @@ FUNC_DECODER(decode_tcp)
tcp = (struct tcp_header *)DECODE_DATA;
opt_start = (u_char *)(tcp + 1);
- opt_end = (u_char *)((int)tcp + tcp->off * 4);
+ opt_end = (u_char *)(tcp + tcp->off * 4);
DECODED_LEN = (u_int32)(tcp->off * 4);
EOF
cd ucsniff-3.08
patch -p1 -l < ../pointers_and_ints_dont_mix.patch
./configure --enable-gui --enable-libvlc --enable-compression
make && make install