.


:




:

































 

 

 

 


SQUID




squid.conf

http_port 192.168.4.1:3128 transparent

icp_port 0

cache_mem 8 MB

maximum_object_size_in_memory 8 KB

cache_dir ufs /usr/local/squid/var/cache 100 16 256

 

acl all src 0.0.0.0/0.0.0.0

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl lan src 192.168.4.0/24

acl denydomain dstdomain "/usr/local/squid/etc/denydomain.acl"

acl denyurl url_regex "/usr/local/squid/etc/denyurl.acl"

acl denyip dst "/usr/local/squid/etc/denyip.acl"

acl vip src 192.168.4.17

acl ports port 80

acl ports port 8080

acl ports port 443

acl ports port 21

acl connect method CONNECT

http_access allow vip ports

http_access allow vip ports connect

http_access deny lan denydomain

http_access deny lan denyip

http_access allow lan ports

http_access allow lan ports connect

http_access deny all

 

denydomain.acl:

foto.rambler.ru

play.yandex.ru

denyurl.acl:

^http://$sex$

^http://$xxx$

denyip.acl

81.19.66.164

213.180.204.20

, , ( , , .) , , .

- - , .

, . .

:

;

(OC);

;

.

:

;

;

;

.

, - (-), (link-).

(boot-), , (Master Boot Record), boot-.

- - .

.

- , - , , . , , , , -. - -, , .

(, , ) . - OS - DOS, Windows, Win95/NT, OS/2 .. - Word, Excel, Office. .

:

;

-;

;

.

, . . . , . .

-, . , .

, OC.

- . - OC / . - , . - .

, . - - , , .. . - . -.

, OC, , ..

:

, .. ( );

, , . ;

, ;

, , , , , , - .

, , , .

, . , .

- .. .. . , , .

, :

, -, (bad)

()

()

.

, , .

MBR (Master Boot Record - ). , (boot). MBR . , , . , - MBR - .

, , . . , ( , ).

- , ( , , , , ). , , . - , - (, , ) - . ,, . , - , . , , :

- ;

- ;

- .

- , , .

, , , , , .





:


: 2016-10-06; !; : 401 |


:

:

- , , .
==> ...

1769 - | 1553 -


© 2015-2024 lektsii.org - -

: 0.01 .