linux based network proposal

34
A Presentation and Demonstration LINUXPROJECT.COM

Upload: chris-riccio

Post on 18-Nov-2014

2.564 views

Category:

Technology


3 download

DESCRIPTION

This is a presentation that I put together to propose a Linux based network.

TRANSCRIPT

Page 1: Linux Based Network Proposal

A Presentation and Demonstration

LINUXPROJECT.COM

Page 2: Linux Based Network Proposal

MEMBERS AND THEIR OBJECTIVES

• Robert Banning• DNS & DHCP (dnsmasq)

• Chris Riccio• Apache , https (httpd) & E-Mail (postfix, dovecot, &

squirrelmail)

• Casey Adams• Shell scripts & SSH (sshd)

• Salvatore Mauro• NFS (nfs) & FTP (vsftpd)

• Barbara Schwerdtmann• VNC & Samba (smb)

Page 3: Linux Based Network Proposal

PHYSICAL LAYOUT AND IP ADDRESSING SCHEME

Page 4: Linux Based Network Proposal

Dynamic Host Configuration Protocol (DHCP)

Topics DHCP defined How DHCP works Configuration

Page 5: Linux Based Network Proposal

DHCP Defined

DHCP is a network application protocol used by devices that automatically assigns temporary IP addresses to client machines logging into an IP network. The IP addresses assigned to clients are unique but as devices leave and re-join the network the addresses are released and reused.

Page 6: Linux Based Network Proposal

How DHCP Works

Page 7: Linux Based Network Proposal

Domain Name System (DNS)

Topics DNS defined How DNS works Configuration

Page 8: Linux Based Network Proposal

DNS Defined

DNS is the way that Internet domain names are located and translated into Internet Protocol addresses. DNS basically is a database that has a list of domain names with IP addresses. (example phone book)

Page 9: Linux Based Network Proposal

How DNS Works

Translates hostnames such as www.linuxproject.com into IP addresses which will allow the delivery of information from one computer to another. Without DNS the internet would not be possible unless you had the IP addresses for each link memorized. It also stores a listing of mail exchange servers which will allow e-mail to be possible.

Important Files

Resolv.conf

Located in /etc directory

Contains IPs of domain name servers

Named.conf

Configuration file in BIND

Defines the name server with name and ip address of the hosts

Page 10: Linux Based Network Proposal

DnsmasqFirst Step: Check IP address in the resolv.conf file on your local name server

nameserver 12.345.678.8

nameserver 12.345.678.9

Second Step: On all local PC’s vim /etc/resolv.conf and type only this

nameserver 192.168.1.1

Third Step: Vim /etc/hosts and enter your IP addresses and domain names

127.0.0.1 localhost

192.168.0.1 server

192.168.0.2 server2

192.168.0.3 server3

192.168.0.4 fedora

192.168.0.5 windows

192.168.0.2 ftp

192.168.0.1 mail

Fourth Step: vim /etc/dnsmasq.conf un-comment the following lines and replace the stand in text with your own

expand-hosts

domain=test.net (use your domain name here)

dhcp-range=192.168.0.4,192.168.0.10,168 (first three IP address .1,.2,.3 are statically assigned to servers)

Page 11: Linux Based Network Proposal
Page 12: Linux Based Network Proposal

Apache: Web Server

Topics

•Apache defined

•How a web server (Apache) works

•Web server security

Page 13: Linux Based Network Proposal

Apache: Defined

•Apache is a web server notable for playing a key role in the initial growth of the World Wide Web.

•Apache is fast, secure, and infinitely customizable.

•Since April of 1996, Apache has been the most popular HTTP server on the World Wide Web.

Page 14: Linux Based Network Proposal

How a web-server works…

1. The browser broke the URL into three parts:

1. The protocol ("http")

2. The server name ("www.linuxproject.com")

