File: programming

package info (click to toggle)
ax25spyd 0.23-8
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 592 kB
  • ctags: 502
  • sloc: ansic: 4,167; sh: 308; makefile: 86
file content (92 lines) | stat: -rw-r--r-- 2,835 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92

	     List of commands ax25spyd understand (cmdsocket)
-----------------------------------------------------------------------------
Every command must be in uppercase. It can not be abbriviated.

- OFFERNEWQSO
  Every new QSO detected from now on, will be offered with
  an T_OFFERQSO-Message. Exception: If the opposite QSO is
  already spyed, the new QSO will be spyed automatically and no T_OFFERQSO
  is presented

- OFFERALLNEWQSO
  Every new QSO detected from now on, will be offered with
  an T_OFFERQSO-Message. Same as OFFERNEWQSO, but every QSO will be
  offered, and no QSO will be autospyed.

- OFFERALLQSO
  Offer all QSO heard until now (T_OFFERQSO)

- QUERYQSOID <qsoid>
  returns an T_SPYHEADER immedantly
  or nothing if qsoid does not exist
- SPYINCL filter|qsoid
- SPYID <qsoid>
- SPYSTOPID <qsoid>

- RAWPACKET enables the transfer of <T_RAWPACKET> packets
- RAWDATA <size> <sa-data> <pr-data>
  puts data into ax25spyd-listen-queue.

- MHEARD
- QSOMHEARD [filter]
- CALLMHEARD [filter]

- STARTMONI
- STOPMONI

- TIMESTAMP NO | YES
- ONLYHEADERS [NO]
- ONLYIFRAMES [NO]
- ONLYIP

- DXCLUSTERSPY

- HEADERFILTER <filter>

- SHOWALIEN
  switchs alien mode on
  This shows every packet from any network-interface (except loopback
  device lo) e.g. eth0. There is a performance disadvantage.
  ATTENTION: There is a security problem, because everyone can connect
  to ax25spyd and see all data!
  You must know what you do, if you enable this! Monixd must be started
  with option -e to enable this feature. Otherwise it will have no effect.
  ---- You have be warned ----
- SHOWALIEN NO
  Switch alienmode off (this is the default)


-----------------------------------------------------------------------------
messages from ax25spyd to the client


- T_OFFERQSO <struct t_QSOMheard>
  New QSO with (u)i-Frames detected
  If the client have issued the OFFERNEWQSO, every new QSO will be presented
  with T_OFFERQSO, but no spied data will follow. So the client have to
  issue as special command (SPYID <ID.>) to spy the QSO.
  There is an alias named T_QSOOFFER (its just an #define ...)

- T_SPYHEADER <qsostruct t_QSOMheard>
  New spy opened.
  If the client have issued the SPYINCL <filterexpression>, all spied data
  of this QSO will be tranferred (with T_SPYDATA) without further action
  of the client needed.

- T_SPYDATA <qsoid> <raw data>

- T_SPYEND <qsostruct>
  no more spydata for this qso. Cause: DISC received

- T_RAWPACKET <sizeof_ax25packet-data> <ax25packet-data>
  enabled by internal command RAWPACKET. Contains non printable-data

- T_ERROR T_PORT T_KISS T_BPQ T_DATA T_PROTOCOL T_AXHDR T_ADDR T_IPHDR
  T_TCPHDR T_ROSEHDR T_TIMESTAMP T_FLEXNET T_ZIERRAT T_CALL T_FMCALL
  T_TOCALL T_VIACALL T_HDRVAL  <string>
  printable parts of a packet

- T_VERSION  <string>
- T_PROTVERSION <string>