Solved

Changing TCP/IP window

Posted on 2006-10-29
3
933 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
3 Comments
 
LVL 32

Expert Comment

by:rsivanandan
Comment Utility
Try this;

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

First entry found on google.

Cheers,
Rajesh
0
 
LVL 17

Author Comment

by:CSecurity
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now