[Slack] – Installazione dsniff

Problema:

/record.c: In function `record_save’:
  ./record.c:130: `R_NOOVERWRITE’ undeclared (first use in this function)
  ./record.c:130: (Each undeclared identifier is reported only once
  ./record.c:130: for each function it appears in.)
  ./record.c:130: warning: passing arg 2 of pointer to function from
  incompatible pointer type
  ./record.c:130: too few arguments to function
  ./record.c: In function `record_dump’:
  ./record.c:143: structure has no member named `seq’
  ./record.c:143: `R_NEXT’ undeclared (first use in this function)
  ./record.c: In function `record_init’:
  ./record.c:167: warning: assignment makes pointer from integer without a cast
  ./record.c: In function `record_close’:
  ./record.c:206: too few arguments to function
  make: *** [record.o] Error 1

Soluzione:

This little fix will allow dsniff to install on any slackware box…

Change directory to /usr/include

Create a symbolic link with:
ln -s db3/db_185.h db_185.h

Then do a ./configure, make, make install.

Ricompilato e aggiornato apache modssl php

cd mod_ssl-2.8.28-1.3.37

./configure –with-apache=../../apache_1.3.37 –with-ssl=/usr/local/ssl –enable-shared=ssl –with-mm=/usr/local

cd ../../apache_1.3.37

EAPI_MM=”/usr/local” SSL_BASE=”/usr/local/ssl” ./configure –enable-module=so –enable-shared=ssl –enable-module=ssl –enable-module=rewrite

make && make install

cd ../php/php-4.4.4

./configure –with-mysql=/usr/local/mysql –with-openssl=/usr/local/ssl –with-apxs=/usr/local/apache/bin/apxs –enable-mbstring –with-mm=/usr/local –with-zlib –with-gd

make && make install

aggiunto a httpd.conf


AddModule mod_rewrite.c