1PORTRESERVE(1) TCP port reservation utility PORTRESERVE(1)
2
3
4
6 portreserve - reserve ports to prevent portmap mapping them
7
9 portreserve
10
12 The portreserve program aims to help services with well-known ports
13 that lie in the bindresvport range. It prevents portmap (or other
14 programs using bindresvport) from occupying a real service's port by
15 occupying it itself, until the real service tells it to release the
16 port (generally in its init script).
17
18 It is intended that portreserve runs from an initscript of its own, and
19 services wishing to interact with it should use portrelease.
20
21 When the portreserve daemon is started, it examines the
22 /etc/portreserve/ directory. Each file not containing “.” or “~” in
23 its name is considered to be a service configuration file, and must
24 contain a service name (as listed in /etc/services) or a port number.
25 UDP services may be specified by appending "/udp" to the service name,
26 and TCP services by "/tcp". Several services may be specified, one per
27 line.
28
29 For example, /etc/portreserve/cups might contain the string “ipp” or,
30 equivalently, “ipp/tcp” and “ipp/udp” on separate lines.
31
32 For each service configuration file, a socket is created and bound to
33 the appropriate port. A service wishing to bind to its port must first
34 run portrelease, which instructs portreserve to release the port
35 associated with the service.
36
37 Once all the reserved ports have been released, the daemon exits.
38
40 /etc/portreserve/*
41 Service configuration files
42
43 /var/run/portreserve/socket
44 communication socket for portrelease
45
47 portrelease(1)
48
50 Tim Waugh <twaugh@redhat.com>
51 Author.
52
53
54
55portreserve 1 July 2008 PORTRESERVE(1)