portreserve - Port reservation program

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename portreserve_0.0.4-1build1_amd64.deb
Package name portreserve
Package version 0.0.4
Package release 1build1
Package architecture amd64
Package type deb
Category universe/admin
Homepage http://cyberelk.net/tim/portreserve/
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 14.49 KB
Installed size 48.00 KB
The portreserve program aims to help services with well-known ports
that lie in the bindresvport() range (currently 600-1023).
It prevents programs requesting a port to the libc from occupying
a real service's port by occupying it itself, until the real service
tells it to release the port (generally in its init script).


Package Version Architecture Repository
portreserve_0.0.4-1build1_i386.deb 0.0.4 i386 Ubuntu Universe
portreserve - - -


Name Value
libc6 >= 2.15


Type URL
Mirror archive.ubuntu.com
Binary Package portreserve_0.0.4-1build1_amd64.deb
Source Package portreserve

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install portreserve deb package:
    # sudo apt-get install portreserve




2018-04-03 - Balint Reczey <rbalint@ubuntu.com>
portreserve (0.0.4-1build1) bionic; urgency=high
* No change rebuild to pick up -fPIE compiler default
2010-02-18 - Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
portreserve (0.0.4-1) unstable; urgency=low
* New upstream release:
* Use debhelper compatibility version 5
* Fix dh_installinit call in debian/rules to start portreserve before portmap
(Closes: #522947)
* Stop portreserve in runlevel 1
* Minor changes in debian/README.Debian
* debian/portreserve.init:
- Do not create the /var/run/portreserve (where the socket is created)
in the package but, instead, do it in the init script when starting.
- Remove $network from init as it is not really required
2008-08-09 - Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
portreserve (0.0.3-1) unstable; urgency=low
* New upstream release:
- integrates the patches to portreserve.c to handle pidfiles.
- fixes behaviour so that it reserves both TCP and UDP ports.
- allows specification of protocols in the configuration file.
* Fix lintian warning due to overlong line at debian/copyright
2008-03-11 - Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
portreserve (0.0.0-6) unstable; urgency=low
* Add --no-start call to dh_installinit so that the portreserve script is
not installed after postinst. This prevents the postinst from breaking if
portreserve is configured and upgraded when other daemons are already 
holding on to the ports it is configured to reserve (Closes: #464608)
* Use LSB functions in init.d script
2007-12-02 - Javier Fernandez-Sanguino Pen~a <jfs@debian.org>
portreserve (0.0.0-5) unstable; urgency=low
* Move Homepage to header of debian/control file
* Add LSB headers to the init script
2007-05-04 - Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
portreserve (0.0.0-4) unstable; urgency=low
* Use patch provided by Felix Engel to make it possible to create
a service at /etc/portreserve/ using the port number (Closes: #422192)
2006-02-25 - Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
portreserve (0.0.0-3) unstable; urgency=low
* Applied patch from Matt Brown <debian@mattb.net.nz> :
* Adjusted debian/copyright to include libslack copyright and license (GPL)
* Create /etc/portreserve on installation, although it's not handled by 
the package scripts (other packages can drop files there).
[ Matt Brown ]
* Fixed minor init script bugs (Closes: #352103)
- Use -z instead of -n to test list of service files
- Use $NAME instead of the undefined $prog in the pidfile name
* Make portreserve handle pidfiles using daemon_lock_pidfile and 
fcntl_lock taken from libslack:
- Check for existance of pidfile on startup, fail if already running
- Create pidfile on startup
- Remove pidfile when program exits cleanly
[ Javier Fernandez-Sanguino ]
* Enhance init script:
- stale pidfiles are removed (in case we switch runlevels and 
all services were portreleased or /var/run/ was not cleaned or
portreserve did not clean up properly on release).
- Use the exit status of start-stop-daemon to determine if we
succeeded, also, wait a bit before checking the running status
on fast systems the init.d script might trigger a 
race condition and think that the daemon has not started yet
* Make portreserve cleanup the pidfile on SIGINT, SIGTERM, and SIGKILL
* Make portreserve generate the pidfile even if working on debug mode
2005-11-07 - Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
portreserve (0.0.0-2) unstable; urgency=low
* Added xmlto to Build-Depends (Closes: #337848)

See Also

Package Description
portsentry_1.2-14build1_amd64.deb Portscan detection daemon
posh_0.13.2_amd64.deb Policy-compliant Ordinary SHell
posixtestsuite_1.5.2-8_amd64.deb POSIX conformance test suite report log
post-el_2.6-2_all.deb emacs major mode for editing mail
postal_0.75_amd64.deb SMTP benchmark - the mad postman
postbooks-schema-common_4.11.3-1_all.deb multi-user accounting / CRM / ERP suite (demo database)
postbooks-schema-demo_4.11.3-1_all.deb multi-user accounting / CRM / ERP suite (demo database)
postbooks-schema-empty_4.11.3-1_all.deb multi-user accounting / CRM / ERP suite (empty database)
postbooks-schema-quickstart_4.11.3-1_all.deb multi-user accounting / CRM / ERP suite (quickstart database)
postbooks-updater_2.4.0-6_amd64.deb multi-user accounting / CRM / ERP suite (database update manager)
postbooks_4.11.3-2_amd64.deb multi-user accounting / CRM / ERP suite (GUI)
poster_20050907-1.1_amd64.deb Create large posters out of PostScript pages
posterazor_1.5.1-2build1_amd64.deb splits an image across multiple pages for assembly into a poster
postfix-gld_1.7-8_amd64.deb greylisting daemon for postfix, written in C, uses MySQL
postfix-lmdb_3.3.2-4_amd64.deb LMDB map support for Postfix