Batland



Home
GeneralNewsPerlProFTPd
Archives

Batland's Code
Batland's Photos

Login
Aug
23
Second RC for ProFTPd Administrator 1.4.0

So there were two bugs in the installer which led to an unsuccessful install. These bugs have been fixed. Thanks to Oleksii Druzhchenko for finding them.

These showstoppers lead to an immediate update to the RC, a second RC, which can be found here

- Dennis

Posted by: DP | Add comment

Aug
22
Release Candidate for ProFTPd Administrator 1.4.0

As promised, the RC1 of ProFTPd Administrator has been released totday. You can download the RC here. I would be glad for any testing and reports from you. If you find any bugs, have suggestions for possible enhancement etc. please use the ticket system.

Changes since 1.4.0 Beta

New Features:

Fixed Bugs:

 

Changes since version 1.3.0

New features:
- A installer and upgrade script for the basic setup of ProFTPd Administrator has been added under msic/
- Email notification for the new user when the account is created
- Added localization support for the userinterface
- Added support to run ProFTPd Administrator using safemode. Of course, this disables some features.

Improvements:
- Added support for php 5.3
- Spanish language file. Thanks to Guillermo Marco
- Removed all shorttags so that the webserver doesn't need to be configured to support shorttags
- Renamed directory structure admin to admininterface and userView to userinterface
- When a user logs into the userinteface for the first time, he is forced to change his password. Either the user can set his own password or one is chosen for him by GWP depending on the admins choice.
- A user can change his password anytime per userinterface
- changed all newlines from CR LF to LF to be unix complaint

Fixed Bugs:
- Fixed minor bugs
- Fixed db_structure.sql to meet a standard setup
- Fixed some Bugs in the status section

 

Bye,

Dennis

Posted by: DP | Add comment

Aug
14
Update on the status of ProFTPd Administrator 1.4.0

Hi all dear followers of ProFTPd Administrator,

it has been a while since the first Beta of ProFTPd Administrator 1.4.0 has been released. The release was still buggy and had some not so minor glichtes. Furthermore, I didn?t had as much time to work on the project as I liked. But the development has picked up some momentum again and I finished the installer and upgrade script, fixed a bug in the userinterface and did some minor clean ups. The only two task which are open for the relase of 1.4.0 are:

Therefore, I am confident to say that an RC will be published in the next 7 to 14 days!

Bye,

Dennis

Posted by: DP | Add comment

Jan
28
Further Development of ProFTPd Administrator

Today I wan to explain what my plan is regarding the development of ProFTPd Administrator. First of all, I need to tell you that the development of ProFTPd Administrator 1.4 is a little bit of slow cause I am currently moving and will start a new job in a couple of weeks. But I've used this time to plan the release of version 1.4 and what the plan is after version 1.4. So let's start with 1.4. A beta version has been released before Christmas but I want to add some more features, before releasing it. These features and improvements are:

This is it. As soon as this is done, I'll release an RC. The biggest part is writing the installer, the rest is a piece of cake.

So where is ProFTPd Administrator going after version 1.4 is going to be released? To tell you the truth, the main part of the source code was written 5 years ago, in a time where ORM and web frameworks were not all that popular. The current version does not use one of these techniques. Therefore, I don't think that putting a lot more development time into the current basis will lead anywhere. So I'll start a complete rewrite of (Pro)FTPd Administrator after version 1.4. The rewrite will focus mainly on two aspects. First of all, I'll use a web framework (supporting MVC pattern) and possibly some kind of ORM (object-relational mapping) to have a modular basis which allows fast and easy integrator of new features. The second aspect is to not only support ProFTPd, but more ftp servers which support storing the user-accounts in a database. That's why the "Pro" part of the name is set in brackets. It'll be called FTPd Administrator 2 from that point on. Parallel to developing version 1.4 I already evaluate web frameworks and ORM libs and designing the new concept.

FTPd Administrator 2 will take some time. After the design / concept is finalized I will implement all features of version 1.4 and after that is done, I'll add support for pure-ftpd (etc.). As soon as this is done, the first stable release of FTPd Administrator 2 will hit the download page. But it will take some time.

All the users of version 1.* don't need to worry, I'll add an easy way to upgrade to V 2.

Bye,

Dennis

Posted by: DP | Add comment

Dec
26
Reuploaded ProFTPd Administrator 1.4.0 Beta

The zip file uploaded on the proftpd administrator project page for the 1.4.0 beta release was corrupt, it couldn't be unzipped. I just uploaded a new archive which works. This error was caused by indefero because the export function of indefero produces corrupt zip files (on my server). I'll look into this problem during the next couple of days.

Bye

Dennis

Posted by: DP | 1 Comment

Dec
23
ProFTPd Administrator 1.4.0 Beta

Hi,

