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