Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
678840a
pan: resolve SCION address from DNS TXT record
FR4NK-W Jun 8, 2022
f4c02e2
Use LookupTXT from net package
FR4NK-W Jun 8, 2022
cec92ce
pan: add some context and error handling to name resolution
FR4NK-W Jun 9, 2022
77c6ddd
pan: Add some documentation for host resolution and context to tests
FR4NK-W Jun 10, 2022
7e75102
pan callers: reuse context where available in call to pan.ResolveUDPAddr
FR4NK-W Jun 10, 2022
d3ae69e
pan: isolate Rains resolver context handling
FR4NK-W Jun 13, 2022
adf0e36
pan: Fix SCION address lookup
FR4NK-W Sep 7, 2022
41faacf
pan: return pan error type HostNotFoundError
FR4NK-W Sep 7, 2022
0de568a
pan: Make used DNS resolver explicit
FR4NK-W Sep 8, 2022
bb14e40
pan: add unit tests for DNS resolver
FR4NK-W Sep 8, 2022
ef97227
pan: add some more unit tests for DNS resolver
FR4NK-W Sep 9, 2022
5faf843
adapt hellodrkey (#235)
JordiSubira Nov 3, 2022
8ebcb0c
Extend Skip functionality for latest scion-browser extension (#233)
martenwallewein Nov 7, 2022
f61bba1
add golangci config in examples (#237)
JordiSubira Jan 12, 2023
902bfd7
sgrpc: Init gRPC over SCION/QUIC example (#236)
fstreun Jan 12, 2023
40b83c8
update dependencies
amdfxlucas May 27, 2023
b8c01b6
add shttp3 example
amdfxlucas May 28, 2023
19d4d19
Merge pull request #6 from amdfxlucas/master
benthor Jun 7, 2023
4f4e37c
Bump inet.af/netaddr (#240)
leonrinkel Jun 8, 2023
9b1c0e5
add ListenQUIC2 required by CoreDNS DoQ impl
amdfxlucas Jun 8, 2023
a14810b
Bump quic-go (#241)
leonrinkel Aug 13, 2023
4e358c4
skip: update proxy to the last version of the extension (#242)
JordiSubira Aug 23, 2023
28b48f6
Correct flags in helloworld and helloquic examples (#245)
sarcasticadmin Sep 20, 2023
3afc9a9
Bump scionproto and rains dependencies (#246)
martenwallewein Nov 7, 2023
011a3e0
Merge pull request #7 from amdfxlucas/master
benthor Nov 21, 2023
7fd1cf5
update dependencies
amdfxlucas May 27, 2023
7726de0
add shttp3 example
amdfxlucas May 28, 2023
3d68936
add ListenQUIC2 required by CoreDNS DoQ impl
amdfxlucas Jun 8, 2023
edcd6ad
minor cleanup
benthor Mar 5, 2024
a80bf0e
Merge branch 'ngi-search'
benthor Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ The directory _examples contains examples for the usage of the SCION libraries.
Example for the use of QUIC over SCION.
* [_examples/hellodrkey](_examples/hellodrkey/README.md):
Example for the the use of DRKey.
* [_examples/sgrpc](_examples/sgrpc/README.md):
Example for using gRPC over SCION/QUIC with the PAN library.
* [_examples/shttp](_examples/shttp/README.md):
Examples for using HTTP over SCION/QUIC, examples for servers, proxies, and clients.

Expand Down
50 changes: 50 additions & 0 deletions _examples/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Configuration for golangci-lint for scion-apps.
# See https://github.com/golangci/golangci-lint#config-file

linters:
enable:
# enabled by default:
#- deadcode
#- errcheck
#- gosimple
#- govet
#- ineffassign
#- staticcheck
#- structcheck
#- typecheck
#- unused
#- varcheck
- asciicheck
- bidichk
- contextcheck
- dupl
- durationcheck
- errname
- errorlint
- exportloopref
- gci
- gofmt
- ifshort
- importas
- makezero
- misspell
- nilerr
- nilnil
- nolintlint
- prealloc
- stylecheck
- thelper
- wastedassign
- tenv

issues:
max-same-issues: 0

linters-settings:
gci:
local-prefixes: examples
exhaustive:
default-signifies-exhaustive: true

run:
build-tags: integration
61 changes: 56 additions & 5 deletions _examples/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,67 @@
module examples

go 1.16
go 1.20

require (
github.com/golang/protobuf v1.5.2
github.com/gorilla/handlers v1.5.1
github.com/lucas-clemente/quic-go v0.23.0
github.com/netsec-ethz/scion-apps v0.5.1-0.20220504120040-79211109ed3f
github.com/netsec-ethz/scion-apps v0.0.0-00010101000000-000000000000
github.com/quic-go/quic-go v0.34.0
github.com/scionproto/scion v0.6.1-0.20220202161514-5883c725f748
google.golang.org/grpc v1.40.0
inet.af/netaddr v0.0.0-20210903134321-85fa6c94624e
google.golang.org/protobuf v1.28.0
inet.af/netaddr v0.0.0-20230525184311-b8eac61e914a
)

replace github.com/scionproto/scion => github.com/netsec-ethz/scion v0.6.1-0.20220422080039-25976708fd6b
require (
github.com/antlr/antlr4 v0.0.0-20181218183524-be58ebffde8e // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/britram/borat v0.0.0-20181011130314-f891bcfcfb9b // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/dchest/cmac v0.0.0-20150527144652-62ff55a1048c // indirect
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/google/gopacket v1.1.16-0.20190123011826-102d5ca2098c // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
github.com/inconshreveable/log15 v2.16.0+incompatible // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/netsec-ethz/rains v0.5.0 // indirect
github.com/onsi/ginkgo/v2 v2.2.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/quic-go/qtls-go1-19 v0.3.2 // indirect
github.com/quic-go/qtls-go1-20 v0.2.2 // indirect
github.com/uber/jaeger-client-go v2.29.1+incompatible // indirect
github.com/uber/jaeger-lib v2.0.0+incompatible // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.17.0 // indirect
go4.org/intern v0.0.0-20211027215823-ae77deb06f29 // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20230525183740-e7c30c78aeb2 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
golang.org/x/mod v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/term v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.7.0 // indirect
google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/scionproto/scion => github.com/netsec-ethz/scion v0.6.1-0.20220929101513-2408583f35d1

replace github.com/netsec-ethz/scion-apps => ../
Loading