Solved

Changing TCP/IP window

Posted on 2006-10-29
3
949 Views
Last Modified: 2013-11-29
Hello!

I want to change TCP/IP's window property in Solaris Sun OS.

How I can do that?

Please advice

Thanks from now!
0
Comment
Question by:CSecurity
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17828729
Try this;

http://www.sean.de/Solaris/soltune.html#water

First entry found on google.

Cheers,
Rajesh
0
 
LVL 17

Author Comment

by:CSecurity
ID: 17829861
Thanks for the link... But there is alot of explanation and not talked about how to change...

Do you know which parameter is exactly for changing window size in TCP/IP and changing just window param can prevent from OS detection by softwares?
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 17832245
You need to use "ndd" commmand to change the parameters.
eg:
/usr/sbin/ndd -set /dev/tcp tcp_wscale_always 1

the syntax for ndd command is:
 ndd /dev/tcp [parameter]
and set with:
  ndd -set /dev/tcp [parameter] [value]

RFC1323 timestamps, window scaling and RFC2018 SACK should be enabled by default. You can double check that these are correct:

man ndd
to learn more details

To enable High Performance Data Transfers:
  ndd /dev/tcp tcp_wscale_always  #(should be 1)
  ndd /dev/tcp tcp_tstamp_if_wscale  #(should be 1)
  ndd /dev/tcp tcp_sack_permitted  #(should be 2)
Set the maximum (send or receive) TCP buffer size an application can request:

  ndd -set /dev/tcp tcp_max_buf 4000000
Set the maximum congestion window:

  ndd -set /dev/tcp tcp_cwnd_max 4000000
Set the default send and receive buffer sizes:

  ndd -set /dev/tcp tcp_xmit_hiwat 4000000
  ndd -set /dev/tcp tcp_recv_hiwat 4000000

   Please read the link in rsivanandan's comment and the following Sun doc:
http://docs.sun.com/app/docs/doc/817-0404/6mg74vsal?a=view

  to learn more details.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question