来自ALE_AUTH_CONNECT的所有连接请求都会到达STREAM层吗? [英] Will all connection requests from ALE_AUTH_CONNECT reaches STREAM layer?

查看:99
本文介绍了来自ALE_AUTH_CONNECT的所有连接请求都会到达STREAM层吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

大家好,

 

Hi All,

 

我正在编写一个呼出驱动程序。我在ALE_AUTH_CONNECT和STREAM层注册了两个标注。

I am writing a call out driver. I have two callouts registered at ALE_AUTH_CONNECT and STREAM layers.

我想阻止某些网站和端口在某些配置上。我正在等待  AUTH_CONNECT处的
数据包,并排队等待工作队列中的处理。在工作队列中,我填充数据结构并将数据流关联到STREAM过滤器。我有一个与STRE AM过滤器关联的流删除功能。在流
层处理数据后,将释放分配的数据包。

I want to block certain websites and ports based on some configuration. I am pending  packet at AUTH_CONNECT and queued for processing in worker queue. In worker queue, I fill a data structure and associate the dataflow to STREAM filter. I have a flow delete function associated with the STRE AM filter. After processing the data at stream layer, the allocated packet will be freed.

< span style ="">  我对这种情况有几个问题。

 I have a couple of questions on this scenario.


  1. 是否保证每个流都将调用流删除功能?
  2. 是否有可能将数据包到达ALE_AUTH_CONNECT并进行处理不会到达STREAM图层 
    ? (我不能在ALE_FLOW_ESTABLISHED层进行处理,因为此层不允许挂起数据包)

  3. 如果它没有到达STREAM层,我们有什么方法可以检测这些连接并释放内存吗?
  1. Is it guaranteed that every flow will be calling the flow delete function?
  2. Is there any possibility that the packet which is reaching at ALE_AUTH_CONNECT and pended for processing will not be reaching at STREAM layer  ? (I cannot do the processing at ALE_FLOW_ESTABLISHED layer as the pending of packets is not allowed at this layer)
  3. If it is not reaching the STREAM layer, is there any way that we can detect these connections and free the memory?


 

 

非常感谢任何帮助。提前谢谢你。

Any help on this is greatly appreciated. Thank you in advance.

 

谢谢,

Krishnanand

Krishnanand

推荐答案

大家好,

你能帮我解决这个问题吗?

Could you please help me to solve this issue?

谢谢,

Krishnanand

Krishnanand


这篇关于来自ALE_AUTH_CONNECT的所有连接请求都会到达STREAM层吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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