aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fw1.c
diff options
context:
space:
mode:
authorAlfred Koebler <alfred.koebler@gmx.de>2018-06-19 00:58:46 +0200
committerAnders Broman <a.broman58@gmail.com>2018-06-19 04:59:38 +0000
commitf2ece6c0512bac66f6f09eb14ad7250d0226a023 (patch)
treeb6dc6d45b59b97f2b39f8d754c9a220e0ed81b7c /epan/dissectors/packet-fw1.c
parent23b09811b9e06e85cddae3822789583132aa2624 (diff)
CheckPoint FW-1 New encrypt check point added
Change-Id: I7c0a92eaa914a48a2ccdf77ba867f6673767a671 Reviewed-on: https://code.wireshark.org/review/28333 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-fw1.c')
-rw-r--r--epan/dissectors/packet-fw1.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/epan/dissectors/packet-fw1.c b/epan/dissectors/packet-fw1.c
index b1530c7b6b..459140e1df 100644
--- a/epan/dissectors/packet-fw1.c
+++ b/epan/dissectors/packet-fw1.c
@@ -1,10 +1,12 @@
/* packet-fw1.c
* Routines for Ethernet header disassembly of FW1 "monitor" files
* Copyright 2002,2003, Alfred Koebler <ako@icon.de>
+ * Copyright 2018, Alfred Koebler <Alfred.Koebler2002ATgmx.de>
*
* Wireshark - Network traffic analyzer
* By Alfred Koebler <ako@icon.de>
- * Copyright 2002,2003 Alfred Koebler
+ * By Alfred Koebler <Alfred.Koebler2002ATgmx.de>
+ * Copyright 2002,2003,2018 Alfred Koebler
*
* To use this dissector use the command line option
* -o eth.interpret_as_fw1_monitor:TRUE
@@ -21,6 +23,8 @@
* I incoming after the firewall
* o outcoming before the firewall
* O outcoming after the firewall
+ * e before VPN encryption
+ * E after VPN encryption
* - the name of the interface
*
* What's the problem ?
@@ -66,6 +70,9 @@
* NOTICE: First paket will have UUID == 0 !
*
* SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * 30.5.2018
+ * added inspection points "e" and "E"
*/
#include "config.h"
@@ -162,11 +169,11 @@ dissect_fw1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
for (i=0; i<interface_anzahl; i++) {
if ( strcmp(p_interfaces[i], interface_name) == 0 ) {
wmem_strbuf_append_printf(header, " %c%c %s %c%c",
- direction == 'i' ? 'i' : (direction == 'O' ? 'O' : ' '),
- (direction == 'i' || direction == 'O') ? chain : ' ',
+ direction == 'i' ? 'i' : (direction == 'O' ? 'O' : (direction == 'E' ? 'E' : ' ') ),
+ (direction == 'i' || direction == 'O' || direction == 'E') ? chain : ' ',
p_interfaces[i],
- direction == 'I' ? 'I' : (direction == 'o' ? 'o' : ' '),
- (direction == 'I' || direction == 'o') ? chain : ' '
+ direction == 'I' ? 'I' : (direction == 'o' ? 'o' : (direction == 'e' ? 'e' : ' ') ),
+ (direction == 'I' || direction == 'o' || direction == 'e') ? chain : ' '
);
} else {
wmem_strbuf_append_printf(header, " %s ", p_interfaces[i]);