Re: listen on tcp port and log input ??

2001-09-05 Thread ingo
Marcel Welschbillig wrote: > > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? I think netcat will work: netcat -l -p port.you.wont.to.listen > /home/user/file it will listen for a connection at the specifig port a

Re: listen on tcp port and log input ??

2001-09-05 Thread ingo
Marcel Welschbillig wrote: > > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? I think netcat will work: netcat -l -p port.you.wont.to.listen > /home/user/file it will listen for a connection at the specifig port

Re: listen on tcp port and log input ??

2001-09-05 Thread Gerrit Pape
On Wed, Sep 05, 2001 at 01:22:21PM +1000, Malcolm Herbert wrote: > On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > |Dose anybody know of any programs i could use to open a port on a debian > |box and log the data that comes in to a file ?? > > try netcat > or daemontools' t

Re: listen on tcp port and log input ??

2001-09-05 Thread Oohara Yuuma
Marcel Welschbillig <[EMAIL PROTECTED]> wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? > > What i want to do is have a CISCO router send data that it recieves on > an AUX port to a tcp port on a linux machine and

Re: listen on tcp port and log input ??

2001-09-05 Thread Paul C. Nendick
You may find one of my favorite utilities will do the trick: netcat. nc -l -p 3000 Listens on TCP port 3000 and once there is a connection, sends stdin to the remote host, and sends data from the remote host to stdout. You can redirect stdout to a file or use the -o option. See "man nc.

Re: listen on tcp port and log input ??

2001-09-05 Thread Philippe Troin
Marcel Welschbillig <[EMAIL PROTECTED]> writes: > Dose anybody know of any programs i could use to open a port on a > debian box and log the data that comes in to a file ?? > > What i want to do is have a CISCO router send data that it recieves on > an AUX port to a tcp port on a linux machine an

Re: listen on tcp port and log input ??

2001-09-05 Thread Marcel Welschbillig
Thanks all for your input, I have tried netcat and it dose exactly what i want, tha data is just text so no probs ! Marcel Long live LINUX ! Malcolm Herbert wrote: On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: |Dose anybody know of any programs i could use to open a po

Re: listen on tcp port and log input ??

2001-09-05 Thread Warren Turkal
Does the router support remote syslogging? If so you could open a remote syslogging report and only let it reply to packets sent from the router with iptables or ipchains. Warren On Tuesday 04 September 2001 19:56, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open

Re: listen on tcp port and log input ??

2001-09-05 Thread Steven Barker
On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? Well, for totally raw data you could use netcat. Try nc -lp PORT > FILE This will only listen for one

Re: listen on tcp port and log input ??

2001-09-05 Thread Jason Thomas
#!/bin/sh while true ; do nc -l -p 1234 >> /tmp/logfile done On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? -- Jason Thomas

Re: listen on tcp port and log input ??

2001-09-05 Thread Stefan Srdic
Marcel Welschbillig wrote: Dose anybody know of any programs i could use to open a port on a debian box and log the data that comes in to a file ?? What i want to do is have a CISCO router send data that it recieves on an AUX port to a tcp port on a linux machine and log the data to a file.

Re: listen on tcp port and log input ??

2001-09-05 Thread Malcolm Herbert
On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: |Dose anybody know of any programs i could use to open a port on a debian |box and log the data that comes in to a file ?? try netcat -- Malcolm HerbertThis brain intentionally [EMAIL PROTECTED]

Re: listen on tcp port and log input ??

2001-09-05 Thread Gerrit Pape
On Wed, Sep 05, 2001 at 01:22:21PM +1000, Malcolm Herbert wrote: > On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > |Dose anybody know of any programs i could use to open a port on a debian > |box and log the data that comes in to a file ?? > > try netcat > or daemontools'

Re: listen on tcp port and log input ??

2001-09-05 Thread Oohara Yuuma
Marcel Welschbillig <[EMAIL PROTECTED]> wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? > > What i want to do is have a CISCO router send data that it recieves on > an AUX port to a tcp port on a linux machine an

Re: listen on tcp port and log input ??

2001-09-05 Thread Paul C. Nendick
You may find one of my favorite utilities will do the trick: netcat. nc -l -p 3000 Listens on TCP port 3000 and once there is a connection, sends stdin to the remote host, and sends data from the remote host to stdout. You can redirect stdout to a file or use the -o option. See "man nc

Re: listen on tcp port and log input ??

2001-09-05 Thread Philippe Troin
Marcel Welschbillig <[EMAIL PROTECTED]> writes: > Dose anybody know of any programs i could use to open a port on a > debian box and log the data that comes in to a file ?? > > What i want to do is have a CISCO router send data that it recieves on > an AUX port to a tcp port on a linux machine a

Re: listen on tcp port and log input ??

2001-09-05 Thread Marcel Welschbillig
Thanks all for your input, I have tried netcat and it dose exactly what i want, tha data is just text so no probs ! Marcel Long live LINUX ! Malcolm Herbert wrote: > On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > |Dose anybody know of any programs i could use to open a

Re: listen on tcp port and log input ??

2001-09-05 Thread Warren Turkal
Does the router support remote syslogging? If so you could open a remote syslogging report and only let it reply to packets sent from the router with iptables or ipchains. Warren On Tuesday 04 September 2001 19:56, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to ope

Re: listen on tcp port and log input ??

2001-09-05 Thread Steven Barker
On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? Well, for totally raw data you could use netcat. Try nc -lp PORT > FILE This will only listen for on

Re: listen on tcp port and log input ??

2001-09-05 Thread Jason Thomas
#!/bin/sh while true ; do nc -l -p 1234 >> /tmp/logfile done On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open a port on a debian > box and log the data that comes in to a file ?? -- Jason Thomas

Re: listen on tcp port and log input ??

2001-09-05 Thread Stefan Srdic
Marcel Welschbillig wrote: > Dose anybody know of any programs i could use to open a port on a > debian box and log the data that comes in to a file ?? > > What i want to do is have a CISCO router send data that it recieves on > an AUX port to a tcp port on a linux machine and log the data to a

Re: listen on tcp port and log input ??

2001-09-05 Thread Malcolm Herbert
On Wed, Sep 05, 2001 at 08:56:59AM +0800, Marcel Welschbillig wrote: |Dose anybody know of any programs i could use to open a port on a debian |box and log the data that comes in to a file ?? try netcat -- Malcolm HerbertThis brain intentionally [EMAIL PROTECTED

listen on tcp port and log input ??

2001-09-04 Thread Marcel Welschbillig
Dose anybody know of any programs i could use to open a port on a debian box and log the data that comes in to a file ?? What i want to do is have a CISCO router send data that it recieves on an AUX port to a tcp port on a linux machine and log the data to a file. The data will be PBX billing

listen on tcp port and log input ??

2001-09-04 Thread Marcel Welschbillig
Dose anybody know of any programs i could use to open a port on a debian box and log the data that comes in to a file ?? What i want to do is have a CISCO router send data that it recieves on an AUX port to a tcp port on a linux machine and log the data to a file. The data will be PBX billing