From 72697649524238bd8389670e71c9faa55b7b4a1a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 13 Jun 2007 20:52:58 +0000 Subject: 2007-06-13 Havoc Pennington * dbus/dbus-server-socket.c (_dbus_server_listen_socket): support all_interfaces=true|false for tcp servers * dbus/dbus-sysdeps-unix.c (_dbus_listen_tcp_socket): support inaddr_any flag * bus/selinux.c: fix some missing includes * dbus/dbus-server-socket.c (_dbus_server_listen_socket): allow port to simply be omitted in addition to specifying 0 --- bus/dbus-daemon.1.in | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'bus/dbus-daemon.1.in') diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in index a657d285..ce623f8b 100644 --- a/bus/dbus-daemon.1.in +++ b/bus/dbus-daemon.1.in @@ -221,13 +221,22 @@ the last address given in first. That is, apps will try to connect to the last address first. .PP -A special case is using a port number of zero which means to -pick up a random free port. The real used port number could be retrieved -by using the --print-address command line parameter. +A special case is using a port number of zero (or omitting the port), +which means to choose an available port selected by the operating +system. The port number chosen can be with the --print-address command +line parameter and will be present in other cases where the server +reports its own address, such as when DBUS_SESSION_BUS_ADDRESS is set. .PP Example: tcp:host=localhost,port=0 +.PP +tcp addresses also allow an all_interfaces=true option, which will +cause the bus to listen on all local address (INADDR_ANY) and not only +the specified host. However, the specified host will still be used as +the reported address of the server. The specified host should be a +valid name of the local machine or weird stuff will happen. + .TP .I "" -- cgit