icanserve #5

Open
prx wants to merge 16 commits from prx/iblock:icanserve into main
Contributor

Sorry for the huge commit, I forgot to do it while adding the changes.

Sorry for the huge commit, I forgot to do it while adding the changes.
prx added 2 commits 2022-10-08 12:21:35 +00:00
92e8239a50 iblock is now its own server. inetd is no longer required.
Some minor changes too:
* doas is called with flag "-n", this avoid blocking iblock if doas ismisconfigured.
* pfctl calls are run in separate fork process
* iblock listening port is now the better 2507 instead of already used by other softwares 666.
* Added a rc script to start iblock as daemon.
Author
Contributor

I'd like a review about zombie process if someone know how to check for such things, please.

I'd like a review about zombie process if someone know how to check for such things, please.
prx added 1 commit 2022-10-08 19:16:39 +00:00
Author
Contributor

I added a signal handler to catch child process.
It seems to be called.
However, "pgrep iblock" still find new process at each loop.
Need someone better than me here to explain this behaviour.

I added a signal handler to catch child process. It seems to be called. However, "pgrep iblock" still find new process at each loop. Need someone better than me here to explain this behaviour.
prx added 1 commit 2022-10-08 19:40:38 +00:00
Author
Contributor

My bad, that weren't zombies. Just duplicated listening sockets remaining. My bad.
This should be ok now.

My bad, that weren't zombies. Just duplicated listening sockets remaining. My bad. This should be ok now.
prx added 1 commit 2022-10-08 19:48:39 +00:00
Author
Contributor

Currently, only ipv4 or ipv6 is supported, but not both at the same time.
WIP...

Currently, only ipv4 or ipv6 is supported, but not both at the same time. WIP...
prx added 2 commits 2022-10-12 19:43:51 +00:00
prx added 1 commit 2022-10-12 20:01:41 +00:00
Author
Contributor

That's it, I think I have finished to turn iblock to a server.
I'm curious how it handle stress of many attempts.
Please test :)

That's it, I think I have finished to turn iblock to a server. I'm curious how it handle stress of many attempts. Please test :)
prx added 1 commit 2023-05-12 10:10:45 +00:00
Owner

I'd like to have a flag to choose the port on which iblock is listening.

Also, main() is very long, isn't it possible to split it into smaller functions?

I'd like to have a flag to choose the port on which iblock is listening. Also, `main()` is very long, isn't it possible to split it into smaller functions?
prx added 1 commit 2023-06-13 08:36:03 +00:00
prx added 1 commit 2023-09-02 13:59:35 +00:00
prx added 5 commits 2023-09-03 13:45:34 +00:00
Author
Contributor

Voilà, j'ai fini ce que suis en mesure de faire je crois.
Ça tourne sur mon serveur sans soucis remarquables.
Dis moi s'il manque quelque chose ;)

Voilà, j'ai fini ce que suis en mesure de faire je crois. Ça tourne sur mon serveur sans soucis remarquables. Dis moi s'il manque quelque chose ;)
Author
Contributor

Petit "ping" amical : ça tourne sans soucis depuis plusieurs mois sur mon serveur.
Des retours négatifs concernant les changements proposés?

Petit "ping" amical : ça tourne sans soucis depuis plusieurs mois sur mon serveur. Des retours négatifs concernant les changements proposés?
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b prx-icanserve main
git pull icanserve

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff prx-icanserve
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 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: solene/iblock#5
No description provided.