raw-sockets
Writing a basic traceroute script in C
I have to write a trceroute script but I\'m not sure if my attempts are correct. Right now I\'m doing it like that (please correct 开发者_运维百科me if I\'m doing wrong or clumsy):[详细]
2023-02-08 13:31 分类:问答Unable to read incoming responses using raw sockets
I am trying to read a response from a website via code by listening to a raw socket, though so far I\'ve only been able to read the outgoing requests sent by my computer rather than the incoming respo[详细]
2023-02-07 06:07 分类:问答How to reproduce TCP protocol 3-way handshake with raw sockets correctly?
Im simulating tcp protocol\'s 3-way handshake in c++, along with wireshark as my code runs. My code crafts the headers at ip and tcp layers, packs them, then send it to an http server with tcp header\[详细]
2023-01-31 02:36 分类:问答Does sendto() dst_addr arg matters if used on a raw socket with IP_HDRINCL set?
The question is almost all in the title. I was w开发者_高级运维ondering, given that: - I use a raw socket (on GNU/Linux);[详细]
2023-01-25 23:33 分类:问答connecting to OrientDB from PHP
I would like to write an adapter for PHP for the binary API of OrientDB. But I need a bit of help from someone who has experience with raw socket communications in PHP - I can\'t seem to even get pas[详细]
2023-01-25 21:52 分类:问答Python raw IPv6 socket errors
I am having some problems using raw IPv6 sockets in python.I connect via: if self._socket != None: # Close out old socket first[详细]
2023-01-21 14:28 分类:问答how to bind raw socket to specific interface
My application is running on CentOS 5.5. I\'m using raw socket to send data: sd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);[详细]
2023-01-21 04:14 分类:问答How to determine start of data payload in TCP packet?
I\'m writing program for monitoring FTP traffic using raw sockets. Now, I am able 开发者_如何学Goto determine start of data in TCP packet using this code:[详细]
2023-01-20 13:12 分类:问答python socket.PF_PACKET
I am trying to send out an ARP request with python, working with dpkt, and I found some sample code that uses:[详细]
2023-01-18 01:12 分类:问答What should I use as a buffer in C++ for receiving data from network sockets?
I\'m using sockets with C++. The program simply requests an HTTP page, reads it into a buffer buf[512], and then displays the buffer. However pages can contain more data than the buffer, so it will cu[详细]
2023-01-11 12:40 分类:问答