Part V. Technical Background

How Amanda really works ...

This section contains some papers which describe the technical concepts behind Amanda. You find descriptions of the various APIs as well as a basic draft of the internals of Amanda.

Table of Contents

22. How Amanda uses UDP and TCP ports
TCP port allocation
User TCP port range (--with-tcpportrange) summary
UDP port allocation
User UDP port range (--with-udpportrange) summary
Firewalls and NAT
23. Amanda dumper API
Introduction
The Problem
Overview of the API
The `support' command
The `selfcheck' command
The `estimate' and `estimate-parse' commands
The `backup' and `backup-parse' commands
The `index-from-output' and `index-from-image' commands
The `restore' command
The `print-command' command
Conclusion
24. Amanda Internals
Protocols
server and amandad on client
planner and driver
driver and dumper
taper(read) and taper(write)
25. Amanda Event API
Introduction
The API
event_register
event_release
event_loop
event_wait
event_wakeup
Data types
event_handle_t
event_id_t
event_type_t
event_fn_t
Event Types
EV_READFD
EV_WRITEFD
EV_SIG
EV_TIME
EV_WAIT
26. Amanda Security API
Introduction
The Problem
The API
protocol packet transmission functions
stream functions
Data Types
security_driver_t
security_handle_t
security_stream_t
security_status_t
SECURITY DRIVERS
name
connect
accept
close
sendpkt
recvpkt
recvpkt_cancel
stream_server
stream_accept
stream_client
stream_close
stream_auth
stream_id
stream_write
stream_read
stream_read_cancel
27. Virtual Tape API
28. Using Kerberos with Amanda
Amanda 2.5.0 - KERBEROS v4 SUPPORT NOTES
Configuration
Installation
conf file
Amanda 2.5.0 - KERBEROS v5 SUPPORT NOTES
Building
Installation
conf file
Destination Host Permissions file