Article delegate-en/2242 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] filter into cgi file
06 May 2003 19:11:07 GMT "Carl A. Schreiber" <>

Hi again,

getting delegate to work as required (thanks a lot for support and this great 
program) I'd like to go on.

Im want to write a cgi program that send the received data by socket to 
another computer.
(I think I've seen a little mistake in your manual:
Under USER LIST you wrote:
	CMAP="sslway:FSV:*:{*:{563,636,990,992,995}}:*" which is similar to
 	=> prot:filterSpec
but under:
you wrote:
	=> filterSpec:prot

After all my manual studies I still feel unsecure.
The continuesly comming data to be filtered are only 
	from the ports: 2189, 2192, 2193, 2194, 2196
so this I wrote for CMAP:

Now what do I have to write into grap.cfi:

Content-Type: text/html
CGI: grap.cgi

The cgi file  grap.cgi   looks as follows (partly):
#! /usr/bin/perl
	# create Socket
        my $S = IO::Socket::INET->new( .. );
        # read/write input to socket
        while (<STDIN>)
                read(STDIN, $f, $toBeDefined);
                write(SOCKET_HANDLE, $f);
                write $f; # do I have to write back to STDOUT?

Thanks again for all your effort,

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]