descriptionnone
repository URLgit://github.com/eroullit/dabba.git
owneremmanuel.roullit@gmail.com
last changeThu, 29 Aug 2013 20:14:48 +0000 (29 22:14 +0200)
last refreshSun, 24 Mar 2019 16:35:34 +0000 (24 17:35 +0100)
content tags
add:
README.md

What is dabba?

Build Status

dabba is a set of network tools written for Linux.

This is inspired on the Dabba Walla system present in Mumbai where meals are regrouped and dispatched throughout the city with a high efficiency rate, every day of the year.

The project has 4 main components:

Currently supported feature are listed in the CODING file.

Get the source!

git clone git://github.com/eroullit/dabba.git

Contributions are welcome, CODING regroups all information about it.

Prerequisites

dabba needs these to compile and run properly:

Recommended optional packages:

Installation

To build out-of-tree:

$ mkdir build && cd build && cmake .. && make

To install it after being built:

$ sudo make install/strip

Capabilities

To configure dabba to run with a regular user account:

$ sudo make setcap

Testing

Automatic tests are available. There are two kinds:

WARNING: Read-write tests might degrade or disable the interface connectivity while tests are running. Avoid to run then on production interfaces.

To run read-only automatic tests, make sure proper capabilities are granted and run in the build directory:

$ ctest --output-on-failure

To run read-only automatic tests, make sure proper capabilities are granted, set the TEST_DEV variable with the interface name to modify and run in the build directory:

$ TEST_DEV=eth0 ctest --output-on-failure

Getting started!

Start dabbad:

$ dabbad --daemonize

As long as dabbad is running, captures tasks can be submitted:

$ dabba capture start --interface eth0 --pcap /tmp/example.pcap

Running captures can be listed in YAML format:

$ dabba capture get
---
  captures:
    - id: 3076324160
      rc: 0 # Success
      packet mmap size: 32768
      frame number: 16
      pcap: /tmp/example.pcap
      interface: eth0

Stopping the capture:

$ dabba capture stop --id 3076324160

Copyright

The MIT License (MIT)

Copyright (c) 2013 Emmanuel Roullit

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contact

For questions: Send me a message to @eroullit on GitHub

For suggestions or bug reports: Feel free to open an issue on the ticket system.

shortlog
2013-08-29 Emmanuel Roullitgit: do not track vim swo temp file.master
2013-08-29 Emmanuel Roullittest: at least one packet mmap allocation must work.
2013-08-29 Emmanuel Roullittest: tolerate ENOMEM on packet mmap creation.
2013-08-25 Emmanuel Roullitctest: interrupt unit tests procedure on failure.
2013-08-21 Emmanuel Roullitdabba: print help when the action is missing.v0.4
2013-08-21 Emmanuel Roullitcmake: bumped software version number.
2013-08-20 Emmanuel Roullitdabba: switch project to MIT license.
2013-08-20 Emmanuel Roullitdeb: update changelog file for v0.4.
2013-08-20 Emmanuel Roullitlibdabba-rpc: use define to point to /var/run.
2013-08-20 Emmanuel Roullitdoc: update default unix socket path in POD header.
2013-08-20 Emmanuel Roullitdoc: update CODING file with newest features.
2013-08-20 Emmanuel RoullitMerge branch 'cleanup'
2013-08-20 Emmanuel Roullitlibdabba: replace container_of() macro.
2013-08-19 Emmanuel RoullitMerge pull request #28 from eroullit/namespace
2013-08-19 Emmanuel RoullitMerge branch 'etc-initd'
2013-08-19 Emmanuel Roullitdabbad: daemonize when the RPC server is ready.
...
tags
5 years ago v0.4
5 years ago v0.3
6 years ago v0.2
6 years ago v0.1.1
6 years ago v0.1
heads
5 years ago git-revision
5 years ago master
5 years ago static-lib-build
5 years ago gh-pages
5 years ago dev-pkg
5 years ago split-deb