Check-in [2c87e3bbed]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update docu
Timelines: family | ancestors | descendants | both | trunk | 0.6.1-20180314
Files: files | file ages | folders
SHA1: 2c87e3bbedf58783ce7a5f91bbc1dd9a76132b4b
User & Date: bernd 2018-03-14 22:24:51
Context
2018-03-14
22:51
Some more fixes check-in: f00b040f5a user: bernd tags: trunk
22:24
Update docu check-in: 2c87e3bbed user: bernd tags: trunk, 0.6.1-20180314
22:13
Fix bump check-in: 382d62ad80 user: bernd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to wiki/commands.md.

1
2
3
4
5
6
7
8
9
10
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Commands #

Version 0.6.0-20180307.

net2o separates data and commands.  Data is pass through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64
................................................................................
+ $30 tmpnest ( $:string -- )
  nested (temporary encrypted) command
+ $31 encnest ( $:string -- )
  nested (completely encrypted) command
+ $32 close-tmpnest ( -- )
  cose a opened tmpnest, and add the necessary stuff
+ $33 close-encnest ( -- )
  cose a opened tmpnest, and add the necessary stuff
+ $34 new-data ( addr addr u -- )
  create new data mapping
+ $35 new-code ( addr addr u -- )
  crate new code mapping
+ $36 store-key ( $:string -- )
  store key
+ $37 map-request ( addrs ucode udata -- )
................................................................................
  request ephemeral key
+ $3C keypair ( $:yourkey $:mykey -- )
  select a pubkey
+ $3D update-key ( -- )
  update secrets
+ $3E gen-ivs ( $:string -- )
  generate IVs
+ $3F set-cmd0key ( $:string -- )
  set key for reply
+ $40 punch? ( -- )
  Request punch addresses
+ $41 >time-offset ( n -- )
  set time offset
+ $42 context ( -- )
  make context active


|







 







|







 







|







1
2
3
4
5
6
7
8
9
10
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Commands #

Version 0.6.1-20180314.

net2o separates data and commands.  Data is pass through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64
................................................................................
+ $30 tmpnest ( $:string -- )
  nested (temporary encrypted) command
+ $31 encnest ( $:string -- )
  nested (completely encrypted) command
+ $32 close-tmpnest ( -- )
  cose a opened tmpnest, and add the necessary stuff
+ $33 close-encnest ( -- )
  cose a opened encnest, and add the necessary stuff
+ $34 new-data ( addr addr u -- )
  create new data mapping
+ $35 new-code ( addr addr u -- )
  crate new code mapping
+ $36 store-key ( $:string -- )
  store key
+ $37 map-request ( addrs ucode udata -- )
................................................................................
  request ephemeral key
+ $3C keypair ( $:yourkey $:mykey -- )
  select a pubkey
+ $3D update-key ( -- )
  update secrets
+ $3E gen-ivs ( $:string -- )
  generate IVs
+ $3F addr-key! ( $:string -- )
  set key for reply
+ $40 punch? ( -- )
  Request punch addresses
+ $41 >time-offset ( n -- )
  set time offset
+ $42 context ( -- )
  make context active