|
Revision 2, 1.5 kB
(checked in by ensc, 5 years ago)
|
initial checkin
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
.TH "chbind" "8" "0.1.0" "Klavs Klavsen <kl@vsen.dk>" "System Administration" |
|---|
| 2 |
.SH "NAME" |
|---|
| 3 |
.LP |
|---|
| 4 |
chbind \- The chbind utility is used to lock a process and its children into using a specific IP number/Interface. |
|---|
| 5 |
.SH "SYNTAX" |
|---|
| 6 |
.LP |
|---|
| 7 |
chbind [\fI\-\-silent\fP] [\fI\-\-ip ip_number/interface\fP] <\fIcommand arguments\fP> |
|---|
| 8 |
.SH "DESCRIPTION" |
|---|
| 9 |
.LP |
|---|
| 10 |
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. |
|---|
| 11 |
.SH "OPTIONS" |
|---|
| 12 |
.LP |
|---|
| 13 |
.TP |
|---|
| 14 |
\fB\-\-ip\fR ip_number/interface |
|---|
| 15 |
Binds the process to the given IP number or Interface. If an interface |
|---|
| 16 |
is supplied (for example eth0), both the IP number and broadcast address |
|---|
| 17 |
are extracted. |
|---|
| 18 |
.TP |
|---|
| 19 |
\fB\-\-bcast\fR broadcast address |
|---|
| 20 |
Binds the process to the given broadcast IP number. |
|---|
| 21 |
.TP |
|---|
| 22 |
\fB\-\-silent\fR |
|---|
| 23 |
Do not complain. |
|---|
| 24 |
|
|---|
| 25 |
.SH "FILES" |
|---|
| 26 |
.LP |
|---|
| 27 |
\fI/usr/sbin/chbind\fP |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
.SH "EXAMPLES" |
|---|
| 31 |
.LP |
|---|
| 32 |
If I wanted to ensure my httpd listened only on my eth0 interface, I could do: |
|---|
| 33 |
chbind \-\-ip eth0 /etc/rc.d/init.d/httpd start |
|---|
| 34 |
.LP |
|---|
| 35 |
Please contribute some, if you feel it's important. |
|---|
| 36 |
.SH "AUTHORS" |
|---|
| 37 |
.LP |
|---|
| 38 |
This Man page was written by Klavs Klavsen <kl@vsen.dk> 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> |
|---|
| 39 |
.SH "SEE ALSO" |
|---|
| 40 |
.LP |
|---|
| 41 |
chcontext(8) rebootmgr(8) reducecap(8) |
|---|
| 42 |
vps(8) vpstree(8) vrpm(8) vserver(8) |
|---|
| 43 |
vserver\-stat(8) vtop(8) |
|---|