fix: adding --queue-bypass parameter to NFQUEUE created by the packet.proxy module.

This commit is contained in:
evilsocket 2018-03-31 12:47:50 +02:00
parent 07f047dff3
commit e80e73879f
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -116,6 +116,7 @@ func (pp *PacketProxy) runRule(enable bool) (err error) {
args = append(args, []string{
"-j", "NFQUEUE",
"--queue-num", fmt.Sprintf("%d", pp.queueNum),
"--queue-bypass",
}...)
log.Debug("iptables %s", args)