14 years agoAdd parsertab.pyc in clean target
etxrab [Thu, 23 Feb 2006 20:05:52 +0000 (20:05 +0000)]
Add parsertab.pyc in clean target

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17387 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd parsertab.pyc in clean target
etxrab [Thu, 23 Feb 2006 20:05:05 +0000 (20:05 +0000)]
Add parsertab.pyc in clean target

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17386 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Alejandro Vaquero:
etxrab [Thu, 23 Feb 2006 20:03:42 +0000 (20:03 +0000)]
From Alejandro Vaquero:

a patch for the VoipCalls to fix a couple of issues:
- a problem with the RTP Events (RFC2833) not been handle correctly
- Display the RTP stream in time order when the setup frame is after the
RTP stream.
- fix a init issue that caused the H245 packet to not been displayed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17385 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Alejandro Vaquero:
etxrab [Thu, 23 Feb 2006 20:03:06 +0000 (20:03 +0000)]
From Alejandro Vaquero:

a patch for the VoipCalls to fix a couple of issues:
- a problem with the RTP Events (RFC2833) not been handle correctly
- Display the RTP stream in time order when the setup frame is after the
RTP stream.
- fix a init issue that caused the H245 packet to not been displayed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17384 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Alejandro Vaquero:
etxrab [Thu, 23 Feb 2006 20:02:23 +0000 (20:02 +0000)]
From Alejandro Vaquero:

a patch for the VoipCalls to fix a couple of issues:
- a problem with the RTP Events (RFC2833) not been handle correctly
- Display the RTP stream in time order when the setup frame is after the
RTP stream.
- fix a init issue that caused the H245 packet to not been displayed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17383 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- More "docOMMentation" of the API
lego [Thu, 23 Feb 2006 17:02:29 +0000 (17:02 +0000)]
- More "docOMMentation" of the API

- also supress Address__ge and Address_gt because re-reading the ref manual I noticed that they are suplerfluous (Lua assumes that a > b is equivalent to b < a, which in most cases (as this) it does)

- have elua_makedoc.pl hanlde docomments in more than one line and after the line where the entity s defined.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17382 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd ep_tvb_memdup() description to documentation
jake [Thu, 23 Feb 2006 16:52:13 +0000 (16:52 +0000)]
Add ep_tvb_memdup() description to documentation

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17381 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix for bug 762. Decode either LED function or off duration.
jake [Thu, 23 Feb 2006 11:56:18 +0000 (11:56 +0000)]
Fix for bug 762. Decode either LED function or off duration.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17380 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDelete docs in maintainer-clean target
jmayer [Thu, 23 Feb 2006 10:18:05 +0000 (10:18 +0000)]
Delete docs in maintainer-clean target

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17379 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd an expansion to ethernet source and destination addresses
sahlberg [Thu, 23 Feb 2006 09:54:08 +0000 (09:54 +0000)]
add an expansion to ethernet source and destination addresses

inside this expansion show
1,    eth.addr      so people can see that this field exists (i think it is futile to use "hidden" fields and expect people to search through the infinitely long list of fields,   better show everything and they will see themself what fuields they can filter on)
2,  bit 0x01 of the first byte to show if it is Multi or Uni-cast
3, bit 0x02 of the first byte to show if it is a locally administrated address or not.
I do use the (to laymen) more descriptive names  "factory default"    instead of LocallyAdminAddr in the true_false string though.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17378 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agofix for bug 718
sahlberg [Thu, 23 Feb 2006 09:11:00 +0000 (09:11 +0000)]
fix for bug 718

dont play games with lnk_t
If the preference is set to unconditionally dissect everything as docsis   just call the docsis handler directly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17377 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd TCAP ssn
etxrab [Thu, 23 Feb 2006 06:35:45 +0000 (06:35 +0000)]
Add TCAP ssn

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17376 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoForgot...
lego [Wed, 22 Feb 2006 23:58:21 +0000 (23:58 +0000)]

