Questions tagged [block]
135 questions
-1
votes
2 answers
Does the bash usleep block? Or will it yield to other threads?
I understand there is a usleep command in bash. Is this a "busy" or "blocking" sleep? Or will this yield time to other processes?

Mechi Fendel
- 11
- 1
-1
votes
2 answers
linux minimal block size
Question :
I would like to know if one could create an empty partition with a very small block size, say 100 bytes, and get their experience on the long run.
Are there any gotchas ?
Context :
I know many filesystems set the default block size to…

Larry
- 145
- 1
- 8
-1
votes
1 answer
How to block magnet links using Squid WEB proxy
I have Squid filtering all my WEB traffic running on port 80, I managed to block all torrent links using this ACL acl mediapr urlpath_regex \.torrent$ but I am not able to block magnet links.

Kārlis Baumanis
- 103
- 3
-1
votes
2 answers
How do I block visitors by varnish on centos, using nginx as backend?
I want to block visitors from some country, by country code, not by maintain a lot of ip ranges. I can do it using only nginx, but i've just configured varnish to frontend, and I have not found any solutions yet. I'm using centos 6.4 x64.
Thanks for…

user193750
- 3
- 1
-1
votes
1 answer
Free firewall for Windows Server 2003
We have a Windows Server 2003 R2 Machine here at work that I need to ensure is accessible only from specific set of IP Addresses. The Server is on a LAN and I am aware that one of the possible solutions maybe limit access to the Server's VLAN.…

n00b_Admin
- 1
- 1
- 1
-1
votes
1 answer
How to configure IP tables to only allow ports 25 and 80
Hello I want to allow only ports 25 and 80 and all other ports to be closed.
I tried to configure my Ubuntu linux, but I dropped all the ports...
sudo iptables -F
sudo iptables -P OUTPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P INPUT…

user1024036
- 109
-2
votes
1 answer
How to mask out wireless by blocking a neighboring WiFi Access Point
I surely hope this question is not a duplicate of another; I had difficulty finding a cut and dry solution for this on my own, so I thought I might have some luck sharing it with the Hive Mind of collective human consciousness that is the Stack.
My…

Crates
- 109
- 2
-2
votes
1 answer
block outbound traffic on hosting server, get alert on attempt to outbound attempt
So i want to block all unwanted out-bound traffic , specially traffic from unwarranted allowed ports both TCP and UDP and also get a email alert if any script or app tries to contact outbound port.
eg; if someone installs a IRC chat script, it…
-3
votes
1 answer
Hosts file to block a website
I have seen a blog saying that we can block some websites using our hosts file. I have tried the same (shown below), but failed.
Entry added in host file as below:
127.0.0.1 www.google.com
I tried clearing the cache and tried it with a new…

Vysakh
- 195
- 1
- 7
- 15
-4
votes
1 answer
iptables block access to port 53
I would like to block access to any DNS server (port 53) except for my own $DNS_IP1, $DNS_IP2.
$DNS_IP1, $DNS_IP2 are not part of my IP range but are out IPs.

user2207891
- 11
- 1
- 1
-4
votes
1 answer
Domain blocked by ISP
ISPs blocked my domain in one country. It redirects to an IP address that the ISP uses to block access to sites it blocks. (https://ispipaddress:8080/mydomain.com)
The URL cannot be accessed directly, but it can be accessed when clicked from Google…
-5
votes
2 answers
Router's Parental Controls Really Block All Internet Traffics?
I am using Asus 4G-AC53U router. When I turn ON "Parental Controls" to block a client's Internet access, does the router really block ALL kinds of Internet traffics including system's service (such as OS update checking, license checking, etc.) ? Or…

RRN
- 91
-5
votes
1 answer
MySQL : How to lock all write in all databases?
I need to block all writes (insert , update, delete) on all databases.
How can I do that ?
Put all database in Read Only for a period time.

AssoumaniSaïd
- 77
- 1
- 2
-5
votes
3 answers
Cell Tower IP Address Blocks
I am thinking of creating an app that only allows users connected via a cell tower. Are there IP ranges that are only used by cell towers?
I realize that it may be a 'moving target', but does anyone know of a list of the current blocks (like black…

roberthuttinger
- 101
- 4
-10
votes
2 answers
How to permanently and irrevocably block websites on Firefox?
With Internet Explorer it's simple: you go to the settings menu, add websites you want to block, just randomly enter a sequence of letters and numbers so you cannot ever know the password, and it's done. (You could uninstall and re-install Explorer,…

Jan-Bart
- 11
- 1
- 1