gaining control of the TCP/IP stack
| Fri, 2005-12-23 19:09 | |
|
Im writing a firewall for symbian/uiq. Im looking for some insight on how to get axx to the TCP/IP stack so i can filter the packets before they move past the stack (inbound and outbound). I am using the DevKit to developed the server side of the app. Im looking for some insight into the best way to go about taking over control of the stack. Would it be possible to use the current stack, and simply pull packets off and put them back on as need be, or will it be better to rewrite a chuck of the netowrking code (from the symbian source) to force the tcp/ip taffic to flow thru my app? It will be port based filtering, not connection based filtering. I need to take control of the stack so only packets that pass the filter will be pushed thru the stack. Any info on this topic would be great.
|
|






Forum posts: 100
That API is not apparently public and letting just any random program to mess with the TCP/IP communication would be security risk in itself. Thus, to get access to those APIs, you need to get your application certified and in gerenal, I guess you need to join some partner program to see the APIs in the first place.
Forum posts: 16
Forum posts: 47
Have you noticed whether or not the "full Symbian API" has any API's for the idle screen background image, i.e. changing it?
Do you have a breakdown/list of what is opened up as far as api's go in the "full Symbian API", or have a link describing them?
Jay Glass
Phoenix, AZ. USA
http://IChiBanComputers.Com
Forum posts: 16
msa2: I looked at IPSec source code, and found no way to implament a filter in place of the en/decryption stuff in IPSec. I did manage to come across the MIp6Hook class. It looks like this is what is needed to trap all packets that pass thru the tcp/ip stack. Still a little fuzzy on the details of the class, but it seems to be just what i was looking for.
Forum posts: 47
Jay Glass
Phoenix, AZ. USA
http://IChiBanComputers.Com
Forum posts: 162
That API is not apparently public and letting just any random program to mess with the TCP/IP communication would be security risk in itself. Thus, to get access to those APIs, you need to get your application certified and in gerenal, I guess you need to join some partner program to see the APIs in the first place.
Symnian does have IPSec, but whether its shipped with real devices is another question.
Anyway, the best bet to implement a Firewall would be to implemet IP Hooks, whic I believe is documented well enough in DevKits
http://www.tanzim.co.uk