summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh
diff options
context:
space:
mode:
authorPatrice Buriez <patrice.buriez@intel.com>2019-07-05 14:19:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-07-05 14:19:07 +0000
commit36fdd91214ab495f634933f241ace985ef03e3a6 (patch)
tree0423cd2bf724f6b601ae6e33dfdb3bb002aa75a0 /VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh
parent19795c2fc3180e8a0dae4373d8be2f5c0656fc8c (diff)
parentd55e457cfc09e84c0a3fb8c32a21517c4388a131 (diff)
Merge changes from topic 'june_release'
* changes: Some fixes after code review Cosmetic change when printing warnings Multiple changes for June release
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh')
-rwxr-xr-xVNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh b/VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh
new file mode 100755
index 00000000..3c1a90ee
--- /dev/null
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/sharkproxlog.sh
@@ -0,0 +1,19 @@
+##
+## Copyright (c) 2010-2019 Intel Corporation
+##
+## Licensed under the Apache License, Version 2.0 (the "License");
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+## This code will help in using tshark to decode packets that were dumped
+## in the prox.log file as a result of dump, dump_tx or dump_rx commands
+
+egrep '^[0-9]{4}|^[0-9]+\.' prox.log | text2pcap -q - - | tshark -r -