On Tue, 8 Jun 1999, Brad Robel-Forrest wrote:
> Here is the diff and code to enable the parsed display of ISAKMP, GRE, and
> PPTP packets. I've stubbed out the call that could be made from the GRE
> dissection code to dump possible PPP encapsulated packets until the
> dissect code for PPP can accept offsets (which I think Jeff Jahr
> <jjahr@xxxxxxxxxxxxxx> has recently mailed a patch for).
Ok, I updated my tree, merged my changes with Brad's, and stubbed in the
call from GRE using the dissect_payload_ppp() routine. I dont have the
ability to make GRE packets, so I didn't test it. Brad, if you can mail me
some GRE packets I'll have a go at testing it, but in the meantime I am
posting a repackaged diff so folks can play with it. ;')
If you have already successfully applied Brad's diff and my previously
posted diff, just uncomment the 'case GRE_PPP' statement at the end of
dissect_gre(), have it call dissect_payload_ppp() instead of
dissect_ppp(), and skip the rest of these steps.
Attached is the file jsjbrf.tgz. It contains the four new packet-*.c
files for gre, isakmp, pppoe, pptp, and a single .diff file that applies
both of our previously posted patches. Here is what I did to apply these
changes to a current copy of the source:
- detar jsjbrf.tgz into the working directory.
- patch <jsjbrf.diff
- automake
- ./configure (with whatever options you need)
- make
Have fun, let me know if anything goes awry with it.
-jsj
Attachment:
jsjbrf.tgz
Description: Binary data