during December I’ve added some new features to proftpd administrator. This will result in a new version (1.4.0) of proftpd administrator. The new features are:

Additional changes:

I would like to encourage anyone to test this Beta. But DO NOT use it in a production system. Wait for a stable release! If you find any bug, please report them using the issue system. All the needed documentation for install / Updating and bug reporting can be found here. You can download the beta here.

Dennis

Posted by: DP | 1 Comment

Dec
05
Batland's Code: Proftpd Administrator

Hello everyone,

today I've finished the installation of indefero, a project management system, which I'll use for the further development of ProFTPd Administrator and all my other projects. Currently, Version 1.3.0 has been added to the git repository. You can take a look a the project and the source code here.
If you've got any suggests for ProFTPd Administrator or you've found any bugs, please use the issue system so that I can easily track and reply to them instead of using this blog's comment system. I hope that the development will gain some moment ;)

Bye, Dennis

Posted by: DP | Add comment

Jul
02
ProFTPd Administrator 1.3

This article is outdated, please go to the new home of proftpd administrator.

 

Hello,

during the last couple of weeks I spent some of my time to enhance proftpd Administrator. This is a web frontend to manage ftp accounts and the proftpd server. The project’s last release dates back to 2006, but the latest Version (1.2) has a lot of nice features. Therefore, I fixed some bugs and added a lot of new features to it and removed some others. If you find any bugs or need help, just contact me via info(q)batland(d)de where (q) stands for @ and (d) for a dot. So far, this is the only documentation. But, I’ll add some more during the next couple of weeks if needed.
This Version has been tested with FreeBSD 7.3, Ubuntu 10.04 and SLES 10.0, but it should work on any other *nix and Windows, too, as long as mysql, proftpd, php and apache can be installed.
You’ll find all the needed information in the following paragraphs. The changelog is incomplete. I’ve applied many minor changes so that I just wrote down the important changes.

New Features:

Removed Features:

Bug Fixes:

Download

You can download the ProFTPd Administrator here.


Install Instructions:


Upgrading Instructions:


General Instructions:

Management of administrators via scripts:

createAdmin.pl A "createuser" unix like script. It takes no argument. All needed information will re requested interactively by the script.
enableAdmin.pl First argument is the name of the administrator which shall be activated because the account is deactivated after 10 failed login attempts.
deleteAdmin.pl Deletes a administrator. The scripts takes no argument. All needed information will re requested interactively by the script.
upDateAdminPwd.pl Changes the password of an administrator. The scripts takes no argument. All needed information will re requested interactively by the script.

 

Instructions for use import:

The cvs file needs to have the following format regarding the columns:

  1. Username
  2. Password
  3. Groupename
  4. Is deactivated (=1) or is active (=0)
  5. Expiration date. Set to 0 if the account does not expire. Otherwise use the following format: YYYY-MM-DD HH:MM:SS
  6. Real name of the user
  7. Address
  8. Notes

Note: The groups of the users need to exist otherwise the import will fail.

 

A few Screenshots:

overview

(After successful login)

createUser

(create user)

groups

(overview of all groups)

userreport

(report when the user is created)

QuotaOverviewUser

(the overview about the used quota for a standard ftp user)

Bye, Dennis

Posted by: DP | 13 Comments

May
30
Patch for proftpd: New Option for CreateHome to specify a UID

Hi,

I just added a patch for proftpd to extend the functionality of the CreateHome directive. My problem was that the home directory should not be created with the owner being the ftp user, because this can lead to several problems in some deployment scenarios. Basically it boils down to this: Several
users share the same home directory and they shall be able to read each
others files, but a user shall only be able able to delete it's own
files. Currently the owner of the directory can delete all files, even though the sticky bit is set, because the
user who first logs on will own the directory and, therefore, be able to
delete all files, regarding of the files' permissions.
Therefore, I needed a way to automatically create the home directory while being able to specify the owner.

So I added a new option to the CreateHome directive. The option is called homeuid and can be used as follows:

CreateHome on homeuid UID
So when the home directory is created the owner of the directory is set to UID. This option can be used with all the other officially supported options. For example,  assume the directory /ftp already exists and the home directory of the new user is set to /ftp/foobar/new, the following directive:
CreateHome on mode 755 uid 150 gid ~ homeuid 10000
will result in creating the following directories:
  • /ftp/foobar being owned by UID 150 and GID being the new user's group.
  • /ftp/foobar/new is owned by UID 10000 and GID of the new user's group.

The patch for mod_auth.c and mkhome.c can be found here. I'll submit this to the official proftpd project during the next couple of days. I'll inform you if the patch is accepted or not.

Bye,
Dennis

Posted by: DP | 1 Comment

« | »
Impressum | RSS | Powered by NucleusCMS | Ported by VinhBoy | Designed by DemusDesign