Commit Graph

1193 Commits

Author SHA1 Message Date
Guy Harris 73813e04ce Add a bunch of placeholder entries for DLPI link-layer types, for
reference.

svn path=/trunk/; revision=1114
1999-11-26 11:18:12 +00:00
Richard Sharpe 7d7b0fbdbd Fixed the problem causing a SIGSEGV, and fixed problems with
UNICODE strings in transact SMBs.

Added decode of NetShareEnum transact request.  Will have to clean that all
up and use the decode engine when I get it done.

Still more fix ups to be done, but the book is calling, and I have to write
some stuff after an interview with LinuxCare.

svn path=/trunk/; revision=1113
1999-11-26 06:27:22 +00:00
Gilbert Ramirez 29087f241f Make TCP follow put display filter in the text-entry box, but not in
the history of display filters. If it is deemed useful to put the filter in
the histor of filters also, then I can do that.

When Match Selected produces byte-range display filters (field[x:y] == x.y.z),
use notation without length, since the length is no longer needed.
(field[x] == x.y.z is produced)

When Match Selected prodcues a filter for FT_ETHER's, use ether_to_str()
instead of sprintf().

svn path=/trunk/; revision=1112
1999-11-26 05:23:40 +00:00
Gilbert Ramirez 9f1b44de89 Support for RFC 1089, SNMP over Ethernet. (I just had to
add a call to dissect_snmp() for ethertype 0x814c).

svn path=/trunk/; revision=1111
1999-11-26 04:52:36 +00:00
Guy Harris 58e9b67cca Add a pile of stuff from the UNI 3.1 and UNI 4.0 specs.
svn path=/trunk/; revision=1110
1999-11-25 22:52:20 +00:00
Guy Harris e02dab4a85 Minor bug fix.
svn path=/trunk/; revision=1109
1999-11-25 22:49:01 +00:00
Guy Harris 298f3b2402 On a "wtap_dump_close()" error, if it's not one of the errors for which
we put up a special error, just use "wtap_strerror()" to generate the
error message - it'll handle both "errno" errors and Wiretap-specific
errors.

svn path=/trunk/; revision=1108
1999-11-25 22:37:53 +00:00
hannes 2a696fc41a updated my AUTHOR record
- IPv6
+ CDP

svn path=/trunk/; revision=1107
1999-11-25 20:19:43 +00:00
Gerald Combs e479d316a7 Change display filter entry widget to a GtkCombo.
Modify filter_packtes to return 1 on success, and 0 on failure.

svn path=/trunk/; revision=1106
1999-11-25 18:02:25 +00:00
Guy Harris f90037ac8d Small bug fix.
svn path=/trunk/; revision=1105
1999-11-25 11:00:27 +00:00
Guy Harris d1c36982c6 Fixes to Q.931 dissector, and additions from a recent copy of Q.931.
Export some functions from the Q.931 dissector, so the Q.2931 dissector
can use them.

Add a pile of information element dissection to the Q.2931 dissector.

svn path=/trunk/; revision=1104
1999-11-25 10:01:18 +00:00
Guy Harris 72fa4b5d3a Don't define "pseudo_header" in "ascend-scanner.l", as that may cause
warnings about multiple declaration of "pseudo_header" as a common.
Instead, define it only in "ascend-grammar.y", and declare it in
"ascend-int.h" as an "extern".

svn path=/trunk/; revision=1103
1999-11-24 19:29:45 +00:00
Jun-ichiro itojun Hagino 57cffcde01 remove infinite loop in UPDATE dissector (happend during merge)
svn path=/trunk/; revision=1101
1999-11-23 20:56:49 +00:00
Gilbert Ramirez aeb4ec481a Add terminating NULL record to value_string nfs2_mode_names to prevent
segfault.

svn path=/trunk/; revision=1100
1999-11-23 17:52:04 +00:00
Gilbert Ramirez de2370185d Added Cisco Auto-RP dissector from Heikki Vatiainen <hessu@cs.tut.fi>
svn path=/trunk/; revision=1099
1999-11-23 17:09:58 +00:00
Guy Harris 50795ee1e9 Some fixes.
Make the PDU type the first field in the protocol tree.

svn path=/trunk/; revision=1098
1999-11-23 07:19:14 +00:00
Gilbert Ramirez 7bd50061f8 Move to version 0.7.8.
Document changes in this version.
Add Greg to ever-growing list of authors (he was in AUTHORS, but not
	in manpage nor in main.c)

