Re: iptables - C++

Atıf CEYLAN <[email protected]>
Newsgroups gmane.linux.debian.user.turkish
Message-ID <[email protected]>
popen ile kullanabilirsin :)

2009/12/21 Engin KUZU <[email protected]>

> iptables kullanıcı tarafında(user-space) çalışan bi uygulama. Aslı iş yapan
> kısım ise çekirdek tarafındaki(kernel-space) bir modül. Dolayısıyla iptables
> sadece belirli emirleri çekiderk modülüne aktarıyor. Tahminen /dev'deki bir
> aygıt veya /proc'daki bir dosya üstünden bu işleri yapıyordur. Siz de kaynak
> kodu inceleyip aynı işleri yapabilirsiniz. Fakat ilerde standartlar
> değişirse uygulamanızın kodlarını da güncellemeniz gerekecek. Ben olsam o
> işlere hiç girmeden system("") ile çalıştırırdım. Sonuçta, iptables
> parametrelerinin değişeceğini pek sanmıyorum...
>
> 21 Aralık 2009 13:42 tarihinde [email protected] <[email protected]> yazdı:
>
> Merhaba arkadaşlar..
>>
>> C ile yazdığım bir uygulamanın içinden iptables'a nasıl ulaşıp
>> değişiklikler yapabilirim.. system("...") dışında bir çözüm önerisi
>> olan var mı?
>>
>> Selamlar.. Uğur..
>>
>>
>> --
>> To UNSUBSCRIBE, email to [email protected]
>> with a subject of "unsubscribe". Trouble? Contact
>> [email protected]
>>
>>
>


-- 
/**
* @author Atıf CEYLAN
* Software Developer
* http://www.atifceylan.com
*/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.