projects
/
rrq
/
nfblocker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056d236
)
This is moved
author
Ralph Ronnquist
<rrq@rrq.au>
Mon, 17 Feb 2025 02:59:08 +0000
(13:59 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Mon, 17 Feb 2025 02:59:08 +0000
(13:59 +1100)
bin/nfblockerctl
[deleted file]
patch
|
blob
|
history
diff --git
a/bin/nfblockerctl
b/bin/nfblockerctl
deleted file mode 100755
(executable)
index
aed8d22
..0000000
--- a/
bin/nfblockerctl
+++ /dev/null
@@
-1,20
+0,0 @@
-#!/bin/sh
-#
-# Control script for manual use of nfblocker.
-
-do_start() {
- iptables -I OUTPUT -p tcp -j NFQUEUE --queue-num 99
- nfblocker /etc/nfblocker/blocked/*.acl &
-}
-
-do_stop() {
- iptables -D OUTPUT -p tcp -j NFQUEUE --queue-num 99
- pkill nfblocker
-}
-
-case "$1" in
- start) do_start ;;
- reload) do_stop ; do_start ;;
- stop) do_stop ;;
- *) echo "Use start, stop or reload" >&2 ;;
-esac