svn path=/trunk/; revision=1097
1999-11-23 04:43:44 +00:00
Gilbert Ramirez 61604233f1 Add AIX doco and modify references to it.
svn path=/trunk/; revision=1096
1999-11-23 03:50:40 +00:00
Gilbert Ramirez cf67247e92 Added Heikki Vatiainen's patch to "quiet down" the SAP info column.
svn path=/trunk/; revision=1095
1999-11-22 21:41:30 +00:00
Gilbert Ramirez d68a8709c7 Detect x.25 and loopback traces via if_type field, not the
interface name. Thanks to Olivier for testing this. The only link type
detected by interface name is FDDI.

svn path=/trunk/; revision=1094
1999-11-22 15:55:08 +00:00
Richard Sharpe a90cb04447 Some more fixups. Decode NetServerEnum2 responses, removed those
ugly wannings, and added start of general params decode.  May all change
drastically though.

svn path=/trunk/; revision=1093
1999-11-22 10:30:22 +00:00
Guy Harris 428e8e2ac8 Document the new "Reset" button.
svn path=/trunk/; revision=1092
1999-11-22 08:09:16 +00:00
Guy Harris 5cc08a4b40 Include "util.h" to get the declaration of "EBCDIC_to_ASCII1()".
svn path=/trunk/; revision=1091
1999-11-22 08:03:31 +00:00
Jun-ichiro itojun Hagino d8c7fed186 bgp updates from Greg.
- now prints RFC1771 withdrawn prefixes
- COMMUNITIES are now fully supported
- AS_PATH fixes (output formatting, used snprintf and not sprintf,
                 AS_PATH broken into separate subtree, and for now will
                 ignore confederation types until we support them)
- AGGREGATOR fixes, now prints again in tree header
- made capitalization consistent (first words capitalized, rest lower
case)
- lots more commenting
- other minor corrections
- started work on route reflector attributes

From: Greg Hankins <gregh@arthur.twoguys.org>

svn path=/trunk/; revision=1090
1999-11-22 07:05:21 +00:00
Gilbert Ramirez 942b69ce9a A "character encoding" variable is now set per packet. The existence
of SNA in a packet changes the character encoding from the default ASCII
to EBCDIC.

The hex-printing routines in the GUI code and in the printing code convert
to EBCDIC if appropriate.

svn path=/trunk/; revision=1089
1999-11-22 06:24:56 +00:00
Gilbert Ramirez f94d38cbd3 Fixed the way IPX network name resolution works with name resolution
turned off (the '-n' option), and made it a bit faster by removing
sprintf()'s.

svn path=/trunk/; revision=1088
1999-11-22 06:03:46 +00:00
Nathan Neulinger c47ece410a Added v2 portmap dump reply
svn path=/trunk/; revision=1087
1999-11-22 03:32:55 +00:00
Gilbert Ramirez 1cbedad8d6 Added Heikki Vatiainen's <hessu@cs.tut.fi> HSRP dissector.
svn path=/trunk/; revision=1086
1999-11-21 20:02:32 +00:00
Gilbert Ramirez 6e11f6f0b5 Enable IPX network name resolution by providing for an /etc/ipxnets
and a $HOME/.ethereal/ipxnets file. get_ipxnet_name() and other functions,
similar to get_ether_name() and friends, have been added.

svn path=/trunk/; revision=1085
1999-11-21 16:32:23 +00:00
Laurent Deniel f7b3c5a4a9 Add a "Reset" button to reset the current display filter and
redisplay the packet list.

svn path=/trunk/; revision=1084
1999-11-21 15:06:07 +00:00
Gilbert Ramirez 34c9f8241c Added Heikki Vatiainen's <hessu@cs.tut.fi> VRRP dissector.
svn path=/trunk/; revision=1083
1999-11-21 14:43:53 +00:00
Laurent Deniel eb65d4fdb9 Remove debugging printf.
svn path=/trunk/; revision=1082
1999-11-21 11:17:13 +00:00
Laurent Deniel ec64846d26 Add display filters.
svn path=/trunk/; revision=1081
1999-11-21 11:04:11 +00:00
Guy Harris 67e825f6f0 Patches from Heikki Vatiainen to:
handle replies that may be continued from an earlier TCP
	segment;

	not show the argument line in the tree display if the request
	or response didn't contain an argument.

svn path=/trunk/; revision=1080
1999-11-20 23:03:09 +00:00
Richard Sharpe 139cfdccda Added support or NetServerEnum2 LANMAN messages.
I still have compile warnings, but I am too tired to chase them down.

Have also fixed a number of problems.

Next thing to add is a general engine that can decode Transact messages
as they can be decode from the descriptors in the Parameters area, and I
can feed in a list of names where we know what a structure looks like,
otherwise we use made up names.

