Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Krosan

Pages: [1]
Network / Problem with IP
« on: September 22, 2010, 03:38:57 pm »
is the modem just a modem or is it a router?
your pc behind the modem has a private or public ip?


Feature requests / Mutex islocked?
« on: July 18, 2010, 12:57:12 pm »

it would be nice too look up if a mutex is locked or not. When you are locking a mutex which is locked you are waiting till it get unlocked?
But if i have some workerhreads and i make  mutex on them, i could be able to use everytime a free one. otherwise its waiting till that one i'm handling is free.

i saw such a function at the boost libary the function is called try_lock()
here is the documantation:

would be nice if you can include it in sfml i think it would be a very nice feature, which makes the multithreading easier.


Feature requests / Mouse capture/grab
« on: July 08, 2010, 08:20:44 am »
The input system OIS is able do do that on windows and linux, maybe you can get there informations

here the sourceforge:

SFML wiki / Need HOWTO tutorial for setup SMFL with eclipse CDT
« on: March 01, 2010, 08:41:58 pm »

at linux gcc -> like descripted here Installing SFML  http://www.sfml-dev.org/tutorials/1.5/start-linux.php

+ libary settings in eclipse


Network / How can i encrypt my network traffic
« on: February 17, 2010, 10:04:47 pm »
Quote from: "ncarrasco"
You can use http://www.cryptopp.com/ library.


thx a lot that looks like the libary i serached for  :D

Network / How can i encrypt my network traffic
« on: February 17, 2010, 09:47:45 am »
ok thx for the good answer, i see its very hard do do, but i think i have to do it, its important for that, because there are some datas that i can not send over the internet without encryption.


Finally I want to say that it will take you a lot of time to do it "right". And afterwards you will find out that what you considered "right" has some flaws. And then it will take you even more time to fix the flaws. Sorry if that sounds pessimistic

its not pessimistic its realistic i think, i'm sure that it will take a lot of time, thats then hard to find problems in the communications and that it brings a lot of problems, maybe i have to edit much of my code.
i will see
thx for your help[/quote]

Network / How can i encrypt my network traffic
« on: February 15, 2010, 05:19:39 pm »
Quote from: "T.T.H."
Do you have a client-server-model or a peer-to-peer-model?
What is the underlying network protocol?
- HTTP over TCP
- etc.
Which side wants to send encrypted data first?
- client to server
- server to client
- somebody to somebody
Does the other side want to send encrypted data back?
How much encrypted data do you want to send?
How "strong" must the encryption be?
- "just being able to detect network transmission errors"
- "just prevent my little brother from reading my network traffic"
- "just prevent some person with a plain text network sniffer from reading my traffic"
- "just prevent some dedicated person with cryptography knowledge from reading my network traffic"
- "just prevent a group of hackers from penetrating my network"
- "just prevent the CIA from stealing my pr0n"

Sorry, without some answers on those question I can't really give you a meaningful suggestion.

its a client to server connection over the internet with UDP

the first sending should be from the client

Does the other side want to send encrypted data back?
yes both should encryped there data cleint & server

How much encrypted data do you want to send?
hard to say 2-10 KB/s
max 100 clients
so 200-1000 KB/s

How "strong" must the encryption be?
- "just prevent the CIA from stealing my pr0n"
who said that to you?^^

 should be enought if not everybody who loaded some files from the internet can enter.
but if the key is stronger its better for me.

Quote from: "Laurent"
But encryption is possible by deriving from sf::Packet or am I wrong?

Absolutely, a class derived from sf::Packet is a very good place to put the encryption functions, so that it can be performed automatically. I think that there is an example in the network tutorials.

 thx , but i also searching for an libary which can encryp the data, but when i found one maybe i can use this

thx for the help

Network / How can i encrypt my network traffic
« on: February 15, 2010, 08:30:46 am »
Quote from: "T.T.H."
Cryptography is a quite complex topic where the devil is within the details.

First you should become clear for yourself about what exactly you want when saying "encrypt the network connectivity". Then you tell us that. Then we might make suggestions. But without knowing what exactly you want to do it's hard to make any serious suggestions regarding cryptography.

Some links:

public key cryptography (assymetric encryption/decryption)

block ciphers (symmetric encryption/decryption)

On the bottom of those pages are plenty algorithms listed.

Hello sorry for the slow response

i just need to transfer some variables encrypted and i hoped that there is an libary existing which could do that for me because i know that the topic is very complex.

best would be if i could give my variables / strings + key to the libary and get out the encrypted variable, and can send it with the sfml libary over the network to get my information back on the other computer there

maybe you know one?


Network / How can i encrypt my network traffic
« on: February 10, 2010, 12:17:51 pm »
Quote from: "Laurent"
SFML cannot do that, you'll need another library.

ok does somebody have any experience with another libary which can do this? or have somebody a libary just for encryption that i can send it over sfml


Network / How can i encrypt my network traffic
« on: February 10, 2010, 10:29:23 am »

is there a way in sfml to encrypt the network connectivity?
or do i need an other libary for encrypting and send it then with sfml? have anybody some experience how to do this?



Pages: [1]