<chapter id="wwrsov"><title>Working With Remote
Systems (Overview)</title><highlights><para>This section includes information on working with remote files.</para><itemizedlist><listitem><para><olink targetptr="wwrsov-2" remap="internal">What Is the FTP Server?</olink></para>
</listitem><listitem><para><olink targetptr="wwrsov-3" remap="internal">What Is a Remote System?</olink></para>
</listitem><listitem><para><olink targetptr="wwrsov-4" remap="internal">Changes to the FTP Service for
the Solaris 10 Release</olink></para>
</listitem><listitem><para><olink targetptr="wwrsov-5" remap="internal">What's New for the Solaris 9 FTP
Server?</olink></para>
</listitem>
</itemizedlist>
</highlights><sect1 id="wwrsov-2"><title>What Is the FTP Server?</title><para>The FTP Server is based on wu-ftpd. Originally developed by Washington
University in Saint Louis, wu-ftpd is widely used for distribution of bulk
data over the Internet and is the preferred standard for large FTP sites.
For information on the licensing terms, refer to the materials that are incorporated
at <filename>/var/sadm/pkg/SUNWftpu/install/copyright</filename>.</para>
</sect1><sect1 id="wwrsov-3"><title>What Is a Remote System?</title><para>For the purpose of this chapter, a <emphasis>remote system</emphasis> is
a workstation or server that is connected to the local system with any type
of physical network and configured for TCP/IP communication.</para><para>On systems running a Solaris release, TCP/IP configuration is established
automatically during startup. For more information, see <olink targetdoc="sysadv3" remap="external"><citetitle remap="book">System Administration Guide: IP Services</citetitle></olink>.</para>
</sect1><sect1 id="wwrsov-4"><title>Changes to the FTP Service for the Solaris 10
Release</title><para>The Solaris 10 release includes several changes to the FTP service.
The changes include enhancements to the FTP server, and changes to the <command>ftpcount</command>, <command>ftpwho</command> and <command>ftp</command> commands.</para><itemizedlist><para>The enhancements to the FTP server improve scalability and transfer
logging. These options are covered in <olink targetptr="egcom" remap="internal">Configuration
Help for Busy Sites</olink> and in the <olink targetdoc="refman4" targetptr="ftpaccess-4" remap="external"><citerefentry><refentrytitle>ftpaccess</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink> man page. In specific:</para><listitem><para>The <function>sendfile</function> function is
used for binary downloads</para>
</listitem><listitem><para>New capabilities supported in the <filename>ftpaccess</filename> file</para><itemizedlist><listitem><para><literal>flush-wait</literal> controls the behavior at the
end of a download or directory listing</para>
</listitem><listitem><para><literal>ipcos</literal> sets the IP Class of Service for
either the control or data connection</para>
</listitem><listitem><para><literal>passive ports</literal> can be configured so that
the kernel selects the TCP port to listen on</para>
</listitem><listitem><para><literal>quota-info</literal> enables retrieval of quota information</para>
</listitem><listitem><para><literal>recvbuf</literal> sets the receive (upload) buffer
size used for binary transfers</para>
</listitem><listitem><para><literal>rhostlookup</literal> allows or disallows the lookup
of the remote hosts name</para>
</listitem><listitem><para><literal>sendbuf</literal> sets the send (download) buffer
size used for binary transfers</para>
</listitem><listitem><para><literal>xferlog</literal> format customizes the format of
the transfer log entry</para>
</listitem>
</itemizedlist>
</listitem><listitem><para><option>4</option> option which makes the FTP server only
listen for connections on an IPv4 socket when running in standalone mode</para>
</listitem>
</itemizedlist><para>In addition, <command>ftpcount</command> and <command>ftpwho</command> now
support the <option>v</option> option, which displays user counts and process
information for FTP server classes defined in virtual host <filename>ftpaccess</filename> files.
See the <olink targetdoc="refman1" targetptr="ftpcount-1" remap="external"><citerefentry><refentrytitle>ftpcount</refentrytitle><manvolnum>1</manvolnum></citerefentry></olink> and <olink targetdoc="refman1" targetptr="ftpwho-1" remap="external"><citerefentry><refentrytitle>ftpwho</refentrytitle><manvolnum>1</manvolnum></citerefentry></olink> man pages for more information.</para><para>The FTP client and server now support Kerberos. For more information
refer to the <olink targetdoc="refman4" targetptr="ftp-4" remap="external"><citerefentry><refentrytitle>ftp</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink> man
page and to <olink targetdoc="sysadv6" targetptr="userseamsapp1" remap="external"><citetitle remap="section">Kerberos User Commands</citetitle> in <citetitle remap="book">System Administration Guide: Security Services</citetitle></olink>.</para><para>The <command>ftp</command> command has been changed. By default, a Solaris
FTP client connected to a Solaris FTP server lists both directories as well
as plain files when the <command>ls</command> command is issued to the client.
If the FTP server is not running in the Solaris OS, directories may not be
listed. To allow for the default Solaris behavior when connecting to non-Solaris
FTP servers, the <filename>/etc/default/ftp</filename> file can be edited
appropriately on each Solaris client. To make the change for individual users,
the <envar>FTP_LS_SENDS_NLST</envar> environment variable can be set to <literal>yes</literal>. For more information see the <olink targetdoc="refman4" targetptr="ftp-4" remap="external"><citerefentry><refentrytitle>ftp</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink> man page.</para><para>The <command>ftpd</command> daemon is managed by the Service Management
Facility.  Administrative actions on this service, such as enabling, disabling,
or restarting, can be performed using the <command>svcadm</command> command.
The service's status for all daemons can be queried using the <command>svcs</command> command.
For an overview of the Service Management Facility, refer to <olink targetdoc="sysadv1" targetptr="hbrunlevels-25516" remap="external">Chapter 14, <citetitle remap="chapter">Managing Services (Overview),</citetitle> in <citetitle remap="book">System Administration Guide: Basic Administration</citetitle></olink>.</para>
</sect1><sect1 id="wwrsov-5"><title>What's New for the Solaris 9 FTP Server?</title><para>Significant changes were made to the FTP Server in the Solaris 9 release,
so this section has been retained for the Solaris 10 release. The FTP Server
is compatible with Solaris 8 FTP software, yet offers new capability with
improved performance for Solaris 9 users.</para><table frame="all" pgwide="1" id="wuftp-tbl-8"><title>What's New for the Solaris
9 FTP Server</title><tgroup cols="3" colsep="1" rowsep="1"><colspec colname="colspec4" colwidth="159*"/><colspec colname="colspec6" colwidth="306*"/><colspec colname="colspec5" colwidth="265*"/><thead><row><entry><para>Feature</para>
</entry><entry><para>Description</para>
</entry><entry><para>For Information</para>
</entry>
</row>
</thead><tbody><row><entry><para>User classification by type and location</para>
</entry><entry><para>Permits you to define a class of users, based on type and address</para>
</entry><entry><para><olink targetptr="wuftp-45" remap="internal">How to Define FTP Server Classes</olink></para>
</entry>
</row><row><entry><para>Limits per class</para>
</entry><entry><para>Controls the number of users from a certain class who are allowed simultaneous
login, based on limits that are set in the <filename>ftpaccess</filename> file</para>
</entry><entry><para><olink targetptr="wuftp-162" remap="internal">How to Set User Login Limits</olink></para>
</entry>
</row><row><entry><para>System-wide and directory-related messages</para>
</entry><entry><para>Displays the messages that you specify for particular events</para>
</entry><entry><para><olink targetptr="wuftp-37" remap="internal">How to Create Messages to Be Sent to Users</olink></para>
</entry>
</row><row><entry><para>Upload permissions per directory</para>
</entry><entry><para>Allows you to control uploads to the FTP Server, including file and
directory creation and permissions</para>
</entry><entry><para><olink targetptr="wuftp-85" remap="internal">How to Control Uploads to the FTP Server</olink></para>
</entry>
</row><row><entry><para>File name filter</para>
</entry><entry><para>Enables you to specify which characters, in what sequence, are acceptable
in the name of an uploaded file</para>
</entry><entry><para><olink targetptr="wuftp-85" remap="internal">How to Control Uploads to the FTP Server</olink></para>
</entry>
</row><row><entry><para>Virtual host support</para>
</entry><entry><para>Permits you to configure the FTP server to support multiple domains
on a single machine</para>
</entry><entry><para><olink targetptr="wuftp-184" remap="internal">How to Enable Complete Virtual Hosting</olink></para>
</entry>
</row><row><entry><para>Command logging</para>
</entry><entry><para>Allows logging of commands that are executed by real, guest, and anonymous
FTP users</para>
</entry><entry><para><olink targetptr="wuftp-proc-217" remap="internal">How to Check the Commands Executed
by FTP Users</olink></para>
</entry>
</row><row><entry><para>Transfer logging</para>
</entry><entry><para>Allows logging of transfers for real, guest, and anonymous FTP users</para>
</entry><entry><para><olink targetdoc="refman4" targetptr="ftpaccess-4" remap="external"><citerefentry><refentrytitle>ftpaccess</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink>, <olink targetdoc="refman4" targetptr="xferlog-4" remap="external"><citerefentry><refentrytitle>xferlog</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink>, <olink targetdoc="refman1m" targetptr="in.ftpd-1m" remap="external"><citerefentry><refentrytitle>in.ftpd</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink></para>
</entry>
</row><row><entry><para>As-needed compression and archiving</para>
</entry><entry><para>Allows as-needed compression and archiving by using conversions that
are specified in the <filename>ftpconversions</filename> file</para>
</entry><entry><para><olink targetdoc="refman4" targetptr="ftpconversions-4" remap="external"><citerefentry><refentrytitle>ftpconversions</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink>, <olink targetdoc="refman4" targetptr="ftpaccess-4" remap="external"><citerefentry><refentrytitle>ftpaccess</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink></para>
</entry>
</row>
</tbody>
</tgroup>
</table><para>The following list shows the Solaris 8 features that are not supported
in later releases.</para><itemizedlist><listitem><para>The Solaris 8 <filename>/etc/default/ftpd</filename> is not
supported in later releases. During upgrade, <literal>BANNER</literal> and <literal>UMASK</literal> entries are converted to their <command>wu-ftpd</command> equivalents.
However, the system administrator might need to manually convert some <literal>BANNER</literal> lines for the equivalent <filename>ftpaccess</filename> greeting
capability. For further information, see <olink targetdoc="refman4" targetptr="ftpaccess-4" remap="external"><citerefentry><refentrytitle>ftpaccess</refentrytitle><manvolnum>4</manvolnum></citerefentry></olink>.</para>
</listitem><listitem><para>The sublogin feature that is provided by the Solaris 8 FTP
Server is not supported by the Solaris 9 FTP Server.</para>
</listitem>
</itemizedlist>
</sect1>
</chapter>