Code Monkey home page Code Monkey logo

meta-crow's People

Contributors

johnnykv avatar

Watchers

 avatar  avatar

meta-crow's Issues

Receipe to mock the Beeswarm server

A program should be made, the program should do the following:

  • Create work directory for the server on /tmp
  • Read configuration on SD card
  • Use configuration to generate server database with honeypot.
  • Write appropriate beeswarmcfg.json for the server
  • Create work directory for the honeypot
  • * Write appropriate beeswarmcfg.json for the honeypot

setcap on python

when using beeswarm we should setcap +ep (network, whatever) on python so that we can run beeswarm as beeswarm;beeswarm. Currently it is runing as root.

Restart of critical processes

Description

Tests that critical processes are restarted if they die.

Steps to reproduce issue

  1. Boot the system, log in as root.
  2. Kill the beeswarm server process
  3. Kill the beeswarm drone process
  4. Kill the ossec ossec-agentd process.
  5. wait 120 seconds.

Expected result

After waiting for 120 seconds, all processes has been restarted.

Actual result

OSSEC was no restarted.

Other information

Reported by: Johnny Vestergaard

Test configuration: Dolos, Qemu-Arm

Test case number: TC20

Test run: http://crow.testlodge.com/projects/9355/runs/118249?tab=2&run_section_id=38569#executed_case_6195706

Create receipe to run bootstrapper on boot

the script should run:

mkdir /tmp/beeswarm
mkdir /tmp/beeswarm/server
mkdir /tmp/beeswarm/drone
python -c 'from beeswarm.shared.misc.local_bootstrapper import bootstrap; bootstrap("/tmp/beeswarm/server", "mkdir /tmp/beeswarm/drone")'

Setting up Dolos box using static IP

Description

Tests that the sytstem can be configured to use static ip.

Steps to reproduce issue

  1. Open dolos.cfg on the Dolos SD card
  2. Enter static IP configuration.
  3. Insert the card into the box and boot the system.

Expected result

  1. It is possible to ping the Dolos box from the outside.
  2. Logon to the box and use ifconfig to verify that eth0 has been configured as specified in dolos.cfg

Actual result

could not dns lookup. no name server configured.

Other information

Reported by: Johnny Vestergaard

Test configuration: Dolos, Qemu-Arm

Test case number: TC23

Test run: http://crow.testlodge.com/projects/9355/runs/118249?tab=2&run_section_id=38569#executed_case_6195709

Setting up Dolos box using static IP

Description

Tests that the sytstem can be configured to use static ip.

Steps to reproduce issue

  1. Open dolos.cfg on the Dolos SD card
  2. Enter static IP configuration.
  3. Insert the card into the box and boot the system.

Expected result

  1. It is possible to ping the Dolos box from the outside.
  2. Logon to the box and use ifconfig to verify that eth0 has been configured as specified in dolos.cfg

Other information

Reported by: Johnny Vestergaard

Test configuration: Dolos, Qemu-Arm

Test case number: TC23

Test run: http://crow.testlodge.com/projects/9355/runs/118282?tab=2&run_section_id=38610#executed_case_6196683

Separate poky layers

Currently the poky-meta-crow layer is a mix of unmodified third-party recipes, modified third-party recipes and home grown recipes which is a mess. All these should be split into two layers:

  • poky-meta-crow-base
    ** Base layer for general recipes, most of them would be third-party. The third-party recipes that we currently are customising should be uncustomised and put in this layer.
  • poky-meta-crow-dolos
    ** Recipes specific for the Dolos platform. As as possible we should inherit and bbappend to reuse recipes in meta-crow-base.

header files for libxml and libxslt not found for python-xml

When doing bitbake python-lxml the header files for libxml and libxlst are not found.

tmp workaround is to copy them manually from the relevant build directory...

cp /home/jkv/poky-dizzy/testbuild/tmp/work/armv5te-poky-linux-gnueabi/libxslt/1.1.28-r0/build/libxslt/* /home/jkv/poky-dizzy/testbuild/tmp/work/armv5te-poky-linux-gnueabi/python-lxml/3.3.5-r3/lxml-3.3.5/src/lxml/includes/libxslt/
cp /home/jkv/poky-dizzy/testbuild/tmp/work/armv5te-poky-linux-gnueabi/libxml2/2.9.1-r0/libxml2-2.9.1/include/libxml/* /home/jkv/poky-dizzy/testbuild/tmp/work/armv5te-poky-linux-gnueabi/python-lxml/3.3.5-r3/lxml-3.3.5/src/lxml/includes/libxml/

enable codepage 850 and 437 in kernel

root@beaglebone:~# mount -t vfat /dev/mmcblk0p1 /mnt
FAT-fs (mmcblk0p1): codepage cp437 not found
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1,
missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.