Questions tagged [libnet]

Libnet is a generic networking API that provides access to some protocols.

Libnet is a generic networking API that provides access to some protocols.

Homepage: http://libnet.sourceforge.net/

61 questions
0
votes
1 answer

Suricata cygwin configuration libnet

I am trying to install Suricata on Cygwin for Windows but when I run the ./configure I get the Warning libnet version 1.1.x could not be found. Does anyone know how to fix this because I cannot find any solution.
laurensp
  • 23
  • 4
0
votes
1 answer

Are there any examples with libpcap and libnet?

I want to capture ip packages on one server, and then forward the packages to another server by libnet, who has some examples ? thanks in advance.
why
  • 23,923
  • 29
  • 97
  • 142
0
votes
1 answer

How to install and use libnet in mac os?

I want to program in C with libnet in Mac OS. When I type in gcc *.o -o network -lnet, there's an error: library not found for -lnet. And when I use homebrew install linnet, is says: Warning: libnet-1.1.6 already installed.
WangXh
  • 49
  • 5
0
votes
1 answer

Why client cannot parse the http packet built and sent by libnet?

I build a http packet by using libnet build functions, and send it by libnet_write. I see the packet is sent successfully via wireshark, the tcp and ip header are all right. But client cannot parse my packet. For example, the client doesn't load the…
Scott
  • 15
  • 6
0
votes
1 answer

Can libnet be used to inject tcp packets/packet mangling?

I just took a glance at the introduction of libnet, seems it mentioned support for udp,ip,but not tcp? Does it support tcp at all?
libnet
  • 45
  • 6
0
votes
1 answer

LibNet read ARP response?

Is it possible to read ARP responses with Libnet? I'm looking specifically for a cross-platform library to read ARP sockets written in C/C++ ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
Giovanni Berti
  • 244
  • 3
  • 12
0
votes
2 answers

Passing the shell-command to RSH daemon inside an "ACK" packet

Writing a program on C, using libnet and libpcap to impersonate an RSH client and inject my own command on the server machine, running RSHD. As I understood, the command should be in the 'payload' of the ACK packet, but in the format, that RSHD will…
Dmitry
  • 156
  • 5
  • 17
0
votes
1 answer

Trouble compiling libnet 1.1.7 for iOS7

I'm trying to use libnet 1.1.7 in iOS project and i'm getting some errors: Ld /Users/admin/Library/Developer/Xcode/DerivedData/net_tools-gnkjrfjgtxkpesepyzzpunpfdwkx/Build/Products/Debug-iphonesimulator/net_tools.app/net_tools normal i386 cd…
igorcit
  • 13
  • 3
0
votes
1 answer

Libnet missing some defines flags

Once I've installed libnet1-dev, check out the configuration settings by issues "libnet-config --defines", but it is no way to find "-DLIBNET_LIL_ENDIAN" flag. libnet-config --defines -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD…
user1884888
  • 125
  • 1
  • 2
  • 12
0
votes
2 answers

Where can I find documentation for Net::Libnet?

Could someone provide some links to additional documentation or tutorials for the CPAN module Net::Libnet?
dan
  • 885
  • 2
  • 9
  • 18
0
votes
1 answer

libnet device (Network interface) command line argument

I just git libnet project from https://github.com/sam-github/libnet/tree/master/libnet and i have been looking over the example source provided with it.the example obtain a cmd arg called "device" to initialize libnet. I figured out "eth0" is the…
NET3
  • 1,520
  • 1
  • 16
  • 25
0
votes
2 answers

how to compile libnet for python 2.7 on windows

I have python 2.7 on windows xp, I need libnet but it's not supported for python 2.7 . I tried to compile it using cygwin, as I don't use python on cygwin gnu and I could not compile it using mingw32, is there any way to install mingw32 in the gnu…
0
votes
1 answer

how do I install man page for libnet under ubuntu 12.04

COMMAND sudo apt-get install libnet1-doc doesn't have any effect, anybody has any idea of doing this?
chenxi.hou
  • 51
  • 1
  • 6
0
votes
1 answer

Libnet basic use

I have been looking over the example source provided with libnet, however, I am unclear on what to do with the following. length+=LIBNET_TCP_H; t = libnet_build_tcp( 0x6666, /* source port */ 179, …
November
  • 224
  • 2
  • 11
0
votes
1 answer

Ruby Network programming with libnet4r or similar gem

Please I need particular gem to control my packets and allow me to craft tcp packets (build and injection tcp packets). actually , libnet4r is doing what exactly I need but is seems no longer working with ruby 1.9.x , So is there any update of new…
KING SABRI
  • 775
  • 7
  • 18