Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I'm new with linux.Trying my hand at socket programming.Could some one tell me how to instaal libnet libraries using yum.Thanks...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10

    Post Help with libnet.h

    Hi I'm new with linux.Trying my hand at socket programming.Could some one tell me how to instaal libnet libraries using yum.Thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    If you have gcc installed on your system, then you should have all the network libraries and headers you need. The libnet package isn't part of the standard package set for CentOS / RHEL distributions. I see a version (1.1.2) of libnet on rpmforge. What distribution+version of Red Hat or Fedora are you using?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    Quote Originally Posted by Rubberman View Post
    If you have gcc installed on your system, then you should have all the network libraries and headers you need. The libnet package isn't part of the standard package set for CentOS / RHEL distributions. I see a version (1.1.2) of libnet on rpmforge. What distribution+version of Red Hat or Fedora are you using?
    fedora 2.6.27.41-170.2.117.fc10.i686

  4. #4
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    Ok here's the deal I'm trying to make a simple sniffer application.I know a lot of code already exists but still I want to code my own sniffer.Is it a good idea to use libpcap(I guess it would make it easier) or should I go head on without it.Also could you tell me if libpcap provides any functionality to give the statistics related to the packets captured

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...