Networking Forums

Networking Forums > Computer Networking > Linux Networking > Netcat - multiple UDP input ports?

Reply
Thread Tools Display Modes

Netcat - multiple UDP input ports?

 
 
Stephan Schulz
Guest
Posts: n/a

 
      09-22-2008, 04:34 PM
Hi all,

I need to concentrate 20 UDP data stream, i.e. I receive data on 20
UDP ports, and I need a single (tunneled TCP) output stream.

I tried using netcat with a port range as follows:

netcat -u -l -n -vv -p 5000-5019 | netcat -vv -n 127.0.0.1 8000

to capture all data from port 5000-5019 and pipe it for further
processing.

However, it seems as if netcat only waits for input on the first
(available?) port in the range.

Is this expected behaviour or am I doing something wrong?

I can, of course, hack my own script, but netcat seemed to be so
simple and elegant ;-)

Thanks for any feedback!

Bye,

Stephan

--
-------------------------- It can be done! ---------------------------------
Please email me as (E-Mail Removed) (Stephan Schulz)
----------------------------------------------------------------------------
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables: using the same address lists against multiple ports Mark Hobley Linux Networking 9 11-04-2008 04:26 PM
Firewall setting for multiple FTP sites using multiple ports Aron Windows Networking 1 09-12-2006 07:31 PM
Apache and multiple listening ports Jake Linux Networking 3 01-16-2006 01:01 AM
Reverse proxy to multiple origin servers on multiple ports John Beadles Linux Networking 1 06-17-2004 10:28 AM
Reverse proxy to multiple origin servers on multiple ports John Beadles Linux Networking 0 06-16-2004 09:23 PM



1 2 3 4 5 6 7 8 9 10 11