Chapter 10. Networking

Table of Contents

1. Networking Overview
1.1. The OSI Model
1.2. Some popular networking protocols
2. Network configuration and information
2.1. Configuration of network interfaces
2.2. Network configuration files
2.3. Network configuration commands
2.4. Network interface names
2.5. Checking the host configuration with netstat
2.6. Other hosts
3. Internet/Intranet applications
3.1. Server types
3.2. Mail
3.3. Web
3.4. File Transfer Protocol
3.5. Chatting and conferencing
3.6. News services
3.7. The Domain Name System
3.8. DHCP
3.9. Authentication services
4. Remote execution of applications
4.1. Introduction
4.2. Rsh, rlogin and telnet
4.3. The X Window System
4.4. The SSH suite
4.5. VNC
4.6. The rdesktop protocol
4.7. Cygwin
5. Security
5.1. Introduction
5.2. Services
5.3. Update regularly
5.4. Firewalls and access policies
5.5. Intrusion detection
5.6. More tips
5.7. Have I been hacked?
5.8. Recovering from intrusion
6. Summary
7. Exercises
7.1. General networking
7.2. Remote connections
7.3. Security

Abstract

When it comes to networking, Linux is your operating system of choice, not only because networking is tightly integrated with the OS itself and a wide variety of free tools and applications are available, but for the robustness under heavy loads that can only be achieved after years of debugging and testing in an Open Source project.

Bookshelves full of information have been written about Linux and networking, but we will try to give an overview in this chapter. After completing this, you will know more about

  • Supported networking protocols

  • Network configuration files

  • Commands for configuring and probing the network

  • Daemons and client programs enabling different network applications

  • File sharing and printing

  • Remote execution of commands and applications

  • Basic network interconnection

  • Secure execution of remote applications

  • Firewalls and intrusion detection