chbind(8)

chbind8

The chbind utility is used to lock a process and its children into using a specific ip number/interface.

Usage

chbind [--silent] [--ip ip_number/interface] <command arguments>

Overview

The chbind utility executes a command, and locks the resulting process and its children into using a specific IP number/Interface, no matter what it is told in it's configuration. This applies to services and client connection as well.

Options

--ip ip_number/interface

Binds the process to the given IP number or Interface. If an interface is supplied (for example eth0), both the IP number and broadcast address are extracted.

--bcast broadcast address

Binds the process to the given broadcast IP number.

--silent

Do not complain.

Files

/usr/sbin/chbind

Examples

If I wanted to ensure my httpd listened only on my eth0 interface, I could do: chbind --ip eth0 /etc/rc.d/init.d/httpd start

Please contribute some, if you feel it's important.

Releases

Unchanged in 7 releases since Debian 3.1 (Sarge).

  1. 3.1–10

Authors

This Man page was written by Klavs Klavsen <[email protected]> and based upon the helpful output from the program itself and the documentation on the Virtual Server site <http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&nodoc=0>

From util-vserver 0.30.216-pre3120-1.4+b11 in Debian 10 (Buster). Parsed by carta from the page's man source.