Find the answer to your Linux question:

Search:

Type: Posts; User: esolve; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. C: Cannot find -lpcap when statically compiling a C project

    I want to statically compile a C project in a laptop(fedora), using command line like:

    gcc -o myprogram -static main.c ... -levent -lpcap

    but I get error:

    /usr/bin/ld: cannot find...
  2. ARP request broadcast when using raw socket to send raw IP packets wit

    First, let me describe the problem briefly. I have to programs which send IP packets from a host(192.168.0.101) to another host(192.168.0.106). These two programs are written respectively with C and...
  3. I notice it is due to the MAC address. When the...

    I notice it is due to the MAC address. When the C++ program ran, the kernel/system adds the MAC address of B as destination MAC to the IP-spoofing packets(it is expected that the kernel adds the MAC...
  4. on what conditions can tcpdump on a host capture packets which are not

    I have three laptops in a WLAN, A, B and C. A and C are using Wlan interface wlan0 but B is using Ethernet eth0,B is connected to the wireless router via network cable.. A is with windows, B is...
  5. Destination unreachable (Host administratively prohibited

    I have a program which send TCP packets from laptop A to laptop B (there is a laptop C which acts as relay, and B send packets to C(192.168.0.100) and then A sends response packets to B with spoofed...
  6. Raw socket: unexpected IP header added when sending self-made IP/TCP p

    I want to use raw socket to send TCP packets which is a full IP packet(so the packet has IP header, TCP header and TCP payload, but has no ethernet header. The IP source and destination addresses are...
  7. Replies
    2
    Views
    1,253

    no, it is not this thing the thing is that the...

    no, it is not this thing
    the thing is that the port 8000 seems not be open?
  8. Replies
    2
    Views
    1,253

    TCP connet: No route to host

    I started a tcp server on a host A and then start a tcp client on another host B.
    both hosts are in the same LAN via the wireless router at home.
    the tcp client tries to connect to tcp server on...
  9. no output when ping-ing a openvpn interface

    I'm following the tutorial to learn openvpn
    Tun/Tap interface tutorial \1


    by following the steps of the part: `let's try it`
    I use openvpn to create an interface tun2, and assign an IP to it...
  10. Replies
    2
    Views
    1,354

    how to update firefox on ubuntu?

    The firefox on my ubuntu requires me to update Flash plugin and follow the link I get to the page which ask me to download the latest Firefox package. I download the tar.gz and unzip it. It is the...
  11. how to run a shell script on different CPU cores to boost speed?

    I'm running a shell script on a cluster
    the script is with a lot of loops and will run for a long time (tens of days)
    I want to reduce the running time, one way is to split the loops, so I will...
  12. Replies
    5
    Views
    1,870

    the issue is that I can not enter Windows 7 ...

    the issue is that I can not enter Windows 7

    there is an item "windows 7" after rebooting, but when I click it , it redirects to a grub interface
  13. Replies
    5
    Views
    1,870

    how to repair windows boot

    I ticked neogrub bootloader in EasyBCD, thus the opiton "Windows 7" is disabled, as shown in the pic below. Then I reboot the system and now I can't enter windows 7, what can I do? thanks!
    ...
  14. a pheonomenon related to linux kernel networking

    I encountered a strange problem, my problem is detailed in this link

    networking - delivering a packet through tun file descriptor leads to different results - Stack Overflow

    someone suggests...
  15. delivering a packet through tun file descriptor leads to different res

    I created a tun interface


    openvpn --mktun --dev tun2
    ip link set tun2 up
    ip addr add 10.0.0.1/24 dev tun2

    I wrote a program which relates the tun interface to a file...
  16. openvpn interface, local routing and linux kernel routing table

    from this article: Tun/Tap interface tutorial \1
    the author created a tun interface


    # openvpn --mktun --dev tun2
    # ip link set tun2 up
    # ip addr add 10.0.0.1/24 dev tun2

    then...
  17. if there are 2 NIC on the same machine, can a tcp client on one NIC co

    I use tun/tap to create a tun NIC tun0 with IP 10.10.10.2, and I have a real NIC eth0 with IP 202.112.34.49

    then I run a tcp client which binds its socket to 202.112.34.49 and a tcp server binding...
  18. how to intercept(not only capture) outgoing packets from TCP programs

    I have a web server running on a host and I want to intercept all packets(including IP/TCP header) sent by the webserver, so the packets are not sent out to the Internet by the web server directly.
    ...
  19. how to use flock between C program and shell script

    I have a shell script and a c program


    #!/bin/bash
    for i in `seq 1 10000`
    do
    (flock -x 200 // what is 200?
    ./taskA
    ) 200>...
  20. minimum time intervals between sent packets

    I'm writing a tcp and udp program which sends a lot of packets successively. for example, each packets(including ip/tcp/udp header) is about 60 bytes, in a program, e.g., udp_sender, it sends 5...
  21. reader-writer and inter-process communication designing

    0 down vote favorite


    I want to write a program, one module is:

    I have two processes, process A is responsible for receiving packets using recvfrom() or recv and another process B keep on...
  22. how about deep packet inspection? is DPI fast or...

    how about deep packet inspection?
    is DPI fast or not if it needs to intercept a lot of traffic
  23. tcp connection alive time, port number reused and sequence number acqu

    I have some questions on TCP



    1 I think when a tcp connection is established between machine A and B, this connection will be always alive until there are RST or FIN packets or the tcp process...
  24. UDP checksum inconsistency between sender and receiver

    I want to write a program to generate udp checksum
    to validate my progra, I need some real data.
    I send a udp packet from one machine to another machine, the packet can be correctly received by the...
  25. are there any simple similar source codes of the...

    are there any simple similar source codes of the proxy you mentioned?
    thanks!
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4