burble.dn42 customizations

This commit is contained in:
Simon Marsh 2021-12-26 22:29:26 +00:00
parent dff2f9ab10
commit b3d2305f9d
Signed by: burble
GPG Key ID: 0FCCD13AE1CF7ED8
3 changed files with 62 additions and 1 deletions

54
.drone.yml Normal file
View File

@ -0,0 +1,54 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
environment:
CGO_ENABLED: 0
commands:
- go build
- name: upload
image: plugins/s3
settings:
bucket: artifacts
access_key:
from_secret: MINIO_ACCESS_KEY
secret_key:
from_secret: MINIO_SECRET_KEY
endpoint: https://minio.burble.dn42
region: uk-lon3
path_style: true
source: pndpd
target: /pndpd/${DRONE_BRANCH}
- name: upload
image: plugins/s3
settings:
bucket: artifacts
access_key:
from_secret: MINIO_ACCESS_KEY
secret_key:
from_secret: MINIO_SECRET_KEY
endpoint: https://minio.burble.dn42
region: uk-lon3
path_style: true
source: pndpd.service
target: /pndpd/${DRONE_BRANCH}
---
kind: secret
name: MINIO_ACCESS_KEY
get:
path: burble.dn42/kv/data/drone/minio
name: ACCESS_KEY
---
kind: secret
name: MINIO_SECRET_KEY
get:
path: burble.dn42/kv/data/drone/minio
name: SECRET_KEY

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
*.iml *.iml
.idea .idea
bin/ bin/
*~
pndpd

View File

@ -1,4 +1,7 @@
# PNDPD - NDP Responder + Proxy # PNDPD - NDP Responder + Proxy
[![Build Status](https://ci.burble.dn42/api/badges/mirrors/Pndpd/status.svg?ref=refs/heads/burble.dn42)](https://ci.burble.dn42/mirrors/Pndpd)
## Features ## Features
- **Efficiently** process incoming packets using bpf (which runs in the kernel) - **Efficiently** process incoming packets using bpf (which runs in the kernel)
- Respond to all NDP solicitations on an interface - Respond to all NDP solicitations on an interface