<div dir="ltr">Hello list, ..<div><br></div><div>I have a problem where I need to track outgoing connections - in this case, to destination port 25 - from containers, that use the standard libvirt network driver. (Fedora 21)<br clear="all"><div><br></div><div>iptables is running on the host and on a test container,</div><div>I can track outgoing connection on the host with:</div><div><br></div><div>iptables -I OUTPUT -p tcp --dport 25 -m conntrack --ctstate NEW -j LOG --log-prefix "IPTABLES_LOG"<br></div><div><br></div><div>.. but this command doesn't seem to work on the containers.</div><div>Actually the container logs are a bit like a misery to me. It reports as the container kernel, but it seems to contain log-elements from the host. ...</div><div><br></div><div>Any lxc / iptables expert that could point me to the right direction?</div><div><br></div><div>Thank you, ...</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"> <font size="4">Király </font><span style="font-size:large">István</span></div><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-align:left;background-color:rgb(255,255,255)"><font size="2">+36 209 753 758</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-align:left;background-color:rgb(255,255,255)"><font size="2"><a href="mailto:LaKing@D250.hu" target="_blank">LaKing@D250.hu</a></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-align:left;background-color:rgb(255,255,255)"><a href="http://d250.hu/" target="_blank"><img src="http://laking.d250.hu/lab.png"></a></div></div></div></div></div></div></div>
</div></div>