<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Сбор netflow с сенсора в бд]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=29532&amp;type=atom" />
	<updated>2013-08-26T07:55:37Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=29532</id>
		<entry>
			<title type="html"><![CDATA[Re: Сбор netflow с сенсора в бд]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=360258#p360258" />
			<content type="html"><![CDATA[<p>разобрался, в iptables нужно было правило поставить первым</p>]]></content>
			<author>
				<name><![CDATA[r1sh]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14933</uri>
			</author>
			<updated>2013-08-26T07:55:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=360258#p360258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Сбор netflow с сенсора в бд]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=358028#p358028" />
			<content type="html"><![CDATA[<p>Что показывает </p><div class="codebox"><pre><code>ps aux | grep nfcapd</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Macumazan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=952</uri>
			</author>
			<updated>2013-08-12T11:23:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=358028#p358028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Сбор netflow с сенсора в бд]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=358004#p358004" />
			<content type="html"><![CDATA[<p>Стоит Debain 6.0 с iptables используется сугубо как роутер. Собрал ipt_netflow, добавил правила, все добавилось:<br />iptables -L -v -n<br />Chain INPUT (policy ACCEPT 13538 packets, 1315K bytes)<br />pkts bytes target prot opt in out source destination<br />23907 2309K NETFLOW all -- * * 0.0.0.0/0 0.0.0.0/0 NETFLOW</p><p>Chain FORWARD (policy ACCEPT 397 packets, 16820 bytes)<br />pkts bytes target prot opt in out source destination<br />8042M 4070G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED<br />522M 41G ACCEPT all -- eth0 * &lt;скрыто&gt;/24 0.0.0.0/0 ctstate NEW<br />849 35748 NETFLOW all -- * * 0.0.0.0/0 0.0.0.0/0 NETFLOW</p><p>Chain OUTPUT (policy ACCEPT 11575 packets, 1323K bytes)<br />pkts bytes target prot opt in out source destination<br />20263 2346K NETFLOW all -- * * 0.0.0.0/0 0.0.0.0/0 NETFLOW</p><p>Создал файл в modprobe.d, указал destination 127.0.0.1 9996 порт, tcpdump видит трафик.</p><p>Собираю на той же ос с ncapd и читаю с nfdump.</p><p>Может у меня руки кривые, но я пробовал:</p><p>nfdump -R /var/netflow/ -s record -n 10<br />nfdump -R /var/netflow/$TODAY -s record -n 10<br />nfdump -R /var/netflow/$YESTURDAY -s record -n 10</p><p>Результаты одни и те же. При этом nfdump показывает максимальный трафик с одного хоста 12000 байт, а snmp показывает, что прошло минимум 30Гб за один день, в чем блин косяк?:(</p>]]></content>
			<author>
				<name><![CDATA[r1sh]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14933</uri>
			</author>
			<updated>2013-08-12T08:02:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=358004#p358004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Сбор netflow с сенсора в бд]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=357563#p357563" />
			<content type="html"><![CDATA[<p>Привет!</p><p>Есть шлюз на Debian&#039;е с iptables. Поставил ipt-netflow для сбора трафика.</p><p>Подскажите пожалуйста, чем можно собирать данные чтобы писать в бд?</p>]]></content>
			<author>
				<name><![CDATA[r1sh]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14933</uri>
			</author>
			<updated>2013-08-09T09:13:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=357563#p357563</id>
		</entry>
</feed>
