www.kdev.it - ProFTPd: http://www.proftpd.org - ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz



Similar documents
How to renew S&S Video Italian version IBM Corporation

Come utilizzare il servizio di audioconferenza

Nuovi domini di primo livello - Registra nuove estensioni con FabsWeb_HOST

Corso: Supporting and Troubleshooting Windows 10 Codice PCSNET: MW10-3 Cod. Vendor: Durata: 5

UML modeling of Web Applications: Project part of the Master in Web Technology V Henry Muccini University of L Aquila 2008

22/11/ :08:30 Pag. 1/10

Linux Networking: network services

User Manual ZMONITOR. Tool for managing parametric controllers

DIRECTORS AND OFFICERS PROPOSTA DI POLIZZA

vsftpd - An Introduction to the Very Secure FTP Daemon

Archive Server for MDaemon disaster recovery & database migration

Source code security testing

IBM System Storage DS3400 Simple SAN Ready Express

IBM System Storage DS3400 Simple SAN

ROS Robot Operating System. Sistemi RealTime Prof. Davide Brugali Università degli Studi di Bergamo

Web Services in Eclipse. Sistemi Informativi Aziendali A.A. 2012/2013

How To Read Investire In Borsa Con I Trend Pdf

Building Website with Drupal 7

IBM System Storage DS3400 Simple SAN Express Kit PN U

Banners Broker è una. Compagnia di pubblicità online

Monitoring a Linux Mail Server

Chi sono in quattro punti.

Professional FTP Daemon FAQ

Corso: Configuring and Administering Windows 7 Codice PCSNET: MSW7-8 Cod. Vendor: Durata: 5

Importante: solo a puro titolo esemplificativo

DTI / Titolo principale della presentazione IPHONE ENCRYPTION. Litiano Piccin. 11 ottobre 2014

CBC (EUROPE) Srl NOTA APPLICATIVA

Locking Down Mac OS X

ipratico POS Quick Start Guide v. 1.0

USERS MANUAL IN.TRA.NET PROJECT

Exercise 2 Dialogue(Dialogo)

Tecnologie e Protocolli per Internet 1 Introduzione al NAT Network Address Translation

Dott. Ruggero Giorgianni. Gruppo Pre-intermediate. Il Futuro

Databases and SQL. Homework. Matthias Danner. June 11, Matthias Danner Databases and SQL June 11, / 16

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

CERT-In Indian Computer Emergency Response Team Handling Computer Security Incidents

SEAGATE BUSINESS NAS ACCESSING THE SHELL. February 1, 2014 by Jeroen Diel IT Nerdbox

Misurazione performance. Processing time. Performance. Throughput. Francesco Marchioni Mastertheboss.com Javaday IV Roma 30 gennaio 2010

Table of Contents. Proftpd. Proftpd...1 A User's Guide...1 Mark Lowes...1. Dedication...2

Get Instant Access to ebook Pop3 Server PDF at Our Huge Library POP3 SERVER PDF. ==> Download: POP3 SERVER PDF

