Commit Graph

8 Commits

Author SHA1 Message Date
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
Omar Polo
5ac1e2631b Don't need to copy strings around and hardcode the max table len from pf
internals, just assign a pointer (eventually from argv.)

while here also add a usage() function and error if more than one
argument are passed.
2022-09-24 19:40:39 +02:00
Solene Rapenne
f6e72657a5 Makefile: allow override of PREFIX 2022-09-18 15:15:24 +02:00
prx
7910b7ea11 actually use cflags 2022-08-25 10:04:53 +02:00
prx
8fe70f68e8 make sure PREFIX is set 2022-08-22 15:04:26 +02:00
Solene Rapenne
ee7a713fc9 add installation target to makefile 2022-08-18 10:57:50 +02:00
Solene Rapenne
8d03bbd483 Add IPv6 support + many others improvements. Patch from prx@ybad.name 2021-03-10 22:34:50 +01:00
Solene Rapenne
23fa24541c Add simple Makefile with test suite 2021-02-26 00:10:27 +01:00