<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/ipcad/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/ipcad/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 17 Feb 2017 07:43:38 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ipcad/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#8 Interface ID</title><link>https://sourceforge.net/p/ipcad/support-requests/8/?limit=25#72a9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have checked the source, it seems you need to set "capture-ports" to enable. Even though the inline documentation of ipcad.conf states that NetFlow operation is not affected by this setting, the source files say in process.c in function process_packet_data:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;       ** if(conf-&amp;gt;capture_ports)** {
                if(iface_in) {
                        memcpy(flow.ifInName, iface_in, IFNAMSIZ);
                        flow.ifInName[IFNAMSIZ-1] = 0;
                        flow.ifInIndex = iface_to_snmp_id(flow.ifInName);
                } else {
                        flow.ifInName[0] = '\0';
                        flow.ifInIndex = ps-&amp;gt;ifIndex;
                }
                if(iface_out) {
                        memcpy(flow.ifOutName, iface_out, IFNAMSIZ);
                        flow.ifOutName[IFNAMSIZ-1] = 0;
                        flow.ifOutIndex = iface_to_snmp_id(flow.ifOutName);
                } else {
                        flow.ifOutName[0] = '\0';
                        flow.ifOutIndex = -1;
                }
        } else {
                flow.ifInName[0] = '\0';
                flow.ifOutName[0] = '\0';
               ** flow.ifOutIndex = -1;**
                flow.ifInIndex = -1;
        }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Changing the capture-ports setting to enabled fixed the problem, netflow capture included interfaces indexed the same as on the ipcad configuration file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emil Cazamir</dc:creator><pubDate>Fri, 17 Feb 2017 07:43:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net952bc02653a49b670af70a07e2bf84979110d335</guid></item><item><title>#8 Interface ID</title><link>https://sourceforge.net/p/ipcad/support-requests/8/?limit=50#5113</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This functionality was fixed in my configuration with the following setting in ipcad.conf&lt;/p&gt;
