𝔖 Scriptorium
✦   LIBER   ✦

📁

Software Development with Go. Cloud-Native Programming using Golang with Linux and Docker

✍ Scribed by N. Tolaram


Year
2023
Tongue
English
Leaves
381
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: System Calls
Source Code
What Is a System Call?
C System Call
sys/unix Package
System Call in Go
Summary
Chapter 2: System Calls Using Go
Source Code
Syscall Package
syscall Application
Checking Disk Space
Webserver with syscall
ELF Package
High-Level ELF Format
Dump Example
/sys Filesystem
Reading AppArmor
Summary
Chapter 3: Accessing proc File System
Source Code
Peeking Inside procfs
Reading Memory Information
Peeking Network Information
Using the procfs Library
Code Sample
Inside the procfs Library
Summary
Chapter 4: Simple Containers
Linux Namespace
cgroups
rootfs
Gontainer Project
Summary
Chapter 5: Containers with Networking
Source Code
Network Namespace
Setting Up with the ip Tool
Containers with Networks
Summary
Chapter 6: Docker Security
Source Code
seccomp Profiles
libseccomp
Docker seccomp
Docker Proxy
Container Attack Surface
Summary
Chapter 7: Gosec and AST
Source Code
Abstract Syntax Tree
Modules
Sample Code
Inspecting
Parsing a File
gosec
Inside gosec
Rules
Summary
Chapter 8: Scorecard
Source Code
What Is Scorecard?
Setting Up Scorecard
Running Scorecard
High-Level Flow
GitHub
GitHub API
GitHub Explorer
Summary
Chapter 9: Simple Networking
Source Code
TCP Networking
TCP Client
TCP Server
UDP Networking
UDP Client
UDP Server
Concurrent Servers
Load Testing
Summary
Chapter 10: System Networking
Source Code
Ping Utility
Code Walkthrough
DNS Server
Running a DNS Server
DNS Forwarder
Pack and Unpack
Summary
Chapter 11: Google gopacket
Source Code
gopacket
Layer
TCP Layer
Packet
Using gopacket
pcap
Installing libpcap
Networking Sniffer
Code Walkthrough
Analyzing pcap Manually
Analyzing pcap Using WireShark
Capturing With BPF
Summary
Chapter 12: Epoll Library
Source Code
Understanding epoll
epoll in Golang
Epoll Registration
Epoll Wait
Epoll Library
Summary
Chapter 13: Vulnerability Scanner
Source Code
Vulnerability Scanners
Using Vuls
Checking Out the Code
Running Scan
Learning From Vuls
Port Scan
Exec
SQLite
Summary
Chapter 14: CrowdSec
Source Code
CrowdSec Project
Using CrowdSec
crowdsec.db
Learning From CrowdSec
System Signal Handling
Handling Service Dependencies
GeoIP Database
Summary
Chapter 15: ANSI and UI
Source Code
ANSI Escape Code
ANSI-Based UI
Color Table
Styling Text
Open Source Library
Gookit
Spinner
Summary
Chapter 16: TUI Framework
uiprogress
Code Flow
Updating Progress
Bubbletea
Init
Update
View
Summary
Chapter 17: systemd
Source Code
systemd
systemd Units
systemctl
Hello Server systemd
go-systemd Library
Querying Services
Journal
Machines
Summary
Chapter 18: cadvisor
Source Code
Running cAdvisor
Web User Interface
Architecture
Initialization
Manager
Monitoring Filesystem
Information from /sys and /proc
Client Library
Summary
Index


📜 SIMILAR VOLUMES


Software Development with Go: Cloud-Nati
✍ Nanik Tolaram 📂 Library 🏛 Apress 🌐 English

<p><span>Gain insights into the different challenges that can be solved using Go, with a focus on containers, Linux, security, networking, user interfaces and other relevant cloud based topics. This book reviews the necessary tools to create container-based cloud solutions with Go, a programming lan

Software Development with Go: Cloud-Nati
✍ Nanik Tolaram 📂 Library 🏛 Apress 🌐 English

<p><span>Gain insights into the different challenges that can be solved using Go, with a focus on containers, Linux, security, networking, user interfaces and other relevant cloud based topics. This book reviews the necessary tools to create container-based cloud solutions with Go, a programming lan

Cloud native programming with Golang dev
✍ Andrawos, Mina;Helmich, Martin 📂 Library 📅 2017 🏛 Packt Publishing 🌐 English

Discover practical techniques to build cloud-native apps that are scalable, reliable, and always available. About This Book Build well-designed and secure microservices. Enrich your microservices with continous integration and monitoring. Containerize your application with Docker Deploy your applica

Cloud native programming with Golang dev
✍ Andrawos, Mina;Helmich, Martin 📂 Library 📅 2017 🏛 Packt Publishing 🌐 English

Discover practical techniques to build cloud-native apps that are scalable, reliable, and always available. About This Book Build well-designed and secure microservices. Enrich your microservices with continous integration and monitoring. Containerize your application with Docker Deploy your applica

Cloud native programming with Golang dev
✍ Martin Helmich,Mina Andrawos,Jelmer Snoeck 📂 Library 📅 2017 🏛 Packt Publishing 🌐 English

Discover practical techniques to build cloud-native apps that are scalable, reliable, and always available. About This Book Build well-designed and secure microservices. Enrich your microservices with continous integration and monitoring. Containerize your application with Docker Deploy your applica