Linux TUN/TAP:无法从TAP设备读回数据 [英] Linux TUN/TAP: Unable to read data back from TAP devices

查看:170
本文介绍了Linux TUN/TAP:无法从TAP设备读回数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题在于要使用Tun/Tap模块的Linux主机的正确配置.

The question is about the proper configuration of a Linux host that would like to make use of the Tun/Tap module.

我的目标:

使用现有的路由软件(以下简称APP1和APP2),但截取和修改由其发送和接收的所有消息(由Mediator完成).

Making use of an existing routing software (APP1 and APP2 in the following) but intercepting and modifiying all messages sent and received by it (done by the Mediator).

我的场景:

              Ubuntu 10.04 Machine
+---------------------------------------------+
|                                             |
|APP1 --- tap1 --- Mediator --- tap2 --- APP2 |
|                                             |
+---------------------------------------------+

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