Skip to content

Commit

Permalink
v33-00
Browse files Browse the repository at this point in the history
  • Loading branch information
clownix committed Nov 19, 2023
1 parent 21531ab commit 9a8457a
Show file tree
Hide file tree
Showing 252 changed files with 5,096 additions and 7,150 deletions.
48 changes: 14 additions & 34 deletions README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
==============================================================================

Cloonix is an AGPLv3 software that constitute a tool to create networks of
kvm virtual machines or crun, docker and podman containers.
kvm virtual machines or crun, and podman containers.

The network connecting the virtual machines and containers is created through
the use of the openvswitch software running inside a net namespace so that
Expand All @@ -24,32 +24,24 @@ files and libraries are collected and put into an autonomous bundle, this
makes the bundle self-contained. No added files or packages are necessary.

See clownix.net for a documentation (which is usually not up to date).
http://clownix.net/doc_stored/build-30-01/html/index.html doc.
http://clownix.net/doc_stored/build-33-00/html/index.html doc.

NOTE: qemu-guest-agent sometimes called qemu-ga has to be installed
inside the kvm guests virtual machines to have the pseudo-ssh and
pseudo-scp.

NOTE: It is now strongly advised to install with the bundle of binaries,
libraries and config files, much simpler method than by compiling.

NOTE: If you have an old version of cloonix, you must erase it first,
the way to erase the old version was: "rm -rf /usr/local/bin/cloonix*".
The new cloonix is not at the same place as before.
-----------------------------------------------------------------------------
DOWNLOADS:

http://clownix.net/downloads/cloonix-32
http://clownix.net/downloads/cloonix-33

-----------------------------------------------------------------------------
INSTALL BINARY AND LIBRARIES ON YOUR HOST

wget http://clownix.net/downloads/cloonix-32/cloonix-bundle-32-00.tar.gz
tar xvf cloonix-bundle-32-00.tar.gz
cd cloonix-bundle-32-00
wget http://clownix.net/downloads/cloonix-33/cloonix-bundle-33-00.tar.gz
tar xvf cloonix-bundle-33-00.tar.gz
cd cloonix-bundle-33-00
sudo ./install_cloonix


-----------------------------------------------------------------------------
TO UNINSTALL:

Expand All @@ -62,43 +54,31 @@ GET A WORKING QCOW AND PUT IT IN BULK TO TEST KVM:

mkdir -p /var/lib/cloonix/bulk
cd /var/lib/cloonix/bulk
wget http://clownix.net/downloads/cloonix-32/bulk/bookworm.qcow2.gz
wget http://clownix.net/downloads/cloonix-33/bulk/bookworm.qcow2.gz
gunzip bookworm.qcow2.gz

-----------------------------------------------------------------------------
GET A WORKING IMG AND PUT IT IN BULK TO TEST CRUN:
GET A WORKING ZIP AND PUT IT IN BULK TO TEST CRUN:

mkdir -p /var/lib/cloonix/bulk
cd /var/lib/cloonix/bulk
wget http://clownix.net/downloads/cloonix-32/bulk/bookworm.img.gz
gunzip bookworm.img.gz
wget http://clownix.net/downloads/cloonix-33/bulk/busybox.zip.gz
gunzip busybox.zip.gz

-----------------------------------------------------------------------------
LAUNCH KVM SCRIPT:
LAUNCH TEST PINGS:

cd cloonix-bundle-33-00

cd cloonix-bundle-32-00
./ping_kvm.sh

On the gui, a double-click on the blue machine gives a shell,
a double-click on the green interface gives a wireshark spy,
a right-click on the blue machine gives a spice desktop.

-----------------------------------------------------------------------------
LAUNCH CRUN SCRIPT:

cd cloonix-bundle-32-00
./ping_crun.sh
./ping_cnt.sh

On the gui, a double-click on the blue machine gives a shell,
a double-click on the green interface gives a wireshark spy.

-----------------------------------------------------------------------------
CISCO C8000 IN CLOONIX:

cd cloonix-bundle-32-00/cisco
follow the README.

==============================================================================



