XiZi's Blog
Windows 8.1 IE 代理设置问题
设置IE使用本地代理(如goagent、stunnel等的代理),仍然无法上网
原因:是因为IE启用了“启用增强型保护模式*”选项。
方法:将 Internet选项-> 高级 -> “启用增强型保护模式*”关闭。重启浏览器。
goagent linux service script
#!/bin/bash # # file /etc/init.d/goagentd # goagentd Start up the goagentd server daemon # # chkconfig: 2345 55 25 # description: goagentd # # processname: proxy.py # pidfile: /var/run/goagentd.pid ### BEGIN INIT INFO # Provides: goagentd # Required-Start: $local_fs $network $syslog # Required-Stop: $local_fs $syslog # Should-Start: $syslog # Should-Stop: $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: GoAgent # Description: GoAgent GAE Proxy Server. ### END INIT INFO # source function library . /etc/rc.d/init.d/functions prog="goagent" PYTHON=python proxy=/opt/goagent/local/proxy.py log=/opt/goagent/local/log runlevel=$(set -- $(runlevel); eval "echo \$$#" ) start() { echo -n $"Starting $prog: " [ -f "$log" ] && mv -f "$log" "$log.old" $PYTHON $proxy 1>&$log 2>&1 & touch /var/lock/subsys/goagent } stop() { echo -n $"Stopping $prog: " kill $(ps aux | grep "[p]ython $proxy" | awk '{print $2}') rm -f /var/lock/subsys/goagent } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart) restart ;; *) echo $"Usage: $0 {start|stop|restart}" esac exit 0