| Preface |
|
1 | (6) |
|
System Configuration---Disks |
|
|
7 | (22) |
|
Partition Layout and Sizes |
|
|
7 | (2) |
|
|
|
9 | (3) |
|
|
|
10 | (2) |
|
|
|
12 | (1) |
|
|
|
12 | (1) |
|
|
|
13 | (2) |
|
|
|
15 | (3) |
|
|
|
16 | (2) |
|
|
|
18 | (6) |
|
|
|
18 | (4) |
|
The tar, cpio, and pax Utilities |
|
|
22 | (1) |
|
|
|
23 | (1) |
|
|
|
24 | (4) |
|
|
|
24 | (2) |
|
|
|
26 | (1) |
|
|
|
27 | (1) |
|
|
|
28 | (1) |
|
System Configuration---Keeping it Updated |
|
|
29 | (18) |
|
CVSup---Synchronizing the Source Code |
|
|
30 | (4) |
|
|
|
31 | (2) |
|
|
|
33 | (1) |
|
|
|
34 | (2) |
|
|
|
34 | (1) |
|
|
|
35 | (1) |
|
|
|
36 | (2) |
|
VuXML---Vulnerability Database |
|
|
37 | (1) |
|
|
|
37 | (1) |
|
Customizing and Rebuilding Kernel |
|
|
38 | (2) |
|
|
|
40 | (2) |
|
|
|
42 | (1) |
|
Recovering from a Dead Kernel |
|
|
43 | (2) |
|
|
|
45 | (2) |
|
System Configuration---Software Package Management |
|
|
47 | (16) |
|
|
|
48 | (7) |
|
|
|
48 | (1) |
|
|
|
49 | (1) |
|
|
|
49 | (2) |
|
|
|
51 | (4) |
|
|
|
55 | (5) |
|
|
|
56 | (1) |
|
|
|
56 | (1) |
|
|
|
57 | (1) |
|
|
|
58 | (1) |
|
|
|
59 | (1) |
|
|
|
59 | (1) |
|
|
|
60 | (1) |
|
|
|
60 | (3) |
|
System Configuration---System Management |
|
|
63 | (12) |
|
Process Management and Control |
|
|
63 | (10) |
|
|
|
64 | (1) |
|
Getting Information about Running Processes---ps, top, and pgrep |
|
|
65 | (2) |
|
Sending Signals to Running Processes---kill, killall, and pkill |
|
|
67 | (1) |
|
Prioritizing Running Processes---nice and renice |
|
|
68 | (1) |
|
Resource Management and Control |
|
|
69 | (1) |
|
System Resource Monitoring Tools---vmstat, iostat, pstat, and systat |
|
|
69 | (3) |
|
|
|
72 | (1) |
|
|
|
73 | (2) |
|
System Configuration---Jails |
|
|
75 | (12) |
|
|
|
75 | (1) |
|
|
|
76 | (1) |
|
|
|
77 | (1) |
|
Configuring the Host System |
|
|
78 | (2) |
|
|
|
80 | (1) |
|
|
|
81 | (1) |
|
|
|
82 | (1) |
|
|
|
82 | (2) |
|
|
|
84 | (1) |
|
|
|
85 | (1) |
|
|
|
85 | (2) |
|
System Configuration---Tuning Performance |
|
|
87 | (14) |
|
Tweaking Kernel Variables using SYSCTL |
|
|
88 | (1) |
|
|
|
89 | (3) |
|
|
|
91 | (1) |
|
|
|
92 | (2) |
|
|
|
92 | (1) |
|
|
|
92 | (1) |
|
|
|
93 | (1) |
|
|
|
94 | (3) |
|
|
|
94 | (1) |
|
|
|
95 | (1) |
|
|
|
95 | (1) |
|
|
|
95 | (1) |
|
Network Interface Polling |
|
|
96 | (1) |
|
|
|
97 | (1) |
|
|
|
97 | (1) |
|
|
|
98 | (1) |
|
The /boot/loader.conf file |
|
|
98 | (1) |
|
|
|
99 | (2) |
|
Network Configuration---Basics |
|
|
101 | (32) |
|
|
|
101 | (18) |
|
|
|
106 | (1) |
|
Configuring Layer2 Address |
|
|
107 | (1) |
|
|
|
107 | (1) |
|
|
|
108 | (1) |
|
Configuring Secondary (alias) IP Addresses |
|
|
109 | (1) |
|
Configuring Media Options |
|
|
110 | (2) |
|
|
|
112 | (1) |
|
Advanced ifconfig Options |
|
|
113 | (1) |
|
|
|
114 | (1) |
|
|
|
115 | (1) |
|
|
|
116 | (1) |
|
|
|
116 | (1) |
|
|
|
117 | (1) |
|
|
|
118 | (1) |
|
Configuring Fast EtherChannel |
|
|
118 | (1) |
|
|
|
119 | (1) |
|
|
|
120 | (1) |
|
|
|
121 | (10) |
|
|
|
121 | (1) |
|
|
|
122 | (1) |
|
|
|
123 | (1) |
|
|
|
124 | (1) |
|
|
|
125 | (1) |
|
|
|
126 | (5) |
|
|
|
131 | (2) |
|
Network Configuration---Tunneling |
|
|
133 | (12) |
|
Generic Routing Encapsulation (GRE) protocol |
|
|
134 | (2) |
|
|
|
136 | (8) |
|
|
|
137 | (1) |
|
|
|
138 | (6) |
|
|
|
144 | (1) |
|
Network Configuration---PPP |
|
|
145 | (12) |
|
|
|
146 | (3) |
|
|
|
149 | (3) |
|
|
|
152 | (1) |
|
|
|
153 | (2) |
|
|
|
155 | (2) |
|
Network Configuration---Routing and Bridging |
|
|
157 | (18) |
|
Basic Routing---IP Forwarding |
|
|
158 | (2) |
|
|
|
160 | (2) |
|
|
|
162 | (1) |
|
|
|
163 | (3) |
|
|
|
166 | (3) |
|
|
|
169 | (3) |
|
|
|
171 | (1) |
|
|
|
172 | (1) |
|
|
|
173 | (2) |
|
Network Configuration---IPv6 |
|
|
175 | (8) |
|
|
|
176 | (1) |
|
|
|
176 | (1) |
|
|
|
176 | (1) |
|
|
|
176 | (1) |
|
Fact Four---Interface Configuration |
|
|
177 | (1) |
|
|
|
177 | (2) |
|
|
|
177 | (2) |
|
|
|
179 | (1) |
|
|
|
180 | (1) |
|
|
|
181 | (1) |
|
|
|
181 | (1) |
|
|
|
181 | (1) |
|
|
|
182 | (1) |
|
Network Configuration---Firewalls |
|
|
183 | (20) |
|
Packet Filtering with IPFW |
|
|
184 | (9) |
|
|
|
185 | (2) |
|
|
|
187 | (1) |
|
|
|
188 | (2) |
|
|
|
190 | (1) |
|
Network Address Translation (NAT) |
|
|
191 | (1) |
|
|
|
192 | (1) |
|
|
|
193 | (6) |
|
|
|
194 | (3) |
|
|
|
197 | (2) |
|
Network Address Translation using PF and IPFW |
|
|
199 | (2) |
|
|
|
201 | (2) |
|
Network Services---Internet Servers |
|
|
203 | (32) |
|
|
|
204 | (3) |
|
|
|
206 | (1) |
|
|
|
207 | (6) |
|
Running a Command Remotely |
|
|
208 | (1) |
|
|
|
208 | (2) |
|
|
|
210 | (2) |
|
SSH Tunneling or Port Forwarding |
|
|
212 | (1) |
|
|
|
213 | (2) |
|
|
|
213 | (1) |
|
|
|
214 | (1) |
|
|
|
215 | (6) |
|
|
|
215 | (1) |
|
|
|
215 | (1) |
|
Forwarding/Caching DNS Server |
|
|
216 | (1) |
|
|
|
217 | (2) |
|
|
|
219 | (1) |
|
|
|
219 | (2) |
|
|
|
221 | (2) |
|
|
|
221 | (2) |
|
|
|
223 | (4) |
|
|
|
224 | (2) |
|
|
|
226 | (1) |
|
|
|
227 | (3) |
|
|
|
228 | (1) |
|
|
|
229 | (1) |
|
|
|
230 | (1) |
|
|
|
230 | (3) |
|
|
|
233 | (2) |
|
Network Services---Local Network Services |
|
|
235 | (24) |
|
Dynamic Host Configuration Protocol (DHCP) |
|
|
236 | (3) |
|
|
|
236 | (1) |
|
|
|
236 | (1) |
|
|
|
237 | (2) |
|
Trivial File Transfer Protocol (TFTP) |
|
|
239 | (1) |
|
Network File System (NFS) |
|
|
240 | (3) |
|
|
|
240 | (1) |
|
|
|
241 | (2) |
|
|
|
243 | (1) |
|
Server Message Block (SMB) or CIFS |
|
|
243 | (5) |
|
|
|
243 | (1) |
|
|
|
244 | (2) |
|
|
|
246 | (1) |
|
Samba Web Administration Tool (SWAT) |
|
|
246 | (2) |
|
Simple Network Management Protocol (SNMP) |
|
|
248 | (3) |
|
|
|
248 | (1) |
|
|
|
249 | (1) |
|
|
|
250 | (1) |
|
|
|
251 | (3) |
|
Ipd---Print Spooler Daemon |
|
|
252 | (1) |
|
Common UNIX Printing System (CUPS) |
|
|
253 | (1) |
|
Network Information System (NIS) |
|
|
254 | (4) |
|
|
|
255 | (1) |
|
|
|
255 | (3) |
|
|
|
258 | (1) |
| Index |
|
259 | |