Ask Your Question
0

How to determine whether a protocol is l2tp or not?

asked 2022-05-03 17:40:53 +0000

sjain gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-04 06:14:51 +0000

Jaap gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-05-03 17:40:53 +0000

Seen: 35 times

Last updated: May 04