Most Popular
1500 questions
50
votes
9 answers
sshd service fails to start
I'm not sure why it isn't starting or why its preventing me from connecting, i get this error:
sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: failed (Result: start-limit) since Wed…
aCoolBean
- 501
50
votes
5 answers
Why is tampering with the TTL of IP dangerous?
I've been reading the iptables man-page (light bedtime reading) and i came across the 'TTL' target, but it warns:
Setting or incrementing the TTL field can potentially be very dangerous
and
Don't ever set or increment the value on packets that…
Rob M
- 1,482
- 1
- 11
- 24
50
votes
3 answers
How can I detect if a server is using SNI for HTTPS?
I'm looking for a simple way to know if a server is using the Server Name Indication SSL extension for its HTTPS certificate on a website. A method that uses either a browser or Unix command line is fine.
Thanks!
spookylukey
- 603
- 1
- 5
- 6
50
votes
5 answers
Can't connect to EC2 instance in VPC (Amazon AWS)
I've taken the following steps:
Created a VPC (with a single public subnet)
Added an EC2 instance to the VPC
Allocated an elastic IP
Associated the elastic IP with the instance
Created a security group and assigned it to the instance
Modified the…
Ryan Lynch
- 603
50
votes
3 answers
Add directory structure to SVN, without files
Is there a way to add a directory structure to an SVN repository without adding the files contained in the folders?
fresskoma
- 1,343
50
votes
7 answers
How can I successfully mount an 8-bit SCSI drive on a modern computer?
I have a number of internal 8-bit SCSI-1 drives that I'd like to archive for historical purposes. These are all the old NeXT Cubes and NeXTStations (monochrome and color) that were used by id Software to create DOOM and Quake. I'd like to donate…
Don MacAskill
- 1,808
50
votes
8 answers
How much of a performance hit for https vs http for apache?
Roughly how much of a performance hit will https take compared to http for the same page? Suppose I can handle 1000 requests/s for abc.php, how much will it decrease by when accessed through https? I know this might be dependent on hardware, config,…
erotsppa
- 2,163
50
votes
9 answers
Assign multiple IPs to 1 Entry in hosts file
I have a web sever that connects to an internal database through a VPN. There are 2 IPs (primary and secondary) to the database from the web server. How can I setup my /etc/hosts file so that if the primary IP is not available then the secondary…
Mike T
- 513
50
votes
2 answers
Should I use IPv6 only or both IPv4 and IPv6 in my web server?
My web server (Ubuntu, Nginx) have both IPv4 and IPv6 addresses assigned by the host. For my website, shall I bind it to only an IPv6 address? Is it the standard recommended way? Or, shall I use both IPv4 and IPv6 addresses?
THpubs
- 1,785
50
votes
6 answers
Postgres error message: FATAL: Ident authentication failed for user "..."
Say you're seeing this message:
FATAL: Ident authentication failed for user "..."
What are the causes of this error message?
Steve Bennett
- 5,910
50
votes
4 answers
MySQL warning "IP address could not be resolved"
I've got MySQL Master/Slave setup and I've noticed the following warnings in the mysql log files on both servers:
[Warning] IP address 'xxx.xxx.xxx.xxx' could not be resolved: Name or service not known
I've checked and the DNS lookups works fine…
HTF
- 3,198
50
votes
2 answers
How does Apache merge multiple matching Location sections
I'm working on some basic apache configuration, but I don't understand precisely how apache merges different sections when several of them match an incoming requests URL. The apache documentation in its "How the sections are merged"…
LordOfThePigs
- 737
50
votes
8 answers
Delete a iptables chain with its all rules
I have a chain appended with many rules like:
> :i_XXXXX_i - [0:0]
> -A INPUT -s 282.202.203.83/32 -j i_XXXXX_i
> -A INPUT -s 222.202.62.253/32 -j i_XXXXX_i
> -A INPUT -s 222.202.60.62/32 -j i_XXXXX_i
> -A INPUT -s 224.93.27.235/32 -j i_XXXXX_i…
timy
- 719
50
votes
6 answers
yum simulate install
Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use apt-get --simulate install
Is there something similar for yum? Our Red hat box (yum) is our production server,…
Michael
- 811
50
votes
2 answers
iptables and multiple ports
This doesn't work for me:
# iptables -A INPUT -p tcp --dports 110,143,993,995 -j ACCEPT
iptables v1.4.7: unknown option `--dports'
Try `iptables -h' or 'iptables --help' for more information.
However in the man page, there is an option --dports...…
Zenet
- 938