<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<section id="permissions.xmlrpc" xmlns:xi="http://www.w3.org/2001/XInclude">
    <sectioninfo>
    </sectioninfo>

    <title>XMLRPC Interface</title>

    <para>
	Some functionality may be controled using RPC commands.
    </para>
    <itemizedlist>
	<listitem>
	    <para>
		<emphasis>ipmatch.reload</emphasis> - 
			Reloads the cached ipmatch table. The original table remains
			active in case of any failure.
	    </para>
	</listitem>
	<listitem>
	    <para>
		<emphasis>ipset.clean(ipset_name)</emphasis> - Clear
			all entries in "pending" ipset. 
	    </para>
	</listitem>
	<listitem>
	    <para>
		<emphasis>ipset.add(ipset_name, ip, netmask)</emphasis> - Add
			ip and mask into ipset. IPv6 should should be enclosed 
			in brackets. Netmask may be identified as number or in IP form.
			Note that number requires leading slash, e.g. "/24" or "255.255.255.0".
	    </para>
	</listitem>
	<listitem>
	    <para>
		<emphasis>ipset.commit(ipset_name)</emphasis> - Makes
			pending ip set usable by <function>ip_is_trusted</function>.
			Pending ip set is cleared.
	    </para>
	</listitem>
	<listitem>
	    <para>
		<emphasis>ipset.list()</emphasis> - List
			declared ip sets.
	    </para>
	</listitem>
	<listitem>
	    <para>
		<emphasis>ipset.print(ipset_name, pending)</emphasis> - Dump
			ipset trees. If <varname>pending</varname> non zero then
			pending ipset is dumped.
	    </para>
	</listitem>
	
    </itemizedlist>
</section>
