aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diameter.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-01Delete leftover printfMartin Mathieson1-1/+0
svn path=/trunk/; revision=18809
2006-07-17From Martin Mathieson:Anders Broman1-36/+75
sip_stats.c and tap_sipstat.c: adds the code 429 ("Provide Referrer Identity", from RFC 3892) to SIP stats. chargecontrol.xml packet-diameter.c : These patches - add a few more chargecontrol AVPs, and add the vendor-id where needed - report as expert info when AVPs' lengths don't match their type svn path=/trunk/; revision=18743
2006-07-07From Martin Mathieson:Anders Broman1-1/+1
packet-diameter.c - show vendor ID as a decimal number diameter/chargecontrol.xml - add more AVP entries from 3GPP TS 32.299 (6.6.0) svn path=/trunk/; revision=18679
2006-07-03From Martin Mathieson:Anders Broman1-457/+473
packet-diameter.c -------------------------- I completely reindented dissect_avps() before I made any changes, but when ignoring white space (in tkdiff, -w plus checking 'Ignore blanks when diffing'), its easy to see the small changes I've made: - when fail to find AVP info, show code in tree parent in decimal (as specs do) - add an expert info (undecoded, note) to indicate unknown AVP codes diameter/imscxdx.xml ------------------------------- - added 'Associated-Identities' svn path=/trunk/; revision=18641
2006-05-28Ethereal->WiresharkAnders Broman1-5/+5
svn path=/trunk/; revision=18234
2006-05-23From Martin Mathieson:Anders Broman1-0/+3
- Many DCT2000 protocols can be embedded within an IP primitive message. Add a heuristic to see if we can find the protocol payload within in IP primitive message, and look for an ethereal dissector matching the DCT2000 protocol name (this is useful for simple protocol testing where no physical links are involved) - Make some more of these protocols (diameter, http, mgcp) findable by name - Adds protocol 'variant' number to stub and dissector - Break the duplicated writing of the stub header out into a separate function svn path=/trunk/; revision=18212
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-05-15dissect_diameter_tcp should be static voidAnders Broman1-5/+2
svn path=/trunk/; revision=18166
2006-03-20From Martin Mathieson:Anders Broman1-34/+39
Some cosmetic changes: - when working out the application id description to show in the info column, also consider vendor application identifiers - make sure application ids and command codes are always shown as decimal numbers - a little whitespace tidyup svn path=/trunk/; revision=17684
2006-03-15from Martim Mattieson:Anders Broman1-6/+65
This small patch will cause the current AVP dictionary to be freed and repopulated when relevant preferences have changed. svn path=/trunk/; revision=17635
2006-03-15From Martin MathiesonAnders Broman1-14/+34
>>>This patch: >>>- makes it possible to turn off use of the XML AVP dictionary (which >>>relies upon the XML lib being installed). A failed load results in 3 >>>annoying dialogs popping up the first time a diameter packet is read. >>>Default is previous behaviour. svn path=/trunk/; revision=17628
2006-02-16Use the new "proto_tree_add_*_format_value" routines.Guy Harris1-12/+12
svn path=/trunk/; revision=17316
2006-01-20packet-bgp.c: Fix incorrect use of g_snprintf return valueJörg Mayer1-5/+9
mp_addr_to_str was unnecessary 'complex' - simplified it packet-dns.c: Fix incorrect use of g_snprintf return value packet-dcm.c: Fix incorrect use of g_snprintf return value Someone who understands the protocol should look at the "vr, tr might be used uninitialized..." warning. packet-x11.c: Fix incorrect use of g_snprintf return value packet-kerberos.c: Fix incorrect use of g_snprintf return value Someone should take a look at the "longjump might clobber ..." messages packet-diameter.c: Fix incorrect use of g_snprintf return value Get rid of unsigned < 0 check packet-pgm.c: Fix incorrect use of g_snprintf return value packet-nbns.c: Fix incorrect use of g_snprintf return value packet-winsrepl.c: Collateral damage to packet-nbns.c fix packet-netbios.c: Collateral damage to packet-nbns.c fix packet-netbios.h: Collateral damage to packet-nbns.c fix packet-kerberos.c: Collateral damage to packet-nbns.c fix packet-nbipx.c: Collateral damage to packet-nbns.c fix svn path=/trunk/; revision=17065
2006-01-10Handle <application id="4294967295" name="Relay"/>Anders Broman1-3/+2
svn path=/trunk/; revision=16988
2006-01-05Bill Meier:Jörg Mayer1-2/+2
Spelling fixes. svn path=/trunk/; revision=16956
2005-11-19Use VendorID from sminmpec.Anders Broman1-26/+42
svn path=/trunk/; revision=16552
2005-11-16Display AVP:s of Dimater type Unsigned32 as such even when they have "value ↵Anders Broman1-6/+40
translation". svn path=/trunk/; revision=16510
2005-10-15remove some strcpy() and strcat()Ronnie Sahlberg1-10/+20
remove two buffers from the stack. svn path=/trunk/; revision=16229
2005-10-13get rid of some strcpy() and some compiler warningsRonnie Sahlberg1-18/+18
svn path=/trunk/; revision=16212
2005-10-13remove some strcpy() from diameter and remove some arrays from the stackRonnie Sahlberg1-20/+17
svn path=/trunk/; revision=16209
2005-09-13Get application ID from the packet.Anders Broman1-22/+22
svn path=/trunk/; revision=15783
2005-08-20more sprintf updatesRonnie Sahlberg1-13/+19
svn path=/trunk/; revision=15469
2005-08-18several times replacing:Ulf Lamping1-1/+1
sprintf -> g_snprintf snprintf -> g_snprintf vsnprintf -> g_vsnprintf strdup -> g_strdup svn path=/trunk/; revision=15412
2005-08-08various code cleanup:Ulf Lamping1-8/+4
-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-07-29Constify some variables and arguments to squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15137
2005-07-28char -> const char warning fixesJörg Mayer1-4/+4
svn path=/trunk/; revision=15126
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-2/+2
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043
2005-06-26packet-diameter.c(856) : warning C4090: 'function' : different 'const' ↵Ulf Lamping1-2/+2
qualifiers packet-diameter.c(856) : warning C4024: 'addVendor' : different types for formal and actual parameter 2 packet-diameter.c(857) : warning C4090: 'function' : different 'const' qualifiers packet-diameter.c(857) : warning C4024: 'addVendor' : different types for formal and actual parameter 3 packet-diameter.c(863) : warning C4090: 'function' : different 'const' qualifiers packet-diameter.c(863) : warning C4024: 'addCommand' : different types for formal and actual parameter 2 svn path=/trunk/; revision=14778
2005-04-26from anders bRonnie Sahlberg1-7/+99
diameter updates to add 3gpp vendor avp svn path=/trunk/; revision=14189
2005-03-06No, the code is the numerical value, not the vendor ID.Guy Harris1-1/+1
svn path=/trunk/; revision=13618
2005-03-06From Ben Turner: fix an addVendor() call.Guy Harris1-1/+1
svn path=/trunk/; revision=13617
2005-03-02Present diameter time as UTC time rather than the local time zone of the ↵Anders Broman1-4/+4
machine running Ethereal is at. Insert a comment that time before 1970 will not be presented properly. svn path=/trunk/; revision=13573
2005-02-28Undo change of return (addVendor(atoi(id), code, name)); as it wasn't correct.Anders Broman1-1/+2
svn path=/trunk/; revision=13553
2005-02-27Avoid trying to display a time before 00:00:00 UTC, January 1, 1970 as it ↵Anders Broman1-10/+18
currently will be displayed wrongly. svn path=/trunk/; revision=13542
2005-02-24From Ben Turner:Anders Broman1-1/+1
Vendors were not being parsed properly from the XML diameter dictionary. svn path=/trunk/; revision=13504
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2004-10-19From Jacques, Olivier: - Fixing enums recognition when an XML dictionary is ↵Anders Broman1-1/+1
used (was OK with fixed dictionaries) svn path=/trunk/; revision=12350
2004-10-18Squelch a compiler warning.Guy Harris1-1/+5
svn path=/trunk/; revision=12343
2004-10-18From Olivier Jacques: Add #defines to disable XML validation.Gerald Combs1-1/+10
svn path=/trunk/; revision=12340
2004-10-08From: "Jacques, Olivier :Anders Broman1-23/+128
- Added new RFC 3588 header format support (vendor-Id is replaced by application-Id) and command code has its own separated name space. The Draft v16 behaviour is maintained (through Preferences menu). - Added 3GPP IMS Cx/Dx interface decoding (new imscxdx.xml) - Fixed some issues in dictionary.xml - Refreshed Diameter applications in embedded AVPs (that do not rely on XML dictionary) svn path=/trunk/; revision=12235
2004-09-30Constify some more stuff.Guy Harris1-1/+1
svn path=/trunk/; revision=12160
2004-09-30Move the #defines for SMI Network Management Private Enterprise CodesGuy Harris1-6/+8
for organizations to an <epan/sminmpec.h> header, and add in the ones that were used (without #defines) in the Diameter dissector. Merge the value_string tables for them from the Diameter and Radius dissectors into epan/sminmpec.c and merge them. Use that value_string table in the Diameter and Radius dissectors. Constify some stuff in the Diameter dissector. svn path=/trunk/; revision=12159
2004-09-28From Olivier Jacques:Guy Harris1-4/+39
- Add a configuration option for Diameter version. Currently, the choice is between everything before draft-v16 and RFC3588. - Fix diameter-ip-address parsing depending on the Diameter version (and showing decoding errors accordingly). - Change registration of Diameter from TCP and SCTP port 1812 to TCP and SCTP port 3868 (this is according to RFC3588, section 11.5). svn path=/trunk/; revision=12121
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-21Prevent the word "desegmentation" at the GUI, but use reassembling at that ↵Ulf Lamping1-2/+3
places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions. I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences. Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect. If you encounter any mistakes I've made here, please let me know... svn path=/trunk/; revision=11784
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-1/+1
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1965
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