Networking Forums

Networking Forums > Computer Networking > Linux Networking > Or how set dont fragment (fragment) + iptables?

Reply
Thread Tools Display Modes

Or how set dont fragment (fragment) + iptables?

 
 
Cameron Kerr
Guest
Posts: n/a

 
      03-04-2004, 10:46 PM
328.28.00 <(E-Mail Removed)> wrote:
> anybody know ?


If you're using IPTables you don't need to worry about this, but if
you're using 2.2 or earlier kernel, then I suggest you see the ipchains
howto.

http://www.tldp.org/HOWTO/IPCHAINS-HOWTO.html

Its possible to configure the kernel to always defragment using the
option 'IP: always defragment', but only if your box is the only
possible route for these packets. (Taken from the HOWTO)

You should be able to echo 1 into one of the files in
/proc/sys/net/ipv4/ipfrag_*

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
 
 
 
328.28.00
Guest
Posts: n/a

 
      03-04-2004, 11:07 PM
anybody know ?

R,
--

e.mail use: http://myemail.notlong.com gg:328.28.00

 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      03-05-2004, 02:40 AM
328.28.00 <(E-Mail Removed)> wrote:

> ipfrag_high_thresh (value:262144)
> ipfrag_low_thresh (value:196608
> ipfrag_secret_interval (value:600)
> ipfrag_time (value:30)
>
>
> whitch one ? i use kernel: 2.4.22


Then I don't think you need to worry about it.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
328.28.00
Guest
Posts: n/a

 
      03-05-2004, 05:56 AM
Użytkownik Cameron Kerr napisał:

[...]

#ls -al

ipfrag_high_thresh (value:262144)
ipfrag_low_thresh (value:196608
ipfrag_secret_interval (value:600)
ipfrag_time (value:30)


whitch one ? i use kernel: 2.4.22

R,
--

e.mail use: http://myemail.notlong.com gg:328.28.00

 
Reply With Quote
 
328.28.00
Guest
Posts: n/a

 
      03-05-2004, 06:43 AM
Użytkownik Cameron Kerr napisał:

[...]

but Dear Cameron i need remove flags DF

R,
--

e.mail use: http://myemail.notlong.com gg:328.28.00

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      03-05-2004, 01:17 PM
328.28.00 <(E-Mail Removed)> wrote:
> Użytkownik Cameron Kerr napisał:


> [...]


> but Dear Cameron i need remove flags DF


You can't remove the DF flag, only set or clear it.

I think this will clear it and allow fragmentation:

echo -n 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
328.28.00
Guest
Posts: n/a

 
      03-05-2004, 02:37 PM
Użytkownik Clifford Kite napisał:

[...]

o am i ... wrrr you are right ! V. Thx.

R,
--

e.mail use: http://myemail.notlong.com gg:328.28.00

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do not fragment KAL Linux Networking 5 03-08-2006 07:10 PM
how to unset ip flag "don't fragment" on outgoing packets (kernel 2.4.10) exo Linux Networking 3 12-09-2005 07:00 AM
Tiny Fragment Attack Kunael Linux Networking 0 12-26-2004 07:55 PM
Any ISP that dont cap? scofer Broadband 189 12-02-2004 11:21 PM
Problem with large pings with don't fragment set Pete Linux Networking 1 06-10-2004 04:45 PM



1 2 3 4 5 6 7 8 9 10 11