Commit Graph

30 Commits

Author SHA1 Message Date
Max
6da87d7ff6
Bump dependencies (#127)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3107b77cd68437b9a76194f0f7f9c55f2329ca5b?narHash=sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA%3D' (2026-04-01)
  → 'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb?narHash=sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4%3D' (2026-05-13)
• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/af4331c44f13977b6964745454eadcfee2d244d1?narHash=sha256-OOEWyt8ma7QAysDbiP65J7li7KIdtZfnbA11gFnwyEI%3D' (2026-05-16)
  → 'github:hercules-ci/hercules-ci-effects/86c7c78a840b44b1a0a5cbc7e9baa0154c0d0f3f?narHash=sha256-vy0EiuiLRKWbXYOqdEKoy5ImlbHcdMC52x9BcC/MwQ8%3D' (2026-06-15)
• Updated input 'ndg':
    'github:feel-co/ndg/d678855cdd0385b1bd78adf3456d072642317d6a?narHash=sha256-gJcybEQZa5Jdh3MSgvGLqiqQFRTZ3IxQFvVIsJecbno%3D' (2026-04-14)
  → 'github:feel-co/ndg/38edc9a7889854aed58b674158e02f0f7731328a?narHash=sha256-be9NxraQyoB4wLjiPHxpmklfJYuB%2BQs/x69P395I1Fk%3D' (2026-06-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D' (2026-04-14)
  → 'github:NixOS/nixpkgs/567a49d1913ce81ac6e9582e3553dd90a955875f?narHash=sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H%2BCNW1Ck8B%2B8%3D' (2026-06-16)

* bump go deps

* netstack: update vendored tun.go

* update vendorHash

* system -> stdenv.hostPlatform.system
2026-06-23 14:14:39 +00:00
DavHau
6f3c85a1ef
feat: add mDNS peer discovery for LAN environments (#102)
Co-authored-by: Max <max@privatevoid.net>
2026-06-22 14:01:34 +00:00
Max
91a2cd0bc4
Bump dependencies (#104)
* meta: apply follows to ndg

* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569?narHash=sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98%3D' (2025-06-08)
  → 'github:hercules-ci/flake-parts/3107b77cd68437b9a76194f0f7f9c55f2329ca5b?narHash=sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA%3D' (2026-04-01)
• Updated input 'hercules-ci-effects':
    'github:max-privatevoid/hercules-ci-effects/b8127446a483cfd91495037e343b592662033188?narHash=sha256-xlxgYZ0eCnr9ikQuM5VuD8rUjLdbGzSKgF2EoRKDn/8%3D' (2025-07-01)
  → 'github:max-privatevoid/hercules-ci-effects/f3a32947c119cfe0f0130ad91b37028a3dae22d1?narHash=sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI%3D' (2026-04-15)
• Updated input 'ndg/nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.05pre972949.6201e203d095/nixexprs.tar.xz?lastModified=1775036866&narHash=sha256-ByAX1LkhCwZ94%2BKnFAmnJSMAvui7kgCxjHgUHsWAbfI%3D&rev=6201e203d09599479a3b3450ed24fa81537ebc4e' (2026-04-01)
  → follows 'nixpkgs'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27)
  → 'github:NixOS/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D' (2026-04-14)

* go mod tidy

* go-libp2p: 0.42.0 -> 0.48.0

* go-libp2p-kad-dht: 0.33.1 -> 0.39.0

* dev: use nixfmt

* dev: reformat

* update vendorHash
2026-04-16 22:17:31 +01:00
Roland Urbano
2e36bcdce6
Enhanced Logging with ipfs/go-log (#90)
* Added ipfs/go-log and updated up.go

Use ipfs/go-log over fmt.Println

Fixed more log usages with go-log

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

log: refactor log usage to provide module global logger with configurable log level

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

Refactored logger initialization for modules

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

Removed object member loggers

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

* Implemented logging with ipfs/go-log

logging: fix logger level config

Co-authored-by: Max <max@privatevoid.net>

Update svc/network.go

Co-authored-by: Max <max@privatevoid.net>

removed static info log level constant

Co-authored-by: Max <max@privatevoid.net>

Update dns/server.go

Co-authored-by: Max <max@privatevoid.net>

Update dns/server.go

Co-authored-by: Max <max@privatevoid.net>

Update rpc/server.go

Co-authored-by: Max <max@privatevoid.net>

Applied MR suggestions

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

Enhanced logging

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>

* update vendorHash

* go fmt

---------

Signed-off-by: Roland Urbano <urbano.roland@gmail.com>
Co-authored-by: Max <max@privatevoid.net>
2025-12-07 19:31:49 +00:00
Max
359adb47fa
Update dependencies (#79)
* dev: fuck you, google

* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
  → 'github:hercules-ci/flake-parts/9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569?narHash=sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98%3D' (2025-06-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02)
  → 'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27)

* go-libp2p: 0.38.1 -> 0.42.0

* go-libp2p-kad-dht: 0.28.0 -> 0.33.1

* update vendorHash
2025-07-01 10:31:05 +02:00
Jörg Thalheim
a5957e485f
go-libp2p: 0.37.0 -> 0.38.1 (#75) 2025-01-12 14:51:42 +00:00
Max
83e755f445
libp2p 0.37.0 and other updates (#66)
* update go deps

go-libp2p: 0.33.2 -> 0.37.0
go-libp2p-kad-dht: 0.25.2 -> 0.28.0
go-multiaddr: 0.12.3 -> 0.14.0

* update vendorHash
2024-11-14 10:19:28 +00:00
dependabot[bot]
b90995b3c9
build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#28)
* build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* update vendorHash

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <max@privatevoid.net>
2024-05-23 17:29:14 +00:00
dependabot[bot]
ced1f81c28
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 (#27)
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* update vendorHash

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <max@privatevoid.net>
2024-05-23 17:20:45 +00:00
Max
b32d496d21
Service Network (#15)
* implement foundation for service network

* update vendorHash

* extract MkNetID

* look up peers by NetID

* implement proxy for remote services

* support remote services (client side)

* create Proxy abstraction

* implement TCPServiceProxy

* add a wrapper to make streams implement net.Conn

* support remote services (server side)

* implement services in config

* create proxies from multiaddrs

* register services defined in config

* add description field to proxy

* resolve service hostnames
2024-05-14 17:14:42 +02:00
Max
2e6d5c401c
bump dependencies, 0.8.5 -> 0.8.6 (#11) 2024-05-03 01:08:44 +02:00
Max
5d61ae5eb6 implement delegated HTTP routing, set user agent string 2024-04-28 00:21:08 +02:00
Max
7c780d9d6b a bunch of stuff at once
- dynamic addressing
- DNS
- switch to cidranger for routing
- auto add routes to tun device
- pex: shut up
2024-04-28 00:19:31 +02:00
Max
1db87a19b6 ban yaml from existence 2024-04-28 00:19:31 +02:00
Max
e16ce37ab9 go-libp2p: 0.30.0 -> 0.31.0 2024-04-28 00:19:23 +02:00
Max
a26ff11b86 bump dependencies and Go version, switch to quic-v1 addresses 2024-04-28 00:18:53 +02:00
Max
91f9b96f4f go-libp2p: 0.26.3 -> 0.26.4 2024-04-28 00:18:44 +02:00
Max
b83d9d2f2b bump dependencies and Go version
- Go: 1.18 -> 1.19
- go-libp2p: 0.23.4 -> 0.26.3
- go-libp2p-kad-dht: 0.20.0 -> 0.21.1
- go-multiaddr: 0.7.0 -> 0.8.0
- go-multibase: 0.1.1 -> 0.2.0
2024-04-28 00:18:25 +02:00
dependabot[bot]
6c253f827c build(deps): bump golang.org/x/net in /packages/networking/hyprspace
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220923203811-8be639271d50 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 00:18:25 +02:00
dependabot[bot]
52364ad586 build(deps): bump github.com/ipld/go-ipld-prime
Bumps [github.com/ipld/go-ipld-prime](https://github.com/ipld/go-ipld-prime) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/ipld/go-ipld-prime/releases)
- [Changelog](https://github.com/ipld/go-ipld-prime/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipld/go-ipld-prime/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/ipld/go-ipld-prime
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-28 00:18:25 +02:00
Max
01d97ce6da bump github.com/libp2p/go-libp2p-kad-dht v0.18.0 -> v0.20.0 2024-04-28 00:17:27 +02:00
Max
862cfff6c5 remove some deprecated packages, bump go-libp2p 0.23.2 -> 0.23.4 2024-04-28 00:17:24 +02:00
Max
3d13a9bd9e remove update command
We have Nix for installing software ;)
2024-04-28 00:16:02 +02:00
Max
7f4f1068c6 bump dependencies 2024-04-28 00:16:02 +02:00
Alec
20c306ddcb Serious Performance Improvements 2022-02-01 20:48:08 -07:00
Tiago Carvalho
663a66b2a2 Remove dependency on ip command 2022-01-24 22:32:45 +00:00
Alec
414f80bd6b Improve background bandwidth usage by removing discover keys 2021-10-23 14:55:05 -07:00
notassigned
dc279408df
Added in TCP transport to node create 2021-09-13 09:29:32 -04:00
notassigned
7a93823466
Replaced TCP with QUIC 2021-09-10 17:17:14 -04:00
Alec Scott
a70736ad47 Initial Commit of Hyprspace! 2021-06-07 21:31:43 -07:00