<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Analysis and Review &#187; Localhost</title>
	<atom:link href="http://analysisandreview.com/tag/localhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://analysisandreview.com</link>
	<description>Brain Dumps For All</description>
	<lastBuildDate>Thu, 26 Jan 2012 20:58:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Enable FTP FreeBSD and Allow Only Localhost</title>
		<link>http://analysisandreview.com/unix/enable-ftp-freebsd-and-allow-only-localhost/</link>
		<comments>http://analysisandreview.com/unix/enable-ftp-freebsd-and-allow-only-localhost/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 03:35:43 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[FTPD]]></category>
		<category><![CDATA[Localhost]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://analysisandreview.com/?p=693</guid>
		<description><![CDATA[Enable FTP on your FreeBSD server and allow only your localhost (local machine) access to the ftpd server. The inetd server should be run at boot time by /etc/rc. It then listens for connections on certain internet sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds ]]></description>
			<content:encoded><![CDATA[<p>Enable FTP on your FreeBSD server and allow only your localhost (local machine) access to the ftpd server.<span id="more-693"></span></p>
<p>The inetd server should be run at boot time by /etc/rc. It then listens for connections on certain internet sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. The server program is invoked with the service socket as its standard input, output and error descriptors. After the program is finished, inetd continues to listen on the socket.</p>
<p>To enable FTPD Open /etc/inetd.conf file and remove the hash from:</p>
<pre class="brush: php; title: ; notranslate">ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l</pre>
<p>Then restart inetd.conf</p>
<pre class="brush: php; title: ; notranslate">/etc/rc.d/inetd restart
or
/etc/rc.d/inetd onerestart</pre>
<p>Or allow only 127.0.0.1 (localhost) to connect to your ftp server:</p>
<pre class="brush: php; title: ; notranslate">ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -D -a 127.0.0.1</pre>
]]></content:encoded>
			<wfw:commentRss>http://analysisandreview.com/unix/enable-ftp-freebsd-and-allow-only-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