3. The file name (“index.php")

2. The browser communicated with a name server to translate the server name

"www.linuxproject.com" into an IP address, which it uses to connect to the

server machine.

3. The browser then formed a connection to the server at that IP address on port

80.

1. Client Machine

2. DNS Server

3. Web Server

Page 15: Linux Based Network Proposal

Apache Security

-HTTPS1. Hyper Text Transfer Protocol Secure is

designed to create a secure connection over an unsecure network

• HTTP over SSL (secure and encrypted)

-htaccess1. htaccess is designed for directory level

access control

• This will prompt each user who access the website to enter their previously assigned credentials

Page 16: Linux Based Network Proposal

E-Mail

•We implemented a simple web-based email GUI (graphical user interface) called squirrelmail

•Very familiar to services such as Google’s Gmail or Microsoft's Live email

•Each user can login from any machine on the LAN and access all of their email securely

Page 17: Linux Based Network Proposal

Shell Script

Topics

Shell Scripts Defined Purpose of our Shell Script Secure Copy Shell Script

Page 18: Linux Based Network Proposal

Shell Scripts Defined

A series of commands written in plain text file for a shell, or command line interpreter, of an operating system.

Page 19: Linux Based Network Proposal

The Purpose of Our Shell Script

Copy files from one server to the another server

Page 20: Linux Based Network Proposal

Secure Password Shell Script scp /share/TITAN/* criccio@server2:/share/THEBES

Page 21: Linux Based Network Proposal

Secure Shell (SSH)

TOPICS

SSH Defined How SSH Works

Page 22: Linux Based Network Proposal

SSH Defined

Set of programs that use public/private key technology for authenticating and encrypting

between user accounts on distributed hosts on the internet.

Page 23: Linux Based Network Proposal

How SSH Works

Client connects to server Server sends to client:

Public Host Key Public Server Key

Client generates random 256 bit key and encrypts it with both public host and server key

Client sends it back to server Server decrypts with own private host

and server key

Page 24: Linux Based Network Proposal

FTP & NFS

Page 25: Linux Based Network Proposal

FTP

FTP is based on the client-server model of communication between computers: one computer runs a server program that makes information available to other computers.

The other computers run client programs that request information and receive replies from the server.

To access an FTP server, users must be able to connect to the Internet or an intranet (via a modem or local area network) with an FTP client program.

Page 26: Linux Based Network Proposal

NFS

The Network File System (NFS) software allows one computer (an NFS client) attached to a network to access the files on the hard disk of another computer on the same network.

An NFS client can mount the whole or part of a remote file system. It can then access the files in this file system almost as if they were present on a local hard disk.

Page 27: Linux Based Network Proposal

FTP vs. NFS

The main differences between FTP and NFS are:

FTP uses actual file transfers having users upload and download them.

NFS is actual real-time file sharing between workstations within a network

Page 28: Linux Based Network Proposal

NFS/FTP Diagrams

` FTP Connections

Page 29: Linux Based Network Proposal

Samba

Page 30: Linux Based Network Proposal

S M B

SMB, (Service Message Block), is a protocol, as well as a suite of programs that allow Linux servers to share files, printers, and other resources with Window clients.

Samba is also open source software, and a safe way to share files over an secured /

secured internet.

Page 31: Linux Based Network Proposal

Samba

Another benefit Samba gives us is the ability to act as an interface. A graphical

interface to access files, folders.. etc, without having to go through the

command line.

Page 32: Linux Based Network Proposal

VNC

What is VNC? VNC is stands for Virtual Network

Computing.

It is a graphical desktop sharing system, used to control another computer over the

network via remote access.

Page 33: Linux Based Network Proposal

VNC

VNC is platform independent. Meaning, it will work with most operating systems. In

the case of Microsoft, a proprietary operating system, the use of the RFB

Protocol, or {remote frame-buffer} allows VNC to work with all windows systems,

applications, and MAC operating systems.

Page 34: Linux Based Network Proposal

Thank You