1#
2# Access control file for XDMCP connections
3#
4# To control Direct and Broadcast access:
5#
6#	pattern
7#
8# To control Indirect queries:
9#
10# 	pattern		list of hostnames and/or macros ...
11#
12# To use the chooser:
13#
14#	pattern		CHOOSER BROADCAST
15#
16# or
17#
18#	pattern		CHOOSER list of hostnames and/or macros ...
19#
20# To define macros:
21#
22#       %name		list of hosts ...
23#
24# To control which addresses xdm listens for requests on:
25#
26#	LISTEN		address [list of multicast groups ... ]
27#
28# The first form tells xdm which displays to respond to itself.
29# The second form tells xdm to forward indirect queries from hosts matching
30# the specified pattern to the indicated list of hosts.
31# The third form tells xdm to handle indirect queries using the chooser;
32# the chooser is directed to send its own queries out via the broadcast
33# address and display the results on the terminal.
34# The fourth form is similar to the third, except instead of using the
35# broadcast address, it sends DirectQuerys to each of the hosts in the list
36# The fifth form tells xdm which addresses to listen for incoming connections
37# on.  If present, xdm will only listen for connections on the specified
38# interfaces and/or multicast groups.
39#
40# In all cases, xdm uses the first entry which matches the terminal;
41# for IndirectQuery messages only entries with right hand sides can
42# match, for Direct and Broadcast Query messages, only entries without
43# right hand sides can match.
44#
45
46#*					#any host can get a login window
47
48#
49# To hardwire a specific terminal to a specific host, you can
50# leave the terminal sending indirect queries to this host, and
51# use an entry of the form:
52#
53
54#terminal-a	host-a
55
56
57#
58# The nicest way to run the chooser is to just ask it to broadcast
59# requests to the network - that way new hosts show up automatically.
60# Sometimes, however, the chooser can't figure out how to broadcast,
61# so this may not work in all environments.
62#
63
64#*		CHOOSER BROADCAST	#any indirect host can get a chooser
65
66#
67# If you'd prefer to configure the set of hosts each terminal sees,
68# then just uncomment these lines (and comment the CHOOSER line above)
69# and edit the %hostlist line as appropriate
70#
71
72#%hostlist	host-a host-b
73
74#*		CHOOSER %hostlist	#
75
76#
77# If you have a machine with multiple network interfaces or IP addresses
78# you can control which interfaces accept XDMCP packets by listing a LISTEN
79# line for each interface you want to listen on.  You can additionally list
80# one or more multicast groups after each address to listen on those groups
81# on that address.
82#
83# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
84# all unicast interfaces, but not for multicast packets.  If any LISTEN lines
85# are specified, then only the listed interfaces will be listened on.
86#
87# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
88# multicast addresses for XDMCP, where X in the prefix may be replaced
89# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
90# 5 for Site-Local, and so on.  The default is equivalent to the example shown
91# here using the Link-Local version to most closely match the old IPv4 subnet
92# broadcast behavior.
93#
94# LISTEN		* ff02:0:0:0:0:0:0:12b
95
96# This example shows listening for multicast on all scopes up to site-local
97#
98# LISTEN	* ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b
99