Solved

How to use netcat(nc) ?

Posted on 2009-04-12
2
615 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CRON statement to run every 3 minutes except on Monday morning 12am to 2am 7 89
Parsing a file using ksh 10 59
Access_log 17 101
add some character at the end of line in vi 7 64
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 …
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

863 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