<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Sockstat</id>
		<title>Sockstat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Sockstat"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;action=history"/>
		<updated>2026-05-11T21:16:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=8620&amp;oldid=prev</id>
		<title>Jimbo at 05:07, 17 August 2007</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=8620&amp;oldid=prev"/>
				<updated>2007-08-17T05:07:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:07, 17 August 2007&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Socket status -- socket in this context meaning a protocol, like [[ftp]] and a port, like 21.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Socket status -- socket in this context meaning a protocol, like [[ftp]] and a port, like 21.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Similar to the linux netstat, but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;differnet &lt;/del&gt;from the FreeBSD [[netstat]]. Consult the manpage for more info on switches, but right away you might want to look into the -4 switch to see any open [[IPv4]] connections (-6 will show you open [[IPv6]] connections but those are less common and you won't get much use out of it.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Similar to the linux netstat, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;different &lt;/ins&gt;from the FreeBSD [[netstat]]. Consult the manpage for more info on switches, but right away you might want to look into the -4 switch to see any open [[IPv4]] connections (-6 will show you open [[IPv6]] connections but those are less common and you won't get much use out of it.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Using sockstat to help secure your machine==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Using sockstat to help secure your machine==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:4711:newid:8620 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=4711&amp;oldid=prev</id>
		<title>Dave: oops....italics needs an extra '</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=4711&amp;oldid=prev"/>
				<updated>2004-12-24T19:05:55Z</updated>
		
		<summary type="html">&lt;p&gt;oops....italics needs an extra &amp;#039;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:05, 24 December 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Well, that's a lot of stuff. There are a few ways to minimize the ports available; one simple way is to put the machine behind a firewall (or run the built-in [[ipfw]]) and block connections you don't want. This is effective, but doesn't stop the real problem: potentially open connections to programs/services that are listening. If your firewall fails for whatever reason, those ports are still open and listening for someone somewhere to please, please, please talk to them. Which is potentially a bad thing. So let's do it right, and stop the services listening and ''then'' we can wrap the machine in [[ipfw]] love.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Well, that's a lot of stuff. There are a few ways to minimize the ports available; one simple way is to put the machine behind a firewall (or run the built-in [[ipfw]]) and block connections you don't want. This is effective, but doesn't stop the real problem: potentially open connections to programs/services that are listening. If your firewall fails for whatever reason, those ports are still open and listening for someone somewhere to please, please, please talk to them. Which is potentially a bad thing. So let's do it right, and stop the services listening and ''then'' we can wrap the machine in [[ipfw]] love.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The output above is from a server, which I am running headless, so there's no [[X11]] ports showing, since I'm not running X. If I were, you'd also see a bunch of ports in the 6000 range open. Even if you 'want' to run X over the network, there are better ways to do this than by letting X play directly with the network (think about using an ssh tunnel and piping X through 'that'). To stop X from listening to the network, we'll have to edit /usr/X11R6/bin/startx and change the ''serverargs'' line to &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The output above is from a server, which I am running headless, so there's no [[X11]] ports showing, since I'm not running X. If I were, you'd also see a bunch of ports in the 6000 range open. Even if you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;'want&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;' to run X over the network, there are better ways to do this than by letting X play directly with the network (think about using an ssh tunnel and piping X through &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;'that&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/ins&gt;'). To stop X from listening to the network, we'll have to edit /usr/X11R6/bin/startx and change the ''serverargs'' line to &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; serverargs=&amp;quot;-nolisten tcp&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; serverargs=&amp;quot;-nolisten tcp&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:835:newid:4711 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=835&amp;oldid=prev</id>
		<title>Jimbo at 14:18, 18 October 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=835&amp;oldid=prev"/>
				<updated>2004-10-18T14:18:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:18, 18 October 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; syslogd_enable=&amp;quot;YES&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; syslogd_enable=&amp;quot;YES&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; syslogd_flags=&amp;quot;-ss&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; syslogd_flags=&amp;quot;-ss&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:System Commands]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:579:newid:835 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=579&amp;oldid=prev</id>
		<title>Dave at 00:39, 2 October 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=579&amp;oldid=prev"/>
				<updated>2004-10-02T00:39:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:39, 2 October 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Socket status -- socket in this context meaning a protocol, like [[ftp]] and a port, like 21.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Socket status -- socket in this context meaning a protocol, like [[ftp]] and a port, like 21.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Similar to the linux netstat, but differnet from the FreeBSD [[netstat]]. Consult the manpage for more info on switches, but right away you might want to look into the -4 switch to see any open [[IPv4]] connections (-6 will show you open [[IPv6]] connections but those are less common and you won't get much use out of it.)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Using sockstat to help secure your machine==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Using sockstat to help secure your machine==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:547:newid:579 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=547&amp;oldid=prev</id>
		<title>Dave at 13:58, 30 September 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Sockstat&amp;diff=547&amp;oldid=prev"/>
				<updated>2004-09-30T13:58:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Socket status -- socket in this context meaning a protocol, like [[ftp]] and a port, like 21.&lt;br /&gt;
&lt;br /&gt;
==Using sockstat to help secure your machine==&lt;br /&gt;
&lt;br /&gt;
 dave@samizdata:~% '''su -'''&lt;br /&gt;
 Password:&lt;br /&gt;
 samizdata# '''sockstat -46'''&lt;br /&gt;
 USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS&lt;br /&gt;
 dave     sshd       12230 5  tcp4   10.10.1.208:22        10.10.1.108:4095&lt;br /&gt;
 root     sshd       12226 5  tcp4   10.10.1.208:22        10.10.1.108:4095&lt;br /&gt;
 root     ssh        95269 3  tcp4   10.10.1.208:49847     10.10.0.251:22&lt;br /&gt;
 dave     sshd       92858 5  tcp4   10.10.1.208:22        10.10.1.108:2716&lt;br /&gt;
 root     sshd       92855 5  tcp4   10.10.1.208:22        10.10.1.108:2716&lt;br /&gt;
 root     inetd      87064 4  tcp4   *:21                  *:*&lt;br /&gt;
 root     sendmail   59172 3  tcp4   *:25                  *:*&lt;br /&gt;
 root     ntpd       33328 4  udp4   *:123                 *:*&lt;br /&gt;
 root     ntpd       33328 5  udp4   10.10.1.208:123       *:*&lt;br /&gt;
 root     ntpd       33328 6  udp4   127.0.0.1:123         *:*&lt;br /&gt;
 root     sshd       366   3  tcp6   *:22                  *:*&lt;br /&gt;
 root     sshd       366   4  tcp4   *:22                  *:*&lt;br /&gt;
 root     amd        309   4  udp4   *:1023                *:*&lt;br /&gt;
 root     amd        309   5  tcp4   *:1023                *:*&lt;br /&gt;
 root     amd        309   6  udp4   *:1021                *:*&lt;br /&gt;
 root     amd        309   7  udp4   *:1020                *:*&lt;br /&gt;
 root     rpcbind    228   4  udp6   *:*                   *:*&lt;br /&gt;
 root     rpcbind    228   6  udp6   *:111                 *:*&lt;br /&gt;
 root     rpcbind    228   7  udp6   *:1023                *:*&lt;br /&gt;
 root     rpcbind    228   8  tcp6   *:111                 *:*&lt;br /&gt;
 root     rpcbind    228   9  udp4   *:111                 *:*&lt;br /&gt;
 root     rpcbind    228   10 udp4   *:1022                *:*&lt;br /&gt;
 root     rpcbind    228   11 tcp4   *:111                 *:*&lt;br /&gt;
 root     syslogd    213   4  udp6   *:514                 *:*&lt;br /&gt;
 root     syslogd    213   5  udp4   *:514                 *:*&lt;br /&gt;
 samizdata#&lt;br /&gt;
&lt;br /&gt;
Well, that's a lot of stuff. There are a few ways to minimize the ports available; one simple way is to put the machine behind a firewall (or run the built-in [[ipfw]]) and block connections you don't want. This is effective, but doesn't stop the real problem: potentially open connections to programs/services that are listening. If your firewall fails for whatever reason, those ports are still open and listening for someone somewhere to please, please, please talk to them. Which is potentially a bad thing. So let's do it right, and stop the services listening and ''then'' we can wrap the machine in [[ipfw]] love.&lt;br /&gt;
&lt;br /&gt;
The output above is from a server, which I am running headless, so there's no [[X11]] ports showing, since I'm not running X. If I were, you'd also see a bunch of ports in the 6000 range open. Even if you 'want' to run X over the network, there are better ways to do this than by letting X play directly with the network (think about using an ssh tunnel and piping X through 'that'). To stop X from listening to the network, we'll have to edit /usr/X11R6/bin/startx and change the ''serverargs'' line to &lt;br /&gt;
 serverargs=&amp;quot;-nolisten tcp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I don't want to run the [[automounter]] daemon, I have no use for [[NFS]] stuff on this machine right now and I won't be doing networkable [[syslog]], so I'm going to turn those off. To do that, I'll need to edit /etc/rc.conf and change or add a few lines. &lt;br /&gt;
&lt;br /&gt;
Editing /etc/rc.conf&lt;br /&gt;
by either changing these entries to these values (or adding entries with these values) will disable NFS (those port 111 entries), portmap (you only really need it if you're doing NFS,) and networked syslog (the -ss flag).&lt;br /&gt;
&lt;br /&gt;
 nfs_server_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
 nfs_client_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
 portmap_enable=&amp;quot;NO&amp;quot;&lt;br /&gt;
 syslogd_enable=&amp;quot;YES&amp;quot;&lt;br /&gt;
 syslogd_flags=&amp;quot;-ss&amp;quot;&lt;/div&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	</feed>