Register a windows service

 

sc create <name> binpath="<path_to_exec>" 

ex:

 sc create wazuh binpath="c:\Program Files (x86)\ossec-agent\wazuh-agent.exe" 



NGINX upstream sent too big

 

 upstream sent too big header while reading response header from upstream

Add:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

To server{} in nginx.conf

 

 

 

Command ip examples

  # Forcefully close a connection to a specific destination sudo ss -K dst 192.168.1.100 # view routes ip r ip route # To reject a route (bl...

Mais vistos