712 lines
23 KiB
Mathematica
712 lines
23 KiB
Mathematica
/* 00comp_ipnet_apps.cdf - IPNet Applications configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2006-2007 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
30dec15,wjf Fix defect VXW6-83989
|
|
25Jan13,lzq Fix defect WIND00400196
|
|
06dec11,xhs Fix defect WIND00253073
|
|
19oct11,rjq Add parameter FTPC_BIND_ADDRESS
|
|
03Aug10,rjq New file for Networking Configuration VSB restructuring.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPAPPL
|
|
|
|
Folder FOLDER_TFTP {
|
|
NAME TFTP Components
|
|
SYNOPSIS TFTP Components
|
|
CHILDREN INCLUDE_IPTFTP_COMMON \
|
|
INCLUDE_IPTFTPC \
|
|
INCLUDE_IPTFTP_CLIENT_CMD \
|
|
INCLUDE_IPTFTPS \
|
|
INCLUDE_TFTP_CLIENT
|
|
_CHILDREN FOLDER_NET_L5_APPLICATIONS
|
|
}
|
|
|
|
Folder FOLDER_FTP {
|
|
NAME FTP Components
|
|
SYNOPSIS FTP Components
|
|
CHILDREN INCLUDE_FTP \
|
|
INCLUDE_FTP6 \
|
|
INCLUDE_IPFTPC \
|
|
INCLUDE_IPFTPS \
|
|
INCLUDE_IPFTP_CMD \
|
|
INCLUDE_IPFTPS_TLS
|
|
_CHILDREN FOLDER_NET_L5_APPLICATIONS
|
|
}
|
|
|
|
Component INCLUDE_IPDHCPC {
|
|
NAME DHCP Client
|
|
SYNOPSIS DHCP Client
|
|
MODULES ipdhcpc.o
|
|
CONFIGLETTES ipdhcpc_config.c ipdhcpc_example.c
|
|
REQUIRES INCLUDE_IPCOM
|
|
CFG_PARAMS DHCPC_CLIENT_PORT DHCPC_SERVER_PORT DHCPC_REQ_OPTS \
|
|
DHCPC_CLIENT_ID DHCPC_CLIENT_UUID DHCPC_RFC2131_INIT_DELAY \
|
|
DHCPC_RFC2131_EXP_BACKOFF DHCPC_DISCOVER_RETRIES \
|
|
DHCPC_OFFER_TIMEOUT DHCPC_IF_REQ_OPTS_LIST \
|
|
DHCPC_IF_CLIENT_ID_LIST \
|
|
DHCPC_INSTALL_OPTION_CALLBACK_HOOK \
|
|
DHCPC_INSTALL_REPLY_CALLBACK_HOOK \
|
|
DHCPC_OPTION_CALLBACK_HOOK DHCPC_REPLY_CALLBACK_HOOK \
|
|
DHCPC_BOOTP_MODE DHCPC_BOOT_FILENAME \
|
|
DHCPC_SERVER_HOSTNAME DHCPC_OPTION_HOSTNAME \
|
|
DHCPC_OPTION_NETMASK DHCPC_OPTION_VENDOR_CLASS_ID \
|
|
DHCPC_OPTION_IPADDRESS_LEASE_TIME \
|
|
DHCPC_OPTION_VI_VENDOR_CLASS \
|
|
DHCPC_REMOVE_EXISTING_ADDRESSES \
|
|
DHCPC_REMOVE_LEASED_ADDRESS \
|
|
DHCPC_AUTO_DISABLE \
|
|
DHCPC_TTL \
|
|
DHCPC_OPTION_MAX_MESSAGE_SIZE \
|
|
DHCPC_OPTION_USER_SPECIFIED \
|
|
DHCPC_IF_INFORMATION_ONLY_LIST \
|
|
DHCPC_FLAGS_BIT_BROADCAST
|
|
_CHILDREN FOLDER_DHCP
|
|
}
|
|
|
|
Component INCLUDE_IPDNSC {
|
|
NAME DNS Client
|
|
SYNOPSIS DNS Client
|
|
MODULES ipdnsc.o
|
|
REQUIRES INCLUDE_IPCOM
|
|
CONFIGLETTES ipdnsc_config.c
|
|
CFG_PARAMS DNSC_SERVER_PORT DNSC_TIMEOUT DNSC_RETRIES \
|
|
DNSC_DOMAIN_NAME DNSC_PRIMARY_NAME_SERVER \
|
|
DNSC_SECONDARY_NAME_SERVER DNSC_TERTIARY_NAME_SERVER \
|
|
DNSC_QUATERNARY_NAME_SERVER DNSC_IP4_ZONE \
|
|
DNSC_IP6_ZONE
|
|
_CHILDREN FOLDER_NET_L5_APPLICATIONS
|
|
}
|
|
|
|
Component INCLUDE_IPFTPC {
|
|
NAME FTP Client
|
|
SYNOPSIS FTP Client
|
|
MODULES ipftpc.o
|
|
REQUIRES INCLUDE_IPCOM
|
|
CFG_PARAMS FTPC_BIND_ADDRESS
|
|
CONFIGLETTES ipftpc_config.c
|
|
}
|
|
|
|
Component INCLUDE_IPFTPS {
|
|
NAME FTP Server
|
|
SYNOPSIS FTP Server
|
|
MODULES ipftps.o
|
|
REQUIRES INCLUDE_IPCOM
|
|
CONFIGLETTES ipftps_config.c ipftps_example.c
|
|
CFG_PARAMS FTPS_AUTH_ATTEMPTS FTPS_SLEEP_TIME FTPS_LOCAL_PORT_BASE \
|
|
FTPS_PEER_PORT_BASE FTPS_ENABLE_PROXY FTPS_MODE \
|
|
FTPS_ROOT_DIR FTPS_INITIAL_DIR FTPS_MAX_SESSIONS \
|
|
FTPS_PORT_NUM FTPS_RECV_TIMEOUT FTPS_SEND_TIMEOUT \
|
|
FTPS_INACTIVITY_TIMEOUT FTPS_SOCKET_BACKLOG FTPS_SYS_TYPE \
|
|
FTPS_AUTH_CALLBACK_HOOK FTPS_DATABUF_SIZE
|
|
}
|
|
|
|
Component INCLUDE_IPTFTP_COMMON {
|
|
NAME TFTP common configurations
|
|
SYNOPSIS TFTP common configurations
|
|
MODULES iptftp_common.o
|
|
REQUIRES INCLUDE_IPCOM
|
|
CONFIGLETTES iptftps_config.c
|
|
CFG_PARAMS TFTPS_DIRS TFTPS_RETRANSMIT_TIMEOUT TFTPS_RETRIES
|
|
}
|
|
|
|
Component INCLUDE_IPTFTPC {
|
|
NAME TFTP Client
|
|
SYNOPSIS TFTP Client
|
|
MODULES iptftpc.o
|
|
REQUIRES INCLUDE_IPCOM INCLUDE_IPTFTP_COMMON
|
|
CONFIGLETTES iptftpc_config.c
|
|
}
|
|
|
|
Component INCLUDE_IPTFTPS {
|
|
NAME TFTP Server
|
|
SYNOPSIS TFTP Server
|
|
MODULES iptftps.o
|
|
REQUIRES INCLUDE_IPCOM INCLUDE_IPTFTP_COMMON
|
|
}
|
|
|
|
#ifdef _WRS_CONFIG_IPFTP_USE_TLS
|
|
Component INCLUDE_IPFTPS_TLS {
|
|
NAME FTP Server with TLS
|
|
SYNOPSIS FTP Server with TLS
|
|
MODULES ipftps_tls.o
|
|
REQUIRES INCLUDE_IPFTPS INCLUDE_IPSSL
|
|
CFG_PARAMS FTPS_TLS FTPS_TLS_CERT_FILE FTPS_TLS_KEY_FILE FTPS_TLS_SECRECT_KEY\
|
|
ENABLE_ADVANCE_FTPS_KEY_PRIVACY
|
|
_CHILDREN FOLDER_FTP
|
|
}
|
|
#endif
|
|
|
|
/******************** Configuration Parameters *****************************/
|
|
|
|
/* INCLUDE_IPDHCPC configuration parameters */
|
|
Parameter DHCPC_CLIENT_PORT {
|
|
NAME DHCP Client Port
|
|
SYNOPSIS DHCP client port as a quoted string: e.g. "68"
|
|
TYPE char *
|
|
DEFAULT "68"
|
|
}
|
|
|
|
Parameter DHCPC_SERVER_PORT {
|
|
NAME DHCP Server Port
|
|
SYNOPSIS DHCP server port as a quoted string: e.g. "68"
|
|
TYPE char *
|
|
DEFAULT "67"
|
|
}
|
|
|
|
Parameter DHCPC_RFC2131_INIT_DELAY {
|
|
NAME RFC2131 Initialization Delay identifier
|
|
SYNOPSIS Enable(1) /disable(0) RFC2131 Initialization Delay identifier.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter DHCPC_RFC2131_EXP_BACKOFF {
|
|
NAME RFC2131 Exponential Back-off Delay
|
|
SYNOPSIS Enable(1) /disable(0) RFC2131 Exponential Back-off Delay.
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter DHCPC_DISCOVER_RETRIES {
|
|
NAME DHCP Client Retries
|
|
SYNOPSIS Number of DHCP client retries.
|
|
TYPE char *
|
|
DEFAULT "4"
|
|
}
|
|
|
|
Parameter DHCPC_OFFER_TIMEOUT {
|
|
NAME DHCP Offer Time-Out
|
|
SYNOPSIS DHCP offer time-out in milliseconds.
|
|
TYPE char *
|
|
DEFAULT "2000"
|
|
}
|
|
|
|
Parameter DHCPC_INSTALL_OPTION_CALLBACK_HOOK {
|
|
NAME Install DHCP Client Option Callback Routine
|
|
SYNOPSIS Determine if the user-defined DHCP client callback routine \
|
|
as specified by the macro DHCPC_OPTION_CALLBACK_HOOK should \
|
|
be installed. If FALSE, the DHCPC_OPTION_CALLBACK_HOOK \
|
|
configuration is not applicable.
|
|
TYPE BOOL
|
|
DEFAULT FALSE
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_CALLBACK_HOOK {
|
|
NAME Option Callback Routine
|
|
SYNOPSIS This user-defined DHCP option processing callback routine \
|
|
is called once for each option prior to IPDHCPC is acting \
|
|
on the option, i.e. this callback can be used to change \
|
|
the contents of the DHCP server reply (caution!). If not \
|
|
specified, the internal option callback routine will be \
|
|
used. The DHCPC_INSTALL_OPTION_CALLBACK_HOOK must also be set to \
|
|
TRUE in order to install this callback routine.
|
|
TYPE FUNCPTR
|
|
DEFAULT ipdhcpc_option_default_callback
|
|
}
|
|
|
|
Parameter DHCPC_INSTALL_REPLY_CALLBACK_HOOK {
|
|
NAME Install DHCP Client Reply Callback Routine
|
|
SYNOPSIS Determine if the user-defined DHCP client callback routine \
|
|
as specified by the macro DHCPC_REPLY_CALLBACK_HOOK should \
|
|
be installed. If FALSE, the DHCPC_REPLY_CALLBACK_HOOK \
|
|
configuration is not applicable.
|
|
TYPE BOOL
|
|
DEFAULT FALSE
|
|
}
|
|
|
|
Parameter DHCPC_REPLY_CALLBACK_HOOK {
|
|
NAME Reply Callback Routine
|
|
SYNOPSIS This callback can be used to change the contents of the DHCP \
|
|
server reply (caution!). If not specified, the internal reply \
|
|
callback routine will be used. The DHCPC_INSTALL_REPLY_CALLBACK_HOOK \
|
|
must also be set to TRUE in order to install this callback \
|
|
routine.
|
|
TYPE FUNCPTR
|
|
DEFAULT ipdhcpc_reply_default_callback
|
|
}
|
|
|
|
Parameter DHCPC_BOOTP_MODE {
|
|
NAME BOOTP Mode
|
|
SYNOPSIS Operate as a BOOTP client only. \
|
|
That is, do not append a DHCP "message type" \
|
|
option to requests. "1" to enable, "0" to disable
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter DHCPC_BOOT_FILENAME {
|
|
NAME DHCP Boot Filename
|
|
SYNOPSIS Specify an optional filename to use in dhcp/bootp requests.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_SERVER_HOSTNAME {
|
|
NAME DHCP Server Hostname
|
|
SYNOPSIS Specify an optional server hostname to use in dhcp/bootp requests.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_IF_REQ_OPTS_LIST {
|
|
NAME Interface Specific Option: Parameter Request List (55)
|
|
SYNOPSIS An interface name followed by comma separated list of DHCP \
|
|
options numbers that the DHCP client wants the server to \
|
|
provide in the format <ifparam>=<opts>. Each pair of \
|
|
<ifparam>=<opts> is semicolon separated, e.g. \
|
|
"eth0=1,2,3,4;eth1=2,3,4,5".
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_IF_CLIENT_ID_LIST {
|
|
NAME Interface Specific Option: Client Identifier (61)
|
|
SYNOPSIS A string of characters that the DHCP client wants the server \
|
|
to identify it by in the format <ifparam>=<id>. Each pair of \
|
|
<ifparam>=<id> is semicolon separated, e.g. \
|
|
"eth0=my_red_computer_eth0" or \
|
|
"eth0=my_red_computer_eth0;eth1=my_blue_computer_eth1".
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_REQ_OPTS {
|
|
NAME Global Option: Parameter Request List (55)
|
|
SYNOPSIS A comma separated list of DHCP options numbers that the \
|
|
DHCP client wants the server to provide, e.g. "1,2,3,4"
|
|
TYPE char *
|
|
DEFAULT NULL
|
|
}
|
|
|
|
Parameter DHCPC_CLIENT_ID {
|
|
NAME Global Option: Client Identifier (61)
|
|
SYNOPSIS A string of characters that the DHCP client wants the server \
|
|
to identify it by, e.g. "my_red_computer". If DHCPC_CLIENT_UUID \
|
|
is set "true", it should be defined like "4c:5f:00:ff"
|
|
TYPE char *
|
|
DEFAULT NULL
|
|
}
|
|
|
|
Parameter DHCPC_CLIENT_UUID {
|
|
NAME Global Option: Client Identifier type
|
|
SYNOPSIS Determine if DHCP client identifier type is uuid \
|
|
If "false", DHCPC_CLIENT_ID parameter should be treated as string \
|
|
If "true", DHCPC_CLIENT_ID parameter should be treated as char array.
|
|
TYPE char *
|
|
DEFAULT "false"
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_HOSTNAME {
|
|
NAME Global Option: Hostname (12)
|
|
SYNOPSIS Defines the hostname option to use in requests.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_NETMASK {
|
|
NAME Global Option: Netmask (1)
|
|
SYNOPSIS Defines the subnet mask option to use in requests.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_IPADDRESS_LEASE_TIME {
|
|
NAME IP address lease time
|
|
SYNOPSIS This option is used in a client request to allow the client to request \
|
|
a lease time for the IP address. 0 value means no lease time is specified. \
|
|
The time is in units of seconds.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_VENDOR_CLASS_ID {
|
|
NAME Global Option: Vendor Class ID (60)
|
|
SYNOPSIS Defines the vendor class id option.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_VI_VENDOR_CLASS {
|
|
NAME Global Option: Vendor Identifying Vendor Class (124)
|
|
SYNOPSIS Defines the vendor identifying vendor class option. \
|
|
Expected format: enterprise_number1=data1;enterprise_number2=data2;... \
|
|
All data fields should be specified in network byte order
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_MAX_MESSAGE_SIZE {
|
|
NAME Global Option: Maximum DHCP Message Size (57)
|
|
SYNOPSIS Maximum message size this client is prepared to accept. Must be \
|
|
at least 576 as per RFC 2131.
|
|
TYPE char *
|
|
DEFAULT "576"
|
|
}
|
|
|
|
Parameter DHCPC_OPTION_USER_SPECIFIED {
|
|
NAME Global Option: User Specified List
|
|
SYNOPSIS Defines a list of options and associated data not supported \
|
|
explicitly by other option configuration parameters. \
|
|
Expected format: <option>=<option_data>. \
|
|
Each pair of <option_number>=<option_data> is semicolon separated. \
|
|
In addition, <option_data> must be specified in hex with network byte order. \
|
|
e.g. "3=C0A80101;4=C0A80102" specifies a router option (3) with address \
|
|
at 192.168.1.1 and a time server option (4) with address at \
|
|
192.168.1.2.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_REMOVE_EXISTING_ADDRESSES {
|
|
NAME Remove Existing Addresses Before Negotiation
|
|
SYNOPSIS Remove all unicast addresses from the interface before \
|
|
negotiation begins. "1" to remove, "0" to retain
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter DHCPC_REMOVE_LEASED_ADDRESS {
|
|
NAME Remove Leased Address After Expiration
|
|
SYNOPSIS Remove any leased address from the interface if \
|
|
the lease expires or DHCP is manually disabled. \
|
|
"1" to remove, "0" to retain
|
|
TYPE char *
|
|
DEFAULT "1"
|
|
}
|
|
|
|
Parameter DHCPC_AUTO_DISABLE {
|
|
NAME DHCP Auto Disable
|
|
SYNOPSIS Disable DHCP on the specified interface if another address \
|
|
is subsequently added via manual configuration. \
|
|
"1" to turn on, "0" to turn off
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter DHCPC_TTL {
|
|
NAME DHCP TTL
|
|
SYNOPSIS Set Time To Live for DHCP packets. May be increased \
|
|
to interoperate with certain relay agents.
|
|
TYPE char *
|
|
DEFAULT "128"
|
|
}
|
|
|
|
Parameter DHCPC_IF_INFORMATION_ONLY_LIST {
|
|
NAME DHCP information only interface
|
|
SYNOPSIS Set interface that only receives information.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DHCPC_FLAGS_BIT_BROADCAST {
|
|
NAME DHCP Flag Field broadcast bit
|
|
SYNOPSIS Set the value of broadcast bit.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
/* INCLUDE_IPDNSC configuration parameters */
|
|
Parameter DNSC_SERVER_PORT {
|
|
NAME DNS server listening port
|
|
SYNOPSIS Specifies the port used by IPDNSC for DNS queries, e.g. "53"
|
|
TYPE char *
|
|
DEFAULT "53"
|
|
}
|
|
|
|
Parameter DNSC_TIMEOUT {
|
|
NAME Timeout in seconds when waiting for responses to DNS queries
|
|
SYNOPSIS Defines the number of seconds before a retry if the DNS \
|
|
server fails to answer, e.g. "10"
|
|
TYPE char *
|
|
DEFAULT "10"
|
|
}
|
|
|
|
Parameter DNSC_RETRIES {
|
|
NAME Number of retries for DNS queries
|
|
SYNOPSIS Defines the number of retries on each name server, e.g. "2"
|
|
TYPE char *
|
|
DEFAULT "2"
|
|
}
|
|
|
|
Parameter DNSC_DOMAIN_NAME {
|
|
NAME DNS domain name
|
|
SYNOPSIS Defines the domain where the local host is located. \
|
|
If this system variable is not defined, no local domain \
|
|
is used and the user must provide fully qualified domain \
|
|
names in address lookups for hosts in the same domain as \
|
|
the local host.
|
|
TYPE char *
|
|
DEFAULT "windriver.com"
|
|
}
|
|
|
|
Parameter DNSC_PRIMARY_NAME_SERVER {
|
|
NAME DNS primary name server
|
|
SYNOPSIS Defines the address to the primary name server. If this \
|
|
system variable is not defined no primary name server is used.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DNSC_SECONDARY_NAME_SERVER {
|
|
NAME DNS secondary name server
|
|
SYNOPSIS Defines the address to the secondary name server. If this \
|
|
system variable is not defined no secondary name server is used.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DNSC_TERTIARY_NAME_SERVER {
|
|
NAME DNS tertiary name server
|
|
SYNOPSIS Defines the address to the tertiary name server. If this \
|
|
system variable is not defined no tertiary name server is used.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DNSC_QUATERNARY_NAME_SERVER {
|
|
NAME DNS quaternary name server
|
|
SYNOPSIS Defines the address to the quaternary name server. If this \
|
|
system variable is not defined no quaternary name server is used.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter DNSC_IP4_ZONE {
|
|
NAME Zone for IPv4 address to name lookups
|
|
SYNOPSIS Defines the zone to use for address to name lookups of IPv4 \
|
|
addresses.
|
|
TYPE char *
|
|
DEFAULT "in-addr.arpa"
|
|
}
|
|
|
|
Parameter DNSC_IP6_ZONE {
|
|
NAME Zone for IPv6 address to name lookups
|
|
SYNOPSIS Defines the zone to use for address to name lookups of IPv6 \
|
|
addresses. Set to "ip6.int" to support RFC1886 or to \
|
|
"ip6.arpa" to support RC3152.
|
|
TYPE char *
|
|
DEFAULT "ip6.int"
|
|
}
|
|
|
|
/* INCLUDE_IPFTPC configuration parameters */
|
|
Parameter FTPC_BIND_ADDRESS {
|
|
NAME FTP client bind address
|
|
SYNOPSIS Specify the bind address of FTP client.
|
|
TYPE char *
|
|
DEFAULT NULL
|
|
}
|
|
|
|
/* INCLUDE_IPFTPS configuration parameters */
|
|
Parameter FTPS_AUTH_ATTEMPTS {
|
|
NAME Authentication attempts before disconnect
|
|
SYNOPSIS The number of authentication attempts that are allowed \
|
|
before the server disconnects.
|
|
TYPE char *
|
|
DEFAULT "3"
|
|
}
|
|
|
|
Parameter FTPS_SLEEP_TIME {
|
|
NAME Time to sleep after authentication fail
|
|
SYNOPSIS Defines how many seconds the server will sleep before \
|
|
replying to an unsuccessful authentication.
|
|
TYPE char *
|
|
DEFAULT "5"
|
|
}
|
|
|
|
Parameter FTPS_LOCAL_PORT_BASE {
|
|
NAME Local port base number
|
|
SYNOPSIS Local port base which defines the port range the server \
|
|
uses for the data connection. A value of 0 instructs the \
|
|
server to use port 20.
|
|
TYPE char *
|
|
DEFAULT "49151"
|
|
}
|
|
|
|
Parameter FTPS_PEER_PORT_BASE {
|
|
NAME Peer port base number
|
|
SYNOPSIS Peer port base defines the port range that the client is \
|
|
allowed to use when setting up the data connection.
|
|
TYPE char *
|
|
DEFAULT "1023"
|
|
}
|
|
|
|
Parameter FTPS_ENABLE_PROXY {
|
|
NAME Enable proxy FTP support
|
|
SYNOPSIS Specifies whether to enable proxy FTP support.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter FTPS_MODE {
|
|
NAME Read/write mode
|
|
SYNOPSIS Read-only mode disables write access to the file system, \
|
|
which means that only read commands will be accepted. \
|
|
Default value is 0, which means read/write access.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter FTPS_ROOT_DIR {
|
|
NAME FTP root directory
|
|
SYNOPSIS Defines the topmost directory that the client can see.
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter FTPS_INITIAL_DIR {
|
|
NAME FTP initial directory
|
|
SYNOPSIS Defines the initial directory for an FTP session.
|
|
TYPE char *
|
|
DEFAULT IPCOM_FILE_ROOT
|
|
}
|
|
|
|
Parameter FTPS_MAX_SESSIONS {
|
|
NAME Max number of simultaneous sessions
|
|
SYNOPSIS Maximum number of simultaneous FTP sessions.
|
|
TYPE char *
|
|
DEFAULT "8"
|
|
}
|
|
|
|
Parameter FTPS_PORT_NUM {
|
|
NAME Server port number
|
|
SYNOPSIS Server port number.
|
|
TYPE char *
|
|
DEFAULT "21"
|
|
}
|
|
|
|
Parameter FTPS_RECV_TIMEOUT {
|
|
NAME Data receive timeout
|
|
SYNOPSIS Timeout in seconds when receiving data from the client.
|
|
TYPE char *
|
|
DEFAULT "30"
|
|
}
|
|
|
|
Parameter FTPS_SEND_TIMEOUT {
|
|
NAME Data send timeout
|
|
SYNOPSIS Timeout in seconds when sending data to the client.
|
|
TYPE char *
|
|
DEFAULT "30"
|
|
}
|
|
|
|
Parameter FTPS_INACTIVITY_TIMEOUT {
|
|
NAME User inactivity timeout
|
|
SYNOPSIS Timeout in seconds when waiting for a command from the client.
|
|
TYPE char *
|
|
DEFAULT "300"
|
|
}
|
|
|
|
Parameter FTPS_SOCKET_BACKLOG {
|
|
NAME Control socket backlog queue
|
|
SYNOPSIS Determines the backlog queue length of FTP server control socket. \
|
|
The default value is 0.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter FTPS_SYS_TYPE {
|
|
NAME Reported system type
|
|
SYNOPSIS Operating system name.
|
|
TYPE char *
|
|
DEFAULT "UNIX"
|
|
}
|
|
|
|
Parameter FTPS_AUTH_CALLBACK_HOOK {
|
|
NAME Authentication callback routine
|
|
SYNOPSIS User-defined authentication callback routine used by FTP \
|
|
server. If not specified, internal authentication callback \
|
|
routine ipftps_authenticate_default_callback will be used.
|
|
TYPE FUNCPTR
|
|
DEFAULT ipftps_authenticate_default_callback
|
|
}
|
|
|
|
Parameter FTPS_DATABUF_SIZE {
|
|
NAME Data transfer buffer size
|
|
SYNOPSIS Data transfer buffer size used in each FTP session
|
|
TYPE char *
|
|
DEFAULT "4096"
|
|
}
|
|
|
|
/* INCLUDE_IPTFTPS configuration parameters */
|
|
Parameter TFTPS_DIRS {
|
|
NAME TFTP server working directory
|
|
SYNOPSIS Specifies tftp server working directory.
|
|
TYPE char *
|
|
DEFAULT IPCOM_FILE_ROOT "tftpdir"
|
|
}
|
|
|
|
Parameter TFTPS_RETRANSMIT_TIMEOUT {
|
|
NAME TFTP retransmit timeout in seconds
|
|
SYNOPSIS Specifies the time until the first retry is sent. Further \
|
|
retries use an exponential back-off algorithm.
|
|
TYPE char *
|
|
DEFAULT "5"
|
|
}
|
|
|
|
Parameter TFTPS_RETRIES {
|
|
NAME TFTP number of retries
|
|
SYNOPSIS Specifies the number of times a tftp message will be \
|
|
retried if an acknowledgment is not received from the peer.
|
|
TYPE char *
|
|
DEFAULT "2"
|
|
}
|
|
|
|
#ifdef _WRS_CONFIG_IPFTP_USE_TLS
|
|
|
|
Parameter ENABLE_ADVANCE_FTPS_KEY_PRIVACY {
|
|
NAME Enable Advance option for FTPS Key Privacy
|
|
SYNOPSIS If "1", private key will be saved to KEY DB. This will \
|
|
protect the private key can't be access by others.\
|
|
If "0", Private key won't be saved to KEY DB.\
|
|
If want to use KEY DB, need include INCLUDE_IPCOM_USE_RAM_DISK.
|
|
REQUIRES INCLUDE_IPCOM_USE_KEY_DB
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter FTPS_TLS_KEY_FILE {
|
|
NAME TLS key file
|
|
SYNOPSIS
|
|
REQUIRES INCLUDE_IPSSL
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter FTPS_TLS_CERT_FILE {
|
|
NAME TLS certificate file
|
|
SYNOPSIS
|
|
REQUIRES INCLUDE_IPSSL
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter FTPS_TLS {
|
|
NAME Enable FTP server with TLS
|
|
SYNOPSIS
|
|
REQUIRES INCLUDE_IPSSL
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter FTPS_TLS_SECRECT_KEY {
|
|
NAME TLS secret key
|
|
SYNOPSIS
|
|
REQUIRES INCLUDE_IPSSL
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
#endif
|
|
#endif
|