Re: Support for udp

Michael Richardson <[email protected]>
Newsgroups gmane.linux.ppp
Message-ID <2673951.1696614907@dyas>
Sagar Acharya <[email protected]> wrote:
    > So are you saying pppd does not support udp or does it?  Thanking you
    > Sagar Acharya https://humaaraartha.in/selfdost/selfdost.html

You didn't understand the answer because you didn't actually ask a sensible question.

PPP is a "layer-2"
UDP is a "layer-4"

https://en.wikipedia.org/wiki/OSI_model
https://www.oreilly.com/library/view/internet-core-protocols/1565925726/ch01s02s02.html

There are situations where one might encapsulate PPP packets into UDP
packets.  This usually happens in back-hauls of ISP/DSL networks using L2TP.
But, that's not a typical situation for an end-user.

Myself and many others have built commercial BRAS using pppd, and there is
even support in the Linux kernel for efficient encap/decap of L2TP/PPP packets.
https://en.wikipedia.org/wiki/Broadband_remote_access_server

    >> pppd works at IP layer. All IP protocols not dependent on broadcast
    >> capabilities should work.
    >>
    >> On 05-10-2023 23:30, Sagar Acharya wrote:
    >>
    >>> Does pppd support udp? I am able to access tcp but not udp with pppd.
    >>> Thanking you Sagar Acharya
    >>> https://humaaraartha.in/selfdost/selfdost.html
    >>>
    >>> Kindly cc me as I am not subscribed.
    >>>
signature.asc (application/pgp-signature, 658 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEow/1qDVgAbWL2zxYcAKuwszYgEMFAmUgSfsACgkQcAKuwszY
gEMjDAwAvkNxzB7zyhPtXY6tDLDBwmspKOQo71sZraf01vmApFjNeVuu32uRmM21
swud3UX4/OYq0CcWdzdV9bDGSqyYhlqM0EYxQ7zDvV6IYAORErRzdNsQT2VeG8sC
w6jG1WRtxRsTdr0LmS/hjtSnc44xVeJBKsXldqHs7ByyOOeIQjQPmh0pPFgArVIg
6wTY0KWbYdyWIuUoUU6UCnL9sU08CFdlCA94j0y09gcl+mTHJy7btPtD5P3zt9T/
Wn7H2KdTBAVXn+yxtvDP98S16aPxfStyOnsQE8BnO93/hRSMPCKTLV7zqU3gs5E0
gzlBY0nYpcqjaCzklkKRAtz6GzpPKxJ5rtsRgefDvptH+0zkopY82vyR9eK/BxwC
mWdlMKK3/sx9oVY+ehXwFXp6ni3PaZPka/W1DEFXXcjFx8ZEOBkrUYrKc/sKljEW
1uPwI/i20+h4/Qi09ae1+F9Z/r1qAYlJspZlqnDXsW5pbXdtbgoryWlYRE28YzMX
IUMzeYCF
=dgyk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.