Commit graph

26 commits

Author SHA1 Message Date
Jeff Morriss
1a9420702e Fix the SCCP dissector so it doesn't show non-segmented DT1 messages as
having been reassembled.

Fix the comments in reassembly.c and reassembly.h regarding what the reassembly
routines actually return in the 802.11 and no-sequence-number cases when they
are given the first and last packet (that is, a non-segmented packet): in
particular the routines return a pointer to a list containing just the one
fragment.

svn path=/trunk/; revision=20505
2007-01-19 23:27:24 +00:00
Jeff Morriss
cb8d14bd5e Reindent pretty heavily. It's still not 100% consistent but at least all the
code in each function is consistent (previously there were some sections of
code indented, oh, about 10 indentations too far).  At the same time, remove
trailing white space and change spaces to tabs.

Remove one duplicated call to sccp_assoc() and s/isup_apm/sccp/g in the hf[]
array (apparently when the XUDT reassembly was put in it was copied from ISUP
but the filter names weren't changed).


svn path=/trunk/; revision=20502
2007-01-19 17:25:13 +00:00
Jeff Morriss
37d4a40254 If p2p_dir isn't set (no message direction is configured) or no association is found, try to find a subdissector on both the called and calling SSNs instead of just trying the called SSN. Also clean up some indenting and fix the capitalization when showing what dissector the TCAP SSN is linked to.
svn path=/trunk/; revision=20220
2006-12-26 22:27:46 +00:00
Jörg Mayer
2a5d217358 Jeff Morriss:
Fix for bug 1036

I looked at this today and found that in fact the PC stuff is pretty
hosed up in the SS7 dissectors.  For example, MTP3 *looks* OK here (DPC is
4-5-6):

    Routing label
        DPC (4-5-6) (394500)

but 394500 == 0x60504 == 6-5-4.  Something's not right.

I made a common PC dissector function for all the SS7 dissectors so as to
concentrate all this code in one place (something I've been wanting to do for a
while anyway) and fixed the reported problem as well as the above problem in
the attached patch.

svn path=/trunk/; revision=19231
2006-09-14 10:51:44 +00:00
Ronnie Sahlberg
8ce8e719e0 rename some structures and defines from the se_tree to the emem_tree prefix
svn path=/trunk/; revision=18894
2006-08-14 08:29:29 +00:00
Anders Broman
c72d4e8f2e From Albert Chin:
Fix some C++ comments in C source files and fixes some non-constant initializations.

svn path=/trunk/; revision=18521
2006-06-20 05:57:29 +00:00
Ronnie Sahlberg
feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman
5683612f36 Fix bug 851
svn path=/trunk/; revision=17837
2006-04-06 20:50:48 +00:00
Anders Broman
ba35e5d4d9 Frof Jeff Morriss:
The attached patch adds support for the Japan SS7 variants (TTC/NTT) to 
the MTP3, MTP3MG, SCCP, and SCCPMG dissectors.  It's not as thoroughly 
implemented nor tested as I'd like, but it does a good job of at least 
the basic dissection and I'm out of time for now.

It also fixes bug I found in the SCCP dissector where it would show an 
End of Optional parameter even when the Optional pointer was 0.

svn path=/trunk/; revision=17815
2006-04-05 16:03:36 +00:00
Anders Broman
9c5ac889e7 sccp - fix a typo
gre - fix a length error, and change the way to display 3GPP atributes.

svn path=/trunk/; revision=17757
2006-03-29 17:00:16 +00:00
Luis Ontanon
19f81800ba use se_trees instead of GHashTables,
rename binding into assoc(iation) which is the AOC name.
move the definition of sccp_assoc_t to packet-sccp.h so that information regarding sccp associations it can be used by user protocols



svn path=/trunk/; revision=17590
2006-03-11 15:30:52 +00:00
Anders Broman
31424b15fb Desegment DT1 messages.
svn path=/trunk/; revision=17372
2006-02-22 16:25:29 +00:00
Anders Broman
3f6e2badad Add SSN:s from 3GPP TS 23.003.
svn path=/trunk/; revision=17148
2006-02-04 10:28:28 +00:00
Anders Broman
723c5bb0e6 Display which dissector is linked to a ssn.
svn path=/trunk/; revision=17134
2006-01-31 18:33:56 +00:00
Anders Broman
f2bc8ad4a8 Handle sgmented XUDT:s
svn path=/trunk/; revision=17060
2006-01-20 19:32:59 +00:00
Anders Broman
28e69752b2 Dont dissect XDT data in case of Segmentation as that will give [Malformed packet] and the Segmentation IE will n ot be dissecterd.
svn path=/trunk/; revision=17054
2006-01-19 05:51:59 +00:00
Luis Ontanon
bc84ba5de6 Have tcap subdissectors registering using functions provided by tcap and tcap manage ssn registration.
In packet-sccp.c avoid not having a binding.


svn path=/trunk/; revision=16834
2005-12-17 16:55:45 +00:00
Anders Broman
8d05164bec Get rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:s
svn path=/trunk/; revision=16815
2005-12-16 07:05:50 +00:00
Anders Broman
1abb6c1031 Use src and dst instead of net_src.
svn path=/trunk/; revision=16796
2005-12-14 20:01:21 +00:00
Luis Ontanon
b40ff00e49 handle sccp connections.
(first step towards RANAP analysis).



svn path=/trunk/; revision=16783
2005-12-13 22:07:09 +00:00
Ronnie Sahlberg
f95e58047a From Michael Lum
Slight modification to allow a protocol beneath SCCP (i.e. MTP3)
specify how the SCCP message should be dissected.



svn path=/trunk/; revision=15423
2005-08-19 08:36:38 +00:00
Ulf Lamping
0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Michael Tüxen
537fa72b22 Fix buffer overflow which is the cause of BUG 131.
svn path=/trunk/; revision=14219
2005-04-28 14:53:41 +00:00
Guy Harris
bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris
fa01d3c0ad From Viorel Suman: TALI (RFC 3094) support.
ATify Luca Deri's e-mail address.

svn path=/trunk/; revision=12016
2004-09-16 19:17:42 +00:00
Gilbert Ramirez
669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Renamed from packet-sccp.c (Browse further)