Author: elecharny
Date: Wed Oct 31 14:29:14 2012
New Revision: 1404169
URL: http://svn.apache.org/viewvc?rev=1404169&view=rev
Log:
Added the css for tables, converted HTML table to markdown tables
Modified:
mina/site/trunk/content/css/common.css
mina/site/trunk/content/ftpserver/configuration_listeners.mdtext
Modified: mina/site/trunk/content/css/common.css
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/css/common.css?rev=1404169&r1=1404168&r2=1404169&view=diff
==============================================================================
--- mina/site/trunk/content/css/common.css (original)
+++ mina/site/trunk/content/css/common.css Wed Oct 31 14:29:14 2012
@@ -318,6 +318,48 @@ blockquote
border-left: 1px solid #1a6c0b;
}
+table
+{
+ margin: 5px;
+ border-collapse: collapse;
+}
+
+table td
+{
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+ padding: 3px 4px 3px 4px;
+}
+
+table th
+{
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+ padding: 3px 4px 3px 4px;
+ background-color: #f0f0f0;
+ text-align: center;
+}
+
+td
+{
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+ padding: 3px 4px 3px 4px;
+}
+
+th
+{
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+ padding: 3px 4px 3px 4px;
+ background-color: #f0f0f0;
+ text-align: center;
+}
+
table.confluenceTable
{
margin: 5px;
Modified: mina/site/trunk/content/ftpserver/configuration_listeners.mdtext
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/ftpserver/configuration_listeners.mdtext?rev=1404169&r1=1404168&r2=1404169&view=diff
==============================================================================
--- mina/site/trunk/content/ftpserver/configuration_listeners.mdtext (original)
+++ mina/site/trunk/content/ftpserver/configuration_listeners.mdtext Wed Oct 31
14:29:14 2012
@@ -31,284 +31,95 @@ The main network configuration is perfor
Within the XML configuration format, all listeners are configured in the
"listeners" element. A XML configuration example can therefore look like:
-<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-java">
-<listeners>
- <nio-listener name=<SPAN class="code-quote">"<SPAN
class="code-keyword">default</SPAN>"</SPAN> port=<SPAN
class="code-quote">"2222"</SPAN> implicit-ssl=<SPAN
class="code-quote">"<SPAN class="code-keyword">true</SPAN>"</SPAN>
idle-timeout=<SPAN class="code-quote">"60"</SPAN> local-address=<SPAN
class="code-quote">"1.2.3.4"</SPAN>>
- <ssl>
- <keystore file=<SPAN
class="code-quote">"mykeystore.jks"</SPAN> password=<SPAN
class="code-quote">"secret"</SPAN> key-password=<SPAN
class="code-quote">"otherSecret"</SPAN> />
- <truststore file=<SPAN
class="code-quote">"mytruststore.jks"</SPAN> password=<SPAN
class="code-quote">"secret"</SPAN>/>
- </ssl>
- <data-connection idle-timeout=<SPAN
class="code-quote">"60"</SPAN>>
- <active enabled=<SPAN class="code-quote">"<SPAN
class="code-keyword">true</SPAN>"</SPAN> local-address=<SPAN
class="code-quote">"1.2.3.4"</SPAN> local-port=<SPAN
class="code-quote">"2323"</SPAN> ip-check=<SPAN
class="code-quote">"<SPAN
class="code-keyword">true</SPAN>"</SPAN>/>
- <passive ports=<SPAN
class="code-quote">"123-125"</SPAN> address=<SPAN
class="code-quote">"1.2.3.4"</SPAN> external-address=<SPAN
class="code-quote">"1.2.3.4"</SPAN> />
- </data-connection>
- <blacklist>1.2.3.0/16, 1.2.4.0/16,
1.2.3.4</blacklist>
- </nio-listener>
-</listeners>
-</PRE>
-</DIV></DIV>
+ :::xml
+ <listeners>
+ <nio-listener name="default" port="2222" implicit-ssl="true"
idle-timeout="60" local-address="1.2.3.4">
+ <ssl>
+ <keystore file="mykeystore.jks" password="secret"
key-password="otherSecret" />
+ <truststore file="mytruststore.jks" password="secret"/>
+ </ssl>
+ <data-connection idle-timeout="60">
+ <active enabled="true" local-address="1.2.3.4"
local-port="2323" ip-check="true">
+ <passive ports="123-12"" address="1.2.3.4"
external-address="1.2.3.4" />
+ </data-connection>
+ <blacklist>1.2.3.0/16, 1.2.4.0/16, 1.2.3.4</blacklist>
+ </nio-listener>
+ </listeners>
## nio-listener element
The listener shipped with FtpServer is called "nio-listener" since it is based
Java NIO for performance and scalability.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> name </TD>
-<TD class="confluenceTd"> The listener name, if "default" it will
override the settings on the default listener </TD>
-<TD class="confluenceTd"> Yes </TD>
-<TD class="confluenceTd"> </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> port </TD>
-<TD class="confluenceTd"> The port on which the listener will accept
connections </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> 21 </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> local-address </TD>
-<TD class="confluenceTd"> Server address the listener will bind to </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> All available </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> implicit-ssl </TD>
-<TD class="confluenceTd"> True if the listener should use implicit SSL </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> false </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> idle-timeout </TD>
-<TD class="confluenceTd"> The number of seconds before an inactive client is
disconnected. If this value is set to 0, the idle time is disabled (a client
can idle forever without getting disconnected by the server). If a lower
maximum idle time is configured on a user (e.g. using the PropertiesUserManager
idletime configuration), it will override the listener value. Thus, the
listener value enforce the upper threshold, but lower values can be provided
per user. </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> 300 </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| name | The listener name, if "default" it will override the settings on the
default listener | Yes | |
+| port | The port on which the listener will accept connections | No | 21 |
+| local-address | Server address the listener will bind to | No | All
available |
+| implicit-ssl | True if the listener should use implicit SSL | No | false |
+| idle-timeout | The number of seconds before an inactive client is
disconnected. If this value is set to 0, the idle time is disabled (a client
can idle forever without getting disconnected by the server). If a lower
maximum idle time is configured on a user (e.g. using the PropertiesUserManager
idletime configuration), it will override the listener value. Thus, the
listener value enforce the upper threshold, but lower values can be provided
per user. | No | 300 |
## ssl element
Required for listeners that should provide FTPS support.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> protocol </TD>
-<TD class="confluenceTd"> The SSL protocol to use. Supported values are
"SSL" and "TLS" </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> TLS </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> client-authentication </TD>
-<TD class="confluenceTd"> Should client authentication be performed? Supported
values are "NEED", "WANT" and "NONE" </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> NONE </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> enabled-ciphersuites </TD>
-<TD class="confluenceTd"> A space-separated list of cipher suites to enable
for this connection. The exact cipher suites that can be used depends on the
Java version used, <A
href="http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#AppA"
class="external-link" rel="nofollow">here</A> are the names for Sun's JSSE
provider. </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> All cipher suites are enabled </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| protocol | The SSL protocol to use. Supported values are "SSL" and "TLS" |
No | TLS |
+|client-authentication | Should client authentication be performed? Supported
values are "NEED", "WANT" and "NONE" | No | NONE |
+| enabled-ciphersuites | A space-separated list of cipher suites to enable for
this connection. The exact cipher suites that can be used depends on the Java
version used,
[here](http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#AppA)
are the names for Sun's JSSE provider. | No | All cipher suites are enabled |
## keystore element
This element is required if the ssl element is provided. It provides
configuration for the key store used for finding the private key and server
certificate for the FTP server.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> file </TD>
-<TD class="confluenceTd"> Path to the key store file </TD>
-<TD class="confluenceTd"> Yes </TD>
-<TD class="confluenceTd"> </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> password </TD>
-<TD class="confluenceTd"> The password for the key store </TD>
-<TD class="confluenceTd"> Yes </TD>
-<TD class="confluenceTd"> </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> key-password </TD>
-<TD class="confluenceTd"> Password for the key within the key store </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Key store password </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> key-alias </TD>
-<TD class="confluenceTd"> Alias of the key to use within the key store </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Uses first key found </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> type </TD>
-<TD class="confluenceTd"> Key store type </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> JRE key store default type, normally JKS </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> algorithm </TD>
-<TD class="confluenceTd"> Key store algorithm </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> SunX509 </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
-
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| file | Path to the key store file | Yes | |
+| password | The password for the key store | Yes | |
+| Password for the key within the key store | No | Key store password |
+| key-alias | Alias of the key to use within the key store | No <| Uses first
key found |
+| type | Key store type | No | JRE key store default type, normally JKS |
+| algorithm | Key store algorithm | No | SunX509 |
## truststore element
This element provides configuration for the trust store used for locating
trusted certificates.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> file </TD>
-<TD class="confluenceTd"> Path to the trust store file </TD>
-<TD class="confluenceTd"> Yes </TD>
-<TD class="confluenceTd"> </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> password </TD>
-<TD class="confluenceTd"> The password for the trust store </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Certificates can be read without password </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> type </TD>
-<TD class="confluenceTd"> Trust store type </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> JRE key store default type, normally JKS </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> algorithm </TD>
-<TD class="confluenceTd"> Trust store algorithm </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> SunX509 </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| file | Path to the trust store file | Yes | |
+| password | The password for the trust store | No | Certificates can be read
without password |
+| type | Trust store type | No | JRE key store default type, normally JKS |
+| algorithm | Trust store algorithm | No | SunX509 |>
## data-connection element
This element provides configuration for the data connection.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> idle-timeout </TD>
-<TD class="confluenceTd"> Number of seconds before an idle data connection is
closed </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> 300 </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| idle-timeout | Number of seconds before an idle data connection is closed |
No | 300 |
## active element
This element provides configuration for active data connections.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> enabled </TD>
-<TD class="confluenceTd"> False if active data connections should not be
allowed </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> true </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> local-address </TD>
-<TD class="confluenceTd"> The local address the server will use when creating
a data connection </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Any available </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> local-port </TD>
-<TD class="confluenceTd"> The local prt the server will use when creating a
data connection </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Any available </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> ip-check </TD>
-<TD class="confluenceTd"> Should the server check that the IP address for the
data connection is the same as for the control socket? </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> false </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| enabled | False if active data connections should not be allowed | No | true
|
+| local-address | The local address the server will use when creating a data
connection | No | Any available |
+| local-port | The local prt the server will use when creating a data
connection | No | Any available |
+| ip-check | Should the server check that the IP address for the data
connection is the same as for the control socket? | No | false |
+
## passive element
This element provides configuration for passive data connections.
-<DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Attribute </TH>
-<TH class="confluenceTh"> Description </TH>
-<TH class="confluenceTh"> Required </TH>
-<TH class="confluenceTh"> Default value </TH>
-</TR>
-<TR>
-<TD class="confluenceTd"> ports </TD>
-<TD class="confluenceTd"> The ports on which the server is allowed to accept
passive data connections, see <A href="configure-passive-ports.html"
title="Configure passive ports">Configure passive ports</A> for details </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> Any available port </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> address </TD>
-<TD class="confluenceTd"> The address on which the server will listen to
passive data connections </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> The same address as the control socket for the
session </TD>
-</TR>
-<TR>
-<TD class="confluenceTd"> external-address </TD>
-<TD class="confluenceTd"> The address the server will claim to be listening on
in the PASV reply. Useful when the server is behind a NAT firewall and the
client sees a different address than the server is using </TD>
-<TD class="confluenceTd"> No </TD>
-<TD class="confluenceTd"> </TD>
-</TR>
-</TBODY></TABLE>
-</DIV>
+| Attribute | Description | Required | Default value |
+|---|---|---|---|
+| class="confluenceTd"> ports| The ports on which the server is allowed to
accept passive data connections, see [Configure passive
ports](configure-passive-ports.html) for details| No| Any available port |
+| address| The address on which the server will listen to passive data
connections| No| The same address as the control socket for the session |
+| external-address| The address the server will claim to be listening on in
the PASV reply. Useful when the server is behind a NAT firewall and the client
sees a different address than the server is using| No| |
## blacklist element
This element provides a list of black listed IP addresses and networks in
[CIDR notation](http://en.wikipedia.org/wiki/CIDR).