Postfix Edition
Details
Release Info
The Big Four, and no not of Accounting; rather, of Message Transfer Agents (MTA). The list of prestige includes: Sendmail, Postfix, qMail and Exim. Postfix levels the field with its ease of configuration, breadth of features, and, of course it's speed, reliability, stability and scalability. In this release, we explore the nuances of Postfix MTA.Release Syllabus
Postfix Version 2x MTA
LinuxCBT Postfix Edition - Module II
- Postfix - Installation
- Identify a geographically close Postfix mirror location
- Discuss Postfix nomenclature
- Download Postfix
- Import PGP-compatible key to verify downloaded source archive
- Verify Postfix source archive against imported signature
- Extract Postfix source archive
- Identify existing system MTA configuration
- Explore Postfix source tree
- Discuss pre-requisites
- Identify Sendmail-compatible binaries to backup
- Add required Postfix user and groups
- Compile & install Postfix
- Identify key directories and binaries
- Alter key Postfix configuration files for basic operation
- Postfix - Local Mail & Queueing
- Define local domains in main configuration file
- Define Fully Qualified Domain Name (FQDN) of Postfix Host
- Confirm running Postfix TCP (super server) Manager
- Explore current running directives with postconf
- Alter configuration to enable local aliases
- Use sendmail-compatible binary to inject messages into the local queue
- Confirm delivery via default Syslog location
- Identify default mbox-based mailstore
- Use MUA mutt to verify delivery of local mail
- Discuss & explore various Postfix queues
- Explain how Postfix implements local injection
- Explain how Postfix handles SMTP-based mail
- Postfix - Aliases
- Discuss concepts and applications for aliases
- Identify required aliases
- Describe Sendmail-compatible alias types
- Define 1-to-1 aliases
- Define list-based aliases
- Test aliases delivery
- Discuss per-user aliases (.forward) file
- Define per-user .forward file with redirection to vacation program
- Test delivery and auto-response
- Discuss how mail is routed into the file system (maildrop) while Postfix is up/down
- Identify binaries responsible for local mail injection (pickup/cleanup)
- Postfix - Simple Mail Transfer Protocol (SMTP)
- Confirm the existence of remote recipients
- Inject mail for delivery to remote Linux Host
- Review Postfix delivery report generated upon invocation of verbose mode
- Confirm delivery of remote mail to remote Linux Host
- Use MUA mutt to reveal and explore the headers of SMTP-based mail
- Explore name resolution order file & discuss logic
- Configure Postfix to receive mail to second-level domain plus FQDN
- Simulate Postfix name resolution process at delivery-time
- Expose current Mail Exchanger (MX) Host for the second-level domain
- Postfix - Rewriting Features - Canonical Maps - BCC Maps
- Discuss default configuration
- Examine envelope headers
- Configure Postfix to masquerade outbound messages
- Test masqueraded envelope by generating new mail
- Discuss canonical maps concepts & applications
- Explain corresponding rewrite binaries
- Define canonical maps in Ascii format
- Use Postmap to generate DB-formatted canonical maps
- Instruct main.cf to employ canonical maps database
- Test address rewriting using canonical maps
- Confirm message delivery via Syslog-generated logs
- Examine the headers of delivered message altered using canonical maps & myorigin
- Define & test sender canonical maps
- Define & test recipient canonical maps
- Configure Postfix to BCC all messages to specified recipients
- Test messages between various users to ensure BCC functionality
- Configure Postfix to BCC messages based on specific senders
- Define Sender BCC maps using editor and Postmap to generate Hashed DB
- Postfix - Relay Control
- Explore & discuss default relay behavior
- Identify key relay-related directives
- Connect to remote Windows 2003 Host and attempt to relay
- Confirm DNS resolution of Postfix relay host
- Attempt relay to recipient on relay host & confirm path via logs
- Attempt relay to recipient on foreign host & confirm delivery
- Tighten default Postfix relay policy to restrict relaying to local subnet
- Attempt local subnet and Internet-based relays & confirm results
- Use SMTP commands to expose features supported by Postfix MTA
- Discuss SMTP Auth pre-requisites
- Recompile Postfix to support SMTP Auth
- Configure Postfix with SMTP Auth to restrict relaying by users vs. IP or hostname
- Confirm support of SMTP Auth using standard STMP commands
- Configure Outlook Express client to support SMTP Auth
- Attempt to relay based on SMTP Auth support
- Permit relaying of non-local domains based on relay domains
- Define additional second-level domain for relaying
- Configure relaying of non-local domains using hashed Berkeley DB maps
- Discuss Postfix transport maps concepts and applications
- Define transport maps for domains to bypass DNS MX lookups
- Update receiving Postfix host to support transport maps
- Confirm delivery of messages to additional domains defined in transport maps
- Configure Postfix as a Backup Mail Exchanger (MX) host and confirm delivery during failure
- Postfix - Smart Host & Null Client configuration
- Discuss Smart Host concepts and applications
- Define the Postfix Smart Host
- Define the Postfix Smart Host client
- Test local delivery and confirm delivery
- Test delivery of Internet-based message which requires Smart Host
- Confirm delivery via logs and remote SSH session
- Discuss Null client concepts and applications
- Internet -> DMZ -> Corporate Backbone Mail Repository
- Disable local mail delivery on Postfix host
- Configure Postfix to function as a null client
- Test results of null client delivery
- Postfix - Virtual Domains
- Discuss default domains handled by Postfix
- Attempt IP-address based delivery
- Explore the mydestination parameter
- Alter BIND configuration to route messages for basic virtual domain
- Configure Postfix to map individual users to domains
- Define individual virtual domains hash
- Define virtual domains user hash
- Generate hashed virtual domains and virtual user databases
- Confirm routing of messages to appropriate users
- Define catchall addresses for non-matching users and/or aliases
- Use Postmap to query virtual users and determine delivery path
- Postfix - Mailbox Formats
- Explore default mbox configuration location and permissions
- Describe mbox format
- Explore environment configuration variables related to mail delivery
- Test delivery of mbox-bound messages using mutt & Postfix
- Discuss Maildir message storage format
- Configure Postfix to deliver messages using Maildir message format
- Examine Postfix-created Maildir structure after mail delivery
- Alter shell environment to support Maildir format with desired MUA
- Postfix - Network-based Mail Retrieval
- Discuss Courier IMAP framework
- Identify and install pre-requisites
- Download, compile, and install Courier Authentication Library Daemon
- Identify Courier Authentication key directories, binaries and configuration file
- Download and install Courier IMAP Daemon
- Explore Courier IMAP binary directory tree
- Discuss Courier framework
- Configure Courier for POP3 mail retrieval
- Confirm retrieval using Windows 2003 - Outlook Express client
- Identify POP3 Secure configuration files
- Generate self-signed certificate for use with POP3 Secure communications
- Confirm retrieval of messages using Outlook Expres and POP3 Secure
- Establish run-level symbolic links for POP3 & POP3S services
- Configure Courier for IMAP mail retrieval
- Confirm retrieval using Windows 2003 - Outlook Express client
- Generate self-signed certificate for use with IMAP Secure communications
- Establish run-level symbolic links for IMAP & IMAPS services
- Postfix - Web-based Mail Retrieval
- Discuss Web-based SquirrelMail pre-requisites
- Enable Apache web server
- Download and Install SquirrelMail into web-accessible location
- Secure data and attachments directories
- Configure SquirrelMail for initial use with Courier IMAP
- Address PHP session-related issues
- Explore SquirrelMail from the browser as various Linux users
- Confirm deliver using multiple clients - (mutt/Outlook Express/SquirrelMail/Local Injection)
- Postfix - Malware Framework
- Dowload MailScanner
- Download Clam Anti-Virus (ClamAV)
- Download SpamAssAssin
- Download, compile & install zlib
- Clam Anti-Virus (ClamAV) Implementation
- Create required user and group
- Compile & install ClamAV
- Identify key ClamAV binaries
- Update ClamAV configuration files for basic operation
- Update ClamAV definitions
- Configure system Crontab to update virus definitions every hour
- Confirm scheduled virus definition updates 24 hours later
- Create required user and group
- SpamAssAssin Implementation
- Illustrate message flow from remote SMTP system through our Malware Framework
- Download SpamAssAssin from Apache Foundation
- Extract & discuss SpamAssAssin source tree
- Compile and install Perl-based SpamAssAssin
- MailScanner Implementation
- Download, compile and install the current MailScanner malware engine
- Explore MailScanner source and binary trees
- Explore MailScanner.conf configuration file - discuss important directives
- Update MailScanner to support Postfix MTA
- Configure Postfix MTA to route inbound messages into temporary queue for processing
- Invoke MailScanner malware engine and confirm
- Debug incidentals related to invalid configuration directives and missing components
- Malware Framework - MUA -> MTA -> MailScanner -> ClamAV -> SpamAassAssin -> MTA -> Maildir/Mailbox
- Send sample malware through the malware framework & confirm detection
- Send sample spam through the malware framework & confirm detection
- Configure MailScanner to affix outbound Corporate Signatures - Legalise - to all messages based trusted configuration
- Postfix - Log Analysis
- Download AWStats log analysis application
- Configure AWStats to function in current Apache Web Server environment
- Discuss AWStats features and applications
- Configure AWStats to process Postfix MTA Logs
- Explore AWStats' web-based interface
- Postfix - Transport Layer Security (TLS)
- Discuss benefits
- Obtain latest sources
- Configure TLS support
- Confirm secure message delivery
- Evaluate results
- Postfix - SMTP AUTH - Dovecot
- Discuss benefits
- Configure SMTP Auth & TLSsupport
- Authenticate client requests
- Confirm secure message delivery
- Evaluate results
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5Sums Edition
Details
Release Info
Checksums ensure data-integrity, at-rest, cross-transit, and ultimately at-rest. Use them to verify Content as needed.Release Syllabus
Sums
- Various Tools
- Remote Confirmations
- File Metadata
- File Fragments
- Compress Content
- Archive Content
- DIR Hierarchy
- Password Sums
- Shared Secret
- Restrict History
- Downloaded Content
- Encrypt Content
- Site Credentials
- Site COOKIE
- Site COOKIE - Unique
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5Cent9x-Stream Edition
Details
Release Info
CentOS offers a visage into the world of Red Hat Enterprise Linux (RHEL). It is a fork. Unlike its Enterprise counterpart, there are fewer encumbrances, especially vis-à-vis the all-too-important frequently required software updates. Use CentOS to align your Applications and Services with RHEL.Release Syllabus
CentOS9x Stream Administration
- Initial Environment
- ls, pwd, cd, cp, mv, rm, mkdir, rmdir, whoami
- alias, cat, file, chmod, chown, history
- STD(IN|OUT), Pipes, Redirection, Command Chaining
- ps, df, top, free
- Pagers, W-Commands
- Checksums
- Awk | Sed | Grep Usage
- BASH SHELL Environment
- Compression | Archival Tools
- SSH Equivalence
- SHELL Quoting
- Propagate Environment
- Secure Clients
- Identify Standard File Types
- Standard File Permissions
- Symbolic Links
- Transfer Permissions
- Identify SWAP environment
- Provision dedicated SWAP partitions
- Add | Remove SWAP from pool as needed
- Provision File System-based SWAP
- SWAP Share
- SWAP Persistence
- Identify default storage configuration
- Provision new storage as needed
- XFS - File System
- XFS - Grow File System
- Identify LVM defaults
- Add new partitions to LVM management
- Allocate storage to LVM Volume Groups
- Create Logical Volumes (LVs) as needed
- Overlay File System and mount where applicables
- LVM - Resize
- LVM - Mixed FS
- LVM - SWAP
- Features
- Install
- Defaults
- General Usage
- Update Accounts
- Defaults
- Shared PASS Gen
- Unique PASS Gen
- Encrypted PASS Gen
- Update Accounts
- Groups
- Discuss features | limitations
- Identify default system-wide schedule
- Peruse various default Cron Jobs
- Schedule simple job and monitor recurrence
- Evaluate results
- Peruse Default CONF
- Discuss Syslog Rules
- Explore Log Rotate defaults
- Ensure rotated logs are compressed
- Extend default retention scheme
- Force Log Rotation as needed
- Explore Default environment
- Install PKGs
- Dump important metadata from packages
- Apply Updates
- Default CONF
- Add | Confirm IPs as needed
- Install
- Copy Configuration
- SELinux - Confirm
- TLS | SSL Services
- cURL Client Tests
- Virtual Hosts
- ENC Sites Only
- SFTP Only USER
- SFTP Only USER - NOLOGIN
- SFTP Only Group - Control
- NMap Intro
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5SysLogD Edition
Details
Release Info
Traditional visibility into daemon | service | program communications, activities, errors, etc., relies upon SysLOG. SysLog has migrated over the years towards JournalD via SystemD services, however, SysLOG remains intrical to many services within and without Nix Instances. In this edition, explore some of the key features of rSysLogD, the defacto SysLOG engine.Release Syllabus
SysLOG with rSysLogD
- Discuss Features
- Default Environment
- Kernel Firewall LOG
- Split LOGs by Priorities
- UDP | TCP Logging
- Dual L4 Logging
- Multiple Hosts
- Basic Queueing
- Reliable Event Logging Protocol (RELP)
- RELP - Remote Only
- RELP Only
- Traditional to RELP
- SysLOG Clear-Text - Confirm
- Property Filters
- Expression Filters
- Relay Chain
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5NFTables Edition
Details
Release Info
NFTables (nft) provides a streamlined packet classification environment.Release Syllabus
Netfilter Tables
- Features
- SSHGuard
- Ruleset Basics
- Persistence
- Sample Rules
- Inbound Filtering
- Dormant Table
- Manage Tables | Chains | Rules
- Counters
- Sets
- LOG Basics
- LOG with Sets
- Closed-Port LOGs
- LOG Options
- Re-Route LOGs
- Jump Targets
- Chain Jumping
- GoTo Chains
- Meta Selectors
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5Deb12x Edition
Details
Release Info
Among the longstanding and well-maintained Distros is Debian. Its 'apt' package management framework is legendary; as is its commitment to supply por gratis, recurring security updates over a long horizon. Indeed, this distinguishes Debian and its relatives as the leading Linux Distros available.Release Syllabus
Debian 12x Administration
- Features
- Download
- Graphical Install
- Text Install
- Post-Install Tweaks
- Explore usage of the following useful commands
- tty | /dev/pts | w | whoami | who
- set | env | export | unset
- cat | echo | touch | rm
- pwd | ls | cd | mkdir | alias | umask
- head | tail
- dd
- find
- history
- STDIN, STDOUT, STDERR, UNIX Pipes, Redirection, Command Chaining
- ps, df, free, top, dd
- stat, which, w, who
- tar | gzip | bzip2 | xz
- ZSH Setup
- Explore SSH defaults
- Use SSH to connect to targets
- Transfer data with: scp | sftp | rsync
- Explain common Linux file permissions
- chmod | chgrp | chown
- Discuss various Linux file attributes | features
- SETUID | SETGID | STICKY Bit
- SymLinks: Hard | Soft
- Features
- useradd | adduser | usermod | userdel
- groupadd | groupmod | groupdel
- Create $USERs in Parallel
- $USER Passwords | mkpasswd | python3
- Generate Random Passwords
- Store Randomly-generated Passwords for Reference
- Encrypted Pass - Unique Users
- Default SHELL
- NO TTY Access
- Disable SSH Access
- Features
- Installation Defaults: File System Table
- Provision Storage
- GPT Label | Create Partition(s) | File System | Mount | Persistence
- Duplicate Drives
- Duplicate Varied Sizes
- Online Resizing (Up-Sizing)
- Provision SWAP
- Logical Volume Management (LVM)
- LVM Features
- Allocate Storage to LVM
- LVM | VG Resizing
- Fix sudo PATH
- Point-Release Upgrade
- Cron Features
- Cron Job Execution
- Journal Control Features
- Booted Kernels
- SystemD Features
- Explore default APT configuration
- Identify commonly-used package management tools
- Enumerate installed packages
- Identify package owners based on system binaries
- Discuss 'apt' and 'dpkg' options
- Install | Remove various packages
- Network Tools | IP Configuration
- Examine default IP configuration
- Extend IP configuration to facilitate additional addresses
- Static IP Config
- Dual: Dynamic | Static Config
- Multiple Interfaces
- Dual Network Services
- Confirm communications
- Features
- Restrict $USER to SFTP Access
- Confirm limited $SHELL
- SFTP-Only Group
- SFTP-Only Password AUTH
- Identifiy key NMAP configuration files
- Identify commonly used NMAP options/switches/parameters
- Scan Server resource
- Perform default TCP Connect-based ethical scans of local and remote resources
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5PHP-One-Liners Edition
Details
Release Info
PHP is more commonly known as a CGI processor; for Web-Applications. Perhaps you could call it a Middle-Tier. However, PHP also offers simple, but powerful CLI processing for common needs often provided via a hodgepodge of well-known $SHELL utilities. Either way, PHP makes it facile to achieve accounting where necessary, and simply via One-Liners.Release Syllabus
PHP One-Liners
- General Usage
- Count Lines
- Word Count
- Count Chars
- Split Lines into ARRAY
- Count Instances of Fields
- Transform Delimiters
- Anonymize LOGs
- Extract Unique SRCs
- Lines by Error Code
- LOG By Code
- Summarize Error Codes
- Pre-Seed Error Codes
- Random Strings
- Varied Passwords
- Expose Undefined Passwords
- Outdated Passwords
- Hash | Un-Hash
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5GlusterFS Edition
Details
Release Info
GlusterFS provides simple, cost-effective, scalable and reliable network-distributed volume | disk aggregation services. Quickly and effectively allocate storage for your applications with GlusterFS.Release Syllabus
Cloud Storage with GlusterFS
- Discuss Features:
- Default Volume Type
- Common Volume Types
- Transport Types
- File System Support
- Storage Model
- Features
- Provision Storage
- Allocate GlusterFS Brick
- Persistence
- Generate IO
- Multiple File Systems
- Various Sizes
- Stop | Remove Volume
- Reconstitute Volume
- Server Mount
- Evaluate
- Features
- Provision Storage
- Partition | FS | Mount | Brick
- Extend Volume
- Monitor IO Distribution
- Shrink Volume
- Confirm Reallocation
- Remove Bricks
- Add | Replace Bricks
- Confirm Data Transfer
- UUID Mounts
- Migrate Mounts
- Features
- Probe Storage Instances
- Provision Storage
- Extend Shared Volume
- Mount any Server
- List Storage Spread
- Dismantle Volume
- Confirm Data-Availability
- Volume Reconstruction
- Features
- Existing Bricks
- Re-Use Allocated Storage
- Define New Bricks
- Create Volume
- Generate | Monitor IO
- Fail NODEs
- Evaluate
- Features
- Explore Environment
- Create New Replica Volume
- Mount on Web Servers
- Ensure Persistence
- Update NginX Web Server Config
- Fetch Content
- Down Storage NODE | Test
- Restore NODE | Confirm Content
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5OpenPGPII Edition
Details
Release Info
GPG - OpenPGP - Provides a standard PKI Framework, supporting common Algorithms, for securing your data at-rest and in-transit.Release Syllabus
OpenPGP with GPG
- Discuss Features:
- Primary Tool
- Private | Public Keys
- Public Key Cryptography Standards (PKCS)
- Encryption | Decryption
- Signing | Verification
- Features
- General Usage
- Create Content
- Encrypt
- PassPhrase Protect
- Binary | Text Encryption
- Share
- Decrypt
- Features
- Vary Algos
- Compare Results
- Caveats
- Random PassPhrases
- Store PassPhrases
- Encrypt | Decrypt | Confirm
- Use Case
- Generate Keypairs
- Export | Import
- Share
- Sign
- URI Import
- Features
- Identify Public Keys
- Encrypt to Recipients
- Vary Key Identifcation
- Share Content
- Confirm Decryption
- Confirm Invalid Recipient
- Features
- Encryption | Decryption Distinction
- Sign | Share Content
- Confirm Signatures
- Missing Public Key
- Sign | Encrypt | Decrypt | Verify
- Encrypt | Sign | Verify | Decrypt
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5SSL-TLS Edition
Details
Release Info
Transport Layer Security (TLS) provides standards-based asymmetric and symmetric cryptographic solutions for your application needs.Release Syllabus
SSL-TLS with OpenSSL
- Discuss Features:
- Primary Tool
- Private | Public Keys
- Certificate Signing Requests (CSRs)
- Self-Signed Certificates
- Public Key Cryptography Standards (PKCS)
- Encryption | Decryption
- Random String Generation
- Message Digests
- SSL-TLS Client
- Features
- General Usage
- Retrieve Site Certificates
- Determine OCSP Configuration
- Probe supported TLS Versions
- Extract Certificate for local usage
- Retrieve Certificate with NMap
- Retrieve Certificate Chain
- Fetch Certificate
- x509 Query Fields
- Fingerprints
- One-Liner
- Export Public Key from Certificate
- Dump Public Key
- Generate Random Bytes
- Yield various Formats
- Create Random Files on Target
- Define Random $USERs
- Track defined $USERs
- Features
- Generate Digests
- Install SHA3-SUM
- Vary Content
- Compare Digests
- Remote Digests
- Store Digests
- Features
- Common Algorithms
- Generate Multiple Private Keys
- Export Public Keys
- Confirm Keys
- Remove and Re-Export Public Keys
- Generate Non-Default RSA Keys
- Password-Protected Keys
- Share PRIV_KEY and Confirm
- Features
- Base64 Encode | Decode
- AES-256 Encryption | Decryption
- Base64 Representation
- Decode | Decrypt
- Deterministic Examples
- Asymmetric Encrypts | Decrypts
- Features
- "pkeyutl" Sub-Command
- RSA Signatures
- ED(448|25519) Signatures
- RSA-PSS Signatures
- Eliptical Curve Signatures
- "-rawin" effect
- Encrypt | Sign | Verify | Decrypt
- Sign | Encrypt | Decrypt | Verify
- Discuss
- Generate Private Keys
- Generate Correlating CSRs
- Confirm Keys | CSRs
- Self-Signed Certificates
- Generate
- CA Store
- Root CA
- Various ALGOs
- Internal Domain
- SYMLINK Keys
- Password-Protected PRIV_KEY
Tokyo Time
16:9Rate
1.25xWatched
1Completed
1 of 5$SHELL-Vars Edition
Details
Release Info
The $SHELL (all incarnations), provide a plethora of useful mechanisms that facilitate smoother and more automated operations. Core to reduced computing friction is $SHELL-Mastery.Release Syllabus
SHELL Variables
- Discuss Features
- Terminal (TTY)
- CLI Arguments
- Process ID
- Backgrounded
- SHELL Local
- Environment
- Persistence
- Aliases
- Command Substitution
- Increment | Decrement
- Dynamism