IPv6 outgoing connections added - initially

This commit is contained in:
zx
2024-06-21 23:00:29 +03:00
parent 75aececd6b
commit 6235b78239
4 changed files with 89 additions and 26 deletions
+7
View File
@@ -28,6 +28,8 @@ function testcomm() {
BFCFGA=${CURDIR}/etc/bforceA.conf
BFCFGB=${CURDIR}/etc/bforceB.conf
# Works for Linux
BFCONFIG=${BFCFGA}
BFCONFIG=${BFCFGA} ${BFBIN} -o 99:1/2 > ${CURDIR}/bforceAtoB < ${CURDIR}/bforceBtoA &
#
@@ -35,6 +37,9 @@ function testcomm() {
BFCONFIG=${BFCFGB}
BFCONFIG=${BFCFGB} ${BFBIN} -S"CONNECT 9600" auto < ${CURDIR}/bforceAtoB > ${CURDIR}/bforceBtoA
# For [Free]BSD it need to be replaced - pipes are bidirectional:
# ./ping <&1 | ./pong >&0
rm ${CURDIR}/{bforceAtoB,bforceBtoA}
## WE MUST CHECK THAT INBOUND ARE FULL!!! ##
@@ -88,6 +93,8 @@ else
echo -n "--> Running Hydra test..."
testcomm
# TODO: make binkd test over netcat possibly
fi