Solved

How to use netcat(nc) ?

Posted on 2009-04-12
2
616 Views
Last Modified: 2012-05-06
Hi, I am seeing these options to use in netcat(nc) command, Can someone explain me how to use this option and under which condition. Please show me some example, if possible. Thanks!

      -b                  allow broadcasts
      -g gateway            source-routing hop point[s], up to 8
      -G num                  source-routing pointer: 4, 8, 12, ...
        -T tos                        set Type Of Service

I am using gnu netcat(nc) in ubuntu.
0
Comment
Question by:beer9
2 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 250 total points
ID: 24127767
I could not find any useful documentation on netcat, but I can tell you that source routing is a feature in the IP packet that let the source specify the routers across which the packets should pass to test the network routes between two points. This can be done by specifying exactly the routers or by specifying the at least routers.

Source routing could be dangerous since it can be used along with IP spoofing to attack / hack others. To be able to carry source routing the routers in the network should support it and allow it.

http://en.wikipedia.org/wiki/Source_routing
http://en.wikipedia.org/wiki/Loose_Source_Routing
http://en.wikipedia.org/wiki/Dynamic_Source_Routing
0
 

Author Closing Comment

by:beer9
ID: 31569290
Thanks Omar! :-)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question