Solved

How to use netcat(nc) ?

Posted on 2009-04-12
2
619 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

733 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