summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/data/pmap-mnt.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/nc/data/pmap-mnt.d')
-rw-r--r--src/usr.bin/nc/data/pmap-mnt.d80
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
7001 # 0x01 # . # XID: 4 trash bytes
8002 # 0x02 # .
9003 # 0x03 # .
10004 # 0x04 # .
11
12000 # 0x00 # . # MSG: int 0=call, 1=reply
13000 # 0x00 # .
14000 # 0x00 # .
15000 # 0x00 # .
16
17000 # 0x00 # . # pmap call body: rpc version=2
18000 # 0x00 # .
19000 # 0x00 # .
20002 # 0x02 # .
21
22000 # 0x00 # . # pmap call body: prog=PMAP, 100000
23001 # 0x01 # .
24134 # 0x86 # .
25160 # 0xa0 # .
26
27000 # 0x00 # . # pmap call body: progversion=2
28000 # 0x00 # .
29000 # 0x00 # .
30002 # 0x02 # .
31
32000 # 0x00 # . # pmap call body: proc=GETPORT, 3
33000 # 0x00 # .
34000 # 0x00 # .
35003 # 0x03 # .
36
37# with AUTH_NONE, there are 4 zero integers [16 bytes] here
38
39000 # 0x00 # . # auth junk: cb_cred: auth_unix = 1; NONE = 0
40000 # 0x00 # .
41000 # 0x00 # .
42000 # 0x00 # .
43
44000 # 0x00 # . # auth junk
45000 # 0x00 # .
46000 # 0x00 # .
47000 # 0x00 # .
48
49000 # 0x00 # . # auth junk
50000 # 0x00 # .
51000 # 0x00 # .
52000 # 0x00 # .
53
54000 # 0x00 # . # auth junk
55000 # 0x00 # .
56000 # 0x00 # .
57000 # 0x00 # .
58
59000 # 0x00 # . # prog=MOUNT, 100005
60001 # 0x01 # .
61134 # 0x86 # .
62165 # 0xa5 # .
63
64000 # 0x00 # . # progversion=1
65000 # 0x00 # .
66000 # 0x00 # .
67001 # 0x01 # .
68
69000 # 0x00 # . # protocol=udp, 17
70000 # 0x00 # .
71000 # 0x00 # .
72017 # 0x11 # .
73
74000 # 0x00 # . # proc num = junk
75000 # 0x00 # .
76000 # 0x00 # .
77000 # 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.