First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to determine whether a protocol is l2tp or not?

  • retag add tags

I need to identify from a packet that it is of L2TP protocol how can I do that? Also Is PPP LCP packets are also considered as packets of L2TP?

sjain's avatar
1
sjain
asked 2022-05-03 17:40:53 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The protocol overview in RFC2661 should give you an idea of the relationship between the various protocols. As for your first question, the identification of an L2TP packet is based on the underlying transport. For instance, with UDP transport the UDP port number 1701 is assigned for L2TP payloads. As for your second question, PPP LCP packets are part of, you guessed it, PPP. How the PPP frames are carried, either over L2TP or otherwise (e.g. PPPoE) does not matter. So the answer would be: PPP LCP may or may not be L2TP payloads, but are not part of L2TP itself.

Jaap's avatar
13.7k
Jaap
answered 2022-05-04 06:14:51 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer