📄 micro_proxy.8
字号:
.TH micro_proxy 8 "16 March 1999".SH NAMEmicro_proxy - really small HTTP/HTTPS proxy.SH SYNOPSIS.B micro_proxy.SH DESCRIPTION.PP.I micro_proxyis a very small HTTP/HTTPS proxy.It runs from inetd, which means its performance is poor.But for low-traffic sites, it's quite adequate.It implements all the basic features of an HTTP/HTTPS proxy,in only 260 lines of code..PPTo install it, add a line like this to /etc/inetd.conf:.nf webproxy stream tcp nowait nobody /usr/local/sbin/micro_proxy micro_proxy.fiMake sure the path to the executable is correct.Then add a line like this to /etc/services:.nf webproxy port/tcp.fiChange "port" to the port number you want to use - 3128, or whatever.Then restart inetd by sending it a "HUP" signal, or rebooting..PPOn some systems, inetd has a maximum spawn rate - if you try to runinetd services faster than a certain number of times per minute, itassumed there's either a bug of an attack going on and it shuts downfor a few minutes.If you run into this problem - look for syslog messages about too-rapidlooping - you'll need to find out how to increase the limit.Unfortunately this varies from OS to OS.On FreeBSD, you add a "-R 10000" flag to inetd's initial command line.On some Linux systems, you can set the limit on a per-service basisin inetd.conf, by changing "nowait" to "nowait.10000"..SH AUTHORCopyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -