SQDR - ।४  ᪢ - v. 0.12
(c)  , 2001

஢७  "Squid 2.4 STABLE 2 for OS/2" by A. Leko
 Squid2 2.5 for OS/2 by Evgen

 "Squid 2.3 STABLE 4 for OS/2 Release 20/07/2000" by Stauff
᫥ ᯮ짮 sqdr10a ()


 ⠪ ।४
--------------------

४ -  ᯥ樠쭠 ணࠬ, ࠡ ᮢ⭮  ப
ࢥ஬ Squid (http://www.os2.spb.ru/technology/squid/)  㦠
 ८ࠧ URL   ࢥ.

祬  㦭
---------------

 祢 ⢥:   ।४ , ਬ,
 㧪 ஢  ୮ᠩ⮢,  १ 祣, 
, ந ᭨ ந⥫쭮 䨪 
 :)

  ࠡ⠥
----------------

 ࠧ, । 饭  । , Squid ।
URL ।४. ४, ᮮࠧ  ᮡ⢥묨 ன
 ⠢ URL  ,     㣮.
㦭 ⬥,      짮⥫ ப ࢥ,
஬, ࠧ , १ ⠪ .

  ।४
--------------------

,  , ।४   ᠬ⥫쭮 :)  
  , ᠭ 㣨  祫. 
ਬ, jesred. , ᪮  ⠥  ⥪, jesred
  㦥,  㤮⢮ 짮   
  ᠭ SQDR.

⠭.
----------
⠢   ࠧ,

 ४ [squid] 뢠 䠩 sqredir.exe   sqdrserver.exe,
 ४ [squid]\SQDR 뢠 䠩 
   redir.rules (᭮ 䠩  ࠢ),  
   blacklist.upd ( 뢠  ࠢ ⭮⥫쭮 ୮ᠩ⮢),
   domain ( ᯨ᮪ ୮)
   ४    .
  ᮧ SQDR\Clients -   ४  뢠 
 ⮢

 redir.rules 筮     

BaseRedirUrl=http://your.local.www
DefaultRedir=images/dot.gif

⠫쭮  ⠢  . ஬ ⮣,  ਤ
     䨣樮 䠩 ࢥ Squid:

  redirect_program  sqredir.exe
  redirect_children 5

C ⤥쭮 ⠭  ⢥ 饭 ।४஢.
  ।४  ࠡ⪮ URL, Squid  
 ᫥騬 ᮬ  㣮.  ࠧ, ᫨誮 쪮
⢮ 饭 ।४஢  맢 প ࠡ⪨
ᮢ, ᫨誮 讥 맮 ந⥫  ᮢ
 ⮬,   ।४஢ 㤥  ⠨  .
ᮡ 襭 -      dns_nameservers, ⠢ 
砫  祭 ,  १   ६ ᬮ
⨪ ᯮ짮 ।४஢  㡥 ᯮ㥬 
ᯮ㥬 ᫨誮 ।.
᫨ ᪢  墠⠥ ।४஢,     ⮬  .

  ᪠ squid,   redir.rules sqdrserver 
 ().

ᠭ ᪢.
-----------------
ந室   ᨬ  ᯮ   ,   99% 砥
易  ।४ࠬ.  ⮬ ᪢  - ࠧ  
।४. ..  ।४  室,  ⢥砥 ᪢, 
 ᪢ ⮣      ,    墠⠥ ।४஢.
 achemgr ᪢ ࠡ뢠 ⠪ १ ।४, ⠪  -
 ... ਬ୮ ᫥ 20-25 ᮢ  ⠪ "᪮祭"
ﭨ ᪢ ᤠ   ᥡ ࠪ.  祬  "᪮祭"
ﭨ      ⢨ 짮⥫,
ਬ,  3  .    ⨬ ᫥騬 ࠧ:
饭 襤㫥,  ८᪨ 訢 稥 ᪢ (१
go.exe) ,  砥 ᢨ, ᪠ . ஬ ⮣, 襤㫥 ࠧ
  ࣠ ᪢, 稢  १ wget ⨭  ண  
