Giter VIP home page Giter VIP logo

boreas's Introduction

Greenbone Logo Boreas Logo

Boreas

Boreas is a command line tool to scan for alive hosts. It supports IPv4 and IPv6 address ranges and allows to exclude certain addresses from a range. The alive ping tests support ICMP, TCP-ACK, TCP-SYN and ARP and any combination. For TCP ping an individual port list can be applied.

Releases

All release files are signed with the Greenbone Community Feed integrity key. This gpg key can be downloaded at https://www.greenbone.net/GBCommunitySigningKey.asc and the fingerprint is 8AE4 BE42 9B60 A59B 311C 2E73 9823 FAA6 0ED1 E580.

Installation

This module can be configured, built and installed with following commands:

cmake .
make install

For detailed installation requirements and instructions, please see the file INSTALL.md.

Example

$ sudo boreas --target "127.0.0.1-10" --exclude "127.0.0.5" --ports "80" --icmp --tcp-ack

For a detailed description of all available options see the manpage. For a short list of available options use the -h command.

Support

For any question on the usage of boreas please use the Greenbone Community Portal. If you found a problem with the software, please create an issue on GitHub. If you are a Greenbone customer you may alternatively or additionally forward your issue to the Greenbone Support Portal.

Maintainer

This project is maintained by Greenbone AG.

Contributing

Your contributions are highly appreciated. Please create a pull request on GitHub. Bigger changes need to be discussed with the development team via the issues section at GitHub first.

Code style and formatting

Before creating a pull request, it is recommended to run the following command:

make format

This reformats the new code to ensure that it follows the code style and formatting guidelines.

License

Copyright (C) 2020 Greenbone AG

Licensed under the GNU General Public License v3.0 or later.

boreas's People

Contributors

arnostiefvater avatar bjoernricks avatar dependabot[bot] avatar greenbonebot avatar jjnicola avatar kraemii avatar nichtsfrei avatar pascalholthaus avatar tuxmaster5000 avatar y0urself avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boreas's Issues

[22.4.0] build fails with: src/boreas.c:198: undefined reference to `run_cli_extended'

The link stage fails with:

[ 50%] Building C object src/CMakeFiles/boreas.dir/boreas.c.o
cd /builddir/build/BUILD/boreas-22.4.0/src && /usr/lib64/ccache/cc -DBOREAS_LOG_DIR=\"/var/log/greenbone/boreas\" -DBOREAS_SYSCONF_DIR=\"/etc/boreas\" -DBOREAS_VERSION=\"22.4.0\" -DPREFIX=\"/usr\" -I/usr/include
/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gvm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_BSD_SOURCE -D_ISOC
99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -DNDEBUG -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector   -BOREAS_VERSION="22.4.0" -MD -MT src/CMakeFiles/boreas.dir/boreas.c.o -MF CMakeFiles/boreas.
dir/boreas.c.o.d -o CMakeFiles/boreas.dir/boreas.c.o -c /builddir/build/BUILD/boreas-22.4.0/src/boreas.c
/builddir/build/BUILD/boreas-22.4.0/src/boreas.c: In function 'main':
/builddir/build/BUILD/boreas-22.4.0/src/boreas.c:198:9: warning: implicit declaration of function 'run_cli_extended' [-Wimplicit-function-declaration]
   err = run_cli_extended (hosts, alive_test, port_list, wait_timeout);
         ^~~~~~~~~~~~~~~~
[100%] Linking C executable boreas
cd /builddir/build/BUILD/boreas-22.4.0/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/boreas.dir/link.txt --verbose=1
/usr/lib64/ccache/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-har
dened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SO
URCE -DNDEBUG -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/boreas.dir/boreas.c.o -o boreas  -lgvm_b
ase -lgvm_util -lgvm_boreas -lglib-2.0 -lpcap -Wl,-z,relro -Wl,-z,now 
CMakeFiles/boreas.dir/boreas.c.o: In function `main':
/builddir/build/BUILD/boreas-22.4.0/src/boreas.c:198: undefined reference to `run_cli_extended'
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/CMakeFiles/boreas.dir/build.make:100: src/boreas] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/boreas-22.4.0'
gmake[1]: Leaving directory '/builddir/build/BUILD/boreas-22.4.0'
gmake[1]: *** [CMakeFiles/Makefile2:179: src/CMakeFiles/boreas.dir/all] Error 2

GVM versions

boreas: (boreas --version)
22.4.0

gvm-libs: (shown in output of boreas --version)
22.4.0

Environment

Operating system:
CentOS8-Stream

Installation method / source: (packages, source installation)
last one from GH

Logfiles

Wrongly host count

Expected behavior

Boreas count number of hosts properly.

Actual behavior

Boreas count number of hosts wrongly when scan a target using domain name resolved to more than 1 IP addresses (IPv4 and IPv6).

Steps to reproduce

  1. Scan a target using domain name resolved to more than 1 IP addresses.
  2. Notice the host count is wrong.

GVM versions

boreas: build from the latest main source.

Logfiles

$sudo boreas --target=google.com
Alive scan started: Target has 2 hosts.
216.58.214.14
Alive scan finished in 6 seconds: 1 alive hosts of 2.

$host google.com
google.com has address 142.250.179.206
google.com has IPv6 address 2a00:1450:400e:80e::200e
google.com mail is handled by 10 smtp.google.com.

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.