Number of users
Posted in 2007
Topics: Platform-Specific Issues
Hi Can I limit users connection ? I want to limit just 90 users to connect in Informix ( 9.40 , HP-UX PA Risc 64-bit ) Thanks Ricardo
Ricardo Manzo wrote: > Hi > > Can I limit users connection ? > > I want to limit just 90 users to connect in Informix ( 9.40 , HP-UX PA > Risc 64-bit ) > > It depends. If you use TCP connections, I don't think there is any way. If you're using shared memory connections, you can configure NETTYPE appropriately. -- This message has been scanned for viruses and dangerous content by OpenProtect(http://www.openprotect.com), and is believed to be clean.
Iptables? (I don't know if there's a HP-UX port) If you want to limit incoming connection to ssh server (port 22) no more than 10 connections in a 10 minute: iptables -I INPUT -p tcp -s 0/0 -d $SERVER_IP --sport 513:65535 --dport 22 -m state --state NEW,ESTABLISHED -m recent --set -j ACCEPT iptables -I INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 600 --hitcount 11 -j DROP iptables -A OUTPUT -p tcp -s $SERVER_IP -d 0/0 --sport 22 --dport 513:65535 -m state --state ESTABLISHED -j ACCEPT HTH Hrvoje -----Original Message----- From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Ricardo Manzo Sent: Friday, October 26, 2007 1:12 PM To: ids@iiug.org Subject: Number of users [10257] Hi Can I limit users connection ? I want to limit just 90 users to connect in Informix ( 9.40 , HP-UX PA Risc 64-bit ) Thanks Ricardo **************************************************************************** *** Forum Note: Use "Reply" to post a response in the discussion forum.
With NETTYPE? 2 threads x 45 connections each
NETTYPE soctcp,2,45,NET
Bob Roussey
Unix / Informix Administration
Spirit Airlines
Robert.Roussey@SpiritAir.com
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
Ricardo Manzo
Sent: Friday, October 26, 2007 7:12 AM
To: ids@iiug.org
Subject: Number of users [10257]
Hi
Can I limit users connection ?
I want to limit just 90 users to connect in Informix ( 9.40 , HP-UX PA
Risc 64-bit )
Thanks
Ricardo
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
Robert Roussey(IT) wrote:
> With NETTYPE? 2 threads x 45 connections each
>
> NETTYPE soctcp,2,45,NET>
>
I don't think so. The engine will allocate more listeners.
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.