( rbc.ru).    ࢥ (뢭 ࠡ,  ୥ 쬠 稩)
᪢   "᪮祭" ﭨ ਬ୮ ࠧ  -... 
 (㧪 ᪢  ६ ࠡ  ) ⠪  ந室.

ᯮ짮  䠩  ७ࠢ
--------------------------------------------------
   redir.rules
BaseRedirUrl=http://127.0.0.1:8080/squid-internal-static/icons
DefaultRedir=dot.gif

 \SQ\etc\mime.conf  - த:
\.banner$       image/gif 			dot.gif 		- 	image

  dot.gif  ⠫ 
\SQ\etc\icons

.  ᪢ 㤥  ୨    ⠪  ࠡ
 䫠! ਬ,   㧥 http://ad.lbe.ru  稨
ࠢ 
ad. 
।४ ७ࠢ   
http://127.0.0.1:8080/squid-internal-static/icons/dot.gif
 ᪢ 뤠:
	
	襭 URL    ⠢.

	ந諠 ᫥ 訡: 
	      㤠 ⠭ ᮥ. 

	 祭 ⢥: 

	    (60) Connection timed out

	 ࢥ    ⢥. ,  . 


⫨稥 Squid 2.4s2 by A. Leko  Squid 2.3s4  by Stauff
--------------------------------------------------------
2.3s4  ࠡ⠥  ।४஬ १ ᮪,
2.4s2 "" ࠡ⠥   ।४஬ १ ᮪,   ࠡ⠥ १
stdin/stdout.  १ 뢠  ᯮ짮  squid' 
 뤠 ଠ樨 sqdrserver.exe.(sqdrserver.exe ᯮ stdout, 
 ᫥  맢襣  ,  १ 砥 䨣,
  squid)
 襭 ⮩ ஡  
sqdrserver  ⤥쭮 , । ᪮ sq

@setlocal
set SQUID_DIRECTORY=M:\SQ
start "SQDR" /B /C %SQUID_DIRECTORY%\sqdrserver.exe
REM DosSleep 10
%SQUID_DIRECTORY%\bin\squid -D -s %1 %2 %3 %4 %5 %6 %7 %8 %9
@endlocal

ன ࠢ ८ࠧ URL
-----------------------------------
᭮ 䠩  䨣樥 SQDR - Redir.rules, ஬   
ᯮ짮 䠩,  ࠬࠬ  BlackList  UpdateBlack_List.
Redir.rules ⫨砥  ⠫ 䠩 稥 筮 ,
 ன 뢠   ࠬ.
ࠢ ८ࠧ     ⥣ਨ -   ୮,
 ⮬  ⥣ ࠢ  뢠  Redir.Rules,  ୮ - 
BlackList  UpdateBlack_List.

-----------
ਨ   #

