[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tm-dev] RE: Tcf protocol question
|
Hi Ed,
The \x03 character is use as an escape character on the TCP stream. It is followed by one of the following characters:
\x00 - Meaning escape
\x01 - Meaning end-of-message
\x02 - Meaning end-of-stream
This should be added to the specification if it is not already there.
HTH,
Felix
> -----Original Message-----
> From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Ed Swarthout
> Sent: Mittwoch, 19. März 2008 00:45
> To: dsdp-tm-dev@xxxxxxxxxxx
> Subject: [dsdp-tm-dev] tcf protocol
>
> I'm working on some of the low-level protocol debug support for TCF.
>
> I captured some packets with a simple scapy.py extension I wrote.
>
> All the TCF packets end in \x03\x01 which I didn't see in the
> documentation.
>
> Did I just miss it? What does it signify?
>
> -Ed
> ed@xxxxxxxxxxx
>
> 15:04:44.579164 TCP 49770 1534<TCF tcf='C' p1='1' p2='SysMonitor'
> p3='getContext' p4='"P1"' p5='\x03\x01' |>
>
> 15:04:44.596400 TCP 1534 49770<TCF tcf='R' p1='1' p2='0' p3='null'
> p4='{"UID":0,"UGID":0,"UserName":"root","GroupName":"root",
> "PID":1,"File":"init","State":"S",
> "PGRP":1,"Session":1,"Flags":4194560,"MinFlt":3720,"CMinFlt":1918
> 8076,
> "MajFlt":19,"CMajFlt":6153,"UTime":20,"STime":1660,
> "CUTime":2279210,"CSTime":345200,"Priority":0,"StartTime":100,
> "VSize":2076672,"PSize":4096,"RSS":175,"RLimit":4294967295,
> "CodeStart":134512640,"CodeEnd":134540892,"StackStart":3212938720
> ,
> "Signals":0,"SigBlock":0,"SigIgnore":1475401980,"SigCatch":671819
> 267,
> "NSwap":0,"CNSwap":0,"ExitSignal":0,"Processor":2,"RTPriority":0,
> "Policy":0,"ID":"P1"}'
> p5='\x03\x01' |>
>
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev