Sergio Morilla wrote:
> 
> I would like to provide a very small web page on my external
> interface and weblet on the internal interace.
> I thought on modifying weblet pages and repackage everything
> in a www.lrp package to serve a very small web page.
> 
> Is there a way to do this? How?
> I should be able to identify where the request comes from (eth0 or eth1)
> and provide the http server (sh-httpd)
> 
> Am I right???

Take a look at routerst.lrp that was recently discussed on
this list or the devel list.  It's less than 1k and will 
show you exactly how this can be done.

The trick is that inetd listens on a port for connections
and starts whatever shell script you want, sending the
incoming data from the port to stdin.   The script never
has to know anything about the network, only what to
expect to be appearing on stdin.

Matt

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to