svn path=/trunk/; revision=1079
1999-11-20 13:48:26 +00:00
Guy Harris cea9f5b92e Mount V2.
Add EXPORTALL, which is identical to EXPORT.

Make static and/or const a number of things that can be made static or
const.

svn path=/trunk/; revision=1078
1999-11-20 06:17:00 +00:00
Gilbert Ramirez 06f621aceb Remove my debug printf().
svn path=/trunk/; revision=1077
1999-11-20 06:05:56 +00:00
Gilbert Ramirez 2da6ff3be5 Enable ether name resolution for packet summary lines of IPX packets
(in the src/dst of the CList). In order to do this, I had to:

1. Add a new function, ether_to_str_punct(const guint8*, char) which
	turns a 6-byt ether address into a string, using whatever punctuation
	is passed as the char. If a null char is passed, no separator
	is put between the hex digits. Unresolved IPX addresses look better
	with the ether portion having no punctuation (IMHO)

2. Changed ether_to_str() to call ether_to_str_punct with ':' as the char
	argument. That is, code abstraction.

3. MAXNAMELEN was moved from resolv.c to resolv.h so that packet-ipx.c
	could see it.

4. A new resolve function, get_ether_name_if_known(), returns the resolved name
	of an ether address, or NULL if there is none.  This differs
	from get_ether_name() by returning NULL rather than a text version
	of the ether address.

svn path=/trunk/; revision=1076
1999-11-20 05:35:15 +00:00
Gilbert Ramirez 2f996a1498 Ugg. Pod format needs a blank line after a =head1 line.
svn path=/trunk/; revision=1075
1999-11-20 03:56:10 +00:00
Gilbert Ramirez 0e3f87e3e4 The resolve routines accept HW addresses in the ethers file with either
dashes or colons as punctuation. Added period as a valid separator, to make
the resolve routines congruent with the display filter syntax options.

Document the fact that both /etc/ethers and $HOME/.ethereal/ethers are
used for resolving hardware address names. I did not know this until
I discovered it in resolv.c!

svn path=/trunk/; revision=1074
1999-11-20 03:39:27 +00:00
Gilbert Ramirez a0704a2c7b The code for Ethernet II was using proto_tree_add_item_format() even
though it doesn't need to. (I missed that section when I converted packet-eth.c
to use hfinfo fields). Fixed.

svn path=/trunk/; revision=1073
1999-11-20 03:27:02 +00:00
Guy Harris 259982160a Make various "value_string" tables "const"; this allows the compiler to
stuff them into shared read-only space.

Put the "VALS()" cast macro into the initialization of an
"hf_register_info" array.

svn path=/trunk/; revision=1072
1999-11-19 23:23:41 +00:00
Gilbert Ramirez bfeff47889 Change ipv4 class to use ip_to_str() when converting IP address to string.
ip_to_str() is 7 times faster than my sprintf() implementation (both of
which take very little time for the single call that match_selected() makes,
but you know....)

svn path=/trunk/; revision=1071
1999-11-19 23:01:26 +00:00
Gilbert Ramirez b91d595c77 Change match_selected() to produce a display filter using the selected
field's name, if possible. (If the selected field is not a registered field,
then of course, we still have to use the frame[x:y] syntax).

tree_selected_start and tree_selected_len are on longer globals variables;
finfo_selected has replaced them.

svn path=/trunk/; revision=1070
1999-11-19 22:32:00 +00:00
Gilbert Ramirez f8f41fe3c6 Added Uwe's update to RPC.
svn path=/trunk/; revision=1069
1999-11-19 13:09:56 +00:00
Guy Harris 8963fabad6 Beginnings of Q.2931 support.
svn path=/trunk/; revision=1068
1999-11-19 09:55:38 +00:00
Guy Harris a8dfc56400 There are no protocols under Q.931, so mark everything up to the end of
the frame as being Q.931 stuff.

svn path=/trunk/; revision=1067
1999-11-19 09:46:51 +00:00
Guy Harris 26288653d7 Fix a typo.
svn path=/trunk/; revision=1066
1999-11-19 09:11:44 +00:00
Guy Harris e0d602e5c0 The only thing we shouldn't do if the "tree" argument is NULL is put
stuff into the tree - we should call the child dissectors in any case.

svn path=/trunk/; revision=1065
1999-11-19 09:10:22 +00:00
Guy Harris 70641c27dd Add support for SSCOP protocol; dissect signalling AAL packets using it.
It's in a file of its own, as I think there may be, or may have been
proposed, non-ATM uses of it as well.

svn path=/trunk/; revision=1064
1999-11-19 07:28:16 +00:00