Merge branch 'main' of https://deadbeef.codes/steven/hyp
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing

This commit is contained in:
Steven Polley 2024-04-14 18:39:17 -06:00
commit 8cd537cd79
2 changed files with 42 additions and 1 deletions

View File

@ -16,7 +16,8 @@ steps:
include:
- environment
- name: build hyp linux-amd64
- name: build hyp (client) linux-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
@ -37,6 +38,44 @@ steps:
- go build .
- mv -f hypd /dist
- name: build hypd (server) linux-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
- name: publicrelease
path: /dist
environment:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
commands:
- . /root/.profile
- cd hypd/server
- go generate
- cd ..
- go build .
- mv -f hypd /dist
- name: build hyp (client) windows-amd64
image: registry.deadbeef.codes/hyp-build:latest
pull: always
volumes:
- name: publicrelease
path: /dist
environment:
GOOS: windows
GOARCH: amd64
CGO_ENABLED: 0
commands:
- . /root/.profile
- cd hyp
- go build .
- mv -f hyp.exe /dist
- name: release
image: plugins/gitea-release
pull: always

View File

@ -1,5 +1,7 @@
# hyp | Hide Your Ports
[![Build Status](https://drone.deadbeef.codes/api/badges/steven/hyp/status.svg)](https://drone.deadbeef.codes/steven/hyp)
hyp is a [port knocking](https://www.youtube.com/watch?v=a7VJZEJVhD0) implementation written in Go, using spread-spectrum UDP as an authentication mechanism. It enables trusted devices to access services over the internet, wherever they are, and without the service being publicly accessible. The benefit is that the ports are not open publicly on the internet, they won't show in a port scan and are therefore less likely to be attacked by a threat actor.
hyp provides security through obscurity. Security through obscurity tends to have a negative connotation, at least in the IT world. I don't agree with this, but it's prescribed as being bad. My belief is security through obscurity is a "further step" one can take to eliminate a certain class of threats. It by no means should be the only mechanism of protection, but instead should be incorporated only as part of a layered defense.