Better HN
topnewbestaskshowjobs
Log inSign up

jvink

67 karma · joined Mar 25, 2015 (11y ago) · 31 submissions

i hack on stuff.
Submissions

comment 1mo ago · link · parent

I’ve no need for them personally so they don’t exist in the official repo.

I know of some people however who hacked up their own using the sanctum library (https://github.com/jorisvink/libkyrka)

comment 1mo ago · link · parent

Sanctum! Entirely free and open-source and PQ-secure.

https://sanctorum.se

comment 3mo ago · link · parent

Working on the ability to create mixnets with sanctum [0] and its cathedrals.

Sanctum already has very capable traffic analysis protections in place in the form of shroud, but being able to build mixnets will make it even more valuable.

But it’s been vacation time so it’s been slow progress as time away from the internet is equally valuable.

[0] https://sanctorum.se

comment 8mo ago · link · parent

Picked up hacking on sanctum again after a break - https://sanctorum.se/

comment 10mo ago · link · parent

I've just released sanctum 1.0.0 and am taking 2-3 weeks off from hacking on it while I work on a little dumb game to be creative in a different way.

6.

Sanctum 1.0.0 Released(chants.conclave.se ↗)

10 points · by jvink · 10mo ago · 1 comment

comment 11mo ago · link · parent

Mostly been working on tier6 [0], which is "like" zerotier but over the sanctum protocol and fully open source (ISC licensed).

Getting ready to release a 1.0.0 of sanctum [1], after almost a year of internal testing, dogfooding and talking about it at security conferences.

We've also setup conclave [2] as an official release site for the projects tied to sanctum such as tier6, or the library implementation of the protocol etc.

[0] https://github.com/jorisvink/tier6

[1] https://sanctorum.se

[2] https://conclave.se

8.

Tier6 - Build global Ethernet networks using the sanctum protocol(github.com ↗)

2 points · by jvink · 11mo ago · discuss

comment 1y ago · link · parent

Working on cross-flock discovery in sanctum [1] so I can cut a 1.0 release hopefully before Christmas.

I am always looking for more people to test and play with it or even review the code. We've got a nice little user community going.

Usually this comments drowns in the crowd of the massive amount of awesome stuff people are building, but if you find sanctum useful, hit me up. Good things are happening.

Stay happy

[1] https://sanctorum.se

comment 1y ago · link · parent

Working on sanctum [0] and reliquary [1].

Soon approaching a 1.0 release for sanctum once I get my brain out of vacation mode and into hacking mode again. A lot has happened this year and I am excited.

I will be talking about how sanctum and its cathedrals work at sec-t 2025 [2] so in full swing working on the demos and presentation.

[0] https://github.com/jorisvink/sanctum

[1] https://reliquary.se

[2] https://sec-t.org

comment 1y ago · link · parent

Look into sanctum [1] it's cathedral mode. You can self-host those entirely and they're only discovery nodes. Once the tunnel is up the cathedral isn't involved unless for black key distribution or if your peers are behind restrictive NAT.

There's reliquary [2] which I host and run for me and my hacker friends based on sanctum.

[1] https://github.com/jorisvink/sanctum

[2] https://reliquary.se

12.

Sanctum || A pq-safe and sandboxed VPN daemon(github.com ↗)

28 points · by jvink · 1y ago · 4 comments

comment 1y ago · link · parent

I am continuing work on https://reliquary.se - a VPN for the hackers - based on my fully privilege separated and sandboxed VPN sanctum (https://sanctum.se).

It is shaping up nicely towards an actual 1.0 release in the near future, with a little less keccak based AEADs this time around. It was a fun experiment but in the end I have yet to do any cryptanalysis on it or provide security proofs for it - neither which I have time for at this point - so the swap to AES was expected on my end.

For fun I also added a fully e2e p2p voice chat client on top of this as the sanctum protocol is now available as a library (https://github.com/jorisvink/libkyrka) - this voice chat works with one or multiple peers and can is available at https://github.com/jorisvink/confessions.

Either way, I guess you can say I'm having a little bit too much fun with this.

14.

Show HN: End-to-end encrypted, peer-to-peer VPN tunnels for hackers(reliquary.se ↗)

3 points · by jvink · 1y ago · discuss

15.

Show HN: Sanctum – a privilege separated VPN daemon(sanctorum.se ↗)

3 points · by jvink · 2y ago · discuss

comment 7y ago · link · parent

> (also working on OpenCVS)

Not actively. It has been in hybernation for a long time.

Not counting the recently-ish fixes I committed not much is happening with it.

comment 10y ago · link · parent

I understand.

You're not forced to use the CLI create/build/run commands for anything. They just make it easier, but you are in no way tied to this.

Building the module itself can be done on your own for example, as it is just a normal dynamic library you can use whatever build system you want.

I've considered time and time again to turn kore into a "library" that you can link against and include into your own applications but every time I decided against it as it didn't give me any real benefits. It would make certain things considerable harder, who takes care of the worker processes? Who takes care of the logging and the internal message relaying? Having this abstracted away in a library is probably possible but adds tons of expectations on your own application.

Having Kore as the platform your code runs under makes this easier.

Thanks for explaining however, very insightful!

comment 10y ago · link · parent

Author of Kore here.

What fears? Care to elaborate? I'd love to hear!

comment 11y ago · link · parent

For sanity sake, this build option is now NOTLS.

comment 11y ago · link · parent

That's fair. Parenthesising return is a matter of readability and flavour to me. It tickles my spidey sense if it is missing.

I strongly dislike declaring variables anywhere else but the function root, but I agree with you on the example you provided that those kind of variables could be constified to be sane.

comment 11y ago · link · parent

Author here.

I see you picked out the few things that I consistently hear on the coding style I adopted which is based on my time hacking on openbsd. I have no real points to argue against those as it is based on preference in my opinion.

I am curious why you arrived on it not being sufficiently constified however. I'll gladly make sensible changes.

As for the multiple fprintf() calls ... to me it just reads better and the place it occurs in is as you stated pretty obvious non performance critical.

comment 11y ago · link · parent

Thanks.

I agree the BENCHMARK build option is a bit confusing. I might end up renaming it altogether.

comment 11y ago · link · parent

That is great, thanks for sharing.

comment 11y ago · link · parent

Correct.

The accepting socket is shared between multiple workers which each have its own fd for epoll or kqueue. Because of this a form of serialising the accepts between said workers is needed to avoid unnecessary wakeups.

comment 11y ago · link · parent

Except you are basing yourself on the fact it creates a single worker process per connection. It does not.

Workers are spawned when the server is started. Each of them deals with tens of thousands of connections on its own via the listening socket they share.

This is a common technique and scales incredible well.

comment 11y ago · link · parent

Kore does not fork per connection.

It uses per cpu worker processes which multiplex I/O over either epoll or kqueue.

comment 11y ago · link · parent

It is not a forking web server.

It is evented I/O with multiple worker processes.

It is literally in the documentation and easily spottable in the code.

comment 11y ago · link · parent

You can turn off TLS on Kore.

$ make BENCHMARK=1

It is not a run time option by design, but it is there.

I want Kore to have sane defaults for getting up and running. That means TLS (1.2 default by only), no RSA based key exchanges, AEAD ciphers preferred and the likes.

edit: spelling

comment 11y ago · link · parent

It is.

For example being strict on the network input path and doing proper validation of incoming data is a strong part of the design.

Or was the question more related to, it is C therefor security cannot be part of the process?

comment 11y ago · link · parent

Perhaps you can check out the websocket and SSE examples.

https://github.com/jorisvink/kore/tree/master/examples/sse https://github.com/jorisvink/kore/tree/master/examples/webso...

12