"遵循TCP流"的快捷方式

时间:2016-03-02 12:17:52

标签: wireshark

在Wireshark中使用TCP流时,我曾经执行以下步骤:

Right click -> Follow TCP Stream

然后在新版本中变得更加棘手:

Right click -> Follow -> Follow TCP Stream

这引出了我的问题:

是否有更快捷的方式来实现此功能?

我似乎找不到在“分析”菜单或Wireshark manual下定义的键盘快捷键。

2 个答案:

答案 0 :(得分:1)

将此补丁与patch -p1 < follow-tcp-stream-f3.patch一起应用到Wireshark的源目录:

 ui/gtk/main_menubar.c | 2 +-
 ui/qt/main_window.ui  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ui/gtk/main_menubar.c b/ui/gtk/main_menubar.c
index 76bafd1..08d7615 100644
--- a/ui/gtk/main_menubar.c
+++ b/ui/gtk/main_menubar.c
@@ -1435 +1435 @@ static const GtkActionEntry main_menu_bar_entries[] = {
-   { "/Analyze/FollowTCPStream",                            NULL,       "Follow TCP Stream",                    NULL, NULL, G_CALLBACK(follow_tcp_stream_cb) },
+   { "/Analyze/FollowTCPStream",                            NULL,       "Follow TCP Stream",                    "F3", NULL, G_CALLBACK(follow_tcp_stream_cb) },
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui
index 667a3e2..6325616 100644
--- a/ui/qt/main_window.ui
+++ b/ui/qt/main_window.ui
@@ -1685,0 +1686,3 @@
+   <property name="shortcut">
+    <string>F3</string>
+   </property>
-- 
2.4.9 (Apple Git-60)

在构建Wireshark之​​后,您可以使用F3来跟踪TCP流。

答案 1 :(得分:0)

Wireshark中现在有一个默认的键盘快捷键。不知道何时添加它,但是它在我的版本(3.0.5)中可用。

Windows:

  

Ctrl + Alt + Shift + T