Elua functions in elua.c moved to this new file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17375 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- More documentation embeded in the source code.
lego [Wed, 22 Feb 2006 23:55:11 +0000 (23:55 +0000)]
- More documentation embeded in the source code.
- Changed some Macros
- Have dump:close NULLyfing the boxed object so that no futher operations are performed on a dumper once is closed.
- Check if elua_register.h has changed and avoid overwriting it if it hasn't changed to avoid unnecessary compilations.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17374 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Irene Ruengler:
tuexen [Wed, 22 Feb 2006 17:27:23 +0000 (17:27 +0000)]
From Irene Ruengler:
Fix bug regarding the lower left edge and the handling of points outside the displayed region.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17373 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDesegment DT1 messages.
etxrab [Wed, 22 Feb 2006 16:25:29 +0000 (16:25 +0000)]
Desegment DT1 messages.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17372 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoelua_register.h wasn't built automatically
jmayer [Wed, 22 Feb 2006 14:19:39 +0000 (14:19 +0000)]
elua_register.h wasn't built automatically

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17371 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoRemove svn:executable property from source files
jake [Wed, 22 Feb 2006 12:04:03 +0000 (12:04 +0000)]
Remove svn:executable property from source files

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17370 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agomake the old style SNMP dissector handle 64 bit integers better
sahlberg [Wed, 22 Feb 2006 10:45:23 +0000 (10:45 +0000)]
make the old style SNMP dissector handle 64 bit integers better

fixes bug 723

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17369 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agomake IPP treat all fields with the name '*-time' and being 4 byte integers
sahlberg [Wed, 22 Feb 2006 09:53:22 +0000 (09:53 +0000)]
make IPP treat all fields with the name '*-time' and being 4 byte integers
as if they are unix 32 bit timestamps and display them as such.

this fixes bug 755

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17368 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago from kirby files
sahlberg [Wed, 22 Feb 2006 08:39:06 +0000 (08:39 +0000)]
 from kirby files

ppp/bpdu update

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17367 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd some missing files.
etxrab [Wed, 22 Feb 2006 06:12:50 +0000 (06:12 +0000)]
Add some missing files.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17366 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd makefile.nmake
etxrab [Wed, 22 Feb 2006 06:06:21 +0000 (06:06 +0000)]
Add makefile.nmake

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17365 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoNo need for empty lualib directory
jmayer [Wed, 22 Feb 2006 04:48:06 +0000 (04:48 +0000)]
No need for empty lualib directory

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17364 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoI commented out this a while ago as they caused a crash in GTK2.8/cairo on my box...
lego [Tue, 21 Feb 2006 23:35:13 +0000 (23:35 +0000)]
I commented out this a while ago as they caused a crash in GTK2.8/cairo on my box. I checked it in by mistake with a lot of more files, even worst I did not pay attention to an e-mail on the list regarding the damage caused. Luckily Alejandro Vaquero contacted me directly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17363 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- rename all the c files
lego [Tue, 21 Feb 2006 21:52:28 +0000 (21:52 +0000)]
- rename all the c files
- have elua_makereg.pl generating the declaration and registration Macros for each module
- start of elua_makedoc.pl that should generate the Reference Manual from the code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17362 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix for bug 758: Adding facility codes 12-15 according to RFC 3164
jake [Tue, 21 Feb 2006 21:30:27 +0000 (21:30 +0000)]
Fix for bug 758: Adding facility codes 12-15 according to RFC 3164

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17361 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoPut in some of the old functionallity.
etxrab [Tue, 21 Feb 2006 18:56:25 +0000 (18:56 +0000)]
Put in some of the old functionallity.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17360 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix for bug 756. Handle CR as part of separator as well.
jake [Tue, 21 Feb 2006 11:48:40 +0000 (11:48 +0000)]
Fix for bug 756. Handle CR as part of separator as well.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17359 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix for bug 724: DNS dissector fails in handling the sign of Altitude in LOC type...
jake [Tue, 21 Feb 2006 08:14:11 +0000 (08:14 +0000)]
Fix for bug 724: DNS dissector fails in handling the sign of Altitude in LOC type response (RFC1867)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17358 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Balint Reczey (IJ/ETH)
etxrab [Mon, 20 Feb 2006 17:21:47 +0000 (17:21 +0000)]
From Balint Reczey (IJ/ETH)

