diff options
-rw-r--r-- | LICENSE | 21 | ||||
-rwxr-xr-x | dependencies.sh | 7 | ||||
-rwxr-xr-x | dmvpn-ca | 26 | ||||
-rwxr-xr-x | nhrp-events | 12 | ||||
-rwxr-xr-x | setup.sh | 9 |
5 files changed, 49 insertions, 26 deletions
@@ -0,0 +1,21 @@ +Copyright (c) 2014-2018 Kaarle Ritvanen +Copyright (c) 2015-2017 Timo Teräs +Copyright (c) 2017 Natanael Copa + +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. diff --git a/dependencies.sh b/dependencies.sh index 8d62b85..57a913d 100755 --- a/dependencies.sh +++ b/dependencies.sh @@ -1,5 +1,12 @@ #!/bin/sh +# Install dependencies for dmvpn-tools +# +# Copyright (c) 2014-2018 Kaarle Ritvanen +# Copyright (c) 2017 Natanael Copa +# +# See LICENSE file for license details + sudo apk add -t .dmvpn-tools-deps \ lua5.2 lua5.2-cqueues lua5.2-lyaml lua5.2-ossl lua5.2-posix \ lua5.2-sql-sqlite3 lua5.2-stringy lua5.2-struct lua-asn1 @@ -3,27 +3,11 @@ --[[ Certificate Authority tool for Dynamic Multipoint VPN -Copyright (C) 2014-2017 Kaarle Ritvanen -Copyright (C) 2015 Timo Teräs -Copyright (C) 2017 Natanael Copa - -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. +Copyright (c) 2014-2018 Kaarle Ritvanen +Copyright (c) 2015 Timo Teräs +Copyright (c) 2017 Natanael Copa + +See LICENSE file for license details ]]-- conf_file = io.open(os.getenv('DMVPN_CA_CONF') or '/etc/dmvpn-ca.conf') diff --git a/nhrp-events b/nhrp-events index e5e3bbf..2f55657 100755 --- a/nhrp-events +++ b/nhrp-events @@ -1,10 +1,14 @@ #!/usr/bin/lua5.2 --- Example NHRP events processing script which validates --- NHRP registration GRE address against certificate subjectAltName IP --- and auto-creates BGP pairings and filters based on sbgp extensions. +--[[ +Example NHRP events processing script which validates NHRP registration GRE +address against certificate subjectAltName IP, and auto-creates BGP pairings +and filters based on S-BGP extensions. --- Depends on lua5.2 lua5.2-posix lua5.2-cqueues lua5.2-ossl lua-asn1 +Copyright (c) 2015-2017 Timo Teräs + +See LICENSE file for license details +]]-- local posix = require 'posix' local struct = require 'struct' @@ -1,6 +1,13 @@ #!/bin/sh -e -sh ./dependencies.sh +# Create test database for dmvpn-ca +# +# Copyright (c) 2014-2018 Kaarle Ritvanen +# Copyright (c) 2017 Natanael Copa +# +# See LICENSE file for license details + +./dependencies.sh while read cmd; do if [ "$cmd" ]; then |