prx pushed to icanserve at prx/iblock 2023-09-03 13:45:33 +00:00
6cf21a6125 initial manpage. unfinished, I suck at manpages
179f891484 update manpage for new flags availables
3642040f5c factorize #3:ban + simpler runcmd
b452300021 less verbose logs
fc07398e49 factorize #2: watch event + fix bug listening a bad file descriptor
Compare 5 commits »
prx pushed to icanserve at prx/iblock 2023-09-02 13:59:34 +00:00
fe6a3a32ae factorize \#1: server setup
prx pushed to icanserve at prx/iblock 2023-06-13 08:36:02 +00:00
493dac653d add -t and -p flags to specify table name and port
prx pushed to icanserve at prx/iblock 2023-05-12 10:10:45 +00:00
ba85c1dc9b change to avoid zombies
prx commented on pull request solene/iblock#5 2022-10-12 20:03:49 +00:00
icanserve

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 pushed to icanserve at prx/iblock 2022-10-12 20:01:41 +00:00
0265627230 make sure table arg is considered
prx pushed to icanserve at prx/iblock 2022-10-12 19:43:50 +00:00
e364ce9780 listen on localhost, both ipv4 and ipv6 if available. Use kqueue to handle many connections
306c003b1b update rc : no reload
Compare 2 commits »
prx commented on pull request solene/iblock#5 2022-10-09 12:00:07 +00:00
icanserve

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

prx pushed to icanserve at prx/iblock 2022-10-08 19:48:39 +00:00
36e0e01553 rc done
prx commented on pull request solene/iblock#5 2022-10-08 19:42:31 +00:00
icanserve

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

prx pushed to icanserve at prx/iblock 2022-10-08 19:40:37 +00:00
0662ac5bfa fix duplicate processes
prx commented on pull request solene/iblock#5 2022-10-08 19:19:16 +00:00
icanserve

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 pushed to icanserve at prx/iblock 2022-10-08 19:16:38 +00:00
29a5701dee use signal to reap zombies, still WIP
prx commented on pull request solene/iblock#5 2022-10-08 12:24:22 +00:00
icanserve

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

prx created pull request solene/iblock#5 2022-10-08 12:21:35 +00:00
icanserve
prx pushed to icanserve at prx/iblock 2022-10-08 12:20:04 +00:00
6b6bab5400 add mandatory message
prx created branch icanserve in prx/iblock 2022-10-08 12:12:18 +00:00
prx pushed to icanserve at prx/iblock 2022-10-08 12:12:18 +00:00
92e8239a50 iblock is now its own server. inetd is no longer required.
prx pushed to main at prx/iblock 2022-10-05 13:08:34 +00:00
5ac1e2631b Don't need to copy strings around and hardcode the max table len from pf
550cfca6d1 Merge pull request 'fix_readme_path' (#4) from prx/iblock:fix_readme_path into main
f6e72657a5 Makefile: allow override of PREFIX
b95e736dc7 add fork check for error and reformat
a2702bad84 fix PREFIX in readme
Compare 9 commits »
prx created pull request solene/vger#10 2022-09-20 11:01:25 +00:00
relative_cgi