glftpd / pftp Goto Github PK
View Code? Open in Web Editor NEWpftp repository
License: Other
pftp repository
License: Other
PFTP throws error after logging in and getting dirlist.
Errormessage: 18:31:12 [debian ] failed - to create temp file
looking at strace shows:
open("./ok/pftp.debug.log", O_RDWR|O_CREAT|O_APPEND, 0666) = -1 ENOENT (No such file or directory
In order to reproduce
clone repo on debian jessie
make dynamic
run pftp and connect to ftpserver
did a git clone, compiled up dynamic pftp from the 'trunk-shit' and tried to fxp a file.
got this error:
21:44 150 Opening BINARY mode data connection for a.file.r06 (100000000 bytes) using SSL/TLS.
21:44 435 Failed TLS negotiation on data channel (SSL_connect(): (1) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure), disconnected
Did a clone of pftp. Tried to compile on Ubuntu 16.04.2.
$ make
cd src;make;cd ..
make[1]: Entering directory '/home/xx/pftp/trunk-vanilla/src'
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS main.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS switchserver.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS tcp.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS displayupdate.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS server.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS bookmark.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS opensitedialog.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS displayhandler.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS keyhandler.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS tlsutil.cc
g++ -pipe -o pftp-dynamic main.o switchserver.o tcp.o displayupdate.o server.o bookmark.o opensitedialog.o displayhandler.o keyhandler.o tlsutil.o -lssl -lcrypto -DTLS -lpanel -lncurses -ltinfo -lpthread -ldl
cp -f pftp-dynamic ..
g++ -pipe -o pftp-static main.o switchserver.o tcp.o displayupdate.o server.o bookmark.o opensitedialog.o displayhandler.o keyhandler.o tlsutil.o -lssl -lcrypto -DTLS -lpanel -lncurses -ltinfo -lpthread -ldl -static
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function dlfcn_globallookup': (.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/ccFHNr3I.ltrans6.ltrans.o: In function
CServer::LocalGetDirlist()':
:(.text+0x2ce): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
:(.text+0x2f6): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccFHNr3I.ltrans9.ltrans.o: In function CTCP::GetIP(char*, in_addr*)': <artificial>:(.text+0xab4): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
_nc_mouse_event':
(.text+0x5d5): undefined reference to Gpm_GetEvent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
enable_gpm_mouse':
(.text+0xce2): undefined reference to Gpm_Close' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
enable_gpm_mouse':
(.text+0xd37): undefined reference to Gpm_Open' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
enable_gpm_mouse':
(.text+0xd4c): undefined reference to Gpm_Close' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
_nc_mouse_init':
(.text+0xea7): undefined reference to gpm_fd' **/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function
mouse_activate':
(.text+0x107b): undefined reference to `gpm_fd'
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'pftp-static' failed
make[1]: *** [pftp-static] Error 1
make[1]: Leaving directory '/home/xx/pftp/trunk-vanilla/src'**
glftpd introduced ipv6 support and should be added to pftp too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.