Go Down

Topic: In theory. (Read 996 times) previous topic - next topic


not sure what you read... or even what kind of programming you've ever done on real world authentication/cryptography or even if you've ever managed a simple exclusive or routine...

But i have no need to read up (or for that matter anyone) on any of what you suggested, i was talking more of how to make arduino act as a slave device to allow communication to and from the pc to be encrypted on a very simple level... so don't get over yourself.


Thinking to myself as i typed it, but the ones with an interest would know what i meant...

I'm pretty sure that you don't know what you mean, so I don't see how anyone else is supposed to.  :D

If you want to encrypt traffic within your network then there are various ways you can do this but the most obvious would be to set up an encrypted tunnel. If you want to invent a new type of network interface that takes network traffic via some other medium (you don't explain how the two end points would be connected if not via the existing network) then you would need to write a network driver for your proposed interface. This is non-trivial. If you are intending to terminate this 'encrypted connection' at a PC or similar then the PC would be the logical place to do whatever encryption you have in mind, and you could implement your own packet-munging layer quite easily without resorting to external hardware. (How do you think that packet shapers and firewalls work?)

The only time I would see any need for an Arduino is if your solution has to interact with some external hardware that your host can't access directly.
I only provide help via the forum - please do not contact me for private consultancy.


i know how to do both.... quite easily, my problem is the speed of which i can get arduino to modulate it's signal over USB.. 1mhz i've not benchmarked the IO speeds...


well sorry for the ambiguity, i was deep in thought as i typed it which i often do when this tired.... and on these painkillers i got for my foot, it is similar to being stoned now i think about it... but either way..

my real question was 2 things.. 1, what's the max theoritcal speed of USB transfrer. 2. would it be succesfull a basic enough prototype to convince someone to one day mass market with rollable key codes with more encrpytion and more layers... but right now i'd be curious how to write some kind of hyperterminal application and talk to someone all encrpyted via  a simple server pc > arduino > pc > router > adsl/etc > server > arduino > server > process it, and so on, could even be added into an existing modem/router to encrpyt the packet with a value (which please don't worry about...) and once again send it back....

but how long before your ISP works it out and decodes it, you move onto a better encryption routine and a new C++ file comes out to stop it... some may say you could use it to cover piracy eg torrent downloading illegal movies... but i say, fine you get to know my mac address and you get to know where i'm visiting ip the website you visit, but then the data you download can not be seen by anyone but you, now why this method of say ssl, a secure connection https? well if your ISP is watching then surely they can see the data you both send and receive, so all it would mean is to replay that exact same sequence of events and you get to see everything would you not? (Could be wrong but if you have all the packets sent/recv from both ends all of it, then you could simply modify the header to point to a new server..

but anyway side tracked, more secure a way they can't track the data because it's encrypted unless they too have an arduino and share the code  would it lead to someone cracking it to prevent us doing this? what's your opinion and fastest speed i could get over serial.

Nick Gammon

I don't think the MAC address makes its way much past the first router. There isn't room in the IP header for all the intermediate MAC addresses. There is a sending IP address and the return IP address. Your router knows which physical card (MAC) the internal IP address corresponds to.

My suggestion if you are worried about security is to read up on Tor.

Go Up