Category: Webserver

02.08.2017

nginx can be used as webserver, web-proxy and even mail-proxy. “Apache ist aufgrund seiner Architektur und Arbeitsweise doch eher der Traktor unter den Webservern.” X-D (src) let me try to translate: “Apache is due to its architecture and functioning rather […]

CentOS Redhat – compile Apache2 from source
27.07.2017

i tried to compile under debian…. but it’s way more compli cated. also: you probably do not need all the packages stated here… but i did not have the time to sort those out sorry for that. feel free to […]

webserver software marketshare – NetCraft – Web Internet stats statistics – growth number of sites – total number of websites – internet stats statistics
27.07.2017

according to https://w3techs.com/technologies/overview/web_server/all apache(2 i guess) is still the dominant webserver on the internet with a market share of 50%. src: https://trends.builtwith.com/web-server according to builtwith.com it is “only” 40% market share for the apache(2) webserver. also most sites are running […]

08.06.2017

client /etc/ssh/ssh_config is for client side config – here you can for example enable StrictHostKeyChecking yes /etc/ssh/ssh_known_hosts similar to ~/.ssh/known_hosts it contains the system-wide-accepted public keys of other hosts. So if you have “StrictHostKeyChecking yes” enabled, you could manually accept […]

cool stuff you can do with ssh
07.06.2017

i assume you have setup public-private-key-authentication and tested its workings and tightened security to only allow public-private key auth of specific non-root users. run local scripts remotely You can run local scripts remotely by executing bash on the remote system […]

Programming Languages and Security
03.04.2017

ich wollte mal wissen, wie steht es eigentlich um die Security auf Technologie / Programmiersprachen-Ebene? D.h. welche Programmiersprachen machen es einem schwer vs. einfach sichere Software zu schreiben? Natürlich kann man in jeder Programmiersprache angreifbare Projekte entwickeln… das ist kein […]

22.01.2017

tested on vesta cp (apach2+nginx+Debian 8.7) this script could be placed into a file called: /scripts/mon_webserver_activity.sh [cc lang=”bash” escaped=”true” width=”600″] #!/bin/bash #sh -c ‘tail -f /var/log/vesta/*.log && tail -f /var/log/nginx/*.log’ & tail -f /var/log/vesta/*.log & tail -f /var/log/nginx/*.log & [/cc] […]

19.09.2016

what config file is nginx using? while it is running you can check via: [cc lang=”bash” escaped=”true” width=”600″] ps uax|grep nginx root 766 0.0 0.0 41540 4 ? Ss Sep16 0:00 nginx: master process /usr/local/vesta/nginx/sbin/vesta-nginx admin 770 0.0 0.1 41720 […]

13.09.2016

if fail2ban fails to ban: https://dwaves.de/2017/07/27/centos7-replaced-firewall-iptables-with-firewalld-iptables-vs-nftables-benchmark-performance-comparison-scalability-when-facing-ddos-scenarios vim /etc/fail2ban/jail.conf; # open up the config file that defines all the defaults # find those lins: # # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files. destemail = […]

13.09.2016

if fail2ban fails to ban: https://dwaves.de/2017/07/27/centos7-replaced-firewall-iptables-with-firewalld-iptables-vs-nftables-benchmark-performance-comparison-scalability-when-facing-ddos-scenarios/ but also whole companies from israel are offering tools to nuke off your webserver with “rented” DDoS attacks vim /etc/fail2ban/jail.local; # add those lines: [apache] enabled = true port = http,https filter = apache-auth […]

27.08.2016

[cc lang=”bash” escaped=”true” width=”600″] last -x shutdown shutdown system down 3.16.0-4-amd64 Sat Aug 27 16:31 – 16:32 (00:00) shutdown system down 3.16.0-4-amd64 Fri Aug 26 08:10 – 08:11 (00:00) shutdown system down 3.16.0-4-amd64 Thu Aug 25 11:04 – 11:05 (00:00) […]

04.07.2016

WARNING! central VestaCP software vendor was hacked in 2018 not sure if they fixed the problem and continue VestaCP development (a shame, it was really a very very nice web based gui to admin web and mailsevers) … if you […]

22.06.2016

it was a bad idea to use the vestacp backup and restore function. unfortunately i believe you are better off restoring every domain by hand. [cc lang=”bash” escaped=”true” width=”600″] systemctl status apache2.service ● apache2.service – LSB: Apache2 web server Loaded: […]

19.03.2016

WARNING! central VestaCP software vendor was hacked in 2018 not sure if they fixed the problem and continue VestaCP development (a shame, it was really a very very nice web based gui to admin web and mailsevers) it should work. […]

28.08.2015

Climate Change is affecting all of us. http://www.climateprediction.net/   https://youtu.be/vrYEh81O-Vs?t=552 -> “How do we get more detailed information?” Computer Simulation ->  http://www.ipcc-data.org/ Projects Since Climateprediction.net was launched the combined computing power of its users has allowed scientists to carry out […]

27.08.2015

Setting up a simple SSL configuration Setting up a simple SSL configuration with Lighttpd is quite easy. Though this method should be used with care because this setup will only provide proper encryption, not authentication! The user will be presented […]