icanserve #5

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

16 Commits

Author SHA1 Message Date
prx 6cf21a6125 initial manpage. unfinished, I suck at manpages 2023-09-03 15:45:28 +02:00
prx 179f891484 update manpage for new flags availables 2023-09-03 15:37:17 +02:00
prx 3642040f5c factorize #3:ban + simpler runcmd 2023-09-03 15:33:28 +02:00
prx b452300021 less verbose logs 2023-09-03 15:24:29 +02:00
prx fc07398e49 factorize #2: watch event + fix bug listening a bad file descriptor 2023-09-03 15:10:30 +02:00
prx fe6a3a32ae factorize \#1: server setup 2023-09-02 15:59:07 +02:00
prx 493dac653d add -t and -p flags to specify table name and port 2023-06-13 10:35:54 +02:00
prx ba85c1dc9b change to avoid zombies 2023-05-12 12:10:38 +02:00
prx 0265627230 make sure table arg is considered 2022-10-12 22:01:34 +02:00
prx e364ce9780 listen on localhost, both ipv4 and ipv6 if available. Use kqueue to handle many connections 2022-10-12 21:43:44 +02:00
prx 306c003b1b update rc : no reload 2022-10-10 13:55:26 +02:00
prx 36e0e01553 rc done 2022-10-08 21:48:36 +02:00
prx 0662ac5bfa fix duplicate processes 2022-10-08 21:40:27 +02:00
prx 29a5701dee use signal to reap zombies, still WIP 2022-10-08 21:16:32 +02:00
prx 6b6bab5400 add mandatory message 2022-10-08 14:20:01 +02:00
prx 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.
2022-10-08 14:08:57 +02:00