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.
|
6 months ago |
solene
|
550cfca6d1
|
Merge pull request 'fix_readme_path' (#4) from prx/iblock:fix_readme_path into main
Reviewed-on: #4
|
6 months ago |
Solene Rapenne
|
f6e72657a5
|
Makefile: allow override of PREFIX
|
6 months ago |
prx
|
b95e736dc7
|
add fork check for error and reformat
|
6 months ago |
prx
|
a2702bad84
|
fix PREFIX in readme
|
6 months ago |
solene
|
747a833df3
|
Merge pull request 'iblock: kill established connections after the ban' (#3) from fork into main
Reviewed-on: #3
|
7 months ago |
Solene Rapenne
|
1f21555152
|
iblock: kill established connections after the ban
|
7 months ago |
solene
|
f272f53c0c
|
Merge pull request 'actually use cflags' (#2) from prx/iblock:main into main
Reviewed-on: #2
|
7 months ago |
prx
|
7910b7ea11
|
actually use cflags
|
7 months ago |
solene
|
1a60f738f2
|
Merge pull request 'main' (#1) from prx/iblock:main into main
Reviewed-on: #1
|
7 months ago |
prx
|
ff5ff21ca5
|
make install is set
|
7 months ago |
prx
|
8fe70f68e8
|
make sure PREFIX is set
|
7 months ago |
prx
|
3cadbbe7df
|
no need to look in PATH
|
7 months ago |
prx
|
9b755ab627
|
typo
|
7 months ago |
prx
|
28eb2bfbeb
|
if and switch aren't functions
|
7 months ago |
prx
|
7c1edb0feb
|
remove useless {}
|
7 months ago |
prx
|
2b226c9a02
|
initialize variables, use strlcpy return value
|
7 months ago |
prx
|
f9d12c9ef5
|
avoid colision with common table names
|
7 months ago |
prx
|
7f474df2ee
|
set TABLE_LEN according to pf source
|
7 months ago |
Solene Rapenne
|
ee7a713fc9
|
add installation target to makefile
|
8 months ago |
Solene Rapenne
|
b2219c036f
|
README: enhancement
|
12 months ago |
prx
|
461451d717
|
Make use of doas mandatory to avoid running iblock as root.
|
2 years ago |
Solene Rapenne
|
ddcacd328f
|
Documentation enhancement
|
2 years ago |
Solene Rapenne
|
8d03bbd483
|
Add IPv6 support + many others improvements. Patch from prx@ybad.name
|
2 years ago |
Solene Rapenne
|
da5ea6f65c
|
use smaller char array for storing host and port
|
2 years ago |
Solene Rapenne
|
09e16ad795
|
Block then pass, and not pass then block, this allowed people to be blocked multiple time
|
2 years ago |
Solene Rapenne
|
517c24f322
|
Fix a check issue, from Quentin Rameau
|
2 years ago |
Solene Rapenne
|
b88a0f9c82
|
Add label in example and how to use it
|
2 years ago |
Solene Rapenne
|
c6bcf903a3
|
Add more ports in the example
|
2 years ago |
Solene Rapenne
|
b9469c2392
|
Enhance README
|
2 years ago |
Solene Rapenne
|
629d57262a
|
Enable blocking as root, ipv4 only
|
2 years ago |
Solene Rapenne
|
a6e23e761b
|
Add a pfctl call + syslog
|
2 years ago |
Solene Rapenne
|
23fa24541c
|
Add simple Makefile with test suite
|
2 years ago |
Solene Rapenne
|
40f8a39e3d
|
skeleton
|
2 years ago |
Solene Rapenne
|
d9333cff11
|
Remove garbage chars
|
2 years ago |
Solene Rapenne
|
71f7f0909a
|
Update license file
|
2 years ago |
solene
|
51c6f73915
|
Initial commit
|
2 years ago |