Post-release test and docs
This commit is contained in:
parent
e0ebe41ee2
commit
0586e94856
7 changed files with 47 additions and 36 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Clixon fuzzing
|
||||
|
||||
This dir contains code for fuzzing clixon backend. (NOTE DOES NOT WORK)
|
||||
This dir contains code for fuzzing clixon backend.
|
||||
|
||||
It requires the preeny package to change sockets to stdio.
|
||||
|
||||
|
|
@ -12,15 +12,9 @@ Install AFL and preeny, see [..](..)
|
|||
|
||||
## Build
|
||||
|
||||
Make a modification to how Clixon sends internal messages in `include/clixon_custom.h`:
|
||||
```
|
||||
#define CLIXON_PROTO_PLAIN
|
||||
```
|
||||
(Note this is obsolete)
|
||||
|
||||
Build clixon statically with the afl-clang compiler:
|
||||
```
|
||||
CC=/usr/bin/afl-clang-fast LINKAGE=static ./configure --with-restconf=native
|
||||
CC=/usr/bin/afl-clang-fast LINKAGE=static ./configure
|
||||
make clean
|
||||
make
|
||||
sudo make install
|
||||
|
|
|
|||
|
|
@ -1 +1,4 @@
|
|||
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42" username="olof"><edit-config><target><candidate/></target><default-operation>merge</default-operation><test-option>test-then-set</test-option><error-option>stop-on-error</error-option><config><table xmlns="urn:example:clixon"><parameter><name>eth/0/0</name><value>x</value></parameter></table></config></edit-config></rpc>]]>]]>
|
||||
|
||||
#391
|
||||
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42" username="olof"><edit-config><target><candidate/></target><default-operation>merge</default-operation><test-option>test-then-set</test-option><error-option>stop-on-error</error-option><config><table xmlns="urn:example:clixon"><parameter><name>eth/0/0</name><value>x</value></parameter></table></config></edit-config></rpc>
|
||||
##
|
||||
|
|
|
|||
|
|
@ -1 +1,4 @@
|
|||
<hello username="olof" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42"><capabilities><capability>urn:ietf:params:netconf:base:1.0</capability></capabilities></hello>]]>]]>
|
||||
|
||||
#181
|
||||
<hello username="olof" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42"><capabilities><capability>urn:ietf:params:netconf:base:1.0</capability></capabilities></hello>
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue