Printer Services

Managing lpd 301

Sharing Printers with Samba 304

Defining Printers in the smb.conf File 304

Printers Share Section 305

smb.conf Printer Configuration Options 306

Using an SMB Printer 306

In Sum 308

Chapter 11: More Mail Services 309

Overview 309

Understanding POP and IMAP 309

The POP Protocol 309

The IMAP Protocol 311

Running the POP and IMAP Daemons 314

Using POP or IMAP from a Client 315

Stopping Spam E-Mail 316

Don't Be a Spam Source 317

Using sendmail to Block Spam 319

Filtering Out Spam at the Mailer 324

In Sum 331

Part IV: Maintaining a Healthy Server 332

Chapter List 332

Part Overview 332

Featuring 332

Chapter 12: Security 333

Overview 333

Understanding the Threats 333

The Basic Threats 333

A Reality Check 334

Keeping Informed 335

Closing the Holest 337

Finding the Latest Software 337

Removing Unneeded Software 339

Controlling Access with tcpd 340

Tracking Remote Access 341

tcpd Access Control Files 342

Controlling Network Access with xinetd 347

Controlling Access with iptables 350

Maintaining Firewall Rules with iptables 350

Sample iptables Commands 352

Improving Authentication 353

Shadow Passwords 354

One-Time Passwords 357

Secure Shell 359

Monitoring Your System 370

Security Monitoring Tools 370

In Sum 371

Chapter 13: Troubleshooting 372

Overview 372

Configuring the Linux Kernel 372

Configuring the Kernel with xconfig 373

Compiling and Installing the Kernel 377

Troubleshooting a Network Server 378

Diagnostic Tools 379

Checking the Network Interface 380

Checking an Ethernet Interface 381

Resolving Address Conflicts 384

Checking a PPP Interface 388

Testing the Connection 390

The Message of a Successful ping 390

The Message of a Failed ping 391

Testing Routing 392

Using traceroute 392

Analyzing Network Protocols 394

Checking Socket Status with netstat 394

Watching the Protocols with tcpdump 397

Testing Services 399

Testing DNS with nslookupt 400

Testing DNS with host 402

Testing DNS with dig 403

In Sum 404

Appendices 405

Appendix List 405

Appendix A: Installing Linux 406

Overview 406

Installation Planning} 407

Hardware Information 407

Network Information 408

Software Considerations 409

Selecting an Installation Method 409

Making a Boot Disk 410

Booting the Installation Program 411

Partitioning the Disk 413

Partition Planning 414

Partitioning with Disk Druid 417

Partitioning with fdisk 421

Installing the Boot Loader 424

Configuring the Ethernet Adapter 425

Configuring the Firewall 426

Installing the Software 429

X Windows 429

The Boot Floppy 431

In Sum 432

Appendix B: BIND Reference 433

Overview 433

named.conf Commands 433

The options Statement 433

The logging Statement 440

The zone Statement 442

The server Statement 445

The key Statement 446

The acl Statement 447

The trusted-keys Statement 447

The controls Statement 448

BIND 9 view Statement 449

Appendix C: The m4 Macros for sendmaiL 450

Overview 450

define 452

FEATURE 461

OSTYPE 465

DOMAIN 467

MAILER 470

Local Code 471

DAEMON_OPTIONS 472

LDAP Mail Routing 473

List of Figures 474

List of Tables 476

List of Listings 478

List of Sidebars 483

Was this article helpful?

0 0

Post a comment