Network Protocol implementation - networking

As part of a project work i am supposed to "implement" any network protocol of my choice. I googled for it but didnt find anything that would help a beginner like me to start off. Could anyone please give some ideas on where to begin?
Thanks in advance!
PS: am not sure of the tags either.

You can try DHCP. It is relatively simple and common.
http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
To start you can cover the same subnet/vlan case. (Server client same subnet.)
Next do the different subnet/vlan case if you have time.

Related

How to implement own dissector to dissect payload of AMQP?

right now I am struggling with implementing a functionality to dissect my own protocol within the payload of AMQP.
There is no problem dissecting it if it's only send via TCP.. But if AMQP is on top of it, there seems to be some problems.
Right now I have only those links which aren't very much helpful :(
Wireshark: display filters vs nested dissectors
In the moment my code is very much like in the example link, but I don't know how to reference my own dissector.
I can provide code - but it looks very much as the example but without the JSON part.
I appreciate every help! Thank you!

Control PTZ of an IP Camera

I am building a project using the IP Camera Intelbras 5220 SD IR Datasheet.
In this project, I am using a website through which I can access the camera, but also need to control the movement of this camera, i.e. I need to control its PTZ. I have no idea how to start, but I would like to control the camera using HTTP because I think it is easier. I searched for some keywords like Onvif and SOAP, but I found nothing that could really help me.
Does anyone have any idea what can I do?
I found the answer by myself and it is not too difficult. All I need to do is search more about Onvif. As my python is 3 this link was very helpful:
If my python is 2 I would use this one.
There are some examples there that help me a lot. For more details about Onvif I also used this one.
Now my camera is working very well.

How to used NetworkBehavior in Unity3D

Check the Picture- Image Here
I made a c# script then change the MonoBehavior to NetworkBehavior
then pud the script in the Main Camera.
I have problem using NetworkBehavior I dont know how to execute it, I want to try the SyncVar and other attributes that can help about server-client data networking.
thanks.
It is difficult to tell what is going on from you picture, and it would be helpful if you could tell us exactly what you are looking for, but as far as SyncVar working, it is important to note that it only works from the server side. That is, you can't sync an attribute from a remote player to the server, but the server can sync a player's attribute to everyone else. another thing to note about sync var is that it only works on basic types and unity math types (quaternion, vector3, etc.) if I recall correctly. If you need more help please try to be more specific.

What's MBR offset 0x1C3 and how can I edit it?

I posted this question on another website but no one was able to help me there until a user suggested I posted this question here. So...
My SSD has some trouble POSTING on my old GA-P35-DS3 motherboard if I try to use the Intel controller.
Apparently (after much googling) I found this is a bug on the BIOS that can be fixed by some quick editing of the MBR. The trouble is, I have no idea how I can go about doing this. I tried 010 Editor and HxD but I'm completely overwhelmed and, although I am able to open the disk, I can't find that particular "offset" (0x1C3).
If you are curious this post describes my issue (scenario 1) and the required steps to fix it: http://forum.giga-byte.co.uk/index.php?topic=8585.0
So, if someone could help me figure what an "offset" is and how I can find it with 010 Editor (or any other program you see fit) so I could fix these byes I would very much appreciate it! :)
EDIT: I've been looking around and I'm a bit confused if I should change these bytes:
http://i.imgur.com/Ys0gU3O.png
Or these bytes:
j59ypS5.png (I need more rep to post the second like so you can just copy-paste this into the imgur URL)
Judging by its content the first option doesn't seem to make sense. But since the second option is only "00 00 00" for I don't know if it makes any sense either...
If someone could please help me I'd be forever grateful.
Well.. I was able to figure it out by myself so I'll leave the answer here in case someone faces the same issue in the future.
1) I was opening a logical drive instead of a physical unit. That's why what I was seeing wasn't meeting my expectations.
2) I thought the "offset" was only referenced by the column by the left but no. Ox1C3 actually includes the column number as well. So I had to change the three bytes including 0x1C3 (0x1C4 and 0x1C5).
That was pretty much it. After that I saved the changes and rebooted my machine and after changing the SATA port everything was working as expected.

Wire-shark network traffic dump

I have a question to answer for one of my classes. But I'm having some trouble finding the information on this.
"So you have network traffic dumps as files on a USB given by the victims. How can you know that it is accurate? List some of the ways that it could have been changed. What things would you look for within the dump file that might indicate tampering."
Can someone please point me in the right direction?
Thanks,
Thanks alfasin. Your link helped,
https://wiki.ubuntu.com/BasicSecurity/DidIJustGetOwned

Resources