public class neurale extends JFrame implements NeuralNetListener {

6 Present perfect simple e continuous (25-27, 30-31)

Corso: Core Solutions of Microsoft Skype for Business 2015 Codice PCSNET: MSKY-5 Cod. Vendor: Durata: 5

The Art of Exploiting Logical Flaws in Web Apps. Sumit sid Siddharth Richard deanx Dean

Web Hosting Control Panel Guide

APM for European top Customers

IBM Bluemix, the digital innovation platform

Incremental Backup Script. Jason Healy, Director of Networks and Systems

Our analysis of the results of the experiment did not provide an explanation of its failure, because our data collection lacked the precision needed.

C.S.E. Nodi Tipici Parametrizzati al /04/2015 Copyright (c) Castalia srl

How to gain direct access to SQL Server at Garching via SSH

Centova Cast. Reseller Usage Guide. Published May 04, 2015 Copyright 2015, Centova Technologies Inc. Centova Technologies Inc.

LOCAL ADVERTISING BOOK 2015

Phase Documentation. Release 0.1. ChangeToMyName

AWS Schema Conversion Tool. User Guide Version 1.0

How To Test An Electronic Board With A Flying Probe Tester

Cisco di Torino

Homework 5b: Homework 5b: Samba

expanded metal on stock lamiera stirata in stock

Passare a Sql Server Compact : come leggere dati da Mdb, Xls, Xml, Dbf, Csv, senza utilizzare Microsoft Jet Database Engine 4.0

Network Activation Key Installation Guide. Unilab COILS 7.x. Network Activation Key Installation Guide

Percorso Mcsa Managing and Mainting Windows 8

A Tutorial on Configuring and Deploying GridFTP for Managing Data Movement in Grid/HPC Environments

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L


SQL Server Setup for Assistant/Pro applications Compliance Information Systems

How To Lock A File In A Microsoft Microsoft System

Organization Requested Amount ( ) Leading Organization Partner 1*

Shellshock Security Patch for X86

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

ROS Robot Operating System. Robotica Prof. Davide Brugali Università degli Studi di Bergamo

APC-Pro sa Computer Service

Lesson 4 (A1/A2) Present simple forma interrogativa e negativa FORMA. + infinito senza to. Does he / she / it. No, I / you / we / they don t.

TabCaratteri=" abcdefghijklmnopqrstuvwxyz._~ABCDEFGHIJKLMNOPQRSTUVWXYZ";

Refurbishment Rifacimenti Porte

The New Luxury World: l identità digitale nel lusso fa la differenza

OS Installation Guide Red Hat Linux 9.0

Syslog & xinetd. Stephen Pilon

ProCall 4+ Enterprise

Procedure to Create and Duplicate Master LiveUSB Stick

Using Internet or Windows Explorer to Upload Your Site

Server Account Management

TDD da un capo all altro. Matteo Vaccari (cc) Alcuni diritti riservati

APC-Pro sa Computer Service

Noi con Voi. I webinar per gli insegnanti della scuola primaria

n N e E 0 m A R sr S l /01

com. Kerio MailServer 6.4 Mobile groupware. In ufficio. Fuori ufficio. A casa.

Organization Requested Amount ( ) Leading Organization Partner 1*

!"# $ %& '( ! %& $ ' &)* + ! * $, $ (, ( '! -,) (# *&23. mysql> select * from from clienti;

Samba and Vista with IPv6

Parallels Plesk Panel

Manuale BOOT TRICORE

Signiant Agent installation

Questionario Medico Medical Questionnaire

Scenario. Roadmap. ! The simplified architecture! The complete architecture Pre-authentication Delegation. Realms

STAMPI PER CIOCCOLATO CATALOGO STAMPI PER CIOCCOLATO CHOCOLATE MOULDS CATALOG

Introduction to the IBM Rational Software Development Platform

Tutorial: How to Use SQL Server Management Studio from Home

Corso: Microsoft Project Server 2010 Technical Boot Camp Codice PCSNET: AAAA-0 Cod. Vendor: - Durata: 5

Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4)

Transcription:

&8730; www.kdev.it ProFTPd Guida per ottenere un server ProFTPd con back-end MySQL. Guida per ottenere un server ProFTPd con back-end MySQL. Condizioni strettamente necessarie: - Mac OS X Developer Tools: http://developer.apple.com/tools/ - MySQL (suggerisco di seguire le istruzioni su www.entropy.ch) www.mysql.com - ProFTPd: http://www.proftpd.org - ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz Mac OS X Developer Tools Come prima cosa assicuratevi di avere i Developer Tools installati. (Nella root del vostro disco dovete avere una cartella Developer). Nel caso non siano presenti scaricateli http://developer.apple.com/tools/ e installateli come un normale software applicativo per X (richiesta la password di amministratore). Attenzione: i Developer tools pesano circa 200 Mb. e potrebbe essere un problema downloadarli, leggete su http://developer.apple.com/ i vari metodi per ottenere il software ad esempio su CD-ROM. Con i Developer Tools potete ora compilare i source. MySQL Seguite le istruzioni sul sito http://www.entropy.ch/software/macosx/mysql/ e installate il package pre-compilato per il vostro Mac OS X, 10.1.X o 10.2.X, esse sono disponibili in lingua italiana all'url http://www.tevac.com/entropy-ita/ ProFTPd Ora siamo pronti per compilare e configurare ProFTPd. curl -O ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz tar xzvf proftpd-1.2.9.tar.gz cd proftpd-1.2.9./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql make make install Ora che profdtpd é compilato e installato dobbiamo configurare il modulo per leggere il back-end mysql. Come prima cosa dobbiamo creare il "back-end" ovvero il database dove saranno contenute le informazioni per il login. Potete scaricare il file contenente le istruzioni SQL per creare il database da eseguire con phpmyadmin

