-
Notifications
You must be signed in to change notification settings - Fork 0
/
customServices.html
435 lines (431 loc) · 16.1 KB
/
customServices.html
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Custom Services | CryptoManager</title>
<!--
Copyright (c) 2013 TeamF1, Inc. (www.TeamF1.com)
All rights reserved.
-->
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/buttons.css" />
<link rel="stylesheet" type="text/css" href="css/menu.css" />
<link rel="stylesheet" type="text/css" href="css/table.css" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.4.custom.css" />
<script type="text/javascript" language="javascript" src="js/jquery-1.8.0.min.js"></script>
</head>
<body>
<!-- Start Loading Page-->
<div id="cri_loadingDiv" class="loadingDiv" style="display:none;">
<div class="msgInfo">
<p>
Loading ...
</p>
</div>
</div>
<!-- Start Loading Page-->
<!-- Start Pop Up Dialog -->
<div id="cri_overlay" class="configDialogMask"></div>
<!-- Start Pop Up Form -->
<form name="cri_frmcustomServices" id="cri_frmcustomServices" action="cgi-action.html" method="post">
<input type="hidden" name="thispage" id="thispage" value="customServices.html">
<div class="configDialog" id="cri_dialog">
<!-- (start) add or edit form -->
<div class="topBg">
<h1>Custom Service Configuration</h1>
<a title="Close" id="btnClose" href="#"></a>
</div>
<div class="dialogMidArea">
<div id="cri_txtAddCustServName_div" class="configRow">
<label>Name </label>
<input type="text" maxlength="64" id="cri_txtAddCustServName" value name="ServiceName">
</div>
<div id="break_txtAddCustServName_div" class="break">
</div>
<div id="cri_selTwKeyServiceProtoType_div" class="configRow">
<label>Type </label>
<select onChange="checkServiceType ()" id="cri_selTwKeyServiceProtoType" name="Protocol">
<option value="6">TCP</option>
<option value="17">UDP</option>
<option value="1">ICMP</option>
</select>
</div>
<div id="break_selTwKeyServiceProtoType_div" class="break">
</div>
<div id="cri_selTwKeyServicePortType_div" class="configRow">
<label>Port Type </label>
<select onChange="checkServicePortType ()" id="cri_selTwKeyServicePortType" name="PortType">
<option value="1">Port Range</option>
<option value="2">Multiple Ports</option>
</select>
</div>
<div id="break_selTwKeyServicePortType_div" class="break">
</div>
<div id="cri_txtAddCustServIcmpType_div" class="hide">
<label>ICMP Type </label>
<input type="text" onKeyDown="if (event.keyCode == 9) {return icmpTypeRangeCheck ();}" onKeyPress="return numericValueCheck (event)" maxlength="3" id="cri_txtAddCustServIcmpType" value name="DestinationPortStart" disabled class="one">
<dl>
[Range: 0 - 40]
</dl>
</div>
<div id="break_txtAddCustServIcmpType_div" class="hide">
</div>
<div id="cri_txtAddCustServStartPort_div" class="configRow">
<label>Start Port </label>
<input type="text" onKeyDown="if (event.keyCode == 9) {return numericValueRangeCheck (this, '', '', 1, 65535, true, '', '');}" onKeyPress="return numericValueCheck (event)" maxlength="5" class="one" id="cri_txtAddCustServStartPort" value name="DestinationPortStart">
<dl>
[Range: 1 - 65535]
</dl>
</div>
<div id="break_txtAddCustServStartPort_div" class="break">
</div>
<div id="cri_txtAddCustServEndPort_div" class="configRow">
<label>Finish Port </label>
<input type="text" onKeyDown="if (event.keyCode == 9) {return numericValueRangeCheck (this, '', '', 1, 65535, true, '', '');}" onKeyPress="return numericValueCheck (event)" maxlength="5" class="one" id="cri_txtAddCustServEndPort" value name="DestinationPortEnd">
<dl>
[Range: 1 - 65535]
</dl>
</div>
<div id="break_txtAddCustServEndPort_div" class="break">
</div>
<div id="cri_txtAddCustServPorts_div" class="hide">
<label>Ports </label>
<input type="text" onKeyPress="return numericValueCheck (event, ',')" id="cri_txtAddCustServPorts" value name="MultiPort" disabled>
<dl>
[Range: 1 - 65535]
</dl>
</div>
<div id="break_txtAddCustServPorts_div" class="hide">
</div>
</div>
<div class="dialogSubmitRow">
<input type="submit" title="Apply" onClick="return serviceAddFormValidate()" value="Apply" class="btnSubmit" name="button.config.customServices.customServices.-1">
</div>
</div>
</form>
<!-- End Pop Up Form -->
<!-- End Pop Up Dialog -->
<!-- Start Right click Div -->
<div class="contextMenu" id="contextMenu">
<ul>
<li>
<input id="optionSelectAll" type="checkbox" onClick="setSelectAll (this.id, 'edit');" />
Select
All
</li>
<li id="edit">
Edit
</li>
<li id="delete">
Delete
</li>
</ul>
</div>
<!-- End Right click Div-->
<!-- Start Header Include -->
<!--webbot bot="Include" u-include="header.html" tag="BODY" startspan -->
<div id="CRI_headerBg" align="center">
<div class="midWidth">
<div id="CRI_logo">
</div>
<div class="FR headerRight">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><h5 class="FR">Rambus<label id="lblLoggedinUser" title="guest"> </label>(guest) </h5></td>
<td valign="top"><a class="btnLogout" href="index.html">
<div>
<div>
Logout
</div>
</div> </a></td>
</tr>
</table>
</div>
</div>
</div>
<!-- CRI Mainmenu Starts here -->
<div id="CRI_navBg" align="center">
<div class="midWidth">
<nav id="CRI_nav">
<ul>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu1" class="nolink">STATUS</a>
<ul class="CRI_menuOne">
<li>
<a href="deviceStatus.html">Device Status</a>
</li>
<li>
<a href="deviceUtilization.html">Device Utilization</a>
</li>
<li>
<a href="activeUsers.html">Active Users</a>
</li>
<li>
<a href="sshSessions.html">SSH Sessions</a>
</li>
<li>
<a href="viewLogs.html">View Logs</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu2" class="nolink">NETWORK</a>
<ul class="CRI_menuOne">
<li>
<a href="networkSetup.html">Network Setup</a>
</li>
<li>
<a href="ipv4StaticRouting.html">Static Routing</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu3" class="nolink">FIREWALL</a>
<ul class="CRI_menuOne">
<li>
<a href="defaultPolicy.html">Default Firewall Policy</a>
</li>
<li>
<a href="attackChecks.html">Attack Checks</a>
</li>
<li>
<a href="firewallRules.html">Firewall Rules</a>
</li>
<li>
<a href="customServices.html">Custom Services</a>
</li>
<li>
<a href="schedules.html">Schedules</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu end">
<a href="#" id="mainMenu4" class="nolink CRI_menuAdjust">ADMINISTRATION</a>
<ul class="CRI_menuOne">
<li class="CRI_subMain">
<a class="nolink" href="#">Admin<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="users.html">Users</a>
</li>
<li>
<a href="groups.html">Groups</a>
</li>
</ul>
</li>
<li class="CRI_subMain">
<a href="#" class="nolink">Maintenance<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="backupRestore.html">Backup / Restore</a>
</li>
<li>
<a href="firmwareUpgrade.html">Firmware Upgrade</a>
</li>
</ul>
</li>
<li>
<a href="diagnostics.html">Diagnostics</a>
</li>
<li>
<a href="dateAndTime.html">Date & Time</a>
</li>
<li class="CRI_subMain">
<a class="nolink" href="#">Certificates<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="trustedCertificates.html">Trusted Certificates</a>
</li>
<li>
<a href="activeSelfCertificates.html">Active Self Certificates</a>
</li>
<li>
<a href="selfCertificateRequests.html">Self Certificate Requests</a>
</li>
</ul>
</li>
<li class="CRI_subMain">
<a href="#" class="nolink">SSH Setup<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="sshSetup.html">SSH Server Configuration</a>
</li>
<li>
<a href="sshKeyManagement.html">SSH Key Management</a>
</li>
</ul>
</li>
<li>
<a href="telnetSetup.html">Telnet Setup</a>
</li>
<li class="CRI_subMain">
<a class="nolink" href="#">Logging Setup<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="logsFacility.html">Logs Facility</a>
</li>
<li class="current">
<a href="logsConfiguration.html">Logs Configuration</a>
</li>
<li>
<a href="remoteLoggingConfiguration.html">Remote Logging
Configuration</a>
</li>
<li><a href="logsRolloverSetup.html">Logs Rollover Setup</a></li>
</ul>
</li>
<li><a href="appExtensions.html">App Extensions</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- CRI Mainmenu Ends here -->
<!-- Breadcrumb Section Starts here -->
<div id="CRI_breadcrumbBg" align="center">
<div class="midWidth">
<div class="CRI_breadCrumb">
<div id="CRI_breadCrumb"></div>
</div>
<div class="FR systemSearch">
<input id="menuSearch" value="Menu Search..." onFocus="watermark('menuSearch','Menu Search...');" onBlur="watermark('menuSearch','Menu Search...');" />
<div id="menuList" class="CRI_menuSearch"></div>
</div>
</div>
</div>
<!-- Breadcrumb Section Ends here -->
<!-- start Menu Width auto adjust --->
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$(".CRI_menuAdjust").each(function() {
$(this).mouseover(function() {
if($(this).next("ul").innerWidth()<$(this).innerWidth()) {
$(this).next("ul").width($(this).innerWidth()+2);
$(".subMenuTwo").css("left",$(this).innerWidth());
} else {
$(".subMenuTwo").css("left",$(this).next("ul").width()-2);
}
});
});
});
</script>
<!-- end Menu Width auto adjust --->
<!--webbot bot="Include" i-checksum="32026" endspan --><!-- End Header Include --><div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="980px" class="forConfigTbl">
<tr>
<td valign="top" align="center">
<div class="midWidth">
<!-- Status message place holder...
[ 1. for error use "msgError"
2. for information use "msgInfo"
3. for sucess use "msgSuccess" CSS classes ]
<div class="msgError">
<p>Error Message Place Holder.</p>
</div>-->
<h1>Custom Services</h1>
<div class="help">
<a class="helpButton" href="#"> Help </a>
</div>
<div class="break2"> </div>
<div class="buttonsRow" id="cri_btnShowModal">
<input type="button" name="button.add.customServices.customServices.-1" class="btnSubmit" title="Add" value="Add New Custom Service" id="btAdd" onClick="openForm('button.add.customServices.customServices','-1','cri_dialog','customServices','customServices.html');">
</div>
<div class="break"> </div>
<div align="center">
<div class="CLR midTblWidth">
<!-- Start Table List Data -->
<div class="demo_jui">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="recordsData">
<thead>
<tr>
<th>Name </th>
<th>Type </th>
<th>ICMP Type / Port Range </th>
</tr>
</thead>
<tr class="gradeA" id="customServices21">
<td class="gradeA">CRI</td>
<td class="gradeA">UDP</td>
<td class="gradeA">655-6555</td>
</tr>
<tr class="gradeA" id="customServices22">
<td class="gradeA">CRI1</td>
<td class="gradeA">ICMP</td>
<td class="gradeA">40</td>
</tr>
<tr class="gradeA" id="customServices23">
<td class="gradeA">RAMBUS</td>
<td class="gradeA">TCP</td>
<td class="gradeA">1,99,999,6555</td>
</tr>
<tr class="gradeA" id="customServices24">
<td class="gradeA">RAMBUS1</td>
<td class="gradeA">TCP</td>
<td class="gradeA">1,2,3,4,5,6,7,89</td>
</tr>
</table>
</div><!-- End Table List Data -->
</div>
</div>
</div></td>
</tr>
</table>
</div><!-- Start Footer Include -->
<!--webbot bot="Include" u-include="footer.html" tag="BODY" startspan -->
<div id="CRI_footer">
<div class="midWidth">
Copyright © 2014 Cryptography Research, Inc.
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
window.onresize = function(event){
var leftPx = $(window).innerWidth()/2 - $(".configDialog").width()/2;
leftPx = Math.round(leftPx);
$(".configDialog").css('left',leftPx+'px');
}
});
</script>
<!--webbot bot="Include" i-checksum="17688" endspan --><!-- End Footer Include --><!-- Start Footer Scripts --><script type="text/javascript" language="javascript" src="js/jquery.dataTables.min.js"></script><script type="text/javascript" language="javascript" src="js/contextMenu.js"></script><script type="text/javascript" language="javascript" src="js/globalMis.js"></script><script type="text/javascript" language="javascript" src="js/menu.js"></script><script type="text/javascript" language="javascript" src="js/globalTextValidations.js"></script><script type="text/javascript" language="javascript" src="js/globalMgmt.js"></script><script type="text/javascript" language="javascript" src="js/customServices.js"></script><script language="JavaScript" src="js/menuSearchList.js" type="text/javascript"></script><script language="JavaScript" src="js/menuSearch.js" type="text/javascript"></script><script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('.gradeA').contextMenu('contextMenu', {
bindings: {
'editMenu': function(t,e,rowId) {
openForm('button.edit.customServices.customServices',rowId,'cri_dialog','customServices','customServices.html');
},'deleteMenu': function(t,e,rowId) {
deleteRows('button.delete.customServices.customServices','cri_frmcustomServices',rowId,'optionSelectAll','cri_dialog','customServices','customServices');
}
}
});
oTable=$('#recordsData').dataTable({
"bJQueryUI":true,
"sDom": '<"top"f<"clear">>rt<"bottom"ipl<"clear">>',
"sPaginationType":"input"
});
$("#btnClose").live("click", function(e) {
HideDialog('cri_dialog','cri_overlay');
e.preventDefault();
});
/* Help Section variable */
helpSection="customServices";
helpConfigFile="firewall.txt";
/* Header section javascript bindings */
menuLoading();
mmSel("mainMenu3");
getBreadCrumb(9);
dataRightClick(true);
});
</script><!-- End Footer Scripts -->
</body>
</html>