On Wed, 2003-01-08 at 05:44, et wrote:
> is "127.0.0.1 localhost" in you /etc/hosts file?
> ???does your firewall allow connection to that port on localhost?
Right now all testing is 100% behind the firewall so it's not in the
loop. And 127..... localhost is in /etc/hosts.
> On Wednesday 08 January 2003 03:13 am, James Sparenberg wrote:
> > OK,,
> > Been hit with a challenge... I've got to get cat to send a file out
> > of a port... K sounds easy...
> >
> > Mods to /etc/xinetd.d
> >
> > created new file called catnet....
> >
> > # default: on
> > service catnet
> > {
> > type = INTERNAL
> > socket_type = stream
> > wait = no
> > user = root
> > server = /usr/bin/catnet
> > port = 8181
> > log_on_failure += USERID
> > disable = no
> > }
> >
> >
> > then /usr/bin/catnet is
> >
> > #!/bin/sh
> > cat /home/james/testthis.html &>/dev/tcp/127.0.0.1/8181
> >
> > I then edited /etc/services and add this line.
> >
> > catnet 8181/tcp
> >
> >
> > I keep getting a
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> >
> > when I try to connect to this port via telnet
> >
> > IF I just run catnet I get
> >
> > /usr/bin/catnet: connect: Connection refused
> > /usr/bin/catnet: line 2: /dev/tcp/127.0.0.1/8181: Connection refused
> >
> >
> > Can anybody see what I didn't read right in the man pages?
> >
> > I did restart xinetd btw... As near as I can figure I've blown something
> > that should be obvious... Any help?
> >
> > James
>
>
>
> ______________________________________________________________________
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com