Configuring FTP Server
Before you start the NetWare FTP Server software, you should configure it by setting the configuration parameters in the configuration file. The default configuration file is SYS:/ETC/FTPSERV.CFG. The parameters in this configuration fils are commented with their default values.
When the NetWare FTP Server is started, the IP address of the host (HOST_IP_ADDR) and the port number of the NetWare FTP Server (FTP_PORT), as defined in the configuration file, are used to bind to and listen for FTP client connection requests. If these parameters are not defined in the configuration file, the FTP Server binds to all configured network interfaces and the standard FTP ports.
Multiple instances of the NetWare FTP Server can run on a single machine with different IP addresses, or port numbers. The various parameters in the configuration file along with the default values are described in the following tables:
Table 1. Multiple Instances Parameters
HOST_IP_ADDR |
IP address of the host |
The IP address of the host that the FTP Server software is being loaded on |
FTP_PORT |
21 (Standard FTP port) |
The port number that the FTP server should bind to and listen for connection requests from |
Table 2. FTP Session Parameters
MAX_FTP_SESSIONS |
30 |
Maximum number of FTP sessions that can be active at any point of time. Minimum value is 1 |
IDLE_SESSION_TIMEOUT |
600 (seconds) |
Duration in seconds that any session can remain idle. The session will never time out if the value is set as negative. |
Table 3. Anonymous User Access Parameters
ANONYMOUS_ACCESS |
No |
Specifies whether anonymous user access is allowed. Valid values are Yes and No. |
ANONYMOUS_HOME |
SYS:/PUBLIC |
The Anonymous user's home directory. |
ANONYMOUS_PASSWORD_REQUIRED |
Yes |
Specifies whether to ask for an Email ID as the password for Anonymous user to log in. Valid values are Yes and No. |
Table 4. Access Restrictions Parameters
RESTRICT_FILE |
SYS:/ETC/FTPREST.TXT |
FTP Server can define access restrictions to various levels of users, hosts, etc. These restrictions are defined in a file, which can be specified here. |
Table 5. Login Parameters
DEFAULT_USER_HOME-SERVER |
Server where FTP is running |
The name of the server that the default home directory is on. |
DEFAULT_USER_HOME |
SYS:\PUBLIC |
The default home directory of the user. |
IGNORE_REMOTE_HOME |
No |
Specifies whether to ignore the home directory, if it is on a remote server, and go to the default directory. Valid values are Yes and No. |
IGNORE_HOME_DIR |
No |
Specifies whether to ignore the home directory and go to the default directory. Valid values are Yes and No. |
SEARCH_LIST |
|
A list of fully distinguished names of containers in which FTP users are be looked for, separated by commas. The length of this string including the commas should not exceed 2048 bytes. You can specify a maximum of 25 containers. |
Table 6. Intruder Detection Parameters
DEFAULT_NS |
Long |
The default name space. The valid values are DOS and LONG. |
INTRUDER_HOST_ ATTEMPTS |
20 |
The number of unsuccessful log in attempts for intruder host detection. When set to 0, intruder host login detection is disabled. |
INTRUDER_USER_ATTEMPTS |
5 |
The number of unsuccessful log in attempts for intruder host detection. When set to 0, intruder host login detection is disabled. |
HOST_RESET_TIME |
10 |
Time interval in minutes during which the intruder host is not allowed to log in. |
USER_RESET_TIME |
5 |
Time interval in minutes during which the intruder user is not allowed to log in. |
Table 7. Firewall Support Parameters
PASSIVE_PORT_MIN |
1 |
Minimum port number used for establishing passive data connection. The port value range is 1 to 65534. The minimum value should always be less than or equal to the maximum value. |
PASSIVE_PORT_MAX |
65534 |
Maximum port number used for establishing passive data connection. The port value range = 1 to 65534. The maximum value should always be greater than or equal to the minimum value. |
Table 8. Welcome Banner and Message Files Parameters
WELCOME_BANNER |
SYS:/ETC/WELCOME.TXT |
When the FTP client establishes a connection, the content of this file is displayed. |
MESSAGE_FILE |
MESSAGE.TXT |
When the user changes the directory, the contents of this file are displayed. For this, the file with that name should exist in the directory. |
Table 9. FTP Logs Parameters
FTP_LOG_DIR |
SYS:/ETC |
The directory where log files will be stored. |
NUM_LOG_MSG |
3200 |
Maximum number of messages that will be logged in each log file. |
LOG_LEVEL |
7 |
Indicates the level of messages logged. These are: 1= ERROR 2= WARNING 4= INFORMATION The following combinations can be given. 3= ERROR, WARNING 5=ERROR, INFORMATION 6= INFORMATION, WARNING 7=ERROR, WARNING, and INFORMATION |
FTPD_LOG |
FTPD |
FTPD.LOG file is automatically created. This file contains all the internal system related information encountered by the FTP server. |
AUDIT_LOG |
FTPAUDIT |
FTPAUDIT.LOG file is automatically created. This file contains details about the login activities of the user |
INTRUDER_LOG |
FTPINTR |
FTPINTR.LOG file is automatically created. This file contains information about unsuccessful login attempts |
STAT_LOG |
FTPSTAT |
FTPSTAT.LOG file is automatically created. This file contains details about all active sessions. |
Previous | Next