Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to can I capture PPP packets in Linux ?

Status
Not open for further replies.

bmahapatra

Programmer
Apr 12, 2002
1
IN
hi

I have an PPP interface set up in my Linux server.
I want to run different IP based applications like
Ping/FTP on this interface. Now I don't want the PPP
to connect to modem to transfer the packets rather
I want that the PPP packets can be given back to
an application where it can be sent over IP again.

This way I can make my TCP/IP/PPP stack run over
different other protocol stacks for example. In this
case I would like to send the PPP packets over a
IP interface (raw socket with IPPROTO_GRE family)
to the peer entity.

Can anyone please help me how to go about it ?

regards
bmahapatra
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top