Formation networking, multi-tasking and BSPs: Linux security, networking and multi-tasking programming and network drivers - Systèmes d'Exploitation: Linux

ST3b - Linux networking, multi-tasking and BSPs

Linux security, networking and multi-tasking programming and network drivers

Goals

Learn advanced Linux application programming techniques multi-thread programming inter-process communications network access Master kernel development and debugging tools learn how to use and manage kernel threads Understand network drivers structure install and integrate network interface drivers in a program I/O, interruptions, timers and DMA adapt existing drivers sources Understand the Linux network security architecture netfilters iptables IPSec X509 certificates

Course material Linux PC for each group of 2 trainees Course slides CDROM with documentation and corrected exercises

Prerequisite Familiarity with Linux as a user General C programming familiarity Knowledge of basic Linux application programming

Plan

Day 1 ST3b - Linux networking, multi-tasking and BSPs 09/29/21

Overview & Architecture

Background Linux kernel architecture

Input-Output in applications

Standard input-output disk files input-output files Network programming sockets UDP and TCP protocols Asynchronous and multiplexed input-output

Time and signal handling

Signal handling User Timers

Day 2

Multitask programming

Processes the process concept process states "fork" and '"exec" calls processes security Inter Process Communication pipes mail boxes shared memory POSIX Threads threads mutexes and condition variables semaphores and pqueues signals

Linux and real-time

Real-time avolutions in Linux-2.6 Real-time add-ons RTLinux RTAI

Day 3

Linux kernel module development

Development tools ST3b - Linux networking, multi-tasking and BSPs 09/29/21 compilation tools kernel modules loading kernel modules version management kernel debugging Kernel modules configuration linux kernel compilation integration of drivers in kernel configuration files new dynamic installations Kernel memory management "buddy" and "slab" memory allocation algorithms drivers memory allocation areas dynamic allocation versus boot allocation Working with kernel threads

Linux network interface drivers

Automatic interface detection and configuration Network traffic packets transmission and reception sockets buffers address resolving link with protocols

Day 4

Access to hardware

Memory space protection I/O and memory addressing spaces physical memory mapping DMA management buffer allocation buffer mapping

Interrupts and exceptions

Interrupt architecture Interrupt Dispatch Table (IDT) initialization Fast & slow interrupt handlers nested interrupts interrupt line sharing

Linux kernel validation

Validation suites available for the Linux Kernel The Linux Test Project The Open POSIX Test Suite The test suite Use of Test suites for BSP validation

Day 5

Networking security with iptables and IPSec ST3b - Linux networking, multi-tasking and BSPs 09/29/21 IPSec tools available on Linux OpenSwan racoon Isakpmd Basic concepts of IPSec ESP: Encapsulated Security Payload AH: Authenticated Header Transport and tunneling modes Roadwarriors NAT traversal Manual key management SA: Security Association SP: Security Policy Automated key makagement the IKE protocol: Internet Key Exchange Using X509 certificates creating a self-signed certificate avec OpenSSL using IKE with X509 certificates IPSec tunnels iptables firwall configuration interaction with IPSec

Kernel aspects of iptables and IPSec

Kernel configuration Blocking packets with iptables Filtering packets with netfilter Interaction between iptables/netfilter and IPSec The Linux Crypto API Cryptographic engine interface

Renseignements pratiques

Durée : 5 jours Prix : 10000 € HT

SARL au capital de 138600 € - SIRET 449 597 103 00026 - RCS Nanterre - NAF 722C - Centre de Formation : 19, rue Pierre Curie - 92400 Courbevoie Siège social et administration : 21, rue Pierre Curie - 92400 Courbevoie - Tél. 01 41 16 80 10 - Fax. 01 41 16 07 78 Dernière mise à jour du site: Wed Sep 29 16:00:55 2021 https://www.ac6-training.com/