Commit Graph

45 Commits

Author SHA1 Message Date
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
7e03fcc1d5
make bootstrap peers configurable (#111) 2026-06-18 22:13:10 +00:00
Max
38d5be9aaf
Make packet streams bidirectional (#121) 2026-06-18 22:11:32 +00: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
Jörg Thalheim
fc42d2eec0
Fix various linting issues. (#68)
* remove unused vars/functions

* all constants need explicit types

See https://staticcheck.dev/docs/checks/#SA9004

* cli/up: add missing error checks

* server: fix potential race condition of chown when binding listening socket

a process waiting for the socket appear may bind before we can apply
filesystem permissions.
2024-11-17 17:20:01 +00:00
Max
5f1093ac88
reserve 2 relay address slots for unlimited relays (#43) 2024-06-28 14:01:38 +00:00
Max
106ef293ad
use any peer as a relay (#29) 2024-05-25 00:31:45 +02:00
Max
491255be1c prevent connection loops 2024-04-28 00:21:23 +02:00
Max
724f94a288 add another bootstrap peer 2024-04-28 00:21:23 +02:00
Max
5d61ae5eb6 implement delegated HTTP routing, set user agent string 2024-04-28 00:21:08 +02:00
Max
77f2b4aa9f config and CLI overhaul
- remove unnecessary CLI args
- remove down command
2024-04-28 00:20:35 +02:00
Max
b7343e009b new bootstrap peers 2024-04-28 00:19:31 +02:00
Max
6df39331aa EnableAutoRelay -> EnableAutoRelayWithPeerSource 2024-04-28 00:19:28 +02:00
Max
049a1436f5 io/ioutil -> io 2024-04-28 00:19:26 +02:00
Max
a26ff11b86 bump dependencies and Go version, switch to quic-v1 addresses 2024-04-28 00:18:53 +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
Max
a1b6821481 add new bootstrap addresses 2024-04-28 00:18:25 +02:00
Max
4c3da2c944 use RoutedHost with combined PeX + DHT routing 2024-04-28 00:18:25 +02:00
Max
b72a9874f9 use native libp2p relay 2024-04-28 00:18:25 +02:00
Max
2f085c8a26 only grab connectable addresses from IPFS API 2024-04-28 00:17:29 +02:00
Max
cb633965b7 switch to DHT client mode 2024-04-28 00:17:29 +02:00
Max
f12103dd97 make pnet optional 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
6ea3107b6c implement AutoRelay 2024-04-28 00:16:02 +02:00
Max
865513707e use libp2p built-in DHT bootstrap logic 2024-04-28 00:16:02 +02:00
Max
957d8e641a remove unused import 2024-04-28 00:16:02 +02:00
Max
b90ed0cd2a don't die if initial bootstrap fails 2024-04-28 00:16:02 +02:00
Max
86df233b28 force reconnection 2024-04-28 00:16:02 +02:00
Max
2c475fd35c add rebootstrap support 2024-04-28 00:16:02 +02:00
Max
0d3d781f36 inform about bootstrap peer count 2024-04-28 00:16:02 +02:00
Max
fee6a02c6c use multibase-encoded private keys 2024-04-28 00:16:01 +02:00
Max
6bc5152f31 better swarm key handling 2024-04-28 00:16:01 +02:00
Max
e8dd3fb5cc grab extra peers from an IPFS node, private swarm support 2024-04-27 23:59:32 +02:00
Alec
20c306ddcb Serious Performance Improvements 2022-02-01 20:48:08 -07: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
7ee920fb47
Fix typo in multiaddr 2021-09-11 21:20:01 -04:00
notassigned
723e4958c8
Use QUIC and fall back to TCP 2021-09-11 21:01:44 -04:00
notassigned
7a93823466
Replaced TCP with QUIC 2021-09-10 17:17:14 -04:00
Alec Scott
52c78391bb Add initial support for UPnP to Hyprspace 2021-08-21 12:04:47 -07:00
Alec Scott
1e23bdb2e0
Switch to DHTClient Mode & Build Smaller Binaries 2021-06-26 10:33:08 -07:00
Alec Scott
53768270bd Improve Error Handling & Allow Multiple Interfaces 2021-06-16 22:26:15 -07:00
Alec Scott
021b1f861c Fix some more spelling across the board. 2021-06-09 18:34:23 -07:00
Alec Scott
2dd65d83f3 Fix Infinite Loop & Misspelling 2021-06-09 07:51:07 -07:00
Alec Scott
a70736ad47 Initial Commit of Hyprspace! 2021-06-07 21:31:43 -07:00