Most Popular

1500 questions
58
votes
4 answers

What does mdev mean in ping(8)?

What does mdev mean in ping output (last row below)? me@callisto ~ % ping -c 1 example.org PING example.org (192.0.43.10) 56(84) bytes of data. 64 bytes from 43-10.any.icann.org (192.0.43.10): icmp_seq=1 ttl=245 time=119 ms --- example.org ping…
Daniel
  • 3,047
  • 5
  • 22
  • 27
58
votes
5 answers

Bash find command verbose output

Is there way to tell the bash find command to output what it is doing (verbose mode)? For example for the command: find /media/1Tb/videos -maxdepth 1 -type d -mtime +7 -exec rm -rf {} \; to output: Found /media/1Tb/videos/102, executing rm -rf…
Alex
  • 1,828
  • 4
  • 31
  • 52
58
votes
4 answers

What is the best nginx compression gzip level?

I'm using nginx reverse proxy cache with gzip enabled. However, I got some problems from Android applications HTTP-requests to my Rails JSON web service. It seems when I turn off reverse proxy cache, it works ok because the response header comes…
Chamnap
  • 795
  • 3
  • 9
  • 13
58
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,519
  • 3
  • 14
  • 17
58
votes
12 answers

What should I pay attention to when I'm buying a network switch?

Since I'm not a hardware expert, I don't know what features make a network switch a good network switch. What should I pay attention, when I'm comparing the different models from different vendors?
splattne
  • 28,508
  • 20
  • 98
  • 148
58
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
  • 948
  • 1
  • 7
  • 16
58
votes
5 answers

How to delete Instances in Amazon EC2 ? Change Pair Key?

How to remove Instances ? I test some Instances and now I terminate it. So, I want to remove it. I can't find delete or remove action. I just found terminate. How to change the pair key ? I don't have pair key for old Instances and I want to…
saturngod
  • 837
  • 2
  • 10
  • 12
57
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
  • 661
  • 1
  • 5
  • 10
57
votes
4 answers

Is it possible to change an "Unidentified Network" into a "Home" or "Work" network on Windows 7

I have a problem with Windows 7 RC (7100). I frequently use a crossover network cable on WinXP with static IP addresses to connect to various industrial devices (e.g. robots, pumps, valves or even other Windows PCs) that have Ethernet network…
Rhys
  • 673
  • 1
  • 6
  • 9
57
votes
9 answers

How can I disable TLS 1.0 and 1.1 in apache?

Does anyone know why i can't disable tls 1.0 and tls1.1 by updating the config to this. SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 After doing this, i reload apache I do an ssl scan using ssllabs or comodo ssl tool, and it still says tls 1.1…
David
  • 683
  • 2
  • 6
  • 8
57
votes
4 answers

How to manage DNS in NetworkManager via console (nmcli)?

I have CentOS 7.2 (guest in VirtualBox, vagrant box centos/7, no GUI). I see there is a nameserver in file: $ cat /etc/resolv.conf # Generated by NetworkManager nameserver 10.0.2.3 But how to add or replace with new one? I have done this manually…
Kirby
  • 1,009
  • 1
  • 10
  • 16
57
votes
2 answers

Lets Encrypt with an nginx reverse proxy

Introduction I have a dev server (currently running Ubuntu 14.04 LTS), which I have been using for a while now for hosting various development tools on different ports. Because the ports can be hard to remember I have decided to to use port 80 for…
0x450
  • 673
  • 1
  • 6
  • 7
57
votes
10 answers

How to use DNS/Hostnames or Other ways to resolve to a specific IP:Port

This is a Canonical Question about DNS/Hostnames resolution to IPs/Ports Example 1 I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com goes to port 87. How can I accomplish this using DNS…
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
57
votes
4 answers

Ansible: copy template only when destination file does not exist

I'm using Ansible 1.6.6 to provision my machine. There is a template task in my playbook that creates destination file from Jinja2 template: tasks: - template: src=somefile.j2 dest=/etc/somefile.conf I do not want to replace somefile.conf if it…
Slava Fomin II
  • 1,701
  • 4
  • 17
  • 23
57
votes
5 answers

What's the difference between Windows Server 2008, 2008 SP2 and 2008 R2?

What are the major differences between Windows Server 2008, 2008 SP2 and 2008 R2? Are the code bases for these OSes different? If I'm developing applications for any one of these three, should I be worried that it might not work on the other two?
Samrat Patil
  • 703
  • 1
  • 6
  • 8