=== Split osmo-gbproxy from osmo-sgsn ===
Adjust the build system, packaging etc. to split osmo-gbproxy into its own git repository. Remove tests and configs that aren't related to osmo-gbproxy. Related: OS#4992
This commit is contained in:
parent
3c75624e1e
commit
29532c2a06
|
@ -39,10 +39,7 @@ ltmain.sh
|
||||||
|
|
||||||
|
|
||||||
# apps and app data
|
# apps and app data
|
||||||
src/sgsn/osmo-sgsn
|
src/osmo-gbproxy
|
||||||
src/gbproxy/osmo-gbproxy
|
|
||||||
src/gtphub/osmo-gtphub
|
|
||||||
src/libcommon/gsup_test_client
|
|
||||||
|
|
||||||
#tests
|
#tests
|
||||||
tests/testsuite.dir
|
tests/testsuite.dir
|
||||||
|
@ -70,4 +67,11 @@ doc/manuals/osmomsc-usermanual.xml
|
||||||
doc/manuals/common
|
doc/manuals/common
|
||||||
doc/manuals/build
|
doc/manuals/build
|
||||||
|
|
||||||
contrib/osmo-sgsn.spec
|
contrib/osmo-gbproxy.spec
|
||||||
|
|
||||||
|
# dpkg-buildpackage
|
||||||
|
/debian/.debhelper/
|
||||||
|
/debian/autoreconf.after
|
||||||
|
/debian/autoreconf.before
|
||||||
|
/debian/osmo-gbproxy
|
||||||
|
/debian/tmp/
|
||||||
|
|
|
@ -19,7 +19,7 @@ SUBDIRS = \
|
||||||
BUILT_SOURCES = $(top_srcdir)/.version
|
BUILT_SOURCES = $(top_srcdir)/.version
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
.version \
|
.version \
|
||||||
contrib/osmo-sgsn.spec.in \
|
contrib/osmo-gbproxy.spec.in \
|
||||||
debian \
|
debian \
|
||||||
git-version-gen \
|
git-version-gen \
|
||||||
osmoappdesc.py \
|
osmoappdesc.py \
|
||||||
|
|
37
configure.ac
37
configure.ac
|
@ -1,5 +1,5 @@
|
||||||
dnl Process this file with autoconf to produce a configure script
|
dnl Process this file with autoconf to produce a configure script
|
||||||
AC_INIT([osmo-sgsn],
|
AC_INIT([osmo-gbproxy],
|
||||||
m4_esyscmd([./git-version-gen .tarball-version]),
|
m4_esyscmd([./git-version-gen .tarball-version]),
|
||||||
[osmocom-net-gprs@lists.osmocom.org])
|
[osmocom-net-gprs@lists.osmocom.org])
|
||||||
|
|
||||||
|
@ -51,29 +51,10 @@ AC_SUBST(LIBRARY_DLSYM)
|
||||||
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
|
||||||
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
|
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
|
PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 1.4.0)
|
PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 1.4.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.6.0)
|
|
||||||
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.4.0)
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOGSUPCLIENT, libosmo-gsup-client >= 1.0.0)
|
|
||||||
|
|
||||||
# Enable/disable 3G aka IuPS + IuCS support?
|
|
||||||
AC_ARG_ENABLE([iu], [AS_HELP_STRING([--enable-iu], [Build 3G support, aka IuPS and IuCS interfaces])],
|
|
||||||
[osmo_ac_iu="$enableval"],[osmo_ac_iu="no"])
|
|
||||||
if test "x$osmo_ac_iu" = "xyes" ; then
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 1.0.0)
|
|
||||||
PKG_CHECK_MODULES(LIBASN1C, libasn1c >= 0.9.30)
|
|
||||||
PKG_CHECK_MODULES(LIBOSMORANAP, libosmo-ranap >= 0.6.0)
|
|
||||||
AC_DEFINE(BUILD_IU, 1, [Define if we want to build IuPS and IuCS interfaces support])
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(BUILD_IU, test "x$osmo_ac_iu" = "xyes")
|
|
||||||
AC_SUBST(osmo_ac_iu)
|
|
||||||
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBGTP, libgtp >= 1.5.0)
|
|
||||||
PKG_CHECK_MODULES(LIBCARES, libcares)
|
|
||||||
|
|
||||||
dnl checks for header files
|
dnl checks for header files
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
@ -257,23 +238,11 @@ AC_OUTPUT(
|
||||||
include/osmocom/Makefile
|
include/osmocom/Makefile
|
||||||
include/osmocom/sgsn/Makefile
|
include/osmocom/sgsn/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/gprs/Makefile
|
|
||||||
src/sgsn/Makefile
|
|
||||||
src/gbproxy/Makefile
|
|
||||||
src/gtphub/Makefile
|
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
tests/atlocal
|
|
||||||
tests/gprs/Makefile
|
|
||||||
tests/sgsn/Makefile
|
|
||||||
tests/gtphub/Makefile
|
|
||||||
tests/xid/Makefile
|
|
||||||
tests/sndcp_xid/Makefile
|
|
||||||
tests/slhc/Makefile
|
|
||||||
tests/v42bis/Makefile
|
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/examples/Makefile
|
doc/examples/Makefile
|
||||||
doc/manuals/Makefile
|
doc/manuals/Makefile
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
contrib/systemd/Makefile
|
contrib/systemd/Makefile
|
||||||
contrib/osmo-sgsn.spec
|
contrib/osmo-gbproxy.spec
|
||||||
Makefile)
|
Makefile)
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
#
|
||||||
|
# spec file for package osmo-sgsn
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
## Disable LTO for now since it breaks compilation of the tests
|
||||||
|
## https://osmocom.org/issues/4116
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
|
Name: osmo-gbproxy
|
||||||
|
Version: @VERSION@
|
||||||
|
Release: 0
|
||||||
|
Summary: Osmocom GPRS Gb Interface Proxy
|
||||||
|
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
||||||
|
Group: Productivity/Telephony/Servers
|
||||||
|
URL: https://osmocom.org/projects/osmo-gbproxy
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: pkgconfig(libcrypto) >= 0.9.5
|
||||||
|
BuildRequires: pkgconfig(libosmocore) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(libosmoctrl) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(libosmogb) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(libosmogsm) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(libosmovty) >= 1.2.0
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
The purpose of the Gb proxy is to aggregate the Gb links of multiple
|
||||||
|
BSS's and present them in one Gb link to the SGSN.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
echo "%{version}" >.tarball-version
|
||||||
|
autoreconf -fi
|
||||||
|
%configure \
|
||||||
|
--docdir=%{_docdir}/%{name} \
|
||||||
|
--with-systemdsystemunitdir=%{_unitdir}
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%preun %service_del_preun %{name}.service
|
||||||
|
%postun %service_del_postun %{name}.service
|
||||||
|
%pre %service_add_pre %{name}.service
|
||||||
|
%post %service_add_post %{name}.service
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc AUTHORS README
|
||||||
|
%dir %{_docdir}/%{name}/examples
|
||||||
|
%dir %{_docdir}/%{name}/examples/osmo-sgsn
|
||||||
|
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-gbproxy.cfg
|
||||||
|
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-gbproxy-legacy.cfg
|
||||||
|
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-gbproxy-pool.cfg
|
||||||
|
%{_bindir}/osmo-gbproxy
|
||||||
|
%dir %{_sysconfdir}/osmocom
|
||||||
|
%config(noreplace) %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
|
||||||
|
%{_unitdir}/%{name}.service
|
||||||
|
|
||||||
|
%changelog
|
|
@ -1,140 +0,0 @@
|
||||||
#
|
|
||||||
# spec file for package osmo-sgsn
|
|
||||||
#
|
|
||||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
## Disable LTO for now since it breaks compilation of the tests
|
|
||||||
## https://osmocom.org/issues/4116
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
|
|
||||||
%define with_iu 1
|
|
||||||
Name: osmo-sgsn
|
|
||||||
Version: @VERSION@
|
|
||||||
Release: 0
|
|
||||||
Summary: Osmocom's SGSN for 2G and 3G packet-switched mobile networks
|
|
||||||
License: AGPL-3.0-or-later AND GPL-2.0-or-later
|
|
||||||
Group: Productivity/Telephony/Servers
|
|
||||||
URL: https://osmocom.org/projects/osmosgsn
|
|
||||||
Source: %{name}-%{version}.tar.xz
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(libcares)
|
|
||||||
BuildRequires: pkgconfig(libcrypto) >= 0.9.5
|
|
||||||
BuildRequires: pkgconfig(libgtp) >= 1.4.0
|
|
||||||
BuildRequires: pkgconfig(libosmo-gsup-client) >= 1.0.0
|
|
||||||
BuildRequires: pkgconfig(libosmo-netif) >= 0.4.0
|
|
||||||
BuildRequires: pkgconfig(libosmoabis) >= 0.6.0
|
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 1.2.0
|
|
||||||
BuildRequires: pkgconfig(libosmoctrl) >= 1.2.0
|
|
||||||
BuildRequires: pkgconfig(libosmogb) >= 1.2.0
|
|
||||||
BuildRequires: pkgconfig(libosmogsm) >= 1.2.0
|
|
||||||
BuildRequires: pkgconfig(libosmovty) >= 1.2.0
|
|
||||||
%{?systemd_requires}
|
|
||||||
%if %{with_iu}
|
|
||||||
BuildRequires: pkgconfig(libasn1c)
|
|
||||||
BuildRequires: pkgconfig(libosmo-ranap) >= 0.4.0
|
|
||||||
BuildRequires: pkgconfig(libosmo-sigtran) >= 1.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
|
||||||
OsmoSGSN is Osmocom's Serving GPRS Support Node for 2G and 3G
|
|
||||||
packet-switched mobile networks.
|
|
||||||
|
|
||||||
%package -n osmo-gtphub
|
|
||||||
Summary: Osmocom GTP Hub: Proxy for GTP traffic between multiple SGSNs and GGSNs
|
|
||||||
Group: Productivity/Telephony/Servers
|
|
||||||
|
|
||||||
%description -n osmo-gtphub
|
|
||||||
Osmocom GTP Hub: Proxy for GTP traffic between multiple SGSNs and GGSNs.
|
|
||||||
|
|
||||||
%package -n osmo-gbproxy
|
|
||||||
Summary: Osmocom GPRS Gb Interface Proxy
|
|
||||||
Group: Productivity/Telephony/Servers
|
|
||||||
|
|
||||||
%description -n osmo-gbproxy
|
|
||||||
The purpose of the Gb proxy is to aggregate the Gb links of multiple
|
|
||||||
BSS's and present them in one Gb link to the SGSN.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
|
||||||
|
|
||||||
%build
|
|
||||||
echo "%{version}" >.tarball-version
|
|
||||||
autoreconf -fi
|
|
||||||
%configure \
|
|
||||||
%if %{with_iu}
|
|
||||||
--enable-iu \
|
|
||||||
%endif
|
|
||||||
--docdir=%{_docdir}/%{name} \
|
|
||||||
--with-systemdsystemunitdir=%{_unitdir}
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
%preun %service_del_preun %{name}.service
|
|
||||||
%postun %service_del_postun %{name}.service
|
|
||||||
%pre %service_add_pre %{name}.service
|
|
||||||
%post %service_add_post %{name}.service
|
|
||||||
%preun -n osmo-gtphub %service_del_preun osmo-gtphub.service
|
|
||||||
%postun -n osmo-gtphub %service_del_postun osmo-gtphub.service
|
|
||||||
%pre -n osmo-gtphub %service_add_pre osmo-gtphub.service
|
|
||||||
%post -n osmo-gtphub %service_add_post osmo-gtphub.service
|
|
||||||
%preun -n osmo-gbproxy %service_del_preun osmo-gbproxy.service
|
|
||||||
%postun -n osmo-gbproxy %service_del_postun osmo-gbproxy.service
|
|
||||||
%pre -n osmo-gbproxy %service_add_pre osmo-gbproxy.service
|
|
||||||
%post -n osmo-gbproxy %service_add_post osmo-gbproxy.service
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
|
||||||
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc AUTHORS README
|
|
||||||
%dir %{_docdir}/%{name}/examples
|
|
||||||
%dir %{_docdir}/%{name}/examples/osmo-sgsn
|
|
||||||
%exclude %{_docdir}/%{name}/examples/osmo-gtphub
|
|
||||||
%exclude %{_docdir}/%{name}/examples/osmo-gbproxy
|
|
||||||
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg
|
|
||||||
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn.cfg
|
|
||||||
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn_custom-sccp.cfg
|
|
||||||
%{_bindir}/osmo-sgsn
|
|
||||||
%dir %{_sysconfdir}/osmocom
|
|
||||||
%config(noreplace) %{_sysconfdir}/osmocom/osmo-sgsn.cfg
|
|
||||||
%{_unitdir}/%{name}.service
|
|
||||||
|
|
||||||
%files -n osmo-gtphub
|
|
||||||
%dir %{_docdir}/%{name}/examples
|
|
||||||
%dir %{_docdir}/%{name}/examples/osmo-gtphub
|
|
||||||
%{_docdir}/%{name}/examples/osmo-gtphub/osmo-gtphub-1iface.cfg
|
|
||||||
%{_docdir}/%{name}/examples/osmo-gtphub/osmo-gtphub.cfg
|
|
||||||
%{_bindir}/osmo-gtphub
|
|
||||||
%dir %{_sysconfdir}/osmocom
|
|
||||||
%config(noreplace) %{_sysconfdir}/osmocom/osmo-gtphub.cfg
|
|
||||||
%{_unitdir}/osmo-gtphub.service
|
|
||||||
|
|
||||||
%files -n osmo-gbproxy
|
|
||||||
%dir %{_docdir}/%{name}/examples
|
|
||||||
%dir %{_docdir}/%{name}/examples/osmo-gbproxy
|
|
||||||
%{_docdir}/%{name}/examples/osmo-gbproxy/osmo-gbproxy.cfg
|
|
||||||
%{_bindir}/osmo-gbproxy
|
|
||||||
%dir %{_sysconfdir}/osmocom
|
|
||||||
%config(noreplace) %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
|
|
||||||
%{_unitdir}/osmo-gbproxy.service
|
|
||||||
|
|
||||||
%changelog
|
|
|
@ -1,13 +1,11 @@
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
osmo-gbproxy.service \
|
osmo-gbproxy.service \
|
||||||
osmo-gtphub.service \
|
$(NULL)
|
||||||
osmo-sgsn.service
|
|
||||||
|
|
||||||
if HAVE_SYSTEMD
|
if HAVE_SYSTEMD
|
||||||
SYSTEMD_SERVICES = \
|
SYSTEMD_SERVICES = \
|
||||||
osmo-gbproxy.service \
|
osmo-gbproxy.service \
|
||||||
osmo-gtphub.service \
|
$(NULL)
|
||||||
osmo-sgsn.service
|
|
||||||
|
|
||||||
systemdsystemunit_DATA = $(SYSTEMD_SERVICES)
|
systemdsystemunit_DATA = $(SYSTEMD_SERVICES)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Osmocom GTP Hub
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/osmo-gtphub -c /etc/osmocom/osmo-gtphub.cfg
|
|
||||||
Restart=always
|
|
||||||
RestartSec=2
|
|
||||||
RestartPreventExitStatus=1
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Osmocom SGSN (Serving GPRS Support Node)
|
|
||||||
Wants=osmo-hlr.service
|
|
||||||
After=osmo-hlr.service
|
|
||||||
After=osmo-hnbgw.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
Restart=always
|
|
||||||
ExecStart=/usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg
|
|
||||||
RestartSec=2
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,449 +1,213 @@
|
||||||
osmo-sgsn (1.6.0) unstable; urgency=medium
|
osmo-gbproxy (1.6.0) unstable; urgency=medium
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
[ Neels Hofmeyr ]
|
||||||
* gprs_gmm: Introduce macros to access msgb's associated IU UE ctx
|
* manual: explain IuPS, add SCCP/M3UA section from common chapters
|
||||||
* gprs_llc.h: Improve documentation of some structs
|
|
||||||
* gprs_gmm.c: Improve doc on nullable parameters
|
|
||||||
* gprs_gmm.c: Drop unneeded brackets
|
|
||||||
* Introduce define TLLI_UNASSIGNED
|
|
||||||
* gprs_sgsn.c: Warn upon llme free unexpected scenarios
|
|
||||||
* gprs_gmm: Clarify comment during TLLI assignment
|
|
||||||
* gprs_sgsn.c: Remove recently introduced assert
|
|
||||||
* gprs_gmm: Introduce assert to guard against unexpected condition
|
|
||||||
* gprs_gmm.c: Use correct function to set MM_IDLE state during cleanup
|
|
||||||
* gprs_sgsn.h: Flag MM_CTX_T_GERAN_Iu as not supported
|
|
||||||
* gprs_gmm.c: Flag mmctx_set_(p)mm_state() functions static
|
|
||||||
* sgsn: use sccp_simple_client API to setup ss7 id 0 instead of 1
|
|
||||||
* gprs_gmm.c: Fix typo in log message
|
|
||||||
* gprs_gmm.c: Call mmctx_set_(p)mm_state only on related ran_type
|
|
||||||
* Introduce and use log macros when no mm ctx available
|
|
||||||
* gprs_gmm: Avoid spaces in fsm events and enum strings
|
|
||||||
* tests: Verify that timers can be set over VTY
|
|
||||||
* Replace own timer infra with libosmocore osmo_tdef
|
|
||||||
* tests: Introduce vty-transcript-test tests
|
|
||||||
* gprs_gmm.c: Use osmo_rai_name() in log line
|
|
||||||
* examples: Add osmo-sgsn_custom-sccp.cfg
|
|
||||||
* vty: Introduce cs7-instance-iu
|
|
||||||
* gprs_gmm.c: Print value_string of reject cause
|
|
||||||
* gprs_gmm.c: Add spec document to function documentation
|
|
||||||
* gtp: make echo_interval unsigned
|
|
||||||
* gtp: cb_delete_context(): Clarify why pdp->lib is set to NULL
|
|
||||||
* Introduce log helper LOGGGSN and log category DGTP
|
|
||||||
* sgsn: gtp: Drop related pdp contexts on echo timeout against GGSN
|
|
||||||
* Move lots of Iu/ranap specific code into its own file
|
|
||||||
* Move llc->MM/SM Gb specific glue code to its own file
|
|
||||||
* Split enum gprs_pmm_state into Iu and Gb counterparts
|
|
||||||
* Merge common allocation steps for Gb and Iu ctx
|
|
||||||
* gprs_gmm.c: Replace inet_ntoa with inet_ntop
|
|
||||||
* sgsn_cdr.c: Fix ip addr string buffer size
|
|
||||||
* sgsn_vty: Fix mmctx rate_ctr output indentation
|
|
||||||
* sgsn_vty: Print correct Iu mmctx id in 'show mm-context'
|
|
||||||
* Introduce FSM mm_state_gb_fsm
|
|
||||||
* Introduce FSM mm_state_iu_fsm
|
|
||||||
* vty: Print MM state and RAN type in show mm-context
|
|
||||||
* src/gprs/Makefile.am: Move build of shared .c files to an internal lib
|
|
||||||
* Move out gbproxy to its own subdir
|
|
||||||
* Move out gtphub to its own subdir
|
|
||||||
* Move out sgsn to its own subdir
|
|
||||||
* gmm: Move code handling GMM Attach Complete to its own function
|
|
||||||
* gmm: Move code handling GMM Routing Area Update Complete to its own function
|
|
||||||
* gmm: Move code handling GMM PTMSI Realloc Complete to its own function
|
|
||||||
* enum gprs_gmm_state: Fix spec reference
|
|
||||||
* Implement GMM State using osmocom FSM
|
|
||||||
* Split out GPRS SM layer into its own file
|
|
||||||
* sgsn: Reject PdpActReq if no GTP pdp ctx exists
|
|
||||||
* Introduce TODO-RELEASE file
|
|
||||||
* sgsn_libgtp.c: Drop use of deprecated libgtp APIs gtp_retrans*()
|
|
||||||
* gmm: Fix assertion hit during RA UPD REQ before completting gmm attach
|
|
||||||
* Improve logging in gprs_llc.c code
|
|
||||||
* gprs_llc.c: Use enum instead of hardcoded value
|
|
||||||
* gprs_gmm.c: Send XID reset with received TLLI
|
|
||||||
|
|
||||||
[ Alexander Couzens ]
|
[ Eric ]
|
||||||
* gprs/gprs_gmm: implement T3314. Timeout to reset MM state READY->STANDBY
|
* tests: dlopen does not imply availability of dlsym..
|
||||||
* gprs_gmm: only update gb/iu cell information when Iu/Gb present
|
* configure.ac: fix libtool issue with clang and sanitizer
|
||||||
* gprs_gmm: clarify comment of Iu follow-on request
|
|
||||||
* gprs_gmm: gsm48_rx_gmm_att_req(): refactor duplicated code
|
|
||||||
* sgsn_pdp_ctx_terminate: check llme before accessing
|
|
||||||
* gprs_ranap: send CommonId after receiving Security Mode Complete
|
|
||||||
* mm_gb_fsm: unassign the llme when entering MM_IDLE
|
|
||||||
* gprs_ranap: refactor REQUIRE_MM define
|
|
||||||
* sgsn: when receiving data PDU notify the Gb GMM fsm
|
|
||||||
* Avoid compiling unneeded files when building without Iu
|
|
||||||
* gprs_ranap: release Iu UE Context when exiting PMM Connected
|
|
||||||
* Iu: implement a user inactivity timer
|
|
||||||
* gprs_ranap: on Iu release, stop the attach fsm if running
|
|
||||||
* gprs_mm_state_gb_fsm: ensure T3350 is not running when entering IDLE
|
|
||||||
* gprs_ranap: add missing rc = 0
|
|
||||||
* gprs_sgsn: always allocate Gb/Iu mm fsm
|
|
||||||
* sgsn: MM Gb Fsm: fix event handling for implicit detach
|
|
||||||
* ranap: add non-spec X1001
|
|
||||||
* gprs_gmm: release Iu connection on RAU failures
|
|
||||||
* sgsn_mm_ctx_alloc(): check for unallocated fsms
|
|
||||||
* sgsn_libgtp: refactor ps paging into gprs_gb
|
|
||||||
* sgsn: Gb: implementing PS Paging when MS is MM_STANDBY
|
|
||||||
|
|
||||||
[ Vadim Yanitskiy ]
|
|
||||||
* gprs_mm_state_iu_fsm.c: fix: assign timer_cb to mm_state_iu_fsm
|
|
||||||
|
|
||||||
[ Max ]
|
|
||||||
* Use libosmocore constant for IMSI length in ACL entry
|
|
||||||
|
|
||||||
[ Harald Welte ]
|
[ Harald Welte ]
|
||||||
* LLC: Don't use hard-coded N201-U / N201-I values in XID
|
* gtphub_test: Fix compilation with gcc-10
|
||||||
* Initial OsmoGbPROXY user manual
|
|
||||||
* check for osmo_fsm_register() error return values
|
|
||||||
* check for osmo_ss7_init() error return value
|
|
||||||
* manual: Fix copy+paste error
|
|
||||||
* exit(2) on unsupported positional arguments on command line
|
|
||||||
|
|
||||||
[ Oliver Smith ]
|
[ Oliver Smith ]
|
||||||
* gitignore: fix paths to binaries
|
* contrib: import RPM spec
|
||||||
* doc: add OsmoGbProxy VTY reference
|
* contrib: integrate RPM spec
|
||||||
* regen_doc.sh: support gbproxy, run without docker
|
* Makefile.am: EXTRA_DIST: debian, contrib/*.spec.in
|
||||||
* osmoappdesc.py, tests: switch to python 3
|
|
||||||
|
|
||||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Fri, 03 Jan 2020 19:17:56 +0100
|
[ Neels Hofmeyr ]
|
||||||
|
* gbproxy_test.c: fix mobile identity test data
|
||||||
osmo-sgsn (1.5.0) unstable; urgency=medium
|
* use new osmo_mobile_identity API everywhere
|
||||||
|
|
||||||
[ Max ]
|
|
||||||
* Improve 'show subscriber cache' vty command
|
|
||||||
* GMM: permit VLR_ANSWERED event in attach FSM
|
|
||||||
* Fix IMSI padding in imsi-acl
|
|
||||||
|
|
||||||
[ Harald Welte ]
|
[ Harald Welte ]
|
||||||
* gbproxy_test: Fix test expectations of gprs_ns_rcvmsg()
|
* *.spec.in: Use %config(noreplace) to retain current config file
|
||||||
* LLC XID: Fix string representation of N201_U
|
|
||||||
* LLC: Don't blindly assume all LLC frames have data payload
|
|
||||||
* LLC: Avoid NOTICE message on LLC NULL
|
|
||||||
* gprs_llc: Correctly refuse any ABM command (SABM, DISC) with DM
|
|
||||||
* LLC: Store the XID inside the LLC Entity, not LLC Mgmg Entity
|
|
||||||
* gb_proxy.h: Add missing comments; improve comments
|
|
||||||
* gb_proxy: cosmetic: Use 'bool' in data structures where applicable
|
|
||||||
|
|
||||||
[ efistokl ]
|
|
||||||
* gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.
|
|
||||||
* gprs_gmm: send Service Reject when no PDP ctxs are available.
|
|
||||||
|
|
||||||
[ Alexander Couzens ]
|
[ Alexander Couzens ]
|
||||||
* gprs_gmm: reintroduce calling gsm48_gmm_authorize when not handling GMM Attach Requests
|
* gtphub: rename sgsn's oww osmo_sockaddr into sgsn_sockaddr
|
||||||
* gbproxy: parse dtap GSM48_MT_GSM_DEACT_PDP_REQ|ACK
|
|
||||||
|
[ Vadim Yanitskiy ]
|
||||||
|
* debian/control: change maintainer to the Osmocom team / mailing list
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
[ Pau Espin Pedrol ]
|
||||||
* gprs_sndcp_comp_free: Replace ifelse with switch and better handling of error
|
* configure.ac: Fix trailing whitespace
|
||||||
* sgsn: vty: Improve log warning content with spec section
|
* doc: Update VTY reference xml file
|
||||||
* Document max retransmit times for T3395
|
* Support setting rt-prio and cpu-affinity mask through VTY
|
||||||
* sgsn: Fix echo timer not started upon first pdp ctx created
|
|
||||||
* sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated API
|
[ Daniel Willmann ]
|
||||||
* sgsn: Have authentication required on by default
|
* gbproxy-usermanual: Explain BSSGP/BVC handling
|
||||||
* Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds
|
|
||||||
* Require newer versions of dependencies
|
[ Alexander Couzens ]
|
||||||
|
* gtphub_test: fix compilation error on gcc 10.2.0
|
||||||
|
|
||||||
|
[ Pau Espin Pedrol ]
|
||||||
|
* contrib/jenkins: Enable parallel make in make distcheck
|
||||||
|
|
||||||
[ Keith ]
|
[ Keith ]
|
||||||
* Echo zero byte XID-Field of Type L3_PAR
|
* VTY: Add gtp state-dir command
|
||||||
|
|
||||||
[ Oliver Smith ]
|
[ Alexander Couzens ]
|
||||||
* debian: create -doc subpackage with pdf manuals
|
* Port gbproxy to NS2
|
||||||
* contrib/jenkins.sh: run "make maintainer-clean"
|
|
||||||
* osmo-gtphub.cfg: fix conflict with osmo-sgsn.cfg
|
[ Daniel Willmann ]
|
||||||
* osmo-gbproxy.cfg: fix conflict with osmo-sgsn.cfg
|
* gbproxy: Whitespace fixes
|
||||||
|
* gbproxy: Add todo for BVC RESET logic
|
||||||
|
* gbproxy: Get the peer if paging by BVCI on SIG_BVC
|
||||||
|
* Let libosmocore handle VTY parent node tracking
|
||||||
|
* osmo-gbproxy: Free msgb in ns2 prim callback
|
||||||
|
* configure.ac: Require python3 for ext_tests
|
||||||
|
* osmo-gbproxy: Implement nsvc-state ctrl command
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Properly implement paging to LAC/RAC
|
||||||
|
* gbproxy: Implement paging to entire BSS area
|
||||||
|
|
||||||
|
[ Pau Espin Pedrol ]
|
||||||
|
* gbproxy: generate coredump and exit upon SIGABRT received
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Pass TLLI as LSP towards NS to facilitate load sharing
|
||||||
|
* gb_proxy_peer: Add some FIXMEs regarding invalid assumptions
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Remove test testing NSVCI change
|
||||||
|
* gbproxy: Add NSE peer that can have multiple gbproxy_peers
|
||||||
|
* gbproxy: Ensure BVC0 is reset before handling PtP BVCs
|
||||||
|
* gbproxy: Only send paging to each matching NSE once
|
||||||
|
* gbproxy: Separate function to move gbproxy_peer to different nse
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gb_proxy: More precise + readable log messages
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Add logging macros for NSE and BVC
|
||||||
|
* gbproxy: Use LOG macros for NSE/BVC
|
||||||
|
* gbproxy: Change generic LOG messages so BVCI/NSEI fmt is consistent
|
||||||
|
* gbproxy: Add todos encountered while going through the code
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gb_proxy: Broadcast SGSN-INVOKE-TRACE and OVERLOAD
|
||||||
|
* gbproxy: Move BSS-side BVC-RESET processing to its own function
|
||||||
|
* gb_proxy: Slightly restructure processing of BSS-originated BVC-RESET
|
||||||
|
* gbproxy: Cosmetics: use longer lines
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Add BVC log filters
|
||||||
|
* gbproxy: Add newline to log message
|
||||||
|
* gbproxy: Allow gbproxy_nse_free(NULL)
|
||||||
|
* gbproxy: Delete gbproxy_nse in delete-gbproxy-peer VTY command
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Send BVC-STATUS if BSS sends us BVC-RESET without mandatory IEs
|
||||||
|
* gb_proxy: Use TLVP_PRES_LEN instead of TLVP_PRESENT
|
||||||
|
* gb_proxy: Rename gbproxy_peer to gbproxy_bvc
|
||||||
|
* gbproxy: Rename gbproxy_cfg.nses to gbproxy_cfg.bss_nses
|
||||||
|
* gbproxy: convert bss_nses from llist_head to hashtable
|
||||||
|
* gbproxy: convert nse->bvcs from llist_head to hashtable
|
||||||
|
* gbproxy: Remove patching, TLLI-tracking and SGSN2 support
|
||||||
|
* gb_proxy: cosmetic: Use function rather than open-coding is_sgsn
|
||||||
|
* gbproxy: Delete gbproxy_test
|
||||||
|
* gb_proxy: Introduce more validation / constraint checks
|
||||||
|
* gbproxy: use gbprox_relay2peer() whenever possible
|
||||||
|
* gb_proxy: Use osmo_tlv_prot_parse() to validate mandatory IEs
|
||||||
|
* gbproxy: Log FSM timeouts
|
||||||
|
* migrate to DLBSSGP as log sub-system for BSSGP
|
||||||
|
* gbproxy major rewrite for SGSN pool support
|
||||||
|
* gbproxy: Use "(nsei << 16) | bvci" as rate_ctr_group index
|
||||||
|
* gbproxy: Introduce new DOBJ log category; log object allocation/release
|
||||||
|
* gbproxy: Don't create an extra msgb copy for SGSN DL SIG
|
||||||
|
* gbproxy: Implement handling of BVC Flow Control
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Fix bvci check in gbprox_rx_ptp_from_*
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Copy RA-ID from BSS side BVC to CELL and SGSN-side BVC
|
||||||
|
* gbproxy: (Re)allocate SGSN-side PTP BVC even if CELL already exists
|
||||||
|
* gbproxy: Fix segfault when receiving PAGING for unknown destination
|
||||||
|
* gbproxy: Add FSM related VTY commands
|
||||||
|
* gbproxy: Implement scaling of BVC flow control in SGSN pool
|
||||||
|
* gbproxy: Improve VTY state introspection
|
||||||
|
* gbproxy: rename vty command "show gbproxy ..." to "show gbproxy bvc ..."
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* osmo-gbproxy: Initialize all hash_maps
|
||||||
|
* gbproxy: Fix confusing log message in gbprox_relay2nse
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Add "show gbproxy cell ..." VTY command
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Add SGSN NRI configuration
|
||||||
|
* gbproxy: Add SGSN pooling support
|
||||||
|
* gbproxy: Add comments to sgsn functions
|
||||||
|
|
||||||
|
[ Harald Welte ]
|
||||||
|
* gbproxy: Fix build on Deiban 8
|
||||||
|
|
||||||
|
[ Alexander Couzens ]
|
||||||
|
* sgsn: Use the new NS2 api
|
||||||
|
* gbproxy: use ns2 vty2
|
||||||
|
|
||||||
|
[ Daniel Willmann ]
|
||||||
|
* gbproxy: Add config option to name an SGSN
|
||||||
|
* gbproxy: Add VTY command to override the node selection function
|
||||||
|
|
||||||
[ Vadim Yanitskiy ]
|
[ Vadim Yanitskiy ]
|
||||||
* doc/manuals/vty: regenerate sgsn_vty_reference.xml
|
* gb_proxy_peer: sgsn can never be NULL in gbproxy_sgsn_by_nri()
|
||||||
* osmo-sgsn: add VTY parameter to toggle authentication
|
* gb_proxy_peer: fix NULL pointer dereference in gbproxy_sgsn_alloc()
|
||||||
* sgsn_mm_ctx_find_ggsn_ctx(): fix: always set gsm_cause
|
|
||||||
|
|
||||||
[ Eric Wild ]
|
|
||||||
* replace magic tmsi constant with define
|
|
||||||
* turn -Werror=null-dereference into a warning
|
|
||||||
|
|
||||||
[ Daniel Willmann ]
|
[ Daniel Willmann ]
|
||||||
* manuals: Add script to regenerate vty/counter documentation
|
* Fix gbproxy_sgsn_by_tlli wraparound
|
||||||
* manuals: Update vty/counter documentation
|
|
||||||
* Add/fix help string for version option
|
|
||||||
* osmo-sgsn: Fix outdated information in usermanual
|
|
||||||
* configuration.adoc: Small fixes
|
|
||||||
* configuration.adoc: Add a section about encryption
|
|
||||||
|
|
||||||
[ Ruben Undheim ]
|
|
||||||
* Spelling fixes
|
|
||||||
|
|
||||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Thu, 08 Aug 2019 16:46:31 +0200
|
|
||||||
|
|
||||||
osmo-sgsn (1.4.0) unstable; urgency=medium
|
|
||||||
|
|
||||||
[ Alexander Couzens ]
|
[ Alexander Couzens ]
|
||||||
* gprs_subscriber: gsup_auth_error: reject MS in all cases
|
* configure.ac: define a c standard instead of using the compilers default
|
||||||
* gprs_gmm: make functions relating to GMM Attach Request public
|
|
||||||
* gprs_gmm: make extract_subscr_msisdn extract_subscr_hlr public
|
|
||||||
* gprs_gmm: Cancel Location: use detach type IMSI
|
|
||||||
* vty: add cmd "reset sgsn state"
|
|
||||||
* tests: remove gmm unit tests
|
|
||||||
* gprs_gmm: introduce a GMM Attach Request FSM
|
|
||||||
* debian: add missing build dependencies
|
|
||||||
* sgsn: use gtp_clear_queues() when reset sgsn state
|
|
||||||
* vty: restart sgsn state: improve output message
|
|
||||||
* sgsn_ggsn_ctx_drop_pdp: protect against nullpointer when MM is gone
|
|
||||||
* gprs_sgsn.h: fix wrong type of re-attempts
|
|
||||||
* GTP: refactor the echo timer
|
|
||||||
* gprs_gmm: dont answer unknown IMSI/TMSI on Service Requests NET_FAIL
|
|
||||||
* gprs_gmm: Fix missing Security Command for 3G when attaching
|
|
||||||
* sgsn_libgtp: fix a potential memleak when the GGSN is not reachable
|
|
||||||
* gprs_llc: remove the FCS from the msgb by trim'ing the msgb
|
|
||||||
* OsmoSGSN: add rate counter documentation
|
|
||||||
|
|
||||||
[ Daniel Willmann ]
|
[ Daniel Willmann ]
|
||||||
* gb_proxy: tallocate memory for gbproxy cfg so it can be a talloc ctx
|
* gbproxy: Implement TLLI cache and use it for SUSPEND/RESUME
|
||||||
* gb_proxy: Add ctrl interface and nsvc-state, gbproxy-state commands
|
* gbproxy: Increase TLLI cache timeout to 10s
|
||||||
* git-version-gen: Don't check for .git directory
|
|
||||||
|
|
||||||
[ Stefan Sperling ]
|
|
||||||
* add a test for OS#3178 (invalid unitdata message)
|
|
||||||
* finish gbproxy_parse_bssgp_unitdata test
|
|
||||||
* fix bogus assertion in encode_comp_field()
|
|
||||||
* fix bogus error check in gprs_sndcp_comp_create()
|
|
||||||
* use enums consistently instead of falling back to int
|
|
||||||
* update gbproxy test expected output
|
|
||||||
* consistently check the result of osmo_shift_v_fixed()
|
|
||||||
* remove pointless declaration of struct gsm_network
|
|
||||||
* make gsup ipa name configurable in osmo-sgsn.cfg
|
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
|
||||||
* jenkins.sh: Use --enable-werror only when iu support is disabled
|
|
||||||
* jenkins.sh: Remove non-existent configure options
|
|
||||||
* Drop all references of unused SMPP
|
|
||||||
* Drop all references of unused MGCP
|
|
||||||
* Drop unused common_vty.c
|
|
||||||
* sgsn_libgtp.c: Log pointer of deleted context
|
|
||||||
* Maintain per ggsn pdp ctx list
|
|
||||||
* osmo-sgsn: ping GGSN periodically and check for restart counter
|
|
||||||
* Disarm T3395 when dettaching mmctx from pdpctx
|
|
||||||
* examples: Enable by default echo req towards active GGSNs
|
|
||||||
* vty: Add cmd to disable echo loop explictly
|
|
||||||
* Add optional TearDownInd IE in PDP DEACT REQ towards PCU
|
|
||||||
* sgsn: Don't attempt to delete GTP pdp ctx if GGSN was restarted
|
|
||||||
* Forward GGSN originated DEACT PDP CTX REQ
|
|
||||||
* sgsn: Fix T3395 firing forever
|
|
||||||
* sgsn: subscriber: Avoid calling memcpy with NULL src
|
|
||||||
* sgsn: cdr: Fix uninitialized string access if ggsn is detached
|
|
||||||
* sgsn: gtp: Use new API to send PDP DEL CTX REQ without freeing ctx locally
|
|
||||||
* sgsn: Fix crash using new libgtp cb_recovery2 API
|
|
||||||
* gbproxy: Replace '.' in counter names with ':'
|
|
||||||
* Drop gprs_msgb_copy with libosmocore replacement
|
|
||||||
* Drop gprs_msgb_resize_area with libosmocore replacement
|
|
||||||
* Use osmo_clock_gettime from libosmocore
|
|
||||||
* gbproxy: Add VTY parameter: link stored-msgs-max-length
|
|
||||||
* gbproxy: Add new VTY-managed timer: link-list clean-stale-timer
|
|
||||||
* gbproxy: Replace '.' in counter names with ':'
|
|
||||||
* Add osmo-gtphub systemd service file
|
|
||||||
* debian: Fix typo in rules preventing build with IU support
|
|
||||||
* Install systemd services with autotools
|
|
||||||
* Install sample cfg file to /etc/osmocom
|
|
||||||
* Update wrong references to bsc in sgsn code
|
|
||||||
* Allocate sgsn_instance with talloc
|
|
||||||
* gbproxy: flag gbproxy_assign_imsi as static
|
|
||||||
* gbproxy: Fix abort during APN patch
|
|
||||||
* gbproxy: Remove unneeded parse_ctx param
|
|
||||||
* gbproxy: flush_stored_messages: Move comment to func description
|
|
||||||
* gbproxy: flush_stored_messages: Log and route using stored_msg info
|
|
||||||
* gbproxy: flush_stored_messages: Get rid of msg param
|
|
||||||
* Allow easily disabling GFDL references
|
|
||||||
* OsmoSGSN: configuration: Move pdp ctx specific CDR fields to its own table
|
|
||||||
* OsmoSGSN: configuration: Add missing pdp-periodic event
|
|
||||||
* OsmoSGSN: configuration: Document CDR CTRL interface
|
|
||||||
* OsmoSGSN: overview: Fix typo and reference OpenGGSN->OsmoGGSN
|
|
||||||
|
|
||||||
[ Harald Welte ]
|
|
||||||
* migrate to oap_client in libosmogsm
|
|
||||||
* remove libcommon
|
|
||||||
* gbproxy-legacy: Ensure well-formed config file
|
|
||||||
* Remove local libgsupclient; Use libosmo-gsup-client from osmo-hlr
|
|
||||||
* initial checkin of manuals to public repo
|
|
||||||
* Add link to Asciidoc source code of manual
|
|
||||||
* OsmoSGSN: Fix formatting/cross reference in CDR section
|
|
||||||
* Update GSUP chapter regarding UMTS AKA and other recent changes
|
|
||||||
* GSUP: Add ladder diagrams for protocol transactions / procedures
|
|
||||||
* share chapters/gsup.adoc from OsmoSGSN to OsmoMSC + OsmoHLR
|
|
||||||
* vty-ref: Update URI of docbook 5.0 schema
|
|
||||||
|
|
||||||
[ Neels Hofmeyr ]
|
|
||||||
* use __FILE__, not __BASE_FILE__
|
|
||||||
* vty: fix doc str for 'reset sgsn state'
|
|
||||||
* vty: add SCCP related vty commands
|
|
||||||
* fix build: remove unused variable
|
|
||||||
* Importing history from osmo-gsm-manuals.git
|
|
||||||
* add 'make check' target
|
|
||||||
* fix 'make clean': shell glob, ignore failure
|
|
||||||
* refactor Makefile build rules, don't use the FORCE
|
|
||||||
* OsmoSGSN: update VTY reference
|
|
||||||
* sgsn: update vty reference
|
|
||||||
|
|
||||||
[ Oliver Smith ]
|
[ Oliver Smith ]
|
||||||
* gtphub: Add --version cmdline option
|
* contrib/jenkins: don't build osmo-gsm-manuals
|
||||||
* build manuals moved here from osmo-gsm-manuals.git
|
|
||||||
* Fix DISTCHECK_CONFIGURE_FLAGS override
|
|
||||||
* contrib/jenkins.sh: build and publish manuals
|
|
||||||
* contrib: fix makedistcheck with disabled systemd
|
|
||||||
|
|
||||||
[ Max ]
|
[ Daniel Willmann ]
|
||||||
* Cleanup non-existent files from debian/copyright
|
* gbproxy: Implement IMSI cache
|
||||||
* Use safer functions for IMSI ACL
|
* gbproxy: Use IMSI cache to handle PAGING_PS_REJECT
|
||||||
* gbproxy: fix formatting in gbproxy-state command
|
* gbproxy: Use C-style comments
|
||||||
* gbproxy: add number-of-peers ctrl command
|
* gbproxy: Move helper function to a more logical place
|
||||||
* Revert "gbproxy: fix formatting in gbproxy-state command"
|
* gbproxy: Remove unused variable assignment
|
||||||
* Add OsmoSGSN control interface description
|
* gbproxy: Fix VTY cmd name
|
||||||
* Remove misleading comment
|
* gbproxy: Define and use help string for gbproxy
|
||||||
* Constify sgsn_acl_lookup() parameter
|
* gbproxy: Add VTY commands to query the TLLI/IMSI cache
|
||||||
* Drop unused osmo-sgsn.pc
|
|
||||||
* Use explicit length check
|
|
||||||
* Use explicit parameter for sgsn_auth_init()
|
|
||||||
|
|
||||||
[ Jonathan Brielmaier ]
|
|
||||||
* fix various typos across all manuals
|
|
||||||
|
|
||||||
[ ikostov ]
|
|
||||||
* SGSN: add Auth. policy, NS Statistics and BSSGP state examples, tweaks
|
|
||||||
* GSUP, OAP: fix AUTS length to 14, not 16
|
|
||||||
|
|
||||||
[ Philipp Maier ]
|
|
||||||
* osmo-sgsn: Update VTY command reference
|
|
||||||
* osmo-sgsn: improve auth-policy explaination
|
|
||||||
* osmo-sgsn: Explain TCP/IP header compression
|
|
||||||
* osmo-sgsn: fix arrow tips in flow diagrams
|
|
||||||
|
|
||||||
[ Holger Hans Peter Freyther ]
|
|
||||||
* sgsn: Fix numbering of QoS and add basic description for APN
|
|
||||||
* sgsn: Add charging characteristics to GSUP
|
|
||||||
|
|
||||||
-- Harald Welte <laforge@gnumonks.org> Wed, 23 Jan 2019 18:32:41 +0100
|
|
||||||
|
|
||||||
osmo-sgsn (1.3.0) unstable; urgency=medium
|
|
||||||
|
|
||||||
[ Neels Hofmeyr ]
|
|
||||||
* drop osmo_sgsn.cfg from src/gprs dir
|
|
||||||
* change default config filename to osmo-sgsn.cfg, not osmo_sgsn.cfg
|
|
||||||
* vty: skip installing cmds now always installed by default
|
|
||||||
* add --enable-sanitize config option
|
|
||||||
* use default point-code as listed on Point_Codes wiki page
|
|
||||||
* gprs_gmm: segfault: gracefully handle failure to alloc context
|
|
||||||
* gsm48_rx_gmm_att_req: fix error handling: don't clean up NULL llme
|
|
||||||
* gprs_llc: tx dl ud: make mismatching LLE not crash osmo-sgsn
|
|
||||||
* fix build: missing LIBGTP_CFLAGS in sgsn_test
|
|
||||||
* sgsn_test: guard against struct gprs_ra_id changing
|
|
||||||
* vty: absorb command explanations from osmo-gsm-manuals
|
|
||||||
* configure: add --enable-werror
|
|
||||||
* implement support for 3-digit MNC with leading zeros
|
|
||||||
* osmo-gbproxy: use 'osmo-gbproxy.cfg' as default config name
|
|
||||||
* compiler warnings: use enum ranap_nsap_addr_enc, constify local var
|
|
||||||
* use osmo_init_logging2(), fix regression test memleaks
|
|
||||||
* auth+ciph: log is_r99 and auth types
|
|
||||||
* log two RA Update Request failure causes
|
|
||||||
* GERAN: allow GSM SRES on UMTS AKA challenge
|
|
||||||
|
|
||||||
[ Alexander Couzens ]
|
|
||||||
* .gitignore: remove unneeded ignores of bsc/msc/nitb files
|
|
||||||
* tests/ctrl_test_runner.py: remove BSC/NAT TestRunner
|
|
||||||
* debian: remove doublicated project name in example files
|
|
||||||
* .gitignore: remove non-existent /src/utils exludes
|
|
||||||
* configure.ac: remove pcap check
|
|
||||||
* configure.ac: remove unused libcdk check
|
|
||||||
* .service: remove OpenBSC from service desription
|
|
||||||
* mandatory depend on libc-ares and libgtp
|
|
||||||
* GMM: dont reply to GMM_DETACH_REQ with POWER OFF when MS is unknown
|
|
||||||
|
|
||||||
[ Harald Welte ]
|
[ Harald Welte ]
|
||||||
* Replace '.' in counter names with ':'
|
* gb_proxy: Don't use orphan log subsystem DPCU
|
||||||
* Add talloc context introspection via VTY
|
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
[ Daniel Willmann ]
|
||||||
* Replace '.' in counter names with ':'
|
* gbproxy: Use IMSI cache for PTP paging and implement DUMMY_PAGING_PS
|
||||||
* tests: Fix selection of python version
|
* gbproxy: Print the correct message type for dummy paging/paging reject
|
||||||
* sgsn_cdr: Split log formatting into a snprintf function
|
* gbproxy: Improve log messages in gbproxy_select_sgsn
|
||||||
* Add vty cmd 'cdr trap' to send CDR through CTRL iface
|
* gbproxy: Fix radio status routing by TMSI
|
||||||
* tests: sgsn_test: Define wrap APIs with correct parameters
|
|
||||||
* cosmetic: tests: sgsn_test: Use proper formatting and remove uneeded semicolons
|
|
||||||
* gprs_gmm: Remove unused variable
|
|
||||||
* cosmetic: gprs_gmm: Remove trailing whitespace
|
|
||||||
* gprs_gmm: Convert warning message to pragma message
|
|
||||||
* configure.ac: Enable Wall in CFLAGS
|
|
||||||
* .gitignore: Add m4 files
|
|
||||||
* sgsn_libgtp.c: Fix typos and whitespace
|
|
||||||
|
|
||||||
[ Max ]
|
|
||||||
* Fix display of GTP addresses
|
|
||||||
* Show GTP version for PDP context in vty
|
|
||||||
* Remove unneeded .py scripts
|
|
||||||
* Replace '.' in counter names with ':'
|
|
||||||
* Remove dead code
|
|
||||||
* Enable sanitize for CI tests
|
|
||||||
* cosmetic: use macro for gtphub plane iteration
|
|
||||||
* Use connection id when allocating rate counters
|
|
||||||
* Migrate from OpenSSL to osmo_get_rand_id()
|
|
||||||
* Remove obsolete ./configure option
|
|
||||||
* Fix RAI construction
|
|
||||||
* gtphub: make rate_ctr unique
|
|
||||||
* Remove unused bsc_version.c
|
|
||||||
* Use gsm48_encode_ra() for RAI encoding
|
|
||||||
* gtphub: check for gsn_addr_from_sockaddr() errors
|
|
||||||
* gtphub: check for gsn_addr_from_sockaddr() error
|
|
||||||
|
|
||||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Thu, 03 May 2018 19:01:44 +0200
|
|
||||||
|
|
||||||
osmo-sgsn (1.2.0) unstable; urgency=medium
|
|
||||||
|
|
||||||
[ Neels Hofmeyr ]
|
|
||||||
* jenkins: fix build: remove unused dependencies
|
|
||||||
* debian: fix osmo-sgsn.install, tweak VCS link and descriptions
|
|
||||||
* drop files unrelated to osmo-sgsn
|
|
||||||
* rewrite README
|
|
||||||
* configure.ac: set name to osmo-sgsn, fix ML addr
|
|
||||||
* move openbsc.pc to osmo-sgsn.pc
|
|
||||||
* move include/openbsc to include/osmocom/sgsn
|
|
||||||
* jenkins.sh: fix echo string to say osmo-sgsn, not msc
|
|
||||||
* jenkins: use osmo-clean-workspace.sh before and after build
|
|
||||||
|
|
||||||
[ Alexander Couzens ]
|
[ Alexander Couzens ]
|
||||||
* debian: fix paths of examples
|
* follow libosmocore/gprs_ns2 API changes of GPRS enums
|
||||||
* debian/rules: show testsuite.log when tests are failing
|
|
||||||
|
|
||||||
[ Max ]
|
|
||||||
* Remove rest_octets.h
|
|
||||||
* gbproxy: ensure peer allocation result
|
|
||||||
* jenkins: use osmo-ggsn for tests
|
|
||||||
* Cleanup configure checks
|
|
||||||
* Use extended logging for PDP contexts
|
|
||||||
* deb: fix copyright file issues
|
|
||||||
* Move P-TMSI alloc/update into separate function
|
|
||||||
* Check for correct P-TMSI allocation
|
|
||||||
* Use new FSF address in license header
|
|
||||||
* SGSN: uncomment BSSGP vty tests
|
|
||||||
* SGSN: print additional GTP-related info
|
|
||||||
* SGSN: check that GSN is created in proper mode
|
|
||||||
* Fix APN printing
|
|
||||||
* Fix build after recent rate_ctr patches
|
|
||||||
* gbproxy: don't link unnecessary
|
|
||||||
* Fix libosmo-sigtran dependency
|
|
||||||
* jenkins: check for IU properly
|
|
||||||
* Log GTP-U endpoints update
|
|
||||||
* Log address on GTP creation
|
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
|
||||||
* Remove unneeded dep libdbi
|
|
||||||
|
|
||||||
[ Philipp Maier ]
|
|
||||||
* log: fix default loglevels
|
|
||||||
* non-iu-build: guard vty libosmo-sigtran function calls.
|
|
||||||
* configure: fix libosmo-sigtran dependency
|
|
||||||
|
|
||||||
[ Harald Welte ]
|
[ Harald Welte ]
|
||||||
* Debian: Add systemd service files for osmo-sgsn and osmo-gbproxy
|
* gbproxy: Avoid depending on any of the SGSN code
|
||||||
* Debian: fix dh_strip rules for creating one -dbg per program
|
|
||||||
|
|
||||||
-- Harald Welte <laforge@gnumonks.org> Sat, 28 Oct 2017 19:07:48 +0200
|
[ Daniel Willmann ]
|
||||||
|
* manual/gbproxy: Update overview chapter
|
||||||
|
* Rename OsmoGbPROXY -> *Proxy
|
||||||
|
* manuals/gbproxy: Update configuration chapter
|
||||||
|
* manuals/gbproxy: Add osmo-bsc MSC pooling chapter from Neels as a base
|
||||||
|
* manuals/gbproxy: MSC -> SGSN for pooling chapter
|
||||||
|
* manuals/gbproxy: Move pooling to separate chapter
|
||||||
|
|
||||||
osmo-sgsn (0.1.0) unstable; urgency=low
|
[ Alexander Couzens ]
|
||||||
|
* gbproxy: follow gprs_ns2 API vty changes
|
||||||
|
* sgsn: migrate to the new gprs_ns2_vty configuration
|
||||||
|
* follow libosmocore/gprs_ns2 API changes (gprs_ns2_dynamic_create_nse)
|
||||||
|
|
||||||
* Initial release.
|
[ Oliver Smith ]
|
||||||
|
* === Split osmo-gbproxy from osmo-sgsn ===
|
||||||
|
|
||||||
-- Alexander Couzens <lynxis@fe80.eu> Tue, 08 Aug 2017 01:13:05 +0000
|
-- Oliver Smith <osmith@sysmocom.de> Fri, 29 Jan 2021 12:57:28 +0100
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Source: osmo-sgsn
|
Source: osmo-gbproxy
|
||||||
Section: net
|
Section: net
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
||||||
|
@ -12,46 +12,12 @@ Build-Depends: debhelper (>=9),
|
||||||
pkg-config,
|
pkg-config,
|
||||||
libtalloc-dev,
|
libtalloc-dev,
|
||||||
libc-ares-dev,
|
libc-ares-dev,
|
||||||
libgtp-dev (>= 1.5.0),
|
|
||||||
libosmocore-dev (>= 1.4.0),
|
libosmocore-dev (>= 1.4.0),
|
||||||
libosmo-abis-dev (>= 0.6.0),
|
|
||||||
libosmo-netif-dev (>= 0.4.0),
|
|
||||||
libosmo-gsup-client-dev (>= 1.0.0),
|
|
||||||
libasn1c-dev (>= 0.9.30),
|
|
||||||
libosmo-ranap-dev (>= 0.6.0),
|
|
||||||
libosmo-sigtran-dev (>= 1.0.0),
|
|
||||||
libosmo-sccp-dev (>= 1.0.0),
|
|
||||||
osmo-gsm-manuals-dev
|
osmo-gsm-manuals-dev
|
||||||
Standards-Version: 3.9.8
|
Standards-Version: 3.9.8
|
||||||
Vcs-Git: git://git.osmocom.org/osmo-sgsn.git
|
Vcs-Git: git://git.osmocom.org/osmo-gbproxy.git
|
||||||
Vcs-Browser: https://git.osmocom.org/osmo-sgsn
|
Vcs-Browser: https://git.osmocom.org/osmo-gbproxy
|
||||||
Homepage: https://projects.osmocom.org/projects/osmo-sgsn
|
Homepage: https://projects.osmocom.org/projects/osmo-gbproxy
|
||||||
|
|
||||||
|
|
||||||
Package: osmo-sgsn
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: foreign
|
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
|
||||||
Description: OsmoSGSN: Osmocom's Serving GPRS Support Node for 2G and 3G packet-switched mobile networks
|
|
||||||
|
|
||||||
Package: osmo-sgsn-dbg
|
|
||||||
Section: debug
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends: osmo-sgsn (= ${binary:Version}), ${misc:Depends}
|
|
||||||
Description: OsmoSGSN: Osmocom's Serving GPRS Support Node for 2G and 3G packet-switched mobile networks
|
|
||||||
|
|
||||||
Package: osmo-gtphub
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
|
||||||
Description: Osmocom GTP Hub: Proxy for GTP traffic between multiple SGSNs and GGSNs
|
|
||||||
|
|
||||||
Package: osmo-gtphub-dbg
|
|
||||||
Architecture: any
|
|
||||||
Section: debug
|
|
||||||
Priority: extra
|
|
||||||
Depends: osmo-gtphub (= ${binary:Version}), ${misc:Depends}
|
|
||||||
Description: Debug symbols for Osmocom GTP Hub
|
|
||||||
|
|
||||||
Package: osmo-gbproxy
|
Package: osmo-gbproxy
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
@ -69,7 +35,7 @@ Priority: extra
|
||||||
Depends: osmo-gbproxy (= ${binary:Version}), ${misc:Depends}
|
Depends: osmo-gbproxy (= ${binary:Version}), ${misc:Depends}
|
||||||
Description: Debug symbols for Osmocom GPRS Gb Interface Proxy
|
Description: Debug symbols for Osmocom GPRS Gb Interface Proxy
|
||||||
|
|
||||||
Package: osmo-sgsn-doc
|
Package: osmo-gbproxy-doc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Section: doc
|
Section: doc
|
||||||
Priority: optional
|
Priority: optional
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: osmo-sgsn
|
Upstream-Name: osmo-gbproxy
|
||||||
Source: git://git.osmocom.org/osmo-sgsn
|
Source: git://git.osmocom.org/osmo-gbproxy
|
||||||
|
|
||||||
Files: .gitignore
|
Files: .gitignore
|
||||||
.gitreview
|
.gitreview
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# FIXME: debian package doesn't generate manuals yet, see OS#4992
|
||||||
|
# usr/share/doc/osmo-gbproxy-doc/*.pdf
|
|
@ -1,4 +1,4 @@
|
||||||
etc/osmocom/osmo-gbproxy.cfg
|
etc/osmocom/osmo-gbproxy.cfg
|
||||||
lib/systemd/system/osmo-gbproxy.service
|
lib/systemd/system/osmo-gbproxy.service
|
||||||
usr/bin/osmo-gbproxy
|
usr/bin/osmo-gbproxy
|
||||||
usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy.cfg usr/share/doc/osmo-gbproxy/examples
|
etc/osmocom/osmo-gbproxy.cfg
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
CONFIG_FILE="/etc/osmocom/osmo-gtphub.cfg"
|
|
||||||
|
|
|
@ -1,150 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: osmo-gtphub
|
|
||||||
# Required-Start: $network $local_fs
|
|
||||||
# Required-Stop:
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: Osmocom GTP hub
|
|
||||||
# Description: Osmocom GTP hub
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
# Author: Neels Hofmeyr <nhofmeyr@sysmocom.de>
|
|
||||||
|
|
||||||
# PATH should only include /usr/* if it runs after the mountnfs.sh script
|
|
||||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
|
||||||
NAME=osmo-gtphub # Introduce the short server's name here
|
|
||||||
DESC="Osmocom GTP hub" # Introduce a short description here
|
|
||||||
DAEMON=/usr/bin/osmo-gtphub # Introduce the server's location here
|
|
||||||
SCRIPTNAME=/etc/init.d/osmo-gtphub
|
|
||||||
|
|
||||||
# Exit if the package is not installed
|
|
||||||
[ -x $DAEMON ] || exit 0
|
|
||||||
|
|
||||||
# Read configuration variable file if it is present
|
|
||||||
[ -r /etc/default/osmo-gtphub ] && . /etc/default/osmo-gtphub
|
|
||||||
|
|
||||||
# Load the VERBOSE setting and other rcS variables
|
|
||||||
. /lib/init/vars.sh
|
|
||||||
|
|
||||||
# Define LSB log_* functions.
|
|
||||||
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
|
||||||
. /lib/lsb/init-functions
|
|
||||||
|
|
||||||
DAEMON_ARGS="$DAEMON_ARGS -D -c $CONFIG_FILE"
|
|
||||||
|
|
||||||
#
|
|
||||||
# Function that starts the daemon/service
|
|
||||||
#
|
|
||||||
do_start()
|
|
||||||
{
|
|
||||||
# Return
|
|
||||||
# 0 if daemon has been started
|
|
||||||
# 1 if daemon was already running
|
|
||||||
# 2 if daemon could not be started
|
|
||||||
start-stop-daemon --start --quiet --exec $DAEMON --test > /dev/null \
|
|
||||||
|| return 1
|
|
||||||
start-stop-daemon --start --quiet --exec $DAEMON -- \
|
|
||||||
$DAEMON_ARGS \
|
|
||||||
|| return 2
|
|
||||||
# Add code here, if necessary, that waits for the process to be ready
|
|
||||||
# to handle requests from services started subsequently which depend
|
|
||||||
# on this one. As a last resort, sleep for some time.
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# Function that stops the daemon/service
|
|
||||||
#
|
|
||||||
do_stop()
|
|
||||||
{
|
|
||||||
# Return
|
|
||||||
# 0 if daemon has been stopped
|
|
||||||
# 1 if daemon was already stopped
|
|
||||||
# 2 if daemon could not be stopped
|
|
||||||
# other if a failure occurred
|
|
||||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME
|
|
||||||
RETVAL="$?"
|
|
||||||
[ "$RETVAL" = 2 ] && return 2
|
|
||||||
# Wait for children to finish too if this is a daemon that forks
|
|
||||||
# and if the daemon is only ever run from this initscript.
|
|
||||||
# If the above conditions are not satisfied then add some other code
|
|
||||||
# that waits for the process to drop all resources that could be
|
|
||||||
# needed by services started subsequently. A last resort is to
|
|
||||||
# sleep for some time.
|
|
||||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
|
|
||||||
[ "$?" = 2 ] && return 2
|
|
||||||
return "$RETVAL"
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
|
||||||
# Function that sends a SIGHUP to the daemon/service
|
|
||||||
#
|
|
||||||
do_reload() {
|
|
||||||
#
|
|
||||||
# If the daemon can reload its configuration without
|
|
||||||
# restarting (for example, when it is sent a SIGHUP),
|
|
||||||
# then implement that here.
|
|
||||||
#
|
|
||||||
start-stop-daemon --stop --signal 1 --quiet $PIDFILE --name $NAME
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
|
|
||||||
do_start
|
|
||||||
case "$?" in
|
|
||||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
|
||||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
|
|
||||||
do_stop
|
|
||||||
case "$?" in
|
|
||||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
|
||||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
|
||||||
;;
|
|
||||||
#reload|force-reload)
|
|
||||||
#
|
|
||||||
# If do_reload() is not implemented then leave this commented out
|
|
||||||
# and leave 'force-reload' as an alias for 'restart'.
|
|
||||||
#
|
|
||||||
#log_daemon_msg "Reloading $DESC" "$NAME"
|
|
||||||
#do_reload
|
|
||||||
#log_end_msg $?
|
|
||||||
#;;
|
|
||||||
restart|force-reload)
|
|
||||||
#
|
|
||||||
# If the "reload" option is implemented then remove the
|
|
||||||
# 'force-reload' alias
|
|
||||||
#
|
|
||||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
|
||||||
do_stop
|
|
||||||
case "$?" in
|
|
||||||
0|1)
|
|
||||||
do_start
|
|
||||||
case "$?" in
|
|
||||||
0) log_end_msg 0 ;;
|
|
||||||
1) log_end_msg 1 ;; # Old process is still running
|
|
||||||
*) log_end_msg 1 ;; # Failed to start
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# Failed to stop
|
|
||||||
log_end_msg 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
|
|
||||||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
|
||||||
exit 3
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
:
|
|
|
@ -1,5 +0,0 @@
|
||||||
etc/osmocom/osmo-gtphub.cfg
|
|
||||||
lib/systemd/system/osmo-gtphub.service
|
|
||||||
usr/bin/osmo-gtphub
|
|
||||||
usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub-1iface.cfg usr/share/doc/osmo-gtphub/examples
|
|
||||||
usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub.cfg usr/share/doc/osmo-gtphub/examples
|
|
|
@ -1 +0,0 @@
|
||||||
usr/share/doc/osmo-sgsn-doc/*.pdf
|
|
|
@ -1,5 +0,0 @@
|
||||||
/etc/osmocom/osmo-sgsn.cfg
|
|
||||||
lib/systemd/system/osmo-sgsn.service
|
|
||||||
usr/bin/osmo-sgsn
|
|
||||||
usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn.cfg usr/share/doc/osmo-sgsn/examples
|
|
||||||
usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg usr/share/doc/osmo-sgsn/examples
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
# debmake generated override targets
|
# debmake generated override targets
|
||||||
# Set options for ./configure
|
# Set options for ./configure
|
||||||
CONFIGURE_FLAGS += --enable-iu --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
||||||
#
|
#
|
||||||
|
@ -56,8 +56,6 @@ override_dh_auto_configure:
|
||||||
|
|
||||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip -posmo-sgsn --dbg-package=osmo-sgsn-dbg
|
|
||||||
dh_strip -posmo-gtphub --dbg-package=osmo-gtphub-dbg
|
|
||||||
dh_strip -posmo-gbproxy --dbg-package=osmo-gbproxy-dbg
|
dh_strip -posmo-gbproxy --dbg-package=osmo-gbproxy-dbg
|
||||||
|
|
||||||
# Print test results in case of a failure
|
# Print test results in case of a failure
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
OSMOCONF_FILES = \
|
OSMOCONF_FILES = \
|
||||||
osmo-gtphub/osmo-gtphub.cfg \
|
|
||||||
osmo-sgsn/osmo-sgsn.cfg \
|
|
||||||
osmo-gbproxy/osmo-gbproxy.cfg
|
osmo-gbproxy/osmo-gbproxy.cfg
|
||||||
|
|
||||||
osmoconfdir = $(sysconfdir)/osmocom
|
osmoconfdir = $(sysconfdir)/osmocom
|
||||||
|
|
|
@ -1,90 +0,0 @@
|
||||||
Here is a simple setup to test GTPHub operations. The IP addresses picked will
|
|
||||||
work well only on a system that creates local addresses (127.0.0.123) on the
|
|
||||||
fly (like linux) -- you may pick of course different IP addresses.
|
|
||||||
|
|
||||||
Overview of the example setup:
|
|
||||||
|
|
||||||
sgsnemu gtphub ggsn
|
|
||||||
127.0.0.1 <--> 127.0.0.3 127.0.0.4 <--> 127.0.0.2
|
|
||||||
|
|
||||||
Prerequisites: openggsn.
|
|
||||||
|
|
||||||
Have a local directory where you store config files and from which you launch
|
|
||||||
the GSNs and the hub (they will store restart counter files in that dir).
|
|
||||||
In it, have these config files:
|
|
||||||
|
|
||||||
ggsn.conf:
|
|
||||||
|
|
||||||
# GGSN local address
|
|
||||||
listen 127.0.0.2
|
|
||||||
|
|
||||||
# End User Addresses are picked from this range
|
|
||||||
net 10.23.42.0/24
|
|
||||||
|
|
||||||
pcodns1 8.8.8.8
|
|
||||||
|
|
||||||
logfile /tmp/foo
|
|
||||||
|
|
||||||
gtphub.conf:
|
|
||||||
|
|
||||||
gtphub
|
|
||||||
bind-to-sgsns 127.0.0.3
|
|
||||||
bind-to-ggsns 127.0.0.4
|
|
||||||
ggsn-proxy 127.0.0.2
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
(
|
|
||||||
You may omit the ggsn-proxy if GRX ares is working, or if you add the GRX
|
|
||||||
address and GGSN IP address to /etc/hosts something like:
|
|
||||||
|
|
||||||
127.0.0.2 internet.mnc070.mcc901.gprs
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
Once the config files are in place, start the programs, in separate terminals.
|
|
||||||
GGSN and SGSN need to be started with root priviliges to be able to create tun
|
|
||||||
interfaces. GTPHub may run as unprivileged user.
|
|
||||||
|
|
||||||
The LD_LIBRARY_PATH below may be needed if OpenGGSN installed to /usr/local.
|
|
||||||
|
|
||||||
|
|
||||||
1. GGSN:
|
|
||||||
|
|
||||||
sudo -s
|
|
||||||
cd <your-test-dir>
|
|
||||||
LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/ggsn -f -c ./ggsn.conf
|
|
||||||
|
|
||||||
2. GTPHub:
|
|
||||||
|
|
||||||
cd <your-test-dir>
|
|
||||||
path/to/openbsc/openbsc/src/gtphub/osmo-gtphub -c gtphub.conf #-e 1 #for DEBUG level
|
|
||||||
|
|
||||||
3. SGSN tests:
|
|
||||||
|
|
||||||
sudo -s
|
|
||||||
cd <your-test-dir>
|
|
||||||
/usr/local/bin/sgsnemu --createif -l 127.0.0.1 -r 127.0.0.3 --imsi 420001214365100 --contexts=3
|
|
||||||
|
|
||||||
Add more SGSNs using different IMSIs and local ports (if the same IMSI is used,
|
|
||||||
the GGSN will reuse TEIs and tunnels will be discarded automatically):
|
|
||||||
|
|
||||||
/usr/local/bin/sgsnemu --createif -l 127.0.0.11 -r 127.0.0.3 --imsi 420001214365300 --contexts=3
|
|
||||||
|
|
||||||
This shows the basic setup of GTPHub. Testing internet traffic via sgsnemu
|
|
||||||
still needs some effort to announce a mobile subscriber or the like (I have
|
|
||||||
used a real BTS, osmo-sgsn and a testing SIM in a web phone, instead).
|
|
||||||
|
|
||||||
The core capability of GTPHub is to manage more than two GSNs, e.g. an SGSN
|
|
||||||
contacting various GGSNs over the single GTPHub link. You would configure the
|
|
||||||
SGSN to use one fixed GGSN (sending to gtphub) and gtphub will resolve the
|
|
||||||
GGSNs once it has received the messages. So the SGSN may be behind NAT (add
|
|
||||||
"sgsn-use-sender" to gtphub.conf) and communicate to various GGSNs over a
|
|
||||||
single link to gtphub.
|
|
||||||
|
|
||||||
I hope this helps to get you going.
|
|
||||||
Any suggestions/patches are welcome!
|
|
||||||
|
|
||||||
~Neels
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
!
|
|
||||||
! Osmocom gtphub configuration
|
|
||||||
!
|
|
||||||
! This file is used for VTY tests, referenced by openbsc/osmoappdesc.py
|
|
||||||
! For the test, try to use most config commands.
|
|
||||||
!
|
|
||||||
|
|
||||||
line vty
|
|
||||||
no login
|
|
||||||
|
|
||||||
gtphub
|
|
||||||
! Local addresses to listen on and send from, both on one interface.
|
|
||||||
! The side towards SGSN uses nonstandard ports.
|
|
||||||
bind-to-sgsns ctrl 127.0.0.1 12123 user 127.0.0.1 12153
|
|
||||||
! The GGSN side with standard ports.
|
|
||||||
bind-to-ggsns 127.0.0.1
|
|
||||||
|
|
||||||
! Proxy: unconditionally direct all traffic to...
|
|
||||||
sgsn-proxy 127.0.0.4
|
|
||||||
|
|
||||||
! Proxy with nonstandard ports or separate IPs:
|
|
||||||
ggsn-proxy ctrl 127.0.0.3 2123 user 127.0.0.5 2152
|
|
||||||
|
|
||||||
! Add a name server for GGSN resolution
|
|
||||||
grx-dns-add 192.168.0.1
|
|
|
@ -1,25 +0,0 @@
|
||||||
!
|
|
||||||
! Osmocom gtphub configuration
|
|
||||||
!
|
|
||||||
|
|
||||||
line vty
|
|
||||||
no login
|
|
||||||
|
|
||||||
gtphub
|
|
||||||
! Local addresses to listen on and send from, each on standard ports
|
|
||||||
! 2123 and 2152. Setting these addresses is mandatory.
|
|
||||||
bind-to-sgsns 127.0.0.10
|
|
||||||
bind-to-ggsns 127.0.0.2
|
|
||||||
|
|
||||||
! Local nonstandard ports or separate IPs:
|
|
||||||
!bind-to-sgsns ctrl 127.0.0.1 2342 user 127.0.0.1 4223
|
|
||||||
|
|
||||||
! Proxy: unconditionally direct all traffic to...
|
|
||||||
!ggsn-proxy 127.0.0.3
|
|
||||||
!sgsn-proxy 127.0.0.4
|
|
||||||
|
|
||||||
! Proxy with nonstandard ports or separate IPs:
|
|
||||||
!ggsn-proxy ctrl 127.0.0.3 2123 user 127.0.0.5 2152
|
|
||||||
|
|
||||||
! Add a name server for GGSN resolution
|
|
||||||
!grx-dns-add 192.168.0.1
|
|
|
@ -1,29 +0,0 @@
|
||||||
!
|
|
||||||
! Osmocom SGSN configuration
|
|
||||||
!
|
|
||||||
!
|
|
||||||
line vty
|
|
||||||
no login
|
|
||||||
!
|
|
||||||
sgsn
|
|
||||||
gtp local-ip 127.0.0.1
|
|
||||||
ggsn 0 remote-ip 127.0.0.2
|
|
||||||
ggsn 0 gtp-version 1
|
|
||||||
ggsn 0 echo-interval 60
|
|
||||||
authentication optional
|
|
||||||
auth-policy accept-all
|
|
||||||
!
|
|
||||||
ns
|
|
||||||
timer tns-block 3
|
|
||||||
timer tns-block-retries 3
|
|
||||||
timer tns-reset 3
|
|
||||||
timer tns-reset-retries 3
|
|
||||||
timer tns-test 30
|
|
||||||
timer tns-alive 3
|
|
||||||
timer tns-alive-retries 10
|
|
||||||
bind udp local
|
|
||||||
listen 127.0.0.1 23000
|
|
||||||
accept-ipaccess
|
|
||||||
!
|
|
||||||
bssgp
|
|
||||||
!
|
|
|
@ -1,31 +0,0 @@
|
||||||
!
|
|
||||||
! Osmocom SGSN configuration
|
|
||||||
!
|
|
||||||
!
|
|
||||||
line vty
|
|
||||||
no login
|
|
||||||
!
|
|
||||||
sgsn
|
|
||||||
gtp local-ip 127.0.0.1
|
|
||||||
ggsn 0 remote-ip 127.0.0.2
|
|
||||||
ggsn 0 gtp-version 1
|
|
||||||
ggsn 0 echo-interval 60
|
|
||||||
authentication required
|
|
||||||
auth-policy remote
|
|
||||||
gsup remote-ip 127.0.0.1
|
|
||||||
gsup remote-port 4222
|
|
||||||
!
|
|
||||||
ns
|
|
||||||
timer tns-block 3
|
|
||||||
timer tns-block-retries 3
|
|
||||||
timer tns-reset 3
|
|
||||||
timer tns-reset-retries 3
|
|
||||||
timer tns-test 30
|
|
||||||
timer tns-alive 3
|
|
||||||
timer tns-alive-retries 10
|
|
||||||
bind udp local
|
|
||||||
listen 127.0.0.1 23000
|
|
||||||
accept-ipaccess
|
|
||||||
!
|
|
||||||
bssgp
|
|
||||||
!
|
|
|
@ -1,39 +0,0 @@
|
||||||
!
|
|
||||||
! Osmocom SGSN configuration
|
|
||||||
!
|
|
||||||
!
|
|
||||||
line vty
|
|
||||||
no login
|
|
||||||
!
|
|
||||||
cs7 instance 0
|
|
||||||
point-code 0.23.4
|
|
||||||
asp asp-clnt-OsmoSGSN-A 2905 0 m3ua
|
|
||||||
remote-ip 172.18.8.200 ! where to reach the STP
|
|
||||||
as as-clnt-OsmoSGSN-A m3ua
|
|
||||||
asp asp-clnt-OsmoSGSN-A
|
|
||||||
routing-key 3 0.23.4
|
|
||||||
sgsn
|
|
||||||
gtp local-ip 127.0.0.1
|
|
||||||
ggsn 0 remote-ip 127.0.0.2
|
|
||||||
ggsn 0 gtp-version 1
|
|
||||||
ggsn 0 echo-interval 60
|
|
||||||
authentication required
|
|
||||||
auth-policy remote
|
|
||||||
gsup remote-ip 127.0.0.1
|
|
||||||
gsup remote-port 4222
|
|
||||||
cs7-instance-iu 0
|
|
||||||
!
|
|
||||||
ns
|
|
||||||
timer tns-block 3
|
|
||||||
timer tns-block-retries 3
|
|
||||||
timer tns-reset 3
|
|
||||||
timer tns-reset-retries 3
|
|
||||||
timer tns-test 30
|
|
||||||
timer tns-alive 3
|
|
||||||
timer tns-alive-retries 10
|
|
||||||
bind udp local
|
|
||||||
listen 127.0.0.1 23000
|
|
||||||
accept-ipaccess
|
|
||||||
!
|
|
||||||
bssgp
|
|
||||||
!
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
SUBDIRS = \
|
||||||
|
osmocom \
|
||||||
|
$(NULL)
|
|
@ -0,0 +1,3 @@
|
||||||
|
SUBDIRS = \
|
||||||
|
sgsn \
|
||||||
|
$(NULL)
|
|
@ -0,0 +1,3 @@
|
||||||
|
noinst_HEADERS = \
|
||||||
|
gb_proxy.h \
|
||||||
|
$(NULL)
|
|
@ -11,11 +11,8 @@ AM_CFLAGS = \
|
||||||
$(LIBOSMOGSM_CFLAGS) \
|
$(LIBOSMOGSM_CFLAGS) \
|
||||||
$(LIBOSMOVTY_CFLAGS) \
|
$(LIBOSMOVTY_CFLAGS) \
|
||||||
$(LIBOSMOCTRL_CFLAGS) \
|
$(LIBOSMOCTRL_CFLAGS) \
|
||||||
$(LIBOSMOABIS_CFLAGS) \
|
|
||||||
$(LIBOSMOGB_CFLAGS) \
|
$(LIBOSMOGB_CFLAGS) \
|
||||||
$(LIBOSMOGSUPCLIENT_CFLAGS) \
|
|
||||||
$(COVERAGE_CFLAGS) \
|
$(COVERAGE_CFLAGS) \
|
||||||
$(LIBGTP_CFLAGS) \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
bin_PROGRAMS = \
|
bin_PROGRAMS = \
|
||||||
|
@ -35,6 +32,10 @@ osmo_gbproxy_LDADD = \
|
||||||
$(LIBOSMOVTY_LIBS) \
|
$(LIBOSMOVTY_LIBS) \
|
||||||
$(LIBOSMOCTRL_LIBS) \
|
$(LIBOSMOCTRL_LIBS) \
|
||||||
$(LIBOSMOGB_LIBS) \
|
$(LIBOSMOGB_LIBS) \
|
||||||
$(LIBGTP_LIBS) \
|
|
||||||
-lrt \
|
-lrt \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
noinst_HEADERS = \
|
||||||
|
debug.h \
|
||||||
|
vty.h \
|
||||||
|
$(NULL)
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <osmocom/core/linuxlist.h>
|
||||||
|
|
||||||
|
#define DEBUG
|
||||||
|
#include <osmocom/core/logging.h>
|
||||||
|
|
||||||
|
/* Debug Areas of the code */
|
||||||
|
enum {
|
||||||
|
DMM,
|
||||||
|
DPAG,
|
||||||
|
DMEAS,
|
||||||
|
DREF,
|
||||||
|
DGPRS,
|
||||||
|
DNS,
|
||||||
|
DLLC,
|
||||||
|
DSNDCP,
|
||||||
|
DSLHC,
|
||||||
|
DCTRL,
|
||||||
|
DFILTER,
|
||||||
|
DGTPHUB,
|
||||||
|
DRANAP,
|
||||||
|
DSUA,
|
||||||
|
DV42BIS,
|
||||||
|
DIUCS,
|
||||||
|
DSIGTRAN,
|
||||||
|
DGTP,
|
||||||
|
DOBJ,
|
||||||
|
Debug_LastEntry,
|
||||||
|
};
|
||||||
|
|
||||||
|
extern const struct log_info log_info;
|
|
@ -37,6 +37,7 @@
|
||||||
#include <osmocom/core/talloc.h>
|
#include <osmocom/core/talloc.h>
|
||||||
#include <osmocom/core/select.h>
|
#include <osmocom/core/select.h>
|
||||||
#include <osmocom/core/rate_ctr.h>
|
#include <osmocom/core/rate_ctr.h>
|
||||||
|
#include <osmocom/core/signal.h>
|
||||||
#include <osmocom/core/stats.h>
|
#include <osmocom/core/stats.h>
|
||||||
#include <osmocom/core/utils.h>
|
#include <osmocom/core/utils.h>
|
||||||
|
|
||||||
|
@ -49,14 +50,10 @@
|
||||||
#include <osmocom/gsm/gsm23236.h>
|
#include <osmocom/gsm/gsm23236.h>
|
||||||
#include <osmocom/gsm/gsm_utils.h>
|
#include <osmocom/gsm/gsm_utils.h>
|
||||||
|
|
||||||
#include <osmocom/sgsn/signal.h>
|
#include "debug.h"
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
#include <osmocom/sgsn/gprs_gb_parse.h>
|
|
||||||
#include <osmocom/sgsn/gb_proxy.h>
|
#include <osmocom/sgsn/gb_proxy.h>
|
||||||
|
|
||||||
#include <osmocom/sgsn/gprs_llc.h>
|
|
||||||
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
|
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
|
||||||
#include <osmocom/sgsn/gprs_utils.h>
|
|
||||||
|
|
||||||
extern void *tall_sgsn_ctx;
|
extern void *tall_sgsn_ctx;
|
||||||
|
|
||||||
|
@ -1546,4 +1543,4 @@ int gbproxy_init_config(struct gbproxy_config *cfg)
|
||||||
osmo_fsm_log_timeouts(true);
|
osmo_fsm_log_timeouts(true);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
#include <osmocom/ctrl/control_if.h>
|
#include <osmocom/ctrl/control_if.h>
|
||||||
#include <osmocom/ctrl/control_cmd.h>
|
#include <osmocom/ctrl/control_cmd.h>
|
||||||
#include <osmocom/sgsn/gb_proxy.h>
|
#include <osmocom/sgsn/gb_proxy.h>
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
|
#include "debug.h"
|
||||||
|
|
||||||
extern vector ctrl_node_vec;
|
extern vector ctrl_node_vec;
|
||||||
|
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
#include <osmocom/core/select.h>
|
#include <osmocom/core/select.h>
|
||||||
#include <osmocom/core/rate_ctr.h>
|
#include <osmocom/core/rate_ctr.h>
|
||||||
#include <osmocom/core/stats.h>
|
#include <osmocom/core/stats.h>
|
||||||
|
#include <osmocom/core/signal.h>
|
||||||
|
|
||||||
#include <osmocom/gprs/gprs_ns2.h>
|
#include <osmocom/gprs/gprs_ns2.h>
|
||||||
#include <osmocom/gprs/gprs_bssgp.h>
|
#include <osmocom/gprs/gprs_bssgp.h>
|
||||||
|
|
||||||
#include <osmocom/sgsn/signal.h>
|
#include "debug.h"
|
||||||
#include <osmocom/sgsn/debug.h>
|
#include "vty.h"
|
||||||
#include <osmocom/sgsn/vty.h>
|
|
||||||
#include <osmocom/sgsn/gb_proxy.h>
|
#include <osmocom/sgsn/gb_proxy.h>
|
||||||
|
|
||||||
#include <osmocom/ctrl/control_vty.h>
|
#include <osmocom/ctrl/control_vty.h>
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
#include <osmocom/vty/ports.h>
|
#include <osmocom/vty/ports.h>
|
||||||
#include <osmocom/vty/misc.h>
|
#include <osmocom/vty/misc.h>
|
||||||
|
|
||||||
#include "../../bscconfig.h"
|
#include "../bscconfig.h"
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include <osmocom/sgsn/gb_proxy.h>
|
#include <osmocom/sgsn/gb_proxy.h>
|
||||||
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
#include "debug.h"
|
||||||
|
|
||||||
#include <osmocom/gprs/protocol/gsm_08_18.h>
|
#include <osmocom/gprs/protocol/gsm_08_18.h>
|
||||||
#include <osmocom/core/crc16.h>
|
#include <osmocom/core/crc16.h>
|
||||||
|
|
|
@ -38,10 +38,9 @@
|
||||||
#include <osmocom/gsm/gsm23236.h>
|
#include <osmocom/gsm/gsm23236.h>
|
||||||
#include <osmocom/gsm/gsm48.h>
|
#include <osmocom/gsm/gsm48.h>
|
||||||
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
#include "debug.h"
|
||||||
#include <osmocom/sgsn/gb_proxy.h>
|
#include <osmocom/sgsn/gb_proxy.h>
|
||||||
#include <osmocom/sgsn/gprs_utils.h>
|
#include "vty.h"
|
||||||
#include <osmocom/sgsn/vty.h>
|
|
||||||
|
|
||||||
#include <osmocom/vty/command.h>
|
#include <osmocom/vty/command.h>
|
||||||
#include <osmocom/vty/logging.h>
|
#include <osmocom/vty/logging.h>
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <osmocom/vty/command.h>
|
||||||
|
|
||||||
|
enum bsc_vty_node {
|
||||||
|
GBPROXY_NODE = _LAST_OSMOVTY_NODE + 1,
|
||||||
|
SGSN_NODE,
|
||||||
|
GTPHUB_NODE,
|
||||||
|
};
|
|
@ -1,11 +1,4 @@
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
gprs \
|
|
||||||
gtphub \
|
|
||||||
sgsn \
|
|
||||||
xid \
|
|
||||||
sndcp_xid \
|
|
||||||
slhc \
|
|
||||||
v42bis \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
# The `:;' works around a Bash 3.2 bug when the output is not writeable.
|
||||||
|
@ -32,7 +25,6 @@ EXTRA_DIST = \
|
||||||
$(TESTSUITE) \
|
$(TESTSUITE) \
|
||||||
vty_test_runner.py \
|
vty_test_runner.py \
|
||||||
ctrl_test_runner.py \
|
ctrl_test_runner.py \
|
||||||
osmo-sgsn_test-nodes.vty \
|
|
||||||
osmo-gbproxy_test-nodes.vty \
|
osmo-gbproxy_test-nodes.vty \
|
||||||
osmo-gbproxy-pool_test-nodes.vty \
|
osmo-gbproxy-pool_test-nodes.vty \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -70,10 +62,6 @@ vty-transcript-test:
|
||||||
-n OsmoGbProxy -p 4246 \
|
-n OsmoGbProxy -p 4246 \
|
||||||
-r "$(top_builddir)/src/gbproxy/osmo-gbproxy -c $(top_srcdir)/doc/examples/osmo-gbproxy/osmo-gbproxy-pool.cfg" \
|
-r "$(top_builddir)/src/gbproxy/osmo-gbproxy -c $(top_srcdir)/doc/examples/osmo-gbproxy/osmo-gbproxy-pool.cfg" \
|
||||||
$(U) $${T:-$(srcdir)/osmo-gbproxy-pool_test-nodes.vty}
|
$(U) $${T:-$(srcdir)/osmo-gbproxy-pool_test-nodes.vty}
|
||||||
osmo_verify_transcript_vty.py -v \
|
|
||||||
-n OsmoSGSN -p 4245 \
|
|
||||||
-r "$(top_builddir)/src/sgsn/osmo-sgsn -c $(top_srcdir)/doc/examples/osmo-sgsn/osmo-sgsn.cfg" \
|
|
||||||
$(U) $${T:-$(srcdir)/osmo-sgsn*.vty}
|
|
||||||
rm -f $(builddir)/sms.db $(builddir)/gsn_restart
|
rm -f $(builddir)/sms.db $(builddir)/gsn_restart
|
||||||
|
|
||||||
# don't run multiple tests concurrently so that the ports don't conflict
|
# don't run multiple tests concurrently so that the ports don't conflict
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
|
||||||
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = gprs_test.ok
|
|
||||||
|
|
||||||
noinst_PROGRAMS = gprs_test
|
|
||||||
|
|
||||||
gprs_test_SOURCES = gprs_test.c $(top_srcdir)/src/gprs/gprs_utils.c
|
|
||||||
|
|
||||||
gprs_test_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
@ -1,141 +0,0 @@
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <inttypes.h>
|
|
||||||
|
|
||||||
#include <osmocom/sgsn/gprs_llc.h>
|
|
||||||
#include <osmocom/sgsn/gprs_utils.h>
|
|
||||||
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/application.h>
|
|
||||||
#include <osmocom/gsm/gsup.h>
|
|
||||||
|
|
||||||
#define ASSERT_FALSE(x) if (x) { printf("Should have returned false.\n"); abort(); }
|
|
||||||
#define ASSERT_TRUE(x) if (!x) { printf("Should have returned true.\n"); abort(); }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* GSM 04.64 8.4.2 Receipt of unacknowledged information
|
|
||||||
*/
|
|
||||||
static int nu_is_retransmission(uint16_t nu, uint16_t vur)
|
|
||||||
{
|
|
||||||
int ret = gprs_llc_is_retransmit(nu, vur);
|
|
||||||
printf("N(U) = %d, V(UR) = %d => %s\n", nu, vur,
|
|
||||||
ret == 1 ? "retransmit" : "new");
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void test_8_4_2()
|
|
||||||
{
|
|
||||||
printf("Testing gprs_llc_is_retransmit.\n");
|
|
||||||
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(0, 0));
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(0, 1));
|
|
||||||
|
|
||||||
/* expect 1... check for retransmissions */
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(0, 1));
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(511, 1));
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(483, 1));
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(482, 1));
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(481, 1));
|
|
||||||
|
|
||||||
/* expect 511... check for retransmissions */
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(0, 240)); // ahead
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(0, 511)); // ahead
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(1, 511)); // ahead
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(511, 511)); // same
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(510, 511)); // behind
|
|
||||||
ASSERT_TRUE (nu_is_retransmission(481, 511)); // behind
|
|
||||||
ASSERT_FALSE(nu_is_retransmission(479, 511)); // wrapped
|
|
||||||
}
|
|
||||||
|
|
||||||
static void test_gprs_timer_enc_dec(void)
|
|
||||||
{
|
|
||||||
int i, u, secs, tmr;
|
|
||||||
const int upper_secs_test_limit = 12000;
|
|
||||||
int dec_secs, last_dec_secs = -1;
|
|
||||||
|
|
||||||
printf("Test GPRS timer decoding/encoding\n");
|
|
||||||
|
|
||||||
/* Check gprs_tmr_to_secs with all 256 encoded values */
|
|
||||||
for (u = 0; u <= GPRS_TMR_DEACTIVATED; u += 32) {
|
|
||||||
fprintf(stderr, "Testing decoding with timer value unit %u\n",
|
|
||||||
u / 32);
|
|
||||||
for (i = 0; i < 32; i++) {
|
|
||||||
switch (u) {
|
|
||||||
case GPRS_TMR_2SECONDS:
|
|
||||||
OSMO_ASSERT(gprs_tmr_to_secs(u + i) == 2 * i);
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
case GPRS_TMR_MINUTE:
|
|
||||||
OSMO_ASSERT(gprs_tmr_to_secs(u + i) == 60 * i);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case GPRS_TMR_6MINUTE:
|
|
||||||
OSMO_ASSERT(gprs_tmr_to_secs(u + i) == 360 * i);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case GPRS_TMR_DEACTIVATED:
|
|
||||||
OSMO_ASSERT(gprs_tmr_to_secs(u + i) == -1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
OSMO_ASSERT(gprs_tmr_to_secs(u + i) < upper_secs_test_limit);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check gprs_secs_to_tmr_floor for secs that can exactly be
|
|
||||||
* represented as GPRS timer values */
|
|
||||||
for (i = 0; i < GPRS_TMR_DEACTIVATED; i++) {
|
|
||||||
int j;
|
|
||||||
secs = gprs_tmr_to_secs(i);
|
|
||||||
tmr = gprs_secs_to_tmr_floor(secs);
|
|
||||||
OSMO_ASSERT(secs == gprs_tmr_to_secs(tmr));
|
|
||||||
|
|
||||||
/* Check that the highest resolution is used */
|
|
||||||
for (j = 0; j < tmr; j++)
|
|
||||||
OSMO_ASSERT(secs != gprs_tmr_to_secs(j));
|
|
||||||
}
|
|
||||||
OSMO_ASSERT(GPRS_TMR_DEACTIVATED == gprs_secs_to_tmr_floor(-1));
|
|
||||||
|
|
||||||
/* Check properties of gprs_secs_to_tmr_floor */
|
|
||||||
for (secs = 0; secs <= upper_secs_test_limit; secs++) {
|
|
||||||
int tmr = gprs_secs_to_tmr_floor(secs);
|
|
||||||
int delta_secs = gprs_tmr_to_secs((tmr & ~0x1f) | 1);
|
|
||||||
dec_secs = gprs_tmr_to_secs(tmr);
|
|
||||||
|
|
||||||
/* Check floor */
|
|
||||||
OSMO_ASSERT(dec_secs <= secs);
|
|
||||||
/* Check monotonicity */
|
|
||||||
OSMO_ASSERT(dec_secs >= last_dec_secs);
|
|
||||||
/* Check max distance (<= resolution) */
|
|
||||||
OSMO_ASSERT(dec_secs - last_dec_secs <= delta_secs);
|
|
||||||
|
|
||||||
last_dec_secs = dec_secs;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const struct log_info_cat default_categories[] = {
|
|
||||||
[DGPRS] = {
|
|
||||||
.name = "DGPRS",
|
|
||||||
.description = "GPRS Packet Service",
|
|
||||||
.enabled = 0, .loglevel = LOGL_DEBUG,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct log_info info = {
|
|
||||||
.cat = default_categories,
|
|
||||||
.num_cat = ARRAY_SIZE(default_categories),
|
|
||||||
};
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
void *ctx = talloc_named_const(NULL, 0, "gprs_test");
|
|
||||||
osmo_init_logging2(ctx, &info);
|
|
||||||
|
|
||||||
test_8_4_2();
|
|
||||||
test_gprs_timer_enc_dec();
|
|
||||||
|
|
||||||
printf("Done.\n");
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
Testing gprs_llc_is_retransmit.
|
|
||||||
N(U) = 0, V(UR) = 0 => new
|
|
||||||
N(U) = 0, V(UR) = 1 => retransmit
|
|
||||||
N(U) = 0, V(UR) = 1 => retransmit
|
|
||||||
N(U) = 511, V(UR) = 1 => retransmit
|
|
||||||
N(U) = 483, V(UR) = 1 => retransmit
|
|
||||||
N(U) = 482, V(UR) = 1 => retransmit
|
|
||||||
N(U) = 481, V(UR) = 1 => new
|
|
||||||
N(U) = 0, V(UR) = 240 => new
|
|
||||||
N(U) = 0, V(UR) = 511 => new
|
|
||||||
N(U) = 1, V(UR) = 511 => new
|
|
||||||
N(U) = 511, V(UR) = 511 => new
|
|
||||||
N(U) = 510, V(UR) = 511 => retransmit
|
|
||||||
N(U) = 481, V(UR) = 511 => retransmit
|
|
||||||
N(U) = 479, V(UR) = 511 => new
|
|
||||||
Test GPRS timer decoding/encoding
|
|
||||||
Done.
|
|
|
@ -1,40 +0,0 @@
|
||||||
AM_CPPFLAGS = \
|
|
||||||
$(all_includes) \
|
|
||||||
-I$(top_srcdir)/include \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
-Wall \
|
|
||||||
-ggdb3 \
|
|
||||||
$(LIBOSMOCORE_CFLAGS) \
|
|
||||||
$(LIBOSMOABIS_CFLAGS) \
|
|
||||||
$(LIBOSMOGSM_CFLAGS) \
|
|
||||||
$(LIBGTP_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
gtphub_test.ok \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
|
||||||
gtphub_test \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
gtphub_test_SOURCES = \
|
|
||||||
gtphub_test.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
gtphub_test_LDFLAGS = \
|
|
||||||
-Wl,--wrap=gtphub_resolve_ggsn_addr \
|
|
||||||
-Wl,--wrap=gtphub_ares_init \
|
|
||||||
-Wl,--wrap=gtphub_write \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
gtphub_test_LDADD = \
|
|
||||||
$(top_builddir)/src/gtphub/gtphub.o \
|
|
||||||
$(top_builddir)/src/gprs/gprs_utils.o \
|
|
||||||
$(LIBOSMOCORE_LIBS) \
|
|
||||||
$(LIBOSMOGSM_LIBS) \
|
|
||||||
$(LIBGTP_LIBS) \
|
|
||||||
-lrt \
|
|
||||||
$(NULL)
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,42 +0,0 @@
|
||||||
test_echo
|
|
||||||
test_one_pdp_ctx (del from SGSN)
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
test_one_pdp_ctx (del from GGSN)
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
test_user_data
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
- user data starts
|
|
||||||
test_reused_tei
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
test_peer_restarted
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
Out-of-band gtphub_write(16):
|
|
||||||
to 192.168.43.34 port 2123
|
|
||||||
32 14 00 08 00 00 07 65 6d 32 00 00 13 ff 14 00
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
test_peer_restarted_reusing_tei
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
Out-of-band gtphub_write(16):
|
|
||||||
to 192.168.43.34 port 2123
|
|
||||||
32 14 00 08 00 00 07 65 6d 32 00 00 13 ff 14 00
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
test_user_data
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
- user data starts
|
|
||||||
test_parallel_context_creation
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456789 ni internet: 192.168.43.34 port 2123
|
|
||||||
- __wrap_gtphub_resolve_ggsn_addr():
|
|
||||||
returning GGSN addr from imsi 240010123456889 ni internet: 192.168.43.34 port 2123
|
|
||||||
Done
|
|
|
@ -1,64 +0,0 @@
|
||||||
OsmoSGSN> enable
|
|
||||||
OsmoSGSN# show timer
|
|
||||||
T3312 = 600 s Periodic RA Update timer (s) (default: 600 s)
|
|
||||||
T3313 = 30 s Waiting for paging response timer (s) (default: 30 s)
|
|
||||||
T3314 = 44 s READY timer. Force to STANDBY on expiry timer (s) (default: 44 s)
|
|
||||||
T3316 = 44 s AA-Ready timer (s) (default: 44 s)
|
|
||||||
T3322 = 6 s Detach request -> accept timer (s) (default: 6 s)
|
|
||||||
T3350 = 6 s Waiting for ATT/RAU/TMSI_COMPL timer (s) (default: 6 s)
|
|
||||||
T3360 = 6 s Waiting for AUTH/CIPH response timer (s) (default: 6 s)
|
|
||||||
T3370 = 6 s Waiting for IDENTITY response timer (s) (default: 6 s)
|
|
||||||
T3385 = 8 s Wait for ACT PDP CTX REQ timer (s) (default: 8 s)
|
|
||||||
T3386 = 8 s Wait for MODIFY PDP CTX ACK timer (s) (default: 8 s)
|
|
||||||
T3395 = 8 s Wait for DEACT PDP CTX ACK timer (s) (default: 8 s)
|
|
||||||
T3397 = 8 s Wait for DEACT AA PDP CTX ACK timer (s) (default: 8 s)
|
|
||||||
X1001 = 5 s RANAP Release timeout. Wait for RANAP Release Complete.On expiry release Iu connection (s) (default: 5 s)
|
|
||||||
X3314 = 44 s Iu User inactivity timer. On expiry release Iu connection (s) (default: 44 s)
|
|
||||||
OsmoSGSN# configure terminal
|
|
||||||
OsmoSGSN(config)# list
|
|
||||||
...
|
|
||||||
sgsn
|
|
||||||
ctrl
|
|
||||||
...
|
|
||||||
ns
|
|
||||||
bssgp
|
|
||||||
...
|
|
||||||
|
|
||||||
OsmoSGSN(config)# sgsn
|
|
||||||
OsmoSGSN(config-sgsn)# list
|
|
||||||
...
|
|
||||||
gtp state-dir PATH
|
|
||||||
gtp local-ip A.B.C.D
|
|
||||||
ggsn <0-255> remote-ip A.B.C.D
|
|
||||||
ggsn <0-255> gtp-version (0|1)
|
|
||||||
ggsn <0-255> echo-interval <1-36000>
|
|
||||||
ggsn <0-255> no echo-interval
|
|
||||||
imsi-acl (add|del) IMSI
|
|
||||||
auth-policy (accept-all|closed|acl-only|remote)
|
|
||||||
authentication (optional|required)
|
|
||||||
encryption (GEA0|GEA1|GEA2|GEA3|GEA4)
|
|
||||||
gsup ipa-name NAME
|
|
||||||
gsup remote-ip A.B.C.D
|
|
||||||
gsup remote-port <0-65535>
|
|
||||||
gsup oap-id <0-65535>
|
|
||||||
gsup oap-k K
|
|
||||||
gsup oap-opc OPC
|
|
||||||
apn APNAME ggsn <0-255>
|
|
||||||
apn APNAME imsi-prefix IMSIPRE ggsn <0-255>
|
|
||||||
access-point-name NAME
|
|
||||||
no access-point-name NAME
|
|
||||||
cdr filename NAME
|
|
||||||
no cdr filename
|
|
||||||
cdr trap
|
|
||||||
no cdr trap
|
|
||||||
cdr interval <1-2147483647>
|
|
||||||
ggsn dynamic
|
|
||||||
grx-dns-add A.B.C.D
|
|
||||||
timer [TNNNN] [(<0-2147483647>|default)]
|
|
||||||
no compression rfc1144
|
|
||||||
compression rfc1144 active slots <1-256>
|
|
||||||
compression rfc1144 passive
|
|
||||||
no compression v42bis
|
|
||||||
compression v42bis active direction (ms|sgsn|both) codewords <512-65535> strlen <6-250>
|
|
||||||
compression v42bis passive
|
|
||||||
...
|
|
|
@ -1,89 +0,0 @@
|
||||||
AM_CPPFLAGS = \
|
|
||||||
$(all_includes) \
|
|
||||||
-I$(top_srcdir)/include \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
-Wall \
|
|
||||||
-ggdb3 \
|
|
||||||
$(LIBOSMOCORE_CFLAGS) \
|
|
||||||
$(LIBOSMOABIS_CFLAGS) \
|
|
||||||
$(LIBOSMOGSM_CFLAGS) \
|
|
||||||
$(LIBOSMOGSUPCLIENT_CFLAGS) \
|
|
||||||
$(LIBCARES_CFLAGS) \
|
|
||||||
$(LIBGTP_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
if BUILD_IU
|
|
||||||
AM_CFLAGS += \
|
|
||||||
$(LIBASN1C_CFLAGS) \
|
|
||||||
$(LIBOSMOSIGTRAN_CFLAGS) \
|
|
||||||
$(LIBOSMORANAP_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
sgsn_test.ok \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
|
||||||
sgsn_test \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
sgsn_test_SOURCES = \
|
|
||||||
sgsn_test.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
sgsn_test_LDFLAGS = \
|
|
||||||
-Wl,--wrap=osmo_get_rand_id \
|
|
||||||
-Wl,--wrap=sgsn_update_subscriber_data \
|
|
||||||
-Wl,--wrap=gprs_subscr_request_update_location \
|
|
||||||
-Wl,--wrap=gprs_subscr_request_auth_info \
|
|
||||||
-Wl,--wrap=osmo_gsup_client_send \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
sgsn_test_LDADD = \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_llc.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_gb.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sndcp.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_gmm_attach.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_gmm.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_gmm_fsm.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_mm_state_gb_fsm.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sgsn.o \
|
|
||||||
$(top_builddir)/src/sgsn/sgsn_vty.o \
|
|
||||||
$(top_builddir)/src/sgsn/sgsn_libgtp.o \
|
|
||||||
$(top_builddir)/src/sgsn/sgsn_auth.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_subscriber.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_llc_xid.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sndcp_xid.o \
|
|
||||||
$(top_builddir)/src/sgsn/slhc.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sm.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sndcp_comp.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sndcp_pcomp.o \
|
|
||||||
$(top_builddir)/src/sgsn/v42bis.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_sndcp_dcomp.o \
|
|
||||||
$(top_builddir)/src/gprs/gprs_utils.o \
|
|
||||||
$(top_builddir)/src/gprs/gprs_llc_parse.o \
|
|
||||||
$(top_builddir)/src/gprs/gprs_gb_parse.o \
|
|
||||||
$(top_builddir)/src/gprs/crc24.o \
|
|
||||||
$(top_builddir)/src/gprs/sgsn_ares.o \
|
|
||||||
$(LIBOSMOABIS_LIBS) \
|
|
||||||
$(LIBOSMOCORE_LIBS) \
|
|
||||||
$(LIBOSMOGSM_LIBS) \
|
|
||||||
$(LIBOSMOGB_LIBS) \
|
|
||||||
$(LIBOSMOGSUPCLIENT_LIBS) \
|
|
||||||
$(LIBCARES_LIBS) \
|
|
||||||
$(LIBGTP_LIBS) \
|
|
||||||
-lrt \
|
|
||||||
-lm \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
if BUILD_IU
|
|
||||||
sgsn_test_LDADD += \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_ranap.o \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_mm_state_iu_fsm.o \
|
|
||||||
$(LIBOSMORANAP_LIBS) \
|
|
||||||
$(LIBOSMOSIGTRAN_LIBS) \
|
|
||||||
$(LIBASN1C_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,28 +0,0 @@
|
||||||
Testing LLME allocations
|
|
||||||
Testing core subscriber data API
|
|
||||||
llist_count(gprs_subscribers) == 0
|
|
||||||
llist_count(gprs_subscribers) == 1
|
|
||||||
llist_count(gprs_subscribers) == 1
|
|
||||||
llist_count(gprs_subscribers) == 2
|
|
||||||
llist_count(gprs_subscribers) == 3
|
|
||||||
llist_count(gprs_subscribers) == 2
|
|
||||||
llist_count(gprs_subscribers) == 1
|
|
||||||
llist_count(gprs_subscribers) == 0
|
|
||||||
Testing authentication triplet handling
|
|
||||||
Testing subscriber GSUP handling
|
|
||||||
Testing GMM detach
|
|
||||||
Testing GMM detach (power off)
|
|
||||||
Testing GMM detach (no MMCTX)
|
|
||||||
Testing GMM detach accept (unexpected)
|
|
||||||
Testing GMM Status (no MMCTX)
|
|
||||||
Testing GMM reject
|
|
||||||
- Attach Request (invalid MI length)
|
|
||||||
- Attach Request (invalid MI type)
|
|
||||||
- Routing Area Update Request (valid)
|
|
||||||
- Routing Area Update Request (invalid type)
|
|
||||||
- Routing Area Update Request (invalid CAP length)
|
|
||||||
Testing cancellation
|
|
||||||
Testing APN matching
|
|
||||||
Testing GGSN selection
|
|
||||||
Testing pdp_status_has_active_nsapis
|
|
||||||
Done
|
|
|
@ -1,14 +0,0 @@
|
||||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
|
||||||
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = slhc_test.ok
|
|
||||||
|
|
||||||
noinst_PROGRAMS = slhc_test
|
|
||||||
|
|
||||||
slhc_test_SOURCES = slhc_test.c
|
|
||||||
|
|
||||||
slhc_test_LDADD = \
|
|
||||||
$(top_builddir)/src/sgsn/slhc.o \
|
|
||||||
$(LIBOSMOCORE_LIBS)
|
|
||||||
|
|
||||||
|
|
|
@ -1,275 +0,0 @@
|
||||||
/* Test SLHC/RFC1144 TCP/IP Header compression/decompression */
|
|
||||||
|
|
||||||
/* (C) 2016 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
|
|
||||||
* All Rights Reserved
|
|
||||||
*
|
|
||||||
* Author: Philipp Maier
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <osmocom/sgsn/slhc.h>
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/talloc.h>
|
|
||||||
#include <osmocom/core/utils.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/application.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
|
|
||||||
/* Number of compression slots (S0-1) */
|
|
||||||
#define SLOTS 8
|
|
||||||
|
|
||||||
/* Maximum packet bytes to display */
|
|
||||||
#define DISP_MAX_BYTES 100
|
|
||||||
|
|
||||||
/* Sample packets to test with */
|
|
||||||
#define PACKETS_LEN 15
|
|
||||||
char *packets[] = {
|
|
||||||
/* With TCP Option 10 (Timestamps) in place (forces UNCOMPRESSED_TCP) */
|
|
||||||
"4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27",
|
|
||||||
"4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0",
|
|
||||||
"4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01",
|
|
||||||
"4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01",
|
|
||||||
"4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a",
|
|
||||||
"4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20",
|
|
||||||
/* Regular TCP packets (COMPRESSED_TCP) */
|
|
||||||
"4510003446dd40004006a9b3c0a8646ec0a864640017ad8b81980100f3ac984d501800e371410000fffd18fffd20fffd23fffd27",
|
|
||||||
"4510004f46de40004006a997c0a8646ec0a864640017ad8b8198010cf3ac984d501800e3cda40000fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0",
|
|
||||||
"4510002b46df40004006a9bac0a8646ec0a864640017ad8b81980133f3ac989f501800e3a70a0000fffd01",
|
|
||||||
"4510002b46e040004006a9b9c0a8646ec0a864640017ad8b81980136f3ac98a2501800e3a7060000fffb01",
|
|
||||||
"4510006846e140004006a97bc0a8646ec0a864640017ad8b81980139f3ac98a5501800e3c2d000000d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a",
|
|
||||||
"4510003646e240004006a9acc0a8646ec0a864640017ad8b81980179f3ac98a5501800e321fb0000706f6c6c7578206c6f67696e3a20",
|
|
||||||
/* UDP packets (TYPE_IP */
|
|
||||||
"450000396e0b40004011a0310a0901650a09170105da003500255489a60f01000001000000000000076f736d6f636f6d036f72670000010001",
|
|
||||||
"450000dc9eeb00004011aeae0a0917010a090165003505da00c83fbaa60f81800001000100030004076f736d6f636f6d036f72670000010001c00c00010001000079be0004904c2b4cc00c000200010000173d00130773756e6265616d08676e756d6f6e6b73c014c00c000200010000173d000603646e73c041c00c000200010000173d000a0767616e65736861c041c058000100010000173d0004d55f2e45c058001c00010000173d0010200107800045f0460000000000690001c06a0001000100006a710004d55f1b78c039000100010000173d000453ecb2cb",
|
|
||||||
"45000037652340004011a91b0a0901650a091701ef1b0035002376a2c3910100000100000000000006676f6f676c650264650000010001",
|
|
||||||
"0050b6162c10000db93a3ff908004500004726a6000038114083080808080a0901650035ef1b00338a8cc3918180000100010000000006676f6f676c650264650000010001c00c000100010000012b0004d83ad503",
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Compress a packet using Van Jacobson RFC1144 header compression */
|
|
||||||
static int compress(uint8_t *data_o, uint8_t *data_i, int len,
|
|
||||||
struct slcompress *comp)
|
|
||||||
{
|
|
||||||
uint8_t *comp_ptr; /* Not used */
|
|
||||||
int compr_len;
|
|
||||||
|
|
||||||
/* Create a working copy of the incoming data */
|
|
||||||
memcpy(data_o, data_i, len);
|
|
||||||
|
|
||||||
/* Run compressor */
|
|
||||||
compr_len = slhc_compress(comp, data_i, len, data_o, &comp_ptr, 0);
|
|
||||||
return compr_len;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Expand a packet using Van Jacobson RFC1144 header compression */
|
|
||||||
static int expand(uint8_t *data_o, uint8_t *data_i, int len,
|
|
||||||
struct slcompress *comp)
|
|
||||||
{
|
|
||||||
int data_decompressed_len;
|
|
||||||
|
|
||||||
/* Create a working copy of the incoming data */
|
|
||||||
memcpy(data_o, data_i, len);
|
|
||||||
|
|
||||||
/* Handle an uncompressed packet (learn header information */
|
|
||||||
if ((data_i[0] & SL_TYPE_UNCOMPRESSED_TCP) == SL_TYPE_UNCOMPRESSED_TCP) {
|
|
||||||
data_o[0] &= 0x4F;
|
|
||||||
data_decompressed_len = slhc_remember(comp, data_o, len);
|
|
||||||
return data_decompressed_len;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Uncompress compressed packets */
|
|
||||||
else if (data_o[0] & SL_TYPE_COMPRESSED_TCP) {
|
|
||||||
data_decompressed_len = slhc_uncompress(comp, data_o, len);
|
|
||||||
return data_decompressed_len;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Regular or unknown packets will not be touched */
|
|
||||||
return len;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Calculate IP Header checksum */
|
|
||||||
static uint16_t calc_ip_csum(uint8_t *data, int len)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
uint32_t accumulator = 0;
|
|
||||||
uint16_t *pointer = (uint16_t *) data;
|
|
||||||
|
|
||||||
for (i = len; i > 1; i -= 2) {
|
|
||||||
accumulator += *pointer;
|
|
||||||
pointer++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (len % 2)
|
|
||||||
accumulator += *pointer;
|
|
||||||
|
|
||||||
accumulator = (accumulator & 0xffff) + ((accumulator >> 16) & 0xffff);
|
|
||||||
accumulator += (accumulator >> 16) & 0xffff;
|
|
||||||
return (~accumulator);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Calculate TCP/IP checksum */
|
|
||||||
static uint16_t calc_tcpip_csum(const void *ctx, uint8_t *packet, int len)
|
|
||||||
{
|
|
||||||
uint8_t *buf;
|
|
||||||
uint16_t csum;
|
|
||||||
|
|
||||||
buf = talloc_zero_size(ctx, len);
|
|
||||||
memset(buf, 0, len);
|
|
||||||
memcpy(buf, packet + 12, 8);
|
|
||||||
buf[9] = packet[9];
|
|
||||||
buf[11] = (len - 20) & 0xFF;
|
|
||||||
buf[10] = (len - 20) >> 8 & 0xFF;
|
|
||||||
memcpy(buf + 12, packet + 20, len - 20);
|
|
||||||
csum = calc_ip_csum(buf, len - 20 + 12);
|
|
||||||
talloc_free(buf);
|
|
||||||
return csum;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check TCP/IP packet */
|
|
||||||
static void check_packet(const void *ctx, uint8_t *packet, int len)
|
|
||||||
{
|
|
||||||
/* Check IP header */
|
|
||||||
OSMO_ASSERT(len > 20);
|
|
||||||
OSMO_ASSERT(calc_ip_csum(packet, 20) == 0);
|
|
||||||
|
|
||||||
printf("packet[9]=%02x\n", packet[9]);
|
|
||||||
|
|
||||||
/* Check TCP packet */
|
|
||||||
if (packet[9] != 0x06)
|
|
||||||
return;
|
|
||||||
OSMO_ASSERT(len > 40);
|
|
||||||
OSMO_ASSERT(calc_tcpip_csum(ctx, packet, len) == 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compress / Decompress packets */
|
|
||||||
static void test_slhc(const void *ctx)
|
|
||||||
{
|
|
||||||
char packet_ascii[2048];
|
|
||||||
int i;
|
|
||||||
|
|
||||||
struct slcompress *comp;
|
|
||||||
uint8_t packet[1024];
|
|
||||||
int packet_len;
|
|
||||||
uint8_t packet_compr[1024];
|
|
||||||
int packet_compr_len;
|
|
||||||
uint8_t packet_decompr[1024];
|
|
||||||
int packet_decompr_len;
|
|
||||||
|
|
||||||
printf("Allocating compression state...\n");
|
|
||||||
comp = slhc_init(ctx, SLOTS, SLOTS);
|
|
||||||
OSMO_ASSERT(comp);
|
|
||||||
|
|
||||||
for (i = 0; i < PACKETS_LEN; i++) {
|
|
||||||
printf("Testing with packet No. %d\n", i);
|
|
||||||
|
|
||||||
/* Read input file */
|
|
||||||
memset(packet_ascii, 0, sizeof(packet_ascii));
|
|
||||||
memset(packet, 0, sizeof(packet));
|
|
||||||
memset(packet_compr, 0, sizeof(packet_compr));
|
|
||||||
memset(packet_decompr, 0, sizeof(packet_decompr));
|
|
||||||
|
|
||||||
OSMO_ASSERT(strlen(packets[i]) < sizeof(packet_ascii));
|
|
||||||
strcpy(packet_ascii, packets[i]);
|
|
||||||
|
|
||||||
packet_len =
|
|
||||||
osmo_hexparse(packet_ascii, packet, sizeof(packet));
|
|
||||||
check_packet(ctx, packet, packet_len);
|
|
||||||
|
|
||||||
/* Run compression/decompression algorithm */
|
|
||||||
printf("Compressing...\n");
|
|
||||||
packet_compr_len =
|
|
||||||
compress(packet_compr, packet, packet_len, comp);
|
|
||||||
printf("Decompressing...\n");
|
|
||||||
packet_decompr_len =
|
|
||||||
expand(packet_decompr, packet_compr, packet_compr_len,
|
|
||||||
comp);
|
|
||||||
OSMO_ASSERT(packet_decompr_len == packet_len);
|
|
||||||
check_packet(ctx, packet_decompr, packet_decompr_len);
|
|
||||||
|
|
||||||
/* Display results */
|
|
||||||
printf("Results:\n");
|
|
||||||
if (packet_compr_len > DISP_MAX_BYTES)
|
|
||||||
packet_compr_len = DISP_MAX_BYTES;
|
|
||||||
if (packet_len > DISP_MAX_BYTES)
|
|
||||||
packet_len = DISP_MAX_BYTES;
|
|
||||||
if (packet_decompr_len > DISP_MAX_BYTES)
|
|
||||||
packet_decompr_len = DISP_MAX_BYTES;
|
|
||||||
printf("Original Packet: (%i bytes) %s\n", packet_len,
|
|
||||||
osmo_hexdump_nospc(packet, packet_len));
|
|
||||||
printf("DecompressedPacket: (%i bytes) %s\n",
|
|
||||||
packet_decompr_len, osmo_hexdump_nospc(packet_decompr,
|
|
||||||
packet_decompr_len));
|
|
||||||
printf("CompressedPacket: (%i bytes) %s\n", packet_compr_len,
|
|
||||||
osmo_hexdump_nospc(packet_compr, packet_compr_len));
|
|
||||||
slhc_o_status(comp);
|
|
||||||
slhc_o_status(comp);
|
|
||||||
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Freeing compression state...\n");
|
|
||||||
slhc_free(comp);
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct log_info_cat gprs_categories[] = {
|
|
||||||
[DSNDCP] = {
|
|
||||||
.name = "DSNDCP",
|
|
||||||
.description =
|
|
||||||
"GPRS Sub-Network Dependent Control Protocol (SNDCP)",
|
|
||||||
.enabled = 1,.loglevel = LOGL_DEBUG,
|
|
||||||
},
|
|
||||||
[DSLHC] = {
|
|
||||||
.name = "DSLHC",
|
|
||||||
.description =
|
|
||||||
"Van Jacobson RFC1144 TCP/IP header compression (SLHC)",
|
|
||||||
.enabled = 1,.loglevel = LOGL_DEBUG,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct log_info info = {
|
|
||||||
.cat = gprs_categories,
|
|
||||||
.num_cat = ARRAY_SIZE(gprs_categories),
|
|
||||||
};
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
void *ctx;
|
|
||||||
void *log_ctx;
|
|
||||||
|
|
||||||
ctx = talloc_named_const(NULL, 0, "slhc_ctx");
|
|
||||||
log_ctx = talloc_named_const(ctx, 0, "log");
|
|
||||||
osmo_init_logging2(log_ctx, &info);
|
|
||||||
|
|
||||||
test_slhc(ctx);
|
|
||||||
|
|
||||||
printf("Done\n");
|
|
||||||
|
|
||||||
talloc_report_full(ctx, stderr);
|
|
||||||
talloc_free(log_ctx);
|
|
||||||
OSMO_ASSERT(talloc_total_blocks(ctx) == 1);
|
|
||||||
talloc_free(ctx);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* stubs */
|
|
||||||
struct osmo_prim_hdr;
|
|
||||||
int bssgp_prim_cb(struct osmo_prim_hdr *oph, void *ctx)
|
|
||||||
{
|
|
||||||
abort();
|
|
||||||
}
|
|
|
@ -1,154 +0,0 @@
|
||||||
Allocating compression state...
|
|
||||||
Testing with packet No. 0
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (64 bytes) 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27
|
|
||||||
DecompressedPacket: (64 bytes) 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27
|
|
||||||
CompressedPacket: (64 bytes) 7510004046dd40004000a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27
|
|
||||||
|
|
||||||
Testing with packet No. 1
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (91 bytes) 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
DecompressedPacket: (91 bytes) 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
CompressedPacket: (91 bytes) 7510005b46de40004000a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
|
|
||||||
Testing with packet No. 2
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (55 bytes) 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01
|
|
||||||
DecompressedPacket: (55 bytes) 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01
|
|
||||||
CompressedPacket: (55 bytes) 7510003746df40004000a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01
|
|
||||||
|
|
||||||
Testing with packet No. 3
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (55 bytes) 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01
|
|
||||||
DecompressedPacket: (55 bytes) 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01
|
|
||||||
CompressedPacket: (55 bytes) 7510003746e040004000a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01
|
|
||||||
|
|
||||||
Testing with packet No. 4
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (100 bytes) 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d
|
|
||||||
DecompressedPacket: (100 bytes) 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d
|
|
||||||
CompressedPacket: (100 bytes) 7510007446e140004000a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d
|
|
||||||
|
|
||||||
Testing with packet No. 5
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (66 bytes) 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20
|
|
||||||
DecompressedPacket: (66 bytes) 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20
|
|
||||||
CompressedPacket: (66 bytes) 7510004246e240004000a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20
|
|
||||||
|
|
||||||
Testing with packet No. 6
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (52 bytes) 4510003446dd40004006a9b3c0a8646ec0a864640017ad8b81980100f3ac984d501800e371410000fffd18fffd20fffd23fffd27
|
|
||||||
DecompressedPacket: (52 bytes) 4510003446dd40004006a9b3c0a8646ec0a864640017ad8b81980100f3ac984d501800e371410000fffd18fffd20fffd23fffd27
|
|
||||||
CompressedPacket: (52 bytes) 7510003446dd40004000a9b3c0a8646ec0a864640017ad8b81980100f3ac984d501800e371410000fffd18fffd20fffd23fffd27
|
|
||||||
|
|
||||||
Testing with packet No. 7
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (79 bytes) 4510004f46de40004006a997c0a8646ec0a864640017ad8b8198010cf3ac984d501800e3cda40000fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
DecompressedPacket: (79 bytes) 4510004f46de40004006a997c0a8646ec0a864640017ad8b8198010cf3ac984d501800e3cda40000fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
CompressedPacket: (43 bytes) df00cda4fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0
|
|
||||||
|
|
||||||
Testing with packet No. 8
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (43 bytes) 4510002b46df40004006a9bac0a8646ec0a864640017ad8b81980133f3ac989f501800e3a70a0000fffd01
|
|
||||||
DecompressedPacket: (43 bytes) 4510002b46df40004006a9bac0a8646ec0a864640017ad8b81980133f3ac989f501800e3a70a0000fffd01
|
|
||||||
CompressedPacket: (9 bytes) dc00a70a5227fffd01
|
|
||||||
|
|
||||||
Testing with packet No. 9
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (43 bytes) 4510002b46e040004006a9b9c0a8646ec0a864640017ad8b81980136f3ac98a2501800e3a7060000fffb01
|
|
||||||
DecompressedPacket: (43 bytes) 4510002b46e040004006a9b9c0a8646ec0a864640017ad8b81980136f3ac98a2501800e3a7060000fffb01
|
|
||||||
CompressedPacket: (7 bytes) db00a706fffb01
|
|
||||||
|
|
||||||
Testing with packet No. 10
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (100 bytes) 4510006846e140004006a97bc0a8646ec0a864640017ad8b81980139f3ac98a5501800e3c2d000000d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
|
|
||||||
DecompressedPacket: (100 bytes) 4510006846e140004006a97bc0a8646ec0a864640017ad8b81980139f3ac98a5501800e3c2d000000d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
|
|
||||||
CompressedPacket: (68 bytes) db00c2d00d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a
|
|
||||||
|
|
||||||
Testing with packet No. 11
|
|
||||||
packet[9]=06
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=06
|
|
||||||
Results:
|
|
||||||
Original Packet: (54 bytes) 4510003646e240004006a9acc0a8646ec0a864640017ad8b81980179f3ac98a5501800e321fb0000706f6c6c7578206c6f67696e3a20
|
|
||||||
DecompressedPacket: (54 bytes) 4510003646e240004006a9acc0a8646ec0a864640017ad8b81980179f3ac98a5501800e321fb0000706f6c6c7578206c6f67696e3a20
|
|
||||||
CompressedPacket: (18 bytes) df0021fb706f6c6c7578206c6f67696e3a20
|
|
||||||
|
|
||||||
Testing with packet No. 12
|
|
||||||
packet[9]=11
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=11
|
|
||||||
Results:
|
|
||||||
Original Packet: (57 bytes) 450000396e0b40004011a0310a0901650a09170105da003500255489a60f01000001000000000000076f736d6f636f6d036f72670000010001
|
|
||||||
DecompressedPacket: (57 bytes) 450000396e0b40004011a0310a0901650a09170105da003500255489a60f01000001000000000000076f736d6f636f6d036f72670000010001
|
|
||||||
CompressedPacket: (57 bytes) 450000396e0b40004011a0310a0901650a09170105da003500255489a60f01000001000000000000076f736d6f636f6d036f72670000010001
|
|
||||||
|
|
||||||
Testing with packet No. 13
|
|
||||||
packet[9]=11
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=11
|
|
||||||
Results:
|
|
||||||
Original Packet: (100 bytes) 450000dc9eeb00004011aeae0a0917010a090165003505da00c83fbaa60f81800001000100030004076f736d6f636f6d036f72670000010001c00c00010001000079be0004904c2b4cc00c000200010000173d00130773756e6265616d08676e756d6f6e
|
|
||||||
DecompressedPacket: (100 bytes) 450000dc9eeb00004011aeae0a0917010a090165003505da00c83fbaa60f81800001000100030004076f736d6f636f6d036f72670000010001c00c00010001000079be0004904c2b4cc00c000200010000173d00130773756e6265616d08676e756d6f6e
|
|
||||||
CompressedPacket: (100 bytes) 450000dc9eeb00004011aeae0a0917010a090165003505da00c83fbaa60f81800001000100030004076f736d6f636f6d036f72670000010001c00c00010001000079be0004904c2b4cc00c000200010000173d00130773756e6265616d08676e756d6f6e
|
|
||||||
|
|
||||||
Testing with packet No. 14
|
|
||||||
packet[9]=11
|
|
||||||
Compressing...
|
|
||||||
Decompressing...
|
|
||||||
packet[9]=11
|
|
||||||
Results:
|
|
||||||
Original Packet: (55 bytes) 45000037652340004011a91b0a0901650a091701ef1b0035002376a2c3910100000100000000000006676f6f676c650264650000010001
|
|
||||||
DecompressedPacket: (55 bytes) 45000037652340004011a91b0a0901650a091701ef1b0035002376a2c3910100000100000000000006676f6f676c650264650000010001
|
|
||||||
CompressedPacket: (55 bytes) 45000037652340004011a91b0a0901650a091701ef1b0035002376a2c3910100000100000000000006676f6f676c650264650000010001
|
|
||||||
|
|
||||||
Freeing compression state...
|
|
||||||
|
|
||||||
Done
|
|
|
@ -1,50 +1,4 @@
|
||||||
AT_INIT
|
AT_INIT
|
||||||
AT_BANNER([Regression tests.])
|
AT_BANNER([Regression tests.])
|
||||||
|
|
||||||
AT_SETUP([gprs])
|
# osmo-gbproxy only has VTY tests so far
|
||||||
AT_KEYWORDS([gprs])
|
|
||||||
cat $abs_srcdir/gprs/gprs_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/gprs/gprs_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([sgsn])
|
|
||||||
AT_KEYWORDS([sgsn])
|
|
||||||
AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/sgsn/sgsn_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/sgsn/sgsn_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([gtphub])
|
|
||||||
AT_KEYWORDS([gtphub])
|
|
||||||
AT_CHECK([test "$enable_gtphub_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/gtphub/gtphub_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/gtphub/gtphub_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([xid])
|
|
||||||
AT_KEYWORDS([xid])
|
|
||||||
AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/xid/xid_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/xid/xid_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([sndcp_xid])
|
|
||||||
AT_KEYWORDS([sndcp_xid])
|
|
||||||
AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/sndcp_xid/sndcp_xid_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/sndcp_xid/sndcp_xid_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([slhc])
|
|
||||||
AT_KEYWORDS([slhc])
|
|
||||||
AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/slhc/slhc_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/slhc/slhc_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
||||||
AT_SETUP([v42bis])
|
|
||||||
AT_KEYWORDS([v42bis])
|
|
||||||
AT_CHECK([test "$enable_sgsn_test" != no || exit 77])
|
|
||||||
cat $abs_srcdir/v42bis/v42bis_test.ok > expout
|
|
||||||
AT_CHECK([$abs_top_builddir/tests/v42bis/v42bis_test], [], [expout], [ignore])
|
|
||||||
AT_CLEANUP
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
|
||||||
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = v42bis_test.ok
|
|
||||||
|
|
||||||
noinst_PROGRAMS = v42bis_test
|
|
||||||
|
|
||||||
v42bis_test_SOURCES = v42bis_test.c
|
|
||||||
|
|
||||||
v42bis_test_LDADD = \
|
|
||||||
$(top_builddir)/src/sgsn/v42bis.o \
|
|
||||||
$(LIBOSMOCORE_LIBS)
|
|
||||||
|
|
||||||
|
|
|
@ -1,438 +0,0 @@
|
||||||
/* Test v42bis Compression/Decompression */
|
|
||||||
|
|
||||||
/* (C) 2016 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
|
|
||||||
* All Rights Reserved
|
|
||||||
*
|
|
||||||
* Author: Philipp Maier
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <osmocom/sgsn/v42bis.h>
|
|
||||||
#include <osmocom/sgsn/v42bis_private.h>
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/talloc.h>
|
|
||||||
#include <osmocom/core/utils.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/application.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
/* V.42bis compression parameters */
|
|
||||||
#define P0 3 /* Direction */
|
|
||||||
#define P1 512 /* Max number of codewords */
|
|
||||||
#define P2 20 /* Max string length */
|
|
||||||
|
|
||||||
/* V.42bis compression buffer size
|
|
||||||
* (Does not affect the compression/decompression result) */
|
|
||||||
#define MAX_BLOCK_SIZE 1024
|
|
||||||
|
|
||||||
/* Compressed sample packets, sniffed from real communication */
|
|
||||||
#define COMPR_PACKETS_LEN 33
|
|
||||||
char *compr_packets[] = {
|
|
||||||
/* K800i */
|
|
||||||
"4500010268000700004006cefac0a80002550d93d740000050462c7ba7e4d1753a80184000aad500000101080a0001a670084dafb4474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992becf8918d0c9145465441939fcc6a1950a206b7e1fca38e1145eaebc129230aeb24f57bcab011c3c68829f5efe7bfcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0085a3a4e1c3466c6c649ea048d519d5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622e7fa7dac30ac602f9af40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e54ad0a00100",
|
|
||||||
"4500010268000900004006cef8c0a80002550d93d740000050462c7ba7e4d1753a801840007e7f00000101080a0001d1cc084db0ae474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992becf8918d0c9145465441939fcc6a1950a206b7e1fca38e1145eaebc129230aeb24f57bcab011c3c68829f5efe7bfcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0085a3a4e1c3466c6c649ea048d519d5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622e7fa7dac30ac602f9af40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e54ad0a00100",
|
|
||||||
"4500010268000b00004006cef6c0a80002550d93d740000050462c7ba7e4d1753b80193fff131c00000101080a00022884084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992be4e8918d8c9045465441939fcc6a1950a206b7e1dca38e1145eaebb929230aeb24f579cab011c3c68829f5efe7afcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0084a3a4e1c3466c6c649ea048dd19c5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622c7fa7dac30ac5c2f9af40a1ef0236a502682478dff913946d0a8d1c3c68d1e35788c5002e54ad0a00100",
|
|
||||||
"4500010268000c00004006cef5c0a80002550d93d740000050462c7ba7e4d1753b80193fff65ab00000101080a0002d5f4084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992be4e8918d8c9045465441939fcc6a1950a206b7e1dca38e1145eaebb929230aeb24f579cab011c3c68829f5efe7afcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0084a3a4e1c3466c6c649ea048dd19c5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622c7fa7dac30ac5c2f9af40a1ef0236a502682478dff913946d0a8d1c3c68d1e35788c5002e54ad0a00100",
|
|
||||||
"450001022d000f00004006ac5ec0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"450001022d001000004006ac5dc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"450001022d001100004006ac5cc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"450001022d001200004006ac5bc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"4500010268001300004006ceeec0a80002550d93d740000050462c7ba7e4d1753b80193fff7b4a00000101080a0003c054084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005bbb7e0d3b964dd9b369d7b6ddb3e60e9c372ef614beeb15ac58b2660513368cf8cdd63b68f65045ab96ed9cb58947b490d1422851a34861185923d50e9aa423f0dc490363c756d8b269e4d8cac68e9cd93b70f0804143376fe13372dcc801038f193b306a6cb5b2864d9a3b629a30b1b2b5081b353848173d7a07c6133271d4e021a3068d52347184ee81c119c69c3a72d2b079c37e4489c177e6f4902183730cde71f8a0a913d6cec21866e4c091818548fdfb329cec9831834d951a337e4e2e2174891c3baef5e8d113a38f1c336e2656148a85751d1844d6c7716da52c1f240f9b2fecf8918d0c9145465441a39f0c6b1950a40ab7f1fca38e1145ecebc129234aeb24f67bcab011c3c68829f6f1ebb7cbe4c894e731668c3052163ffa3a63d9949561e4c91123c263d0105a3a4e1c3466c8c651ea04cd519d60f3a0016f14290c2471289e61735ee9193469de8c45b3554d1fa84299c88622e73afeac30ac6037aaf40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e58a50a10100",
|
|
||||||
"450001022d001400004006ac59c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"450001022d001500004006ac58c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00",
|
|
||||||
"4500010239000500004006ac5cc0a800020a0901ab40001f90c286afa741a348cb801840007fcb0000050a41a348dc41a34a440000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d69786564330057b36eedfa954dd8b165cfa6ddb3e60e9c372ef6049eab95ab57b062fd02164cf8cdd53b68f640256b16ed9cb38547b490d1e22791a043efc030b2c6a91d344547e0b99306c68eabad5fd3c871958d1d39b077e0e00183c6eddcbf67e4b89103061e337660d4b86a650d9b3477c4346162e56a11366a7080164d14c6133271d4e021a3068d5134717eee818119c69c3a72d2b079837e4489bf77e6f4902103738cdc71f8a0a9d3d58ec11866e4c091818548fcf9329cec9831834d951a33783e2ef173891c3bab69cc88c1a3674f1d347a6cdcf8134bea3a30889c8fb3da4a583e48162a37a891231b19208b8ca882c63e99d432a038fd6d8339471d238ac8d793534614d549e40b956123868d1153e4d3b77f97c99129cc63cc1861242c7df275beb2092bc3c89323467ef7fc693a4e1c3466c0c631ea04cdd09d5cf3a0e96e66e81d1848e2403cc366bcd13368d2bcf98ae6aa9a3e4c7ffe0c00",
|
|
||||||
"450001025b000a00004006ac35c0a800020a0901ab40011f90c293b0a8af5e58be5018400072a60000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c33005cbd82154b368e59b46ad9ee597307ce1b177b066fedfa35ec583665010b266cf8cdd63b68f6543d9b76ed1cb58747b490d16268d1a34961185933d50e1aa523f0dc490363c7d6d7b169e4d8cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a6cb5b2864d9a3b629a30b1b2b5081b3538461b457a07c6133238f190518366299a3843f7c0d80c634e1d3969d8bc513fa244e03b737ac890b139c6ee387cd0d4096b07610c3372e0c8c042647e7d194e76cc98c1a64a8d1940259718ba448e9dd63466c4e01134a80e1a3d38721c8a65751d1844d2c7696d65261f240d9923dcd8918d0c9045465441839fcc6a1950a606b7e1bca38e1145e8ebd929230aeb24f485cab011c3c68829f4ede3d7cbe4c814e731668c3032d3be1a3c75c6b2296be4c91123c1830e451d270e1a3364e32c758206694fb079d07c3f9a1406923812cfb0c1b9f40c9a346fc6a2d9aaa64fd4a175d33064b894bfff812b5bc2a421b3e60c8e32860e0d00",
|
|
||||||
"4500010267001200004006ac21c0a800020a0901ab40011f90c293b0a8af5e58be80184000ee770000050aaf5e6437af5e8c230000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d33006fc8de41b3c72b5cb974e7cc853ca2858c164c9d42950ac3c81aae76d04c1d81e74e1a183bc8e2d64d2307593676e4ecde8183070c1ac2892b9f91e3460e1878ccd8815183ac95356cd2dc11d3848915b245d8a8c1c1fa69d43b309e90098a878c1a3454d1c461ba0706691873eac849c3e6cdfc112514df99d343860cd23188c7e183a68e5a3b126398910347061622fcfdcb70b263c60c36556acc48bab904d32572ecd8a63123060fa54a75d0e861d224532cb4ebc020223f8e6d2b3cf920b1585d62c9936c64a82c32a20a9a826468cb80c255b98deb27758c28d25f4f5119516a27e9df54868d1836464ce9ffbf20612647a65c8f316384119effd5e0a9c3968d5b234f8e1851ae94a9ec3871d098691b87aa1334518fa6cd83063d54a93090c4d978864d50aa67d0a479c3160d59357db432fd9ba66245aa0a193aac7953278d9e3f679894c1946900",
|
|
||||||
"4500010236003000004006cf03c0a80002550d93d740020050c30e84a9441d06ac80184000c2f400000101080a00052df410fc31bd474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005cbd82154b968d59b46ad9baddb3e60e9c372ef618c6fb35ecd8b26707173e9cf80dd73b68f6544dbbb6ed1cb68a47b490d16268d1a34961185933d50e1aa523f0dc49036307d7d8b369e4e0cac68e1cda3b70f080416377efe13372dcc801038f193b306a70b5b2864d9a3b629a30b1c2b5081b35384a1b457a07c6133271d4e021a306cd52347186ee81d119c69c3a72d2b079d37e4409c277e6f49021a3738cde71f8a0a923d60ec31866e4c0918185887dfc329cec9831834d951a3380522e3174891c3baff5e8d113a38f1c336e285a1c8aa5751d1844d8c7796dc52c1f24109d33f408928d8c9145465441b39f4c6b1950a60eb7011da48e1145eeebc929238aeb24f77dcab011c3c68829f7f3efbfcbe4c814e831668c3062367ffa3a64d9989561e4c91123c363d0186a3a4e1c3466cac659ea040dd29d61f3a0097f34290c24712a9e61837ee9193469de9045c3554d9fa843870600",
|
|
||||||
"4500010260004500004006cec4c0a80002550d93d740030050c3134faac89c8b2980184000578d00000101080a000535c010fc34c8474554202f6e697276616e612e63737320485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d33006fcede41b3072c5dbb78e7dcad3ca2858c164ea14aa50ac3c81aaf76d0541d81e74e1a183bcef2f64d23c7593676e4fcde8183070c1ac6913b9f91e3460e187884c2a871d6ca1a3669ee8869c2c4cad9226cd4e0801d75ea1d184f7caac143460d1aab68e238dd0303358c3975e4a461f3c6fe88128fefcce9214306ea18c8e3f04153a7edd0b841e5c0918185c87f83329cec9831834d951a33967e2ee174891c3bbaf5e8d113a38f1c336e3ac2718a05771d1844eac7d16d252e1f241985563489928d8c954546544193900c6e1950bc3ab7a11da58e11450aea292a234aee240595cab011c3c68829050f2624cce4c814ed31668c3012f7a0fc3a6fd9c49561e4c91123ce63d0702a3b4e1c3466e0c6b1ea04cdd4a36cf3a0592f952a0c2471ccc839c3268e1aab67d0a479f316cd59357db83af59b062346ab0d1f46b47933e7ce9e329c3a0d00",
|
|
||||||
"4500010264004600004006cebfc0a80002550d93d740040050c3135bab2189da61801840008f2d00000101080a000535c410fc34dc474554202f382d4269742f4c6162656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300952fbf517b07cd1e9f77f3ee9da317f38816325a48a56a152b0c236bc4da419375049e3b6960ec50fb3b388d1c6ad9d891237c070e1e3068245f1e7d468e1b3960e0316307460db556d6b04973474c132656d4f254836376d5ab7760008da3060f193568b4a28923750f8cd530e6d4919386cd9bfc234a48be33a7870c19ab632c8fc3074d1db87630c63023078e0c2c440c2294e164c78c196caad498f1547409a94be4d8e9ad478f9e187de498710352a4542cbbebc020823f4e6f2b74f920e1c81da34a966c64bc2c32a20a1a866476cb802236ba0def2c758c2872500f521951782739d854868d1836464c39a89061612647a6788f31638411ba0aebd791cb86ae0c234f8e18891e838654da71e2a03133378e562768ae2a7d9b078d7bab5861208913f20c1bfa5acfa049f3462e1ab56afa80950a38cdc68d5a214aa4a873e74fa144474a951a00",
|
|
||||||
"4500010264005800004006ceadc0a80002550d93d740050050c31389acaf7b26538018400075c900000101080a000537d010fc354a474554202f382d4269742f41636f726e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf497b07cd1e9f76f1ea9d93f7f28816325a48a56af50e0c236bc2da418375049e3b6960ec48eb1b388d1c69d9d891137c070e1e306820570e7d468e1b3960e0316307468db456d6b04973474c132656d2f2548343b699aa57613c2113470d1e326ad064451347ea1e18aa61cca923270d9b37f94794887c674e0f193254c7501e870f9a3a6fed608c11148e0c2c440c2294e164c78c196caad498f1347409a94be4d8e1ad478f9e187de4987103520e1ca95874d78141047f1cde56e6f241c2713bc6942bd9c87059644415340cc9e89601252c741bdd57ea1851e4a09ea432a2ec4e72d0a90c1b316c8c9872502143c34c8e4ce91e63c608237315d6af1397cd5c19469e1c31023d060da9b4e3c44163466e9cac4ed0585dea360f9af6efefc0401227e81936f4b39e4193e64d5c3469d5f4f92a15709a8d1bb342944831a7ce9e42898a942a3500",
|
|
||||||
"4500010266007600004006ce8dc0a80002550d93d740060050c31431ada11fa06780184000f08e00000101080a00053b3c10fc35ef474554202f382d4269742f416d73747261642e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009733bf597b07cd9e9e78f5f2d5a379440b192da656bd9a1586913563eda0d13a02cf9d343076ac052e9c468eb56cecc819be03070f18349433973e23c78d1c30f098b103a3c65a2b6bd8a4b923a609132b6b77aac141db2ad63b309e9089a3060f193568b6a28933750f0cc830e6d4919386cd9bfd234a50be33a7870c199063308fc3074d9db87636c63023078e0c2c44103294e164c78c196caad49801957489a94be404ddaa478f9e187de4987133b2e4542cbcebc020a23f8e6f2b75f920f9d87d63cb976c64c82c32a20a9a876478cb803256ba8def2f758c28a2500f5319517a27512855868d1836464c51d8f061622647a67c8f31638491ba0defd799cba6ae0c234f8e18911e83c6d4db71e2a0314337ce562768b03a859b07cdfbab5961208943f20c1bfb5bcfa049f3662e9ab56afa849d3a388d478f5b2756bcf813e850a3484d4e9d1a00",
|
|
||||||
"4500010264007700004006ce8ec0a80002550d93d740040050c3135ddb2189e0108018400060d600000101080a00053b4010fc35e7474554202f382d4269742f41746172692e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300932bbf497b07cd1e9f76f1ea9d93d7f28816325a48a56a152b0c236b84da419375049e3b6960ec48dbfb378d1c69d9d891037c070e1e30681c4ffe7c468e1b3960e0316307468db456d6b04973474c132656d2f254832376d5ab77603c2113470d1e326ad068451347ea1e18a961cca923270d9b37f84794807c674e0f193252c7481e870f9aa1da2fc63023078e0c2c440a1e94e164c78c196caad498f1147409a94be4d8d9ad478f9e187de49871e311a4542cb9ebc020723fce6e2b73f920d968e7224a956c64b42c32a20a9a856472cb8022f4b90dee2a758c286250cf511951742731c854868d1836464c31887061612647a6708f31638491b908e9d789cb66ae0c234f8e18791e8386d4d971e2a03123378e562768ae26759b070d7bab58612089f3f10c9bf95acfa049f3262e9ab46afa8095fa378d468d5a1f469c8833e7ce9f41434a951a00",
|
|
||||||
"4500010264007c00004006ce89c0a80002550d93d740070050c314f3aefa37ceb18018400009f900000101080a00053e3410fc369e474554202f382d4269742f4170706c652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf517b07cd1e9f76f1ea9d93f7f28816325a48a56a152b0c236bc4da419375049e3b6960ec50dbfb378d1c6ad9d891037c070e1e30681c4ffe7c468e1b3960e0316307460db556d6b04973474c132656d4f254832376d5ab77603c2113470d1e326ad068451347ea1e18a961cca923270d9ba15a4b44be33a7870c19a963248fc3074d9db7762cc63023078e0c2c400da691e164c78c196caad498f1147409a94be4d8d9ad478f9e187de49871e311a4542cb9ebc020723fce6e2b73f920d1a8dd224a956c64b42c32a20a9aa16472cb8022f6b90dee2a758c2862504f521951742731e854868d1836464c29a910cd602647a6708f31638491b908e9d789cb66ae0c234f8e18791e8386d4d971e2a03123378e562768ae2e7dc3260f1af656b1c24012e7e31936f3b59e4193e64d5c346ad5f4012bd56f9a8c19b53a84281167ce9d3f8b86942a3500",
|
|
||||||
"4500010265007d00004006ce87c0a80002550d93d740050050c3138bdcaf7b296780183cec0de600000101080a00053e3410fc368e474554202f382d4269742f447261676f6e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009631bf597b07cd1e9f8df5f2d59379440b192da656bd9a1586913563eda0d13a02cf9d343076ac052e9c468eb56cecc819be03070f18349433973e23c78d1c30f098b103a3c65a2b6bd8a4b923a609132b6b79aac141db2ad63b309e9089a3068f50345bd1c499ba07c6631873eac849c3e68dfe112526df99d343868cc73198c7e183a64e5c3b1963989103470616220715ca70b263c60c36556acc804abac4d42572ecf8d6a3474f8c3e72ccb80939722a16de75601051c3dfb715a27c9074ec9e71654b363260161951054d4332bc6540192bddc6f7963a461441a847a98c28bd93208ce3d3460c1b23a6205cd89030932353bec79831c208d185f7ebcc6553d7c8932346a4c7a03175769c3868ccd08db3d5091aac4ce1e641f3fe6a561848e2883cc3c6fed63368d2bc998b66ad9a3e61a7fe4dc391e3d688132beeec0974a8519253a70600",
|
|
||||||
"4500010269008000004006ce80c0a80002550d93d740060050c3143301dfa11fa3de80183c892b5d00000101080a0005412c10fc3761474554202f382d4269742f456e74657270726973652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f6600952f67defcc66dd03d3df7f6fd3bc72fe7112d64b4b08a552b571846d6983dda75049e3b6960ec701b7c388d1c6e8dca21be03070f183496db694e63468e1b3960e0316307460db756d6b04973474c132656dcee5483c376d6ad77603c2113470d1e326ad0784513c7ea1e18ae6110959386cd1bfe234a58be33a7870c19ae63548fc347285d3b1b63989103470616220ad3c870b263c60c36556acc986aba84d52572ecfcd6a3474f8c3e72ccb81149d22a96a3756010d91fe7b715bc7c90d4f9b891a54b36326216195105cd4332476540312bdd0678973a4614a923478f531951d0dc49d299aa0c1b316c8c98d2b9e143c64c8e4c011f63c60823781be2af63970d5e19469e1c31223d060dabbce3c44163e66e1caf4ed06c853a370f1af85ab9c2401267e41936f7bd9e4193e68d5d346ed5f4216bd5701aa142bd4eac78d1e7cfa1489596b46a3500",
|
|
||||||
"4500010268008100004006ce80c0a80002550d93d740040050c313600b2189e30280183d0e896b00000101080a000541d810fc379d474554202f382d4269742f436f6d6d6f646f72652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f3300952f67defcc6ed1d347b7ceeedfb778e5fce235ac8686115ab56ae308cac316b074dd71178eea481b1c3edf0e23472b86563478ef11d3878c0a0d1fc79f519396ee48081c78c1d1835dc5a59c326cd1d314d985871cb530d8edb59b7de81f1844c1c3578c8a841e3154d1cab7b60bc8631a78e9c346cdef81f51c2f29d393d64c8781de3791c3e68ead0b5d3318699a032b01061e85086931d3366b0a95263c654d325ac2e916327b81e3d7a62f49163c64dc9a056b1fcae038348ff38c1ade0e5832424f88e2e61b29131b3c8882a682292f92d038ad9ea36c4c3d431a248433d4c6544019ea46154193662d81831a5e1c38889991c99223ec68c1146f03ed45fc72e1bbc328c3c3962a47a0c1a5671c78983c6ccdd385e9da0d9ea746e1e34f2b5728581248ec9336cf27b3d8326cd1bbb68dcaae943d62ae13420417aad78312350a1448d228523c3aad500",
|
|
||||||
"4500010263008200004006ce84c0a80002550d93d740050050c3138e0daf7b2cf180183962cb2f00000101080a000542b410fc3822474554202f382d4269742f454143412e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330096dfa4bd83668f4fbb78f5cec97b79440b192da24ead7a1586913561eda0c13a02cf9d343076a4f50d9c468eb46cecc809be03070f1834902b873e23c78d1c30f098b103a3465a2b6bd8a4b923a609132b6979aac1219baad53b309e9089a3060f193568b2a28913750f0cd530e6d4919386cd9bfc234a44be33a7870c19aa63288fc3074d9db77630c63023078e0c2c440c2294e164c78c196caad498e1347489a84be4d8e1ad478f9e187de49871035264542cbaebc020823f0e6f2b73f920e1b81da34a966c64bc2c32a20a1a866474cb801216ba8dee2c758c287250cf511951762739c854868d1836464c39a89021612647a6748f31638491b90aebd789cb66ae0c234f8e18811e8346d4d971e2a03123374e562768ac26759b074dfbaa5761208913f20c1bfa59cfa049f3262e9ab46afa7c8dfa37cdc68d59214aa4a873e7cfa04347468d1a00",
|
|
||||||
"4500010262008500004006ce82c0a80002550d93d740070050c314f5defa37d29b80183c168b6100000101080a000542c810fc37e5474554202f382d4269742f4d53582e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330095dfa0bd83668fcfba77f3cec16b79440b192da04aa56a1586913560eda0b93a02cf9d343076a0edfd9b460eb46cecc801be03070f18348e277f3e23c78d1c30f098b103a3065a2b6bd8a4b923a609132b6879aac1117b6ad53b309e9089a3060f193568b0a28903750f8cd430e6d4919386cd1bfc234a40be33a7870c19a963248fc3074d1db7762ec63023078e0c2c440a1e94e164c78c196caad498d1147409a84be4d8d9ad478f9e187de49871f33124542cb9ebc020723fce6e2b72f920d9a8fd62ca956c64b82c32a20a9a856472cb8002f6b90dee2b758c2862508f511951742731b854868d1836464c318870e1602647a6708f31638411b908e9d781cb46ae0c234f8e18791e830654d971e2a03113370e562768aa226d9b070d7baa5661208903f20c9bf958cfa049f3062e1ab46afa7885ea378d468d581f469c9853674fa0424542851a00",
|
|
||||||
"4500010265009400004006ce70c0a80002550d93d740060050c3143614a11fa986801836e1f43c00000101080a000545b010fc38b7474554202f382d4269742f4d617474656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf512b744fcfbb79f7ced17b79440b192da452b58a1586913562eda0c93a02cf9d343076a8edfd9b460eb56cecc801be03070f18348e277f3e23c78d1c30f098b103a3865a2b6bd8a4b923a609132b6a77aac111bbead53b309e9089a3060f193568b4a28923750f8cd430e6d4919386cd1bfc234a44be33a7870c19a963248fc3074d1db87630c63023078e0c2c440a1e94e164c78c196caad498f1347409a94be4d8d9ad478f9e187de498710352a4542cb9ebc020723fce6e2b74f920e1a81da34a966c64bc2c32a20a1a866472cb8022f6b90dee2c758c2862504f521951742731e854868d1836464c31889021612647a6708f31638411ba08e9d791bbd8c89323469ec7a02195769c3868cc7ca5abd5099aab4bdfe641c3de2a561848e2843cc366bed63368d2bc018a46ad9a3e60a5fe4db371a356881229eae4f97368d19152a50600",
|
|
||||||
"4500010263009900004006ce6dc0a80002550d93d740040050c313623f2189e66b801839a5739a00000101080a0005464c10fc38f3474554202f382d4269742f4f7269632e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330095dfa4bd83668f4fc578f5eab13ca2858c1651a756bd0ac3c89ab076d0601d81e74e1a183bd2fa064e23475a3676e404df8183070c1ac895439f91e3460e1878ccd8815123ad95356cd2dc11d3848995b43cd5e0904dd5ea1d184fc8c45183878c1a3459d1c489ba0706631873eac849c3e64dfe112520df99d343860cc63194c7e18326e8768c31ccc88123030b1183086538d93163069b2a356638155d22ea12397678ebd1a327461f3966dc7c0c19158bee3a3088e08fc3db8a5c3e4838dac19872251b192e8b8ca882862119dd32a084856ea3fb4a1d238a1cd483544694dd490e36956123868d11530e2a642898c99129dd63cc186144aec2fa75e0b2912bc3c8932346a0c7a01135769c3868ccc48d93d5091aab4adde641d3beea551848e2803cc3867ed63368d2bc818b26ad9a3e5fa3f64db3716356881229e6d4d91328519151a30600",
|
|
||||||
"4500010269009e00004006ce62c0a80002550d93d740060050c3143845a11fab60801840003c1c00000101080a000547d810fc38b7474554202f382d4269742f526164696f536861636b2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f330096316be6fcc6ed1d347b7a46f60b584fe7112d64b4b08a552b5718468ad6b183a6eb083c77d2c0d8e17678711a39dcb2b123c7f80e1c3c60d068febcfa8c1c3772c0c063c60e8c1a6e89b24973474c132656dcee5483e376d6ad77603c2113470d1e326ad0784513c7ea1e189361cca923270d9b37fd4794b87c674e0f193226c7781e870f9a3a74ed748c61460e1c195888307428c3c98e1933d854a93163eae9125697c8b1135c8f1e3d31fac831e3a6e449ab587ed78141847f9ce056f0f24112127cc79731d9c8a0596444153411c9fc9601c56c751be263ea1851a4a19ea732a2004fd2b0aa0c1b316c8c98d2f061c4c54c8e4c111f63c60823781fe6af6357685e234f8e18a91e838655dd71e2a03173378e572768b6469d9b074d7cad5c61208963f20c1bfc5ecfa049f3c62e1ab76afa90b55a380d48905e2b5ecc1874e8d1a44b515ab51a00",
|
|
||||||
"4500010266009f00004006ce64c0a80002550d93d740050050c313903caf7b2f9580183d5ce4ef00000101080a0005481810fc3934474554202f382d4269742f5068696c6970732e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300952fbf597b07cd1e9f8cf5f2d58379440b192da85ac5aa1586913563eda0d93a02cf9d343076acfd1d9c468eb56cecc811be03070f1834922f8f3e23c78d1c30f098b103a3c65a2b41d3dc11d3848995b53cd5e0987d35eb1d184fc8c45183878c1a345cd1c4a1ba0786631873eac8492334ff881292efcce9214386e318cbe3f0415307b19d8b31ccc88123030b1183086538d93163069b2a3566441d5d82ea1239767aebd1a327461f3966dc7c0c4915cbee3a3088e08fd3db0a5d3e483672bf9872251b192e8b8ca882e60d1a32bb6540191bdd86f7953a461439a847a98c28bc931c7c2ac3460c1b23a61c5428f830932353bcc79831c2085d85f5ebc8654357869127478c448f4183eaed3871d098991b87ab133459990ecd83a63d56ad3090c40179860d7dae67d0a4792317cd5a357d8852059c46a346ae0f234ecca9b32750a322a9520d00",
|
|
||||||
"450001049b00ae00004006cc20c0a80002550d93d740050050c31396ceaf7b396e801840009ad400000101080a0005611010fc3d6b474554202f382d4269742f6d72776f6e672e67696620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009733bf617b07cd9e9f8ef7f6d5a379440b192da85ac5aa1586913564eda0d93a02cf9d343076b00d3e9c460eb66cecc821be03070f183496379f3e23c78d1c30f098b103a3065b2b6b92de11d3848915b63dd5e0a87d35eb1d184fc814c543460d1aae68e250dd0303328c3975e4a461f346ff881294efcce9214306e418cde3f0415347ae1d8c31ccc88123030b1183086538d93163069b2a3566442d5d82ea1239767eebd1a327461f3966dc801449154bef3a3088e48ff3db0a513e48387ac7a892251b192f8b8ca882862199de32a0909d6e033c4b1d238a1cd4a3544614df490e3e956123868d11530e2a644898c99129e063cc186184a8423578ead06563d7c8932346a6c7a04175769c3868ccd48dc3d5099aac4ce3e641f31eab561848e2843cc3a628d73368d2bca18b86ad9a3e62a9fe4db3712357881229eadce933e8d09154a92a417265848c1d307afec489074e198678e6108d31a7e8882557ae4c9111357903abdf7f7b052b96ec4f3868d51e7e1b77ae74198ef7f63d1a76ce52bf50cf4c9d7355b7ddb290634cae7cb9b4dec05f135b76c178c41d347b7e16eeabc732db16325a74cf7a07869135647bff0e3e7c075bdad3732c6f4e7c070e1ed37dcb993e23c78d1c30f07807cfd6ca1a3669ee8869c2c40adb9e6a70a8d60ae30999a278c8e4e78a260ed53d3020c33088900d43ae25204aa46818239f8d6cbc631c3a120b11ff6964a864c9e6e58ca8a54b505d220727579d3b7d06bd48158b52a6f99f72b542940f923a13ed600c39838d8c974546fc6548a63761b2d36d8067a96344913a72f428951105cd9d248a9fcab011c3c688298ad30c444398c99129e063cc18313bce683578eae8b66be4c91123d363246f003b0e1a33d2b93a41939569dc3c68d6df8181248e193967d814e57a064d9a3774d1b055d387cd1caa7fd36cdcc835618f853a63d07473510655aa0100",
|
|
||||||
|
|
||||||
/* SGSN with IAXMODEM V.42bis */
|
|
||||||
"45000101a0f3d84000400679210a0901abc0a800021f90400538e210f07a827bb1501900ed7be90000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c203301312041756720323031362030393a32383a353220474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a66003f481c9162e40a97294800002068746d6c20506600588a3c6162644409183200002f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d66006f8234f87187cd1d006c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c990068bcff2823e70c9fff6b6a943f9f7e7dfbf7f1e7d7bf9f5fb1c2ef6beafcc7d3fd3b7ced646aa34f03a404fa3373a4c64113630efdec27534e7509538d7e32ff657044a8f1bb0c82067f72f71e00",
|
|
||||||
"45000101a0e9a54000400683540a0901abc0a800021f904004437442f17a4ab3b1501900ed04900000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c203301312041756720323031362030393a32373a353520474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a66003f481c9162e40a97294800002068746d6c20506600588a3c6162644409183200002f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c990068beff2823e70c9f816b6a9847af9ebd7bf8f2e9dbc7af5ff142f06bea0cc4e31d7cfced646aa74f03a444fa3373a4c64113634e7ded28554e7d1953cd7e320365744cb811bc8c82078376ff1e00",
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Uncompressed sample packets, sniffed from real communication */
|
|
||||||
#define UNCOMPR_PACKETS_LEN 11
|
|
||||||
char *uncompr_packets[] = {
|
|
||||||
"45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a",
|
|
||||||
"4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27",
|
|
||||||
"4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0",
|
|
||||||
"4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01",
|
|
||||||
"4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01",
|
|
||||||
"4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a",
|
|
||||||
"4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20",
|
|
||||||
"450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a",
|
|
||||||
"450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a",
|
|
||||||
"450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a",
|
|
||||||
"450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a",
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Calculate IP Header checksum */
|
|
||||||
static uint16_t calc_ip_csum(uint8_t *data, int len)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
uint32_t accumulator = 0;
|
|
||||||
uint16_t *pointer = (uint16_t *) data;
|
|
||||||
|
|
||||||
for (i = len; i > 1; i -= 2) {
|
|
||||||
accumulator += *pointer;
|
|
||||||
pointer++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (len % 2)
|
|
||||||
accumulator += *pointer;
|
|
||||||
|
|
||||||
accumulator = (accumulator & 0xffff) + ((accumulator >> 16) & 0xffff);
|
|
||||||
accumulator += (accumulator >> 16) & 0xffff;
|
|
||||||
return (~accumulator);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Calculate TCP/IP checksum */
|
|
||||||
static uint16_t calc_tcpip_csum(const void *ctx, uint8_t *packet, int len)
|
|
||||||
{
|
|
||||||
uint8_t *buf;
|
|
||||||
uint16_t csum;
|
|
||||||
|
|
||||||
buf = talloc_zero_size(ctx, len);
|
|
||||||
memset(buf, 0, len);
|
|
||||||
memcpy(buf, packet + 12, 8);
|
|
||||||
buf[9] = packet[9];
|
|
||||||
buf[11] = (len - 20) & 0xFF;
|
|
||||||
buf[10] = (len - 20) >> 8 & 0xFF;
|
|
||||||
memcpy(buf + 12, packet + 20, len - 20);
|
|
||||||
csum = calc_ip_csum(buf, len - 20 + 12);
|
|
||||||
talloc_free(buf);
|
|
||||||
return csum;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* A simple function to show the ascii content of a packet */
|
|
||||||
void show_packet(uint8_t *packet, int len)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
char c;
|
|
||||||
for (i = 0; i < len; i++) {
|
|
||||||
c = packet[i];
|
|
||||||
if (c >= 0x20 && c <= 0x7E)
|
|
||||||
printf("%c", c);
|
|
||||||
else
|
|
||||||
printf(".");
|
|
||||||
}
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* A struct to capture the output data of compressor and decompressor */
|
|
||||||
struct v42bis_output_buffer {
|
|
||||||
uint8_t *buf;
|
|
||||||
uint8_t *buf_pointer;
|
|
||||||
int len;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* A simple testpattern generator */
|
|
||||||
static void gen_test_pattern(uint8_t *data, int len)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
for (i = 0; i < len; i++)
|
|
||||||
data[i] = i & 0xF0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handler to capture the output data from the compressor */
|
|
||||||
void tx_v42bis_frame_handler(void *user_data, const uint8_t *pkt, int len)
|
|
||||||
{
|
|
||||||
struct v42bis_output_buffer *output_buffer =
|
|
||||||
(struct v42bis_output_buffer *)user_data;
|
|
||||||
memcpy(output_buffer->buf_pointer, pkt, len);
|
|
||||||
output_buffer->buf_pointer += len;
|
|
||||||
output_buffer->len += len;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handler to capture the output data from the decompressor */
|
|
||||||
void tx_v42bis_data_handler(void *user_data, const uint8_t *buf, int len)
|
|
||||||
{
|
|
||||||
/* stub, never used */
|
|
||||||
OSMO_ASSERT(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handler to capture the output data from the compressor */
|
|
||||||
void rx_v42bis_frame_handler(void *user_data, const uint8_t *pkt, int len)
|
|
||||||
{
|
|
||||||
/* stub, never used */
|
|
||||||
OSMO_ASSERT(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handler to capture the output data from the decompressor */
|
|
||||||
void rx_v42bis_data_handler(void *user_data, const uint8_t *buf, int len)
|
|
||||||
{
|
|
||||||
struct v42bis_output_buffer *output_buffer =
|
|
||||||
(struct v42bis_output_buffer *)user_data;
|
|
||||||
memcpy(output_buffer->buf_pointer, buf, len);
|
|
||||||
output_buffer->buf_pointer += len;
|
|
||||||
output_buffer->len += len;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Test V.42bis compression and decompression */
|
|
||||||
static void v42bis(const void *ctx, int mode, uint8_t *testvec, int len)
|
|
||||||
{
|
|
||||||
v42bis_state_t *tx_state;
|
|
||||||
v42bis_state_t *rx_state;
|
|
||||||
uint8_t *uncompressed_original;
|
|
||||||
uint8_t *compressed;
|
|
||||||
uint8_t *uncompressed;
|
|
||||||
|
|
||||||
uncompressed_original = talloc_zero_size(ctx, len);
|
|
||||||
uncompressed = talloc_zero_size(ctx, len);
|
|
||||||
|
|
||||||
/* Note: We allocate double the size for the compressed buffer,
|
|
||||||
* because in some cases the compression may increase the amount.
|
|
||||||
* of data. */
|
|
||||||
compressed = talloc_zero_size(ctx, len * 2);
|
|
||||||
|
|
||||||
int rc;
|
|
||||||
int rc_sum = 0;
|
|
||||||
struct v42bis_output_buffer compressed_data;
|
|
||||||
struct v42bis_output_buffer uncompressed_data;
|
|
||||||
|
|
||||||
/* Initalize */
|
|
||||||
tx_state =
|
|
||||||
v42bis_init(ctx, NULL, P0, P1, P2,
|
|
||||||
&tx_v42bis_frame_handler, NULL, MAX_BLOCK_SIZE,
|
|
||||||
&tx_v42bis_data_handler, NULL, MAX_BLOCK_SIZE);
|
|
||||||
OSMO_ASSERT(tx_state);
|
|
||||||
rx_state =
|
|
||||||
v42bis_init(ctx, NULL, P0, P1, P2,
|
|
||||||
&rx_v42bis_frame_handler, NULL, MAX_BLOCK_SIZE,
|
|
||||||
&rx_v42bis_data_handler, NULL, MAX_BLOCK_SIZE);
|
|
||||||
OSMO_ASSERT(rx_state);
|
|
||||||
v42bis_compression_control(tx_state, mode);
|
|
||||||
|
|
||||||
/* Setup input data */
|
|
||||||
memcpy(uncompressed_original, testvec, len);
|
|
||||||
|
|
||||||
/* Run compressor */
|
|
||||||
compressed_data.buf = compressed;
|
|
||||||
compressed_data.buf_pointer = compressed;
|
|
||||||
compressed_data.len = 0;
|
|
||||||
tx_state->compress.user_data = (&compressed_data);
|
|
||||||
rc = v42bis_compress(tx_state, uncompressed_original, len);
|
|
||||||
printf("v42bis_compress() rc=%d\n", rc);
|
|
||||||
OSMO_ASSERT(rc == 0);
|
|
||||||
rc = v42bis_compress_flush(tx_state);
|
|
||||||
printf("v42bis_compress_flush() rc=%d\n", rc);
|
|
||||||
OSMO_ASSERT(rc == 0);
|
|
||||||
|
|
||||||
/* Decompress again */
|
|
||||||
uncompressed_data.buf = uncompressed;
|
|
||||||
uncompressed_data.buf_pointer = uncompressed;
|
|
||||||
uncompressed_data.len = 0;
|
|
||||||
rx_state->decompress.user_data = (&uncompressed_data);
|
|
||||||
rc = v42bis_decompress(rx_state, compressed_data.buf,
|
|
||||||
compressed_data.len);
|
|
||||||
printf("v42bis_decompress() rc=%d\n", rc);
|
|
||||||
rc = v42bis_decompress_flush(rx_state);
|
|
||||||
rc_sum += rc;
|
|
||||||
printf("v42bis_decompress_flush() rc=%d\n", rc);
|
|
||||||
rc_sum += rc;
|
|
||||||
|
|
||||||
/* Check results */
|
|
||||||
printf("Mode: %i\n", mode);
|
|
||||||
|
|
||||||
printf("uncompressed_original= %s ASCII:",
|
|
||||||
osmo_hexdump_nospc(uncompressed_original, len));
|
|
||||||
show_packet(uncompressed_original, len);
|
|
||||||
printf("uncompressed= %s ASCII:",
|
|
||||||
osmo_hexdump_nospc(uncompressed_data.buf,
|
|
||||||
uncompressed_data.len));
|
|
||||||
show_packet(uncompressed_data.buf, uncompressed_data.len);
|
|
||||||
printf("compressed= %s ASCII:",
|
|
||||||
osmo_hexdump_nospc(compressed_data.buf, compressed_data.len));
|
|
||||||
show_packet(compressed_data.buf, compressed_data.len);
|
|
||||||
|
|
||||||
rc = memcmp(uncompressed, uncompressed_original, len);
|
|
||||||
printf("memcmp() rc=%d\n", rc);
|
|
||||||
rc_sum += rc;
|
|
||||||
OSMO_ASSERT(rc_sum == 0);
|
|
||||||
|
|
||||||
/* Free buffers and exit */
|
|
||||||
v42bis_free(tx_state);
|
|
||||||
v42bis_free(rx_state);
|
|
||||||
talloc_free(uncompressed_original);
|
|
||||||
talloc_free(compressed);
|
|
||||||
talloc_free(uncompressed);
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Test V.42bis compression and decompression with generated data*/
|
|
||||||
static void test_v42bis(const void *ctx)
|
|
||||||
{
|
|
||||||
printf("Testing compression/decompression with generated data:\n");
|
|
||||||
uint8_t testvec[1024];
|
|
||||||
int len = sizeof(testvec);
|
|
||||||
gen_test_pattern(testvec, len);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_DYNAMIC, testvec, len);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_ALWAYS, testvec, len);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_NEVER, testvec, len);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Test V.42bis compression and decompression with some TCP/IP packets */
|
|
||||||
static void test_v42bis_tcpip(const void *ctx, int packet_id)
|
|
||||||
{
|
|
||||||
uint8_t *testvec;
|
|
||||||
int len;
|
|
||||||
printf
|
|
||||||
("Testing compression/decompression with realistic TCP/IP packets:\n");
|
|
||||||
printf("Packet No.: %i\n", packet_id);
|
|
||||||
len = strlen(uncompr_packets[packet_id]);
|
|
||||||
testvec = talloc_zero_size(ctx, len);
|
|
||||||
len = osmo_hexparse(uncompr_packets[packet_id], testvec, len);
|
|
||||||
OSMO_ASSERT(len > 0);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_DYNAMIC, testvec, len);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_ALWAYS, testvec, len);
|
|
||||||
v42bis(ctx, V42BIS_COMPRESSION_MODE_NEVER, testvec, len);
|
|
||||||
talloc_free(testvec);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Test V.42bis decompression with real, sniffed packets */
|
|
||||||
static void test_v42bis_tcpip_decompress(const void *ctx, int packet_id)
|
|
||||||
{
|
|
||||||
uint8_t *compressed;
|
|
||||||
int compressed_len;
|
|
||||||
uint8_t *uncompressed;
|
|
||||||
v42bis_state_t *rx_state;
|
|
||||||
int rc;
|
|
||||||
int rc_sum = 0;
|
|
||||||
int len;
|
|
||||||
struct v42bis_output_buffer uncompressed_data;
|
|
||||||
|
|
||||||
printf
|
|
||||||
("Testing decompression with sniffed compressed TCP/IP packets:\n");
|
|
||||||
printf("Packet No.: %i\n", packet_id);
|
|
||||||
len = strlen(compr_packets[packet_id]);
|
|
||||||
|
|
||||||
uncompressed = talloc_zero_size(ctx, len);
|
|
||||||
compressed = talloc_zero_size(ctx, len);
|
|
||||||
|
|
||||||
/* Initalize */
|
|
||||||
rx_state =
|
|
||||||
v42bis_init(ctx, NULL, P0, P1, P2,
|
|
||||||
&rx_v42bis_frame_handler, NULL, MAX_BLOCK_SIZE,
|
|
||||||
&rx_v42bis_data_handler, NULL, MAX_BLOCK_SIZE);
|
|
||||||
OSMO_ASSERT(rx_state);
|
|
||||||
|
|
||||||
/* Setup input data */
|
|
||||||
compressed_len =
|
|
||||||
osmo_hexparse(compr_packets[packet_id], compressed, len);
|
|
||||||
|
|
||||||
/* Decompress */
|
|
||||||
uncompressed_data.buf = uncompressed;
|
|
||||||
uncompressed_data.buf_pointer = uncompressed;
|
|
||||||
uncompressed_data.len = 0;
|
|
||||||
rx_state->decompress.user_data = (&uncompressed_data);
|
|
||||||
rc = v42bis_decompress_flush(rx_state);
|
|
||||||
printf("v42bis_decompress_flush() rc=%d\n", rc);
|
|
||||||
rc_sum += rc;
|
|
||||||
rc = v42bis_decompress(rx_state, compressed, compressed_len);
|
|
||||||
printf("v42bis_decompress() rc=%d\n", rc);
|
|
||||||
rc_sum += rc;
|
|
||||||
rc = v42bis_decompress_flush(rx_state);
|
|
||||||
printf("v42bis_decompress_flush() rc=%d\n", rc);
|
|
||||||
rc_sum += rc;
|
|
||||||
|
|
||||||
/* Check results */
|
|
||||||
printf("compressed= %s ASCII:",
|
|
||||||
osmo_hexdump_nospc(compressed, compressed_len));
|
|
||||||
show_packet(compressed, compressed_len);
|
|
||||||
printf("uncompressed= %s ASCII:",
|
|
||||||
osmo_hexdump_nospc(uncompressed_data.buf,
|
|
||||||
uncompressed_data.len));
|
|
||||||
show_packet(uncompressed_data.buf, uncompressed_data.len);
|
|
||||||
|
|
||||||
OSMO_ASSERT(calc_ip_csum(uncompressed_data.buf, 20) == 0);
|
|
||||||
OSMO_ASSERT(calc_tcpip_csum(ctx, uncompressed_data.buf,
|
|
||||||
uncompressed_data.len) == 0);
|
|
||||||
|
|
||||||
/* Free buffers and exit */
|
|
||||||
v42bis_free(rx_state);
|
|
||||||
talloc_free(uncompressed);
|
|
||||||
talloc_free(compressed);
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct log_info_cat gprs_categories[] = {
|
|
||||||
[DV42BIS] = {
|
|
||||||
.name = "DV42BIS",
|
|
||||||
.description = "V.42bis data compression (SNDCP)",
|
|
||||||
.enabled = 1,.loglevel = LOGL_DEBUG,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct log_info info = {
|
|
||||||
.cat = gprs_categories,
|
|
||||||
.num_cat = ARRAY_SIZE(gprs_categories),
|
|
||||||
};
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
void *v42bis_ctx;
|
|
||||||
void *log_ctx;
|
|
||||||
int i;
|
|
||||||
|
|
||||||
v42bis_ctx = talloc_named_const(NULL, 0, "v42bis_ctx");
|
|
||||||
log_ctx = talloc_named_const(v42bis_ctx, 0, "log");
|
|
||||||
osmo_init_logging2(log_ctx, &info);
|
|
||||||
|
|
||||||
test_v42bis(v42bis_ctx);
|
|
||||||
|
|
||||||
for (i = 0; i < UNCOMPR_PACKETS_LEN; i++)
|
|
||||||
test_v42bis_tcpip(v42bis_ctx, i);
|
|
||||||
|
|
||||||
for (i = 0; i < COMPR_PACKETS_LEN; i++)
|
|
||||||
test_v42bis_tcpip_decompress(v42bis_ctx, i);
|
|
||||||
|
|
||||||
printf("Done\n");
|
|
||||||
talloc_report_full(v42bis_ctx, stderr);
|
|
||||||
talloc_free(log_ctx);
|
|
||||||
OSMO_ASSERT(talloc_total_blocks(v42bis_ctx) == 1);
|
|
||||||
talloc_free(v42bis_ctx);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* stubs */
|
|
||||||
struct osmo_prim_hdr;
|
|
||||||
int bssgp_prim_cb(struct osmo_prim_hdr *oph, void *ctx)
|
|
||||||
{
|
|
||||||
abort();
|
|
||||||
}
|
|
|
@ -1,648 +0,0 @@
|
||||||
Testing compression/decompression with generated data:
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
uncompressed= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
compressed= 000100000000000000003300040b4e9870f020428409478c58b89021c38633663c7c081162c42143264ea448b1e29429172f62c49871cc988d1b3972ec3867cec78f2041861c3468e44892244b4e9a74f2244a9429478d5ab99225cb96b366bd7c091366cc61c366cea449b3e6b469376fe2c49973dcb89d3b79f2ec396fdecf9f4081062d587028c184098d226cd83029c388119942ac58f129c58c19a562ecd8b12ac79021b1822c59722bc99429bda26cd9322ccb9831c9c2ac59f32ccd9c39d5e2ecd9b32dcfa041e102254ad4e0d1a348952a5ddab4a953a850a34e9d4ad5aad5ab59b36ae5cab5ebd7af60c58a1d5bb6ac59b468d3ae5dcbd6addbb771e3ca9d3b7740ddba07efde5d9837efc3bd7b27f6ed7bf1efdf8d81037f1c3c7864e1c2270f1f5e9938f1cbc58b67366e7cf3f1e39d9123ff0c00 ASCII:..........3...N.p. B..G.X..!..3f<|..b.!C&N.H...)./b..q....9r.8g... A..4h.H.$KN.t.$J.)G.Z..%...f.|..f.a.f..I...i7o...s...;y..9o...@..-Xp(...."l.0)....B.X.)....b...*..!..,Yr+..)..l.2,..1...Y.,..9.....-..A..%J....H.*]...S.P.N.J....Y.j......`...[..Y.h..].....q...;w@.....].7...{'..{........<xd..'..^.8....g6n|.....#...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
uncompressed= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
compressed= 0001330003060e2448b0e08409070f22449870c488850b19326c3863c6c3871021461c3264e2448a142b4e9972f122468c19c78cd9b89123c78e73e67cfc081264c84183468e2449b2e4a449274fa2449972d4a8952b59b26c396bd6cb973061c61c366ce64c9a346b4e9b76f3264e9c39c78ddbb99327cf9ef3e6fdfc091468d0820587124c98d028c2860d93328c189129c48a159f52cc98512ac68e1dab720c19122bc89225b7924c99d22bca962dc3b28c19932ccc9a35cfd2cc99532dce9e3ddbf20c1a142e50a2440d1e3d8a54a9d2a54d9b3a850a35ead4a954ad5abd9a35ab56ae5cbb7efd0a56acd8b165cb9a458b36eddab56cddba7d1b37aedcb97307d4ad7bf0eedd8579f33edcbb7762dfbe17fffedd1838f0c7c18347162e7cf2f0e1958913bf5cbc7866e3c6371f3fde1939f2cf00 ASCII:..3....$H......"D.p.....2l8c....!F.2d.D..+N.r."F.......#..s.|...d.A.F.$I...I'O.D.r...+Y.l9k...0a..6l.L.4kN.v.&N.9.....'........h.....L..(....2...)....R..Q*....r...+..%..L..+..-.....,..5....S-..=......P.D..=.T...M.:..5...T.Z..5.V.\.~..V...e..E.6...l..}.7...s...{....y.>..wb.......8....G..|.......\.xf..7.?..9...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
uncompressed= 00000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
compressed= 0001000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f000000000000000000000000000000000101010101010101010101010101010102020202020202020202020202020202030303030303030303030303030303030404040404040404040404040404040405050505050505050505050505050505060606060606060606060606060606060707070707070707070707070707070708080808080808080808080808080808090909090909090909090909090909090a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0 ASCII:................................. 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................................................ 0000000000000000@@@@@@@@@@@@@@@@PPPPPPPPPPPPPPPP````````````````pppppppppppppppp................................................................................................................................
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 0
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
uncompressed= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
compressed= 4500010236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c6963330062d990358b562ddb3d6beec079e3620f61bb5dbf861d5b36f0e0c287df68bd8366cfd4b369d7ce518b78440b192d820e2d7a1486913551eda0413a02cf9d343076687d1d9b460ead6cecc891bd03070f183472ef0e3e23c78d1c30f098b103a386562b6bd8a4b923a609132b5a8bb05183633451a377603c2113470d1e326ad024451327e81e189b61cca923270d9b37eb4794107c674e0f193236c7d81d870f9a3a60ed288c61460e1c195888d0b72fc3c98e1933d854a931c3a7e4124197c8b1d35a8f1e3d31fac831e34622c5a05856d78141447d9cd656c8f241e290b9c28e1fd9c8105964441534f9c9ac9601256a701bce3fea1851a4be1e9c32a2b04e52bfa70c1b316c8c9852ff7efebb4c8e4c711e63c6082364ef9faf23960d5919469e1c31123c068da0a5e3c44163666c9ca44ed018d5f9350f9aef458fc2401267e21936e6939e4193e68d58345ad5f4791a346800 ASCII:E...6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, applic3.b..5.V-.=k..y.b.a.]...[6.....h..f...i..Q.xD..-..-z...5Q..A:...40vh}..F..l........4r..>#...0......V+k...#...+Z..Q.c4Q.w`<!.G..2j.$E.'....a..#'..7.G..|gN..26......:`.(.aF...X.../....3.T.1....A....Z..=1..1.F"..XV..AD}..V..A.........YdD.4.....%jp..?..Q....2..NR....1l..R.~..L.Lq.c..#d...#..Y.F..1.<......Acfl..N....5...E..@.g..6...A...X4Z..y.4h.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
uncompressed= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
compressed= 450000030ae418a060c0802109a4bd18b68a20160896b40d493825c40808aa8631eb3267d0068b31742424406041830104ee5c5860e51a232548ae8c903162c9952b5364d088410342032266cca09973a7c7083878dedc6133874c9d3b32e0b0d983e6cc8b1164e6cc79c3c60c19a772e2c8c813e74c0c3d5c632c6dfa34ea9db656b16ae5ea15ac583664cda255cb76cf9a3b70deb8d843d86ed7af61c7960d3cb8f0e1375aefa0d933f56cdab573d4221ed142468ba0438b1e8561644d543b68908ec073270d8c1d5a5fc7a691432b1b3b7264efc0c103068ddcbb83cfc87123070c3c66ecc0a8a1d5ca1a3669ee8869c2c48ad6226cd4e0184dd4e81d184fc8c45183878c1a3449d1c409ba07c6661873eac849c3e6cdfa112504df99d343868ccd3176c7e183a60e583b0a6398910347061622f4edcb70b263c60c36556accf029b944d02572ecb4d6a3474f8c3e72ccb89148312896d5756010511fa7b515b27c903864aeb0e347363244161951054d7e32ab6540891adc86f38f3a4614a9af07a78c28ac93d4ef29c3460c1b23a6d4bf9fff2e9323539cc79831c208d9fbe7eb88654356869127478c048f412368e93871d098191b27a9133446757ecd83e67bd1a33090c49978868df9a467d0a47923168d56357d9e060d1a00 ASCII:E.......`..!...... .....I8%.....1.2g...1t$$@`A....\X`..#%H...1b..+Sd..A.B."f...s...8x..a3.L.;2........d..y.....r.....L.=\c,m.4...V.j....X6d..U.v..;p...C.n..a...<...7Z...3.l..s."..BF..C...adMT;h...s'...Z_...C+.;rd...........q#..<f.......6i..i...."l...M....O..Q....4I......f.s..I.....%....C...1v.....X;.c...G.."...p.c..6Uj..).D.%r....GO.>r...H1(..u`.Q.....|.8d...G62D..Q.M~2.e@......:F......(....).F..#.......#S...1.......eCV..'G...A#h.8q....'..4Fu~...{..0...x....g..y#..V5}.....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
uncompressed= 45000236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
compressed= 4500010236000700004006cf2cc0a80002550d93d7400000501e200da7c0c95a70801840002e3700000101080a000174140853d489474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d3133012d323030372042726f777365722f4e657446726f6e742f332e332050726f6601696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E...6....@..,....U...@..P. ....Zp..@..7........t..S..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13.-2007 Browser/NetFront/3.3 Prof.ile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 1
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
uncompressed= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
compressed= 451000014046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E...@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
uncompressed= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
compressed= 45000013060c49026e48c104ac540d5b75268ec33367066880e588d0260203ecbdda0465d08601e65a641830800081050d062450122e013561610402dc5073444d1335550400 ASCII:E.....I.nH...T.[u&..3g.h....&......e....Zd.0......$P...5aa...PsDM.5U..
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
uncompressed= 4510004046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E..@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
compressed= 451000014046dd40004006a9a7c0a8646ec0a864640017ad8b81980100f3ac984d801800e32a1600000101080a000647de06d1bf5efffd18fffd20fffd23fffd27 ASCII:E...@F.@.@.....dn..dd...........M....*.........G....^..... ..#..'
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 2
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
uncompressed= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
compressed= 451000015b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E...[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
uncompressed= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
compressed= 45000013067849126ec880210958391ab6ea4c9c8767ce0cd000cb11a14d041ed87bb509caa00d03cc25c233600001020b1a0c48a0445c026ac2c808f467402040113949080c58c2260281fd461010386fa809a348fba9583a74c3d200 ASCII:E....xI.n..!.X9...L..g.......M...{.......%.3`......H.D\.j....g@ @.9I..X.&...F..8o...H..X:t...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
uncompressed= 4510005b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E..[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
compressed= 451000015b46de40004006a98bc0a8646ec0a864640017ad8b8198010cf3ac984d801800e3867500000101080a000647df06d1bf61fffb03fffd1ffffd21fffe22fffb05fffa2001fff0fffa2301fff0fffa2701fff0fffa1801fff0 ASCII:E...[F.@.@.....dn..dd...........M.....u........G....a........!.."..... .....#.....'.........
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 3
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
uncompressed= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
compressed= 451000013746df40004006a9aec0a8646ec0a864640017ad8b8198013301f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E...7F.@.@.....dn..dd.......3........._.........G....c...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
uncompressed= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
compressed= 4500001306e848226ec880210958c51ab6ea4c9c8767ce0cd000cb11a14d046cd87bb549d4a00d03cc89d136600001020b1a0c48a0845c026ac2cc0804482000 ASCII:E.....H"n..!.X....L..g.......M.l.{.I.......6`......H..\.j....H .
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
uncompressed= 4510003746df40004006a9aec0a8646ec0a864640017ad8b81980133f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E..7F.@.@.....dn..dd.......3........_.........G....c...
|
|
||||||
compressed= 451000013746df40004006a9aec0a8646ec0a864640017ad8b8198013301f3ac989f801800e35fd700000101080a000647e106d1bf63fffd01 ASCII:E...7F.@.@.....dn..dd.......3........._.........G....c...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 4
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
uncompressed= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
compressed= 451000013746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E...7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
uncompressed= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
compressed= 4500001306e848326ec880210958c11ab6ea4c9c8767ce0cd000cb11a14d0472d87bb5a9d4a00d03cc89a936600001020b1a0c48a0845c026ac2ce08f4472000 ASCII:E.....H2n..!.X....L..g.......M.r.{.........6`......H..\.j....G .
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
uncompressed= 4510003746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E..7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
compressed= 451000013746e040004006a9adc0a8646ec0a864640017ad8b81980136f3ac98a2801800e35fd200000101080a000647e106d1bf64fffb01 ASCII:E...7F.@.@.....dn..dd.......6........_.........G....d...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 5
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
uncompressed= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
compressed= 451000017446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d3300386d6a41f3e68d193970d08cb82367c41c3940f1ecb1b97327549e0d6c0600 ASCII:E...tF.@.@..o..dn..dd.......9........{.........G....d..----------------3.8mjA....9p...#g..9@....s'T..l..
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
uncompressed= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
compressed= 4500001306dc49426ec880210958c919b6ea4c9c8767ce0cd000cb11a14d0478d87bb509d5a00d03ccf9f134600001020b1a0c48a0a45c026ac2ce40680003064e9c3973eac469530b9a376fccc8818366c41d3923e6c8018a678fcd9d3ba1f26c603300 ASCII:E.....IBn..!.X....L..g.......M.x.{.........4`......H..\.j..@h...N.9s..iS..7o....f..9#....g...;..l`3.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
uncompressed= 4510007446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E..tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
compressed= 451000017446e140004006a96fc0a8646ec0a864640017ad8b81980139f3ac98a5801800e37b9b00000101080a000647e206d1bf640d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a57656c6c636f6d6520746f20706f6c6c75780d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a ASCII:E...tF.@.@..o..dn..dd.......9........{.........G....d..------------------..Wellcome to pollux..------------------....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 6
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
uncompressed= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
compressed= 451000014246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E...BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
uncompressed= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
compressed= 45000013061449526ec8802109588d1ab6ea4c9c8767ce0cd000cb11a14d04f8d87bb509d5a00d03cc759b35600001020b1a0c48a0e45d026ac2e4cc91f3e60d9e3d23dec851c3264e8f110100 ASCII:E.....IRn..!.X....L..g.......M...{.......u.5`......H..].j........=#..Q.&N....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
uncompressed= 4510004246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E..BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
compressed= 451000014246e240004006a9a0c0a8646ec0a864640017ad8b81980179f3ac98a5801800e3dab000000101080a000647ec06d1bf6f706f6c6c7578206c6f67696e3a20 ASCII:E...BF.@.@.....dn..dd.......y..................G....opollux login:
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 7
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
uncompressed= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
compressed= 45000101a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c203301302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a206600356ad4c899f3078923528c5ce13205c908c58c9d6229f2848991112560c890a1050033432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c990068bcff2823e70c9fff6b6a943f9f7e7dfbf7f1e7d7bf9f3fb1c2ef6beafcc7d3fd3b7ced6468a34f03a404fa3373a4c64113630efdec27534e7509538d7e32ff657044a8f1bb0c82067f72f71e00 ASCII:E......@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 3.0 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: f.5j......#R.\.2......b).....%`.....3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing f.or /</titl..h..(#....kj.?.~}.......?...k.....;|.dh.O....3s..A.c...'SNu.S.~2.epD.......r...
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
uncompressed= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
compressed= 45000003088cba4561c880210976ad6bc08080ab61ab061410316948016cbbc6e0ea556b48ac291c06c04b0462c0802557ae4c914123c68c113566c894e20442032b68eae4e1d96384153670e6bc41b3b2a58c1931728c98c2e7ce1a397164d488a18369ce2364eea0017a050f9a17236cc8248247cdcc19349acee0d1e3868d1e33748c5002e54a4e2353bbc6b903e30e9f395e4774dd7347c69a3b70def81861660d993a76d0dc0182e54a12183bf4f245e317c693cf6aa202ad51a346ce9c3f481c9162e40a972948462866ec144b91274c8c8c280143860c2d368c003f72e5c88895509e908d516344123671c8bc018e244a89203f6abf09d2e0c71d36778c0639c2a60e1a3377e4d4e133e20d1b3be1e3a44dc37e848c1f32c28f47e3fd47193967f8fc5f53a3fcf9f4ebdbbf8f3fbffefdfc89157e5f53e73f9eeedfe16b27431b7d1a2025d09f9923350e9a1873e8673f9972aa4b986af493f92f8323428ddf651034f893bbf700 ASCII:E......Ea..!.v.k....a....1iH.l....UkH.)...K.b..%W.L.A#...5f....B.+h....c..6p..A.....1r......9qd....i.#d...z....#l.$.G...4........3t.P..JN#S.......9^Gt.sG..;p...af..:v.....J..;..E.....j...Q.F..?H..b...)HF(f..K.'L..(.C..-6..?r....P...QcD.6q....$J. ?j......6w..9....3w...3...;...M.~...2..G..G.9g.._S........?......~_S.?....k'C.}. %...#5...s.g?.r.K.j.../.#B..e.4.....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
uncompressed= 450001a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c2033302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 30 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
compressed= 45000101a0b41140004006b8e80a0901abc0a800021f904002d5b860b5bab240ae501900ed861d0000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205475652c203301302041756720323031362030393a34333a303720474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E......@.@.............@...`...@.P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Tue, 3.0 Aug 2016 09:43:07 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing f.or /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 8
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
uncompressed= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
compressed= 45000100e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d3432373638613865633865990066669478fa3400 ASCII:E......@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8e..ff.x.4.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
uncompressed= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
compressed= 450000030694d3e461c8001d090abcc102c192b661ab061418306588121282b894606600cfa7411b06fc91728b2001020b1a50b0128dc78017f9d62db972658a0c1a31688cb031e3c6882872ee8c8022e70c9b346cd09c81d0e008993b687a8cb88207cd0b9f334610c1a366448d1934728c20dbc3468e1e37b82a8172e5a9153475f2ccad4a640e19336bd03c3522274e1c3466eeb0015cd5091a3473601079c3a6eed3c48b1b3fae5bb5301c3472f0dc0152432b1c327b80d0983163c6532457c8a8a95ae286991d6468dce001e3460e34b76be8c8217bc760e066669478fa3400 ASCII:E.......a...........a....0e......`f...A....r. ....P........-.re...1h..1...(r..."...4l.......;hz.......3F...fD..4r. ..F..7.*.r...4u...Jd..3k.<5"'N.4f...\...4s`.y.......?.[.0.4r...RC+.2{...1c.S$W...Z....dh....F.4.k..!{.`.ff.x.4.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
uncompressed= 450000e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E.....@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
compressed= 45000100e2971b40003706026c550d93d7c0a8000200504047217f5922c903759c8018007c4fb400000101080a1153ce39002cf6e8485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613134392d3436652d34323736386138656338656330220d0a0d0a ASCII:E......@.7..lU........P@G!.Y"..u....|O........S.9.,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a149-46e-42768a8ec8ec0"....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 9
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
uncompressed= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
compressed= 45000100e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E....$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
uncompressed= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
compressed= 4500000306943b416fc8001d09ee64c202c192b661ab0614183065c8124b8adccd63766087a8411b06fc79a7852001020b1a50b0228dc08017fbfe2db972658a0c1a31688cb031e3c6882872ee8c8022e70c9b346cd09c81d0e008993b687a8cb88207cd0b9f334610c1a366448d1934728c20dbc3468e1e37b82a8172e5a9153475f2ccad4a640e19336bd03c3522274e1c3466eeb0015cd5091a3473601079c3a6eed3c48b1b3fae5bb5301c3472f0dc0152432b1c327b80d0983163c6532457c8a8a95ae286991d646cec980143760e18376ae8c8b14307991a357cd72ef1f46900 ASCII:E.....;Ao.....d.....a....0e..K...cv`..A...y.. ....P."......-.re...1h..1...(r..."...4l.......;hz.......3F...fD..4r. ..F..7.*.r...4u...Jd..3k.<5"'N.4f...\...4s`.y.......?.[.0.4r...RC+.2{...1c.S$W...Z....dl...Cv..7j...C...5|....i.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
uncompressed= 450000e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E...$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
compressed= 45000100e224f1400037067496550d93d7c0a80002005040489387ebf0c904389f8018007cec5700000101080a1153cf01002cf8fc485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343020474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338613338302d3861362d34323736383761323236383830220d0a0d0a ASCII:E....$.@.7.t.U........P@H......8....|.W.......S...,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:40 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8a380-8a6-427687a226880"....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing compression/decompression with realistic TCP/IP packets:
|
|
||||||
Packet No.: 10
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 0
|
|
||||||
uncompressed_original= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
uncompressed= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
compressed= 45000100e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E.....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 1
|
|
||||||
uncompressed_original= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
uncompressed= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
compressed= 450000030694cb4566c8001d09cca1c002c192b661ab061418306508137fb9f8fc628620c4a9411b06fc71d78e2001020b1a50b022eddb8017006f2db972658a0c1a31688cb031e3c6882872ee8c8022e70c9b346cd09c81d0e008993b687a8cb88207cd0b9f334610c1a366448d1934728c20dbc3468e1e377a2a8172e5a9153475f2ccad4a640e19336bd03c3522274e1c3466eeb0015cd5091a3473601079c3a6eed3c48b1b3fae5bb5301c3472f0dc0152432b1c327b80d0983163c6532457c8a8a95ae286991d34d29e81416347ed1b387688453383478e1d40679478fa3400 ASCII:E......Ef...........a....0e......b. ..A...q.. ....P.".....o-.re...1h..1...(r..."...4l.......;hz.......3F...fD..4r. ..F..7z*.r...4u...Jd..3k.<5"'N.4f...\...4s`.y.......?.[.0.4r...RC+.2{...1c.S$W...Z....4...AcG..8v.E3.G..@g.x.4.
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
v42bis_compress() rc=0
|
|
||||||
v42bis_compress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
Mode: 2
|
|
||||||
uncompressed_original= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
uncompressed= 450000e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e3120333034204e6f74204d6f6469666965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 304 Not Modified..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
compressed= 45000100e2b66140003706e325550d93d7c0a8000200504049fbb679bcc9051ea48018007cebea00000101080a1153cfdc002cfdb4485454502f312e312033013034204e6f74204d6f646966016965640d0a446174653a205475652c2033302041756720323031362031363a33363a343120474d540d0a5365727665723a204170616368650d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4b6565702d416c6976653a2074696d656f75743d322c206d61783d313030300d0a455461673a2022346338313336642d3138642d34353832306530393638303430220d0a0d0a ASCII:E.....a@.7..%U........P@I..y........|.........S...,..HTTP/1.1 3.04 Not Modif.ied..Date: Tue, 30 Aug 2016 16:36:41 GMT..Server: Apache..Connection: Keep-Alive..Keep-Alive: timeout=2, max=1000..ETag: "4c8136d-18d-45820e0968040"....
|
|
||||||
memcmp() rc=0
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268000700004006cefac0a80002550d93d740000050462c7ba7e4d1753a80184000aad500000101080a0001a670084dafb4474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992becf8918d0c9145465441939fcc6a1950a206b7e1fca38e1145eaebc129230aeb24f57bcab011c3c68829f5efe7bfcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0085a3a4e1c3466c6c649ea048d519d5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622e7fa7dac30ac602f9af40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e54ad0a00100 ASCII:E...h....@.......U...@..PF,{...u:..@............p.M..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.Z.z.+..Y.h.......7......k..e...|...;h.L=.v....G..."...Ga.Y.....#..I.c....i.......;p..A#...3r......;0jh...M.;b.0.....58F.5z...2q..!..MR4q.......:r..y.~D..w...!cs..q........f......}.2...1.M..3|J..t..;........3n$R..eu..D..im.,.$..+......EFTA...j.P........E...)#..$.{......).........1f.0B...:b...a...#.c..Z:N.4f..I...Q._...^.(.$q&.ac>..4i..E.UM..A..."..}.0.`/.....#jT&.G...9F.......5x.P..J....
|
|
||||||
uncompressed= 45000268000700004006cefac0a80002550d93d740000050462c7ba7e4d1753a80184000aad500000101080a0001a670084dafb4474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a49662d4d6f6469666965642d53696e63653a205475652c2032332041756720323031362031323a33343a323920474d540d0a0d0a ASCII:E..h....@.......U...@..PF,{...u:..@............p.M..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..If-Modified-Since: Tue, 23 Aug 2016 12:34:29 GMT....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 1
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268000900004006cef8c0a80002550d93d740000050462c7ba7e4d1753a801840007e7f00000101080a0001d1cc084db0ae474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992becf8918d0c9145465441939fcc6a1950a206b7e1fca38e1145eaebc129230aeb24f57bcab011c3c68829f5efe7bfcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0085a3a4e1c3466c6c649ea048d519d5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622e7fa7dac30ac602f9af40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e54ad0a00100 ASCII:E...h....@.......U...@..PF,{...u:..@.~............M..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.Z.z.+..Y.h.......7......k..e...|...;h.L=.v....G..."...Ga.Y.....#..I.c....i.......;p..A#...3r......;0jh...M.;b.0.....58F.5z...2q..!..MR4q.......:r..y.~D..w...!cs..q........f......}.2...1.M..3|J..t..;........3n$R..eu..D..im.,.$..+......EFTA...j.P........E...)#..$.{......).........1f.0B...:b...a...#.c..Z:N.4f..I...Q._...^.(.$q&.ac>..4i..E.UM..A..."..}.0.`/.....#jT&.G...9F.......5x.P..J....
|
|
||||||
uncompressed= 45000268000900004006cef8c0a80002550d93d740000050462c7ba7e4d1753a801840007e7f00000101080a0001d1cc084db0ae474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a49662d4d6f6469666965642d53696e63653a205475652c2032332041756720323031362031323a33343a323920474d540d0a0d0a ASCII:E..h....@.......U...@..PF,{...u:..@.~............M..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..If-Modified-Since: Tue, 23 Aug 2016 12:34:29 GMT....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 2
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268000b00004006cef6c0a80002550d93d740000050462c7ba7e4d1753b80193fff131c00000101080a00022884084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992be4e8918d8c9045465441939fcc6a1950a206b7e1dca38e1145eaebb929230aeb24f579cab011c3c68829f5efe7afcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0084a3a4e1c3466c6c649ea048dd19c5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622c7fa7dac30ac5c2f9af40a1ef0236a502682478dff913946d0a8d1c3c68d1e35788c5002e54ad0a00100 ASCII:E...h....@.......U...@..PF,{...u;..?...........(..M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.Z.z.+..Y.h.......7......k..e...|...;h.L=.v....G..."...Ga.Y.....#..I.c....i.......;p..A#...3r......;0jh...M.;b.0.....58F.5z...2q..!..MR4q.......:r..y.~D..w...!cs..q........f......}.2...1.M..3|J..t..;........3n$R..eu..D..im.,.$..+......EFTA...j.P........E...)#..$.y......).........1f.0B...:b...a...#.c..J:N.4f..I....._...^.(.$q&.ac>..4i..E.UM..A..."..}.0.\/.....#jP&.G...9F.......5x.P..J....
|
|
||||||
uncompressed= 45000268000b00004006cef6c0a80002550d93d740000050462c7ba7e4d1753b80193fff131c00000101080a00022884084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a49662d4d6f6469666965642d53696e63653a205475652c2032332041756720323031362031323a33343a323920474d540d0a0d0a ASCII:E..h....@.......U...@..PF,{...u;..?...........(..M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..If-Modified-Since: Tue, 23 Aug 2016 12:34:29 GMT....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 3
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268000c00004006cef5c0a80002550d93d740000050462c7ba7e4d1753b80193fff65ab00000101080a0002d5f4084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005ab97a052b960d59b368d5b2ddb3e60e9c372ef610b6dbf56bd8b165030f2e7cf88dd63b68f64c3d9b76ed1cb58847b490d122e8d0a24761185913d50e1aa423f0dc49036387d6d7b169e4d0cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a68b5b2864d9a3b629a30b1a2b5081b35384613357a07c6133271d4e021a3064d52347182ee81b119c69c3a72d2b079b37e4409c177e6f4902163738cdd71f8a0a903d68ec21866e4c0918185087dfb329cec9831834d951a337c4a2e1174891c3badf5e8d113a38f1c336e24520c8a65751d1844d4c7696d852c1f240e992be4e8918d8c9045465441939fcc6a1950a206b7e1dca38e1145eaebb929230aeb24f579cab011c3c68829f5efe7afcbe4c814e731668c3042f6fef93a62d9909561e4c91123c163d0084a3a4e1c3466c6c649ea048dd19c5ff3a0f95ef4280c2471269e61633ee9193469de8845a3554d9fa74199c48622c7fa7dac30ac5c2f9af40a1ef0236a502682478dff913946d0a8d1c3c68d1e35788c5002e54ad0a00100 ASCII:E...h....@.......U...@..PF,{...u;..?.e............M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.Z.z.+..Y.h.......7......k..e...|...;h.L=.v....G..."...Ga.Y.....#..I.c....i.......;p..A#...3r......;0jh...M.;b.0.....58F.5z...2q..!..MR4q.......:r..y.~D..w...!cs..q........f......}.2...1.M..3|J..t..;........3n$R..eu..D..im.,.$..+......EFTA...j.P........E...)#..$.y......).........1f.0B...:b...a...#.c..J:N.4f..I....._...^.(.$q&.ac>..4i..E.UM..A..."..}.0.\/.....#jP&.G...9F.......5x.P..J....
|
|
||||||
uncompressed= 45000268000c00004006cef5c0a80002550d93d740000050462c7ba7e4d1753b80193fff65ab00000101080a0002d5f4084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a49662d4d6f6469666965642d53696e63653a205475652c2032332041756720323031362031323a33343a323920474d540d0a0d0a ASCII:E..h....@.......U...@..PF,{...u;..?.e............M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..If-Modified-Since: Tue, 23 Aug 2016 12:34:29 GMT....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 4
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d000f00004006ac5ec0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..^........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d000f00004006ac5ec0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..^........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 5
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d001000004006ac5dc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..]........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d001000004006ac5dc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..]........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 6
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d001100004006ac5cc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..\........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d001100004006ac5cc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..\........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 7
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d001200004006ac5bc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..[........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d001200004006ac5bc0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..[........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 8
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268001300004006ceeec0a80002550d93d740000050462c7ba7e4d1753b80193fff7b4a00000101080a0003c054084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005bbb7e0d3b964dd9b369d7b6ddb3e60e9c372ef614beeb15ac58b2660513368cf8cdd63b68f65045ab96ed9cb58947b490d1422851a34861185923d50e9aa423f0dc490363c756d8b269e4d8cac68e9cd93b70f0804143376fe13372dcc801038f193b306a6cb5b2864d9a3b629a30b1b2b5081b353848173d7a07c6133271d4e021a3068d52347184ee81c119c69c3a72d2b079c37e4489c177e6f4902183730cde71f8a0a913d6cec21866e4c091818548fdfb329cec9831834d951a337e4e2e2174891c3baef5e8d113a38f1c336e2656148a85751d1844d6c7716da52c1f240f9b2fecf8918d0c9145465441a39f0c6b1950a40ab7f1fca38e1145ecebc129234aeb24f67bcab011c3c68829f6f1ebb7cbe4c894e731668c3052163ffa3a63d9949561e4c91123c263d0105a3a4e1c3466c8c651ea04cd519d60f3a0016f14290c2471289e61735ee9193469de8c45b3554d1fa84299c88622e73afeac30ac6037aaf40a9ef0236a54268247cd7f923946d0a8d1c3c68d1e35788c5002e58a50a10100 ASCII:E...h....@.......U...@..PF,{...u;..?.{J.........T.M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.[.~.;.M..i.......7.......X.f..6....;h.PE......G...B(Q.Ha.Y#....#..I.c.V..i.......;p..AC7o.3r......;0jl...M.;b.0.....58H.=z...2q..!...R4q.......:r..y.~D..w...!.s..q........f.....H..2...1.M..3~N.!t..;........3n&V...u..D..qm.,.$../......EFTA...k.P........E...)#J.$.{......).........1f.0R.?.:c...a...#.c..Z:N.4f..Q...Q.`...o.).$q(.as^..4i..E.UM..B...".:..0.`7.....#jT&.G...9F.......5x.P...P...
|
|
||||||
uncompressed= 45000268001300004006ceeec0a80002550d93d740000050462c7ba7e4d1753b80193fff7b4a00000101080a0003c054084dc558474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a49662d4d6f6469666965642d53696e63653a205475652c2032332041756720323031362031323a33343a323920474d540d0a0d0a ASCII:E..h....@.......U...@..PF,{...u;..?.{J.........T.M.XGET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..If-Modified-Since: Tue, 23 Aug 2016 12:34:29 GMT....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 9
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d001400004006ac59c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..Y........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d001400004006ac59c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..Y........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 10
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001022d001500004006ac58c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e33005cbd8215bb67cd1d386f5cecd1cb766ad5ab59b7decdbbb7ef1ba877d0ec49daf56bd83960fd8e6821a3c5cd9c3b7bc230b2e6a81d343e47e0b99306c60ea8a54fd3c801958d1d39a877e0e00183c6ebd8b767e4b89103061e337660d4806a650d9b3477c4346162056a11366a7064d6c9f30e8c2764e2a8c143460d9a9f68e2dcdc0323328c3975e4a461f326fc881278efcce9214346e418b1e3f04153c7aa9dfd31ccc88123030b11f5ec6538d93163069b2a3566d0445ce2e612397646d398118347cd9a3a68f49848f12696d0756010011f67b415ad7c90fc17be5f224536322e16195105cd7b32a16540397adb06718a3a461459afe7a58c28a293acb729c3460c1b23a6ac6ffffe2d93235388c79831c288d6f6ddeb6065a355869127478cdcae79b3739c3868cc648df3d3091a9e31abe641537d674f1848e2203cc386fbcf3368d2bcc18a06aa9a3e456fde0c00 ASCII:E...-....@..X........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application3.\....g..8o\...vj..Y........w..I..k.9`..h!....;{.0....4>G........O......9.w........g......3v`..je..4w.4ab.j.6jpd.....'d...CF...h....#2.9u..a.&...x...!CF.....AS....1...#.....e8.1c..*5f.D\...9vF....G..:h..H.&..u`...g...|...._"E62...Q..{2.e@9z..q.:F.Y....(....).F..#..o..-.#S...1......`e.U..'G...y.s.8h.d......1..AS}gO.H. <....3h.......>Eo...
|
|
||||||
uncompressed= 4500022d001500004006ac58c0a800020a0901ab40011f4046a2f5a8e0a618025018400093480000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383030300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..-....@..X........@..@F.......P.@..H..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8000..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 11
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010239000500004006ac5cc0a800020a0901ab40001f90c286afa741a348cb801840007fcb0000050a41a348dc41a34a440000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d69786564330057b36eedfa954dd8b165cfa6ddb3e60e9c372ef6049eab95ab57b062fd02164cf8cdd53b68f640256b16ed9cb38547b490d1e22791a043efc030b2c6a91d344547e0b99306c68eabad5fd3c871958d1d39b077e0e00183c6eddcbf67e4b89103061e337660d4b86a650d9b3477c4346162e56a11366a7080164d14c6133271d4e021a3068d5134717eee818119c69c3a72d2b079837e4489bf77e6f4902103738cdc71f8a0a9d3d58ec11866e4c091818548fcf9329cec9831834d951a33783e2ef173891c3bab69cc88c1a3674f1d347a6cdcf8134bea3a30889c8fb3da4a583e48162a37a891231b19208b8ca882c63e99d432a038fd6d8339471d238ac8d793534614d549e40b956123868d1153e4d3b77f97c99129cc63cc1861242c7df275beb2092bc3c89323467ef7fc693a4e1c3466c0c631ea04cdd09d5cf3a0e96e66e81d1848e2403cc366bcd13368d2bcf98ae6aa9a3e4c7ffe0c00 ASCII:E...9....@..\........@.......A.H...@.......A.H.A.JD..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.W.n...M..e.......7.......W.b...L...;h.@%k.....G....'..C..0....4EG........_..q...9.w........g......3v`..je..4w.4ab.j.6jp..M...2q..!...Q4q~......:r..y.~D..w...!.s..q........f.....H..2...1.M..3x>..s..;.i....gO.4zl...K.:0.....JX>H.*7..#.. .....>..2.8.m.9G.#....SF..I...a#...S.......).c..a$,}.u...+...#F~..i:N.4f..1.....\...nf...H.@<.f..3h.......>L....
|
|
||||||
uncompressed= 45000239000500004006ac5cc0a800020a0901ab40001f90c286afa741a348cb801840007fcb0000050a41a348dc41a34a440000474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383038300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..9....@..\........@.......A.H...@.......A.H.A.JD..GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8080..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 12
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001025b000a00004006ac35c0a800020a0901ab40011f90c293b0a8af5e58be5018400072a60000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c33005cbd82154b368e59b46ad9ee597307ce1b177b066fedfa35ec583665010b266cf8cdd63b68f6543d9b76ed1cb58747b490d16268d1a34961185933d50e1aa523f0dc490363c7d6d7b169e4d8cac68e1cd93b70f0804123f7eee03372dcc801038f193b306a6cb5b2864d9a3b629a30b1b2b5081b3538461b457a07c6133238f190518366299a3843f7c0d80c634e1d3969d8bc513fa244e03b737ac890b139c6ee387cd0d4096b07610c3372e0c8c042647e7d194e76cc98c1a64a8d1940259718ba448e9dd63466c4e01134a80e1a3d38721c8a65751d1844d2c7696d65261f240d9923dcd8918d0c9045465441839fcc6a1950a606b7e1bca38e1145e8ebd929230aeb24f485cab011c3c68829f4ede3d7cbe4c814e731668c3032d3be1a3c75c6b2296be4c91123c1830e451d270e1a3364e32c758206694fb079d07c3f9a1406923812cfb0c1b9f40c9a346fc6a2d9aaa64fd4a175d33064b894bfff812b5bc2a421b3e60c8e32860e0d00 ASCII:E...[....@..5........@........^X.P.@.r...GET /redphone.png HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed,3.\...K6.Y.j..Ys....{.o..5.X6e..&l...;h.T=.v....G...bh..Ia.Y3....#..I.c....i.......;p..A#...3r......;0jl...M.;b.0.....58F.Ez...28..Q.f).8C....cN.9i..Q?.D.;sz...9..8|...k.a.3r...Bd~}.Nv....J..@%...D...4f...4...=8r..eu..D..ime&.$..#......EFTA...j.P........E...)#..$........).........1f.02...<u..)k...#...E.'..3d.,u..iO.y.|?....8........4o.....O..u.0d.....+[..!....2....
|
|
||||||
uncompressed= 4500025b000a00004006ac35c0a800020a0901ab40011f90c293b0a8af5e58be5018400072a60000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383038300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f31302e392e312e3137313a383038302f0d0a0d0a ASCII:E..[....@..5........@........^X.P.@.r...GET /redphone.png HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8080..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://10.9.1.171:8080/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 13
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010267001200004006ac21c0a800020a0901ab40011f90c293b0a8af5e58be80184000ee770000050aaf5e6437af5e8c230000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d33006fc8de41b3c72b5cb974e7cc853ca2858c164c9d42950ac3c81aae76d04c1d81e74e1a183bc8e2d64d2307593676e4ecde8183070c1ac2892b9f91e3460e1878ccd8815183ac95356cd2dc11d3848915b245d8a8c1c1fa69d43b309e90098a878c1a3454d1c461ba0706691873eac849c3e6cdfc112514df99d343860cd23188c7e183a68e5a3b126398910347061622fcfdcb70b263c60c36556acc48bab904d32572ecd8a63123060fa54a75d0e861d224532cb4ebc020223f8e6d2b3cf920b1585d62c9936c64a82c32a20a9a826468cb80c255b98deb27758c28d25f4f5119516a27e9df54868d1836464ce9ffbf20612647a65c8f316384119effd5e0a9c3968d5b234f8e1851ae94a9ec3871d098691b87aa1334518fa6cd83063d54a93090c4d978864d50aa67d0a479c3160d59357db432fd9ba66245aa0a193aac7953278d9e3f679894c1946900 ASCII:E...g....@..!........@........^X...@..w.....^d7.^.#..GET /redphone.png HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xm3.o..A..+\.t...<....L.B......v.L...N..;...M#.Y6v..........+...F..x...Q...5l........E.....i.;0.......4T..a...i.s..I.....%....C...1......Z;.c...G.."...p.c..6Uj.H....%r...1#...Ju..a.$S,... "?.m+<. .X]b..ld.,2....dh...U...'u.(._OQ.Qj'..T...6FL... a&G.\.1c..........[#O..Q....8q..i....4Q.....=T.0...x.MP.g..y...Y5}.2...bE...:.yS'..?g....i.
|
|
||||||
uncompressed= 45000267001200004006ac21c0a800020a0901ab40011f90c293b0a8af5e58be80184000ee770000050aaf5e6437af5e8c230000474554202f72656470686f6e652e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a2031302e392e312e3137313a383038300d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f31302e392e312e3137313a383038302f0d0a0d0a ASCII:E..g....@..!........@........^X...@..w.....^d7.^.#..GET /redphone.png HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: 10.9.1.171:8080..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://10.9.1.171:8080/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 14
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010236003000004006cf03c0a80002550d93d740020050c30e84a9441d06ac80184000c2f400000101080a00052df410fc31bd474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d6978656433005cbd82154b968d59b46ad9baddb3e60e9c372ef618c6fb35ecd8b26707173e9cf80dd73b68f6544dbbb6ed1cb68a47b490d16268d1a34961185933d50e1aa523f0dc49036307d7d8b369e4e0cac68e1cda3b70f080416377efe13372dcc801038f193b306a70b5b2864d9a3b629a30b1c2b5081b35384a1b457a07c6133271d4e021a306cd52347186ee81d119c69c3a72d2b079d37e4409c277e6f49021a3738cde71f8a0a923d60ec31866e4c0918185887dfc329cec9831834d951a3380522e3174891c3baff5e8d113a38f1c336e285a1c8aa5751d1844d8c7796dc52c1f24109d33f408928d8c9145465441b39f4c6b1950a60eb7011da48e1145eeebc929238aeb24f77dcab011c3c68829f7f3efbfcbe4c814e831668c3062367ffa3a64d9989561e4c91123c363d0186a3a4e1c3466cac659ea040dd29d61f3a0097f34290c24712a9e61837ee9193469de9045c3554d9fa843870600 ASCII:E...6.0..@.......U...@..P....D.....@...........-...1.GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed3.\...K..Y.j.......7.....5...g..>....;h.TM......G...bh..Ia.Y3....#..I.c....i.......;p..Acw..3r......;0jp...M.;b.0.....58J.Ez...2q..!...R4q.......:r..y.~D..w...!.s..q...#....f......}.2...1.M..3.R.1t..;........3n(Z...u..D..ym.,.$..3......EFTA..Lk.P........E...)#..$.}......).........1f.0b6..:d...a...#.c..j:N.4f..Y.....a....4).$q*.a.~..4i..E.UM..C...
|
|
||||||
uncompressed= 45000236003000004006cf03c0a80002550d93d740020050c30e84a9441d06ac80184000c2f400000101080a00052df410fc31bd474554202f20485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a0d0a ASCII:E..6.0..@.......U...@..P....D.....@...........-...1.GET / HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 15
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010260004500004006cec4c0a80002550d93d740030050c3134faac89c8b2980184000578d00000101080a000535c010fc34c8474554202f6e697276616e612e63737320485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d33006fcede41b3072c5dbb78e7dcad3ca2858c164ea14aa50ac3c81aaf76d0541d81e74e1a183bcef2f64d23c7593676e4fcde8183070c1ac6913b9f91e3460e187884c2a871d6ca1a3669ee8869c2c4cad9226cd4e0801d75ea1d184f7caac143460d1aab68e238dd0303358c3975e4a461f3c6fe88128fefcce9214306ea18c8e3f04153a7edd0b841e5c0918185c87f83329cec9831834d951a33967e2ee174891c3bbaf5e8d113a38f1c336e3ac2718a05771d1844eac7d16d252e1f241985563489928d8c954546544193900c6e1950bc3ab7a11da58e11450aea292a234aee240595cab011c3c68829050f2624cce4c814ed31668c3012f7a0fc3a6fd9c49561e4c91123ce63d0702a3b4e1c3466e0c6b1ea04cdd4a36cf3a0592f952a0c2471ccc839c3268e1aab67d0a479f316cd59357db83af59b062346ab0d1f46b47933e7ce9e329c3a0d00 ASCII:E...`.E..@.......U...@..P..O....)..@.W.........5...4.GET /nirvana.css HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xm3.o..A..,].x...<....N.J......v.T...N..;...M#.Y6v..........;...F..x...q...6i..i...."l....u...O|..CF...h.8...5.9u..a.........!C......AS....A........2...1.M..3.~..t..;........3n:.q..w..D...m%..$..V4.....EFTA...n.P.:......E..)*#J.$........)..&$.....1f.0....:o...a...#.c.p*;N.4f........l..Y/.*.$q..9.&...g..y...Y5}.:...#F...F.y3...2.:..
|
|
||||||
uncompressed= 45000260004500004006cec4c0a80002550d93d740030050c3134faac89c8b2980184000578d00000101080a000535c010fc34c8474554202f6e697276616e612e63737320485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..`.E..@.......U...@..P..O....)..@.W.........5...4.GET /nirvana.css HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 16
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010264004600004006cebfc0a80002550d93d740040050c3135bab2189da61801840008f2d00000101080a000535c410fc34dc474554202f382d4269742f4c6162656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300952fbf517b07cd1e9f77f3ee9da317f38816325a48a56a152b0c236bc4da419375049e3b6960ec50fb3b388d1c6ad9d891237c070e1e3068245f1e7d468e1b3960e0316307460db556d6b04973474c132656d4f254836376d5ab7760008da3060f193568b4a28923750f8cd530e6d4919386cd9bfc234a48be33a7870c19ab632c8fc3074d1db87630c63023078e0c2c440c2294e164c78c196caad498f1547409a94be4d8e9ad478f9e187de498710352a4542cbbebc020823f4e6f2b74f920e1c81da34a966c64bc2c32a20a1a866476cb802236ba0def2c758c2872500f521951782739d854868d1836464c39a89061612647a6788f31638411ba0aebd791cb86ae0c234f8e18891e838654da71e2a03133378e562768ae2a7d9b078d7bab5861208913f20c1bfa5acfa049f3462e1ab56afa80950a38cdc68d5a214aa4a873e74fa144474a951a00 ASCII:E...d.F..@.......U...@..P..[.!..a..@..-........5...4.GET /8-Bit/Label.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3../.Q{....w........2ZH.j.+.#k..A.u..;i`.P.;8..j...#|...0h$_.}F..9`.1c.F..V..IsGL.&V..T.cv..w`......5h...#u...0........#JH.3.....c,...M..v0.0#...,D."..d...l....Tt..K....G...}..q.R.T,... .?No+t. ....J.ld.,2....dv.."6...,u.(rP.R.Qx'9.T...6FL9..aa&G.x.1c...........#O......T.q..137.V'h.*}...{.Xa ......Z..I.F...j....8...Z!J..s.O.DGJ...
|
|
||||||
uncompressed= 45000264004600004006cebfc0a80002550d93d740040050c3135bab2189da61801840008f2d00000101080a000535c410fc34dc474554202f382d4269742f4c6162656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..d.F..@.......U...@..P..[.!..a..@..-........5...4.GET /8-Bit/Label.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 17
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010264005800004006ceadc0a80002550d93d740050050c31389acaf7b26538018400075c900000101080a000537d010fc354a474554202f382d4269742f41636f726e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf497b07cd1e9f76f1ea9d93f7f28816325a48a56af50e0c236bc2da418375049e3b6960ec48eb1b388d1c69d9d891137c070e1e306820570e7d468e1b3960e0316307468db456d6b04973474c132656d2f2548343b699aa57613c2113470d1e326ad064451347ea1e18aa61cca923270d9b37f94794887c674e0f193254c7501e870f9a3a6fed608c11148e0c2c440c2294e164c78c196caad498f1347409a94be4d8e1ad478f9e187de4987103520e1ca95874d78141047f1cde56e6f241c2713bc6942bd9c87059644415340cc9e89601252c741bdd57ea1851e4a09ea432a2ec4e72d0a90c1b316c8c9872502143c34c8e4ce91e63c608237315d6af1397cd5c19469e1c31023d060da9b4e3c44163466e9cac4ed0585dea360f9af6efefc0401227e81936f4b39e4193e64d5c3469d5f4f92a15709a8d1bb342944831a7ce9e42898a942a3500 ASCII:E...d.X..@.......U...@..P.....{&S..@.u.........7...5JGET /8-Bit/Acorn.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..-.I{....v........2ZH.j...#k..A.u..;i`.H..8..i....|...0h W.}F..9`.1c.F..V..IsGL.&V..T.C...Wa<!.G..2j.dE.G....a..#'..7.G..|gN..2T.P....:o.`.....,D."..d...l....4t..K....G...}..q.R...Xt..A....V..A.q;..+..pYdD.4.....%,t..W..Q....2..Nr....1l..rP!C.L.L..c..#s......\.F..1.=......AcFn..N.X].6......@.'..6...A..M\4i...*.p....B.H1...B...*5.
|
|
||||||
uncompressed= 45000264005800004006ceadc0a80002550d93d740050050c31389acaf7b26538018400075c900000101080a000537d010fc354a474554202f382d4269742f41636f726e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..d.X..@.......U...@..P.....{&S..@.u.........7...5JGET /8-Bit/Acorn.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 18
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010266007600004006ce8dc0a80002550d93d740060050c31431ada11fa06780184000f08e00000101080a00053b3c10fc35ef474554202f382d4269742f416d73747261642e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009733bf597b07cd9e9e78f5f2d5a379440b192da656bd9a1586913563eda0d13a02cf9d343076ac052e9c468eb56cecc819be03070f18349433973e23c78d1c30f098b103a3c65a2b6bd8a4b923a609132b6b77aac141db2ad63b309e9089a3060f193568b6a28933750f0cc830e6d4919386cd9bfd234a50be33a7870c199063308fc3074d9db87636c63023078e0c2c44103294e164c78c196caad49801957489a94be404ddaa478f9e187de4987133b2e4542cbcebc020a23f8e6f2b75f920f9d87d63cb976c64c82c32a20a9a876478cb803256ba8def2f758c28a2500f5319517a27512855868d1836464c51d8f061622647a67c8f31638491ba0defd799cba6ae0c234f8e18911e83c6d4db71e2a0314337ce562768b03a859b07cdfbab5961208943f20c1bfb5bcfa049f3662e9ab56afa849d3a388d478f5b2756bcf813e850a3484d4e9d1a00 ASCII:E...f.v..@.......U...@..P..1....g..@...........;<..5.GET /8-Bit/Amstrad.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..3.Y{....x....yD..-.V.....5c...:...40v....F..l........4.3.>#...0......Z+k...#...+kw..A.*.;0.......5h...3u...0........#JP.3.....c0...M..v6.0#...,D.2..d...l.....t..K....G...}..q3..T,... .?.o+u. ..}c..ld.,2....dx..2V.../u.(.P.S.Qz'Q(U...6FLQ..ab&G.|.1c...........#O........q..1C7.V'h.:......Ya .C....[..I.f...j...:8.G.['V....P.HMN...
|
|
||||||
uncompressed= 45000266007600004006ce8dc0a80002550d93d740060050c31431ada11fa06780184000f08e00000101080a00053b3c10fc35ef474554202f382d4269742f416d73747261642e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..f.v..@.......U...@..P..1....g..@...........;<..5.GET /8-Bit/Amstrad.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 19
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010264007700004006ce8ec0a80002550d93d740040050c3135ddb2189e0108018400060d600000101080a00053b4010fc35e7474554202f382d4269742f41746172692e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300932bbf497b07cd1e9f76f1ea9d93d7f28816325a48a56a152b0c236b84da419375049e3b6960ec48dbfb378d1c69d9d891037c070e1e30681c4ffe7c468e1b3960e0316307468db456d6b04973474c132656d2f254832376d5ab77603c2113470d1e326ad068451347ea1e18a961cca923270d9b37f84794807c674e0f193252c7481e870f9aa1da2fc63023078e0c2c440a1e94e164c78c196caad498f1147409a94be4d8d9ad478f9e187de49871e311a4542cb9ebc020723fce6e2b73f920d968e7224a956c64b42c32a20a9a856472cb8022f4b90dee2a758c286250cf511951742731c854868d1836464c31887061612647a6708f31638491b908e9d789cb66ae0c234f8e18791e8386d4d971e2a03123378e562768ae26759b070d7bab58612089f3f10c9bf95acfa049f3262e9ab46afa8095fa378d468d5a1f469c8833e7ce9f41434a951a00 ASCII:E...d.w..@.......U...@..P..].!.....@.`.........;@..5.GET /8-Bit/Atari.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..+.I{....v........2ZH.j.+.#k..A.u..;i`.H..7..i....|...0h.O.|F..9`.1c.F..V..IsGL.&V..T.#v..w`<!.G..2j.hE.G....a..#'..7.G..|gN..2R.H....../.0#...,D....d...l.....t..K....G...}..q...T,... r?.n+s. .h."J.ld.,2....dr.."....*u.(bP.Q.Qt'1.T...6FL1.paa&G.p.1c........f..#O..y.....q..1#7.V'h.&u...{.Xa ......Z..I.&...j....7.F.Z.F..3...ACJ...
|
|
||||||
uncompressed= 45000264007700004006ce8ec0a80002550d93d740040050c3135ddb2189e0108018400060d600000101080a00053b4010fc35e7474554202f382d4269742f41746172692e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..d.w..@.......U...@..P..].!.....@.`.........;@..5.GET /8-Bit/Atari.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 20
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010264007c00004006ce89c0a80002550d93d740070050c314f3aefa37ceb18018400009f900000101080a00053e3410fc369e474554202f382d4269742f4170706c652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf517b07cd1e9f76f1ea9d93f7f28816325a48a56a152b0c236bc4da419375049e3b6960ec50dbfb378d1c6ad9d891037c070e1e30681c4ffe7c468e1b3960e0316307460db556d6b04973474c132656d4f254832376d5ab77603c2113470d1e326ad068451347ea1e18a961cca923270d9ba15a4b44be33a7870c19a963248fc3074d9db7762cc63023078e0c2c400da691e164c78c196caad498f1147409a94be4d8d9ad478f9e187de49871e311a4542cb9ebc020723fce6e2b73f920d1a8dd224a956c64b42c32a20a9aa16472cb8022f6b90dee2a758c2862504f521951742731e854868d1836464c29a910cd602647a6708f31638491b908e9d789cb66ae0c234f8e18791e8386d4d971e2a03123378e562768ae2e7dc3260f1af656b1c24012e7e31936f3b59e4193e64d5c346ad5f4012bd56f9a8c19b53a84281167ce9d3f8b86942a3500 ASCII:E...d.|..@.......U...@..P.....7....@...........>4..6.GET /8-Bit/Apple.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..-.Q{....v........2ZH.j.+.#k..A.u..;i`.P..7..j....|...0h.O.|F..9`.1c.F..V..IsGL.&V..T.#v..w`<!.G..2j.hE.G....a..#'...ZKD.3.....c$...M..v,.0#...,@....d...l.....t..K....G...}..q...T,... r?.n+s. ..."J.ld.,2....dr.."....*u.(bPOR.Qt'1.T...6FL)...`&G.p.1c........f..#O..y.....q..1#7.V'h..}.&...V..@....6...A..M\4j...+.o....:.(.g..?...*5.
|
|
||||||
uncompressed= 45000264007c00004006ce89c0a80002550d93d740070050c314f3aefa37ceb18018400009f900000101080a00053e3410fc369e474554202f382d4269742f4170706c652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..d.|..@.......U...@..P.....7....@...........>4..6.GET /8-Bit/Apple.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 21
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010265007d00004006ce87c0a80002550d93d740050050c3138bdcaf7b296780183cec0de600000101080a00053e3410fc368e474554202f382d4269742f447261676f6e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009631bf597b07cd1e9f8df5f2d59379440b192da656bd9a1586913563eda0d13a02cf9d343076ac052e9c468eb56cecc819be03070f18349433973e23c78d1c30f098b103a3c65a2b6bd8a4b923a609132b6b79aac141db2ad63b309e9089a3068f50345bd1c499ba07c6631873eac849c3e68dfe112526df99d343868cc73198c7e183a64e5c3b1963989103470616220715ca70b263c60c36556acc804abac4d42572ecf8d6a3474f8c3e72ccb80939722a16de75601051c3dfb715a27c9074ec9e71654b363260161951054d4332bc6540192bddc6f7963a461441a847a98c28bd93208ce3d3460c1b23a6205cd89030932353bec79831c208d185f7ebcc6553d7c8932346a4c7a03175769c3868ccd08db3d5091aac4ce1e641f3fe6a561848e2883cc3c6fed63368d2bc998b66ad9a3e61a7fe4dc391e3d688132beeec0974a8519253a70600 ASCII:E...e.}..@.......U...@..P.....{)g..<...........>4..6.GET /8-Bit/Dragon.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..1.Y{.........yD..-.V.....5c...:...40v....F..l........4.3.>#...0......Z+k...#...+ky..A.*.;0......P4[......c.s..I.....%&...C...1.....N\;.c...G.."...p.c..6Uj..J...%r....GO.>r...9r*..u`.Q.....|.t..qeK62`..Q.MC2.e@.+....:F.A.G..(.. ...F..#. \..0.#S...1.......eS...#F...1uv.8h........L..A..jV.H..<....3h....f..>a..M......+...t.Q.S...
|
|
||||||
uncompressed= 45000265007d00004006ce87c0a80002550d93d740050050c3138bdcaf7b296780183cec0de600000101080a00053e3410fc368e474554202f382d4269742f447261676f6e2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..e.}..@.......U...@..P.....{)g..<...........>4..6.GET /8-Bit/Dragon.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 22
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010269008000004006ce80c0a80002550d93d740060050c3143301dfa11fa3de80183c892b5d00000101080a0005412c10fc3761474554202f382d4269742f456e74657270726973652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f6600952f67defcc66dd03d3df7f6fd3bc72fe7112d64b4b08a552b571846d6983dda75049e3b6960ec701b7c388d1c6e8dca21be03070f183496db694e63468e1b3960e0316307460db756d6b04973474c132656dcee5483c376d6ad77603c2113470d1e326ad0784513c7ea1e18ae6110959386cd1bfe234a58be33a7870c19ae63548fc347285d3b1b63989103470616220ad3c870b263c60c36556acc986aba84d52572ecfcd6a3474f8c3e72ccb81149d22a96a3756010d91fe7b715bc7c90d4f9b891a54b36326216195105cd4332476540312bdd0678973a4614a923478f531951d0dc49d299aa0c1b316c8c98d2b9e143c64c8e4c011f63c60823781be2af63970d5e19469e1c31223d060dabbce3c44163e66e1caf4ed06c853a370f1af85ab9c2401267e41936f7bd9e4193e68d5d346ed5f4216bd5701aa142bd4eac78d1e7cfa1489596b46a3500 ASCII:E...i....@.......U...@..P..3........<.+]........A,..7aGET /8-Bit/Enterprise.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/f../g...m.==...;./..-d...U+W.F..=.u..;i`.p.|8..n..!.....4..iNcF..9`.1c.F..V..IsGL.&V..T..v..w`<!.G..2j.xE......a.......#JX.3.....cT..G(];.c...G.."...p.c..6Uj..j...%r....GO.>r...I.*..u`.......|......K62b..Q..C2Ge@1+..x.:F..#G.S.Q..I.....1l.....C.L.L..c..#x...c..^.F..1"=......Ac.n..N.l.:7...Z..@.g..6...A...]4n..!k.p..B.N.x....H...j5.
|
|
||||||
uncompressed= 45000269008000004006ce80c0a80002550d93d740060050c31433dfa11fa3de80183c892b5d00000101080a0005412c10fc3761474554202f382d4269742f456e74657270726973652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..i....@.......U...@..P..3.......<.+]........A,..7aGET /8-Bit/Enterprise.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 23
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010268008100004006ce80c0a80002550d93d740040050c313600b2189e30280183d0e896b00000101080a000541d810fc379d474554202f382d4269742f436f6d6d6f646f72652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f3300952f67defcc6ed1d347b7ceeedfb778e5fce235ac8686115ab56ae308cac316b074dd71178eea481b1c3edf0e23472b86563478ef11d3878c0a0d1fc79f519396ee48081c78c1d1835dc5a59c326cd1d314d985871cb530d8edb59b7de81f1844c1c3578c8a841e3154d1cab7b60bc8631a78e9c346cdef81f51c2f29d393d64c8781de3791c3e68ead0b5d3318699a032b01061e85086931d3366b0a95263c654d325ac2e916327b81e3d7a62f49163c64dc9a056b1fcae038348ff38c1ade0e5832424f88e2e61b29131b3c8882a682292f92d038ad9ea36c4c3d431a248433d4c6544019ea46154193662d81831a5e1c38889991c99223ec68c1146f03ed45fc72e1bbc328c3c3962a47a0c1a5671c78983c6ccdd385e9da0d9ea746e1e34f2b5728581248ec9336cf27b3d8326cd1bbb68dcaae943d62ae13420417aad78312350a1448d228523c3aad500 ASCII:E...h....@.......U...@..P..`.!.....=..k........A...7.GET /8-Bit/Commodore.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/3../g.....4{|...w._.#Z.ha..V.0..1k.M..x........4r.ecG...8x....y..9n.......5.ZY.&..1M.Xq.S...Y.....L.5x..A..M..{`..1...4l...Q...9=d.x..y.>h....1...2..a.P...3f..Rc.T.%...c'..=zb..c.M..V.....H.8.....$$...a..1...*h"..-....6...1.HC=LeD...aT.6b..1........">...F.>._....2.<9b.z..Vq......8^....tn.4..r..$..3l.{=.&...h...C.*.4 Az.x1#P.D.".#....
|
|
||||||
uncompressed= 45000268008100004006ce80c0a80002550d93d740040050c313600b2189e30280183d0e896b00000101080a000541d810fc379d474554202f382d4269742f436f6d6d6f646f72652e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..h....@.......U...@..P..`.!.....=..k........A...7.GET /8-Bit/Commodore.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 24
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010263008200004006ce84c0a80002550d93d740050050c3138e0daf7b2cf180183962cb2f00000101080a000542b410fc3822474554202f382d4269742f454143412e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330096dfa4bd83668f4fbb78f5cec97b79440b192da24ead7a1586913561eda0c13a02cf9d343076a4f50d9c468eb46cecc809be03070f1834902b873e23c78d1c30f098b103a3465a2b6bd8a4b923a609132b6979aac1219baad53b309e9089a3060f193568b2a28913750f0cd530e6d4919386cd9bfc234a44be33a7870c19aa63288fc3074d9db77630c63023078e0c2c440c2294e164c78c196caad498e1347489a84be4d8e1ad478f9e187de49871035264542cbaebc020823f0e6f2b73f920e1b81da34a966c64bc2c32a20a1a866474cb801216ba8dee2c758c287250cf511951762739c854868d1836464c39a89021612647a6748f31638491b90aebd789cb66ae0c234f8e18811e8346d4d971e2a03123374e562768ac26759b074dfbaa5761208913f20c1bfa59cfa049f3262e9ab46afa7c8dfa37cdc68d59214aa4a873e7cfa04347468d1a00 ASCII:E...c....@.......U...@..P.....{,...9b./........B...8"GET /8-Bit/EACA.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+3......f.O.x...{yD..-.N.z...5a...:...40v....F..l........4.+.>#...0.....FZ+k...#...+iy..!...;0.......5h....u...0........#JD.3.....c(...M..v0.0#...,D."..d...l....4t..K....G...}..q.RdT,... .?.o+s. ....J.ld.,2....dt.......,u.(rP.Q.Qv'9.T...6FL9..!a&G.t.1c........f..#O.....F..q..1#7NV'h.&u..M..Wa ......Y..I.&...j.|..7...Y!J..s...CGF...
|
|
||||||
uncompressed= 45000263008200004006ce84c0a80002550d93d740050050c3138e0daf7b2cf180183962cb2f00000101080a000542b410fc3822474554202f382d4269742f454143412e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..c....@.......U...@..P.....{,...9b./........B...8"GET /8-Bit/EACA.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 25
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010262008500004006ce82c0a80002550d93d740070050c314f5defa37d29b80183c168b6100000101080a000542c810fc37e5474554202f382d4269742f4d53582e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330095dfa0bd83668fcfba77f3cec16b79440b192da04aa56a1586913560eda0b93a02cf9d343076a0edfd9b460eb46cecc801be03070f18348e277f3e23c78d1c30f098b103a3065a2b6bd8a4b923a609132b6879aac1117b6ad53b309e9089a3060f193568b0a28903750f8cd430e6d4919386cd1bfc234a40be33a7870c19a963248fc3074d1db7762ec63023078e0c2c440a1e94e164c78c196caad498d1147409a84be4d8d9ad478f9e187de49871f33124542cb9ebc020723fce6e2b72f920d9a8fd62ca956c64b82c32a20a9a856472cb8002f6b90dee2b758c2862508f511951742731b854868d1836464c318870e1602647a6708f31638411b908e9d781cb46ae0c234f8e18791e830654d971e2a03113370e562768aa226d9b070d7baa5661208903f20c9bf958cfa049f3062e1ab46afa7885ea378d468d581f469c9853674fa0424542851a00 ASCII:E...b....@.......U...@..P.....7....<..a........B...7.GET /8-Bit/MSX.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+3......f...w...kyD..-.J.j...5`...:...40v....F..l........4.'.>#...0......Z+k...#...+hy...{j.;0.......5h....u...0........#J@.3.....c$...M..v..0#...,D....d...l.....t..K....G...}..q.1$T,... r?.n+r. ...b..ld.,2....dr.......+u.(bP.Q.Qt'1.T...6FL1.p.`&G.p.1c........F..#O..y...T.q..1.7.V'h."m...{.Va ......X..I.....j.x..7.F.X.F..SgO.BEB...
|
|
||||||
uncompressed= 45000262008500004006ce82c0a80002550d93d740070050c314f5defa37d29b80183c168b6100000101080a000542c810fc37e5474554202f382d4269742f4d53582e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..b....@.......U...@..P.....7....<..a........B...7.GET /8-Bit/MSX.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 26
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010265009400004006ce70c0a80002550d93d740060050c3143614a11fa986801836e1f43c00000101080a000545b010fc38b7474554202f382d4269742f4d617474656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300942dbf512b744fcfbb79f7ced17b79440b192da452b58a1586913562eda0c93a02cf9d343076a8edfd9b460eb56cecc801be03070f18348e277f3e23c78d1c30f098b103a3865a2b6bd8a4b923a609132b6a77aac111bbead53b309e9089a3060f193568b4a28923750f8cd430e6d4919386cd1bfc234a44be33a7870c19a963248fc3074d1db87630c63023078e0c2c440a1e94e164c78c196caad498f1347409a94be4d8d9ad478f9e187de498710352a4542cb9ebc020723fce6e2b74f920e1a81da34a966c64bc2c32a20a1a866472cb8022f6b90dee2c758c2862504f521951742731e854868d1836464c31889021612647a6708f31638411ba08e9d791bbd8c89323469ec7a02195769c3868cc7ca5abd5099aab4bdfe641c3de2a561848e2843cc366bed63368d2bc018a46ad9a3e60a5fe4db371a356881229eae4f97368d19152a50600 ASCII:E...e....@..p....U...@..P..6.......6..<........E...8.GET /8-Bit/Mattel.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..-.Q+tO..y...{yD..-.R.....5b...:...40v....F..l........4.'.>#...0......Z+k...#...+jw......;0.......5h...#u...0........#JD.3.....c$...M..v0.0#...,D....d...l....4t..K....G...}..q.R.T,... r?.n+t. ....J.ld.,2....dr.."....,u.(bPOR.Qt'1.T...6FL1..!a&G.p.1c...........#F...!.v.8h.|......K..A..*V.H..<.f..3h....F..>`..M.q.V..)...sh..R...
|
|
||||||
uncompressed= 45000265009400004006ce70c0a80002550d93d740060050c3143614a11fa986801836e1f43c00000101080a000545b010fc38b7474554202f382d4269742f4d617474656c2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..e....@..p....U...@..P..6.......6..<........E...8.GET /8-Bit/Mattel.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 27
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010263009900004006ce6dc0a80002550d93d740040050c313623f2189e66b801839a5739a00000101080a0005464c10fc38f3474554202f382d4269742f4f7269632e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b330095dfa4bd83668f4fc578f5eab13ca2858c1651a756bd0ac3c89ab076d0601d81e74e1a183bd2fa064e23475a3676e404df8183070c1ac895439f91e3460e1878ccd8815123ad95356cd2dc11d3848995b43cd5e0904dd5ea1d184fc8c45183878c1a3459d1c489ba0706631873eac849c3e64dfe112520df99d343860cc63194c7e18326e8768c31ccc88123030b1183086538d93163069b2a356638155d22ea12397678ebd1a327461f3966dc7c0c19158bee3a3088e08fc3db8a5c3e4838dac19872251b192e8b8ca882862119dd32a084856ea3fb4a1d238a1cd483544694dd490e36956123868d11530e2a642898c99129dd63cc186144aec2fa75e0b2912bc3c8932346a0c7a01135769c3868ccc48d93d5091aab4adde641d3beea551848e2803cc3867ed63368d2bc818b26ad9a3e5fa3f64db3716356881229e6d4d91328519151a30600 ASCII:E...c....@..m....U...@..P..b?!..k..9.s.........FL..8.GET /8-Bit/Oric.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+3......f.O.x...<....Q.V......v.`...N..;...N#GZ6v..........C...F..x...Q#..5l........<...M....O..Q....4Y......c.s..I..M..% ...C...1....&.v.1...#.....e8.1c..*5f8.]"..9vx...'F.9f.|.....:0......\>H8...r%........!..2...n..J.#....TF..I.6.a#...S.*d(...).c..aD...u...+...#F....5v.8h........J..A...U.H..<..~.3h....&..>_..M.qcV..)....(Q.Q...
|
|
||||||
uncompressed= 45000263009900004006ce6dc0a80002550d93d740040050c313623f2189e66b801839a5739a00000101080a0005464c10fc38f3474554202f382d4269742f4f7269632e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..c....@..m....U...@..P..b?!..k..9.s.........FL..8.GET /8-Bit/Oric.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 28
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010269009e00004006ce62c0a80002550d93d740060050c3143845a11fab60801840003c1c00000101080a000547d810fc38b7474554202f382d4269742f526164696f536861636b2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f330096316be6fcc6ed1d347b7a46f60b584fe7112d64b4b08a552b5718468ad6b183a6eb083c77d2c0d8e17678711a39dcb2b123c7f80e1c3c60d068febcfa8c1c3772c0c063c60e8c1a6e89b24973474c132656dcee5483e376d6ad77603c2113470d1e326ad0784513c7ea1e189361cca923270d9b37fd4794b87c674e0f193226c7781e870f9a3a74ed748c61460e1c195888307428c3c98e1933d854a93163eae9125697c8b1135c8f1e3d31fac831e3a6e449ab587ed78141847f9ce056f0f24112127cc79731d9c8a0596444153411c9fc9601c56c751be263ea1851a4a19ea732a2004fd2b0aa0c1b316c8c98d2f061c4c54c8e4c111f63c60823781fe6af6357685e234f8e18a91e838655dd71e2a03173378e572768b6469d9b074d7cad5c61208963f20c1bfc5ecfa049f3c62e1ab76afa90b55a380d48905e2b5ecc1874e8d1a44b515ab51a00 ASCII:E...i....@..b....U...@..P..8E...`..@.<.........G...8.GET /8-Bit/RadioShack.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/3..1k.....4{zF..XO..-d...U+W.F.......<w....vxq.9...#....<`.h.....7r..c....n..IsGL.&V..T..v..w`<!.G..2j.xE......a..#'..7.G..|gN..2&.x....:t.t.aF...X.0t(....3.T.1c...V....\..=1..1...I.X~..A....V..A..|..1...YdD.4......lu..c..Q....2..O.....1l....a..L.L..c..#x...cWh^#O......U.q..1s7.W'h.F...M|.\a .c....^..I.....j...Z8.H.^+^..t...KQZ...
|
|
||||||
uncompressed= 45000269009e00004006ce62c0a80002550d93d740060050c3143845a11fab60801840003c1c00000101080a000547d810fc38b7474554202f382d4269742f526164696f536861636b2e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..i....@..b....U...@..P..8E...`..@.<.........G...8.GET /8-Bit/RadioShack.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 29
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 4500010266009f00004006ce64c0a80002550d93d740050050c313903caf7b2f9580183d5ce4ef00000101080a0005481810fc3934474554202f382d4269742f5068696c6970732e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d3300952fbf597b07cd1e9f8cf5f2d58379440b192da85ac5aa1586913563eda0d93a02cf9d343076acfd1d9c468eb56cecc811be03070f1834922f8f3e23c78d1c30f098b103a3c65a2b41d3dc11d3848995b53cd5e0987d35eb1d184fc8c45183878c1a345cd1c4a1ba0786631873eac8492334ff881292efcce9214386e318cbe3f0415307b19d8b31ccc88123030b1183086538d93163069b2a3566441d5d82ea1239767aebd1a327461f3966dc7c0c4915cbee3a3088e08fd3db0a5d3e483672bf9872251b192e8b8ca882e60d1a32bb6540191bdd86f7953a461439a847a98c28bc931c7c2ac3460c1b23a61c5428f830932353bcc79831c2085d85f5ebc8654357869127478c448f4183eaed3871d098991b87ab133459990ecd83a63d56ad3090c40179860d7dae67d0a4792317cd5a357d8852059c46a346ae0f234ecca9b32750a322a9520d00 ASCII:E...f....@..d....U...@..P...<.{/...=\..........H...94GET /8-Bit/Philips.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3../.Y{.........yD..-.Z.....5c...:...40v....F..l........4./.>#...0......Z+A........<...}5...O..Q....4\......c.s..I#4.......!C......AS....1...#.....e8.1c..*5fD.]...9vz...'F.9f.|.I...:0......]>H6r..r%..........2.e@......:F.9.G..(...|*.F..#..T(.0.#S...1..]....eCW..'G.D.A...8q.......4Y.....=V.0...y..}.g..y#..Z5}.R..F.F..#N...'P.".R..
|
|
||||||
uncompressed= 45000266009f00004006ce64c0a80002550d93d740050050c313903caf7b2f9580183d5ce4ef00000101080a0005481810fc3934474554202f382d4269742f5068696c6970732e47494620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E..f....@..d....U...@..P...<.{/...=\..........H...94GET /8-Bit/Philips.GIF HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 30
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 450001049b00ae00004006cc20c0a80002550d93d740050050c31396ceaf7b396e801840009ad400000101080a0005611010fc3d6b474554202f382d4269742f6d72776f6e672e67696620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d33009733bf617b07cd9e9f8ef7f6d5a379440b192da85ac5aa1586913564eda0d93a02cf9d343076b00d3e9c460eb66cecc821be03070f183496379f3e23c78d1c30f098b103a3065b2b6b92de11d3848915b63dd5e0a87d35eb1d184fc814c543460d1aae68e250dd0303328c3975e4a461f346ff881294efcce9214306e418cde3f0415347ae1d8c31ccc88123030b1183086538d93163069b2a3566442d5d82ea1239767eebd1a327461f3966dc801449154bef3a3088e48ff3db0a513e48387ac7a892251b192f8b8ca882862199de32a0909d6e033c4b1d238a1cd4a3544614df490e3e956123868d11530e2a644898c99129e063cc186184a8423578ead06563d7c8932346a6c7a04175769c3868ccd48dc3d5099aac4ce3e641f31eab561848e2843cc3a628d73368d2bca18b86ad9a3e62a9fe4db3712357881229eadce933e8d09154a92a417265848c1d307afec489074e198678e6108d31a7e8882557ae4c9111357903abdf7f7b052b96ec4f3868d51e7e1b77ae74198ef7f63d1a76ce52bf50cf4c9d7355b7ddb290634cae7cb9b4dec05f135b76c178c41d347b7e16eeabc732db16325a74cf7a07869135647bff0e3e7c075bdad3732c6f4e7c070e1ed37dcb993e23c78d1c30f07807cfd6ca1a3669ee8869c2c40adb9e6a70a8d60ae30999a278c8e4e78a260ed53d3020c33088900d43ae25204aa46818239f8d6cbc631c3a120b11ff6964a864c9e6e58ca8a54b505d220727579d3b7d06bd48158b52a6f99f72b542940f923a13ed600c39838d8c974546fc6548a63761b2d36d8067a96344913a72f428951105cd9d248a9fcab011c3c688298ad30c444398c99129e063cc18313bce683578eae8b66be4c91123d363246f003b0e1a33d2b93a41939569dc3c68d6df8181248e193967d814e57a064d9a3774d1b055d387cd1caa7fd36cdcc835618f853a63d07473510655aa0100 ASCII:E........@.. ....U...@..P.....{9n..@...........a...=kGET /8-Bit/mrwong.gif HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtm3..3.a{.........yD..-.Z.....5d...:...40v..>.F..l..!.....4.7.>#...0......[+k........=...}5...O...CF...h.P...2.9u..a.F.......!C......ASG...1...#.....e8.1c..*5fD-]...9v~...'F.9f...I.K.:0......Q>H8z...%../.....!..2...n.<K.#....TF..I.>.a#...S.*dH...).c..a..B5x..ec...#F...Auv.8h........L..A...V.H..<..(.3h.......>b..M.q#W..)...3...T.*Are...0z....N..x...1...%W.L..5y....{.+..O8h..~.w.t....=.v.R.P.L.sU....cL.|...._.[v.x..4{~....2..2Zt.z...5d{..>|.[..s,oN|....}..>#...0.x.....6i..i.....jp.......x....&..=0 .0...C.% J.h.#..l.c.:....id.d......KP]".'W.;}..H..R...r.B...:..`.9....EF.eH.7a..m.g.cD.:r.(.....$........)...DC...).c..1;.h5x...k...#.c$o.;..3..:A..i.<h....$..9g...z.M.7t..U.......l..5a..:c.tsQ.U...
|
|
||||||
uncompressed= 4500049b00ae00004006cc20c0a80002550d93d740050050c31396ceaf7b396e801840009ad400000101080a0005611010fc3d6b474554202f382d4269742f6d72776f6e672e67696620485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a474554202f382d4269742f7374756d626c6575706f6e2e706e6720485454502f312e310d0a4163636570743a206d756c7469706172742f6d697865642c206170706c69636174696f6e2f766e642e7761702e6d756c7469706172742e6d697865642c206170706c69636174696f6e2f766e642e7761702e7868746d6c2b786d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20746578742f766e642e7761702e776d6c2c202a2f2a0d0a4163636570742d436861727365743a207574662d382c207574662d31362c2069736f2d383835392d312c2069736f2d31303634362d7563732d322c2053686966745f4a49532c20426967350d0a4163636570742d4c616e67756167653a20656e0d0a782d7761702d70726f66696c653a2022687474703a2f2f7761702e736f6e796572696373736f6e2e636f6d2f554170726f662f4b38303069523230312e786d6c220d0a486f73743a207777772e7a6f636b2e636f6d0d0a557365722d4167656e743a20536f6e794572696373736f6e4b383030692f5232422052656c656173652f4d61722d31332d323030372042726f777365722f4e657446726f6e742f332e332050726f66696c652f4d4944502d322e3020436f6e66696775726174696f6e2f434c44432d312e310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a206465666c6174652c20677a69700d0a526566657265723a20687474703a2f2f7777772e7a6f636b2e636f6d2f0d0a0d0a ASCII:E.......@.. ....U...@..P.....{9n..@...........a...=kGET /8-Bit/mrwong.gif HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....GET /8-Bit/stumbleupon.png HTTP/1.1..Accept: multipart/mixed, application/vnd.wap.multipart.mixed, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/vnd.wap.wml, */*..Accept-Charset: utf-8, utf-16, iso-8859-1, iso-10646-ucs-2, Shift_JIS, Big5..Accept-Language: en..x-wap-profile: "http://wap.sonyericsson.com/UAprof/K800iR201.xml"..Host: www.zock.com..User-Agent: SonyEricssonK800i/R2B Release/Mar-13-2007 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1..Connection: Keep-Alive..Accept-Encoding: deflate, gzip..Referer: http://www.zock.com/....
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 31
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 45000101a0f3d84000400679210a0901abc0a800021f90400538e210f07a827bb1501900ed7be90000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c203301312041756720323031362030393a32383a353220474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a66003f481c9162e40a97294800002068746d6c20506600588a3c6162644409183200002f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d66006f8234f87187cd1d006c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c990068bcff2823e70c9fff6b6a943f9f7e7dfbf7f1e7d7bf9f5fb1c2ef6beafcc7d3fd3b7ced646aa34f03a404fa3373a4c64113630efdec27534e7509538d7e32ff657044a8f1bb0c82067f72f71e00 ASCII:E......@.@.y!..........@.8...z.{.P...{...HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Wed, 3.1 Aug 2016 09:28:52 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....f.?H..b...)H.. html Pf.X.<abdD..2../W3C//DTD HTML 3.2 Final//EN"><htmf.o.4.q....le>Directory listing f.or /</titl..h..(#....kj.?.~}......._...k.....;|.dj.O....3s..A.c...'SNu.S.~2.epD.......r...
|
|
||||||
uncompressed= 450001a0f3d84000400679210a0901abc0a800021f90400538e210f07a827bb1501900ed7be90000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c2033312041756720323031362030393a32383a353220474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@.y!..........@.8...z.{.P...{...HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Wed, 31 Aug 2016 09:28:52 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
|
|
||||||
Testing decompression with sniffed compressed TCP/IP packets:
|
|
||||||
Packet No.: 32
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
v42bis_decompress() rc=0
|
|
||||||
v42bis_decompress_flush() rc=0
|
|
||||||
compressed= 45000101a0e9a54000400683540a0901abc0a800021f904004437442f17a4ab3b1501900ed04900000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c203301312041756720323031362030393a32373a353520474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a66003f481c9162e40a97294800002068746d6c20506600588a3c6162644409183200002f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e672066016f72202f3c2f7469746c990068beff2823e70c9f816b6a9847af9ebd7bf8f2e9dbc7af5ff142f06bea0cc4e31d7cfced646aa74f03a444fa3373a4c64113634e7ded28554e7d1953cd7e320365744cb811bc8c82078376ff1e00 ASCII:E......@.@..T..........@.CtB.zJ..P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Wed, 3.1 Aug 2016 09:27:55 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....f.?H..b...)H.. html Pf.X.<abdD..2../W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing f.or /</titl..h..(#....kj.G...{......_.B.k.....|..dj.O..D.3s..A.cN}.(UN}.S.~2.etL.......v...
|
|
||||||
uncompressed= 450001a0e9a54000400683540a0901abc0a800021f904004437442f17a4ab3b1501900ed04900000485454502f312e3020323030204f4b0d0a5365727665723a2053696d706c65485454502f302e3620507974686f6e2f322e372e360d0a446174653a205765642c2033312041756720323031362030393a32373a353520474d540d0a436f6e74656e742d747970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a436f6e74656e742d4c656e6774683a203232320d0a0d0a3c21444f43545950452068746d6c205055424c494320222d2f2f5733432f2f4454442048544d4c20332e322046696e616c2f2f454e223e3c68746d6c3e0a3c7469746c653e4469726563746f7279206c697374696e6720666f72202f3c2f7469746c653e0a3c626f64793e0a3c68323e4469726563746f7279206c697374696e6720666f72202f3c2f68323e0a3c68723e0a3c756c3e0a3c6c693e3c6120687265663d2272656470686f6e652e706e67223e72656470686f6e652e706e673c2f613e0a3c2f756c3e0a3c68723e0a3c2f626f64793e0a3c2f68746d6c3e0a ASCII:E.....@.@..T..........@.CtB.zJ..P.......HTTP/1.0 200 OK..Server: SimpleHTTP/0.6 Python/2.7.6..Date: Wed, 31 Aug 2016 09:27:55 GMT..Content-type: text/html; charset=UTF-8..Content-Length: 222....<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>.<title>Directory listing for /</title>.<body>.<h2>Directory listing for /</h2>.<hr>.<ul>.<li><a href="redphone.png">redphone.png</a>.</ul>.<hr>.</body>.</html>.
|
|
||||||
|
|
||||||
Done
|
|
|
@ -1,37 +0,0 @@
|
||||||
AM_CPPFLAGS = \
|
|
||||||
$(all_includes) \
|
|
||||||
-I$(top_srcdir)/include \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
-Wall \
|
|
||||||
-ggdb3 \
|
|
||||||
$(LIBOSMOCORE_CFLAGS) \
|
|
||||||
$(LIBOSMOGSM_CFLAGS) \
|
|
||||||
$(LIBCARES_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
xid_test.ok \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
|
||||||
xid_test \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
xid_test_SOURCES = \
|
|
||||||
xid_test.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
xid_test_LDADD = \
|
|
||||||
$(top_builddir)/src/sgsn/gprs_llc_xid.o \
|
|
||||||
$(LIBOSMOABIS_LIBS) \
|
|
||||||
$(LIBOSMOCORE_LIBS) \
|
|
||||||
$(LIBOSMOGSM_LIBS) \
|
|
||||||
$(LIBOSMOGB_LIBS) \
|
|
||||||
$(LIBCARES_LIBS) \
|
|
||||||
$(LIBGTP_LIBS) \
|
|
||||||
-lrt \
|
|
||||||
-lm \
|
|
||||||
$(NULL)
|
|
||||||
|
|
|
@ -1,167 +0,0 @@
|
||||||
/* Test LLC-XID Encoding/Decoding */
|
|
||||||
|
|
||||||
/* (C) 2016 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
|
|
||||||
* All Rights Reserved
|
|
||||||
*
|
|
||||||
* Author: Philipp Maier
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <osmocom/sgsn/gprs_llc_xid.h>
|
|
||||||
#include <osmocom/sgsn/debug.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/talloc.h>
|
|
||||||
#include <osmocom/core/utils.h>
|
|
||||||
|
|
||||||
#include <osmocom/core/application.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
/* Test XID encoding */
|
|
||||||
static void test_xid_encode(const void *ctx)
|
|
||||||
{
|
|
||||||
struct gprs_llc_xid_field xid_field_1;
|
|
||||||
struct gprs_llc_xid_field xid_field_2;
|
|
||||||
struct gprs_llc_xid_field xid_field_3;
|
|
||||||
struct gprs_llc_xid_field xid_field_4;
|
|
||||||
LLIST_HEAD(xid_fields);
|
|
||||||
uint8_t xid[255];
|
|
||||||
uint8_t xid_expected[] =
|
|
||||||
{ 0x10, 0x8c, 0x14, 0x43, 0x43, 0x43, 0x43, 0x43, 0x0b, 0x42, 0x42,
|
|
||||||
0x42, 0x05, 0x41 };
|
|
||||||
int rc;
|
|
||||||
|
|
||||||
printf("Testing LLC XID-Encoder\n");
|
|
||||||
|
|
||||||
/* Setup some simple XID data */
|
|
||||||
xid_field_1.type = 1;
|
|
||||||
xid_field_2.type = 2;
|
|
||||||
xid_field_3.type = 3;
|
|
||||||
xid_field_4.type = 4;
|
|
||||||
|
|
||||||
xid_field_1.data = (uint8_t *) "A";
|
|
||||||
xid_field_2.data = (uint8_t *) "BBB";
|
|
||||||
xid_field_3.data = (uint8_t *) "CCCCC";
|
|
||||||
xid_field_4.data = NULL;
|
|
||||||
|
|
||||||
xid_field_1.data_len = 1;
|
|
||||||
xid_field_2.data_len = 3;
|
|
||||||
xid_field_3.data_len = 5;
|
|
||||||
xid_field_4.data_len = 0;
|
|
||||||
|
|
||||||
llist_add(&xid_field_4.list, &xid_fields);
|
|
||||||
llist_add(&xid_field_3.list, &xid_fields);
|
|
||||||
llist_add(&xid_field_2.list, &xid_fields);
|
|
||||||
llist_add(&xid_field_1.list, &xid_fields);
|
|
||||||
|
|
||||||
printf("Data to encode:\n");
|
|
||||||
gprs_llc_dump_xid_fields(&xid_fields, DSNDCP);
|
|
||||||
|
|
||||||
/* Encode data */
|
|
||||||
rc = gprs_llc_compile_xid(xid, sizeof(xid), &xid_fields);
|
|
||||||
OSMO_ASSERT(rc == 14);
|
|
||||||
printf("Encoded: %s (%i bytes)\n", osmo_hexdump_nospc(xid, rc), rc);
|
|
||||||
printf("Expected: %s (%i bytes)\n",
|
|
||||||
osmo_hexdump_nospc(xid_expected, sizeof(xid_expected)),
|
|
||||||
(int)sizeof(xid_expected));
|
|
||||||
|
|
||||||
OSMO_ASSERT(memcmp(xid_expected, xid, sizeof(xid_expected)) == 0);
|
|
||||||
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Test XID decoding */
|
|
||||||
static void test_xid_decode(const void *ctx)
|
|
||||||
{
|
|
||||||
struct llist_head *xid_fields;
|
|
||||||
int rc;
|
|
||||||
|
|
||||||
printf("Testing LLC XID-Decoder/Encoder\n");
|
|
||||||
|
|
||||||
/* Example of a real world LLC-XID message */
|
|
||||||
uint8_t xid[] =
|
|
||||||
{ 0x01, 0x00, 0x16, 0x05, 0xf0, 0x1a, 0x05, 0xf0, 0xac, 0xd8, 0x00,
|
|
||||||
0x01, 0x00, 0x02, 0x31, 0x82, 0x02, 0x27, 0x89, 0xff, 0xe0, 0x00, 0x0f,
|
|
||||||
0x00, 0xa8, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x02, 0x01, 0x02,
|
|
||||||
0x00, 0x03, 0x01, 0x03, 0x00, 0x04, 0x01, 0x04, 0x00, 0x05, 0x01, 0x05,
|
|
||||||
0x00, 0x06, 0x00, 0x07, 0x01, 0x07, 0x00, 0x08, 0x01, 0x08, 0x80, 0x00,
|
|
||||||
0x04, 0x12, 0x00, 0x40, 0x07 };
|
|
||||||
|
|
||||||
uint8_t xid_r[512];
|
|
||||||
|
|
||||||
/* Decode and display XID fields */
|
|
||||||
xid_fields = gprs_llc_parse_xid(ctx, xid, sizeof(xid));
|
|
||||||
OSMO_ASSERT(xid_fields);
|
|
||||||
|
|
||||||
printf("Decoded:\n");
|
|
||||||
gprs_llc_dump_xid_fields(xid_fields, DSNDCP);
|
|
||||||
|
|
||||||
|
|
||||||
/* Encode xid-fields again */
|
|
||||||
rc = gprs_llc_compile_xid(xid_r, sizeof(xid_r), xid_fields);
|
|
||||||
printf("Result length=%i\n",rc);
|
|
||||||
printf("Encoded: %s\n", osmo_hexdump_nospc(xid, sizeof(xid)));
|
|
||||||
printf("Rencoded: %s\n", osmo_hexdump_nospc(xid_r, rc));
|
|
||||||
|
|
||||||
OSMO_ASSERT(rc == 64);
|
|
||||||
OSMO_ASSERT(memcmp(xid, xid_r, sizeof(xid)) == 0);
|
|
||||||
|
|
||||||
/* Free xid fields */
|
|
||||||
talloc_free(xid_fields);
|
|
||||||
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct log_info_cat gprs_categories[] = {
|
|
||||||
[DSNDCP] = {
|
|
||||||
.name = "DSNDCP",
|
|
||||||
.description =
|
|
||||||
"GPRS Sub-Network Dependent Control Protocol (SNDCP)",
|
|
||||||
.enabled = 1,.loglevel = LOGL_DEBUG,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct log_info info = {
|
|
||||||
.cat = gprs_categories,
|
|
||||||
.num_cat = ARRAY_SIZE(gprs_categories),
|
|
||||||
};
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
void *xid_ctx;
|
|
||||||
void *log_ctx;
|
|
||||||
|
|
||||||
xid_ctx = talloc_named_const(NULL, 0, "xid_ctx");
|
|
||||||
log_ctx = talloc_named_const(xid_ctx, 0, "log");
|
|
||||||
osmo_init_logging2(log_ctx, &info);
|
|
||||||
|
|
||||||
test_xid_decode(xid_ctx);
|
|
||||||
test_xid_encode(xid_ctx);
|
|
||||||
printf("Done\n");
|
|
||||||
|
|
||||||
talloc_report_full(xid_ctx, stderr);
|
|
||||||
talloc_free(log_ctx);
|
|
||||||
OSMO_ASSERT(talloc_total_blocks(xid_ctx) == 1);
|
|
||||||
talloc_free(xid_ctx);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* stubs */
|
|
||||||
struct osmo_prim_hdr;
|
|
||||||
int bssgp_prim_cb(struct osmo_prim_hdr *oph, void *ctx)
|
|
||||||
{
|
|
||||||
abort();
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
Testing LLC XID-Decoder/Encoder
|
|
||||||
Decoded:
|
|
||||||
Result length=64
|
|
||||||
Encoded: 01001605f01a05f0acd8000100023182022789ffe0000f00a8000000010101000201020003010300040104000501050006000701070008010880000412004007
|
|
||||||
Rencoded: 01001605f01a05f0acd8000100023182022789ffe0000f00a8000000010101000201020003010300040104000501050006000701070008010880000412004007
|
|
||||||
|
|
||||||
Testing LLC XID-Encoder
|
|
||||||
Data to encode:
|
|
||||||
Encoded: 108c1443434343430b4242420541 (14 bytes)
|
|
||||||
Expected: 108c1443434343430b4242420541 (14 bytes)
|
|
||||||
|
|
||||||
Done
|
|
Loading…
Reference in New Issue