LinuxQuestions.org
Visit Jeremy's Blog.
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 01-27-2014, 08:44 AM   #1
cjreyn
LQ Newbie
 
Registered: Dec 2010
Posts: 12

Rep: Reputation: 0
Tcp mss


Hi,
Is it possible to query the mss for existing TCP connections, either from /proc or some other userspace mechanism?
 
Old 01-28-2014, 03:39 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,889

Rep: Reputation: 163Reputation: 163
The tcpdump can provide MSS value of particular TCP session. You can try kernel socket API, tcp_current_mss, to get MSS. I don't know whether it work for user space.
 
Old 01-29-2014, 02:23 PM   #3
cjreyn
LQ Newbie
 
Registered: Dec 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Sure, this can be sniffed from the handshake. What I'd really like to know is if you can obtain the information from userspace after the connection has been created?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MTU/MSS issue in TCP connection kapsikum Linux - Networking 1 06-10-2008 09:34 AM
set MSS ? Server does NOT send with negotiated MSS lomex Linux - Networking 0 01-30-2008 02:56 PM
Linux change TCP kernel Parameter for TCP DELAY ACK TICKS linux_mando Linux - Networking 5 08-22-2006 09:20 AM
Open Source program that will handle MSS access 2k databases? rwhunt SUSE / openSUSE 3 12-02-2005 10:58 AM
Why is netstat -r MSS 40? wsanders Linux - Networking 1 12-12-2003 01:58 AM

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

All times are GMT -5. The time now is 10:08 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