Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
Honeeebox project, GSOC 2012 repo

To pull in the external deps, run

$ git submodule init
$ git submodule update

for future updates, only the second command is needed

Then edit 

./vagrant/puppet/modules/backend/files/opt/hbbackend/conf/default.template.conf

and rename it to local.conf

You need to add your hpfeeds keys to this file.


Then to run the whole setup, 

$ cd vagrant/vm
$ vagrant up


To log into the VM

$ vagrant ssh

the repo itself will be mounted within the VM at /repo

VM is Ubuntu Precise, 64 bit, generated by AJC using the scripts at https://github.com/cal/vagrant-ubuntu-precise-64

It's advisable to watch the logs for hbbackend

/opt/hbbackend/log/hbbackend.log
/opt/hbbackend/log/hbbackend.hpfeeds.log
/opt/glassfish3/glassfish/domains/hbbackend/logs/server.log

to see that everything starts up correctly.


To start the webui in development mode, run

/opt/honeynet/bin/run-django.sh

This will run the webserver on port 8080 of the VM.

If you are using the default Vagrant setup, you can access this from localhost:8080

As part of run-django.sh, you'll have been asked to create a user and password. Using this user, you'll need to go to

http://localhost:8080/admin

to set up the ident -> group mappings. First, create a group, add your user to a group, and then give that group access to the sensor IDs required. 

Once that is done, you should be able to go to 

http://localhost:8080/hbwebui

and use the UI.

To run it in production, use a standard django setup instead. 



Recent activity

Arthur Clune

Commits by Arthur Clune were pushed to gyoergy/honeeebox

bc94fea - BUGFIX: previous version had two modules incorrectly handling /opt/honeynet/bin Change script marker files back to /etc Split out postgres setup into a new "base" module
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.