LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2008, 12:00 AM   #1
nmb1081
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Sending ICMP messages of type 3 when packet size exceeds MTU of the interface


I have configured an interface with a MTU of 1200. Now, if i send a ping with Don' fragment bit set (ping -s 1400 -M do), the linux box silently drops this packet rather than sending ICMP messages of type 3, code 4 (Destination Unreachable, Fragmentation required, and DF set) when packet size exceeds MTU of the interface. Is there a way, I can get the linux box to send an ICMP type 3, code 4 message when it gets a packet crossing the MTU of the interface.

Last edited by nmb1081; 04-11-2008 at 04:23 AM. Reason: For clarity
 
Old 04-13-2008, 10:14 PM   #2
hariprs
LQ Newbie
 
Registered: Feb 2005
Location: Chennai, India
Distribution: Fedora
Posts: 19

Rep: Reputation: 0
Quote:
Originally Posted by nmb1081 View Post
I have configured an interface with a MTU of 1200. Now, if i send a ping with Don' fragment bit set (ping -s 1400 -M do), the linux box silently drops this packet rather than sending ICMP messages of type 3, code 4 (Destination Unreachable, Fragmentation required, and DF set) when packet size exceeds MTU of the interface. Is there a way, I can get the linux box to send an ICMP type 3, code 4 message when it gets a packet crossing the MTU of the interface.
I think it is possible using iptables.
 
  


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
Up2date - package size exceeds free space The_Watcher Linux - General 6 11-18-2007 06:17 AM
A packet filter using libipq which uses ether type field to capture the packet can26_manish Programming 2 10-16-2007 05:35 AM
Snort ICMP PATH MTU denial of service from firewalls humbletech99 Linux - Security 5 12-30-2006 04:13 PM
Problem of blocking ICMP packets while calculating Path MTU myself_rajat Linux - Networking 3 05-11-2004 12:47 AM
ICMP packet requests Ch@meleon Linux - General 0 11-29-2001 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:48 AM.

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