18 јун 2013    urukctl 20130618

1.
NAME
2.
SYNOPSIS
3.
DESCRIPTION
4.
SEE ALSO
5.
COPYRIGHT
6.
AUTHOR

NAME

urukctl — uruk control script

SYNOPSIS

urukctl command <option>

DESCRIPTION

urukctl is used to create or change saved iptables rulesets, to change the current loaded rulesets and to report on uruk's status. It is the main user interface for the uruk system. uruk's init script calls urukctl, while urukctl calls uruk. FIXME

start

If not yet done, save current iptables status in "inactive" ruleset. (Re)build and load the "active" ruleset.

 
save <ruleset>

Save the current iptables status in given ruleset.

 
create <active|inactive>

Create an "active" or "inactive" ruleset with sane defaults: "active" will be based upon the uruk rc file. "inactive" will allow all traffic.

 
load <ruleset>

Load a saved ruleset

 
reload

(Re)build and load the "active" ruleset, without temporarily clearing the current iptables status.

 
force-reload

(Re)build and load the "active" ruleset, in case uruk is running.

 
stop

Load the "inactive" ruleset.

 
restart

Perform stop-actions followed by start-actions.

 
status

Print the current status of the service: show which ruleset is loaded, and wether uruk is "running".

 
clear

Remove all rules and user-defined chains, set default policy to ACCEPT.

 
halt

Remove all rules and user-defined chains, set default policy to DROP.

 
flush

Flush all rules from the current iptables status.

Saved ruleset locations: /var/lib/uruk/iptables/ and /var/lib/uruk/ip6tables/ .

SEE ALSO

uruk-rc(5), uruk-save(8). The Uruk homepage is at http://mdcc.cx/uruk/ .

iptables(8), iptables-save(8), iptables-restore(8), ip6tables(8), ip6tables-save(8), ip6tables-restore(8), http://www.netfilter.org/

interfaces(5), http://packages.debian.org/ifupdown.

COPYRIGHT

Copyright (C) 2003 Stichting LogReport Foundation logreport@logreport.org; Copyright (C) 2003, 2004 Tilburg University http://www.uvt.nl/; Copyright (C) 2003, 2004, 2005, 2010 Joost van Baal-Ilić <joostvb-uruk@mdcc.cx>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

AUTHOR

Joost van Baal-Ilić <joostvb-uruk@mdcc.cx>