Networking in Linux PDF

Document Details

EasygoingLimit

Uploaded by EasygoingLimit

University of Hail

Tags

linux networking TCP/IP single sign-on computer networking

Summary

This document provides a brief overview of networking in Linux. It covers TCP/IP concepts, special IP addresses, internal networks, basic configuration files, servers and daemons, applications for single sign-on and configuring Firefox to use Kerberos.

Full Transcript

Networking in Linux: a brief overview TCP/IP  TCP/IP concepts we have seen are applicable to Linux (a version of UNIX, where TCP/IP started)  Some special IP addresses  localhost 127.0.0.1 (loopback address)  Internal networks  Class A...

Networking in Linux: a brief overview TCP/IP  TCP/IP concepts we have seen are applicable to Linux (a version of UNIX, where TCP/IP started)  Some special IP addresses  localhost 127.0.0.1 (loopback address)  Internal networks  Class A 10.0.0.0  Class B 172.16.0.0 to 172.31.0.0  Class C 192.168.0.0 to 192.168.255.0  Machines behind a firewall can use these internal IP numbers to communicate among them.  Only the firewall machine/device (host) Basic configuration files You can manually create, change and view the basic configuration files: /etc/hostname /etc/hosts /etc/resolv.conf /etc/interfaces See this example for their format. Also a howto. Of course you can also do it in an Ubuntu GUI at System, Administration, Network.  defining the interface type (static, IP, subnetmask and gateway) or DHCP.  setting the DNS server. Servers and daemons  Setting up telnet and ftp servers is not recommended, use ssh (default in Linux).  Setting up a Web server (Apache)  Setting up and configuring SAMBA  Setting up a firewall  NIS and NFS  DHCP  DNS (bind)  Xinetd - the super daemon  Ubuntu documentation. A free network admin manual Configuring Applications for Single Sign-On  Some common applications, such as browsers and email clients, can be configured to use Kerberos tickets, SSL certifications, or tokens as a means of authenticating users.  The precise procedures to configure any application depend on that application itself.  The examples in this chapter (Mozilla Thunderbird and Mozilla Firefox) are intended to give you an idea of how to configure a user application to use Kerberos or other credentials. Configuring Firefox to Use Kerberos for Single Sign-On  Firefox can use Kerberos for single sign-on (SSO) to intranet sites and other protected websites.  For Firefox to use Kerberos, it first has to be configured to send Kerberos credentials to the appropriate KDC.  Even after Firefox is configured to pass Kerberos credentials, it still requires a valid Kerberos ticket to use.  To generate a Kerberos ticket, use the kinit command and supply the user password for the user on the KDC. Configuring Firefox to Use Kerberos for Single Sign-On  [jsmith@host ~] $ kinit Password for [email protected]: Configuring Firefox to Use Kerberos for Single Sign-On  To configure Firefox to use Kerberos for SSO:  In the address bar of Firefox, type about:config to display the list of current configuration options.  In the Filter field, type negotiate to restrict the list of options.  Double-click the network.negotiate- auth.trusted-uris entry.  Enter the name of the domain against which to authenticate, including the preceding period (.). If you want to add multiple domains, enter them in a comma-separated list. t

Use Quizgecko on...
Browser
Browser