LPIC-2 202 v4 0

From LPI Wiki
Revision as of 13:53, 17 January 2014 by GMatthewRice (Talk | contribs) (Created page with "__FORCETOC__ ==Introduction== This exam is part of the LPIC-2 program. ==Objectives: Exam 202== ===''Topic 207: Domain Name Server''=== ====<span style="...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This exam is part of the LPIC-2 program.

Objectives: Exam 202

Topic 207: Domain Name Server

207.1 Basic DNS server configuration (weight: 3)

Weight

3
Description Candidates should be able to configure BIND to function as a caching-only DNS server. This objective includes the ability to managing a running server and configuring logging.

Key Knowledge Areas:

  • BIND 9.x configuration files, terms and utilities
  • Defining the location of the BIND zone files in BIND configuration files
  • Reloading modified configuration and zone files
  • Awareness of dnsmasq, djbdns and PowerDNS as alternate name servers

The following is a partial list of the used files, terms and utilities:

  • /etc/named.conf
  • /var/named/*
  • /usr/sbin/rndc
  • kill
  • host
  • dig


207.2 Create and maintain DNS zones (weight: 3)

Weight

3
Description Candidates should be able to create a zone file for a forward or reverse zone and hints for root level servers. This objective includes setting appropriate values for records, adding hosts in zones and adding zones to the DNS. A candidate should also be able to delegate zones to another DNS server.

Key Knowledge Areas:

  • BIND 9 configuration files, terms and utilities
  • Utilities to request information from the DNS server
  • Layout, content and file location of the BIND zone files
  • Various methods to add a new host in the zone files, including reverse zones

The following is a partial list of the used files, terms and utilities:

  • /var/named/*
  • zone file syntax
  • resource record formats
  • dig
  • nslookup
  • host


207.3 Securing a DNS server (weight: 2)

Weight

2
Description Candidates should be able to configure a DNS server to run as a non-root user and run in a chroot jail. This objective includes secure exchange of data between DNS servers.

Key Knowledge Areas:

  • BIND 9 configuration files
  • Configuring BIND to run in a chroot jail
  • Split configuration of BIND using the forwarders statement
  • Configuring and using transaction signatures (TSIG)
  • Awareness of DNSSEC and basic tools

The following is a partial list of the used files, terms and utilities:

  • /etc/named.conf
  • /etc/passwd
  • DNSSEC
  • dnssec-keygen
  • dnssec-signzone



Topic 208: Web Services

208.1 Basic Apache configuration (weight: 4)

Weight

4
Description Candidates should be able to install and configure a web server. This objective includes monitoring the server's load and performance, restricting client user access, configuring support for scripting languages as modules and setting up client user authentication. Also included is configuring server options to restrict usage of resources. Candidates should be able to configure a web server to use virtual hosts and customise file access.

Key Knowledge Areas:

  • Apache 2.x configuration files, terms and utilities
  • Apache log files configuration and content
  • Access restriction methods and files
  • mod_perl and PHP configuration
  • Client user authentication files and utilities
  • Configuration of maximum requests, minimum and maximum servers and clients
  • Apache 2.x virtual host implementation (with and without dedicated IP addresses)
  • Using redirect statements in Apache's configuration files to customise file access

The following is a partial list of the used files, terms and utilities:

  • access logs and error logs
  • .htaccess
  • httpd.conf
  • mod_auth
  • htpasswd
  • AuthUserFile, AuthGroupFile
  • apache2ctl
  • httpd


208.2 Apache configuration for HTTPS (weight: 3)

Weight

3
Description Candidates should be able to configure a web server to provide HTTPS.

Key Knowledge Areas:

  • SSL configuration files, tools and utilities
  • Ability to generate a server private key and CSR for a commercial CA
  • Ability to generate a self-signed Certificate from private CA
  • Ability to install the key and Certificate
  • Awareness of the issues with Virtual Hosting and use of SSL
  • Security issues in SSL use

The following is a partial list of the used files, terms and utilities:

  • Apache2 configuration files
  • /etc/ssl/*, /etc/pki/*
  • openssl, CA.pl
  • SSLEngine, SSLCertificateKeyFile, SSLCertificateFile, SSLCertificateChainFile
  • SSLCACertificateFile, SSLCACertificatePath
  • SSLProtocol, SSLCipherSuite, ServerTokens, ServerSignature, TraceEnable


208.3 Implementing Squid as a caching proxy (weight: 2)

Weight

2
Description Candidates should be able to install and configure a proxy server, including access policies, authentication and resource usage.

Key Knowledge Areas:

  • Squid 3.x configuration files, terms and utilities
  • Access restriction methods
  • Client user authentication methods
  • Layout and content of ACL in the Squid configuration files

The following is a partial list of the used files, terms and utilities:

  • squid.conf
  • acl
  • http_access


208.4 Implementing Nginx as a web server and a reverse proxy (weight: 2)

Weight

2
Description Candidates should be able to install and configure a reverse proxy server, Nginx. Basic configuration of Nginx as a HTTP server is included.

Key Knowledge Areas:

  • Nginx
  • Reverse Proxy
  • Basic Web Server

The following is a partial list of the used files, terms and utilities:

  • /etc/nginx/
  • nginx



Topic 209: File Sharing

209.1 Samba Server Configuration (weight: 5)

Weight

5
Description Candidates should be able to set up a SAMBA server for various clients. This objective includes setting up Samba for login clients and setting up the workgroup in which a server participates and defining shared directories and printers. Also covered is a configuring a Linux client to use a Samba server. Troubleshooting installations is also tested.

Key Knowledge Areas:

  • Samba version 3 documentation
  • Samba configuration files
  • Samba tools and utilities
  • Mounting Samba shares on Linux
  • Samba daemons
  • Mapping Windows user names to Linux user names
  • User-Level and Share-Level security

The following is a partial list of the used files, terms and utilities:

  • smbd, nmbd
  • smbstatus, testparm, smbpasswd, nmblookup
  • smbclient
  • net
  • /etc/smb/*
  • /var/log/samba/


209.2 NFS Server Configuration (weight: 3)

Weight

3
Description Candidates should be able to export filesystems using NFS. This objective includes access restrictions, mounting an NFS filesystem on a client and securing NFS.

Key Knowledge Areas:

  • NFS version 3 configuration files
  • NFS tools and utilities
  • Access restrictions to certain hosts and/or subnets
  • Mount options on server and client
  • TCP Wrappers
  • Awareness of NFSv4

The following is a partial list of the used files, terms and utilities:

  • /etc/exports
  • exportfs
  • showmount
  • nfsstat
  • /proc/mounts
  • /etc/fstab
  • rpcinfo
  • mountd
  • portmapper



Topic 210: Network Client Management

210.1 DHCP configuration (weight: 2)

Weight

2
Description Candidates should be able to configure a DHCP server. This objective includes setting default and per client options, adding static hosts and BOOTP hosts. Also included is configuring a DHCP relay agent and maintaining the DHCP server.

Key Knowledge Areas:

  • DHCP configuration files, terms and utilities
  • Subnet and dynamically-allocated range setup

The following is a partial list of the used files, terms and utilities:

  • dhcpd.conf
  • dhcpd.leases
  • /var/log/daemon.log and /var/log/messages
  • arp
  • dhcpd


210.2 PAM authentication (weight: 3)

Weight

3
Description The candidate should be able to configure PAM to support authentication using various available methods.

Key Knowledge Areas:

  • PAM configuration files, terms and utilities
  • passwd and shadow passwords

The following is a partial list of the used files, terms and utilities:

  • /etc/pam.d
  • pam.conf
  • nsswitch.conf
  • pam_unix, pam_cracklib, pam_limits, pam_listfile


210.3 LDAP client usage (weight: 2)

Weight

2
Description Candidates should be able to perform queries and updates to an LDAP server. Also included is importing and adding items, as well as adding and managing users.

Key Knowledge Areas:

  • LDAP utilities for data management and queries
  • Change user passwords
  • Querying the LDAP directory

The following is a partial list of the used files, terms and utilities:

  • ldapsearch
  • ldappasswd
  • ldapadd
  • ldapdelete


210.4 Configuring an OpenLDAP server (weight: 4)

Weight

4
Description Candidates should be able to configure a basic OpenLDAP server including knowledge of LDIF format and essential access controls. An understanding of the role of SSSD in authentication and identity management is included.

Key Knowledge Areas:

  • OpenLDAP
  • Access Control
  • Distinguished Names
  • Changetype Operations
  • Schemas and Whitepages
  • Directories
  • Object IDs, Attributes and Classes
  • Awareness of System Security Services Daemon (SSSD)

The following is a partial list of the used files, terms and utilities:

  • slapd
  • slapd.conf
  • LDIF
  • slapadd
  • slapcat
  • slapindex
  • /var/lib/ldap/*
  • loglevel



Topic 211: E-Mail Services

211.1 Using e-mail servers (weight: 4)

Weight

4
Description Candidates should be able to manage an e-mail server, including the configuration of e-mail aliases, e-mail quotas and virtual e-mail domains. This objective includes configuring internal e-mail relays and monitoring e-mail servers.

Key Knowledge Areas:

  • Configuration files for postfix
  • Basic knowledge of the SMTP protocol
  • Awareness of sendmail and exim

The following is a partial list of the used files, terms and utilities:

  • Configuration files and commands for postfix
  • /etc/postfix/*
  • /var/spool/postfix
  • sendmail emulation layer commands
  • /etc/aliases
  • mail-related logs in /var/log/


211.2 Managing Local E-Mail Delivery (weight: 2)

Weight

2
Description Candidates should be able to implement client e-mail management software to filter, sort and monitor incoming user e-mail.

Key Knowledge Areas:

  • procmail configuration files, tools and utilities
  • Usage of procmail on both server and client side

The following is a partial list of the used files, terms and utilities:

  • ~/.procmailrc
  • /etc/procmailrc
  • procmail
  • mbox and Maildir formats


211.3 Managing Remote E-Mail Delivery (weight: 2)

Weight

2
Description Candidates should be able to install and configure POP and IMAP daemons.

Key Knowledge Areas:

  • Courier IMAP and Courier POP configuration
  • Dovecot configuration

The following is a partial list of the used files, terms and utilities:

  • /etc/courier/*
  • dovecot.conf



Topic 212: System Security

212.1 Configuring a router (weight: 3)

Weight

3
Description Candidates should be able to configure a system to perform network address translation (NAT, IP masquerading) and state its significance in protecting a network. This objective includes configuring port redirection, managing filter rules and averting attacks.

Key Knowledge Areas:

  • iptables configuration files, tools and utilities
  • Tools, commands and utilities to manage routing tables.
  • Private address ranges
  • Port redirection and IP forwarding
  • List and write filtering and rules that accept or block datagrams based on source or destination protocol, port and address
  • Save and reload filtering configurations
  • Awareness of ip6tables and filtering

The following is a partial list of the used files, terms and utilities:

  • /proc/sys/net/ipv4
  • /etc/services
  • iptables


212.2 Managing FTP servers (weight: 2)

Weight

2
Description Candidates should be able to configure an FTP server for anonymous downloads and uploads. This objective includes precautions to be taken if anonymous uploads are permitted and configuring user access.

Key Knowledge Areas:

  • Configuration files, tools and utilities for Pure-FTPd and vsftpd
  • Awareness of ProFTPd
  • Understanding of passive vs. active FTP connections

The following is a partial list of the used files, terms and utilities:

  • vsftpd.conf
  • important Pure-FTPd command line options


212.3 Secure shell (SSH) (weight: 4)

Weight

4
Description Candidates should be able to configure and secure an SSH daemon. This objective includes managing keys and configuring SSH for users. Candidates should also be able to forward an application protocol over SSH and manage the SSH login.

Key Knowledge Areas:

  • OpenSSH configuration files, tools and utilities
  • Login restrictions for the superuser and the normal users
  • Managing and using server and client keys to login with and without password
  • Usage of multiple connections from multiple hosts to guard against loss of connection to remote host following configuration changes

The following is a partial list of the used files, terms and utilities:

  • ssh
  • sshd
  • /etc/ssh/sshd_config
  • /etc/ssh/*
  • Private and public key files
  • PermitRootLogin, PubKeyAuthentication, AllowUsers, PasswordAuthentication, Protocol


212.4 Security tasks (weight: 3)

Weight

3
Description Candidates should be able to receive security alerts from various sources, install, configure and run intrusion detection systems and apply security patches and bugfixes.

Key Knowledge Areas:

  • Tools and utilities to scan and test ports on a server
  • Locations and organisations that report security alerts as Bugtraq, CERT, CIAC or other sources
  • Tools and utilities to implement an intrusion detection system (IDS)
  • Awareness of OpenVAS and Snort

The following is a partial list of the used files, terms and utilities:

  • telnet
  • nmap
  • fail2ban
  • nc
  • iptables


212.5 OpenVPN (weight: 2)

Weight

2
Description Candidates should be able to configure a VPN (Virtual Private Network) and create secure point-to-point or site-to-site connections.

Key Knowledge Areas:

  • OpenVPN

The following is a partial list of the used files, terms and utilities:

  • /etc/openvpn/*
  • openvpn