4 changes: 2 additions & 2 deletions allclean
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ rm -rf ${CLOONIX_TREE_ROOT}/build_tools/cloonix-bundle-*
make clean
done
#----------------------------------------------------------
for i in openssh \
for i in hide_dirs \
openssh \
rxvt \
spice \
spice_lib_client \
Expand All @@ -56,7 +57,6 @@ rm -rf ${CLOONIX_TREE_ROOT}/build_tools/cloonix-bundle-*
#----------------------------------------------------------
for i in doorways \
suid_power \
gerard_lledo \
uml_cloonix_switch ; do
cd ${SERVER}/${i}
make clean
Expand Down
6 changes: 4 additions & 2 deletions build_tools/build_client
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ for i in cloonix_osh \
cloonix_ice \
cloonix_ssh \
cloonix_wsk \
cloonix_wir \
cloonix_dsh \
cloonix_lsh \
cloonix_ovs; do
mv ${TMPBUILD}/cloonix/${i} ${TMPBUILD}
done
Expand Down Expand Up @@ -58,7 +59,8 @@ done
echo BUILDING CLIENT
echo
#----------------------------------------------------------
for i in spice_lib_client \
for i in hide_dirs \
spice_lib_client \
agent_dropbear \
lib_client \
ctrl \
Expand Down
1 change: 0 additions & 1 deletion build_tools/build_server
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ mv ${TMPBUILD}/cloonix/cloonix_net ${TMPBUILD}
ovs \
doorways \
suid_power \
gerard_lledo \
uml_cloonix_switch \
ovs_drv \
ovs_snf \
Expand Down
7 changes: 0 additions & 7 deletions build_tools/datafiles/asoundrc

This file was deleted.

45 changes: 0 additions & 45 deletions build_tools/datafiles/immodules.cache

This file was deleted.

93 changes: 0 additions & 93 deletions build_tools/datafiles/loaders.cache

This file was deleted.

6 changes: 0 additions & 6 deletions build_tools/datafiles/sed_caches.sh

This file was deleted.

4 changes: 3 additions & 1 deletion build_tools/install_cloonix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ for i in cloonix_cli \
cloonix_ovs \
cloonix_scp \
cloonix_ssh \
cloonix_wir \
cloonix_lsh \
cloonix_dsh \
cloonix_wsk ; do
cp -vf /tmp/client/usr_bin/${i} /usr/bin
done
Expand Down Expand Up @@ -74,6 +75,7 @@ for i in dumpcap \
cloonix-ovs-nat \
cloonix-ovs-a2b \
cloonix-ovs-c2c \
cloonix-ovs-vsctl \
cloonix-suid-power ; do
chmod u+s /usr/libexec/cloonix/server/${i}
done
Expand Down
6 changes: 5 additions & 1 deletion build_tools/pack_client
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ for i in cloonix_cli \
cloonix_ovs \
cloonix_scp \
cloonix_ssh \
cloonix_wir \
cloonix_lsh \
cloonix_dsh \
cloonix_wsk ; do
cp -f ${CLOONIX_TREE_ROOT}/cloonix/${i} ${CLIENT}/usr_bin
done
#----------------------------------------------------------
rm -rf ${CLIENT}/lib_client
rm -rf ${CLIENT}/spice_lib_client
#----------------------------------------------------------
cp -f ${CLIENT}/hide_dirs/cloonix-hide-dirs ${CLIENT}
rm -rf ${CLIENT}/hide_dirs
#----------------------------------------------------------
cp -f ${CLIENT}/agent_dropbear/cloonix-dropbear-scp ${CLIENT}
cp -f ${CLIENT}/agent_dropbear/cloonix-dropbear-ssh ${CLIENT}
rm -rf ${CLIENT}/agent_dropbear
Expand Down
5 changes: 3 additions & 2 deletions build_tools/pack_common_after
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ cp -f install_cloonix cloonix-bundle-${VERSION}
mv common.tar.gz cloonix-bundle-${VERSION}
mv client.tar.gz cloonix-bundle-${VERSION}
mv server.tar.gz cloonix-bundle-${VERSION}
cp -f ${CLOONIX_TREE_ROOT}/quickstart/demos/ping_* cloonix-bundle-${VERSION}
cp -f ${CLOONIX_TREE_ROOT}/README cloonix-bundle-${VERSION}
cp -Rf ${CLOONIX_TREE_ROOT}/quickstart/create_cnt_kvm/cisco cloonix-bundle-${VERSION}
cp -f ${CLOONIX_TREE_ROOT}/quickstart/ping_cnt.sh cloonix-bundle-${VERSION}
cp -f ${CLOONIX_TREE_ROOT}/quickstart/ping_kvm.sh cloonix-bundle-${VERSION}
cp -rf ${CLOONIX_TREE_ROOT}/quickstart/kvm_create/cisco cloonix-bundle-${VERSION}
#----------------------------------------------------------

Loading

0 comments on commit 9a8457a

Please sign in to comment.