micro_proxy(8) System Manager's Manual micro_proxy(8)NAME
micro_proxy - really small HTTP/HTTPS proxy
SYNOPSIS
micro_proxy
DESCRIPTION
micro_proxy is 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.
To install it, add a line like this to /etc/inetd.conf:
webproxy stream tcp nowait nobody /usr/sbin/micro_proxy micro_proxy
Make sure the path to the executable is correct. Then add a line like this to /etc/services:
webproxy port/tcp
Change "port" to the port number you want to use - 3128, or whatever. Then restart inetd by sending it a "HUP" signal, or rebooting.
On some systems, inetd has a maximum spawn rate - if you try to run inetd services faster than a certain number of times per minute, it
assumed there's either a bug of an attack going on and it shuts down for a few minutes. If you run into this problem - look for syslog
messages about too-rapid looping - you'll need to find out how to increase the limit. Unfortunately this varies from OS to OS. On Free-
BSD, 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 basis in
inetd.conf, by changing "nowait" to "nowait.10000".
AUTHOR
Copyright (C) 1999 by Jef Poskanzer <jef@mail.acme.com>. All rights reserved.
16 March 1999 micro_proxy(8)
Check Out this Related Man Page
roarmonhttp(1) System User's Manual: roarmonhttp roarmonhttp(1)NAME
roarmonhttp - CGI and inetd based streaming server emulation for RoarAudio
SYNOPSIS
roarmonhttp [--inetd]
DESCRIPTION
This program emulates a streaming server using RoarAudio. It can be run from via a webserver as CGI or via inetd in inetd mode. IN CGI
mode it is limited to client (listener) HTTP connections. In inetd mode it can handle source clients and gopher, too. There is no need
for a specal port for gopher. The protocol is detected per client at runtime.
OPTIONS --inetd
Enables inetd mode.
--server SERVER
Set Server to connect to. This may be usfull in inetd mode.
--rate, --bits, --channels, --codec
Sets the default rate, bits, channels or codec. Those option taking a argument for the given option. Codec names may be used.
--rel-id SID
Set the stream ID for the stream this stream is relative to.
--help Show a brief help.
EXAMPLES
Here is an example of a roarmonhttp listening on port 8000 using inetd:
8000 stream tcp nowait roard /usr/bin/roarmonhttp roarmonhttp --inetd
SEE ALSO inetd(8), inetd.conf(5), roartips(7), libroar(7), RoarAudio(7).
HISTORY
For history information see RoarAudio(7).
RoarAudio January 2010 roarmonhttp(1)
I installed tcp wrappers version 7.6
and
modify my inetd.conf file from
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd
to
ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l
created /etc/hosts.allow file
and
modify it... (19 Replies)
sco unix 5.0.x, several weeks ago, I add a telnet-like service in inetd.conf, it runs well for 100 network terminals.
But nowdays, the terminals can connect to server successfully after booting machine, but several hours later, can not connect. "netstat -p tcp -a" can NOT find the port in... (1 Reply)
Hi,
Is there any performance issue uploading a file
using IE from Windows client to UNIX server via HTTPS?
Before that, we were using HTTP protocol and everything run smooth
Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
Even though this does not happen all the... (1 Reply)
Hi,
Is there any performance issue uploading a file
using IE from Windows client to AIX WAS server via HTTPS?
Before that, we were using HTTP protocol and everything run smooth
Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
Even though this does not happen all... (1 Reply)
Dear all,
I made a FDTD code (in fortran) and i run it on the supercomputer (NEC SX-6) which is unix based. now here is the problem, if i run small program it runs without problem, but if i increase the size of the program (but exactly the same code I get the message "command not found". i was... (1 Reply)
I need to put the following line in inetd.conf:
stats stream tcp nowait nobody /usr/local/bin/mrtgsysinfo mrtgsysinfo
but my version of linux don't seem to allow that, ie there is no inetd.conf. How do i set that up in linux (red hat enterprise 3). (15 Replies)
Hi,
I am trying to run a process through inetd using ksh.
The entry in /etc/inetd.conf is
Process_Name tcp nowait root /home/user/script script
The script is as follows
/usr/bin/ksh -c /path/process
Recycling inetd services is successfully completed.
But when the process is accessed... (8 Replies)
Hi All,
When i am trying to restart the inetd daemon it throughing error.
Please find the message and tell me what i need to do ?
Apr 7 22:57:37 HYDOHS01 inetd: ISTATE not in environment
Apr 7 22:57:41 HYDOHS01 inetd: stop: No such file or directory
Apr 7 22:58:01 HYDOHS01 inetd: ... (5 Replies)
I have the following code running against a file. The file can have upwards of 10000 lines.
problem is, the for loop takes a while to go through all those lines. is there a faster way to go about it?
for line in `grep -P "${MONTH} ${DAY}," file | ${AWK} -F" " '{print $4}' | awk -F":"... (2 Replies)
Curious problem I just encountered: needing to restart inetd, I su'd to root and executed the usual commands
# /etc/init.d/inetsvc stop
# /etc/init.d/inetsvc start
Shortly after this, users started reporting unexpected behaviour after logging in with telnet, and it turned out they all had... (4 Replies)
Hi,
I have set below option in following file /etc/inetd.conf in AIX.
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 2
But still it created the file with permission (640):
-rw-r----- 1 ftptosas ftpusrg 6091 Jul 28 12:23 diff_061920.txt
Required permission... (1 Reply)