&8730; www.kdev.it http://www.kdev.it/config/proftpd.sql.tgz Il file contiene le seguenti istruzioni: Database : `proftpd` -------------------------------------------------------- Table structure for table `ftpusers` CREATE TABLE `ftpusers` ( `loginallowed` char(1) NOT NULL default 'Y', `username` varchar(60) NOT NULL default 'NULL', `uid` int(11) unsigned default '1000', `gid` int(11) unsigned default '1000', `groupname` varchar(50) default 'ftp', `password` varchar(30) default 'NULL', `homedir` varchar(255) default '/Users/ftp/default/', `shell` varchar(15) NOT NULL default '/sbin/nologin', `count` int(11) unsigned default '0', `fretr` int(10) unsigned default '0', `bretr` int(10) unsigned default '0', `bstor` int(10) unsigned default '0', `fstor` int(10) unsigned default '0', `ftime` timestamp(14) NOT NULL, `faddr` varchar(255) default 'NULL', `fhost` varchar(255) default 'NULL', `fcdir` varchar(255) default 'NULL', PRIMARY KEY (`username`) ) TYPE=MyISAM;

&8730; www.kdev.it Ora dovete creare uno user di mysql da utilizzare per le connessioni al db back-end proftp. Sostituite lo user nel file di configurazione di proftpd in /usr/local/etc/proftpd.conf il file di configurazione di proftpd é disponibile all'indirizzo: http://www.kdev.it/config/proftpd.conf.tgz Il file di configurazione contiene le seguenti direttive: ServerName "KDEV" ServerType inetd DefaultServer on Port 21 Umask 022 MaxInstances 15 User ftp Group ftp PassivePorts 49152 49999 UseReverseDNS off IdentLookups off SQLAuthenticate on SQLUserInfo ftpusers username password NULL NULL homedir shell SQLAuthTypes Plaintext Backend SQLConnectInfo proftpd@localhost:3306 proftpd password <--- sostituisci qui le info del tuo user SQLUserWhereClause "LoginAllowed = 'Y'" SQLDefaultGID 1000 SQLDefaultUID 1000 SQLGroupInfo ftpusers groupname gid username SQLHomedirOnDemand on SQLDefaultHomedir /Users/ftp/default/cd1/ SQLDefaultHomedir homedir SQLLog PASS updatelogin SQLNamedQuery updatelogin UPDATE "count=count+1 WHERE username='%u'" ftpusers

&8730; www.kdev.it ExtendedLog /var/log/proftpd.log DefaultRoot ~ Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite off </Directory> Ora non resta che modificare alcune righe di inetd e di xinetd.d Editate con pico o vi il file /etc/xinetd.d/ftp service ftp { disable = no socket_type = stream wait = no user = root server = /usr/local/sbin/proftpd server_args = groups = yes flags = REUSE IPv6 } e rendetelo uguale a questo. Ora localizzate nel file /etc/inetd.conf modifiche al file /etc/inetd.conf Items with double hashes in front () are not yet implemented in the OS. finger stream tcp nowait nobody /usr/libexec/tcpd fingerd -s ftp stream tcp nowait root /usr/libexec/tcpd /usr/local/sbin/proftpd <---sostituisci con questa login stream tcp nowait root /usr/libexec/tcpd rlogind Ora riavviate inetd e il server FTP é pronto. riavvia inetd kdev:/etc root ps -ax grep inetd

&8730; www.kdev.it 411?? Ss 0:05.74 xinetd -inetd_compat -pidfile /var/run/xinetd.pid 13367 std S+ 0:00.02 grep inetd kdev:/etc root