Close Ports When Done #6

Closed
opened 2024-04-10 03:49:55 +00:00 by steven · 3 comments
Owner

There is no mechanism to close the port, only to open the port when the authentic knock sequence is received.

I'm thinking one approach is to make the hyp client as a continuously running process/daemon instead of a oneshot and exit. If left running, this would then enable your ports to open up and follow you whereever you connect from.

The hypd-server would require tracking clients that have successfully knocked, as well as the last time they succeeded. There also needs to be a timeout value, with a reasonable default (1 hour?)

The client would need to perform periodic refreshes in the background, maybe just under 1/3 of the server timeout value?

There is no mechanism to close the port, only to open the port when the authentic knock sequence is received. I'm thinking one approach is to make the hyp client as a continuously running process/daemon instead of a oneshot and exit. If left running, this would then enable your ports to open up and follow you whereever you connect from. The hypd-server would require tracking clients that have successfully knocked, as well as the last time they succeeded. There also needs to be a timeout value, with a reasonable default (1 hour?) The client would need to perform periodic refreshes in the background, maybe just under 1/3 of the server timeout value?
steven added the
enhancement
hypd / Server
hyp / Client
labels 2024-04-10 03:49:55 +00:00
steven self-assigned this 2024-04-10 03:49:55 +00:00
Author
Owner

I also need to work out how much information about the key is leaked during each knock sequence transmission to ensure this frequency is sane. Only 64 bits of the sha1hmac are used for the authentic knock sequence, which shouldn't be reavealing much about the key?

I also need to work out how much information about the key is leaked during each knock sequence transmission to ensure this frequency is sane. Only 64 bits of the sha1hmac are used for the authentic knock sequence, which shouldn't be reavealing much about the key?
steven removed the
hyp / Client
label 2024-04-18 17:28:35 +00:00
Author
Owner

Going to move client refresh into its own issue: #11

Going to move client refresh into its own issue: https://deadbeef.codes/steven/hyp/issues/11
Author
Owner

Added in: d1239867ae

Added in: d1239867ae7da185a3380f3b81d050c17f547b72
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: steven/hyp#6
No description provided.