如何在Linux中使用C构建防火墙? [英] How can I build a firewall using C in Linux?

查看:124
本文介绍了如何在Linux中使用C构建防火墙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

我想知道防火墙的功能是什么,如何使用C程序读取属于另一网络的机器的地址,以及如何在C中编码规则.

如果您不介意,请将示例代码发布给我

*****

Sir,

I would like to know what are the functionalities of a firewall,how can we read the address of a machine which belongs to another network using the C programme and how the rules can coded in C.

If you don''t mind ,please post me a sample code

*****

推荐答案

Abhirami vijayan写道:
Abhirami vijayan wrote:

如果您不这样做,没关系,请给我提供示例代码

If you don''t mind ,please post me a sample code



您认为防火墙的代码是要求某人发布到论坛中的适当方法,这证明,如果需要的话,此任务已经超出您的范围.



That you think the code for a firewall is an appropriate thing to ask someone to post into a forum, is proof, if it''s needed, that this task is beyond you.


初学者,即使对于专家开发人员,您可能也忽略了构建防火墙是一项艰巨的任务.
您应该精通C语言并且对网络编程有深入的了解.
:)
Being a beginner, you possibly ignore that building a firewall is a daunting task, even for an expert developer.
You should master the C language and have a deep knowledge of network programming.
:)


这篇关于如何在Linux中使用C构建防火墙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