inet icon indicating copy to clipboard operation
inet copied to clipboard

BGP Frame name

Open ManiAm opened this issue 7 years ago • 2 comments

BGP is a routing protocol in the network layer, but it hands over its messages to TCP for transport. The frame name that is used for BGP frames should be changed from tcpseg.

2018-10-24_12-20-41

Frames are often called with the highest protocol (in the TCP/IP stack) that they are encapsulating. Thus when a BGP message is encapsulated into a TCP segment, that frame should be called BGP and not tcpseg.

ManiAm avatar Oct 24 '18 19:10 ManiAm

This problem is similar to attaching packet tags. What should be the name of several application packets split and merged into a single TCP segment? We could keep the name for the trivial one application packet one TCP segment case though.

levy avatar Oct 26 '18 07:10 levy

What should be the name of several application packets split and merged into a single TCP segment?

tcpseg :)

You are right. Since the TCP is a stream-oriented protocol, it accepts a stream of bytes from the application layer and encapsulates them all into a single segment. However in many scenarios, the application A on host H1 establishes a TCP connection with application B in host H2 and the data carried by TCP belongs to one particular application. One notable example is BGP.

Wireshark calls the frames correctly. For example a frame that contains a TCP segment that contains multiple BGP messages is called BGP.

2018-10-26_20-21-45

And if a message is split into multiple TCP segments, then each individual frame is called TCP:

2018-10-26_20-34-15

ManiAm avatar Oct 27 '18 03:10 ManiAm