Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: nforcer2 в Jul 18, 2005, 17:40



Титла: Как да пусна справката на NOI през Squid
Публикувано от: nforcer2 в Jul 18, 2005, 17:40
В squid.conf секцията за контрол на достъпа е нещо подобно:

acl our_networks dst 192.168.1.0/24
http_access allow our_networks
acl your_networks dst 192.168.12.0/24
http_access allow your_networks
acl noi dstdomain .noi.bg
http_access allow noi
acl nssi dstdomain .nssi.bg
http_access allow nssi
acl nssi1 srcdomain .nssi.bg
http_access allow nssi1
http_access deny all

2005/07/18 17:00:34| Configuring Parent 192.168.1.0/3128/3310
2005/07/18 17:00:34| Done reading c:/squid/var/cache swaplog (0 entries)
2005/07/18 17:00:34| Finished rebuilding storage from disk.
2005/07/18 17:00:34|         0 Entries scanned
2005/07/18 17:00:34|         0 Invalid entries.
2005/07/18 17:00:34|         0 With invalid flags.
2005/07/18 17:00:34|         0 Objects loaded.
2005/07/18 17:00:34|         0 Objects expired.
2005/07/18 17:00:34|         0 Objects cancelled.
2005/07/18 17:00:34|         0 Duplicate URLs purged.
2005/07/18 17:00:34|         0 Swapfile clashes avoided.
2005/07/18 17:00:34|   Took 0.5 seconds (   0.0 objects/sec).
2005/07/18 17:00:34| Beginning Validation Procedure
2005/07/18 17:00:34|   Completed Validation Procedure
2005/07/18 17:00:34|   Validated 0 Entries
2005/07/18 17:00:34|   store_swap_size = 0k
2005/07/18 17:00:35| storeLateRelease: released 0 objects
2005/07/18 17:01:10| The request GET http://www.noi.bg/Tema/web_new2.gif is ALLOWED, because it matched 'noi'
2005/07/18 17:01:10| The reply for GET http://www.noi.bg/Tema/web_new2.gif is ALLOWED, because it matched 'all'
2005/07/18 17:01:12| The request GET http://healthinsurance.nssi.bg/report_healthhtm_15_out.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:01:12| The reply for GET http://healthinsurance.nssi.bg/report_healthhtm_15_out.asp is ALLOWED, because it matched 'all'
2005/07/18 17:01:12| The request GET http://healthinsurance.nssi.bg/captcha/captcha.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:01:13| The reply for GET http://healthinsurance.nssi.bg/captcha/captcha.asp is ALLOWED, because it matched 'all'
2005/07/18 17:01:13| The request GET http://cfg.mywebsearch.com/mysacon....3090408 is DENIED, because it matched 'all'
2005/07/18 17:01:28| The request POST http://healthinsurance.nssi.bg/Report_healthHtm_15_out.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:02:32| The reply for POST http://healthinsurance.nssi.bg/Report_healthHtm_15_out.asp is ALLOWED, because it matched 'all'
2005/07/18 17:02:32| clientProcessBody: start fd=13 body_size=69 in.offset=71 cb=0041EE39 req=00000000
2005/07/18 17:02:32| clientProcessBody: end fd=13 size=69 body_size=0 in.offset=0 cb=0041EE39 req=00000000

и дотук умира а в браузъра ми дава network unreachable.
Това е след като въведа ЕГН и цифрите от картинката.
Браузера е InternetExplorer.


Титла: Как да пусна справката на NOI през Squid
Публикувано от: в Jul 18, 2005, 23:22
Как ти е настроено айпито на уйндоският комп автоматично или статично? Ако са статични пробвай да въведеш ДНСите на доставчикът ти в айпито на уйндоуса! Аз лично ползвм автоматични айпита и нямам проблем. Виж и firewall-а да не ти прави проблем.
Успех!


Титла: Как да пусна справката на NOI през Squid
Публикувано от: nforcer в Jul 18, 2005, 23:52
Ще пробвам това с ДНС- ите а намерих и  това :

refresh_pattern    \.asp$    0    0%    0
refresh_pattern    \.aspx$   0    0%    0

ще го пробвам и него  утре.


Титла: Как да пусна справката на NOI през Squid
Публикувано от: в Aug 16, 2006, 16:36
Цитат (nforcer2 @ Юли 18 2005,18:40)
В squid.conf секцията за контрол на достъпа е нещо подобно:

acl our_networks dst 192.168.1.0/24
http_access allow our_networks
acl your_networks dst 192.168.12.0/24
http_access allow your_networks
acl noi dstdomain .noi.bg
http_access allow noi
acl nssi dstdomain .nssi.bg
http_access allow nssi
acl nssi1 srcdomain .nssi.bg
http_access allow nssi1
http_access deny all

2005/07/18 17:00:34| Configuring Parent 192.168.1.0/3128/3310
2005/07/18 17:00:34| Done reading c:/squid/var/cache swaplog (0 entries)
2005/07/18 17:00:34| Finished rebuilding storage from disk.
2005/07/18 17:00:34|         0 Entries scanned
2005/07/18 17:00:34|         0 Invalid entries.
2005/07/18 17:00:34|         0 With invalid flags.
2005/07/18 17:00:34|         0 Objects loaded.
2005/07/18 17:00:34|         0 Objects expired.
2005/07/18 17:00:34|         0 Objects cancelled.
2005/07/18 17:00:34|         0 Duplicate URLs purged.
2005/07/18 17:00:34|         0 Swapfile clashes avoided.
2005/07/18 17:00:34|   Took 0.5 seconds (   0.0 objects/sec).
2005/07/18 17:00:34| Beginning Validation Procedure
2005/07/18 17:00:34|   Completed Validation Procedure
2005/07/18 17:00:34|   Validated 0 Entries
2005/07/18 17:00:34|   store_swap_size = 0k
2005/07/18 17:00:35| storeLateRelease: released 0 objects
2005/07/18 17:01:10| The request GET http://www.noi.bg/Tema/web_new2.gif is ALLOWED, because it matched 'noi'
2005/07/18 17:01:10| The reply for GET http://www.noi.bg/Tema/web_new2.gif is ALLOWED, because it matched 'all'
2005/07/18 17:01:12| The request GET http://healthinsurance.nssi.bg/report_healthhtm_15_out.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:01:12| The reply for GET http://healthinsurance.nssi.bg/report_healthhtm_15_out.asp is ALLOWED, because it matched 'all'
2005/07/18 17:01:12| The request GET http://healthinsurance.nssi.bg/captcha/captcha.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:01:13| The reply for GET http://healthinsurance.nssi.bg/captcha/captcha.asp is ALLOWED, because it matched 'all'
2005/07/18 17:01:13| The request GET http://cfg.mywebsearch.com/mysacon....3090408 is DENIED, because it matched 'all'
2005/07/18 17:01:28| The request POST http://healthinsurance.nssi.bg/Report_healthHtm_15_out.asp is ALLOWED, because it matched 'nssi'
2005/07/18 17:02:32| The reply for POST http://healthinsurance.nssi.bg/Report_healthHtm_15_out.asp is ALLOWED, because it matched 'all'
2005/07/18 17:02:32| clientProcessBody: start fd=13 body_size=69 in.offset=71 cb=0041EE39 req=00000000
2005/07/18 17:02:32| clientProcessBody: end fd=13 size=69 body_size=0 in.offset=0 cb=0041EE39 req=00000000

и дотук умира а в браузъра ми дава network unreachable.
Това е след като въведа ЕГН и цифрите от картинката.
Браузера е InternetExplorer.

mihail ilqnov mihailov