-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from satta/DEV-5053-2024-makeover
2025 makeover
- Loading branch information
Showing
11 changed files
with
148 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
name: Build all platforms | ||
runs-on: ubuntu-latest | ||
container: | ||
image: golang:1.23-bullseye | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Set up user | ||
run: | | ||
useradd -m -g users builduser | ||
chown -R builduser:users . | ||
- name: Build | ||
run: | | ||
su -c "make all" builduser | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Server binaries | ||
path: mauerspecht-server | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Client binaries | ||
path: mauerspecht-client* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Build release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
name: Create Release ${{ github.ref }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
steps: | ||
- name: release | ||
uses: actions/create-release@latest | ||
id: create_release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
draft: false | ||
prerelease: false | ||
release_name: ${{ github.ref }} | ||
tag_name: ${{ github.ref }} | ||
|
||
build: | ||
name: Build Unix-like Binaries | ||
needs: release | ||
runs-on: ubuntu-latest | ||
container: | ||
image: golang:1.23-bullseye | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Set up user | ||
run: | | ||
useradd -m -g users builduser | ||
chown -R builduser:users . | ||
- name: Build | ||
run: | | ||
su -c "make all" builduser | ||
- name: Upload Assets | ||
id: upload_try1 | ||
continue-on-error: true | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
asset_path: mauerspecht-* | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
upload_url: ${{ needs.release.outputs.upload_url }} | ||
overwrite: true | ||
- name: Upload Assets (retry) | ||
id: upload_try2 | ||
if: steps.upload_try1.outcome == 'failure' | ||
continue-on-error: true | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
asset_path: mauerspecht-* | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
upload_url: ${{ needs.release.outputs.upload_url }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mauerspecht-client.* | ||
mauerspecht-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
# Simple Probing Tool for Corporate Walled Garden Networks | ||
|
||
The Problem: Network sensors such as | ||
[Suricata](https://suricata-ids.org/) or [Bro/Zeek](https://zeek.org/) | ||
[Suricata](https://suricata-ids.org/) or [Zeek](https://zeek.org/) | ||
have been successfully deployed in a large network, but the rate of | ||
alarms or other useful information is suspiciously low -- not even the | ||
usual background noise can be seen. Can we be sure that our sensors | ||
|
@@ -76,15 +76,10 @@ Server: | |
|
||
## Building | ||
|
||
If a Go toolchain with [modules](...) support is available (version | ||
1.11 or later), simply running `make all` from the Git checkout is | ||
For recent Go versions, simply running `make all` from the Git checkout is | ||
sufficient. | ||
|
||
For earlier Go versions, run `go get github.com/DCSO/mauerspecht` | ||
change to the directory within the `GOPATH` where the project was | ||
downloaded, and run `make all` | ||
|
||
In both cases, the following binaries will be generated: | ||
The following binaries will be generated: | ||
- `mauerspecht-server`: The server component, a Linux/x86-64 binary | ||
- `mauerspecht-client-$ARCH`: The clients, for various architectures | ||
|
||
|
@@ -95,15 +90,17 @@ In both cases, the following binaries will be generated: | |
- The server stores session keys submitted by clients in memory and does | ||
not expire them yet. This is a denial-of-service vector. | ||
- Bundled client configuration for easy single-binary deployment (see | ||
also: [spyre](https://github.com/DCSO/spyre)) | ||
also: [spyre](https://github.com/spyre-project/spyre)) | ||
|
||
## Contact | ||
|
||
## Author | ||
Sascha Steinbiss <<[email protected]>> | ||
|
||
Hilko Bengen <<[email protected]>> | ||
Original Author: Hilko Bengen | ||
|
||
## Copyright | ||
|
||
Copyright 2019 Deutsche Cyber-Sicherheitsorganisation GmbH | ||
Copyright 2019, 2024 Deutsche Cyber-Sicherheitsorganisation GmbH | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
module github.com/DCSO/mauerspecht | ||
|
||
go 1.21.6 | ||
|
||
require ( | ||
github.com/mattn/go-ieproxy v0.0.12 | ||
golang.org/x/crypto v0.31.0 | ||
) | ||
|
||
require ( | ||
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149 | ||
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 | ||
golang.org/x/net v0.33.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149 h1:HfxbT6/JcvIljmERptWhwa8XzP7H3T+Z2N26gTsaDaA= | ||
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= | ||
github.com/mattn/go-ieproxy v0.0.12 h1:OZkUFJC3ESNZPQ+6LzC3VJIFSnreeFLQyqvBWtvfL2M= | ||
github.com/mattn/go-ieproxy v0.0.12/go.mod h1:Vn+N61199DAnVeTgaF8eoB9PvLO8P3OBnG95ENh7B7c= | ||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= | ||
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 h1:ydJNl0ENAG67pFbB+9tfhiL2pYqLhfoaZFw/cjLhY4A= | ||
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= | ||
golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= | ||
golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= | ||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ= | ||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= | ||
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= | ||
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= | ||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= | ||
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI= | ||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= | ||
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= | ||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= | ||
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= | ||
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters