Questions tagged [blocking]

The tag has no usage guidance.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
4k views

How do iptables work with NFQ in terms of traffic shaping in snort?

I'm trying to understand how iptables and NFQ work together with snort. The reason that I ask this is because from what I understand snort can be set to IPS via NFQ but if you have iptables there ...
Danny 's user avatar
  • 41
3 votes
0 answers
2k views

Block Bad Bots in Nginx for Multiple Sites

I need to block a bunch of robots from crawling a few hundred sites hosted on a Nginx web server running on a Ubuntu 16.04 machine. I've found a fairly simple example here (important part of the ...
Sledge Hammer's user avatar
2 votes
1 answer
4k views

NGINX block location access and redirect to custom error page

I have a issue with my NGINX setting with redirecting to a custom error page on another location (incl. css, images, js) if a error page should be thrown. At first I would like to block access to an ...
devKyrios's user avatar
2 votes
0 answers
827 views

determine if threads on a cpu are blocked? What are the causes of thread blocks?

The load-average reported by uptime command also displayed in top provides the the average run-queue length over time (1, 5 and 15 minutes) The run-queue length is the sum of the number of threads (...
Manchego's user avatar
  • 121
1 vote
0 answers
577 views

Possible STP Issue with Cisco SG350 Switches

we are having a weird issue with a network of Cisco SG350 Switches that I cannot figure out. We are thinking it may be related to STP but have verified all the normal problem points (i.e. proper ...
devGuru's user avatar
  • 11
1 vote
1 answer
3k views

How can I block all IPv6 Adresses starting like this 2a01:598:xxx in my .htaccess file?

How Can I block all IP Adresses that start like this 2a01:598: in my htaccess file? I tried: Deny from 2a01:598::/28 and i also tried it like this: Deny from 2a01:598:: But it doesnt work? What ...
Benjamin S's user avatar
1 vote
1 answer
543 views

How to keep md-raid from blocking IO?

I run a server with md-raid (software) level 1 (2 HDDs mirroring) and several different applications run on it. The problem arises when file-intensive jobs (e.g. extracting large archives) run while ...
Cobra_Fast's user avatar
1 vote
0 answers
274 views

Apache Bot Blocking when using <Location> element

I was looking through my access logs today and concluded I should probably make an effort to deal with bad traffic. I am trying to use this list (https://github.com/bluedragonz/bad-bot-blocker) as as ...
Alex Edwards's user avatar
1 vote
0 answers
215 views

What can lock the only MySQL db process?

A plain old "delete single record" statement froze on me. Suspecting a (dead)lock issue, I checked the process list to see what blocks the delete. The delete statement was the only running db process ...
Rafał Dowgird's user avatar
0 votes
0 answers
88 views

Squid not blocking access to websites

I'm on Ubuntu Server 22.04.3 LTS and I'm trying to learn a bit about Squid. I installed Squid v5.7 and one of my tasks is to deny access to a list of URL's. I modified "squid.conf" file and ...
João Sacramento's user avatar
0 votes
1 answer
467 views

How to check if a process is running or blocked on lock or I/O?

There are 2 instances of a script reported by ps. How can I see in the command line if one of those (and which) is blocked on either I/O or on a file lock?
Jim's user avatar
  • 101
0 votes
0 answers
143 views

Restrict access to server for TOR and VPN users

Is this possible to restrict access to all users, who try to connect to my web server using TOR or VPN? I'd like to geoblock some users and also want to avoid them accessing my website even if they ...
Geckon01's user avatar
0 votes
1 answer
554 views

Returns of UDP packets are discarded

I use High avaibility pfSense 2.6.0 cluster and I strange behavior with UDP when use Discord voice channel. In fact, discord voice channel display "No route" and traffic analysis paquets ...
Isopote42's user avatar
  • 157
0 votes
1 answer
776 views

After USBGuard having blocked all USB devices including keyboard, is there any way to stop the service?

After USBGuard having blocked all USB devices including keyboard, is there any way to stop the service? Or will I need to reinstall the system as it is rendered unusable if it is not remotely ...
kaiya's user avatar
  • 101
0 votes
0 answers
437 views

Bind/Fail2ban how to reject requests from certain domain

Today I got my VPS stucked. Centos 7, 4 cores, Bind 9.11. From ssh I got Message from syslogd@host at Jul 18 09:46:16 ... kernel:NMI watchdog: BUG: soft lockup - CPU#0 stuck for 41s! [f2b/observer:...
Daniel Franco's user avatar
0 votes
1 answer
4k views

HAProxy - Multiple sites, multiple acl's

We are busy with setting up HAProxy. Almost everything is working, except setting it up without multiple sites with different acl's. What we want: Using HAProxy with multiple sites, all on the same ...
G. Kooistra's user avatar
0 votes
1 answer
165 views

MongoDB foreground index build blocks secondary reads for all databases

Today one of the users of our MongoDB 3.0.12 sharded cluster has (wrongly) issued a foreground index build on its own database (pride_archive_ms), after the operation completed on the primary member ...
user366221's user avatar
0 votes
1 answer
158 views

Got blocked by server after starting TCP nodejs sever. Why?

I recently installed node on my VPS, and tried to complete a tutorial. I saved this code into server.js and hit node server.js in putty. I got instant "ban" from my VPS, I can't access it, however on ...
Tamás's user avatar
  • 9
0 votes
1 answer
30 views

Apache2: How can I get Apache2 to not respond?

I didn't find a way but it can't be so hard : How make Apache2 Listen a port but not responding. My VH: <VirtualHost *:80> ServerName catchall </VirtualHost> I don't want to respond ...
Robin's user avatar
  • 1
0 votes
1 answer
441 views

Debian Dmesg Error - What does this output mean regarding an outage on eth1?

The tale of the NIC that quit; I have chucked the end of dmesg output from a server into pastebin; This server (PowerEdge 1850) has two NICs, eth0 and eth1. eth1 has a couple of VLANs defined on it, ...
Baldrick's user avatar
  • 4,242
0 votes
1 answer
398 views

synchronization between two (or more) file servers : block open files to avoid conflicts

"Short version": When a user opens a file on a local share, other users can open only in read-only, until it is closed. I want this to be true for the remote copy of the file: read-only when the local ...
Klingel's user avatar
0 votes
1 answer
66 views

Blocking Clients while Forwarding All Traffic

Greetings, How to block clients by masking their subnet mask or changing their gateway information while forwarding any outward traffic from such clients to a specific proxy or server to display some ...
user avatar
-1 votes
1 answer
607 views

How to block via Windows 2008 R2 firewall based on workstation's name?

over 8GB of traffic from a workstation named KHAOSSERVER has occurred since yesterday; in the Security Event Log are records like this: An account failed to log on. Subject: Security ID: NULL ...
gerryLowry's user avatar
-1 votes
1 answer
1k views

How to block videos by title on youtube using Squid?

For example,i want to block videos that contain the word "cat" in the title. I also do not want the blocked videos appearing in: -Recommended Channels tab -Recommended/related videos -Search ...
nasekt's user avatar
  • 1
-1 votes
2 answers
2k views

Allow visits only via domain, block by ip address

I am trying to block people from accessing my server via my ip address. Ideally I would like them to only be able to access it using my domain name. I have searched Google and unable to find ...
Flipper's user avatar
  • 99