&lt;p&gt;netflow ifclass eth mapto 00-99&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pircs</dc:creator><pubDate>Thu, 10 Oct 2013 00:37:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7c3e69ff06b396fcb243039a8d069d966601d5c8</guid></item><item><title>Interface ID</title><link>https://sourceforge.net/p/ipcad/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ipcad doesn't correctly pull the interface ID. Manually setting it in the config file doesn't change the interface IDs that are in the flow information.&lt;br /&gt;
Currently, all interfaces are given the ID 65535. Attached is a Wireshark dump of data as sent by ipcad.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas York</dc:creator><pubDate>Mon, 06 Dec 2010 20:34:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netee499efcbee6014f6f42ed66587a7cd54eef9081</guid></item><item><title>Accounting only bytes</title><link>https://sourceforge.net/p/ipcad/support-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Is there any way to count only bytes from a src/dst host without counting packets, and cumulate traffic from multiple connections between same hosts&lt;/p&gt;
&lt;p&gt;Ex.&lt;/p&gt;
&lt;p&gt;Src           Dst           Bytes&lt;br /&gt;
x.x.x.x      y.y.y.y          z&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 21 Sep 2007 13:36:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete7182c2e04d0151a70fbdc3de61b38a27e5a2ce9</guid></item><item><title>problems on linux ppp*</title><link>https://sourceforge.net/p/ipcad/support-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;br /&gt;
Got a lot of messages like&lt;br /&gt;
modprobe: modprobe: Can't locate module pppxx&lt;br /&gt;
after disconnecting some of ppp interfaces&lt;/p&gt;
&lt;p&gt;IPCAD v3.7 (tried 3.6 too with the same) is running on &lt;br /&gt;
rh-7.3 linux box as Netflow exporter from ppp &lt;br /&gt;
interfaces. It's seems like some traffic is lost too.&lt;br /&gt;
Ofcource it is may be kernel problem too, but in which &lt;br /&gt;
direction i must debug to solve this issue?&lt;br /&gt;
This problem on russian language&lt;br /&gt;
&lt;a href="http://www.netup.ru/phpbb/viewtopic.php?" rel="nofollow"&gt;http://www.netup.ru/phpbb/viewtopic.php?&lt;/a&gt;&lt;br /&gt;
t=682&amp;amp;highlight=&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">abdulla</dc:creator><pubDate>Thu, 27 Jul 2006 17:30:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb8a9415ca9c4ebd1db4a589fea018ca129133f65</guid></item><item><title>ppp*</title><link>https://sourceforge.net/p/ipcad/support-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;br /&gt;
tail /var/log/messages gives&lt;br /&gt;
...&lt;br /&gt;
Jul 21 09:23:33 intra modprobe: modprobe: Can't locate &lt;br /&gt;
module pppp4&lt;br /&gt;
Jul 21 09:23:33 intra modprobe: modprobe: Can't locate &lt;br /&gt;
module ppp41&lt;br /&gt;
Jul 21 09:23:34 intra modprobe: modprobe: Can't locate &lt;br /&gt;
module ppp43&lt;br /&gt;
...&lt;br /&gt;
cat /usr/local/etc/ipcad.conf&lt;br /&gt;
...&lt;br /&gt;
interface ppp*;&lt;br /&gt;
...&lt;br /&gt;
uname -a&lt;br /&gt;
Linux intra 2.4.20-28.7smp #1 SMP Thu Dec 18 11:18:31 &lt;br /&gt;
EST 2003 i686 unknown&lt;/p&gt;
&lt;p&gt;what is wrong with ppp*?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 21 Jul 2006 05:39:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net267804eb0ea10fb7df3a23ade70383837cb274e7</guid></item><item><title>Counting outgoing/incoming packets separetly with Netflow</title><link>https://sourceforge.net/p/ipcad/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I installed IPCAD on some linux router (Linksys WRT54G&lt;br /&gt;
embedded linux).&lt;br /&gt;
It is using ULOG logging.&lt;/p&gt;
&lt;p&gt;Both traffic for incoming and outgoing are using the&lt;br /&gt;
same nlgroup 1.&lt;/p&gt;
&lt;p&gt;I send the ip accounting data with Netflow to another&lt;br /&gt;
linux server (#2).&lt;/p&gt;
&lt;p&gt;There is pmacctd running (netflow collector) which&lt;br /&gt;
collects the data and writes it into a mysql db.&lt;/p&gt;
&lt;p&gt;In pmacctd I can make use of agent_id mapping per&lt;br /&gt;
Netflow V5 definition.&lt;/p&gt;
&lt;p&gt;This is the description:&lt;br /&gt;
! File syntax is key-based. Position of keys inside a&lt;br /&gt;
row (rule) is not relevant.&lt;br /&gt;
! An atomic expression (example: 'id=1') does not allow&lt;br /&gt;
spaces. First full match&lt;br /&gt;
! wins: take care to the order you write rules. Each&lt;br /&gt;
rule needs 'id' and 'ip' keys.&lt;br /&gt;
!&lt;br /&gt;
! list of currently supported keys follow:&lt;br /&gt;
!&lt;br /&gt;
! 'id'  ID value to be returned if a full match occurs.&lt;br /&gt;
! 'ip'  IP address of the box (router, probe, etc.)&lt;br /&gt;
exporting NetFlow packets.&lt;br /&gt;
! 'in'  Input interface as it's written into NetFlow&lt;br /&gt;
packet.&lt;br /&gt;
! 'out' Output interface as it's written into NetFlow&lt;br /&gt;
packet.&lt;br /&gt;
!&lt;/p&gt;
&lt;p&gt;id=1    ip=192.168.1.1  in=1    out=0&lt;br /&gt;
id=2    ip=192.168.1.1  out=2   in=0&lt;/p&gt;
&lt;p&gt;There is a field agent_id in the acct_v2 SQL table&lt;br /&gt;
which get's written.&lt;/p&gt;
&lt;p&gt;In that way, I want to separate packet accounting for&lt;br /&gt;
1x incoming&lt;br /&gt;
1x outgoing&lt;/p&gt;
&lt;p&gt;But it seems not working since netflow interface output&lt;br /&gt;
is permanently set to 0.&lt;/p&gt;
&lt;p&gt;netflow interface input seems to be set to 1.&lt;/p&gt;
&lt;p&gt;The problem is, incoming + outgoing packets are all&lt;br /&gt;
logged by agent_id 1 since output is alltimes 0.&lt;/p&gt;
&lt;p&gt;Request:&lt;br /&gt;
Is there any way that I get exported netflow data with&lt;br /&gt;
the correct SNMP interfaces 1 and 2 ?&lt;br /&gt;
If it is a incoming packet, netflow output should be&lt;br /&gt;
set to 0.&lt;br /&gt;
If it is a outgoing packet, netflow output field needs&lt;br /&gt;
to be set to 1 or 2 and netflow input field to 0.&lt;/p&gt;
&lt;p&gt;nflow.c:&lt;br /&gt;
static void&lt;br /&gt;
flow_export(double now, server *srv, flow_el_t *el) {&lt;br /&gt;
if(el-&amp;gt;flow.ifSource) {&lt;br /&gt;
packet_source_t *ps = el-&amp;gt;flow.ifSource;&lt;br /&gt;
nfr-&amp;gt;input   = htons(ps-&amp;gt;ifIndex);&lt;br /&gt;
} else {&lt;br /&gt;
nfr-&amp;gt;input   = 0;&lt;br /&gt;
}&lt;br /&gt;
nfr-&amp;gt;output  = 0;    /* Can't distinguish between I and O&lt;br /&gt;
;( */&lt;/p&gt;
&lt;p&gt;The other solution, which would be also usable for me&lt;br /&gt;
is, if I use ULOG not to log to same nlgroup 1 but&lt;br /&gt;
using different groups 1 and 2.&lt;br /&gt;
1 for incoming, 2 for outgoing.&lt;br /&gt;
ipcad.conf could then introduce a ULOG-nlgroup to&lt;br /&gt;
netflow input and output interface mapping.&lt;/p&gt;
&lt;p&gt;BTW:&lt;br /&gt;
It seems, that src_port + dst_port get's not logged by&lt;br /&gt;
pmacct netflow collector.&lt;br /&gt;
Any way how I can make sure that ipcad is sending the&lt;br /&gt;
ports to pmacct ?&lt;br /&gt;
Is there any debug option ?&lt;br /&gt;
Is there any way for me to set ipcad to debug for what&lt;br /&gt;
data it collects from ULOG ?&lt;/p&gt;
&lt;p&gt;It cost me now at least 2 weeks to find the appropriate&lt;br /&gt;
architecture and tools, to get finally IP accounting on&lt;br /&gt;
WRT54G working.&lt;br /&gt;
I have already choosen your tool, to do it's job on WRT.&lt;/p&gt;
&lt;p&gt;Your help is very much appreciated!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Thomas Heiss&lt;br /&gt;
E-Mail: contact@agency.franken.de&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 12 Sep 2004 22:16:22 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net82c30340b73e55539b0506fa17b91adcca0ee432</guid></item><item><title>do not count the same packets</title><link>https://sourceforge.net/p/ipcad/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Could you please implement a feature to allow switching&lt;br /&gt;
on a packets tracking?&lt;br /&gt;
I mean, if a packet came from eth0 (srcip=1.1.1.1,&lt;br /&gt;
dstip=2.2.2.2) and to reach dstip the packet shoud&lt;br /&gt;
traverse eth1, ipcad will count  this _one_ packet&lt;br /&gt;
twice (first when it came to eth0 and second when it&lt;br /&gt;
goes out from eth1).&lt;br /&gt;
Thank you in advance!&lt;/p&gt;
&lt;p&gt;Alexander.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander</dc:creator><pubDate>Fri, 03 Sep 2004 08:09:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netedb34e3f7bc3cb1a88992bf25202e39a07df313d</guid></item><item><title>port aggregating</title><link>https://sourceforge.net/p/ipcad/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;-- from ipcad.conf.sample --&lt;br /&gt;
aggregate 3128-3128 into 3128&lt;br /&gt;
aggregate 1024-65535 into 65535&lt;/p&gt;
&lt;p&gt;DO NOT WORK, it aggregates only this range :-(( &lt;br /&gt;
aggregate 1024-65535 into 65535&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
Dmitry,&lt;br /&gt;
altex@crazy.ru&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Aug 2004 06:22:28 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb3f444031639c5ef8b87a1a40f113374983dad80</guid></item><item><title>cannot get ipcad to function</title><link>https://sourceforge.net/p/ipcad/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have compiled and installed ipcad.  The sample config &lt;br /&gt;
file has been edited to suit my needs (I think).&lt;/p&gt;
&lt;p&gt;I am running FreeBSD 4.5.  I am using the promiscuous &lt;br /&gt;
mode only.&lt;/p&gt;
&lt;p&gt;When trying to run the program from the command line &lt;br /&gt;
or as a daemon I get the following error message:&lt;/p&gt;
&lt;p&gt;Opening fxp0... [fxp0/interactive mode: Buffering &lt;br /&gt;
disabled] Initialized&lt;br /&gt;
Opening fxp0... [fxp0/interactive mode: Buffering &lt;br /&gt;
disabled] Initialized&lt;br /&gt;
Aggregate network 0.0.0.0/0.0.0.0 -&amp;amp;gt; 255.255.255.0&lt;br /&gt;
Configured RSH Server listening at 127.0.0.1&lt;br /&gt;
Can't open PID file /var/run/ipcad.pid: No such file or &lt;br /&gt;
directory&lt;br /&gt;
Can't intialize pid file /var/run/ipcad.pid: No such file or &lt;br /&gt;
directory&lt;/p&gt;
&lt;p&gt;I have touched the file and given 777 access to the file - &lt;br /&gt;
to no avail.&lt;/p&gt;
&lt;p&gt;Do you have any suggestions?&lt;/p&gt;
&lt;p&gt;My e-mail address is beersJ@moravian.edu.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 26 Feb 2003 22:30:57 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net03516fbb0db69f5b9b80787b933eb8b504c0b47d</guid></item></channel></rss>