Most Popular
1500 questions
59
votes
8 answers
Apache: SSLCertificateKeyFile: file does not exist or is empty
I am configuring SSL for Apache 2. My system is Ubuntu Server 10.04 LTS. I have the following settings related to SSL in my vhost configuration:
SSLEngine On
SSLCertificateKeyFile /etc/ssl/private/server.insecure.key
SSLCertificateFile …
blueFast
- 4,340
- 14
- 38
- 55
59
votes
4 answers
logrotate daily and size?
If a logrotate config is specified with "size" and "daily" parameters, which one takes precedence? Where is this documented? I would like these rotations to occur as a boolean OR operation, ie, if the logs are a day old they get rotated, OR if they…
cat pants
- 2,293
59
votes
3 answers
What's the difference between socat and netcat?
I understand that socat is described as a "more advanced" version of netcat, but what is the actual difference?
Would it be correct to say that everything you can do in netcat you can also do in socat? What about the opposite (everything you can do…
bantic
- 1,549
- 3
- 14
- 17
59
votes
40 answers
How do you manage your passwords?
Obviously seeing as how many of us here are system administrator type people, we have a lot of passwords strung out across numerous systems and accounts. Some of them are low priority, others could cause serious harm to a company if discovered…
DWilliams
- 973
- 2
- 20
- 29
59
votes
10 answers
How to setup a fake SMTP server to catch all mails?
I'm looking for an smtp service that essentially obeys the RFC, except rather than sending mail it simply logs to a file
[date] sent mail to
Or whatever. I can bash this together with the bare minimum of functionality I need in python in…
richo
- 978
- 1
- 8
- 16
59
votes
6 answers
how to split a pcap file into a set of smaller ones
I have a huge pcap file (generated by tcpdump). When I try to open it in wireshark, the program just gets unresponsive. Is there a way to split a file in set of smaller ones to open them one by one?
The traffic captured in a file is generated by two…
facha
- 1,398
- 2
- 18
- 26
59
votes
1 answer
rsync - Exclude files that are over a certain size?
I am doing a backup of my desktop to a remote machine. I'm basically doing rsync -a ~ example.com:backup/ However there are loads of large files, e.g. wikipedia dumps etc. Most of the files I care a lot about a small, such as firefox cookie files,…
Amandasaurus
- 32,281
- 69
- 194
- 263
59
votes
4 answers
Connecting to HTTPS with netcat (nc)
I'm working on a homework assignment for my college course.
The task is to fetch web pages on HTTPS using nc (netcat).
To fetch a page over HTTP, I can simply do the following:
cat request.txt | nc -w 5 80
In request.txt I have an HTTP…
Oto Brglez
- 792
58
votes
6 answers
Some ISPs don't charge for bandwidth used on Youtube/Netflix/Facebook. How do they monitor that?
In Poland, it is common for mobile ISPs to offer plans with limited amount of bandwidth per month, with exclusion of some popular apps. So for example all traffic from YouTube is not counted towards the data cap.
Aside from net neutrality issues, I…
Kuba Orlik
- 671
58
votes
2 answers
What are windows 7 N/KN/VL editions?
We're subscribed to MSDN at work and I've noticed that among the various windows "editions" there are downloads such as "Windows 7 Ultimate N" and "Windows 7 Ultimate N and KN".
What are these versions and what is the difference between "regular"…
Dror Helper
- 755
58
votes
10 answers
Why not block ICMP?
I think I almost have my iptables setup complete on my CentOS 5.3 system. Here is my script...
# Establish a clean slate
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F # Flush all rules
iptables -X # Delete…
Agvorth
- 2,449
58
votes
55 answers
What are useful Command-line Commands on Mac OS X?
Per the Windows and Linux threads, what commands do you find most useful in Mac OS X Server (or Client)?
username
- 4,785
- 19
- 58
- 79
58
votes
8 answers
How to mount a VirtualBox shared folder?
What is the procedure for mounting a VirtualBox shared folder in Linux?
I tried variations of the following mount command but I keep getting protocol error or other mount errors.
sudo mount -t vboxsf share /home/toto
BSalita
58
votes
15 answers
Is there a site that can track all the domain names I own?
I've been using a spreadsheet to keep track of domain names. Is there a web service anywhere that maintains a domain name database and tracks all the domains we own? The most important feature is that it would have to remind me when it's time to…
Joel Spolsky
- 3,686
- 4
- 22
- 19
58
votes
7 answers
PECL command produces long list of errors
Currently running PHP 5.4 on CentOS 6.5.
I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL.
Shortly after, I realized 5.5 is not compatible with the framework I was working with so…
eComEvo
- 1,041