The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
51 views

Limit number of incoming packets per second for a INPUT UDP port [per IP only, not globally] [Ubuntu IPTables]

I searched and I can't find a rule to limit the count of the incoming packets for a INPUT UDP port per second and per IP. I need that per all IPs that connect to my socket, not for a specific one. ...
2
votes
0answers
29 views

nginx limit connections based on parameters

My website is a forum, and it has 3 type of URLs as below: Thread view: forum.php?mod=viewthread&tid=1256&page=2 Thread List: forum.php?mod=forumdisplay&fid=125&page=61 Display ...
0
votes
0answers
73 views

Limiting TightVNC Server's number of concurrent sessions

I have a Raspberry Pi, and I'm using TightVNC Server to access remotely. My /etc/init.d/tightvnc file (which is just the service that launches at boot) looks like this: #!/bin/sh # ...
0
votes
1answer
65 views

only allow a specific port that can be connected by only one ip address at the same time

I have a open port, 40002, I want to limit that at the same time the port can only be connected by one ip address(not specific address). if there is an ip address conntecing to that port already, ...
1
vote
1answer
487 views

iptables connlimit: exclude multiple IP addresses

I have currently this IPTABLES command: iptables -A INPUT -s ! 192.168.0.2 -p tcp --syn -m connlimit [...] -j DROP As far as I know, such rule limit some number of connections following various ...
2
votes
0answers
111 views

HAProxy: Limmit concurrent connections based on HTTP header field

I try to limit the number of concurrent connections using HAProxy stick-tables based on HTTP header fields. I could find plenty of examples using IP addresses, but this doesn't work in my case. Our ...
0
votes
1answer
114 views

apache how to limit per user ip

i have a password protected directory with hundreds of users in htpasswd file. i want to allow download of files on these conditions: check if username is valid (already done). check if another ...
1
vote
1answer
787 views

Nginx Config on DreamHost VPS

I got my site up and running on nginx on my Dreamhost VPS. Cool. I wanted to limit the number of connections per IP by adding the following to the http block of the site-wide nginx conf file ...
1
vote
2answers
175 views

What can lead to a zone memory exhaustion and how Nginx reacts to it?

What is a possible scenario for exhausting the memory designated to a connection zone with limit_conn_zone directive and what are the implication in this case? Suppose I have this in my ...
2
votes
1answer
2k views

Limit administrator RDP session to single instance instead of default 2 simultaneous?

I have a special request case on one server, win2003 R2, where they are accessing it via RDP administrative session. There are multiple users who access it but they want to ensure only a single user ...
0
votes
2answers
2k views

iptables connlimit triggering unexpectedly

I've been using these firewall rules: -I FORWARD -p tcp --syn -m connlimit --connlimit-above 50 -j REJECT -I FORWARD -p tcp --syn -m connlimit --connlimit-above 50 -j LOG --log-prefix "CONNLIMIT: " ...