Hi All,
I have 2 virtual networks, say 10.116.10.xxx and 10.116.11.xxx. I have the following code to send a magic packet:
using System;
using System.Net;
using System.Net.Sockets;
using System.Globalization;
public class MagicPackets:UdpClient
{
public MagicPackets() : base()
{
}
public void SetClientToBrodcastMod...
Hi,
I'd like to calculate the checksum of an udp header packet I want to send :
packetosend = """60 00 00 00 00 24 3a 40 20 02 c0 a8 01 50 00 01
00 00 00 00 00 00 09 38 20 02 c0 a8 01 50 00 01 00 00 00 00 00 00 09 6f"""
so i need to join this utf-16 (not a problem) and calculate the checksum of this specific packet.
How can i do that ...
Hi, is there any way to queue packets to a socket in Python? I've been looking for something like the libipq library, but can't find anything equivalent.
Here's what I'm trying to accomplish:
Create tcp socket connection between server and client (both under my control).
Try transmitting data (waiting for connection to fault -- e.g. ...
Is there a library out there that will allow me to perform link-layer packet modification for both incoming and outgoing packets?
Basically I want to do some transformations to a packet (for eg. changing IP payload) based on incoming MAC address, IP address, port, etc.
I also want to be able to do the same thing for outgoing packets, i....
I have an application which opens a datagram sockets and sends to various other processes .... sometimes this application lauches another process (using ProcessBuilder) which also does some network communication...
Now, the joke is, the launched process will "sometimes" only recieve messages after the main application is terminated ... ...
I'm looking to write a small program which will intercept network packets (on the local machine) and modify them before they go out on the network. I need to be able to modify the headers as well, not just the data.
I've already looked through several possibilities but am unsure which one is best to pursue. There are open source packet ...
My server broadcasts a packet to a browser client every now and then.
Is there any way to figure out how long it took from the packet from:
server --> client
I'm trying to time something, so ideally my JavaScript function would be like:
var travelTime = {amount of time it took packet to get to me};
setTimeout('myFunction()', 3000 + ...
I'm looking for implementation of IP Traceback using packet marking algorithm in C#?
I google it but could not find anything!!!
any one know a website has this implementation ??
...
Hey,
I'm very new to Erlang, and I am converting some of my PHP stuff, and I can't figure this one out. Here is the function in PHP:
public function raw_send($string1, $string2 = NULL, $type = SERVERDATA_EXECCOMMAND) {
$data = pack('VV', $this->get_request_id(), $type) . $string1 . chr(0) . $string2 . chr(0); // build data
$packet = ...
I have a router running Linux that acts as the central gateway to the Internet for a network of embedded devices that use IPv6 to communicate. I would like to intercept, inspect, and rewrite every packet that goes in and out from the Internet to this subnetwork. The reason I need to do this is that I want to create a transparent (to both...
hi i'm working on a personal project
for a transport parser.
i want to be able to represent a recived packet in binary number and afterwards be able to set specific bits.
I've got a pretty good idea how to do the second part but i'm really stuck at the beginning
ive got an advice to use unsigned char for that but can i really represent...
I have a simple file sharing application.
Users are sending data among each other via packets of size 1024 KB.
Everything works perfectly, but what I need next is header for each packet.
I'm not completely sure that I understand the concept of a header, but I believe it should contain information such as: username of the user that has t...
I'm sending data to an extremely old system via TCP. I need to send 2000 bytes in one packet, and I need it not to be split up (what happens when I write out 2000 bytes via a socket).
While, yes, I shouldn't have to care about this at an application level -- I in fact do care about this, because I have no other options on the older syst...
I want to know how to read a struct within a struct via php's unpack function. When I get an IS_MCI packet, I check it's Type to make sure it's equal to ISP_MCI, and then I check NumC to find out how many CompCar structs there are within this packet. The problem is trying to unpack these contents into an array via a single function. I al...
I think my question is "no comment", and I must say is is not a bot-net.it is for education.
please tell me if this kind of question (hacking related) is not allowed in stackoverflow.
Edit:
While(Countries::C_Iran::LastMessage::Nuclear>0.05)IAEA::GetCountryA(Countries::C_Iran::Handle)->Boycott++;
if(IAEA::GetCountryA(Countries::C_Ira...
Can any one suggest me a packet blocking software ??
My requirement is to block packets within the LAN.(Internet does not come into picture).
Supposing CLIENT_A communicating to CLIENT_B in the same network(LAN).
I want a CLIENT_C (who is in the same network) to capture(I can use jpcap library's sniffer for this purpose) and block pac...
I'm thinking like the methods games like Counter Sstrike, WoW etc uses. In CS you often have just like 50 ping, is there any way to send information to an online MySQL database at that speed?
Currently I'm using an online PHP script which my program requests, but this is really slow, because the program first has to send headers and pos...
Hi there. basically, i was wiresharking packets on my PS3 while viewing Motorstorm Leaderboards. The leaderboards are sent to my ps3 in XML format but only after i have been authorised. So can someone please tell me what is happening between these three packets and how i could replicate it in a browser?
Packet 1 From my PS3 to Sony Serv...
use of TOS, identifier, flag fields for IP address using java code for deterministic packet marking
...
Hi all,
I have started playing around with RTP on Java in Android and was wondering if anyone could give me a bit of help or guidance.
Here is the code I have started on:
public void rtpTest() throws UnknownHostException, SocketException, RtpException{
RtpManager rtpManager = new RtpManager(myAddress);
Log.d("RTPMANAGER", "IPADDRESS ...