1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
<!-- saved from url=(0179)https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255 -->
|
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
4
|
<meta http-equiv="Content-Language" content="en">
|
5
|
|
6
|
<title>Hawat on Catalyst 5.90015</title>
|
7
|
<script type="text/javascript">
|
8
|
<!--
|
9
|
function toggleDump (dumpElement) {
|
10
|
var e = document.getElementById( dumpElement );
|
11
|
if (e.style.display == "none") {
|
12
|
e.style.display = "";
|
13
|
}
|
14
|
else {
|
15
|
e.style.display = "none";
|
16
|
}
|
17
|
}
|
18
|
-->
|
19
|
</script>
|
20
|
<style type="text/css">
|
21
|
body {
|
22
|
font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
|
23
|
Tahoma, Arial, helvetica, sans-serif;
|
24
|
color: #333;
|
25
|
background-color: #eee;
|
26
|
margin: 0px;
|
27
|
padding: 0px;
|
28
|
}
|
29
|
:link, :link:hover, :visited, :visited:hover {
|
30
|
color: #000;
|
31
|
}
|
32
|
div.box {
|
33
|
position: relative;
|
34
|
background-color: #ccc;
|
35
|
border: 1px solid #aaa;
|
36
|
padding: 4px;
|
37
|
margin: 10px;
|
38
|
}
|
39
|
div.error {
|
40
|
background-color: #cce;
|
41
|
border: 1px solid #755;
|
42
|
padding: 8px;
|
43
|
margin: 4px;
|
44
|
margin-bottom: 10px;
|
45
|
}
|
46
|
div.infos {
|
47
|
background-color: #eee;
|
48
|
border: 1px solid #575;
|
49
|
padding: 8px;
|
50
|
margin: 4px;
|
51
|
margin-bottom: 10px;
|
52
|
}
|
53
|
div.name {
|
54
|
background-color: #cce;
|
55
|
border: 1px solid #557;
|
56
|
padding: 8px;
|
57
|
margin: 4px;
|
58
|
}
|
59
|
code.error {
|
60
|
display: block;
|
61
|
margin: 1em 0;
|
62
|
overflow: auto;
|
63
|
}
|
64
|
div.name h1, div.error p {
|
65
|
margin: 0;
|
66
|
}
|
67
|
h2 {
|
68
|
margin-top: 0;
|
69
|
margin-bottom: 10px;
|
70
|
font-size: medium;
|
71
|
font-weight: bold;
|
72
|
text-decoration: underline;
|
73
|
}
|
74
|
h1 {
|
75
|
font-size: medium;
|
76
|
font-weight: normal;
|
77
|
}
|
78
|
/* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
|
79
|
/* Browser specific (not valid) styles to make preformatted text wrap */
|
80
|
pre {
|
81
|
white-space: pre-wrap; /* css-3 */
|
82
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
83
|
white-space: -pre-wrap; /* Opera 4-6 */
|
84
|
white-space: -o-pre-wrap; /* Opera 7 */
|
85
|
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
86
|
}
|
87
|
</style>
|
88
|
<style type="text/css"></style></head>
|
89
|
<body>
|
90
|
<div class="box">
|
91
|
<div class="error"><pre wrap=""><p><code class="error">Caught exception in Hawat::Controller::Alerts->getAlertsData "Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27.
|
92
|
Hawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84
|
93
|
Hawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65
|
94
|
Catalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668
|
95
|
eval {...} called at /usr/share/perl5/Catalyst.pm line 1668
|
96
|
Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38
|
97
|
Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60
|
98
|
Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158
|
99
|
Catalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65
|
100
|
Catalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668
|
101
|
eval {...} called at /usr/share/perl5/Catalyst.pm line 1668
|
102
|
Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38
|
103
|
Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60
|
104
|
Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
|
105
|
Catalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), "forward", Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
|
106
|
Catalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst.pm line 358
|
107
|
Catalyst::forward(Hawat=HASH(0x68879c8), "_ACTION") called at /usr/share/perl5/Catalyst/Controller.pm line 132
|
108
|
Catalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65
|
109
|
Catalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668
|
110
|
eval {...} called at /usr/share/perl5/Catalyst.pm line 1668
|
111
|
Catalyst::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38
|
112
|
Catalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), "Hawat::Controller::Alerts", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60
|
113
|
Catalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
|
114
|
Catalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), "forward", Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
|
115
|
Catalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst.pm line 358
|
116
|
Catalyst::forward(Hawat=HASH(0x68879c8), "/alerts/_DISPATCH") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105
|
117
|
Catalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614
|
118
|
Catalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77
|
119
|
Class::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162
|
120
|
Class::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91
|
121
|
Hawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964
|
122
|
Catalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83
|
123
|
eval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74
|
124
|
Try::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970
|
125
|
Catalyst::handle_request("Hawat", "env", HASH(0x68299a8), "response_cb", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685
|
126
|
Catalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138
|
127
|
Plack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667
|
128
|
Catalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), "Hawat", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429
|
129
|
Catalyst::run("Hawat", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91
|
130
|
Catalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61
|
131
|
Catalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50
|
132
|
Catalyst::ScriptRunner::run("Catalyst::ScriptRunner", "Hawat", "FastCGI") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4"</code></p><p><code class="error">Couldn't render template "alerts/getAlertsData: file error - alerts/getAlertsData: not found"</code></p></pre></div>
|
133
|
<div class="infos"><h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_0'); return false">Request</a></h2>
|
134
|
<div id="dump_0">
|
135
|
<pre wrap="">do {
|
136
|
require Symbol;
|
137
|
my $a = bless({
|
138
|
_log => bless({
|
139
|
_body => "[info] *** Request 84 (0.001/s) [14018] [Sat Mar 22 11:15:44 2014] ***\n[debug] Package version: '0.2.409'\n[debug] Path is \"alerts/getAlertsData\"\n[debug] \"GET\" request for \"alerts/getAlertsData\" from \"217.105.221.106\"\n[debug] Query Parameters are:\n.-------------------------------------+--------------------------------------.\n| Parameter | Value |\n+-------------------------------------+--------------------------------------+\n| datefrom | 2014-03-21 00:00:00 |\n| dateto | 2014-03-22 00:00:00 |\n| ipdst | 78.128.128.0-78.128.255.255 |\n| ipsrc | 61.160.201.25 |\n| page | 0 |\n| simple | 1 |\n'-------------------------------------+--------------------------------------'\n[debug] running ACL rule CODE(0x3d8bed8) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on begin\n[debug] Access to begin allowed by rule CODE(0x3d8bed8) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Found sessionid \"21f2fe116dcd267d3898eb63b55351c3ea495934\" in cookie\n[debug] Restored session \"21f2fe116dcd267d3898eb63b55351c3ea495934\"\n[debug] running ACL rule CODE(0x63ee218) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on end\n[debug] Access to end allowed by rule CODE(0x63ee218) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Auto-rendering view: default\n[debug] Rendering template \"alerts/getAlertsData\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n[error] Caught exception in Hawat::Controller::Alerts->getAlertsData \"Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27.\n\tHawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84\n\tHawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158\n\tCatalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Controller.pm line 132\n\tCatalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105\n\tCatalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614\n\tCatalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77\n\tClass::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162\n\tClass::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91\n\tHawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964\n\tCatalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83\n\teval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74\n\tTry::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970\n\tCatalyst::handle_request(\"Hawat\", \"env\", HASH(0x68299a8), \"response_cb\", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685\n\tCatalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138\n\tPlack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667\n\tCatalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), \"Hawat\", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429\n\tCatalyst::run(\"Hawat\", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91\n\tCatalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61\n\tCatalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50\n\tCatalyst::ScriptRunner::run(\"Catalyst::ScriptRunner\", \"Hawat\", \"FastCGI\") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n",
|
140
|
abort => undef,
|
141
|
level => 31,
|
142
|
}, "Catalyst::Log"),
|
143
|
_path => "alerts/getAlertsData",
|
144
|
_read_length => 0,
|
145
|
_read_position => 0,
|
146
|
action => "alerts/getAlertsData",
|
147
|
address => "217.105.221.106",
|
148
|
arguments => [],
|
149
|
base => bless(do{\(my $o = "https://mentat.cesnet.cz/")}, "URI::https"),
|
150
|
body_parameters => {},
|
151
|
captures => [],
|
152
|
cookies => {
|
153
|
hawat_session => bless({
|
154
|
name => "hawat_session",
|
155
|
path => "/",
|
156
|
value => ["21f2fe116dcd267d3898eb63b55351c3ea495934"],
|
157
|
}, "CGI::Simple::Cookie"),
|
158
|
},
|
159
|
env => {
|
160
|
"DOCUMENT_ROOT" => "/var/mentat/www/hawat/root",
|
161
|
"FCGI_ROLE" => "RESPONDER",
|
162
|
"GATEWAY_INTERFACE" => "CGI/1.1",
|
163
|
"HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
|
164
|
"HTTP_ACCEPT_ENCODING" => "gzip,deflate,sdch",
|
165
|
"HTTP_ACCEPT_LANGUAGE" => "cs-CZ,cs;q=0.8",
|
166
|
"HTTP_CACHE_CONTROL" => "max-age=0",
|
167
|
"HTTP_CONNECTION" => "keep-alive",
|
168
|
"HTTP_COOKIE" => "hawat_session=21f2fe116dcd267d3898eb63b55351c3ea495934",
|
169
|
"HTTP_DNT" => 1,
|
170
|
"HTTP_HOST" => "mentat.cesnet.cz",
|
171
|
"HTTP_USER_AGENT" => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36",
|
172
|
"HTTPS" => "on",
|
173
|
"PATH" => "/usr/local/bin:/usr/bin:/bin",
|
174
|
"PATH_INFO" => "/alerts/getAlertsData",
|
175
|
"PATH_TRANSLATED" => "/var/mentat/www/hawat/script/hawat_fastcgi.pl/alerts/getAlertsData",
|
176
|
"psgi.errors" => bless(Symbol::gensym(), "IO::Handle"),
|
177
|
"psgi.input" => bless(Symbol::gensym(), "IO::Handle"),
|
178
|
"psgi.multiprocess" => 1,
|
179
|
"psgi.multithread" => "",
|
180
|
"psgi.nonblocking" => "",
|
181
|
"psgi.run_once" => "",
|
182
|
"psgi.streaming" => 1,
|
183
|
"psgi.url_scheme" => "https",
|
184
|
"psgi.version" => [1, 1],
|
185
|
"psgix.harakiri" => "",
|
186
|
"QUERY_STRING" => "datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255",
|
187
|
"REMOTE_ADDR" => "217.105.221.106",
|
188
|
"REMOTE_PORT" => 47266,
|
189
|
"REQUEST_METHOD" => "GET",
|
190
|
"REQUEST_URI" => "/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255",
|
191
|
"SCRIPT_FILENAME" => "/var/mentat/www/hawat/script/hawat_fastcgi.pl",
|
192
|
"SCRIPT_NAME" => "",
|
193
|
"SERVER_ADDR" => "195.113.161.43",
|
194
|
"SERVER_ADMIN" => "webmaster\@mentat.cesnet.cz",
|
195
|
"SERVER_NAME" => "mentat.cesnet.cz",
|
196
|
"SERVER_PORT" => 443,
|
197
|
"SERVER_PROTOCOL" => "HTTP/1.1",
|
198
|
"SERVER_SIGNATURE" => "<address>Apache/2.2.22 (Debian) Server at mentat.cesnet.cz Port 443</address>\n",
|
199
|
"SERVER_SOFTWARE" => "Apache/2.2.22 (Debian)",
|
200
|
"SSL_CIPHER" => "DHE-RSA-AES128-GCM-SHA256",
|
201
|
"SSL_CIPHER_ALGKEYSIZE" => 128,
|
202
|
"SSL_CIPHER_EXPORT" => "false",
|
203
|
"SSL_CIPHER_USEKEYSIZE" => 128,
|
204
|
"SSL_CLIENT_A_KEY" => "rsaEncryption",
|
205
|
"SSL_CLIENT_A_SIG" => "sha1WithRSAEncryption",
|
206
|
"SSL_CLIENT_I_DN" => "/C=NL/O=TERENA/CN=TERENA Personal CA",
|
207
|
"SSL_CLIENT_I_DN_C" => "NL",
|
208
|
"SSL_CLIENT_I_DN_CN" => "TERENA Personal CA",
|
209
|
"SSL_CLIENT_I_DN_O" => "TERENA",
|
210
|
"SSL_CLIENT_M_SERIAL" => "95D74954AB2CD0003C45F7025516D9D5",
|
211
|
"SSL_CLIENT_M_VERSION" => 3,
|
212
|
"SSL_CLIENT_S_DN" => "/C=CZ/O=CESNET/CN=Pavel K\\xC3\\xA1cha/unstructuredName=5191",
|
213
|
"SSL_CLIENT_S_DN_C" => "CZ",
|
214
|
"SSL_CLIENT_S_DN_CN" => "Pavel K\xC3\xA1cha",
|
215
|
"SSL_CLIENT_S_DN_O" => "CESNET",
|
216
|
"SSL_CLIENT_V_END" => "Jul 2 23:59:59 2016 GMT",
|
217
|
"SSL_CLIENT_V_REMAIN" => 834,
|
218
|
"SSL_CLIENT_V_START" => "Jul 3 00:00:00 2013 GMT",
|
219
|
"SSL_CLIENT_VERIFY" => "SUCCESS",
|
220
|
"SSL_COMPRESS_METHOD" => "NULL",
|
221
|
"SSL_PROTOCOL" => "TLSv1.2",
|
222
|
"SSL_SECURE_RENEG" => "true",
|
223
|
"SSL_SERVER_A_KEY" => "rsaEncryption",
|
224
|
"SSL_SERVER_A_SIG" => "sha1WithRSAEncryption",
|
225
|
"SSL_SERVER_I_DN" => "/C=NL/O=TERENA/CN=TERENA SSL CA",
|
226
|
"SSL_SERVER_I_DN_C" => "NL",
|
227
|
"SSL_SERVER_I_DN_CN" => "TERENA SSL CA",
|
228
|
"SSL_SERVER_I_DN_O" => "TERENA",
|
229
|
"SSL_SERVER_M_SERIAL" => "744B1F4E994F66DB6D4F4CDAB2114ECC",
|
230
|
"SSL_SERVER_M_VERSION" => 3,
|
231
|
"SSL_SERVER_S_DN" => "/OU=Domain Control Validated/CN=mentat.cesnet.cz",
|
232
|
"SSL_SERVER_S_DN_CN" => "mentat.cesnet.cz",
|
233
|
"SSL_SERVER_S_DN_OU" => "Domain Control Validated",
|
234
|
"SSL_SERVER_V_END" => "Dec 9 23:59:59 2016 GMT",
|
235
|
"SSL_SERVER_V_START" => "Dec 10 00:00:00 2013 GMT",
|
236
|
"SSL_SESSION_ID" => "C793BBE414C5D118917AF67D54535E9427A903072E97BFA94B7316C27ED3DDA0",
|
237
|
"SSL_TLS_SNI" => "mentat.cesnet.cz",
|
238
|
"SSL_VERSION_INTERFACE" => "mod_ssl/2.2.22",
|
239
|
"SSL_VERSION_LIBRARY" => "OpenSSL/1.0.1e",
|
240
|
},
|
241
|
headers => bless({
|
242
|
"accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
|
243
|
"accept-encoding" => "gzip,deflate,sdch",
|
244
|
"accept-language" => "cs-CZ,cs;q=0.8",
|
245
|
"cache-control" => "max-age=0",
|
246
|
"connection" => "keep-alive",
|
247
|
"cookie" => "hawat_session=21f2fe116dcd267d3898eb63b55351c3ea495934",
|
248
|
"dnt" => 1,
|
249
|
"host" => "mentat.cesnet.cz",
|
250
|
"https" => "on",
|
251
|
"user-agent" => "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36",
|
252
|
}, "HTTP::Headers"),
|
253
|
match => "alerts/getAlertsData",
|
254
|
method => "GET",
|
255
|
parameters => {
|
256
|
datefrom => "2014-03-21 00:00:00",
|
257
|
dateto => "2014-03-22 00:00:00",
|
258
|
ipdst => "78.128.128.0-78.128.255.255",
|
259
|
ipsrc => "61.160.201.25",
|
260
|
page => 0,
|
261
|
simple => 1,
|
262
|
},
|
263
|
protocol => "HTTP/1.1",
|
264
|
query_parameters => {
|
265
|
datefrom => "2014-03-21 00:00:00",
|
266
|
dateto => "2014-03-22 00:00:00",
|
267
|
ipdst => "78.128.128.0-78.128.255.255",
|
268
|
ipsrc => "61.160.201.25",
|
269
|
page => 0,
|
270
|
simple => 1,
|
271
|
},
|
272
|
remote_user => undef,
|
273
|
secure => 1,
|
274
|
uploads => {},
|
275
|
uri => bless(do{\(my $o = "https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255")}, "URI::https"),
|
276
|
user => bless({
|
277
|
_id => "ph\@cesnet.cz",
|
278
|
auth_realm => "ssl_client",
|
279
|
groups => [
|
280
|
bless({
|
281
|
client => bless({
|
282
|
_servers => {},
|
283
|
auto_connect => 1,
|
284
|
auto_reconnect => 1,
|
285
|
db_name => "admin",
|
286
|
dt_type => "DateTime",
|
287
|
find_master => 0,
|
288
|
host => "mongodb://localhost:27017",
|
289
|
inflate_dbrefs => 1,
|
290
|
j => 0,
|
291
|
max_bson_size => 16777216,
|
292
|
port => 27017,
|
293
|
query_timeout => 800000,
|
294
|
sasl => 0,
|
295
|
sasl_mechanism => "GSSAPI",
|
296
|
ssl => 0,
|
297
|
timeout => 20000,
|
298
|
ts => 0,
|
299
|
w => 1,
|
300
|
wtimeout => 1000,
|
301
|
}, "MongoDB::MongoClient"),
|
302
|
db => "mentat",
|
303
|
id => "certs",
|
304
|
ref => "groups",
|
305
|
verify_coll => 1,
|
306
|
verify_db => 1,
|
307
|
}, "MongoDB::DBRef"),
|
308
|
bless({
|
309
|
client => 'fix',
|
310
|
db => "mentat",
|
311
|
id => "abuse\@cesnet.cz",
|
312
|
ref => "groups",
|
313
|
verify_coll => 1,
|
314
|
verify_db => 1,
|
315
|
}, "MongoDB::DBRef"),
|
316
|
],
|
317
|
id => undef,
|
318
|
name => "Pavel Kacha",
|
319
|
organization => "CESNET",
|
320
|
query => [
|
321
|
{
|
322
|
classification => "(D)DoS",
|
323
|
datefrom => "",
|
324
|
dateto => "",
|
325
|
detector => "",
|
326
|
id => "DDoS",
|
327
|
ipdst => "",
|
328
|
ipor => "FALSE",
|
329
|
ipsrc => "",
|
330
|
query => "( Alert/Classification/\@text EQ \"(D)DoS\" )",
|
331
|
simple => 1,
|
332
|
},
|
333
|
],
|
334
|
roles => ["admin", "user"],
|
335
|
}, "Catalyst::Authentication::User::Hash"),
|
336
|
}, "Catalyst::Request");
|
337
|
$a->{user}{groups}[1]{client} = $a->{user}{groups}[0]{client};
|
338
|
$a;
|
339
|
}</pre>
|
340
|
</div>
|
341
|
|
342
|
<h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_1'); return false">Response</a></h2>
|
343
|
<div id="dump_1">
|
344
|
<pre wrap="">bless({
|
345
|
_log => bless({
|
346
|
_body => "[info] *** Request 84 (0.001/s) [14018] [Sat Mar 22 11:15:44 2014] ***\n[debug] Package version: '0.2.409'\n[debug] Path is \"alerts/getAlertsData\"\n[debug] \"GET\" request for \"alerts/getAlertsData\" from \"217.105.221.106\"\n[debug] Query Parameters are:\n.-------------------------------------+--------------------------------------.\n| Parameter | Value |\n+-------------------------------------+--------------------------------------+\n| datefrom | 2014-03-21 00:00:00 |\n| dateto | 2014-03-22 00:00:00 |\n| ipdst | 78.128.128.0-78.128.255.255 |\n| ipsrc | 61.160.201.25 |\n| page | 0 |\n| simple | 1 |\n'-------------------------------------+--------------------------------------'\n[debug] running ACL rule CODE(0x3d8bed8) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on begin\n[debug] Access to begin allowed by rule CODE(0x3d8bed8) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Found sessionid \"21f2fe116dcd267d3898eb63b55351c3ea495934\" in cookie\n[debug] Restored session \"21f2fe116dcd267d3898eb63b55351c3ea495934\"\n[debug] running ACL rule CODE(0x63ee218) defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118 on end\n[debug] Access to end allowed by rule CODE(0x63ee218) (defined at /var/mentat/www/hawat/script/../lib/Hawat.pm line 118)\n[debug] Auto-rendering view: default\n[debug] Rendering template \"alerts/getAlertsData\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n[error] Caught exception in Hawat::Controller::Alerts->getAlertsData \"Expected limit and page number as arguments at /var/mentat/www/hawat/script/../lib/Hawat/Model/Paginator.pm line 27.\n\tHawat::Model::Paginator::calculate_skip(Hawat::Model::Paginator=HASH(0x61e9978), 30, 0) called at /var/mentat/www/hawat/script/../lib/Hawat/Controller/Alerts.pm line 84\n\tHawat::Controller::Alerts::getAlertsData(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1e60), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1e60)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1e60), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Controller.pm line 158\n\tCatalyst::Controller::_ACTION(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62e1878), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62e1878)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62e1878), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"_ACTION\") called at /usr/share/perl5/Catalyst/Controller.pm line 132\n\tCatalyst::Controller::_DISPATCH(Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Action.pm line 65\n\tCatalyst::Action::execute(Catalyst::Action=HASH(0x62a3508), Hawat::Controller::Alerts=HASH(0x6224c28), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1668\n\teval {...} called at /usr/share/perl5/Catalyst.pm line 1668\n\tCatalyst::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Plugin/Authorization/ACL.pm line 38\n\tCatalyst::Plugin::Authorization::ACL::execute(Hawat=HASH(0x68879c8), \"Hawat::Controller::Alerts\", Catalyst::Action=HASH(0x62a3508)) called at /usr/share/perl5/Catalyst/Action.pm line 60\n\tCatalyst::Action::dispatch(Catalyst::Action=HASH(0x62a3508), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257\n\tCatalyst::Dispatcher::_do_forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), \"forward\", Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237\n\tCatalyst::Dispatcher::forward(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst.pm line 358\n\tCatalyst::forward(Hawat=HASH(0x68879c8), \"/alerts/_DISPATCH\") called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105\n\tCatalyst::Dispatcher::dispatch(Catalyst::Dispatcher=HASH(0x3d8b5f0), Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1614\n\tCatalyst::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst/Plugin/Static/Simple.pm line 77\n\tClass::MOP::Class:::around(CODE(0x3cc87a8), Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 162\n\tClass::MOP::Method::Wrapped::__ANON__(Hawat=HASH(0x68879c8)) called at /usr/local/lib/perl/5.14.2/Class/MOP/Method/Wrapped.pm line 91\n\tHawat::dispatch(Hawat=HASH(0x68879c8)) called at /usr/share/perl5/Catalyst.pm line 1964\n\tCatalyst::try {...} () called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 83\n\teval {...} called at /usr/local/share/perl/5.14.2/Try/Tiny.pm line 74\n\tTry::Tiny::try(CODE(0x6887a70), Try::Tiny::Catch=REF(0x694b3c0)) called at /usr/share/perl5/Catalyst.pm line 1970\n\tCatalyst::handle_request(\"Hawat\", \"env\", HASH(0x68299a8), \"response_cb\", CODE(0x656ced8)) called at /usr/share/perl5/Catalyst/Engine.pm line 685\n\tCatalyst::Engine::__ANON__(CODE(0x656ced8)) called at /usr/share/perl5/Plack/Handler/FCGI.pm line 138\n\tPlack::Handler::FCGI::run(Plack::Handler::FCGI=HASH(0x3d765d8), CODE(0x643e558), HASH(0x3d76ab8)) called at /usr/share/perl5/Catalyst/Engine.pm line 667\n\tCatalyst::Engine::run(Catalyst::Engine=HASH(0x2c72930), \"Hawat\", CODE(0x643e558), undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst.pm line 2429\n\tCatalyst::run(\"Hawat\", undef, HASH(0x3d76ab8), Plack::Handler::FCGI=HASH(0x3d765d8)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 91\n\tCatalyst::ScriptRole::_run_application(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRole.pm line 61\n\tCatalyst::ScriptRole::run(Catalyst::Script::FastCGI=HASH(0x2502d58)) called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50\n\tCatalyst::ScriptRunner::run(\"Catalyst::ScriptRunner\", \"Hawat\", \"FastCGI\") called at /var/mentat/www/hawat/script/hawat_fastcgi.pl line 4\"\n[error] Couldn't render template \"alerts/getAlertsData: file error - alerts/getAlertsData: not found\"\n",
|
347
|
abort => undef,
|
348
|
level => 31,
|
349
|
}, "Catalyst::Log"),
|
350
|
_response_cb => sub { ... },
|
351
|
body => undef,
|
352
|
cookies => {},
|
353
|
finalized_headers => 0,
|
354
|
headers => bless({
|
355
|
"content-type" => "text/html; charset=utf-8",
|
356
|
"x-catalyst" => 5.90015,
|
357
|
}, "HTTP::Headers"),
|
358
|
status => 200,
|
359
|
}, "Catalyst::Response")</pre>
|
360
|
</div>
|
361
|
|
362
|
<h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_2'); return false">Stash</a></h2>
|
363
|
<div id="dump_2">
|
364
|
<pre wrap="">{}</pre>
|
365
|
</div>
|
366
|
|
367
|
<h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_3'); return false">Config</a></h2>
|
368
|
<div id="dump_3">
|
369
|
<pre wrap="">do {
|
370
|
my $a = {
|
371
|
"acl" => {
|
372
|
acl_url => {
|
373
|
"/report/delete" => ["admin"],
|
374
|
"/statistics" => ["admin"],
|
375
|
"/users" => ["admin"],
|
376
|
},
|
377
|
},
|
378
|
"authentication" => bless(do{\(my $o = 1)}, "JSON::XS::Boolean"),
|
379
|
"authorization" => 'fix',
|
380
|
"collection" => "alerts",
|
381
|
"database" => "mentat",
|
382
|
"default_roles" => ["admin", "user"],
|
383
|
"devel" => 1,
|
384
|
"disable_component_resolution_regex_fallback" => 1,
|
385
|
"Hawat::Controller::Report" => { some_value => "Hawat" },
|
386
|
"home" => "/var/mentat/www/hawat",
|
387
|
"log_file" => "/var/mentat/log/hawat.log",
|
388
|
"log_threshold" => "debug",
|
389
|
"Model::Alerts" => {
|
390
|
cache_dir => "/var/mentat/cache",
|
391
|
cache_ttl => 806400,
|
392
|
collection_name => "alerts",
|
393
|
database_name => "mentat",
|
394
|
devel => 0,
|
395
|
filter_grammar => "/etc/mentat/filter-grammar.conf",
|
396
|
},
|
397
|
"Model::Reports" => {
|
398
|
collection_name => "reports",
|
399
|
database_name => "mentat",
|
400
|
devel => 0,
|
401
|
test_mode => 1,
|
402
|
},
|
403
|
"Model::Users" => {
|
404
|
collection => "users",
|
405
|
database => "mentat",
|
406
|
devel => 0,
|
407
|
usermap => {
|
408
|
"/C=CZ/O=CESNET/CN=Andrea Kropacova/unstructuredName=6339" => "andrea\@cesnet.cz",
|
409
|
"/C=CZ/O=CESNET/CN=Jan Mach/unstructuredName=5832" => "mach\@cesnet.cz",
|
410
|
"/C=CZ/O=CESNET/CN=Pavel K\\xC3\\xA1cha/unstructuredName=5191" => "ph\@cesnet.cz",
|
411
|
"/C=CZ/O=CESNET/CN=Radom\\xC3\\xADr Ork\\xC3\\xA1\\xC4\\x8D/unstructuredName=2193" => "andrea\@cesnet.cz",
|
412
|
"/C=CZ/O=Masarykova univerzita/CN=Tomas Plesnik/unstructuredName=207426" => "plesnik\@ics.muni.cz",
|
413
|
"/C=CZ/O=Vysoka skola banska - Technicka univerzita Ostrava/CN=Radomir Orkac/unstructuredName=ork01\@vsb.cz" => "andrea\@cesnet.cz",
|
414
|
"Radomir Orkac" => "orkac\@cesnet.cz",
|
415
|
},
|
416
|
},
|
417
|
"name" => "Hawat",
|
418
|
"Plugin::Authentication" => {
|
419
|
default_realm => "ssl_client",
|
420
|
realms => {
|
421
|
ssl_client => {
|
422
|
credential => { class => "Remote", source => "SSL_CLIENT_S_DN" },
|
423
|
store => { class => "FromSub::Hash", model_class => "Users" },
|
424
|
use_session => 1,
|
425
|
},
|
426
|
},
|
427
|
use_session => 1,
|
428
|
},
|
429
|
"Plugin::ConfigLoader" => {},
|
430
|
"Plugin::Session" => {
|
431
|
cookie_name => "hawat_session",
|
432
|
expires => 7200,
|
433
|
storage => "/tmp/hawat/session_data",
|
434
|
verify_address => 0,
|
435
|
verify_user_agent => 0,
|
436
|
},
|
437
|
"Plugin::Static::Simple" => {
|
438
|
debug => 1,
|
439
|
dirs => [],
|
440
|
ignore_dirs => [],
|
441
|
ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"],
|
442
|
include_path => [
|
443
|
bless({
|
444
|
dirs => ["", "var", "mentat", "www", "hawat", "root"],
|
445
|
file_spec_class => undef,
|
446
|
volume => "",
|
447
|
}, "Path::Class::Dir"),
|
448
|
],
|
449
|
mime_types => {},
|
450
|
mime_types_obj => bless({}, "MIME::Types"),
|
451
|
no_logs => 1,
|
452
|
},
|
453
|
"reports_dir" => "/var/mentat/reports/reporter",
|
454
|
"result_limit" => 30,
|
455
|
"root" => 'fix',
|
456
|
"some_value" => "Hawat",
|
457
|
"static" => 'fix',
|
458
|
"stats_dir" => "/var/mentat/reports/statistician",
|
459
|
};
|
460
|
$a->{"authorization"} = \${$a->{"authentication"}};
|
461
|
$a->{"root"} = $a->{"Plugin::Static::Simple"}{include_path}[0];
|
462
|
$a->{"static"} = $a->{"Plugin::Static::Simple"};
|
463
|
$a;
|
464
|
}</pre>
|
465
|
</div>
|
466
|
|
467
|
<h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_4'); return false">Session ID</a></h2>
|
468
|
<div id="dump_4">
|
469
|
<pre wrap="">"21f2fe116dcd267d3898eb63b55351c3ea495934"</pre>
|
470
|
</div>
|
471
|
|
472
|
<h2><a href="https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255#" onclick="toggleDump('dump_5'); return false">Session</a></h2>
|
473
|
<div id="dump_5">
|
474
|
<pre wrap="">do {
|
475
|
my $a = {
|
476
|
__created => 1395482950,
|
477
|
__updated => 1395483271,
|
478
|
__user => bless({
|
479
|
_id => "ph\@cesnet.cz",
|
480
|
auth_realm => "ssl_client",
|
481
|
groups => [
|
482
|
bless({
|
483
|
client => bless({
|
484
|
_servers => {},
|
485
|
auto_connect => 1,
|
486
|
auto_reconnect => 1,
|
487
|
db_name => "admin",
|
488
|
dt_type => "DateTime",
|
489
|
find_master => 0,
|
490
|
host => "mongodb://localhost:27017",
|
491
|
inflate_dbrefs => 1,
|
492
|
j => 0,
|
493
|
max_bson_size => 16777216,
|
494
|
port => 27017,
|
495
|
query_timeout => 800000,
|
496
|
sasl => 0,
|
497
|
sasl_mechanism => "GSSAPI",
|
498
|
ssl => 0,
|
499
|
timeout => 20000,
|
500
|
ts => 0,
|
501
|
w => 1,
|
502
|
wtimeout => 1000,
|
503
|
}, "MongoDB::MongoClient"),
|
504
|
db => "mentat",
|
505
|
id => "certs",
|
506
|
ref => "groups",
|
507
|
verify_coll => 1,
|
508
|
verify_db => 1,
|
509
|
}, "MongoDB::DBRef"),
|
510
|
bless({
|
511
|
client => 'fix',
|
512
|
db => "mentat",
|
513
|
id => "abuse\@cesnet.cz",
|
514
|
ref => "groups",
|
515
|
verify_coll => 1,
|
516
|
verify_db => 1,
|
517
|
}, "MongoDB::DBRef"),
|
518
|
],
|
519
|
id => undef,
|
520
|
name => "Pavel Kacha",
|
521
|
organization => "CESNET",
|
522
|
query => [
|
523
|
{
|
524
|
classification => "(D)DoS",
|
525
|
datefrom => "",
|
526
|
dateto => "",
|
527
|
detector => "",
|
528
|
id => "DDoS",
|
529
|
ipdst => "",
|
530
|
ipor => "FALSE",
|
531
|
ipsrc => "",
|
532
|
query => "( Alert/Classification/\@text EQ \"(D)DoS\" )",
|
533
|
simple => 1,
|
534
|
},
|
535
|
],
|
536
|
roles => ["admin", "user"],
|
537
|
}, "Catalyst::Authentication::User::Hash"),
|
538
|
__user_realm => "ssl_client",
|
539
|
bl_alerts => bless(do{\(my $o = "https://mentat.cesnet.cz/alerts/getAlertsData?datefrom=2014-03-21+00%3A00%3A00&ipsrc=61.160.201.25&page=0&simple=1&dateto=2014-03-22+00%3A00%3A00&ipdst=78.128.128.0-78.128.255.255")}, "URI::https"),
|
540
|
};
|
541
|
$a->{__user}{groups}[1]{client} = $a->{__user}{groups}[0]{client};
|
542
|
$a;
|
543
|
}</pre>
|
544
|
</div>
|
545
|
</div>
|
546
|
<div class="name"><h1>Hawat on Catalyst 5.90015</h1></div>
|
547
|
</div>
|
548
|
|
549
|
|
550
|
</body></html>
|