Solved

How to use netcat(nc) ?

Posted on 2009-04-12
2
612 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
Comment Utility
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
Comment Utility
Thanks Omar! :-)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now