CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Is it Possible about tcp stack???

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
plowgrammer2010



Joined: 21 Jun 2009
Posts: 2

View user's profile Send private message

Is it Possible about tcp stack???
PostPosted: Sun Jun 21, 2009 11:46 pm     Reply with quote

Hi, All
I want have a project related to network security. is my given supposition is right.
I put my programmed "Device" with my computer, and on each packet receive event by "Device", I wrap a udp packet around the received packets after encryption. forward this udp packet to my second programmed "Device" which then gets data of udp packet decrypt that and put that packet on the wire which is attached with to the second computer.
Actually I want to encrypt all traffic and pass through public links to a specific point(e.g. specific switch).So, that public users across the way cannot access the actual packet from computer a to computer b.
Example:
if my computer wants to send VoIP packet to a pc(on a specific switch).I get the packet bytes XOR them with a byte(encrypt) and send this packet using udp to the my another programmed device which gets udp packet, decrypt that, gets original bytes of voip packet and send it on the wire.the underlined situation is possible.
and what are other complications in it?
Kind Regards,
Jon.
_________________
Knowledge Seeker
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 21, 2009 11:57 pm     Reply with quote

Are you using the CCS compiler ? Are you using a PIC microcontroller ?
Here you say that you are using an Atmel 8051 with the Keil compiler:
http://bytes.com/topic/c/answers/870331-question-about-ifndef-filename_h
This is not a general purpose networking forum. It's about the CCS
C compiler and PIC microcontrollers.
plowgrammer2010



Joined: 21 Jun 2009
Posts: 2

View user's profile Send private message

PostPosted: Mon Jun 22, 2009 1:40 am     Reply with quote

Quote:
Are you using the CCS compiler ? Are you using a PIC microcontroller ?
Here you say that you are using an Atmel 8051 with the Keil compiler:
http://bytes.com/topic/c/answers/870331-question-about-ifndef-filename_h

Post on bytes.com: I also using atmel 8051 keil but that post was about C language, not concerning this topic.
Compiler and pic: I worked on pic18f452 but with microchip tcp stack in existing project. I have also used ccs in other projects.
In Current project I didn't decide which compiler for tcp stack I will use. If ccs helps me in capturing raw packet, encrypt them make udp packet and reverse it on other side, and allow to put raw packet on wire, I will use ccs.
If anything left to ask, my pleasure to answer.
Kind Regards,
Jon
_________________
Knowledge Seeker
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group