> The included patch fixes BFD version detection in the BFD packet
> dissector and extends it to correctly dissect version 1 packets. The
> Authentication Section part of the packet is still not dissected.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17357 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Sake Blok:
etxrab [Mon, 20 Feb 2006 06:25:02 +0000 (06:25 +0000)]
From Sake Blok:
Add a filter for X-Forwarded-For.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17356 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFor the "there's already a file with that name" dialog, use a wording
guy [Sun, 19 Feb 2006 23:51:39 +0000 (23:51 +0000)]
For the "there's already a file with that name" dialog, use a wording
more like the one used by gedit.  (Note that the file in question might
not be a capture file, although it probably is.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17355 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- Use lua 5.1
lego [Sun, 19 Feb 2006 21:51:34 +0000 (21:51 +0000)]
- Use lua 5.1
- Compress *_register() functions

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17354 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoRecent checkins lost a change to make the liblualib check succeed on
jmayer [Sun, 19 Feb 2006 11:02:20 +0000 (11:02 +0000)]
Recent checkins lost a change to make the liblualib check succeed on
Suse 9.3 (original checkin r17198).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17353 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoRemove c++ style comment.
etxrab [Sun, 19 Feb 2006 10:17:07 +0000 (10:17 +0000)]
Remove c++ style comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17352 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix for bug 752:
jake [Sun, 19 Feb 2006 09:54:37 +0000 (09:54 +0000)]
Fix for bug 752:
IEEE802.3ah-2004 (OAM) Errored Frame Seconds Summary Event TLV is not being
decoded properly.  Per IEEE802.3ah-2004 section, item g, the Error
Running Total field should be 4-octets however Ethereal is trying to decode this
field as 8-octets which results in incorrect value reported for "Error Running
Total" and "Event Running Total".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17351 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFrom Florent.Drouin@alcatel.fr
etxrab [Sat, 18 Feb 2006 23:29:51 +0000 (23:29 +0000)]
From Florent.Drouin@alcatel.fr
Add the same workaround used in packet-ftam.c for the bad handling of the asn "IMPLICIT SEQUENCE", in the packet-gsm_map-template.c. This patch concerns Map V3 messages, not correctly decoded with the previous workaround "offset=offset+2".

Change a parameter for Provide Roaming Number decoding.

Add a decoding fonction for "Channel needed" parameter to avoid a decoding error for Paging messages
with a change to actually dissct channel needed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17350 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd tags to svn:ignore
jmayer [Sat, 18 Feb 2006 22:21:26 +0000 (22:21 +0000)]
Add tags to svn:ignore

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17349 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agorename plugin.c to lua_plugin.c
lego [Sat, 18 Feb 2006 05:12:58 +0000 (05:12 +0000)]
rename plugin.c to lua_plugin.c

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17348 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd dual version
lego [Sat, 18 Feb 2006 05:11:29 +0000 (05:11 +0000)]
Add dual version

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17347 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoPrepare for lua 5.1
lego [Sat, 18 Feb 2006 04:03:24 +0000 (04:03 +0000)]
Prepare for lua 5.1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17346 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd a missing dependency to ethereal.rc
ulfl [Sat, 18 Feb 2006 01:11:45 +0000 (01:11 +0000)]
add a missing dependency to ethereal.rc

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17345 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd a link to a message indicating that sizing *is* buggy
ulfl [Sat, 18 Feb 2006 01:10:38 +0000 (01:10 +0000)]
add a link to a message indicating that sizing *is* buggy

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17344 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agosquelch some compiler warnings
ulfl [Sat, 18 Feb 2006 01:07:23 +0000 (01:07 +0000)]
squelch some compiler warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17343 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agopreparation for a very simple regression test
ulfl [Fri, 17 Feb 2006 22:40:54 +0000 (22:40 +0000)]
preparation for a very simple regression test

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17342 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agofix some bugs introduced with command line encapsulation
ulfl [Fri, 17 Feb 2006 22:39:32 +0000 (22:39 +0000)]
fix some bugs introduced with command line encapsulation

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17341 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd a log message, if capture start failed
ulfl [Fri, 17 Feb 2006 22:36:59 +0000 (22:36 +0000)]
add a log message, if capture start failed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17340 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoMore duplicate code removal.
gerald [Fri, 17 Feb 2006 19:10:12 +0000 (19:10 +0000)]
More duplicate code removal.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17339 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoInclude some header files so that we can get rid of duplicate code and
gerald [Fri, 17 Feb 2006 19:07:54 +0000 (19:07 +0000)]
Include some header files so that we can get rid of duplicate code and
call various GTK+ routines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17338 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDon't try to fill in last_dn if it doesn't exist. Fixes the current Buildbot
gerald [Fri, 17 Feb 2006 16:35:45 +0000 (16:35 +0000)]
Don't try to fill in last_dn if it doesn't exist.  Fixes the current Buildbot

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17337 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- Make sure the right globals are set before invoking user tap caallbaccks
lego [Fri, 17 Feb 2006 16:16:42 +0000 (16:16 +0000)]
- Make sure the right globals are set before invoking user tap caallbaccks
- Have Dumper.new_for_current() and dumper:dump_current() work.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17336 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoTranslate cause value
etxrab [Fri, 17 Feb 2006 15:42:33 +0000 (15:42 +0000)]
Translate cause value

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17335 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDissect the rest of the IE:s
etxrab [Fri, 17 Feb 2006 15:41:00 +0000 (15:41 +0000)]
Dissect the rest of the IE:s

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17334 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoPaolo Abeni:
jmayer [Fri, 17 Feb 2006 11:56:52 +0000 (11:56 +0000)]
Paolo Abeni:

pinfo->net_src and pinfo->net_dst where used to set up conversation, but
this fields are null on eap stream. use pinfo->src and pinfo->dst
The patch also enable strict checking in the 'follow ssl stream' dialog.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17333 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoWe now quote args as necessary on Windows when constructing the command
guy [Fri, 17 Feb 2006 11:53:11 +0000 (11:53 +0000)]
We now quote args as necessary on Windows when constructing the command
line, so there's no need to quote them when adding the arguments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17332 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoSquelch some compiler warnings.
guy [Fri, 17 Feb 2006 10:03:34 +0000 (10:03 +0000)]
Squelch some compiler warnings.

Fix indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17331 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoOn Windows. quote arguments as necessary before sticking them into the
guy [Fri, 17 Feb 2006 09:45:52 +0000 (09:45 +0000)]
On Windows. quote arguments as necessary before sticking them into the
command line passed to Create_Process().

On UN*X, use "execv()", not "execvp()", as we now construct the absolute
pathname of "dumpcap".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17330 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- avoid the user been flooded with report_error windows if there's an error in a...
lego [Fri, 17 Feb 2006 05:16:06 +0000 (05:16 +0000)]
- avoid the user been flooded with report_error windows if there's an error in a tap callback
- fix args of Dumper:new_for_current
- add a semicolon after LUA_CLASS_DECLARE(PseudoHeader,PSEUDOHEADER) that caused an error (Lesson: Even if trivial one should test changes, there's always a typo arround the corner)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17329 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- pass the tvb too to tap packet callbacks
lego [Fri, 17 Feb 2006 02:50:23 +0000 (02:50 +0000)]
- pass the tvb too to tap packet callbacks
- Dumper (an interface to Wiretap dumpers)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17328 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoremove dependencies to pcap.h, so getting an idea what needs to be done by dumpcap...
ulfl [Fri, 17 Feb 2006 02:18:48 +0000 (02:18 +0000)]
remove dependencies to pcap.h, so getting an idea what needs to be done by dumpcap in addition to the things already done now

various dumpcap related code cleanup: mainly #include's and capture engine related stuff

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17327 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoeven if we don't want to close stdout on wtap_dump_close(), we might at least try...
ulfl [Fri, 17 Feb 2006 01:47:53 +0000 (01:47 +0000)]
even if we don't want to close stdout on wtap_dump_close(), we might at least try to flush it

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17326 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agofix a comment
ulfl [Fri, 17 Feb 2006 01:42:33 +0000 (01:42 +0000)]
fix a comment

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17325 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agowe don't need pcap.h here (any longer)
ulfl [Fri, 17 Feb 2006 01:36:28 +0000 (01:36 +0000)]
we don't need pcap.h here (any longer)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17324 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix </avp> Missing.
etxrab [Thu, 16 Feb 2006 18:32:07 +0000 (18:32 +0000)]
Fix </avp> Missing.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17323 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd dissection of all Signals and more IE:s
etxrab [Thu, 16 Feb 2006 18:26:04 +0000 (18:26 +0000)]
Add dissection of all Signals and more IE:s

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17322 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd a document for creating an Ethereal package.
gerald [Thu, 16 Feb 2006 18:08:06 +0000 (18:08 +0000)]
Add a document for creating an Ethereal package.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17321 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFreeze and thaw the packet list after a merge so that the packet list shows
gerald [Thu, 16 Feb 2006 15:53:48 +0000 (15:53 +0000)]
Freeze and thaw the packet list after a merge so that the packet list shows
the correct information.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17320 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoMove common control initialization to gtk/main.c where it belongs.
gerald [Thu, 16 Feb 2006 15:27:03 +0000 (15:27 +0000)]
Move common control initialization to gtk/main.c where it belongs.
Remove a MessageBox() call used for debugging.

Fixup whitespace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17319 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDocument the proto_tree_add_XXX_format_value() routines.
guy [Thu, 16 Feb 2006 11:51:02 +0000 (11:51 +0000)]
Document the proto_tree_add_XXX_format_value() routines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17318 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoPaolo Abeni:
jmayer [Thu, 16 Feb 2006 11:47:16 +0000 (11:47 +0000)]
Paolo Abeni:

The attached patch should fix bug 742.
The issue is (at least, I think so...) in the packet-x509af dissector
A null pointer is passes as parameter of a " %s " format string.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17317 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoUse the new "proto_tree_add_*_format_value" routines.
guy [Thu, 16 Feb 2006 11:43:38 +0000 (11:43 +0000)]
Use the new "proto_tree_add_*_format_value" routines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17316 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoHave Field extractors being defined while reading the body of the script instead...
lego [Thu, 16 Feb 2006 00:54:56 +0000 (00:54 +0000)]
Have Field extractors being defined while reading the body of the script instead that during initialization.
Change their semantics too:

ip_src_f = Field("ip.src")

function tap.packet(pinfo)
ip_src = ip_src()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17315 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoJerry Talkington:
jmayer [Wed, 15 Feb 2006 23:30:41 +0000 (23:30 +0000)]
Jerry Talkington:

Here's a tiny patch that will allow for dissecting of chunked coded HTTP
responses when there is an extension or trailing whitespace in the
Transfer-Encoding: header.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17314 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoUpdate a comment.
guy [Wed, 15 Feb 2006 22:29:15 +0000 (22:29 +0000)]
Update a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17313 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd getopt.obj to the list of object files with which dumpcap is linked;
guy [Wed, 15 Feb 2006 21:55:46 +0000 (21:55 +0000)]
Add getopt.obj to the list of object files with which dumpcap is linked;
it's necessary on Windows (but not on most UN*Xes, so getopt.c shouldn't
be part of dumpcap_SOURCES).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17312 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoCheck for getopt in the configure script, as we do for other routines
guy [Wed, 15 Feb 2006 19:20:36 +0000 (19:20 +0000)]
Check for getopt in the configure script, as we do for other routines
not available on all platforms.  Include getopt.c in
EXTRA_ethereal_SOURCES and include getopt.h in EXTRA_ethereal_INCLUDES,
as we do with the other files that supply routines not available on all
platforms, rather than always including them in the source for dumpcap.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17311 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix a typo found by Jean-Baptiste Marchand.
gerald [Wed, 15 Feb 2006 14:37:48 +0000 (14:37 +0000)]
Fix a typo found by Jean-Baptiste Marchand.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17310 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoHave those functions that end up just calling a win32_ routine if we're
guy [Wed, 15 Feb 2006 11:05:25 +0000 (11:05 +0000)]
Have those functions that end up just calling a win32_ routine if we're
using GTK+ 2.x on Windows just have the call, nothing else (no extra

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17309 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoHave those functions that end up just calling a win32_ routine if we're
guy [Wed, 15 Feb 2006 11:01:57 +0000 (11:01 +0000)]
Have those functions that end up just calling a win32_ routine if we're
using GTK+ 2.x on Windows just have the call, nothing else (no extra

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17308 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoProtect The tree and The tvb from being used outside their scope
lego [Wed, 15 Feb 2006 02:10:07 +0000 (02:10 +0000)]
Protect The tree and The tvb from being used outside their scope

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17307 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- protect proto_items and proto_trees from being used out of their scope
lego [Wed, 15 Feb 2006 02:00:18 +0000 (02:00 +0000)]
- protect proto_items and proto_trees from being used out of their scope
- fix the severity variables

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17306 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- protect column, columns and pinfo from dereferencing invalid data saved by the...
lego [Wed, 15 Feb 2006 01:21:51 +0000 (01:21 +0000)]
- protect column, columns and pinfo from dereferencing invalid data saved by the user.
- columns live for less than a packet's time, use ep_alloc not g_malloc
- tvbranges are ephemeral too

doc/ is to remain as a placeholder for upcoming docs.

lualib/ is to be deleted (if needed it should go in trunk) but it appears that once I added if I do not check it in I cannot delete it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17305 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agomgcp-plugin -> plugin-mgcp.
gerald [Tue, 14 Feb 2006 18:52:58 +0000 (18:52 +0000)]
mgcp-plugin -> plugin-mgcp.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17304 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoMake sure SSL_DEBUG_USE_STDERR is always defined.
gerald [Tue, 14 Feb 2006 18:52:26 +0000 (18:52 +0000)]
Make sure SSL_DEBUG_USE_STDERR is always defined.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17303 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoSplit the version under Windows into its major, minor, and micro
gerald [Tue, 14 Feb 2006 15:14:41 +0000 (15:14 +0000)]
Split the version under Windows into its major, minor, and micro
components.  Use them to build the VERSION, RC_VERSION, and manifest
versions (the latter two are picky about formatting).  This would
probably be useful on the autoconf side, but I didn't see an obvious
way to implement it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17302 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoPaolo Abeni:
jmayer [Tue, 14 Feb 2006 14:53:03 +0000 (14:53 +0000)]
Paolo Abeni:

- enable the 'follow SSL stream' menu item only when a ssl packet is selected.
- when 'following' an ssl stream, show ssl decrypted data only for current conversation.
- fix a typo in ssl preference description.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17301 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoExperiment with a somewhat generic packet-to-plugin wrapper
jmayer [Tue, 14 Feb 2006 14:51:18 +0000 (14:51 +0000)]
Experiment with a somewhat generic packet-to-plugin wrapper

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17300 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoChange suid to take dumpcap into account
jmayer [Tue, 14 Feb 2006 14:42:37 +0000 (14:42 +0000)]
Change suid to take dumpcap into account

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17299 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoFix the loop that checks $PATH for the binary to actually step from one
guy [Tue, 14 Feb 2006 09:08:12 +0000 (09:08 +0000)]
Fix the loop that checks $PATH for the binary to actually step from one
element of the path to the next element.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17298 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoHave the emem.c memdup routines accept and return "void *", as
guy [Tue, 14 Feb 2006 08:34:20 +0000 (08:34 +0000)]
Have the emem.c memdup routines accept and return "void *", as
"memcpy()" does; that eliminates some compiler warnings ("void *" is the
type usually used for "generic pointer").

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17297 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- fix a sure crash after an error in lua code lua_tap_draw.
lego [Tue, 14 Feb 2006 01:29:55 +0000 (01:29 +0000)]
- fix a sure crash after an error in lua code lua_tap_draw.
- make sure no reference to a Tvb in lua is used after the lua dissector has returned.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17296 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd missing emem functions
lego [Tue, 14 Feb 2006 00:56:29 +0000 (00:56 +0000)]
add missing emem functions

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17295 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd missing #include "tempfile.h"
ulfl [Mon, 13 Feb 2006 23:52:11 +0000 (23:52 +0000)]
add missing #include "tempfile.h"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17294 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoDon't se_leak expert_info records.
lego [Mon, 13 Feb 2006 23:20:38 +0000 (23:20 +0000)]
Don't se_leak expert_info records.
se_alloc them where and if  needed, not every time expert_set_info_vformat is called.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17293 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoRemove unneeded right justification.
gerald [Mon, 13 Feb 2006 23:16:55 +0000 (23:16 +0000)]
Remove unneeded right justification.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17292 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoAdd a manifest, so that styled widgets are drawn correcltly. The
gerald [Mon, 13 Feb 2006 23:09:51 +0000 (23:09 +0000)]
Add a manifest, so that styled widgets are drawn correcltly.  The
"version" field in the manifest is picky about formatting, so setting
a custom version in config.nmake (e.g. "0.10.14-test") will probably
break the Windows build.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17291 f5534014-38df-0310-8fa8-9805f1628bb7

14 years ago- disable print
lego [Mon, 13 Feb 2006 22:13:31 +0000 (22:13 +0000)]
- disable print
- add a log facility to lua (so far just prints to stderr)
- add settings to disable lua even if installed, to load or not to load user scripts when superuser
- create a default /usr/local/share/ethereal/init.lua that blocks all the io/system calls when running as superuser

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17290 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoadd missing #include "tempfile.h"
ulfl [Mon, 13 Feb 2006 22:10:42 +0000 (22:10 +0000)]
add missing #include "tempfile.h"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17289 f5534014-38df-0310-8fa8-9805f1628bb7

14 years agoMake the files at least compile. While testing them as plugins they
jmayer [Mon, 13 Feb 2006 22:08:36 +0000 (22:08 +0000)]
Make the files at least compile. While testing them as plugins they
caused tethereal to abort during startup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17288 f5534014-38df-0310-8fa8-9805f1628bb7