CMEncrypt.1.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. CMEncrypt.1
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='chkpib2.1.html' title=' chkpib2.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='config2cfg.1.html' title=' config2cfg.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. CMEncrypt(1) Qualcomm Atheros Open Powerline Toolkit CMEncrypt(1)
  22. NAME
  23. CMEncrypt - Send Encrypted Payload
  24. SYNOPSIS
  25. CMEncrypt [options] [device] [device] [...]
  26. DESCRIPTION
  27. Transmit a file over powerline using CM_ENCRYPTED_PAYLOAD messages. This program tests and demonstrates proper (or
  28. improper) message routing but does not support encrypted transmission. All payloads are sent unencrypted at this time.
  29. OPTIONS
  30. -A status
  31. The AVLN Status. This indicates the current association status and capabilities of the sending station. Permit‐
  32. ted values are 0 through 255 but only value 0 through 5 and 8 are recognized by the firmware. Values may be
  33. entered in decimal, hexadecimal or binary format. Hexadecimal value are prefixed with &quot;0x&quot; or &quot;0X&quot;. Binary val‐
  34. ues are prefixed with &quot;0b&quot; or &quot;0B&quot;. The default is 0.
  35. -f file
  36. The name of the payload file. File content may be text or binary and forms the payload of one or more messages.
  37. Payloads are transmitted unencrypted when PID is 4 and PEKS is 15 which is default.
  38. -K PEKS
  39. The Payload Encryption Key Select. This value indicates the key used to encrypt the payload. Permitted values
  40. are 0 through 15. Values may be entered in decimal, hexadecimal or binary format. Hexadecimal value are prefixed
  41. with &quot;0x&quot; or &quot;0X&quot;. Binary values are prefixed with &quot;0b&quot; or &quot;0B&quot;.. The default is 15 for &quot;No Encryption&quot;.
  42. -P PID The Protocol Identifier. This value detemines how the payload is interpreted by powerline devices. Permitted
  43. values are 0 through 4. The default is 4 for &quot;HLE Protocol&quot;.
  44. -v Print incoming and outgoing Ethernet frames in hex dump format on stdout.
  45. -?,--help
  46. Print program help summary on stdout. This option takes precedence over other options on the command line.
  47. -?,--version
  48. Print program version information on stdout. This option takes precedence over other options on the command line.
  49. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  50. the Linux Toolkit you are using.
  51. ARGUMENTS
  52. device The Media Access Control (MAC) address of a remote host, not a powerline device. Addresses are 6 hexadecimal
  53. octets optionally separated by colon. For example, the addresses &quot;00b052000001&quot;, &quot;00:b0:52:00:00:01&quot; and
  54. &quot;00b052:000001&quot; are all valid and equivalent. For convenience, the symbolic address &quot;local&quot; resolves to
  55. &quot;00:b0:52:00:00:01&quot; and the symbolic addresses &quot;all&quot; and &quot;broadcast&quot; both resolve to &quot;ff:ff:ff:ff:ff:ff&quot;.
  56. INTERNALS
  57. This program lets the user specify some CM_ENCRYPTED_PAYLOAD fields but not others. The following are fields that the
  58. user cannot specify. The program automatically computes these values.
  59. PRN The Protocol Run Number. This is a random number used to distinguish between runs having the same protocol. This
  60. program uses the system time variable.
  61. UUID The Universally Unique Identifier. This program uses the left-most 16 bytes of the SHA256 digest for the payload.
  62. REFERENCES
  63. Consult the HomePlug AV Specification or Atheros Firmware Technical Reference Manual for more information.
  64. EXAMPLES
  65. The following example transmits file myfile.txt to host 00:85:73:00:94:01 in unecrypted format because that is the pro‐
  66. gram default. The remote address is required and refers to the ultimate recipient, not the local device.
  67. # CMEncrypt -f myfile.txt 00:85:73:00:94:01 The next example does the same but specifies the program defaults.
  68. Observe that operands can be expressed in decimal, binary or hexadecimal format.
  69. # CMEncrypt -f myfile.txt -A 0 -P 0b0100 -K 0x0F 00:85:73:00:94:01
  70. DISCLAIMER
  71. Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Qualcomm Atheros, Ocala FL
  72. USA. Consequently, public information is not available. Qualcomm Atheros reserves the right to modify message structure
  73. or content in future firmware releases without any obligation to notify or compensate users of this program.
  74. SEE ALSO
  75. None.
  76. CREDITS
  77. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  78. open-plc-utils-0.0.3 Mar 2014 CMEncrypt(1)
  79. </pre>
  80. <div class='footerlink'>
  81. [<a href='chkpib2.1.html' title=' chkpib2.1 '>PREV</a>]
  82. [<a href='toolkit.html' title=' Index '>HOME</a>]
  83. [<a href='config2cfg.1.html' title=' config2cfg.1 '>NEXT</a>]
  84. </div>
  85. </body>
  86. </html>