/l3/users/13-02-2012/NT-Lnet/debian2.net.nt/root :1 :2 :3 :4 :5 :6 :7 |
|
#vim /etc/de
![]() |
#vim /etc/default/spamass-milter
|
#OPTIONS are passed directly to spamass-milter.
PING 192.168.64.150 (192.168.64.150) 56(84) bytes of data. 64 bytes from 192.168.64.150: icmp_req=1 ttl=64 time=0.045 ms 64 bytes from 192.168.64.150: icmp_req=2 ttl=64 time=0.035 ms 64 bytes from 192.168.64.150: icmp_req=3 ttl=64 time=0.036 ms 64 bytes from 192.168.64.150: icmp_req=4 ttl=64 time=0.029 ms 64 bytes from 192.168.64.150: icmp_req=5 ttl=64 time=0.036 ms 64 bytes from 192.168.64.150: icmp_req=6 ttl=64 time=0.040 ms 64 bytes from 192.168.64.150: icmp_req=7 ttl=64 time=0.039 ms 64 bytes from 192.168.64.150: icmp_req=8 ttl=64 time=0.035 ms 64 bytes from 192.168.64.150: icmp_req=9 ttl=64 time=0.035 ms 64 bytes from 192.168.64.150: icmp_req=10 ttl=64 time=0.036 ms ^C --- 192.168.64.150 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 8999ms rtt min/avg/max/mdev = 0.029/0.036/0.045/0.007 ms |
#ping etrey
PING etrey.net.nt (192.168.64.150) 56(84) bytes of data. 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=1 ttl=64 time=0.037 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=2 ttl=64 time=0.029 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=3 ttl=64 time=0.032 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=4 ttl=64 time=0.029 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=5 ttl=64 time=0.037 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=6 ttl=64 time=0.041 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=7 ttl=64 time=0.037 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=8 ttl=64 time=0.035 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=9 ttl=64 time=0.037 ms ... 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=12 ttl=64 time=0.037 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=13 ttl=64 time=0.034 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=14 ttl=64 time=0.036 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=15 ttl=64 time=0.038 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=16 ttl=64 time=0.035 ms 64 bytes from etrey.net.nt (192.168.64.150): icmp_req=17 ttl=64 time=0.037 ms ^C --- etrey.net.nt ping statistics --- 17 packets transmitted, 17 received, 0% packet loss, time 15997ms rtt min/avg/max/mdev = 0.029/0.035/0.041/0.007 ms |
#netsat -nlp 192.168.64.150
![]() bash: netsat: команда не найдена |
#netstat -nlp 192.168.64.150
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:19 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 192.168.64.150:53 0.0.0.0:* LISTEN 1020/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1020/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1197/sshd tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1020/named tcp 0 0 0.0.0.0:36186 0.0.0.0:* LISTEN 819/rpc.statd tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 1256/xinetd ... udp 0 0 0.0.0.0:111 0.0.0.0:* 807/portmap udp 0 0 0.0.0.0:44401 0.0.0.0:* 819/rpc.statd udp 0 0 0.0.0.0:9 0.0.0.0:* 1256/xinetd udp6 0 0 :::53 :::* 1020/named Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 4002 1369/clamd /var/run/clamav/clamd.ctl unix 2 [ ACC ] STREAM LISTENING 4289 1598/clamav-milter /var/run/clamav/clamav-milter.ctl unix 2 [ ACC ] STREAM LISTENING 10624 4465/spamass-milter /var/run/spamass/spamass.sock unix 2 [ ACC ] STREAM LISTENING 3454 997/acpid /var/run/acpid.socket |
#netstat -nlp 192.168.64.150 25
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:19 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 192.168.64.150:53 0.0.0.0:* LISTEN 1020/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1020/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1197/sshd tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 5415/sendmail: MTA: tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1020/named tcp 0 0 0.0.0.0:36186 0.0.0.0:* LISTEN 819/rpc.statd ... udp 0 0 0.0.0.0:44401 0.0.0.0:* 819/rpc.statd udp 0 0 0.0.0.0:9 0.0.0.0:* 1256/xinetd udp6 0 0 :::53 :::* 1020/named Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 13187 5415/sendmail: MTA: /var/run/sendmail/mta/smcontrol unix 2 [ ACC ] STREAM LISTENING 4002 1369/clamd /var/run/clamav/clamd.ctl unix 2 [ ACC ] STREAM LISTENING 4289 1598/clamav-milter /var/run/clamav/clamav-milter.ctl unix 2 [ ACC ] STREAM LISTENING 10624 4465/spamass-milter /var/run/spamass/spamass.sock unix 2 [ ACC ] STREAM LISTENING 3454 997/acpid /var/run/acpid.socket |
#netstat -nlp|grep 25
tcp 0 0 0.0.0.0:19 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:7 0.0.0.0:* LISTEN 1256/xinetd tcp6 0 0 :::110 :::* LISTEN 1256/xinetd udp 0 0 0.0.0.0:9 0.0.0.0:* 1256/xinetd |
#/etc/init.d/sendmail restart
Restarting Mail Transport Agent (MTA): sendmail554 5.0.0 /etc/mail/sendmail.cf: line 76: unknown configuration line " " 554 5.0.0 /etc/mail/sendmail.cf: line 78: unknown configuration line " " . |
#vim /etc/mail
![]() |
#vim /etc/mail/sendmail.mc
--- /tmp/l3-saved-5065.25752.26279 2012-02-17 14:16:58.000000000 +0200 +++ /etc/mail/sendmail.mc 2012-02-17 14:17:30.000000000 +0200 @@ -94,10 +94,10 @@ dnl define(`confCON_EXPENSIVE',`True')dnl dnl # include(`/etc/mail/m4/clamav-milter.m4')dnl - INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass/spamass.sock, F=, T=S:4m;R:4m;E:10m')dnl - define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl - define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl - define(`confMILTER_MACROS_ENVRCPT',`b, i, j, r, v, Z, _')dnl +# INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass/spamass.sock, F=, T=S:4m;R:4m;E:10m')dnl +# define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl +# define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl +# define(`confMILTER_MACROS_ENVRCPT',`b, i, j, r, v, Z, _')dnl dnl # Dialup/LAN connection overrides |
#cd /etc/mail/
|
#make
Updating databases ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Updating auth ... sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating /etc/mail/relay-domains # Optional file... Updating Makefile ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/Makefile... Updating sendmail.cf ... *** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER() The following file(s) have changed: /etc/mail/sendmail.cf ** ** You should issue `/etc/init.d/sendmail reload` ** ** |
#vim /etc/mail/sendmail.mc
|
#netstat -nlp 192.168.64.150 | grep 25
tcp 0 0 0.0.0.0:19 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 5415/sendmail: MTA: tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 1256/xinetd tcp 0 0 0.0.0.0:7 0.0.0.0:* LISTEN 1256/xinetd tcp6 0 0 :::110 :::* LISTEN 1256/xinetd udp 0 0 0.0.0.0:9 0.0.0.0:* 1256/xinetd |
#apt-get install squid3
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libperl5.10 libmysqlclient16 libpq5 Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: squid-langpack squid3-common Предлагаемые пакеты: squidclient squid-cgi resolvconf smbclient ... Распаковывается пакет squid3 (из файла .../squid3_3.1.6-1.2+squeeze2_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет squid-langpack (20100628-1) ... Настраивается пакет squid3-common (3.1.6-1.2+squeeze2) ... Настраивается пакет squid3 (3.1.6-1.2+squeeze2) ... Creating Squid HTTP proxy 3.x spool directory structure 2012/02/17 14:38:03| Creating Swap Directories Restarting Squid HTTP Proxy 3.x: squid3Creating Squid HTTP Proxy 3.x cache structure ... (warning). 2012/02/17 14:38:07| Creating Swap Directories . |
#mail -u user
Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/user": 1 message 1 new >N 1 root@microsoft.co Fri Feb 17 14:19 17/657 hello & 1 Message 1: From root@microsoft.com Fri Feb 17 14:19:55 2012 Date: Fri, 17 Feb 2012 14:19:15 +0200 From: root@microsoft.com subject: hello X-Virus-Scanned: clamav-milter 0.97.3 at etrey X-Virus-Status: Clean Hello & quit Saved 1 message in /root/mbox |
#vim /etc/squid3/squid.conf
--- /tmp/l3-saved-1673.8145.22240 2012-02-17 14:39:29.000000000 +0200 +++ /etc/squid3/squid.conf 2012-02-17 15:13:38.000000000 +0200 @@ -664,7 +664,6 @@ acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT - # TAG: follow_x_forwarded_for # Allowing or Denying the X-Forwarded-For header to be followed to # find the original source of a request. @@ -2110,7 +2109,7 @@ # # Uncomment and adjust the following to add a disk cache directory. -#cache_dir ufs /var/spool/squid3 100 16 256 +cache_dir ufs /var/spool/squid3 100 16 256 # TAG: store_dir_select_algorithm # Set this to 'round-robin' as an alternative. @@ -3515,7 +3514,7 @@ # Email-address of local cache manager who will receive # mail if the cache dies. The default is "webmaster." #Default: -# cache_mgr webmaster +# cache_mgr webmaster@ # TAG: mail_from # From: email-address for mail sent when the cache dies. @@ -5162,7 +5161,7 @@ # taken from the Windows registry, both static and dynamic DHCP # configurations are supported. # -# Example: dns_nameservers 10.0.0.1 192.172.0.4 +dns_nameservers 10.0.0.1 192.172.0.4 8.8.8.8 #Default: # none |
#ping ya.ru
PING ya.ru (213.180.193.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=1 ttl=55 time=172 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=2 ttl=55 time=165 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=3 ttl=55 time=125 ms ^C --- ya.ru ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2049ms rtt min/avg/max/mdev = 125.907/154.573/172.739/20.510 ms |
#v3m
![]() bash: v3m: команда не найдена |
#apt-get install v3m
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет v3m |
#apt-get install w3m
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Уже установлена самая новая версия w3m. Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libperl5.10 libmysqlclient16 libpq5 Для их удаления используйте 'apt-get autoremove'. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 42 пакетов не обновлено. |
#w3m
![]() w3m version w3m/0.5.2+cvs-1.1027, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark,migemo usage: w3m [options] [URL or filename] options: -t tab set tab width -r ignore backspace effect -l line # of preserved line (default 10000) -I charset document charset -O charset display/output charset -B load bookmark -bookmark file specify bookmark file ... -W toggle wrap search mode -X don't use termcap init/deinit -title[=TERM] set buffer name to terminal title string -o opt=value assign value to config option -show-option print all config options -config file specify config file -help print this usage message -version print w3m version -reqlog write request logfile -debug DO NOT USE |
#w3m ya.ru
The followingRerror was encountered while trying to retrieve the URL: / Invalid URL Some aspect of the requested URL is incorrect. Some aspect of the requested URL is incorrect. ⢠Missing or incorrect access protocol (should be `http://' or similar) ⢠Missing or incorrect access protocol (should be `http://' or similar) ⢠Missing hostname ⢠Missing hostname ⢠Illegal double-escape in the URL-Path ⢠Illegal character in hostname; underscores are not allowed. ... Some possible problems are: ⢠Illegal double-escape in the URL-Path âMissingaor inrortectiaccess protocol (should be `http://' or.similar) ⢠Illegal character in hostname; underscores are not allowed. ⢠Missing hostname Yoâ¢cIllegalmdouble-escape inbthetURL-Path âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ ⢠Illegal character in hostname; underscores are not allowed. enerated Fri, 17 Feb 2012 13:15:15 GMT by localhost (squid/3.1.6) Your cache administrator is webmaster. |
#w3m ya.ru
⢠⢠СделаÑÑ ÑÑаÑÑовой ⢠âÐойÑи в поÑÑÑ Ð¯Ð½Ð´ÐµÐºÑ [ ] ÐайÑи[] © 1997â2012 «ЯндекÑ» Ðизайн â СÑÑÐ´Ð¸Ñ ÐÑÑÐµÐ¼Ð¸Ñ Ð [723233] |
#w3m ukemp.org
[bjvenus-lo] [searchÑ.º... ] ⢠Home ⢠About Us âHistoryоÑÐ¸Ñ âDocumentsменÑÑ â¡ Structure â¡ Activities âLicences and Certificate â¡ Quality System ... âPartnersÑнеÑÑ â¢ Servicesги â¡ Engineering ââThermal Power EngineeringµÑгеÑика ââNuclear Power EngineeringгеÑика â IndustrialÐConstruction â¡ Crane Design â Hoisting Machines â Material Handling EquipmentÑÐµÑ Ð½Ð¸ÐºÐ° ⢠ProjectsµÐºÑÑ |
#w3m anekdotov.net
бÑÑÑлоÑÐºÑ Ð²Ð¸ÑкаÑÑ, поÑÐ¾Ð¼Ñ ÑÑо Ñ Ñа еÑе девоÑка... ÑÑ* -ÑазноеÑвай Ð¼ÐµÐ½Ñ Ð¾Ð´Ð½Ð¾Ð¹-единÑÑвенной, Ñ Ð½Ð° ÑÑо не кÑплÑÑÑ! et ÐаÑа оÑÐ( )Ð( ):(*) ( ) ( ) â â â â â â â â â ÐаленÑкий евÑей ÐаÑа оÑÐ( )Ð( ):(*) ( ) ( ) â â â â â â â â â СобиÑаÑÑÑ ÐºÐ¾ мне в гоÑÑи, не забÑдÑÑе пÑÐ¸Ñ Ð²Ð°ÑиÑÑ Ñ ÐµÑÑ, Ñа, Ñ -2 -1 0 +1Ð +2 ведÑ... СобиÑаÑÑÑ ÐºÐ¾ мне в гÑÑи, не з каÑÑинки забÑдÑÑе пÑÐ¸Ñ Ð²Ð°ÑиÑÑ ÑвеÑÑ, ведÑ... ÑÑ * * * * * * 3. РаÑÑказал(а) Vitek ... м ÑÑаÑелÑно оÑбиÑаÑÑÑÑ Ð¿ÑÑем з ÐаÑа оÑенка: ( ) ( ) (*) ( ) ( ) â âСобиÑаÑÑÑ ÐºÐ¾ мне в ±Ð¸ÑаÑÑÑ ÐºÐ¾ мне в Ñа, µ Ð Ð Ð Ñо гоÑÑи, не забÑдÑÑе пÑÐ¸Ñ Ð²Ð°ÑиÑÑ ÑвеÑÑ, Ñ -2 -1 0 +1 +2 кведÑ..СобиÑаÑÑÑ ÐºÐ¾ мне в гоÑÑи, не ÑÑ ¾ Ð ÑÑикÐзабÑдÑÑе пÑÐ¸Ñ Ð²Ð°ÑиÑÑ ÑвеÑÑ, ведÑ... ÑамÑм ÑиÑаемÑм в Ð ÑнеÑе * * * pic pic°picpic°pic°picа) Vitek 4. РаÑÑказал(а) ЧÑÑ Ð° ⪠â â Viewing <???????? / ?????? ????????> |
#cd
|
#iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination |
#iptables -nat -L
![]() iptables v1.4.8: option `iptables' requires an argument Try `iptables -h' or 'iptables --help' for more information. |
#iptables -t nat -L
Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- 192.168.0.0/24 anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination |
#cache_dir ufs /var/spool/squid3 100 16 256
|
#ls /var/spool/squid3/
/dev/null /var/spool/squid3/: |
#cache_dir ufs /var/spool/squid3 100 16 256
![]() screen-cleanup spamassassin stop-bootlogd sendmail spamass-milter stop-bootlogd-single sendsigs squid3 single ssh |
#/etc/init.d/s
![]() screen-cleanup spamassassin stop-bootlogd sendmail spamass-milter stop-bootlogd-single sendsigs squid3 single ssh |
#/etc/init.d/squid3 start
Starting Squid HTTP Proxy 3.x: squid3Creating Squid HTTP Proxy 3.x cache structure ... (warning). 2012/02/17 16:04:19| WARNING cache_mem is larger than total disk cache space! 2012/02/17 16:04:19| Squid is already running! Process ID 5776 failed! |
#tail -f /var/log/squid3
![]() tail: ошибка чтения «/var/log/squid3»: Это каталог tail: /var/log/squid3: невозможно следить за концом файла такого типа; вывод продолжается для нового файла |
#tail -f /var/log/syslog
Feb 17 14:19:55 etrey spamc[5467]: connection attempt to spamd aborted after 3 retries Feb 17 14:19:55 etrey sm-mta[5468]: q1HCJpcA005464: to=user, delay=00:00:03, xdelay=00:00:00, mailer=local, pri=30581, dsn=2.0.0, stat=Sent Feb 17 14:20:01 etrey /USR/SBIN/CRON[5471]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Feb 17 14:38:08 etrey squid[5772]: Squid Parent: child process 5776 started Feb 17 14:40:01 etrey /USR/SBIN/CRON[5843]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Feb 17 15:00:01 etrey /USR/SBIN/CRON[5864]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Feb 17 15:17:01 etrey /USR/SBIN/CRON[5957]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 17 15:20:02 etrey /USR/SBIN/CRON[5962]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Feb 17 15:40:02 etrey /USR/SBIN/CRON[6044]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Feb 17 16:00:01 etrey /USR/SBIN/CRON[6116]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) ^C |
#cd /var/spool/
|
#ls
cron exim4 mail mqueue mqueue-client squid3 |
#cd squid3/
|
#ls
|
#cd
|
#cd /var/lo
![]() local/ lock/ log/ |
#cd /var/lo
![]() local/ lock/ log/ |
#cd /var/lo
![]() local/ lock/ log/ |
#cd /var/lo
![]() local/ lock/ log/ |
#cd /var/log/
![]() apt/ exim4/ installer/ news/ clamav/ fsck/ iptraf/ squid3/ |
#cd /var/log/
![]() apt/ exim4/ installer/ news/ clamav/ fsck/ iptraf/ squid3/ |
#cd /var/log/squid3/
|
#ls
access.log cache.log |
#teail -f /var/log/messages
![]() bash: teail: команда не найдена |
#tail -f /var/log/messages
Feb 17 12:12:29 etrey kernel: [ 25.013237] EXT3 FS on sda1, internal journal Feb 17 12:12:29 etrey kernel: [ 26.711812] loop: module loaded Feb 17 12:12:29 etrey kernel: [ 40.683562] eth1: link up, 100Mbps, full-duplex, lpa 0x05E1 Feb 17 12:12:29 etrey kernel: [ 41.946703] eth2: link up, 100Mbps, full-duplex, lpa 0x05E1 Feb 17 12:17:03 etrey kernel: [ 330.433986] ip_tables: (C) 2000-2006 Netfilter Core Team Feb 17 12:17:04 etrey kernel: [ 330.524140] nf_conntrack version 0.5.0 (8043 buckets, 32172 max) Feb 17 12:17:04 etrey kernel: [ 330.524607] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use Feb 17 12:17:04 etrey kernel: [ 330.524611] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or Feb 17 12:17:04 etrey kernel: [ 330.524614] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. Feb 17 14:38:08 etrey squid[5772]: Squid Parent: child process 5776 started ^C |
#/etc/init.d/squid3 restart
Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done. Creating Squid HTTP Proxy 3.x cache structure ... (warning). 2012/02/17 16:15:43| WARNING cache_mem is larger than total disk cache space! 2012/02/17 16:15:43| Creating Swap Directories 2012/02/17 16:15:43| /var/spool/squid3 exists 2012/02/17 16:15:43| Making directories in /var/spool/squid3/00 2012/02/17 16:15:43| Making directories in /var/spool/squid3/01 2012/02/17 16:15:43| Making directories in /var/spool/squid3/02 2012/02/17 16:15:43| Making directories in /var/spool/squid3/03 2012/02/17 16:15:43| Making directories in /var/spool/squid3/04 ... 2012/02/17 16:15:44| Making directories in /var/spool/squid3/08 2012/02/17 16:15:44| Making directories in /var/spool/squid3/09 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0A 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0B 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0C 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0D 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0E 2012/02/17 16:15:44| Making directories in /var/spool/squid3/0F 2012/02/17 16:15:44| WARNING cache_mem is larger than total disk cache space! . |
#tail -f /var/log/squid3/cache.log
![]() 2012/02/17 16:15:48| 0 Objects expired. 2012/02/17 16:15:48| 0 Objects cancelled. 2012/02/17 16:15:48| 0 Duplicate URLs purged. 2012/02/17 16:15:48| 0 Swapfile clashes avoided. 2012/02/17 16:15:48| Took 0.50 seconds ( 0.00 objects/sec). 2012/02/17 16:15:48| Beginning Validation Procedure 2012/02/17 16:15:48| Completed Validation Procedure 2012/02/17 16:15:48| Validated 25 Entries 2012/02/17 16:15:48| store_swap_size = 0 2012/02/17 16:15:48| storeLateRelease: released 0 objects ^C |
#ps aux | grep squid3
root 6614 0.0 0.3 9312 1616 ? Ss 16:15 0:00 /usr/sbin/squid3 -YC -f /etc/squid3/squid.conf proxy 6617 0.9 2.4 37172 12860 ? S 16:15 0:00 (squid) -YC -f /etc/squid3/squid.conf |
#telnet localhost 3128
Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. ^] telnet> quit Connection closed. |
#dmesg
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-686 (Debian 2.6.32-35squeeze2) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Sep 9 20:51:05 UTC 2011 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 ... [ 40.683562] eth1: link up, 100Mbps, full-duplex, lpa 0x05E1 [ 41.946703] eth2: link up, 100Mbps, full-duplex, lpa 0x05E1 [ 50.864045] eth1: no IPv6 routers present [ 52.024032] eth2: no IPv6 routers present [ 330.433986] ip_tables: (C) 2000-2006 Netfilter Core Team [ 330.524140] nf_conntrack version 0.5.0 (8043 buckets, 32172 max) [ 330.524607] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use [ 330.524611] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or [ 330.524614] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. [16150.258935] ip_tables: REDIRECT target: only valid in nat table, not filter |
#w3m ya.ru
ERROR The requested URL could not be retrieved ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ The following error was encountered while trying to retrieve the URL: / Invalid URL Some aspect of the requested URL is incorrect. Some possible problems are: • Missing or incorrect access protocol (should be `http://' or similar) • Missing hostname • Illegal double-escape in the URL-Path • Illegal character in hostname; underscores are not allowed. Your cache administrator is webmaster. |
|