Inetd listens for connections on certain sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. The server program is invoked with the service socket as its standard input, output and error descriptors.
Essentially, inetd allows running one daemon to invoke several others Continue reading ‘Internet Super Server’
If you can’t see hidden files in proftpd ( files with a .(dot), like .htaccess), you can force the files to be displayed in almost all clients with a server wide variable in your proftpd.conf:
Chnge to -a if exists already or add to the bottom:
Restart proftpd and reconnect.
FTP and SMTP are simple text based protocols, I show you how to get some files without a graphical FTP-Client.
Connect with Telnet:
id@acer:~$ telnet debianuser.org 21
Connected to debianuser.org.
Continue reading ‘Understanding FTP using commands’
The standard ftp command/client does not support IPv6 resolution.
A very powerful IPv6 ftp client alternative is lftp.
id@acer:~$ lftp ipv6.idrobot.net
lftp ipv6.idrobot.net:~> dir
-rw-r--r-- 1 ftp ftp 0 Aug 26 17:28 test.txt
And of course Firefox does FTP over IPv6:
ftp://ipv6.idrobot.net OR ftp://[2a01:4f8:131:51e2::10]
Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server. It doesn’t provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers.
The following howto is aimed at installing and configuring a FTP-server, based on Pure-FTPd, which supports virtual user.
aptitude update ; aptitude install pure-ftpd
useradd -g ftpgroup -d /dev/null -s /etc ftpuser
Create our first FTP user. In this example our user will be “zeldor”:
pure-pw useradd zeldor -u ftpuser -g ftpgroup -d /home/pubftp/zeldor -N 10
In the command above, we gave zeldor a limit of 10 MB disk space with option “-N 10″
By default all users will be saved in “/etc/pure-ftpd/pureftpd.passwd”, but first we have to update the pure-ftpd Database:
This database is only a binary file but it is ordered and has an index for quick access.
Get user information:
Show all available user and their home directories.
Get information for a specific user:
Reset password for a specific user (don’t forget to update your database):
pure-pw passwd zeldor
Server type should be standalone.
Use user database:
ln -s /etc/pure-ftpd/conf/PureDB 50pure
Restart and enjoy :)