|
@@ -5,8 +5,8 @@ ProxyChannel::ProxyChannel(const std::string &innerInterface, const std::string
|
|
const std::string &originIP, const std::string &targetIP, const std::string &targetPort, const std::string &ownMAC,
|
|
const std::string &originIP, const std::string &targetIP, const std::string &targetPort, const std::string &ownMAC,
|
|
const std::string &originMAC, const std::string &channelGatewayMAC, const std::string &gatewayMAC, const bool relayOnly)
|
|
const std::string &originMAC, const std::string &channelGatewayMAC, const std::string &gatewayMAC, const bool relayOnly)
|
|
: CovertChannel(innerInterface, outerInterface,
|
|
: CovertChannel(innerInterface, outerInterface,
|
|
- "not (tcp and src host " + originIP + " and dst host " + targetIP + " and dst port " + targetPort + ") and not(dst host " + ownIP + ")",
|
|
|
|
- "not (tcp and src host " + targetIP + " and dst host " + ownIP + " and src port " + targetPort + ") and not(dst host " + ownIP + ")",
|
|
|
|
|
|
+ "(not (tcp and src host " + originIP + " and dst host " + targetIP + " and dst port " + targetPort + ")) and (not (dst host " + ownIP + "))",
|
|
|
|
+ "(not (tcp and src host " + targetIP + " and dst host " + ownIP + " and src port " + targetPort + ")) and (not (dst host " + ownIP + "))",
|
|
"tcp and src host " + originIP + " and dst host " + targetIP + " and dst port " + targetPort,
|
|
"tcp and src host " + originIP + " and dst host " + targetIP + " and dst port " + targetPort,
|
|
"tcp and src host " + targetIP + " and dst host " + ownIP + " and src port " + targetPort,
|
|
"tcp and src host " + targetIP + " and dst host " + ownIP + " and src port " + targetPort,
|
|
"tcp and src host " + partnerIP + " and dst host " + ownIP + " and dst port " + targetPort),
|
|
"tcp and src host " + partnerIP + " and dst host " + ownIP + " and dst port " + targetPort),
|