Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Lexon9

Pages: [1]
1
Russian / sqstat Помогите настроить
« on: February 09, 2015, 07:02:58 pm »
настраивал по статье http://foraqis.ru/?p=321 там указано что надо править squid.conf но после перезагрузки все пропадает - оно и понятно!
Может у кого получилось по другому настроить?
errno=4; $squidclass->errstr="Error in the configuration file.". 'Please, specify $squidhost['.$config.']/$squidport['.$config.']'; $squidclass->showError(); exit(4); } for($i=0;$ierrno=4; $squidclass->errstr="Error in the configuration file.
". '"group_by" can be only "username" or "host"'; $squidclass->showError(); exit(4); } } else{ $squidclass->errno=4; $squidclass->errstr="Configuration file not found.". "Please copy file config.inc.php.defauts to config.inc.php and edit configuration settings."; $squidclass->showError(); exit(4); } // loading hosts file $hosts_array=array(); if(isset($hosts_file)){ if(is_file($hosts_file)){ $handle = @fopen($hosts_file, "r"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); unset($matches); if(preg_match('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})[ \t]+(.+)$/i',$buffer,$matches)){ $hosts_array[$matches[1]]=$matches[2]; } } fclose($handle); } else { $squidclass->errno=4; $squidclass->errstr="Hosts file not found.". "Cant read '$hosts_file'."; $squidclass->showError(); exit(4); } } else { $squidclass->errno=4; $squidclass->errstr="Hosts file not found.". "Cant read '$hosts_file'."; $squidclass->showError(); exit(4); } } if(!$squidclass->connect($squidhost,$squidport)) { $squidclass->showError(); exit(1); } $data=$squidclass->makeQuery($cachemgr_passwd); if($data==false){ $squidclass->showError(); exit(2); } // print_r($data); if(!isset($use_js)) $use_js=true; echo $squidclass->makeHtmlReport($data,$resolveip,$hosts_array,$use_js); ?>
Вот такая ерунда при обращении на адрес

2
Russian / Долгое выключение firewall
« on: March 25, 2013, 03:35:01 pm »
http://imageshack.us/photo/my-images/248/25032013200.jpg/
Долго выключается сервер, надпись стоит 5-10 минут в настройках ничего не добавлял!
после идет Stopping Zentyal module Network.
Подскажите в чем проблема?

3
Начал страшно тормозить интернет, проверил скорость интерфейсов - загружен канал отдачи (0,73 Мб/сек) нашел IP (нарушителя) http://imageshack.us/photo/my-images/248/02032013104306.png/
Он из числа тех кто получает адреса по DHCP.
Как отключить ему интернет? или ограничить отдачу?

4
Russian / Не могу настроить интернет шлюз
« on: February 08, 2013, 06:47:31 pm »
Здравствуйте помогите настроить интернет шлюз, с прозрачным прокси. Интернет через ADSL modem PPPoE что нужно прописать на втором интерфейсе и клиенте? мне нужно чтоб клиенты были по IP!

Pages: [1]