Software: WireHub, PipeWire, Teleirc, Futatabi and Knot Boards With Inkscape

-
wirehub - decentralized, peer-to-peer and secure overlay networks built with WireGuard
Hello,
I've been giving my free time on a side project called WireHub
(https://github.com/gawen/wirehub), which is a simple tool to build
decentralized, peer-to-peer and secure overlay networks. It dynamically
configures WireGuard tunnels, discoverying peers' endpoints via a
authenticated
DHT, going through NATs, and relaying the WireGuard traffic if no P2P
communication is possible.Overlay networks are defined by a single human-readable file which lists the
hostname and public key for each nodes of the network. Here's an example:name test # network name is 'test'
subnet 10.0.42.0/24 # overlay subnetwork is 10.0.42.0/24
workbit 8 # PoW parameter for DHT security# a public bootstrap node
boot P17zMwXJFbBdJEn05RFIMADw9TX5_m2xgf31OgNKX3w bootstrap.wirehub.io# Add trusted node 'a.test' to the overlay network.
# Each trusted node are at least identified by an human-readable
hostname
# and a base64 public key.
trust a.test KJ7YGrBeqLLm_JJ1huIS26OnqAVFy57z5UJqjyMagW4# If the endpoint of a peer is static, it might be set after the public
key.
# Note that this is optional, as endpoints can be dynamically found in
the
# DHT.
trust b.test eIix5ldvqDzOIrG9ViKTe9TSBlF4g9nUwKi20C06hFM 12.34.56.78# By default WireHub assigns nodes an (overlay) private IP, but a static
# private IP might be defined
trust c.test 10.0.42.254 kKZzuIm11zkBSHL9ETRwEthIBbLTvz840F_k4mhI_Hs
...To start a peer,
# wh up ./config private-key ./sk
When a network is up, the node's hostnames are resolved in userland.
# ping b.test
PING 10.0.42.2 (10.0.42.2): 56 data bytes
64 bytes from 10.0.42.2: seq=0 ttl=64 time=106.801 ms
64 bytes from 10.0.42.2: seq=1 ttl=64 time=49.778 msWireGuard and WireHub uses the same Curve25519 key. WireHub keys must be
generated with `wh genkey`, which adds a Proof-of-Work to the generation of
the
Curve25519 key, in order to mitigate Sybil attacks on the DHT. A high
workbit
will require more work to generate a valid key.# wh genkey workbit 8 # fast
MFaqLuutFvNs79Xc9zhOUofIbL3xSLz1uo+RB1xB73s=
# wh genkey workbit 8 | wh pubkey | wh workbit
8
# wh genkey workbit 16 # will take more time to generate
kLfotsCIfB/7OcDGeLenptfy2Dzav9wmVZjVQ0Gvnk0=
# wh genkey workbit 16 | wh pubkey | wh workbit
16# wg genkey | wh pubkey | wh workbit # WireGuard keys have 0 workbit
0Under the hood, WireHub runs its own UDP protocol, binding the same UDP port
than the WireGuard interface (for NAT trasversal technique reasons). It
does so using
libpcap. The first byte of a WireHub packet is 0xff, which corresponds to an
invalid WireGuard packet with message type outside the valid range
0x00-0x03.WireHub currently authenticates its packets with a custom cryptographic
scheme
based on the node's keys. In the future, it might be better to tunnel
WireHub
packets through WireGuard, yet I'm not sure how to do that simply at the
moment,
as WireHub packets are not IP packets but more like authenticated messages.There's much room for improvement (security, allowed-ips management, more
UDP
hole punching techniques, faster relaying), but it's usable. Docker images
are
provided to ease quick starting.Feel free to test and give some feedbacks!
Also, I'll be at FOSDEM 2019 next week-end, so see you there!
Gawen
-
WireHub Is Building Off WireGuard With Decentralized, P2P Secure Overlay Networks
WireHub is a new open-source project aiming to provide decentralized, peer-to-peer and secure overlay networks that is tooled around the WireGuard secure VPN software.
Thanks to building off WireGuard tunnels, in less than ten thousand lines of code itself supports creating secure overlay networks while being decentralized with peer discovery, peer-to-peer and relayed communication, and other features.
-
PipeWire Should Be One Of The Exciting Linux Desktop Technologies For 2019
One of the Linux desktop technologies that is quite exciting and will hopefully see more widespread adoption this year is the Red Hat backed PipeWire initiative.
PipeWire has been in development now for two years to overhaul the Linux desktop's audio/video processing in trying to fulfill the roles currently handled by PulseAudio and HACK, among others, while handling video input too and also tieing into the Wayland desktop/screen remote capabilities too. Oh yeah, and supporting Flatpaks as part of its design.
-
Teleirc v1.3: Developers map out next release
On Saturday, February 2nd, 2019, the Teleirc community in Rochester, NY held the first developers’ meeting. Starting this month, weekly meetings are held to discuss blocking issues and plan ahead for the future of the project. Current project lead Justin W. Flory met with Tim Zabel and Nic Hartley to finish planning the v1.3 milestone for Teleirc. Notably, this marks the next feature-release of Teleirc since v1.2 in October 2018.
Read on to learn more about what’s coming in Teleirc v1.3.
-
Futatabi: Multi-camera instant replay with slow motion
I've launched Futatabi, my slow motion software! Actually, the source code has been out as part of Nageru for a few weeks, so it's in Debian buster and all, but there's been a dash the last few days to get all the documentation and such in place.
-
Knot Boards
First step is to pull out Inkscape and design the graphics. I grabbed a rope border from Open Clipart and grabbed some knot graphics from a Scouting PDF (which I can't find a link to). I put those together to create the basic design along with labes for the knots. I also added a place for each Scout to sign their name as a Thank you to the Den Leader. I then make some small circles for the laser cutter to cut out holes for the ropes. I made a long oblong region on the right so the board would have a handle and a post to tie the hitches around. Then lastly I added the outline to cut out the board.
To get the design into the laser cutter I exported it from Inkscape in two graphics. I exported the cut lines as a DXF and I exported the etching as a 300 DPI PNG. The cut lines were simpler and the laser cutter software was able to handle those and create simple controls for the cutter. The knots on the other hand were more complex vector objects and the laser cutter software couldn't handle them. Inkscape could, so I had it do the rendering to a bitmap. The laser cutter can then setup scans that use the bitmap data which worked very well.
-

- Login or register to post comments
Printer-friendly version- 4302 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago