UNPKG

node-alljoyn

Version:
84 lines (59 loc) 2.93 kB
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- Copyright (c) 2014, AllSeen Alliance. All rights reserved. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --> <busconfig> <listen>unix:abstract=alljoyn</listen> <listen>launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET</listen> <listen>slap:type=uart,dev=/dev/ttyUSB0,baud=115200</listen> <listen>tcp:iface=*,port=9955</listen> <listen>tcp:addr=0.0.0.0,port=9955</listen> <listen>udp:iface=*,port=9955</listen> <listen>udp:addr=0.0.0.0,port=9955</listen> <listen>tcp:iface=lo,port=9955</listen> <listen>tcp:addr=127.0.0.1,port=9955</listen> <listen>udp:iface=lo,port=9955</listen> <listen>udp:addr=127.0.0.1,port=9955</listen> <listen>tcp:iface=eth0,port=9955</listen> <listen>tcp:addr=10.4.108.34,port=9955</listen> <listen>udp:iface=eth0,port=9955</listen> <listen>udp:addr=10.4.108.34,port=9955</listen> <limit name="auth_timeout">20000</limit> <limit name="max_incomplete_connections">16</limit> <limit name="max_completed_connections">32</limit> <!-- Exclude from bundled router --> <limit name="max_untrusted_clients">0</limit> <flag name="restrict_untrusted_clients">true</flag> <!-- Need to allow multiple router advertisement prefixes and need to be able to limit them to certain transports. --> <property name="router_advertisement_prefix">org.alljoyn.BusNode.</property> <policy context="default"> <deny user="*"/> <deny own="*"/> <deny send_type="method_call"/> <allow send_type="signal"/> <allow send_type="method_return"/> <allow send_type="error"/> <allow send_destination="org.freedesktop.DBus"/> <allow receive_sender="org.freedesktop.DBus"/> <allow send_interface="org.alljoyn.Bus.Peer.Session"/> <allow user="jethro"/> </policy> <policy user="jethro"> <allow send_type="method_call"/> <allow send_type="signal"/> <allow send_type="method_return"/> <allow send_type="error"/> <allow own_prefix="test"/> </policy> </busconfig>