diff options
author | Moshe Kaplan <me@moshekaplan.com> | 2018-01-14 20:19:06 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-02-07 05:37:51 +0000 |
commit | cd8c73a35591d409b3efaba648584418bc8bb540 (patch) | |
tree | 80947dfdfe2ddbe3ab70900e7d92efe45efaac3c /ui | |
parent | 71844ed50a35d8bfb03e10061846f726d7f9af9e (diff) |
Generate HTTP Referer statistics
The main benefit of this feature is that it enables users to see the
succession of HTTP requests that led to a specific request.
A sample PCAP is available here:
https://bugs.wireshark.org/bugzilla/attachment.cgi?id=16085
Change-Id: I7c521315b848fbce659fdc01e43f261d804a3a48
Reviewed-on: https://code.wireshark.org/review/25319
Reviewed-by: Moshe Kaplan <me@moshekaplan.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/main_window.h | 1 | ||||
-rw-r--r-- | ui/qt/main_window.ui | 9 | ||||
-rw-r--r-- | ui/qt/main_window_slots.cpp | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index a8ee4d4883..043309c68a 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -612,6 +612,7 @@ private slots: void on_actionStatisticsHTTPPacketCounter_triggered(); void on_actionStatisticsHTTPRequests_triggered(); void on_actionStatisticsHTTPLoadDistribution_triggered(); + void on_actionStatisticsHTTPReferers_triggered(); void on_actionStatisticsPacketLengths_triggered(); void statCommandIOGraph(const char *, void *); void on_actionStatisticsIOGraph_triggered(); diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui index 2d54b578ae..28e3c929a2 100644 --- a/ui/qt/main_window.ui +++ b/ui/qt/main_window.ui @@ -484,6 +484,7 @@ <addaction name="actionStatisticsHTTPPacketCounter"/> <addaction name="actionStatisticsHTTPRequests"/> <addaction name="actionStatisticsHTTPLoadDistribution"/> + <addaction name="actionStatisticsHTTPReferers"/> </widget> <widget class="QMenu" name="menu29West"> <property name="title"> @@ -1941,6 +1942,14 @@ <string>HTTP load distribution</string> </property> </action> + <action name="actionStatisticsHTTPReferers"> + <property name="text"> + <string>Referers</string> + </property> + <property name="toolTip"> + <string>HTTP referers</string> + </property> + </action> <action name="actionStatisticsPacketLengths"> <property name="text"> <string>Packet Lengths</string> diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index fe001cf35b..5b5dbc4ead 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -3310,6 +3310,11 @@ void MainWindow::on_actionStatisticsHTTPLoadDistribution_triggered() openStatisticsTreeDialog("http_srv"); } +void MainWindow::on_actionStatisticsHTTPReferers_triggered() +{ + openStatisticsTreeDialog("http_ref"); +} + void MainWindow::on_actionStatisticsPacketLengths_triggered() { openStatisticsTreeDialog("plen"); |