Benutzerinformationen überspringen
User
Registrierungsdatum: 14.12.2015
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: Unity
Andere Betriebssysteme: Ubuntu 14.04 Server - OS X Yosemite - Debian Testing
Quellcode |
|
1 2 3 |
apt-get install squid3 cd /etc/squid3 htpasswd -c squid_passwd <proxyuser> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
acl ads dstdom_regex "/etc/squid3/ad_block.txt" http_access deny ads acl ip1 myip xxx.xxxx.xxx.xxx tcp_outgoing_address xxx.xxxx.xxx.xxx ip1 http_port 3128 auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/squid_passwd auth_param basic realm proxy acl ncsa_users proxy_auth REQUIRED http_access allow ncsa_users dns_v4_first on cache deny all forwarded_for off request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Location allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Range allow all request_header_access Referer allow all request_header_access Accept allow all request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access Proxy-Connection allow all request_header_access User-Agent allow all request_header_access Cookie allow all request_header_access All deny all acl CONNECT method CONNECT http_access allow localhost manager http_access deny manager http_access allow localhost http_access deny all coredump_dir /var/spool/squid3 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880 refresh_pattern . 0 20% 4320 |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »lichtblitz« (14.12.2015, 23:20)
Benutzerinformationen überspringen
User
Registrierungsdatum: 14.12.2015
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: Unity
Andere Betriebssysteme: Ubuntu 14.04 Server - OS X Yosemite - Debian Testing
Was sagt denn nmap auf die IP von dem Rechner?
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 110/tcp open pop3 111/tcp open rpcbind 143/tcp open imap 443/tcp open https 465/tcp open smtps 587/tcp open submission 993/tcp open imaps 995/tcp open pop3s 2049/tcp open nfs 3306/tcp open mysql 3128/tcp open http-proxy |
Quellcode |
|
1 2 3 4 5 6 |
netstat -anp | grep -iE "(squid|apache)" tcp6 0 0 :::3128 :::* LISTEN 16702/squid3 tcp6 0 0 :::80 :::* LISTEN 2976/apache2 tcp6 0 0 :::8081 :::* LISTEN 2976/apache2 tcp6 0 0 :::8888 :::* LISTEN 2976/apache2 tcp6 0 0 :::443 :::* LISTEN 2976/apache2 |
P.s.: Nimm bitte den kommerziellen Link aus deiner Signatur, bevor es ein Mod tun muss. Siehe Forenregeln. Danke.
Benutzerinformationen überspringen
User
Registrierungsdatum: 14.12.2015
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: Unity
Andere Betriebssysteme: Ubuntu 14.04 Server - OS X Yosemite - Debian Testing
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
acl ads dstdom_regex "/etc/squid3/ad_block.txt" http_access deny ads acl ip1 myip xxxx.xxxx.xxxx.xxx tcp_outgoing_address xxxx.xxxx.xxxx.xxx ip1 http_port 8080 auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/squid_passwd auth_param basic realm proxy acl ncsa_users proxy_auth REQUIRED http_access allow ncsa_users dns_v4_first on cache deny all forwarded_for off request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Location allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Range allow all request_header_access Referer allow all request_header_access Accept allow all request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access Proxy-Connection allow all request_header_access User-Agent allow all request_header_access Cookie allow all request_header_access All deny all acl CONNECT method CONNECT http_access allow localhost manager http_access deny manager http_access allow localhost http_access deny all coredump_dir /var/spool/squid3 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880 refresh_pattern . |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
netstat -anp | grep -iE "(squid|apache)" tcp6 0 0 :::8080 :::* LISTEN 16702/squid3 tcp6 0 0 :::80 :::* LISTEN 2976/apache2 tcp6 0 0 :::8081 :::* LISTEN 2976/apache2 tcp6 0 0 :::8888 :::* LISTEN 2976/apache2 tcp6 0 0 :::443 :::* LISTEN 2976/apache2 udp 0 0 0.0.0.0:47769 0.0.0.0:* 16702/squid3 udp6 0 0 :::41383 :::* 16702/squid3 udp6 0 0 ::1:51269 ::1:60055 VERBUNDEN 16702/squid3 unix 3 [ ] STREAM VERBUNDEN 891266 16702/squid3 unix 3 [ ] STREAM VERBUNDEN 890352 16702/squid3 |
1 Besucher
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien