|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637 |
- <?xml version="1.0"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="/snf">
- <html>
- <head>
- <link href="snf-configuration.css" rel="stylesheet" type="text/css"/>
- <title> Message Sniffer Configuration </title>
- </head>
- <body>
- <div class="banner">
- Message Sniffer Configuration
- </div>
- <xsl:apply-templates/>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="node">
- <div class="section node">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/index.jsp">
- Node
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:if test="@identity">
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Identity File:'"/>
- <xsl:with-param name="value" select="@identity"/>
- </xsl:call-template>
- </xsl:if>
- <xsl:if test="@licenseid">
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'License ID:'"/>
- <xsl:with-param name="value" select="@licenseid"/>
- </xsl:call-template>
- </xsl:if>
- <xsl:if test="@authentication">
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Authentication:'"/>
- <xsl:with-param name="value" select="@authentication"/>
- </xsl:call-template>
- </xsl:if>
- </table>
- </div>
- </div>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="paths">
- <div class="section paths">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/paths/index.jsp">
- Paths
- </a>
- </div>
- <table class="sub-section">
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Log Directory:'"/>
- <xsl:with-param name="value" select="log/@path"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Rulebase Directory:'"/>
- <xsl:with-param name="value" select="rulebase/@path"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Workspace Directory:'"/>
- <xsl:with-param name="value" select="workspace/@path"/>
- </xsl:call-template>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="logs">
- <div class="section logs">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs">
- Logs
- </a>
- </div>
- <div class="section-item">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/rotation.jsp">
- Rotation Timing
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Use Local Time To Rotate Logs:'"/>
- <xsl:with-param name="value" select="rotation/@localtime"/>
- </xsl:call-template>
- </table>
- </div>
- </div>
- <div class="section-item">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/status">
- Status Data
- </a>
- </div>
- <div class="sub-section">
- <table style="border-collapse: collapse;" class="chart">
- <tr class="chart-header">
- <td class="chart-header">
- Data Class
- </td>
- <td class="chart-header">
- Generate
- </td>
- <td class="chart-header">
- Append
- </td>
- </tr>
- <tr>
- <td class="chart-label">
- Per Second
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/second/@log"/>
- </xsl:call-template>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/second/@append"/>
- </xsl:call-template>
- </tr>
- <tr>
- <td class="chart-label">
- Per Minute
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/minute/@log"/>
- </xsl:call-template>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/minute/@append"/>
- </xsl:call-template>
- </tr>
- <tr>
- <td class="chart-label">
- Per Hour
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/hour/@log"/>
- </xsl:call-template>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="status/hour/@append"/>
- </xsl:call-template>
- </tr>
- </table>
- </div>
- </div>
- <div class="section-item">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/scan">
- Scan Data
- </a>
- </div>
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/scan/identifier.jsp">
- Message Identification
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Extract Message-ID For Log Entries:'"/>
- <xsl:with-param name="value" select="scan/identifier/@force-message-id"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/scan/classic.jsp">
- Classic Log File
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Output Mode:'"/>
- <xsl:with-param name="value" select="scan/classic/@mode"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Rotate By Date:'"/>
- <xsl:with-param name="value" select="scan/classic/@rotate"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Log Pattern Matches:'"/>
- <xsl:with-param name="value" select="scan/classic/@matches"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/scan/xml.jsp">
- XML Log File
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Output Mode:'"/>
- <xsl:with-param name="value" select="scan/xml/@mode"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Rotate By Date:'"/>
- <xsl:with-param name="value" select="scan/xml/@rotate"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Log Pattern Matches:'"/>
- <xsl:with-param name="value" select="scan/xml/@matches"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Log Performance Data:'"/>
- <xsl:with-param name="value" select="scan/xml/@performance"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Log GBUdb Data:'"/>
- <xsl:with-param name="value" select="scan/xml/@gbudb"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/logs/scan/xheaders">
- X-Header Generation
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Output Mode:'"/>
- <xsl:with-param name="value" select="scan/xheaders/output/@mode"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="sub-section">
- <table style="border-collapse: collapse;" class="chart xhdr-chart">
- <tr class="chart-header">
- <td colspan="3" class="item-label">
- Scanner Data
- </td>
- </tr>
- <xsl:call-template name="xhdr-chart-header"/>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/version"/>
- <xsl:with-param name="description" select="'Software Version'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/license"/>
- <xsl:with-param name="description" select="'SNF License ID'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/rulebase"/>
- <xsl:with-param name="description" select="'Rulebase Timestamp'"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="sub-section">
- <table style="border-collapse: collapse;" class="chart xhdr-chart">
- <tr class="chart-header">
- <td colspan="3" class="item-label">
- Scan Details
- </td>
- </tr>
- <xsl:call-template name="xhdr-chart-header"/>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/identifier"/>
- <xsl:with-param name="description" select="'Message Identifier'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/gbudb"/>
- <xsl:with-param name="description" select="'GBUdb Analysis'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/result"/>
- <xsl:with-param name="description" select="'Result Code'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/matches"/>
- <xsl:with-param name="description" select="'Rule Matches'"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="sub-section">
- <table style="border-collapse: collapse;" class="chart xhdr-chart">
- <tr class="chart-header">
- <td colspan="3" class="item-label">
- Basic Result Signals
- </td>
- </tr>
- <xsl:call-template name="xhdr-chart-header"/>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/black"/>
- <xsl:with-param name="description" select="'Black (spam/malware)'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/white"/>
- <xsl:with-param name="description" select="'White (White Rule)'"/>
- </xsl:call-template>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="scan/xheaders/clean"/>
- <xsl:with-param name="description" select="'Clean (No Match)'"/>
- </xsl:call-template>
- </table>
- </div>
- <div class="sub-section">
- <table style="border-collapse: collapse;" class="chart xhdr-chart">
- <tr class="chart-header">
- <td colspan="3" class="item-label">
- Result Code Signals
- </td>
- </tr>
- <xsl:call-template name="xhdr-chart-header"/>
- <xsl:apply-templates select="scan/xheaders/symbol"/>
- </table>
- </div>
- </div>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="symbol">
- <xsl:variable name="code" select="@n"/>
- <xsl:call-template name="xhdr-chart-line">
- <xsl:with-param name="path" select="."/>
- <xsl:with-param name="description" select="concat('Result Code [',$code,']')"/>
- </xsl:call-template>
- </xsl:template>
-
- <xsl:template name="xhdr-chart-header">
- <tr class="chart-header">
- <td class="chart-header xhdr-col1">
- Information Provided
- </td>
- <td class="chart-header xhdr-col2">
- On/Off
- </td>
- <td class="chart-header xhdr-col3">
- X-Header Field Name
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="xhdr-chart-line">
- <xsl:param name="path"/>
- <xsl:param name="description"/>
- <tr>
- <td class="chart-label">
- <xsl:value-of select="$description"/>
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="$path/@on-off"/>
- </xsl:call-template>
- <td class="chart-value">
- <xsl:value-of select="$path"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="on-off-switch">
- <xsl:param name="value"/>
- <xsl:variable name="vlower" select="translate($value,'YESONTRU','yesontru')"/>
- <xsl:choose>
- <xsl:when test="$vlower = 'on'">on</xsl:when>
- <xsl:when test="$vlower = 'yes'">on</xsl:when>
- <xsl:when test="$vlower = 'true'">on</xsl:when>
- <xsl:otherwise>off</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="chart-on-off-cell">
- <xsl:param name="value"/>
- <xsl:variable name="switch">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="$value"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$switch = 'on'">
- <td class="chart-value oncolor">
- <xsl:value-of select="$value"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value offcolor">
- <xsl:value-of select="$value"/>
- </td>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="line-item">
- <xsl:param name="label"/>
- <xsl:param name="value"/>
- <tr>
- <td class="item-label">
- <xsl:value-of select="$label"/>
- </td>
- <td class="item-value">
- <xsl:value-of select="$value"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="network">
- <div class="section network">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/network">
- Network
- </a>
- </div>
- <div class="section-item">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/network/sync.jsp">
- SNF Node Synchronization
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Retry Secs:'"/>
- <xsl:with-param name="value" select="sync/@secs"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'SYNC Host:'"/>
- <xsl:with-param name="value" select="sync/@host"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'SYNC Port:'"/>
- <xsl:with-param name="value" select="sync/@port"/>
- </xsl:call-template>
- </table>
- </div>
- </div>
- <div class="section-item">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/network/update-script.jsp">
- Automated Rulebase Updates
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Automated Update-Script:'"/>
- <xsl:with-param name="value" select="update-script/@on-off"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Update-Script Path:'"/>
- <xsl:with-param name="value" select="update-script/@call"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Guard Time Secs:'"/>
- <xsl:with-param name="value" select="update-script/@guard-time"/>
- </xsl:call-template>
- </table>
- </div>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="xci">
- <div class="section xci">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/xci.jsp">
- XCI
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'XCI Interface:'"/>
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'XCI Listener Port:'"/>
- <xsl:with-param name="value" select="@port"/>
- </xsl:call-template>
- </table>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="gbudb">
- <div class="section gbudb">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb">
- GBUdb
- </a>
- </div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
-
- <xsl:template match="gbudb/database">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb">
- Database Maintenance
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:apply-templates/>
- </table>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="database/condense">
- <tr>
- <td class="item-label">
- Condensation Guard Time (secs):
- </td>
- <td class="item-value">
- <xsl:value-of select="@minimum-seconds-between"/>
- </td>
- </tr>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="condense/time-trigger">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="condense-time-trigger-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="condense-time-trigger-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="condense-time-trigger-on">
- <tr>
- <td class="item-label">
- Trigger Condensation After (secs):
- </td>
- <td class="item-value">
- <xsl:value-of select="@seconds"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="condense-time-trigger-off">
- <tr>
- <td class="item-label">
- Condensation Time Trigger Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="condense/posts-trigger">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="condense-posts-trigger-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="condense-posts-trigger-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="condense-posts-trigger-on">
- <tr>
- <td class="item-label">
- Trigger Condensation After (posts):
- </td>
- <td class="item-value">
- <xsl:value-of select="@posts"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="condense-posts-trigger-off">
- <tr>
- <td class="item-label">
- Condensation Posts Trigger Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="condense/records-trigger">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="condense-records-trigger-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="condense-records-trigger-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="condense-records-trigger-on">
- <tr>
- <td class="item-label">
- Trigger Condensation At (records):
- </td>
- <td class="item-value">
- <xsl:value-of select="@records"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="condense-records-trigger-off">
- <tr>
- <td class="item-label">
- Condensation Records Trigger Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="condense/size-trigger">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="condense-size-trigger-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="condense-size-trigger-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="condense-size-trigger-on">
- <tr>
- <td class="item-label">
- Trigger Condensation At (megabytes):
- </td>
- <td class="item-value">
- <xsl:value-of select="@megabytes"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="condense-size-trigger-off">
- <tr>
- <td class="item-label">
- Condensation Size Trigger Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="database/checkpoint">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="checkpoint-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="checkpoint-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="checkpoint-on">
- <tr>
- <td class="item-label">
- Save Checkpoint Every (secs):
- </td>
- <td class="item-value">
- <xsl:value-of select="@secs"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="checkpoint-off">
- <tr>
- <td class="item-label">
- Save Checkpoint Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="gbudb/regions">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/">
- Reputation Evaluation Regions
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:apply-templates select="white"/>
- <xsl:apply-templates select="caution"/>
- <xsl:apply-templates select="black"/>
- </table>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="regions/white">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="white-region-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="white-region-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="white-region-off">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/white.jsp">
- White Region Disabled
- </a>
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="white-region-on">
- <tr>
- <td colspan="2" class="chart-value">
- <table>
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/white.jsp">
- White Region Symbol:
- </a>
- </td>
- <td class="item-value">
- <xsl:value-of select="@symbol"/>
- </td>
- </tr>
- <xsl:call-template name="edges"/>
- <tr><td colspan="2"><hr/></td></tr>
- <xsl:apply-templates select="panic"/>
- </table>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="white/panic">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="white-panic-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="white-panic-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="white-panic-on">
- <tr>
- <td class="item-label">
- Auto-Panic Rule Range:
- </td>
- <td class="item-value">
- <xsl:value-of select="@rule-range"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="white-panic-off">
- <tr>
- <td class="item-label">
- Auto-Panic Disabled
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="edges">
- <tr>
- <td colspan="2">
- <table style="border-collapse: collapse;">
- <xsl:for-each select="edge">
- <tr>
- <td class="item-label">
- Edge (probability, confidence):
- </td>
- <td class="chart-value">
- <xsl:value-of select="@probability"/>
- </td>
- <td class="chart-value">
- <xsl:value-of select="@confidence"/>
- </td>
- </tr>
- </xsl:for-each>
- </table>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="regions/caution">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="caution-region-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="caution-region-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="caution-region-off">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/caution.jsp">
- Caution Region Disabled
- </a>
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="caution-region-on">
- <tr>
- <td colspan="2" class="chart-value">
- <table>
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/caution.jsp">
- Caution Region Symbol:
- </a>
- </td>
- <td class="item-value">
- <xsl:value-of select="@symbol"/>
- </td>
- </tr>
- <xsl:call-template name="edges"/>
- </table>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="regions/black">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="black-region-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="black-region-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="black-region-off">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black.jsp">
- Black Region Disabled
- </a>
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="black-region-on">
- <tr>
- <td colspan="2" class="chart-value">
- <table>
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black.jsp">
- Black Region Symbol:
- </a>
- </td>
- <td class="item-value">
- <xsl:value-of select="@symbol"/>
- </td>
- </tr>
- <xsl:call-template name="edges"/>
- <tr><td colspan="2"><hr/></td></tr>
- <xsl:apply-templates select="truncate"/>
- <xsl:apply-templates select="sample"/>
- </table>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="black/truncate">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="black-truncate-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="black-truncate-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="black-truncate-on">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black-trucate.jsp">
- Truncate Region Symbol:
- </a>
- </td>
- <td class="item-value">
- <xsl:value-of select="@symbol"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Truncate Minimum Probability:
- </td>
- <td class="item-value">
- <xsl:value-of select="@probability"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Peek Inside One Truncate Out Of:
- </td>
- <td class="item-value">
- <xsl:value-of select="@peek-one-in"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="black-truncate-off">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black-trucate.jsp">
- Truncate Region Disabled
- </a>
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="black/sample">
- <xsl:variable name="on-off">
- <xsl:call-template name="on-off-switch">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$on-off = 'on'">
- <xsl:call-template name="black-sample-on"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="black-sample-off"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="black-sample-on">
- <tr><td colspan="2"><hr/></td></tr>
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black-sample.jsp">
- Sampling Minimum Probability:
- </a>
- </td>
- <td class="item-value">
- <xsl:value-of select="@probability"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Sampling Grabs One Out Of:
- </td>
- <td class="item-value">
- <xsl:value-of select="@grab-one-in"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Use Passthrough Sampling:
- </td>
- <td class="item-value">
- <xsl:value-of select="@passthrough"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Passthrough Symbol:
- </td>
- <td class="item-value">
- <xsl:value-of select="@passthrough-symbol"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template name="black-sample-off">
- <tr>
- <td class="item-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/regions/black-sample.jsp">
- Message Sampling Is Disabled
- </a>
- </td>
- <td class="item-value"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="gbudb/training">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/">
- Automated Training
- </a>
- </div>
- <div class="sub-section">
- <xsl:apply-templates select="bypass"/>
- <xsl:apply-templates select="drilldown"/>
- <xsl:apply-templates select="source"/>
- <xsl:apply-templates select="white"/>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="training/bypass">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/bypass.jsp">
- Bypass Directives
- </a>
- </div>
- </xsl:template>
-
- <xsl:template match="training/bypass">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/bypass.jsp">
- Bypass Directives
- </a>
- </div>
- <xsl:apply-templates select="header"/>
- </xsl:template>
-
- <xsl:template match="bypass/header">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Bypass GBUdb if header
- </td>
- <td class="chart-value">
- <xsl:value-of select="@name"/>
- </td>
- <xsl:if test="@ordinal">
- <td class="chart-label">
- at ordinal
- </td>
- <td class="chart-value">
- <xsl:value-of select="@ordinal"/>
- </td>
- </xsl:if>
- <td class="chart-label">
- contains
- </td>
- <td class="chart-value">
- <xsl:value-of select="@find"/>
- </td>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="training/drilldown">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/drilldown.jsp">
- Drill-Down Directives
- </a>
- </div>
- <xsl:apply-templates select="received"/>
- </xsl:template>
-
- <xsl:template match="drilldown/received">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Ignore Received at ordinal
- </td>
- <td class="chart-value">
- <xsl:value-of select="@ordinal"/>
- </td>
- <td class="chart-label">
- if we find
- </td>
- <td class="chart-value">
- <xsl:value-of select="@find"/>
- </td>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="training/source">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/source.jsp">
- Message Source Directives
- </a>
- </div>
- <xsl:apply-templates select="header"/>
- </xsl:template>
-
- <xsl:template match="source/header">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Use Source Header
- </td>
- <td class="chart-value">
- <xsl:value-of select="@name"/>
- </td>
- <td class="chart-label">
- if we find
- </td>
- <td class="chart-value">
- <xsl:value-of select="@received"/>
- </td>
- <td class="chart-label">
- in Received at ordinal
- </td>
- <td class="chart-value">
- <xsl:value-of select="@ordinal"/>
- </td>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="training/white">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/gbudb/training/white.jsp">
- Treat As White Directives
- </a>
- </div>
- <xsl:apply-templates select="result"/>
- <xsl:apply-templates select="header"/>
- </xsl:template>
-
- <xsl:template match="white/result">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Record a good event for result code
- </td>
- <td class="chart-value">
- <xsl:value-of select="@code"/>
- </td>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="white/header">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Record a good event if header
- </td>
- <td class="chart-value">
- <xsl:value-of select="@name"/>
- </td>
- <xsl:if test="@ordinal">
- <td class="chart-label">
- at ordinal
- </td>
- <td class="chart-value">
- <xsl:value-of select="@ordinal"/>
- </td>
- </xsl:if>
- <td class="chart-label">
- contains
- </td>
- <td class="chart-value">
- <xsl:value-of select="@find"/>
- </td>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="rule-panics">
- <div class="section rule-panics">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/rule-panics.jsp">
- Rule Panics
- </a>
- </div>
- <div class="section-item">
- <xsl:apply-templates/>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="rule-panics/rule">
- <xsl:value-of select="@id"/><br/>
- </xsl:template>
-
- <xsl:template match="platform">
- <div class="section platform">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/platform.jsp">
- Platform
- </a>
- </div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
-
- <xsl:template match="platform/mdaemon">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/mDaemonPlugin/">
- Message Sniffer Plugin for MDaemon
- </a>
- </div>
- <xsl:apply-templates select="ip-test"/>
- <xsl:apply-templates select="configurator"/>
- </div>
- </xsl:template>
-
- <xsl:template match="mdaemon/ip-test">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Reject IPs during SMTP
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="@on-off"/>
- </xsl:call-template>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="mdaemon/configurator">
- <div class="section-item">
- <table>
- <tr>
- <td class="chart-label">
- Configurator Command
- </td>
- <td class="chart-value">
- <xsl:value-of select="@command"/>
- </td>
- <td class="chart-label">
- Append Configuration Path
- </td>
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="@append-path"/>
- </xsl:call-template>
- </tr>
- </table>
- </div>
- </xsl:template>
-
- <xsl:template match="platform/snf4cgp">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/products/SNF4CGP.jsp">
- Message Sniffer For CommuniGate Pro
- </a>
- </div>
- <div class="section-item">
- <table style="border-collapse: collapse;" class="chart">
- <xsl:apply-templates select="ham"/>
- <tr><td colspan="8"><br/></td></tr>
- <xsl:apply-templates select="spam"/>
- </table>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template name="snf4cgp-column-names">
- <tr>
- <td class="chart-header">
- Code
- </td>
- <td class="chart-header">
- Action
- </td>
- <td class="chart-header">
- Reason
- </td>
- <td class="chart-header">
- Comment
- </td>
- <td class="chart-header">
- Headers
- </td>
- <td class="chart-header">
- Classic
- </td>
- <td class="chart-header">
- XML
- </td>
- <td class="chart-header">
- Hold Path
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="snf4cgp/ham">
- <tr>
- <td colspan="8" class="chart-header">
- Settings For Good Message Scan Results (ham)
- </td>
- </tr>
- <xsl:call-template name="snf4cgp-column-names"/>
- <xsl:call-template name="snf4cgp-row-data"/>
- <xsl:for-each select="result">
- <xsl:call-template name="snf4cgp-row-data"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="snf4cgp/spam">
- <tr>
- <td colspan="8" class="chart-header">
- Settings For Bad Message Scan Results (spam)
- </td>
- </tr>
- <xsl:call-template name="snf4cgp-column-names"/>
- <xsl:call-template name="snf4cgp-row-data"/>
- <xsl:for-each select="result">
- <xsl:call-template name="snf4cgp-row-data"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="snf4cgp-row-data">
- <tr>
- <td class="chart-label">
- <xsl:if test="@code">
- <xsl:value-of select="@code"/>
- </xsl:if>
- <xsl:if test="name()='ham'">
- *
- </xsl:if>
- <xsl:if test="name()='spam'">
- *
- </xsl:if>
- </td>
- <xsl:choose>
- <xsl:when test="@action">
- <td class="chart-value">
- <xsl:value-of select="@action"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@reason">
- <td class="chart-value">
- <xsl:value-of select="@reason"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@comment">
- <td class="chart-value">
- <xsl:value-of select="@comment"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@headers">
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="@headers"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@classic">
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="@classic"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@xml">
- <xsl:call-template name="chart-on-off-cell">
- <xsl:with-param name="value" select="@xml"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="@hold-path">
- <td class="chart-value">
- <xsl:value-of select="@hold-path"/>
- </td>
- </xsl:when>
- <xsl:otherwise>
- <td class="chart-value notset"/>
- </xsl:otherwise>
- </xsl:choose>
- </tr>
- </xsl:template>
-
- <xsl:template match="platform/milter">
- <div class="sub-section">
- <div class="section-label">
- <a href="http://www.armresearch.com/products/SNFMilter.jsp">
- Message Sniffer Milter For Sendmail / Postfix
- </a>
- </div>
- <div class="section-item">
- <table>
- <tr>
- <td class="item-label">
- Milter Socket Type:
- </td>
- <td class="item-value">
- <xsl:value-of select="socket/@type"/>
- </td>
- </tr>
- <xsl:if test="socket/@type = 'unix'">
- <tr>
- <td class="item-label">
- Socket Path:
- </td>
- <td class="item-value">
- <xsl:value-of select="socket/@path"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Socket Group:
- </td>
- <td class="iteam-value">
- <xsl:value-of select="socket/@group"/>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="socket/@type = 'tcp'">
- <tr>
- <td class="item-label">
- Socket IP:
- </td>
- <td class="item-value">
- <xsl:value-of select="socket/@ip"/>
- </td>
- </tr>
- <tr>
- <td class="item-label">
- Socket Port:
- </td>
- <td class="iteam-value">
- <xsl:value-of select="socket/@port"/>
- </td>
- </tr>
- </xsl:if>
- </table>
- </div>
- <div class="section-item">
- <table style="border-collapse: collapse;" class="chart">
- <xsl:apply-templates select="connect"/>
- <tr><td colspan="2"><br/></td></tr>
- <xsl:apply-templates select="scan"/>
- </table>
- </div>
- </div>
- </xsl:template>
-
- <xsl:template match="milter/connect">
- <tr>
- <td colspan="2" class="chart-header">
- Connect-time Actions
- </td>
- </tr>
- <tr>
- <td class="chart-header">
- GBUdb Range
- </td>
- <td class="chart-header">
- Action
- </td>
- </tr>
- <xsl:if test="white">
- <tr>
- <td class="chart-value">
- White
- </td>
- <td class="chart-value">
- <xsl:value-of select="white/@action"/>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="caution">
- <tr>
- <td class="chart-value">
- Caution
- </td>
- <td class="chart-value">
- <xsl:value-of select="caution/@action"/>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="black">
- <tr>
- <td class="chart-value">
- Black
- </td>
- <td class="chart-value">
- <xsl:value-of select="black/@action"/>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="truncate">
- <tr>
- <td class="chart-value">
- Truncate
- </td>
- <td class="chart-value">
- <xsl:value-of select="truncate/@action"/>
- </td>
- </tr>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="milter/scan">
- <tr>
- <td colspan="2" class="chart-header">
- Scan-time Actions
- </td>
- </tr>
- <tr>
- <td class="chart-header">
- Scan Result
- </td>
- <td class="chart-header">
- Action
- </td>
- </tr>
- <xsl:if test="nonzero">
- <tr>
- <td class="chart-value">
- Nonzero
- </td>
- <td class="chart-value">
- <xsl:value-of select="nonzero/@action"/>
- </td>
- </tr>
- </xsl:if>
- <xsl:apply-templates select="result"/>
- </xsl:template>
-
- <xsl:template match="milter/scan/result">
- <tr>
- <td class="chart-value">
- <xsl:value-of select="@code"/>
- </td>
- <td class="chart-value">
- <xsl:value-of select="@action"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="msg-file">
- <div class="section msg-file">
- <div class="section-label">
- <a href="http://www.armresearch.com/support/articles/software/snfServer/config/node/msg-file.jsp">
- Message Format
- </a>
- </div>
- <div class="section-item">
- <table>
- <xsl:call-template name="line-item">
- <xsl:with-param name="label" select="'Message Data Type:'"/>
- <xsl:with-param name="value" select="@type"/>
- </xsl:call-template>
- </table>
- </div>
- </div>
- </xsl:template>
-
- </xsl:stylesheet>
-
|