www.ProFTPD.de
13. März 2007, 19:46:19 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: proftpd debuging mit gdb  (Gelesen 308 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
gdbuser
Gast
« am: 01. Oktober 2003, 16:46:49 »

ich kann mit gdb nicht an proftpd attachen
und hab keine ahnung woran das liegt

habe bereits mit -g compiled
und vorher configure so aufgerufen:
./configure --enable-devel=coredump:nodaemon:nofork

gestriped sind die binarys auch net
wenn ich jetzt mit gdb versuche an die pid zu attachen
ganz gleich ob proftpd mit option -nd5 gestartet ist oder nicht
bekomme ich folgendes szenario:
This GDB was configured as "i386-linux".
(gdb) attach 16833
Attaching to process 16833
Couldn't get registers: Operation not permitted.
(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) y
Detaching from program: , process 16833
ptrace: Operation not permitted.
(gdb)

proftpd gleich aus gdb starten brings auch net
ich habe im code die setrlimit() calls mal endfernt
trozdem gleiches problem

waere echt erfreut ueber eine schnelle loesung
gruss nick
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 01. Oktober 2003, 17:01:03 »

Da hat es bei mir geklappt.

http://www.proftpd.de/forum2/viewtopic.php?t=78

Welche Version hast du denn?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #2 am: 01. Oktober 2003, 17:06:32 »

proftpd-1.2.8
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #3 am: 01. Oktober 2003, 17:09:34 »

Mit der 1.2.9RC2p geht's bei mir auch nimmer.
Code:
knowledgebase - socket() failed in connection initialization: Address family not supported by protocol  

Muß mal mit der 1.2.8p testen.
Moment.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
gdbuser
Gast
« Antwort #4 am: 01. Oktober 2003, 17:10:19 »

aber trozdem schonmal danke fuer die schnelle reaktion
dickes lob!
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #5 am: 01. Oktober 2003, 17:23:15 »

Geht.  :?!

In der 1.2.9RC2p gings nicht weil ich den hostnamen vorhin geplättet hatte...
- getaddrinfo 'knowledgebase' error: Name or service not known
 - error: unable to determine IP address of 'knowledgebase'  


Aber hier siehste dass es geht:
Code:
[root@knowledgebase proftpd-1.2.8]# make clean
cd src/     && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/src«
rm -f *.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/src«
cd modules/ && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/modules«
rm -f *.o module_glue.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/modules«
cd lib/     && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib«
rm -f *.o libsupp.a
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib«
cd utils/   && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/utils«
rm -f *.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/utils«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho
[root@knowledgebase proftpd-1.2.8]# ./configure --with-modules=mod_sql:mod_sql_mysql:mod_ifsession --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql --sysconfdir=/www/conf/ --enable-devel=coredump:nodaemon:nofork
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking whether gcc accepts -Wno-long-double... no
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking for set_auth_parameters in -lsecurity... no
checking for setprpwent in -lsec... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking for set_auth_parameters... no
checking for getprpwent... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_warn... yes
checking for struct spwd.sp_inact... yes
checking for struct spwd.sp_expire... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for sys/types.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking vmsdir.h usability... no
checking vmsdir.h presence... no
checking for vmsdir.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca in -lucb... no
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for bcopy... yes
checking for crypt... yes
checking for fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for inet_aton... yes
checking for memcpy... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for rmdir... yes
checking for select... yes
checking for setgroups... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strcoll... yes
checking for strerror... yes
checking for strsep... yes
checking for strtol... yes
checking for setprotoent... yes
checking for endprotoent... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... no
checking whether setgrent returns void... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating modules/Makefile
config.status: creating utils/Makefile
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
[root@knowledgebase proftpd-1.2.8]# make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib«
cd src/ && make src
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/src«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c feat.c
lib/mysql --sysconfdir=/www/conf/ --enable-devel=coredump:nodaemon:nofork
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mkhome.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/src«
cd modules/ && make modules
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/modules«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql_mysql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_ifsession.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_sql.o mod_sql_mysql.o mod_ifsession.o
mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c module_glue.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/modules«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_ifsession.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient -L/usr/lib/mysql
cd utils/ && make utils
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/utils«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpcount.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpshut.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftptop.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c ftpwho.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c misc.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/utils«
gcc -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -o ftpshut utils/ftpshut.o
gcc -Llib  -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses
gcc -Llib  -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
[root@knowledgebase proftpd-1.2.8]# make install
cd lib/ && make lib
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib«
make[1]: Für das Target »lib« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib«
cd src/ && make src
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/src«
make[1]: Für das Target »src« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/src«
cd modules/ && make modules
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/modules«
make[1]: Für das Target »modules« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/modules«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
make[1]: Für das Target »all« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.8/lib/libcap«
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_ifsession.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient -L/usr/lib/mysql
/usr/bin/install -c -s -o root -g root -m 0755 proftpd /usr/local/sbin/proftpd
if [ -f /usr/local/sbin/in.proftpd ] ; then \
        rm -f /usr/local/sbin/in.proftpd ; \
fi
ln -s proftpd /usr/local/sbin/in.proftpd
chown -h root:root /usr/local/sbin/in.proftpd
/usr/bin/install -c -s -o root -g root -m 0755  ftpcount /usr/local/bin/ftpcount
/usr/bin/install -c -s -o root -g root -m 0755 ftpshut  /usr/local/sbin/ftpshut
/usr/bin/install -c -s -o root -g root -m 0755  ftptop   /usr/local/bin/ftptop
/usr/bin/install -c -s -o root -g root -m 0755  ftpwho   /usr/local/bin/ftpwho
if [ ! -f /www/conf//proftpd.conf ] ; then \
        /usr/bin/install -c -o root -g root -m 0644 \
                   ./sample-configurations/basic.conf \
                   /www/conf//proftpd.conf ; \
fi
/usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8    /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpshut.8  /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpcount.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftptop.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpwho.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5    /usr/local/man/man5
[root@knowledgebase proftpd-1.2.8]# proftpd -nd9&
[1] 17746
[root@knowledgebase proftpd-1.2.8]#  - parsing '/www/conf//proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_sql
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_sql
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - Compiling allow regex '^[a-zA-Z0-9]*'.
 - Allocated allow regex at location 0x80d82e8.
 - parsing '/www/conf/proftpd_ext_anon.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - FS: using system close()
 - Compiling deny regex '(\.ftpaccess)|(\.htaccess)|(\.welcome.msg)|(\.dirinfo.msg)|(\.login.msg)'.
 - Allocated deny regex at location 0x80d85f0.
 - FS: using system read()
 - <Directory ~>: adding section for resolved path '~'
 - FS: using system read()
 - <Directory ~/uploads>: adding section for resolved path '~/uploads'
 - Compiling allow regex '^[a-zA-Z0-9]*'.
 - Allocated allow regex at location 0x80d87a8.
 - FS: using system read()
 - Compiling deny regex '(\.ftpaccess)|(\.htaccess)|(\.DisplayConnect.msg)|(\.DisplayFirstChdir.msg)|(\.DisplayGoAway.msg)|(\.DisplayLogin.msg)|(\.DisplayGoAway.msg)|(\.DisplayQuit.msg)'.
 - Allocated deny regex at location 0x80e5218.
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system close()
ber06075 -
ber06075 - Config for NetxiraOne - FTP-Server:
ber06075 - <IfGroup>
ber06075 -  ~/uploads
ber06075 -   Limit
ber06075 -    AllowAll
ber06075 -    DenyAll
ber06075 -   Limit
ber06075 -    DenyAll
ber06075 -  ~
ber06075 -   Limit
ber06075 -    IgnoreHidden
ber06075 -    AllowAll
ber06075 -   Limit
ber06075 -    DenyAll
ber06075 -  IfGroupList
ber06075 - RootLogin
ber06075 - AllowLogSymlinks
ber06075 - RequireValidShell
ber06075 - tcpNoDelay
ber06075 - PidFile
ber06075 - UserID
ber06075 - UserName
ber06075 - GroupID
ber06075 - GroupName
ber06075 - AccessDenyMsg
ber06075 - AccessGrantMsg
ber06075 - AllowFilter
ber06075 - AllowForeignAddress
ber06075 - AllowOverwrite
ber06075 - AllowRetrieveRestart
ber06075 - AllowStoreRestart
ber06075 - AuthAliasOnly
ber06075 - DeleteAbortedStores
ber06075 - DirFakeGroup
ber06075 - DirFakeMode
ber06075 - DirFakeUser
ber06075 - DisplayConnect
ber06075 - DisplayFirstChdir
ber06075 - DisplayGoAway
ber06075 - DisplayQuit
ber06075 - ExtendedLog
ber06075 - HiddenStores
ber06075 - IdentLookups
ber06075 - LoginPasswordPrompt
ber06075 - MaxClients
ber06075 - MaxClientsPerHost
ber06075 - MaxHostsPerUser
ber06075 - MaxLoginAttempts
ber06075 - PathDenyFilter
ber06075 - RequireValidShell
ber06075 - ServerIdent
ber06075 - ShowSymlinks
ber06075 - SyslogLevel
ber06075 - Umask
ber06075 - DirUmask
ber06075 - SQLAuthenticate
ber06075 - SQLAuthTypes
ber06075 - SQLConnectInfo
ber06075 - SQLDefaultGID
ber06075 - SQLDefaultUID
ber06075 - SQLHomedirOnDemand
ber06075 - SQLUserTable
ber06075 - SQLUsernameField
ber06075 - SQLPasswordField
ber06075 - SQLHomedirField
ber06075 - SQLGroupTable
ber06075 - SQLGroupnameField
ber06075 - SQLGroupGIDField
ber06075 - SQLGroupMembersField
ber06075 - TimeoutIdle
ber06075 - TimeoutLogin
ber06075 - TimeoutNoTransfer
ber06075 - TimeoutStalled
ber06075 - TimesGMT
ber06075 - Classes
ber06075 - DefaultChdir
ber06075 - DefaultRoot
ber06075 - DefaultTransferMode
ber06075 - DeferWelcome
ber06075 - PassivePorts
ber06075 - UseGlobbing
ber06075 - UseFtpUsers
ber06075 - 10.138.131.75:121 masquerading as 10.138.131.75
ber06075 -
ber06075 - Config for Knowledgebase - Warteschlange:
ber06075 - AccessDenyMsg
ber06075 - AccessGrantMsg
ber06075 - AllowFilter
ber06075 - AllowForeignAddress
ber06075 - AllowOverwrite
ber06075 - AllowRetrieveRestart
ber06075 - AllowStoreRestart
ber06075 - AuthAliasOnly
ber06075 - DeleteAbortedStores
ber06075 - DirFakeGroup
ber06075 - DirFakeMode
ber06075 - DirFakeUser
ber06075 - DisplayConnect
ber06075 - DisplayFirstChdir
ber06075 - DisplayGoAway
ber06075 - DisplayLogin
ber06075 - DisplayQuit
ber06075 - ExtendedLog
ber06075 - HiddenStores
ber06075 - IdentLookups
ber06075 - MaxClients
ber06075 - MaxClientsPerHost
ber06075 - MaxHostsPerUser
ber06075 - LoginPasswordPrompt
ber06075 - MasqueradeAddress
ber06075 - MaxLoginAttempts
ber06075 - PathDenyFilter
ber06075 - RequireValidShell
ber06075 - ServerIdent
ber06075 - ShowSymlinks
ber06075 - SyslogLevel
ber06075 - SQLAuthenticate
ber06075 - SQLAuthTypes
ber06075 - SQLConnectInfo
ber06075 - SQLDefaultGID
ber06075 - SQLDefaultUID
ber06075 - SQLHomedirOnDemand
ber06075 - SQLLog_PASS
ber06075 - SQLLog_PASS
ber06075 - SQLLog_DELE
ber06075 - SQLLog_RETR
ber06075 - SQLLog_*
ber06075 - SQLLog_ERR_*
ber06075 - SQLNamedQuery_updatecount
ber06075 - SQLNamedQuery_letzter_zugriff
ber06075 - SQLNamedQuery_delfile
ber06075 - SQLNamedQuery_getfile
ber06075 - SQLNamedQuery_history
ber06075 - SQLNamedQuery_history_err
ber06075 - SQLUserTable
ber06075 - SQLUsernameField
ber06075 - SQLPasswordField
ber06075 - SQLUidField
ber06075 - SQLHomedirField
ber06075 - TimesGMT
ber06075 - Umask
ber06075 - DirUmask
ber06075 - Classes
ber06075 - DefaultChdir
ber06075 - DefaultRoot
ber06075 - DefaultTransferMode
ber06075 - DeferWelcome
ber06075 - PassivePorts
ber06075 - UseGlobbing
ber06075 - UseFtpUsers
ber06075 - dispatching auth request "getgroups" to module mod_sql
ber06075 - dispatching auth request "getgroups" to module mod_auth_file
ber06075 - dispatching auth request "getgroups" to module mod_auth_unix
ber06075 - SETUP PRIVS at main.c:2618
ber06075 - ROOT PRIVS at main.c:1909
ber06075 - RELINQUISH PRIVS at main.c:1915
ber06075 - ROOT PRIVS at main.c:2252
ber06075 - RELINQUISH PRIVS at main.c:2276
ber06075 - ROOT PRIVS at inet.c:506
ber06075 - RELINQUISH PRIVS at inet.c:563
ber06075 - ROOT PRIVS at inet.c:506
ber06075 - RELINQUISH PRIVS at inet.c:563
ber06075 - ProFTPD 1.2.8 (stable) (built Mit Okt 1 17:24:07 CEST 2003) standalone mode STARTUP
ber06075 - ROOT PRIVS at main.c:2124
ber06075 - RELINQUISH PRIVS at main.c:2130
ber06075 - FS: using system lstat()

[root@knowledgebase proftpd-1.2.8]# ps -ef |grep proftpd |grep -v grep
www      17746 32126  0 17:25 pts/2    00:00:00 proftpd: (accepting connections)
[root@knowledgebase proftpd-1.2.8]# gdb
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux".
(gdb) ber06075 - FS: using system lstat()
attach 17746
Attaching to process 17746
Reading symbols from /usr/local/sbin/proftpd...(no debugging symbols found)...done.
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/i686/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
0x420dcc02 in select () from /lib/i686/libc.so.6
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/local/sbin/proftpd, process 17746
[root@knowledgebase proftpd-1.2.8]#
[root@knowledgebase proftpd-1.2.8]# killall proftpd
ber06075 - ProFTPD killed (signal 15)
ber06075 - ROOT PRIVS at main.c:1786
ber06075 - RELINQUISH PRIVS at main.c:1807
ber06075 - ProFTPD 1.2.8 standalone mode SHUTDOWN
ber06075 - ROOT PRIVS at main.c:1814
ber06075 - RELINQUISH PRIVS at main.c:1816
[1]+  Exit 1                  proftpd -nd9                    
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #6 am: 01. Oktober 2003, 17:43:52 »

Und mit 1.2.9.RC2:
Code:
[root@knowledgebase proftpd-1.2.9rc2]# make clean
cd src/     && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
rm -f *.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
cd modules/ && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
rm -f *.o module_glue.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
cd lib/     && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
rm -f *.o libsupp.a
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
cd utils/   && make clean
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
rm -f *.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho
[root@knowledgebase proftpd-1.2.9rc2]# ./configure --with-modules=mod_sql:mod_sql_mysql:mod_ifsession --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql --sysconfdir=/www/conf/ --enable-devel=coredump:nodaemon:nofork
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking for getopt... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_warn... yes
checking for struct spwd.sp_inact... yes
checking for struct spwd.sp_expire... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking vmsdir.h usability... no
checking vmsdir.h presence... no
checking for vmsdir.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca in -lucb... no
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for bcopy... yes
checking for crypt... yes
checking for fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for memcpy... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for mlock... yes
checking for mlockall... yes
checking for munlock... yes
checking for munlockall... yes
checking for rmdir... yes
checking for select... yes
checking for setgroups... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strcoll... yes
checking for strerror... yes
checking for strsep... yes
checking for strtol... yes
checking for setprotoent... yes
checking for endprotoent... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... no
checking whether struct addrinfo is defined... yes
checking whether struct sockaddr_storage is defined... yes
checking whether ss_family is defined... yes
checking whether ss_len is defined... no
checking whether __ss_len is defined... no
checking whether setgrent returns void... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking whether printf supports %llu format... yes
checking whether gcc accepts -Wfloat-equal... yes
checking whether gcc accepts -Wno-long-double... no
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating src/proftpd.8
config.status: creating src/xferlog.5
config.status: creating utils/Makefile
config.status: creating utils/ftpcount.1
config.status: creating utils/ftpshut.8
config.status: creating utils/ftptop.1
config.status: creating utils/ftpwho.1
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: executing default commands
[root@knowledgebase proftpd-1.2.9rc2]# make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c sstrncpy.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c strsep.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c pwgrent.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c getopt.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c getopt1.c
ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
cd src/ && make src
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c main.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c timers.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c sets.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c pool.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c regexp.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c dirtree.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c support.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c netaddr.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c inet.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c bindings.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c feat.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c netio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c response.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c ident.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c data.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c modules.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c fsio.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mkhome.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
cd modules/ && make modules
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_sql_mysql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_ifsession.c
mod_ifsession.c: In function `ifsess_post_pass':
mod_ifsession.c:317: warning: declaration of `i' shadows a previous local
mod_ifsession.c:280: warning: shadowed declaration is here
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_sql.o mod_sql_mysql.o mod_ifsession.o
mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c module_glue.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
=> making cap_names.c from <linux/capability.h>
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_alloc.c -o cap_alloc.o
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_proc.c -o cap_proc.o
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_extint.c -o cap_extint.o
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_flag.c -o cap_flag.o
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_text.c -o cap_text.o
cc -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_ifsession.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient -L/usr/lib/mysql
cd utils/ && make utils
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c ftpcount.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c scoreboard.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c ftpshut.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c ftptop.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c ftpwho.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -Wall -DPR_DEVEL_NO_FORK -DPR_DEVEL_NO_DAEMON -DPR_DEVEL_COREDUMP -g -Wcast-align -Wchar-subscripts -Winline -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wfloat-equal -c misc.c
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
gcc -Llib  -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -Llib  -o ftpshut utils/ftpshut.o
gcc -Llib  -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses -lsupp
gcc -Llib  -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
[root@knowledgebase proftpd-1.2.9rc2]# make install
cd lib/ && make lib
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
make[1]: Für das Target »lib« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib«
cd src/ && make src
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
make[1]: Für das Target »src« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/src«
cd modules/ && make modules
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
make[1]: Für das Target »modules« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/modules«
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
make[1]: Für das Target »all« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/lib/libcap«
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_ifsession.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient -L/usr/lib/mysql
cd utils/ && make utils
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
make[1]: Für das Target »utils« gibt es nichts zu tun.
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/proftpd-1.2.9rc2/utils«
/usr/bin/install -c  -o root -g root -m 0755 proftpd /usr/local/sbin/proftpd
if [ -f /usr/local/sbin/in.proftpd ] ; then \
        rm -f /usr/local/sbin/in.proftpd ; \
fi
ln -s proftpd /usr/local/sbin/in.proftpd
chown -h root:root /usr/local/sbin/in.proftpd
/usr/bin/install -c  -o root -g root -m 0755  ftpcount /usr/local/bin/ftpcount
/usr/bin/install -c  -o root -g root -m 0755 ftpshut  /usr/local/sbin/ftpshut
/usr/bin/install -c  -o root -g root -m 0755  ftptop   /usr/local/bin/ftptop
/usr/bin/install -c  -o root -g root -m 0755  ftpwho   /usr/local/bin/ftpwho
if [ ! -f /www/conf//proftpd.conf ] ; then \
        /usr/bin/install -c -o root -g root -m 0644 \
                   ./sample-configurations/basic.conf \
                   /www/conf//proftpd.conf ; \
fi
/usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8    /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpshut.8  /usr/local/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpcount.1 /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftptop.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./utils/ftpwho.1   /usr/local/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5    /usr/local/man/man5
[root@knowledgebase proftpd-1.2.9rc2]# proftpd -nd9&
[1] 24315
[root@knowledgebase proftpd-1.2.9rc2]#  - parsing '/www/conf//proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_sql
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_sql
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - Compiling allow regex '^[a-zA-Z0-9]*'.
 - Allocated allow regex at location 0x80c6ba0.
 - parsing '/www/conf/proftpd_ext_anon.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - FS: using system close()
 - Compiling deny regex '(\.ftpaccess)|(\.htaccess)|(\.welcome.msg)|(\.dirinfo.msg)|(\.login.msg)'.
 - Allocated deny regex at location 0x80f66d8.
 - FS: using system read()
 - <Directory ~>: adding section for resolved path '~'
 - FS: using system read()
 - <Directory ~/uploads>: adding section for resolved path '~/uploads'
 - Compiling allow regex '^[a-zA-Z0-9]*'.
 - Allocated allow regex at location 0x80f6890.
 - FS: using system read()
 - Compiling deny regex '(\.ftpaccess)|(\.htaccess)|(\.DisplayConnect.msg)|(\.DisplayFirstChdir.msg)|(\.DisplayGoAway.msg)|(\.DisplayLogin.msg)|(\.DisplayGoAway.msg)|(\.DisplayQuit.msg)'.
 - Allocated deny regex at location 0x8103300.
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system close()
ber06075 -
ber06075 - Config for NetxiraOne - FTP-Server:
ber06075 - <IfGroup>
ber06075 -  ~/uploads
ber06075 -   Limit
ber06075 -    AllowAll
ber06075 -    DenyAll
ber06075 -   Limit
ber06075 -    DenyAll
ber06075 -  ~
ber06075 -   Limit
ber06075 -    IgnoreHidden
ber06075 -    AllowAll
ber06075 -   Limit
ber06075 -    DenyAll
ber06075 -  IfGroupList
ber06075 - RootLogin
ber06075 - AllowLogSymlinks
ber06075 - RequireValidShell
ber06075 - tcpNoDelay
ber06075 - PidFile
ber06075 - UserID
ber06075 - UserName
ber06075 - GroupID
ber06075 - GroupName
ber06075 - AccessDenyMsg
ber06075 - AccessGrantMsg
ber06075 - AllowFilter
ber06075 - AllowForeignAddress
ber06075 - AllowOverwrite
ber06075 - AllowRetrieveRestart
ber06075 - AllowStoreRestart
ber06075 - AuthAliasOnly
ber06075 - DeleteAbortedStores
ber06075 - DirFakeGroup
ber06075 - DirFakeMode
ber06075 - DirFakeUser
ber06075 - DisplayConnect
ber06075 - DisplayFirstChdir
ber06075 - DisplayGoAway
ber06075 - DisplayQuit
ber06075 - ExtendedLog
ber06075 - HiddenStores
ber06075 - IdentLookups
ber06075 - LoginPasswordPrompt
ber06075 - MaxClients
ber06075 - MaxClientsPerHost
ber06075 - MaxHostsPerUser
ber06075 - MaxLoginAttempts
ber06075 - PathDenyFilter
ber06075 - RequireValidShell
ber06075 - ServerIdent
ber06075 - ShowSymlinks
ber06075 - SyslogLevel
ber06075 - Umask
ber06075 - DirUmask
ber06075 - SQLAuthenticate
ber06075 - SQLAuthTypes
ber06075 - SQLConnectInfo
ber06075 - SQLDefaultGID
ber06075 - SQLDefaultUID
ber06075 - SQLHomedirOnDemand
ber06075 - SQLUserTable
ber06075 - SQLUsernameField
ber06075 - SQLPasswordField
ber06075 - SQLHomedirField
ber06075 - SQLGroupTable
ber06075 - SQLGroupnameField
ber06075 - SQLGroupGIDField
ber06075 - SQLGroupMembersField
ber06075 - TimeoutIdle
ber06075 - TimeoutLogin
ber06075 - TimeoutNoTransfer
ber06075 - TimeoutStalled
ber06075 - TimesGMT
ber06075 - Classes
ber06075 - DefaultChdir
ber06075 - DefaultRoot
ber06075 - DefaultTransferMode
ber06075 - DeferWelcome
ber06075 - PassivePorts
ber06075 - UseGlobbing
ber06075 - UseFtpUsers
ber06075 - 10.138.131.75:121 masquerading as 10.138.131.75
ber06075 -
ber06075 - Config for Knowledgebase - Warteschlange:
ber06075 - AccessDenyMsg
ber06075 - AccessGrantMsg
ber06075 - AllowFilter
ber06075 - AllowForeignAddress
ber06075 - AllowOverwrite
ber06075 - AllowRetrieveRestart
ber06075 - AllowStoreRestart
ber06075 - AuthAliasOnly
ber06075 - DeleteAbortedStores
ber06075 - DirFakeGroup
ber06075 - DirFakeMode
ber06075 - DirFakeUser
ber06075 - DisplayConnect
ber06075 - DisplayFirstChdir
ber06075 - DisplayGoAway
ber06075 - DisplayLogin
sr/lib/mysql --sysconfdir=/www/conf/ --enable-devel=coredump:nodaemon:nofork
sr/lib/mysql --sysconfdir=/www/conf/ --enable-devel=coredump:nodaemon:nofork
ber06075 - DisplayQuit
ber06075 - ExtendedLog
ber06075 - HiddenStores
ber06075 - IdentLookups
ber06075 - MaxClients
ber06075 - MaxClientsPerHost
ber06075 - MaxHostsPerUser
ber06075 - LoginPasswordPrompt
ber06075 - MasqueradeAddress
ber06075 - MaxLoginAttempts
ber06075 - PathDenyFilter
ber06075 - RequireValidShell
ber06075 - ServerIdent
ber06075 - ShowSymlinks
ber06075 - SyslogLevel
ber06075 - SQLAuthenticate
ber06075 - SQLAuthTypes
ber06075 - SQLConnectInfo
ber06075 - SQLDefaultGID
ber06075 - SQLDefaultUID
ber06075 - SQLHomedirOnDemand
ber06075 - SQLLog_PASS
ber06075 - SQLLog_PASS
ber06075 - SQLLog_DELE
ber06075 - SQLLog_RETR
ber06075 - SQLLog_*
ber06075 - SQLLog_ERR_*
ber06075 - SQLNamedQuery_updatecount
ber06075 - SQLNamedQuery_letzter_zugriff
ber06075 - SQLNamedQuery_delfile
ber06075 - SQLNamedQuery_getfile
ber06075 - SQLNamedQuery_history
ber06075 - SQLNamedQuery_history_err
ber06075 - SQLUserTable
ber06075 - SQLUsernameField
ber06075 - SQLPasswordField
ber06075 - SQLUidField
ber06075 - SQLHomedirField
ber06075 - TimesGMT
ber06075 - Umask
ber06075 - DirUmask
ber06075 - Classes
ber06075 - DefaultChdir
ber06075 - DefaultRoot
ber06075 - DefaultTransferMode
ber06075 - DeferWelcome
ber06075 - PassivePorts
ber06075 - UseGlobbing
ber06075 - UseFtpUsers
ber06075 - dispatching auth request "getgroups" to module mod_sql
ber06075 - dispatching auth request "getgroups" to module mod_auth_file
ber06075 - dispatching auth request "getgroups" to module mod_auth_unix
ber06075 - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
ber06075 - ProFTPD 1.2.9rc2 (devel) (built Mit Okt 1 17:29:25 CEST 2003) standalone mode STARTUP
ber06075 - FS: using system lstat()

[root@knowledgebase proftpd-1.2.9rc2]# ps -ef |grep proftpd |grep -v grep
root     24315 32126  0 17:41 pts/2    00:00:00 proftpd: (accepting connections)
[root@knowledgebase proftpd-1.2.9rc2]# gdb
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux".
(gdb) attach 24315
Attaching to process 24315
Reading symbols from /usr/local/sbin/proftpd...done.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
0x420dcc02 in select () from /lib/i686/libc.so.6
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/local/sbin/proftpd, process 24315
ber06075 - scrubbing scoreboard
ber06075 - FS: using system lstat()
[root@knowledgebase proftpd-1.2.9rc2]# killall proftpd
ber06075 - ProFTPD killed (signal 15)
ber06075 - ProFTPD 1.2.9rc2 standalone mode SHUTDOWN
[1]+  Exit 1                  proftpd -nd9
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
gdbuser
Gast
« Antwort #7 am: 01. Oktober 2003, 21:18:51 »

soweit komm ich auch wenn ich den daemon aus gdb starte
aber sobalt ein cliend connected gehts nimmer Traurig
#make clean
cd src/     && make clean
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/src'
rm -f *.o
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/src'
cd modules/ && make clean
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/modules'
rm -f *.o module_glue.c
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/modules'
cd lib/     && make clean
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib'
rm -f *.o libsupp.a
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib'
cd utils/   && make clean
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/utils'
rm -f *.o
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/utils'
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib/libcap'
rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o libcap.a*
rm -f cap_names.h cap_names.sed _makenames
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib/libcap'
rm -f include/buildstamp.h
rm -f proftpd ftpcount ftpshut ftptop ftpwho
#
#./configure --enable-devel=coredump:nodaemon:nofork
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether the C compiler accepts -Wall... yes
checking whether gcc accepts -Wno-long-double... no
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking for set_auth_parameters in -lsecurity... no
checking for setprpwent in -lsec... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking for set_auth_parameters... no
checking for getprpwent... no
checking hpsecurity.h usability... no
checking hpsecurity.h presence... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for struct spwd.sp_warn... yes
checking for struct spwd.sp_inact... yes
checking for struct spwd.sp_expire... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for pam_start in -lpam... yes
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking whether to enable mod_cap... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for sys/types.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking vmsdir.h usability... no
checking vmsdir.h presence... no
checking for vmsdir.h... no
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for off_t... (cached) yes
checking size of off_t... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for socklen_t... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your struct utmp has ut_exit... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca in -lucb... no
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for bcopy... yes
checking for crypt... yes
checking for fgetgrent... yes
checking for fgetpwent... yes
checking for flock... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for inet_aton... yes
checking for memcpy... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for rmdir... yes
checking for select... yes
checking for setgroups... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strcoll... yes
checking for strerror... yes
checking for strsep... yes
checking for strtol... yes
checking for setprotoent... yes
checking for endprotoent... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for fgetspent... yes
checking for setpassent... no
checking whether setgrent returns void... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating modules/Makefile
config.status: creating utils/Makefile
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
#
#make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c strsep.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c glibc-mkstemp.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pr-syslog.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pwgrent.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c getopt.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/src'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c main.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c timers.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c sets.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c pool.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c regexp.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c dirtree.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c support.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c inet.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c bindings.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c feat.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c netio.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c response.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ident.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c data.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c modules.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c fsio.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_pam.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_auth_pam.o  mod_cap.o
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/modules'
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/lib/libcap'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_auth_pam.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lpam
cd utils/ && make utils
make[1]: Entering directory `/home/seprioth/audit/ftp/proftpd-1.2.8/utils'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpcount.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpshut.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftptop.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpwho.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c misc.c
make[1]: Leaving directory `/home/seprioth/audit/ftp/proftpd-1.2.8/utils'
gcc -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -o ftpshut utils/ftpshut.o
gcc -Llib  -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses
gcc -Llib  -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
#
#ls
COPYING        Makefile        README.LDAP          README.mod_sql  config.h       configure.in  ftpwho      proftpd.spec
CREDITS        Makefile.in     README.PAM           README.modules  config.h.in    contrib       include     sample-configurations
ChangeLog      NEWS            README.Solaris2.5x   README.ports    config.log     doc           install-sh  src
INSTALL        README          README.Unixware      acconfig.h      config.status  ftpcount      lib         stamp-h
Make.rules     README.AIX      README.capabilities  aclocal.m4      config.sub     ftpshut       modules     stamp-h.in
Make.rules.in  README.FreeBSD  README.cygwin        config.guess    configure      ftptop        proftpd     utils
#
#gdb ./proftpd
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) r -nd5
Starting program: /home/seprioth/audit/ftp/proftpd-1.2.8/proftpd -nd5
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - <Directory />: adding section for resolved path '/'
darkstar -
darkstar - Config for ProFTPD Default Installation:
darkstar - ~ftp/
darkstar -  Limit
darkstar -   DenyAll
darkstar -  UserName
darkstar -  GroupName
darkstar -  UserAlias
darkstar -  MaxClients
darkstar -  DisplayLogin
darkstar -  DisplayFirstChdir
darkstar -  Umask
darkstar - /
darkstar -  AllowOverwrite
darkstar -  Umask
darkstar - DefaultServer
darkstar - Umask
darkstar - UserID
darkstar - UserName
darkstar - GroupID
darkstar - GroupName
darkstar - ProFTPD 1.2.8 (stable) (built Wed Oct 1 22:47:53 CEST 2003) standalone mode STARTUP

---------------------------- andere console ----------------------

No mail.
seprioth@darkstar:~$ ftp localhost
lftp localhost:~> user seprioth
Password:
lftp seprioth@localhost:~> ls
`ls' at 0 [Delaying before reconnect: 11]


-- frezzed-----
--- wieder console 1---- nochmal kompletter gdb output-------
(gdb) r -nd5
Starting program: /home/seprioth/audit/ftp/proftpd-1.2.8/proftpd -nd5
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - <Directory />: adding section for resolved path '/'
darkstar -
darkstar - Config for ProFTPD Default Installation:
darkstar - ~ftp/
darkstar -  Limit
darkstar -   DenyAll
darkstar -  UserName
darkstar -  GroupName
darkstar -  UserAlias
darkstar -  MaxClients
darkstar -  DisplayLogin
darkstar -  DisplayFirstChdir
darkstar -  Umask
darkstar - /
darkstar -  AllowOverwrite
darkstar -  Umask
darkstar - DefaultServer
darkstar - Umask
darkstar - UserID
darkstar - UserName
darkstar - GroupID
darkstar - GroupName
darkstar - ProFTPD 1.2.8 (stable) (built Wed Oct 1 22:47:53 CEST 2003) standalone mode STARTUP
darkstar (darkstar[127.0.0.1]) - connected - local  : 127.0.0.1:21
darkstar (darkstar[127.0.0.1]) - connected - remote : 127.0.0.1:4904
darkstar (darkstar[127.0.0.1]) - FTP session opened.
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'AUTH TLS' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'AUTH TLS' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching LOG_CMD_ERR command 'AUTH TLS' to mod_log
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'USER seprioth' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'USER seprioth' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'USER seprioth' to mod_auth
darkstar (darkstar[127.0.0.1]) - dispatching CMD command 'USER seprioth' to mod_auth
darkstar (darkstar[127.0.0.1]) - dispatching LOG_CMD command 'USER seprioth' to mod_log
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
darkstar (darkstar[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
darkstar (darkstar[127.0.0.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
(no debugging symbols found)...(no debugging symbols found)...Couldn't get registers: Operation not permitted.
(gdb) bt
Couldn't get registers: Operation not permitted.
(gdb) info registers
No selected frame.
(gdb) info frame
No selected frame.
(gdb) quit
A debugging session is active.
Do you still want to close the debugger?(y or n) y

---- freezed nucnoch kill -9 moeglich-----
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #8 am: 01. Oktober 2003, 21:41:20 »

Ist mir zu hart jetzt.
Frag mal TJ Saunders: tj_at_castaglia_dot_org
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.125 Sekunden mit 19 Zugriffen.