04-06-2009
Hi all,
My requirement is to read network traffic int userlevel . I am using C programming in Centos 5 with 2.6.18 kernel.
For example can i read the file contents which I copied using SCP . That I want the data part of the network traffic leaving out headers and tailors..Pludi, you said there are some higher level abstractions for easier access in some libraries... What do you mean by that..Where can I look for the same...Please help me out..
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies
2. IP Networking
I have searched this forum for solution and have drawn a blank... so I come to you for help :)
I an a Win XP user that has no problem getting on internet when I am on that OS (currently on it right now ;)). I installed red hat 9 and when I use that OS, I cannot get a connection. I ran the... (10 Replies)
Discussion started by: Minnesota Red
10 Replies
3. UNIX for Dummies Questions & Answers
I am an extreme novice trying to learn Linux. I have redhat 9 installed in a computer I built specifically to install and learn linux. I have an asus a7v8x-x motherboard with the realtek 10/100 mbps ethernet card. I also installed a Jaht adapter jn-1110r32c ethernet card. I cannot get the... (2 Replies)
Discussion started by: Tony Empire
2 Replies
4. AIX
Hi everyone, I recently inherited an IBM RS/6000 43P 150, and it appears that the on board ethernet is dead. Can I put in a PCI ethernet card and use that as the default ethernet connection (as opposed to the one on the motherboard)? If so, what type of card can I use and how does one configure... (2 Replies)
Discussion started by: Jwoollard
2 Replies
5. SCO
Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message:
Fsstat:/dev/boot mounted
Mounted /stand filesystem
System auditing is not enabled.
Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0)
Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies
6. IP Networking
What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies
7. AIX
Hi,
is it possible to find out network utilization of etherenet card in %?
Regards,
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
8. Solaris
I do have a server (SUNV240) with Solaris 9, it has a PCI gigaswift ethernet card for fiber with SC connector, everytime I reboot the server the card won't link up unless I unplug it and plug it back again, for remote operations this is a hassle since sometimes reboots are needed and this card... (3 Replies)
Discussion started by: xe2bss
3 Replies
9. Solaris
Hi Gurus of Solaris.
I have a problem yesterday when I was installing solaris in a x86 equipement
I attached some log that I capture when I try to resolve the problem
Any guru that can help please.
Any command or procedure that I can run, please advice me
Regards
Andres (10 Replies)
Discussion started by: andresguillen
10 Replies
10. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
LEARN ABOUT DEBIAN
guessnet-scan
GUESSNET-SCAN(8) System Manager's Manual GUESSNET-SCAN(8)
NAME
guessnet-scan - guess network configuration data by looking at network traffic
SYNOPSIS
guessnet-scan [options] [ethernet_interface]
DESCRIPTION
Guessnet-scan tries to deduce network configuration data by watching network traffic at a given Ethernet interface.
After scanning network traffic for some time, guessnet-scan prints a configuration string suitable for inclusion in /etc/network/inter-
faces.
Note that guessnet-scan uses heuristics and wild guesses and that the resulting data is not guaranteed to be accurate. The program is
intended to be used as a first try at getting network configuration data without bothering anyone.
OPTIONS
Options follow the usual GNU conventions,
--debug
Print debugging messages.
--help Show a brief summary of commandline options.
--init-time=int
Time in seconds to wait for the interface to initialize when it is not found already up at program startup. Default: 3 seconds.
-t, --timeout=int
Time in seconds to watch for network traffic. Default: 5 seconds.
-v, --verbose
Operate verbosely.
--version
Show the version number of the program.
SCANNING REQUIREMENTS
To correctly identify all data of the local network, guessnet-scan needs to see traffic related to a host in the local network and to the
local gateway, if any.
To be able to identify the network gateway, guessnet-scan also needs to see some traffic directed to the external network: you can help the
detection by generating some outbound IP traffic during the scan, for example by browsing a web page (without proxy) or using telnet to
open a connection to some remote host.
Note that if you are connected to a switch, guessnet-scan won't probably be able to work, since the switch will isolate it from the network
traffic that the other machines are generating.
SEE ALSO
guessnet(8), interfaces(5).
AUTHOR
Guessnet-scan was written by Enrico Zini <enrico@debian.org>.
10 October 2004 GUESSNET-SCAN(8)