Questions tagged [block]
135 questions
4
votes
1 answer
Is it possible to block a certain email adress from sending email anywhere other to its own domain?
I wonder if its possible to block all but few specific adresses to send outgoing emails anywhere other than its own domain. Also so they could still recive incomming messages.
Blocking everyone isnt that hard from what i can see but blocking just…

George G
- 43
- 1
- 3
4
votes
5 answers
Permanently blocking a domain in iptables
Suppose I want to block Facebook permanently. To do this, I have followed following processes:
#host -t a www.facebook.com
Sample output:
www.facebook.com has address 69.171.224.40
Find CIDR
#whois 69.171.224.40 | grep CIDR
Sample…

Jerry
- 179
- 2
- 8
- 20
4
votes
1 answer
How can I prevent a process from running under Mac OSX 10.6?
Basically, there are some system processes that I want to prevent from running. If I force quit them, they simply restart. How can I prevent them from starting/relaunching.
Before you say that I shouldn't mess with system processes: I fully…
Strallus
3
votes
1 answer
iptables - drop all HTTP(S) traffic but from CloudFlare
I would like to allow only HTTP(S) traffic coming from CloudFlare. In that way attackers cannot attack the server directly.
I know CloudFlare is not mainly a DDoS mitigator, but I would like to try it either way.
I'm currently only having access to…

Martin
- 177
- 2
- 10
3
votes
2 answers
Shared block device file system (cluster file system without networking)
Is there any file system that can be mounted multiple times and supports concurrent file access for Linux? Basically I want something like a cluster file system but without the need to have a running network for a distributed lock manager. That can…

fungs
- 61
- 3
3
votes
2 answers
Cisco ASA - Blocking BitTorrent Traffic
Due to DMCA takedown notices, trying to block bitTorrent traffic for client on a Cisco ASA 5520.
ASA Software : 7.2
ASDM: 5.2
The device is really just used for for NAT and VPN's currently. Is there a simple way to block bitTorrent TCP ports…

CaseyIT
- 427
- 3
- 8
- 14
2
votes
1 answer
In CentOS 7, is there a way to specify which block devices should be tuned with the scheduler (or ELEVATOR)?
In CentOS 6, there was /etc/tune-profiles/my-server/ktune.sysconfig with this text(I'm referring to the comments that explain what the code is doing):
# This is the I/O scheduler ktune will use. This will *not* override anything
# explicitly set on…

Levi Uzodike
- 125
- 6
2
votes
1 answer
IP blocking with .htaccess in Apache 2.4 - Not Working
I want to block specific IP addresses but allow all others. I'm still struggling with this.
First I modified the apache2.conf file to look like this:
Options Indexes FollowSymLinks
AllowOverride All
Require all…

Cosmin Duduc
- 21
- 4
2
votes
2 answers
"Require not ip" .htaccess doesn't work in a single ip
I am having trouble with blocking an IP in .htaccess
I've put
Require not ip 192.168.20.218
It works, but it blocks the entire network instead of blocking a single IP.
Can somebody solve this issue?
I am running on Apache 2.4 using Ubuntu 14.04.3…

Raffy Singidas Bandrang
- 23
- 1
- 5
2
votes
2 answers
block DNS Amplification Attack by iptables
Last time I've got warings about DNS Amplification Attack from NFOservers.com DDoS notifier
2015-12-30 23:28:52.609178 IP (tos 0x0, ttl 54, id 42635, offset 0, flags [+], proto UDP (17), length 1500) my.dns.ip.addr.53 > 63.251.20.x.18150: 41159|…

Curl User
- 43
- 1
- 8
2
votes
1 answer
How can I mitigate spoofed emails entering my network?
My company is receiving a lot of spoofed emails. For example. user@mycompany.com receives emails from user@mycompany.com containing malware or a bad links.
My domain mycompany.com has a SPF record setup (which I know is valid).
We are running…

Paul Gunston
- 21
- 3
2
votes
3 answers
Block people searching for server admin pages
Occasionally I flip through our (apache) access log and I often come across people trying to fish for admin pages. For example, they are trying to access pages like:
/wp-login.php
/administrator/index.php
/admin.php
/user
None of these…

Hubbo
- 23
- 3
2
votes
2 answers
PF: Block all, but one subnet firewall rule?
I'm trying to do something that I thought would be relatively simple: Block all the traffic to a test server, other than my company's subnet.
I've tried things along these lines (111.111.0.0 is my placeholder for this example), but only the block…

ballofpopculture
- 123
- 1
- 3
2
votes
2 answers
Linux iptables drop traffic based on mac address
I'm doing some testing on my linux VM with one nic, I want to use it as some kind of a firewall which can block traffic of some clients based on a mac address.
The client itself is having the VM as a default gateway (.254), the VM itself has (.1 the…

Wouter
- 23
- 1
- 1
- 3
2
votes
2 answers
iptables to block VPN-traffic if not through tun0
I have a dedicated Webserver running Debian 6 and some Apache, Tomcat, Asterisk and Mail-stuff. Now we needed to add VPN support for a special program. We installed OpenVPN and registered with a VPN provider. The connection works well and we have a…

mr.simonski
- 247
- 4
- 13