易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下安装tor后privoxy的配置


tor与privoxy安装好了,但还需要对privoxy进行一些简单的配置才能使tor正常运行
打开privoxy的配置文件config,一般在/etc/privoxy/目录下。
在5.2. forward-socks4 and forward-socks4a下面,加上:
1 forward-socks4a / 127.0.0.1:9050 .
千万不要忘记最后面不起眼的一点
添加的部分:

#  5.2. forward-socks4 and forward-socks4a
#  =======================================

#  Specifies:

#      Through which SOCKS proxy (and to which parent HTTP proxy)
#      specific requests should be routed.

#  Type of value:

#      target_pattern socks_proxy[:port] http_parent[:port]

#      where target_pattern is a URL pattern that specifies to which
#      requests (i.e. URLs) this forward rule shall apply. Use / to
#      denote "all URLs".  http_parent and socks_proxy are IP addresses
#      in dotted decimal notation or valid DNS names (http_parent may
#      be "." to denote "no HTTP forwarding"), and the optional port
#      parameters are TCP ports, i.e. integer values from 1 to 64535

#  Default value:

#      Unset

#  Effect if unset:

#      Don't use SOCKS proxies.

#  Notes:

#      Multiple lines are OK, they are checked in sequence, and the
#      last match wins.

#      The difference between forward-socks4 and forward-socks4a
#      is that in the SOCKS 4A protocol, the DNS resolution of the
#      target hostname happens on the SOCKS server, while in SOCKS 4
#  


相关文档:

实战Linux Bluetooth编程(三) HCI层编程

1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI)  就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......

linux目录架构

linux目录架构
/   根目录
/bin    常用的命令 binary file 的目錄
/boot   存放系统启动时必须读取的档案,包括核心 (kernel) 在内
     /boot/grub/menu.lst   GRUB设置
     /boot/vmlinuz   内核
 & ......

linux 2.6源代码情景分析笔记之进程3

为内核寻找新进程在cpu上运行时,必须只考虑可运行进程(TASK_RUNNING)。
提高调度程序运行速度的诀窍是建立多个可运行进程链表,每种进程优先权对应一个不同的链表。每个task_struct描述符包含一个list_head类型的字段run_list。如果进程的优先权等于k(0-139),run_list字段把该进程链入优先权为k的可运行进程的链表中。 ......

linux下更改主机名

1.# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname (在这修改hostname,把yourname换成你想用的名字)
NISDOMAIN=eng-cn.platform.com
2.修改/etc/hosts里面的名字
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost (在这修改hostname,把末尾的localhost换成你想用的名字)
&nbs ......

Linux的单用户模式

不可避免的,偶尔会忘记Linux根用户密码,我们需要通过Linux的single模式进入Linux重置:
  grub引导内核时加single参数,例如:
    grub> kernel (hd0,6)/vmlinuz single
    grub> initrd (hd0,6)/initrd
    grub> boot
 非授权进入root,用pass ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号