C++ Learning Community Forum
September 04, 2010, 04:49:28 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Firewall coding in c++ on linux ?  (Read 473 times)
sree
N00b!!1
*
Posts: 3


View Profile
« on: February 07, 2010, 07:07:33 AM »

Hi,
I am a newbie here and also to c++.
I am working on linux,with programming mainly on C and areas of interest being Firewall & IPS.
I have some doubts,would be really grateful if anyone can help me. Smiley
1.                   Can we create a firewall code in C++?
2.                    "Can we prepare a kernel module in C++ on linux ?"
3.                    What are the applications of C++ on linux?


Thanks
Sree.
Logged
C-Man
Does anyone even read this ?
Global Moderator
Dr. of C++ology
*****
Posts: 988



View Profile WWW
« Reply #1 on: February 07, 2010, 09:00:27 AM »

Who is We ? Roll Eyes
1. linux already has a firewall it's called iptables also netfilter ( http://www.netfilter.org/ ) check them out , source is available , so yes it's possible
2. Sure ?
3. Do you you mean compilers ? ide's ?  g++/gcc ofcourse and as for ide's Code::Blocks , KDevelop, Eclipse CDT and so on
Logged

sree
N00b!!1
*
Posts: 3


View Profile
« Reply #2 on: February 07, 2010, 07:48:57 PM »

We is me..  Wink
Hey Thanks for the reply.
1)Regd Firewall....I am sorry I should have mentioned that I am talking abt a module above linux firewall,where in it takes the packet from the netfilter hooks,checks the packets,applies some  user defined policies and then allows the traffic to pass through.
So my concern here is ...can I do design these type of modules in c++.
2)So its possible to create a kernel module in c++..Can you tell me where i can find more information on this?
which is a better way to design kernel modules c or c++?
3)When i mean applications,I  meant
Where can I use c++  programming on linux,is it used for similar purposes like designing modules ( Firewall ,Vpn ,IDS over linux )or linux development or some other things like Games etc.

Thanks
Sree...

Logged
C-Man
Does anyone even read this ?
Global Moderator
Dr. of C++ology
*****
Posts: 988



View Profile WWW
« Reply #3 on: February 07, 2010, 09:09:42 PM »

ofcourse it is possible
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!