Gentoo Wiki ArchivesGentoo Wiki

Ftp

This article is a Stub. You can help Gentoo-Wiki by expanding it.


Contents

Definition

FTP stands for File Transfer Protocol.

FTP server usually stock number of file available to user from a remote connection. They might allow uploading of files.

Active FTP

Passive FTP

Passive FTP (or PASV) does not use port 20, communications between server and client occur to/from port 21 of the server and the data is transmitted to/from port >1023.

FTP Clients

Must-have:

Others:

FTP Servers

See Category:FTPD.

IPTables

A decent Iptables configuration on the client side:

File: Iptables.conf
 # FTP
 -A INPUT        -p tcp  --sport 21      -m state --state ESTABLISHED            -j ACCEPT
 -A OUTPUT       -p tcp  --dport 21      -m state --state NEW,ESTABLISHED        -j ACCEPT
 # active
 -A INPUT        -p tcp  --sport 20 --dport 1024: -m state --state ESTABLISHED,RELATED           -j ACCEPT
 -A OUTPUT       -p tcp  --dport 20 --sport 1024: -m state --state ESTABLISHED                   -j ACCEPT
 # passive
 -A INPUT        -p tcp  --sport 1024: --dport 1024: -m state --state ESTABLISHED                -j ACCEPT
 -A OUTPUT       -p tcp  --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED        -j ACCEPT 
{{{2}}}

Links

Active FTP vs. Passive FTP, a Definitive Explanation

Retrieved from "http://www.gentoo-wiki.info/Ftp"

Last modified: Fri, 25 Apr 2008 08:46:00 +1000 Hits: 8,250

Created by NickStallman.net, Luxury Homes Australia
Real estate agents should list their apartments, townhouses and units in Australia.