summaryrefslogtreecommitdiffstats
path: root/net/pfSense-pkg-freeradius2/files/usr/local/pkg/freeradiusinterfaces.xml
blob: ed920c01466bfe79d63a94f57e495d95d8c9080f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
	<copyright>
<![CDATA[	
/* $Id$ */
/* ========================================================================== */
/*
	freeradiusinterfaces.xml
	part of pfSense (http://www.pfSense.com)
	Copyright (C) 2013 Alexander Wilke <nachtfalkeaw@web.de>
	All rights reserved.

	Based on m0n0wall (http://m0n0.ch/wall)
	Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
	All rights reserved.
									      */
/* ========================================================================== */
/*
	Redistribution and use in source and binary forms, with or without
	modification, are permitted provided that the following conditions are met:

	1. Redistributions of source code must retain the above copyright notice,
	   this list of conditions and the following disclaimer.

	2. Redistributions in binary form must reproduce the above copyright
	   notice, this list of conditions and the following disclaimer in the
	   documentation and/or other materials provided with the distribution.

	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
	POSSIBILITY OF SUCH DAMAGE.
									      */
/* ========================================================================== */
]]>	</copyright>
	<description><![CDATA[Describe your package here]]></description>
	<requirements>Describe your package requirements here</requirements>
	<faq>Currently there are no FAQ items provided.</faq>
	<name>freeradiusinterfaces</name>
	<title>FreeRADIUS: Interfaces</title>
	<include_file>/usr/local/pkg/freeradius.inc</include_file>
	<tabs>
		<tab>
			<text>Users</text>
			<url>/pkg.php?xml=freeradius.xml</url>
		</tab>
		<tab>
			<text>MACs</text>
			<url>/pkg.php?xml=freeradiusauthorizedmacs.xml</url>
		</tab>
		<tab>
			<text>NAS / Clients</text>
			<url>/pkg.php?xml=freeradiusclients.xml</url>
		</tab>
		<tab>
			<text>Interfaces</text>
			<url>/pkg.php?xml=freeradiusinterfaces.xml</url>
			<active/>
		</tab>
		<tab>
			<text>Settings</text>
			<url>/pkg_edit.php?xml=freeradiussettings.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>EAP</text>
			<url>/pkg_edit.php?xml=freeradiuseapconf.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>SQL</text>
			<url>/pkg_edit.php?xml=freeradiussqlconf.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>Certificates</text>
			<url>/pkg_edit.php?xml=freeradiuscerts.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>LDAP</text>
			<url>/pkg_edit.php?xml=freeradiusmodulesldap.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>View config</text>
			<url>/freeradius_view_config.php</url>
		</tab>
		<tab>
			<text>XMLRPC Sync</text>
			<url>/pkg_edit.php?xml=freeradiussync.xml&amp;id=0</url>
		</tab>
	</tabs>
	<adddeleteeditpagefields>
		<columnitem>
			<fielddescr>Interface IP Address</fielddescr>
			<fieldname>varinterfaceip</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>Port</fielddescr>
			<fieldname>varinterfaceport</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>Interface Type</fielddescr>
			<fieldname>varinterfacetype</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>IP Version</fielddescr>
			<fieldname>varinterfaceipversion</fieldname>
		</columnitem>
		<columnitem>
			<fielddescr>Description</fielddescr>
			<fieldname>description</fieldname>
		</columnitem>
		<movable>text</movable>
	</adddeleteeditpagefields>
	<fields>
		<field>
			<name>General Configuration</name>
			<type>listtopic</type>
		</field>	
		<field>
			<fielddescr>Interface IP Address</fielddescr>
			<fieldname>varinterfaceip</fieldname>
			<description><![CDATA[Enter the IP address (e.g. 192.168.100.1) of the listening interface. If you choose <b>*</b> then it means all interfaces. (Default: *)]]></description>
			<type>input</type>
			<default_value>*</default_value>
			<required/>
		</field>
		<field>
			<fielddescr>Port</fielddescr>
			<fieldname>varinterfaceport</fieldname>
			<description><![CDATA[Enter the port number of the listening interface. Different interface types need different ports.<br>
							You could use this as an example:<br>
							Authentication  = 1812<br>
							Accounting  = 1813<br>
							Status = 1816<br>
							<b>IMPORTANT:</b> For <b>every interface type</b> listening on the <b>same IP address</b> you need <b>different ports</b>.]]></description>
			<type>input</type>
			<default_value>1812</default_value>
			<required/>
		</field>
		<field>
			<fielddescr>Interface Type</fielddescr>
			<fieldname>varinterfacetype</fieldname>
			<description><![CDATA[Enter the type of the listening interface. (Default: auth)]]></description>
			<type>select</type>
			<default_value>auth</default_value>
					<options>
						<option><name>Authentication</name><value>auth</value></option>
						<option><name>Accounting</name><value>acct</value></option>
						<option><name>Proxy</name><value>proxy</value></option>
						<option><name>Detail</name><value>detail</value></option>
						<option><name>Status</name><value>status</value></option>
						<option><name>CoA</name><value>coa</value></option>
					</options>
			<required/>
		</field>
		<field>
			<fielddescr>IP Version</fielddescr>
			<fieldname>varinterfaceipversion</fieldname>
			<description><![CDATA[Enter the IP version of the listening interface. (Default: IPv4)]]></description>
			<type>select</type>
			<default_value>ipaddr</default_value>
					<options>
						<option><name>IPv4</name><value>ipaddr</value></option>
						<option><name>IPv6</name><value>ipv6addr</value></option>
					</options>
			<required/>
		</field>
		<field>
			<fielddescr>Description</fielddescr>
			<fieldname>description</fieldname>
			<description><![CDATA[Optionally enter a description here for your reference.]]></description>
			<type>input</type>
		</field>
	</fields>
	<custom_delete_php_command>
		freeradius_settings_resync();
	</custom_delete_php_command>
	<custom_php_resync_config_command>
		freeradius_settings_resync();
	</custom_php_resync_config_command>
</packagegui>
OpenPOWER on IntegriCloud