Network Security and Security Administration
Network Security and Security Administration
Network Security and Security Administration
SECURITY ADMINISTRATION
NETWORKING COMMANDS
1. PING-Measures connectivity and network latency between lacal &
Remote system. It uses ICMP echo packets.
Example:-ping 192.168.0.1
OR ping www.redhat.com
Or netstat –a
VIRTUAL HOSTING
Virtual Hosting allows us to host more than one web site on the same
mavhine rather than having a separate machine for each web site.
Listen 80
<VirtualHost 192.168.0.1>
DocumentRoot /home/yahoo/
ServerName yahoo.com
ServerAdmin [email protected]
</virtualHost>
<VirtualHost 192.168.0.2>
DocumentRoot /home/google/
ServerName google.com
ServerAdmin [email protected]
</VirtualHost>
Service Profile:Apache
Packages: httpd
Daemons: httpd
Scripts: httpd
Conf.d -> In this directory all supporting configuration files are present.
DNS root
Top-level Domain
Com net us jp
Second-Level Domain
Example.net
Omoini.ny.us
www.example.net www.omoini.ny.us
fox.trot.example.net
The DNS root has a small set of top level domains that
rarely changes. Some of them are as aero, com, net, edu,
gov, info, org, int, and name. In a domain name like
www.example.net is a first-level name within the root,
example is a second level name within net, and www is
third level domain called fox. Trot. The tree can extend to
any number of levels, but in generally it is not more then
four levels deep.
Scripts : named
Ports : 53
ROOT
192.168.1.0/24
DHCP SERVER
Manual assignment
Dynamically
But if hundred of computers are there , manual assignment is not
a feasible approach and here dhcp comes into the picture.
DHCP provides the facility to centrally manage the address and
other n/w information for client coputers on a LAN.DHCP
automatically give all client computer on network the necessary
information to communicate.
Netmask
Router(gateway)
DHCP process:
1. Client broadcasts DISCOVER to the server.
2. Server reply with its IP.
3. Clients sends REQUEST for address on the received IP.
4. Server commits allocation & returns ACK containing IP,
Subnet Mask, DNS , Gateway etc.
Example: DHCP server provides ip address between
192.168.0.1/192.168.0.20
192.168.0.1
DHCP SERVER
SWITCH
PC 1 PC 3
192.168.0.18 PC 2 192.168.0.20
192.168.0.19
DHCP provides methods for hosts on a TCP/IP network to request and
be granted IP addresses , and also to discover information about their
local network. One machine on an Ethernet segment is designed the dhcp
server and configured to answer these requests. IP addresses are either
dyanamically assigned from a range or pool of address, or statiscally
assigned by MAC address.
Packages : dhcp
Deamons : dhcpd
Scripts : dhcpd
Ports : 67(bootps),68(bootcp)
Related : dhclient
Packages : nfs-utils
Deamons : nfsd,lockd,rpciod
Scripts : nfs,nfslock
Configuration : /etc/exports
Related : portmap
NFS Server
Exported directories are defined in /etc/exports
/data 192.168.10.0/255.255.255.0(sync)
Client-side NFS
(LINUX)
SWITCH
(LINUX) (UNIX)
BIBLIOGRAPHY
REFERENCES
Websites:-
1. www.redhat.com
2. www.linux.org
3. www.rpmfind.net
4. www.freshmeat.org