(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="book" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

Securing and Optimizing Linux

RedHat Edition -A Hands on Guide

Wolf

openNA logo

Gerhard Mourani

Open Network Architecture www.openna.com


             gmourani@openna.com
             gmourani@netscape.net
             

Madhu "Maddy"


Table of Contents
Preface
1. Why did i write this book?
2. Why fiddle?
3. DocBook !
4. DocBook/XML
1. Getting Started
1. Introduction
2. Installation
2. Overview of OS Linux
3. Installation of your Linux Server
4. Post-Install
3. Security, Optimization and Upgrade
5. General System Security
6. Linux General Optimization
7. Configuring and Building a Secure, Optimized Kernel
4. Networking -Management, Firewall, Masquerading and Forwarding
8. TCP/IP -Network Management
9. Files -Networking Functionality
10. Networking -Firewall
11. The firewall scripts files
12. Networking Firewall -Masquerading and Forwarding
5. Software -Security
13. Linux -The Compiler functionality
14. Software -Security/Monitoring
6. Software -Networking
15. Software -Securities
16. Software -Securties(commercial)
17. Software -Securities/System Integrity
18. Linux Tripwire ASR 1.3.1
19. Software -Securities/Management & Limitation
20. Set Limits using Qouta
21. Software -Networking
22. Software -Server/Mail Network
23. Linux IMAP & POP Server
24. Software -Networking/Encryption
25. Linux FreeS/WAN VPN
26. Linux OpenLDAP Server
27. Linux PostgreSQL Database Server
28. Software -Server/Proxy Network
29. Software -Network Server, web/Apache
30. Optional component to install with Apache
31. Software -Server/File Sharing-Network
32. Linux FTP Server
7. Backup and Restore
33. Why's and When's of Backup and Restore
I. Appendixes
A. Resources
B. Tweaks, Tips and Administration tasks
C. Obtaining Requests for Comments (RFCs)
List of Tables
3-1. Sample representaion of partitions
33-1. Dump scheme
List of Examples
3-1. Starting and Stopping various Daemon's
5-1. Export file systems using NFS
5-2. Disable console-equivalent access
5-3. Print log reports
5-4. Use man pages
5-5. Use find to find
6-1. For 128 MB of RAM
7-1. SMP support
8-1. Two ISA ethernet cards
12-1. rc.firewall.blocked
13-1. Using tar
15-1. Remote login using ssh
15-2. scp Secure Copy utility
15-3. local to remote
16-1. login to a remote using ssh2
16-2. sftp2, Secure File Transfer
18-1. Usage of Tripwire
19-1. Importing using gpg
19-2. Signing key
19-3. Encrypting
19-4. Decrypting
20-1. usrquota
20-2. grpquota
21-1. dnsquery
21-2. Look up host names
21-3. Using host
21-4. List a complete domain
22-1. Overriding RBL
22-2. Alternative names
22-3. sendmail.cf
26-1. my-data-file
26-2. LDMB backend
26-3. modifyentry
26-4. Address Book
30-1. Using Netscape browser
33-1. Backup directory of a week
33-2. scp SSH command
33-3. scp SSH command