Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3155521
net_breaker.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
287 B
Referenced Files
None
Subscribers
None
net_breaker.sh
View Options
#!/bin/sh
set -e
if [ $1 = "BreakCommCmd" ]
then
iptables -A INPUT -s $2 -j DROP >/dev/null 2>&1
iptables -A OUTPUT -s $2 -j DROP >/dev/null 2>&1
iptables -A INPUT -m pkttype --pkt-type multicast -j DROP
fi
if [ $1 = "FixCommCmd" ]
then
iptables -F >/dev/null 2>&1
fi
exit 0
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Wed, Feb 26, 11:19 PM (8 h, 28 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1415496
Default Alt Text
net_breaker.sh (287 B)
Attached To
Mode
rC Corosync
Attached
Detach File
Event Timeline
Log In to Comment