Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
blocksshd
> blocksshd.sysconfig
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File blocksshd.sysconfig of Package blocksshd (Revision 5)
Currently displaying revision
5
,
show latest
# blocksshd startup & stop configuration # startup # e.g. iptables -A INPUT -j blocksshd # STARTCMD="sleep 1 ; /usr/sbin/iptables -A INPUT -j `grep chain /etc/blocksshd.conf | awk -F\' '{print $2}'`" STARTCMD="" # stop # set all chains to accept, flush chains , remove extra chains # STOPCMD="/usr/sbin/iptables -P INPUT ACCEPT ; /usr/sbin/iptables -P FORWARD ACCEPT ; /usr/sbin/iptables -P OUTPUT ACCEPT ; /usr/sbin/iptables -F ; /usr/sbin/iptables -X" STOPCMD=""