×
UNIX.COM Login
Username:
Password:  
Show Password






👤


AIX

AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Source port on AIX for NAS is same?

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #15  
Old 3 Weeks Ago
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 3 July 2018, 11:43 PM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 5,786
Thanks: 112
Thanked 1,698 Times in 1,248 Posts
Quote:
Originally Posted by anil1000 View Post
How to keep it alive? What do you mean by this, which connection to keep it alive? Kindly suggest..
In regular intervals packets are sent in an existing connection to make sure the partner still is there. These packets are called "keepalive" packets. If these packets are not received the partner assumes that the other side went dead and closes the connection.

Think of a connection like a telephone call: when you talk to someone you expect some sort of acknowledgement that the other is still listening at times, be it "aha" or "hmm" or something such. If you don't get that you may ask "are you still there" - and if there is no answer you hang up. This is quite the same mechanism.

I hope that helps.

bakunin
Sponsored Links
    #16  
Old 3 Weeks Ago
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Moderator
 
Join Date: Nov 2008
Last Activity: 16 July 2018, 12:01 PM EDT
Location: Amsterdam
Posts: 11,853
Thanks: 546
Thanked 3,469 Times in 3,057 Posts
In addition to what Bakunin said:
A firewall drops or rejects a connection after a certain period if there is no activity.
A keep-alive message can be sent as a null packet periodically by the client to keep a service alive. This keeps the firewall from dropping the connection. Of course if this is done liberally by every host for every connection then the connection table in the firewall would become too long. That is why some firewalls detect this behavior and ignore keepalives messages.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing source port number of a TCP client packet anuragrai134 Programming 0 03-24-2010 12:42 AM
AIX(VIO/LPAR) with Free NAS ISCSI solution kabir AIX 4 12-08-2009 09:09 AM
how to port a package to huge source code having its own make and compilers Gopi Krishna P UNIX for Advanced & Expert Users 1 05-29-2009 11:16 AM
Source code for serial port smartgupta Programming 0 12-16-2008 08:51 AM



All times are GMT -4. The time now is 04:10 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.