Most Popular
1500 questions
52
votes
5 answers
Failed tls handshake. Does not contain any IP SANs
I'm trying to set up logstash forwarder, but I have issues with making a proper secure channel. Trying to configure this with two ubuntu (server 14.04) machines running in virtualbox. They are 100% clean (not touched hosts file or installed any…
connery
- 555
52
votes
10 answers
Windows TCP Window Scaling Hitting plateau too early
Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and the servers are either AWS instances or…
SmallClanger
- 9,187
52
votes
10 answers
How do I get the MD5 of a file on Windows?
I need to check the MD5 of a few files on Windows. Any recommendations on either a command line or an explorer-plugin utility?
Daniel C. Sobral
- 5,823
52
votes
1 answer
Fibre channel long distance woes
I need a fresh pair of eyes.
We're using a 15km fibre optic line across which fibrechannel and 10GbE is multiplexed (passive optical CWDM). For FC we have long distance lasers suitable up to 40km (Skylane SFCxx0404F0D). The multiplexer is limited by…
Marki
- 2,854
52
votes
5 answers
PDU wiring - is this normal (or even safe)?
I removed the side panel of our server rack so I can clean up some of the wiring. Inside I found the PDU was wired like in the picture. Instead of an incoming power cable, there's just 3 uninsulated spade connectors.
Is there any reason for wiring…
Grant
- 17,989
52
votes
1 answer
Will increasing net.core.somaxconn make a difference?
I got into an argument on the net.core.somaxconn parameter: I was told that it will not make any difference if we change the default 128.
I believed this might be enough proof:
"If the backlog argument is greater than the value in…
petermolnar
- 1,049
52
votes
1 answer
nginx server directive is not allowed here
I know there are dupes of this out there, but I can't seem to solve this in my situation.
I'm following an article on setting up nginx as reverse proxy with apache.
And I get this error:
nginx: [emerg] "server" directive is not allowed here in
…
gideon
- 1,145
- 2
- 13
- 28
52
votes
14 answers
Preventing brute force attacks against ssh?
What tool or technique do you use to prevent brute force attacks against your ssh port. I noticed in my Security logs, that I have millions of attempts to login as various users through ssh.
This is on a FreeBSD box, but I imagine it would be…
grieve
- 1,557
52
votes
6 answers
Where does logrotate save its own log?
I have logrotate running in an EC2 AWS machine rotating Apache logs. Once packed, Apache logs are saved into AWS S3 via s3fs. The problem is that I recently noticed that I didn't have logs rotated. In S3 I have old logs from day 48->60 but the 1->47…
enedebe
- 1,086
52
votes
8 answers
bash/sed/awk/etc remove every other newline
a bash commands outputs this:
Runtime Name: vmhba2:C0:T3:L14
Group State: active
Runtime Name: vmhba3:C0:T0:L14
Group State: active unoptimized
Runtime Name: vmhba2:C0:T1:L14
Group State: active unoptimized
Runtime Name: vmhba3:C0:T3:L14
Group…
carillonator
- 825
52
votes
7 answers
Is there a name based virtual host SSH reverse proxy?
I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management.
I'd…
ahanson
- 1,724
- 2
- 16
- 21
52
votes
5 answers
How to disable Nginx logging?
I have the following in config file
server {
listen 80;
server_name _;
access_log /var/log/nginx/access.log main;
...
server {
listen 80;
server_name example.com
access_log off;
error_log off;
But it…
user965363
- 783
52
votes
19 answers
The IT Manager is Leaving - What do I lockdown?
The IT Manager may be leaving, and it's possible that the parting of ways may not be completely civil. I wouldn't really expect any malice but just in case, what do I check, change or lock down?
Examples:
Admin passwords
Wireless passwords
VPN…
Marko Carter
- 4,112
- 1
- 30
- 38
52
votes
4 answers
When to use delaycompress option in logrotate?
The man page of logrotate says that:
It can be used when some program cannot be told to close its logfile
and thus might continue writing to the previous log file for some
time.
I'm confused by this. If a program cannot be told to close its…
Anand Chitipothu
- 623
52
votes
2 answers
How do I downgrade an RPM on a machine without 'yum'?
On a machine without yum, I have version 3.2 of a package installed and I have downloaded version 2.4 manually, how do I install the older version?
Harley
- 2,227