diff options
Diffstat (limited to 'src/usr.bin/nc/data/pmap-mnt.d')
-rw-r--r-- | src/usr.bin/nc/data/pmap-mnt.d | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/src/usr.bin/nc/data/pmap-mnt.d b/src/usr.bin/nc/data/pmap-mnt.d deleted file mode 100644 index 0dc3ffc55e..0000000000 --- a/src/usr.bin/nc/data/pmap-mnt.d +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | # $OpenBSD: pmap-mnt.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
3 | # portmap request for mountd [or whatever; see where prog=MOUNT] | ||
4 | # send to UDP 111 and hope it's not a logging portmapper! | ||
5 | # split into longwords, since rpc apparently only deals with them | ||
6 | |||
7 | 001 # 0x01 # . # XID: 4 trash bytes | ||
8 | 002 # 0x02 # . | ||
9 | 003 # 0x03 # . | ||
10 | 004 # 0x04 # . | ||
11 | |||
12 | 000 # 0x00 # . # MSG: int 0=call, 1=reply | ||
13 | 000 # 0x00 # . | ||
14 | 000 # 0x00 # . | ||
15 | 000 # 0x00 # . | ||
16 | |||
17 | 000 # 0x00 # . # pmap call body: rpc version=2 | ||
18 | 000 # 0x00 # . | ||
19 | 000 # 0x00 # . | ||
20 | 002 # 0x02 # . | ||
21 | |||
22 | 000 # 0x00 # . # pmap call body: prog=PMAP, 100000 | ||
23 | 001 # 0x01 # . | ||
24 | 134 # 0x86 # . | ||
25 | 160 # 0xa0 # . | ||
26 | |||
27 | 000 # 0x00 # . # pmap call body: progversion=2 | ||
28 | 000 # 0x00 # . | ||
29 | 000 # 0x00 # . | ||
30 | 002 # 0x02 # . | ||
31 | |||
32 | 000 # 0x00 # . # pmap call body: proc=GETPORT, 3 | ||
33 | 000 # 0x00 # . | ||
34 | 000 # 0x00 # . | ||
35 | 003 # 0x03 # . | ||
36 | |||
37 | # with AUTH_NONE, there are 4 zero integers [16 bytes] here | ||
38 | |||
39 | 000 # 0x00 # . # auth junk: cb_cred: auth_unix = 1; NONE = 0 | ||
40 | 000 # 0x00 # . | ||
41 | 000 # 0x00 # . | ||
42 | 000 # 0x00 # . | ||
43 | |||
44 | 000 # 0x00 # . # auth junk | ||
45 | 000 # 0x00 # . | ||
46 | 000 # 0x00 # . | ||
47 | 000 # 0x00 # . | ||
48 | |||
49 | 000 # 0x00 # . # auth junk | ||
50 | 000 # 0x00 # . | ||
51 | 000 # 0x00 # . | ||
52 | 000 # 0x00 # . | ||
53 | |||
54 | 000 # 0x00 # . # auth junk | ||
55 | 000 # 0x00 # . | ||
56 | 000 # 0x00 # . | ||
57 | 000 # 0x00 # . | ||
58 | |||
59 | 000 # 0x00 # . # prog=MOUNT, 100005 | ||
60 | 001 # 0x01 # . | ||
61 | 134 # 0x86 # . | ||
62 | 165 # 0xa5 # . | ||
63 | |||
64 | 000 # 0x00 # . # progversion=1 | ||
65 | 000 # 0x00 # . | ||
66 | 000 # 0x00 # . | ||
67 | 001 # 0x01 # . | ||
68 | |||
69 | 000 # 0x00 # . # protocol=udp, 17 | ||
70 | 000 # 0x00 # . | ||
71 | 000 # 0x00 # . | ||
72 | 017 # 0x11 # . | ||
73 | |||
74 | 000 # 0x00 # . # proc num = junk | ||
75 | 000 # 0x00 # . | ||
76 | 000 # 0x00 # . | ||
77 | 000 # 0x00 # . | ||
78 | |||
79 | # The reply you get back contains your XID, int 1 if "accepted", and | ||
80 | # mountd's port number at the end or 0 if not registered. | ||