LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2005, 02:37 AM   #1
alanwolfen
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 11

Rep: Reputation: 0
Question Regarding tun devices and ICMP ECHO


I have did a simple program to open a tun interface.

My program will generate a simple ICMP ECHO request datagram and writes to the tun device. However, the Linux network stack does not generate the corresponding ICMP ECHO reply. I have checked with both ethereal and tcpdump. No packet is dropped and the checksums and fields are correct. The firewall is off.

My question is, will

1. the Linux network stack generate ICMP replies, or
2. at least process ICMP ECHO request , or
3. we need to enable some options

if it is a tun interface?

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
icmp echo reply wont work pali Linux - Networking 2 08-17-2005 12:34 PM
Kphone echo (echo echo) scabies Linux - Software 0 10-18-2004 02:59 PM
ICMP traffic archives/writing ICMP traffic in a file maia_1 Programming 0 07-20-2004 03:43 AM
Echo /devPrinting doesn't work, echo /usb/lp0 works, Testpage works, Printing doesn't Hegemon Linux - General 3 08-15-2002 01:13 PM
tun.o shollebeck Linux - Software 6 06-25-2001 05:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration