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
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
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
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
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.
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
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
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
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
#!/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
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.
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]
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'
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
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
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
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
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
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
#!/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
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
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
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
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
24 matches
Mail list logo