packet

to read the packet of bytes on client(client Socket) from server(ServerSocket) using java.

hello, i m a new . i m a java developer(fresher) and currently i m working on BSE project and i m facing problem to read the packet of bytes on the client(client socket) from the server(server socket). if u can help me then please help me. Thanks in advance ...

New Payload type for RTP profile

I am designing a new RTP profile. How can I determine the next available RTP payload type, which I can assign to my profile type? ...

ensuring packet order in UDP

hey. im using 2 computers with an application to send and recieve udp datagrams. there is no flow control (ICMP disabled) frequently when i send a file as udp datagrams via the application, i get 2 packets changing their order and therefor - packetloss. is there a way to make sure winsock and send() will send the packets the same way th...

On Windows, how would you filter a packet sequence?

I'd like to filter a specific packet sequence, if not by process, then by IP address/port combination. Writing a DLL, modifying the process in question, or writing a program which hooks all functions isn't a viable solution; for whatever reason, hooking WSARecv fails. I considered IPSEC, but I'm not sure if that allows you to block the...

Create HTTP packet

Hello there, I would like create HTTP packet with random IP source. Apparently, Pcap.net does it. I asked here : http://pcapdotnet.codeplex.com/Thread/View.aspx?ThreadId=227725, but I still have not figured out how to do it. Anybody to help me to write code ? I'm ready to do it in other langage than C#. Thank you ...

What encryption is it?

Hey, I used EtherDetect to see what is one game sending to me and what I'm sending to game server. I was wondering what encryption is it after the packet information which is colored in grey color in the image bellow. How can I encrypt/decrypt information which I'm sending/receiving in my games like this? ...

packet travelling in layers

I want to know how a network packet travels through different layers i.e. from physical layer to presentation layer in Linux systems. I want very detailed article or book on this topic with codes in C. I tried to Google it but unable to find. Any other type of guidance is welcomed. Kindly help. Thanks in advance. ...

Easy way to extract print job payload from IPP packets

Is there any tool existing or any shortcut that can be used to extract print job payload from IPP packets(captured via wireshark utility)? Write now I'm manually inspecting/dissecting the packets byte per byte which is kind of excruciating especially with requests which spans several packet exchanges (HTTP Continue). Thanks ...

how to receive UDP packets one by one from the port which is sending infinite UDP packets??

Hi I want to receive UDP packets one by one from the port which is sending infinite UDP packets. For that I have used recvfrom(). But after that call, packet is not getting stored in a buffer. So could you please tell me how to receive one by one????Thanks in advance....Following is my code... int cnt =10; while(recv) { result = recv...

C++ UDP sockets packet queuing

I am using the same UDP socket for sending and receiving data. I am wondering if packet queuing for DGRAM sockets is already present, or do we have to handle it separately. If the user code has to handle queueing, how is it done? Do we have separate threads to recvfrom for the socket and put the packet in the reciver_queue and to sen...

How to create a raw socket(customised TCP header) using dpkt?

i m writing a code for port scanner so i need to send a raw packet. i searched and found out that using dpkt library would be better but i didnt find any documentation that would help. So please anyone could help may explaining how to create a packet with customized TCP header i.e set the flags of tcp header as required. Thank You ...

Packet manipulation library in C

Hi all, I am playing with libnetfilter_queue and am looking for a good C library to work with packets captured by libnetfilter_queue. I really like the dpkt library for python and some similar library for C would be wonderful. Any other workaround or example code for manipulating the packets are also welcome. with regards, raj ...

Sending data over a network with zero MTU (Maximum Tranmission Unit)

I want to send the data such that the fragmentation of the data is disabled. For example in ping, if we write ping localhost -M do -s 65507 -M do : disable fragmentation -s 65507 : maximum packet size It gives me an error like From localhost (127.0.0.1) icmp_seq=1 Frag needed and DF set (mtu = 16436) Is there some other way to d...