wireshark/debian
Guy Harris d0270415a9 editcap, tshark: process IDBs in the middle of input files.
Instead of grabbing the set of IDBs found at open time, have a loop
using wtap_get_next_interface_description() to read all unread IDBs run
after opening the input file, after reading a packet from the input
file, and after getting an EOF on the input file.

Add a routine wtap_uses_interface_ids() to check whether the file type
and subtype for a dump file uses interface IDs and requires IDBs.  If
so, in the aforementioned loop, add the IDBs to the dump stream.

Add a routine wtap_dump_add_idb() to add IDBs to a dump stream.  Have it
call a file-format-specific routine to add the IDBs; the only file type
that supports it is pcapng, and it 1) writes out the IDB and 2) adds it
to the set of IDBs for the stream.

Add a wtap_dump_params_init_no_idbs() routine that prevents the IDBs
from the input file from being used to initialize the output file; use
it in cases where we're using the aforementioned loop to copy over IDBs.

Don't require any IDBs to be present when opening a pcapng file for
writing; 1) the simplest pcapng file has just an SHB in it, 2) that
requirement causes dumps that don't provide IDBs at open time to fail,
and 3) the real issue is that we don't want packets with an interface ID
not corresponding to a known IDB, and we already have a check for that.

(There are some hacks here; eventually, when everything processes the
IDBs in such a loop, we may be able to get rid of the "two favors of
dump parameter initialization" hack.)

Fixes #15844.

Addresses the same issue in #15502, but there are other issues there
that also need to be addressed.

In addition, the merge code also needs to be changed to handle this.
2020-10-22 02:58:07 -07:00
..
patches HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
po [Automatic update for 2019-12-01] 2019-12-01 08:20:14 +00:00
source
tests debian: Add autopkgtest for testing starting GUI and CLI 2019-07-24 09:40:55 +00:00
README.Debian Clean up URLs. 2020-10-02 20:13:42 -07:00
README.Debian.security
changelog Version: 3.3.1 → 3.3.2. 2020-10-01 12:18:35 -07:00
compat
control Debian+RPM: Require QtSVG. 2020-02-11 01:43:33 +00:00
copyright HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
dirs
ethereal-common.NEWS HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
headers-check.c
libwireshark-data.install
libwireshark-dev.install
libwireshark0.install debian: Ship codecs libraries in libwireshark0 2020-03-15 16:55:31 +00:00
libwireshark0.lintian-overrides
libwireshark0.symbols Use iconv to support GB 18030 and EUC-KR, allow future encodings 2020-10-21 11:26:23 +00:00
libwiretap-dev.install
libwiretap0.docs
libwiretap0.install
libwiretap0.symbols editcap, tshark: process IDBs in the middle of input files. 2020-10-22 02:58:07 -07:00
libwsutil-dev.install
libwsutil0.install
libwsutil0.symbols Add ws_strtoi() and ws_strtoui() routines and use them. 2020-02-25 08:27:52 +00:00
license-text-about-dialog debian: remove double spaces. 2020-01-07 12:45:00 +00:00
maxmind_db_paths
postinst
rules debian: speed up build by running asn1 and guides target in parallel 2020-03-12 06:45:56 +00:00
templates
tshark.docs
tshark.install
tshark.lintian-overrides
tshark.manpages
wireshark-common.config
wireshark-common.install Fix up the lists of binaries and man pages in dpkgs. 2019-01-11 23:20:24 +00:00
wireshark-common.lintian-overrides debian/control: fix minor Lintian warnings related to Priority, etc. 2019-06-21 16:59:14 +00:00
wireshark-common.manpages Fix up the lists of binaries and man pages in dpkgs. 2019-01-11 23:20:24 +00:00
wireshark-common.postinst debian: Fix permission change in case of local diversions 2019-07-24 09:40:35 +00:00
wireshark-common.postrm debian/control: fix minor Lintian warnings related to Priority, etc. 2019-06-21 16:59:14 +00:00
wireshark-dev.docs
wireshark-dev.install
wireshark-dev.manpages
wireshark-dev.prerm
wireshark-doc.docs
wireshark-qt.docs
wireshark-qt.install
wireshark-qt.lintian-overrides
wireshark-qt.manpages

README.Debian.security

 Handling security fixes in source package wireshark

Wireshark is a network protocol analyzer and it's ability to perform deep
packet inspection in live traffic may encourage users to use Wireshark/Tshark
as a part of an intrusion detection or traffic monitoring system.
In that case, please note that Wireshark/Tshark may contain remotely
triggerable bugs causing crashes or allowing code injection.

Bugs allowing code injection will be fixed in regular Debian Security
Advisories, but fixes for pure crash bugs may be delayed.

 -- Balint Reczey <balint@balintreczey.hu> Fri, 10 Jul 2009 15:38:33 +0200