1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="asip-status.pl.1">
4 <refentrytitle>asip-status.pl</refentrytitle>
6 <manvolnum>1</manvolnum>
8 <refmiscinfo class="date">24 Jul 2012</refmiscinfo>
10 <refmiscinfo class="source">@NETATALK_VERSION@</refmiscinfo>
14 <refname>asip-status.pl</refname>
16 <refpurpose>Queries AFP servers for their capabilities</refpurpose>
21 <command>asip-status.pl<indexterm>
22 <primary>asip-status.pl</primary>
23 </indexterm></command>
25 <arg choice="opt">-d</arg>
26 <arg choice="opt">-i</arg>
27 <arg choice="opt">-x</arg>
29 <arg choice="plain">HOSTNAME[:PORT]</arg>
35 <command>asip-status.pl<indexterm>
36 <primary>asip-status.pl</primary>
37 </indexterm></command>
39 <group choice="plain">
40 <arg choice="plain">-v</arg>
41 <arg choice="plain">-version</arg>
42 <arg choice="plain">--version</arg>
49 <title>DESCRIPTION</title>
51 <para><emphasis remap="B">asip-status.pl</emphasis> is a perl script that
52 sends a FPGetSrvrInfo request to an AFP server at HOSTNAME:PORT and
53 displays the results, namely "Machine type", the server's name, supported
54 AFP versions, UAMs and AFP flags, the "server signature" and the network
55 addresses, the server provides AFP services on.</para>
57 <para>When you don't supply :PORT, then the default AFP port, 548, will be
62 <title>OPTIONS</title>
64 <variablelist remap="TP">
66 <term><option>-d</option></term>
69 <para>Enable debug output.</para>
74 <term><option>-i</option></term>
77 <para>Show icon if it exists.</para>
82 <term><option>-x</option></term>
85 <para>Enable hex dump output.</para>
90 <term><option>-v, -version, --version</option></term>
93 <para>Show version.</para>
101 <title>EXAMPLES</title>
103 <para><programlisting><emphasis remap="B">asip-status.pl</emphasis> 192.168.1.15
104 AFP reply from 192.168.1.15:548
105 Flags: 1 Cmd: 3 ID: 57005
108 Machine type: Macintosh
109 AFP versions: AFPVersion 1.1,AFPVersion 2.0,AFPVersion 2.1,AFP2.2
110 UAMs: Cleartxt passwrd,Randnum exchange,2-Way Randnum exchange
111 Volume Icon & Mask: Yes
115 SupportsServerMessages
116 SupportsServerSignature
119 Server name: bookchan
121 04 1d 65 23 04 1d 65 23 04 1d 65 23 04 1d 65 23 ..e#..e#..e#..e#
123 Network address: 192.168.1.15:548 (TCP/IP address and port)
124 Network address: 65280.128 (ddp address)
125 </programlisting></para>
127 <para><programlisting><emphasis remap="B">asip-status.pl</emphasis> myserver:10548
128 AFP reply from myserver:10548
129 Flags: 1 Cmd: 3 ID: 57005
132 Machine type: Netatalk3.0
133 AFP versions: AFP2.2,AFPX03,AFP3.1,AFP3.2,AFP3.3
135 Volume Icon & Mask: Yes
138 SupportsServerMessages
139 SupportsServerSignature
141 SupportsSrvrNotifications
142 SupportsOpenDirectory
143 SupportsUTF8Servername
147 Server name: myserver
149 8a c6 12 3a 0e d9 95 3e 6f 31 e3 a9 17 f5 70 f6 ...:...>o1....p.
151 Network address: 192.168.1.154:10548 (TCP/IP address and port)
152 UTF8 Servername: myserver
153 </programlisting></para>
157 <title>REPORTING BUGS</title>
159 <para>Report bugs to the Netatalk-devel list
160 <netatalk-devel@lists.sourceforge.net>.</para>