Problems with connections


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Problems with connections
# 1  
Old 05-20-2005
Error Problems with connections

Hello everybody,

Look, im having problems with connections from other server, i must recieve maximus 5 connections from the other server, when I run 'netstat -A | grep <THE_OTHER_SERVER_IP>' I can see how many connections I have already established, but when they open another connection, i mean more than 5 connections, how I can block them? or...

When i see more than 5 connections, how i can kill an specific connection? because with 'netstat -A | grep <THE_OTHER_SERVER_IP>' i can see only the IP and ther port of those connections but not the PID of each process, and when I do 'ps -aefL | grep <THEIR_PROCESS_NAME>' y can see iqual number of process with their PID but how i can concatenate the PID with connections? have this sence?

I´m using Unix 7.1.1

PS: Im sorry but my natural language is spanish, not english. Please help!!! or I'll be fired Smilie
# 2  
Old 05-23-2005
# 3  
Old 05-23-2005
Tools Thanx RTM but...

Thanx RTM but that is not my problem exactly, i dont need to restringe logins, i need to restringe numbers of connections, i need to restringe at maximus 5 connections for determinate IPs, that have sence? Plz ur help... Thanx
# 4  
Old 05-23-2005
If you read that and understand what they are doing, then you can change the logic and create a script that will count the number of connections and if there are 5, deny any more connections. You will probably want to insure you also kill off any terminal processes that are idle for more than xx amount of minutes to insure new connections can come in and aren't waiting for folks that are just idle and doing nothing (info on that page will explain how).
# 5  
Old 05-23-2005
RTM, the dont open a telnet connection that i can see using "who" command, the open an especific port and then they established the connection and send us their data, i only can see their connections using "netstat" command. This kind of connections i need to restringe at max 5.

Im sorry if my english is not good. Thanx
# 6  
Old 05-23-2005
How are they connecting? What are software is controlling these connections (example connection is to Sybase)? You may have to look at the specific software to be able to lock the connections to 5 or less. But then you may still end up with problems where you have 5 processes that haven't closed the connections making it impossible for new connections to start up.

Give as much information as you can on your problem.
# 7  
Old 05-23-2005
They have an aplication that send us via tcp/ip some values, we use those values in our aplication to generate bills, when they have a lot of fata to send us, the open new connections but i want to restringe their connections to max 5, we only recibe those data. This answer your question?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Network Connections

I have a static IP 47.21.154.146 and two computers which I wish to talk to each other. The two IPs are 198.168.1.5 and 198.168.1.6. How do I do it. For example ls from one computer to the other. TIA (8 Replies)
Discussion started by: Meow613
8 Replies

2. Cybersecurity

1780 connections from one IP

Hello, one US IP having 1700+ connections when doing: netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head 1780 * ... * ... * i want to ask how to debug what this IP does? (3 Replies)
Discussion started by: postcd
3 Replies

3. Solaris

Passwordless connections

Hi All! Please help me with this situation: I have 3 servers configured with the following network 10.100.48.xx and I have configured on the passwordless connection, and it is working fine. Now the app vendor ask me to configure a 2nd IP address on each of the 3 servers with a different IP... (4 Replies)
Discussion started by: fretagi
4 Replies

4. AIX

connections on server

I am using AIX 5.3, its a application server, i am giving the support of OS & Hardware only, now i want to check how many connections are connected to my server, means how many people using my server.:confused: (4 Replies)
Discussion started by: reply.ravi
4 Replies

5. Red Hat

Too many CLOSE_WAIT connections

Hi, I am running JBOSS 6 ona RHEL5 server put it continuously crashes due to the number of CLOSE_WAIT connections on port 8080. How can I kill the several hundred CLOSE_WAIT connections without killing the actual live "LISTENING" connection? R, D. (2 Replies)
Discussion started by: Duffs22
2 Replies

6. SCO

UUCP connections

Hi There Is there a maximum number of concurrent incoming uucp connections to a server? SCO Openserver 5.07 Is there a parameter in some config file where this can be changed? Thanx (5 Replies)
Discussion started by: wjace
5 Replies

7. HP-UX

HP-UX: X connections...?

Hello All, I have 2 qries about X connections on HP-UX : 1.How/where to determine whether "X connections" to the server are controlled. 2. How/where to determine whether "X11 connection" are tunnelled via ssh. 3. How/where to determine the "Time in minutes before unattended X terminals... (0 Replies)
Discussion started by: abhayh
0 Replies

8. UNIX for Dummies Questions & Answers

Killing Connections

Say, for instance, that you are running a website. You are playing around, using netstat, etc. You notice all the people whom are connected to the site. You then wonder if there is a way to kill one or more of these connections. However, they are not PIDs so could you use the kill command? I was... (1 Reply)
Discussion started by: Phobos
1 Replies

9. UNIX for Dummies Questions & Answers

Threads v/s Connections

Can someone please explain the difference between a connection and a thread. Any explanation will help! Thanks (3 Replies)
Discussion started by: suntan
3 Replies

10. UNIX for Advanced & Expert Users

Trace connections

In my organization in order for anyone to go to any Unix server they have to go through "SERVER A" and login as themselves. Then people are free to go enywhere they please. For example: SERVER A, loggs in as himself telnets to SERVER B, loggs in as guest telnets to SERVER C, loggs in as... (8 Replies)
Discussion started by: jraitsev
8 Replies
Login or Register to Ask a Question