ࠢ 祭 :
[*|!]url[$] [[http://]redirUrl]

ad.doubleclick.net/ad 
- ।४  DefaultRedir ,  稭  
                   ad.doubleclick.net/ad   
             ad[1-99].doubleclick.net/ad 
          www[1-9].ad.doubleclick.net/ad
            level1.ad.doubleclick.net/ad
   www[1-9].level1.ad.doubleclick.net/ad
  祭 [1-9] 砥,     ᨬ  "1"  "9",
      , level1 砥   
*.lbe.ru/bb.cgi
- ।४  DefaultRedir ,  ᮤন .lbe.ru/bb.cgi

!agt.net
 -  agt.net  level1.agt.net ᪫砥  쭥襩 ஢ન 
    ⥣ਨ ᠩ⮢.

.mpeg$ images/PAPER1.JPG
         - ।४  BaseRedirUrl/images/PAPER1.JPG , 
            砥  .mpg

᫨ redirUrl 稭  http:// ,      BaseRedirUrl


஢ઠ ࠢ  㭨쭮
--------------------------------

sqdrserver.exe -r 

뢠 ⭮ 䠩  ࠢ, 䨫஢묨  㭨쭮.
 믮  ⥫쭮  ࠢ.
(  ।⥫쭮 ࠭  redir.rules, domain 
blacklist.upd).
ଥ,  稨   ࠢ
   pantyhose.
  [......]
   pantyhose.st
      pantyhose.sk   뤠 "襥 襥"
    pantyhose.st   १  ஬.  ⮦ ६ ᠬ
   pantyhose.st   ⢨ ࠢ  pantyhose.


ன ⮬᪮ ஢ 㯠  ୮ᠬ
------------------------------------------------------------
筥, ந室 ஢ 㯠   ᠬ,  ॢ襭
 ⥭ᨢ 饭  .  ⮬ 짮⥫
 祭  ६    㤥 뤠 ⨭.
  ,  -    㧥, 騩 
짮⥫ 㤥  ⭮ ᪮쪮 ...

#max pornohits per Hour for  Wait pause 
MaxHitsPerHourBlack_List=20  
  -  ᪮쪮 ࠧ   짮⥫  砩   ୮뫪
      ஢

Wait_minBlack_List=1
  - ᪮쪮  ஢ 짮⥫
WaitUrlBlack_List=images/porno_stop.gif
  -  뢠 㥬 짮⥫,  apache\htdocs\images
    襬  ।    ⨭  롮.

 ᯨ᮪ ୮ᠩ⮢   
ftp://ftp.ost.eltele.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz

ன ࠢ   짮⥫
---------------------------------------------
ந  䠩,  ࠬ஬ UsersInfo,  㬮砭 -
SQDR\Users.conf

ଠ 䠩 UsersInfo:
# ਩ 
UserAddress UserName [[Wait_minBlack_List] MaxHitsPerHourBlack_List]

ᨬ쭮  ⢮ 짮⥫ - 256,    
४樨 (⠭ MAX_USERS)
᫨ 祭 Wait_minBlack_List  MaxHitsPerHourBlack_List  㪠,
 ᯮ짮  祭.


 ᪠ ࢥ  㣮   쭮 
----------------------------------------------------------
ᮧ 䠩

SQDR/client.cfg

     ,  ஬ 㤥 ࠡ ࢥ ।४
(sqdrserver.exe).   㧭  net who


   뢮 ணࠬ:
-----------------------------------
ଠ :
 뢮  ᮫: 
  [६]  Url [ redirUrl user (Line,Nfile,Classification) ]
 뢮  䠩:
    Url [ redirUrl user ] ६ [(Line,Nfile,Classification)]

 =
   n - (none) ७ࠢ  㦭
   B - ࠡ⠫ ७ࠢ  砫 url'
   E - ࠡ⠫ ७ࠢ    url'
   S - ࠡ⠫ ७ࠢ  ப url'
६ 
     ᥪ㭤, ᫨   , 祭  ࠡ
Url
  室 url.   १  ࠡ뢠 ।४  뢮  ࠭
User 
   짮⥫
Line 
  ப 䠩  ࠡ⠢訬 ࠢ
Nfile
  䠩  ࠡ⠢訬 䠩
Classification
  䨪樨 

ਬ:
B http://www.mp3sound.com/  images/dot.gif  127.0.0.1 0 (58669,1,0)

---------
᫥ ᨨ ணࠬ -
http://www.laser.ru/evgen/soft/SQDR
ᬮ ⠪ 
http://www.laser.ru/evgen/soft/Squid2

---------
[Q:] 뢠. ,  祬 jesred  ࠨ?
[A:]
    (a) 祭  ࠡ 窠 
    () 䨣   ,   ॣ ࠡ, 
    ()  室 㫥  , 
    () ⥪ ⨢ 㧥஢  , 
    ()   ७ ,  ࠢ ࠡ⠫ (⠬ 
ࠢ,    ப) 
    (e) ৠ  ᮬ  ମ jesred'

୮:   jesred\JesRed.Rus,  ᯮ짮  ⥪
