|
LU9DCE > ALL 07.01.19 20:50l 45 Lines 1182 Bytes #999 (0) @ WW
BID : 16042_LU9DCE
Read: GUEST
Subj: FIREWALL NODES NO LINK
Path: IW8PGT<IZ3LSV<IK6ZDE<I0OJJ<EA2RCF<LU9DCE
Sent: 190107/1943Z 16042@LU9DCE.TOR.BA.ARG.SOAM LinBPQ6.0.17
>From lu9dce%lu9dce.tor.ba.arg.soam@i0ojj.ampr.org Mon Jan 7 20:44:06 2019
Received: from i0ojj.ampr.org by i0ojj.ampr.org (JNOS2.0k.3b) with SMTP
id AA73100 ; Mon, 07 Jan 2019 20:44:06 +0100
Message-Id: <16042_LU9DCE@ea2rcf.bbs>
>From: lu9dce@lu9dce.tor.ba.arg.soam
X-JNOS-User-Port: Telnet (ea2rcf @ 94.177.237.192) -> Sending message
This prevents colleagues from listing netrom
without having a connection
this is important since our node when loading the list
try to make a connection request to any node in this list
but to not have linux the connection remains in wait
delete all lines comments --> /root/ax25/ax25ipd.conf
creates file firenodes
chmod +x firenodos
#!/bin/bash
#
iptables --flush
iptables -A OUTPUT -p igmp -o ax0 -j DROP
iptables -A OUTPUT -p udp -o ax0 -j DROP
cat /etc/ax25/ax25ipd.conf | grep route | awk '{print $3}' > /tmp/nodos
while read -r line
do
nodos="$line"
iptables -A INPUT -s $nodos -p udp --dport 10093 -j ACCEPT
echo -e "Pass to" $nodos "\t[OK]"
done < /tmp/nodos
iptables -A INPUT -p udp --destination-port 10093 -j DROP
iptables -A INPUT -p tcp --dport 1:1024 -j DROP
iptables -A INPUT -p udp --dport 1:1024 -j DROP
Read previous mail | Read next mail
| |