From amarnath at copperheadsystems.com Sat Jul 2 01:33:21 2011 From: amarnath at copperheadsystems.com (amarnath at copperheadsystems.com) Date: Sat, 2 Jul 2011 02:33:21 -0600 Subject: [Xorp-users] Printf in xorp-1.8 Message-ID: Hi All, Can anyone please let me know how to add printf's in xorp-1.8 for degugging.I have adding printf's in ospf and running through rtrmgr but those messages are not displayed in rtrmgr.I worked in xorp-1.6 previous and "frpintf" used to work well in that release. Thanks in Advace. Regards, Amarnath. From greearb at candelatech.com Sat Jul 2 07:31:56 2011 From: greearb at candelatech.com (Ben Greear) Date: Sat, 02 Jul 2011 07:31:56 -0700 Subject: [Xorp-users] Printf in xorp-1.8 In-Reply-To: References: Message-ID: <4E0F2BDC.5050002@candelatech.com> On 07/02/2011 01:33 AM, amarnath at copperheadsystems.com wrote: > Hi All, > Can anyone please let me know how to add printf's in xorp-1.8 for > degugging.I have adding printf's in ospf and running through rtrmgr but > those messages are not displayed in rtrmgr.I worked in xorp-1.6 previous > and "frpintf" used to work well in that release. XLOG_ERROR("value: %i", i); And please consider using the latest code from git: https://github.com/greearb/xorp.ct If you add any fixes, please post the patches and I'll add them to the upstream code if it looks correct. Thanks, Ben > > Thanks in Advace. > > Regards, > Amarnath. > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com From amarnath at copperheadsystems.com Sun Jul 3 10:09:46 2011 From: amarnath at copperheadsystems.com (amarnath at copperheadsystems.com) Date: Sun, 3 Jul 2011 11:09:46 -0600 Subject: [Xorp-users] Printf in xorp-1.8 In-Reply-To: <4E0F2BDC.5050002@candelatech.com> References: <4E0F2BDC.5050002@candelatech.com> Message-ID: <447683e2acaeb52d2fe36b5c4b586f91.squirrel@mail.copperheadsystems.com> Hi Ben, Thanks for your info. Is there any plan in future to add Routflow and ECMP functionality in xorp. Regards, Amarnath. > On 07/02/2011 01:33 AM, amarnath at copperheadsystems.com wrote: >> Hi All, >> Can anyone please let me know how to add printf's in xorp-1.8 for >> degugging.I have adding printf's in ospf and running through rtrmgr but >> those messages are not displayed in rtrmgr.I worked in xorp-1.6 previous >> and "frpintf" used to work well in that release. > > XLOG_ERROR("value: %i", i); > > And please consider using the latest code from git: > > https://github.com/greearb/xorp.ct > > If you add any fixes, please post the patches and I'll add them > to the upstream code if it looks correct. > > Thanks, > Ben > >> >> Thanks in Advace. >> >> Regards, >> Amarnath. >> >> _______________________________________________ >> Xorp-users mailing list >> Xorp-users at xorp.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > From greearb at candelatech.com Sun Jul 3 17:03:36 2011 From: greearb at candelatech.com (Ben Greear) Date: Sun, 03 Jul 2011 17:03:36 -0700 Subject: [Xorp-users] Printf in xorp-1.8 In-Reply-To: <447683e2acaeb52d2fe36b5c4b586f91.squirrel@mail.copperheadsystems.com> References: <4E0F2BDC.5050002@candelatech.com> <447683e2acaeb52d2fe36b5c4b586f91.squirrel@mail.copperheadsystems.com> Message-ID: <4E110358.90209@candelatech.com> On 07/03/2011 10:09 AM, amarnath at copperheadsystems.com wrote: > Hi Ben, > Thanks for your info. > Is there any plan in future to add Routflow and ECMP functionality in xorp. At this point, xorp supports everything my company needs, so I'm unlikely to add any new features myself. But, I'm happy to work with other folks to help them get their patches accepted if they want to work on such features. Thanks, Ben > > Regards, > Amarnath. > >> On 07/02/2011 01:33 AM, amarnath at copperheadsystems.com wrote: >>> Hi All, >>> Can anyone please let me know how to add printf's in xorp-1.8 for >>> degugging.I have adding printf's in ospf and running through rtrmgr but >>> those messages are not displayed in rtrmgr.I worked in xorp-1.6 previous >>> and "frpintf" used to work well in that release. >> >> XLOG_ERROR("value: %i", i); >> >> And please consider using the latest code from git: >> >> https://github.com/greearb/xorp.ct >> >> If you add any fixes, please post the patches and I'll add them >> to the upstream code if it looks correct. >> >> Thanks, >> Ben >> >>> >>> Thanks in Advace. >>> >>> Regards, >>> Amarnath. >>> >>> _______________________________________________ >>> Xorp-users mailing list >>> Xorp-users at xorp.org >>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users >> >> >> -- >> Ben Greear >> Candela Technologies Inc http://www.candelatech.com >> > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From yanwei at bupt.edu.cn Mon Jul 4 20:00:06 2011 From: yanwei at bupt.edu.cn (=?GB2312?B?0dXn4g==?=) Date: Tue, 05 Jul 2011 11:00:06 +0800 Subject: [Xorp-users] error when compiling xorp1.8.3 Message-ID: <4E127E36.1010905@bupt.edu.cn> Hi,everyone, I tried to compile xorp 1.8.3,but i failed,the error messages sre as below: //----------------------------------------------------------------------- fea/data_plane/firewall/firewall_get_netfilter.cc: In member function ?virtual int FirewallGetNetfilter::get_table4(std::list >&, std::string&)?: fea/data_plane/firewall/firewall_get_netfilter.cc:179: error: aggregate ?ipt_getinfo info4? has incomplete type and cannot be defined fea/data_plane/firewall/firewall_get_netfilter.cc:190: error: ?IPT_SO_GET_INFO? was not declared in this scope fea/data_plane/firewall/firewall_get_netfilter.cc:199: error: invalid application of ?sizeof? to incomplete type ?ipt_get_entries? fea/data_plane/firewall/firewall_get_netfilter.cc:201: error: ?IPT_SO_GET_ENTRIES? was not declared in this scope fea/data_plane/firewall/firewall_get_netfilter.cc:220: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:246: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:249: error: invalid use of incomplete type ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:215: error: forward declaration of ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:249: error: ?IPT_STANDARD_TARGET? was not declared in this scope fea/data_plane/firewall/firewall_get_netfilter.cc:250: error: invalid use of incomplete type ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:215: error: forward declaration of ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:252: error: invalid use of incomplete type ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:215: error: forward declaration of ?struct ipt_entry_target? fea/data_plane/firewall/firewall_get_netfilter.cc:257: error: invalid use of incomplete type ?struct ipt_standard_target? fea/data_plane/firewall/firewall_get_netfilter.cc:216: error: forward declaration of ?struct ipt_standard_target? fea/data_plane/firewall/firewall_get_netfilter.cc:265: error: invalid use of incomplete type ?struct ipt_standard_target? fea/data_plane/firewall/firewall_get_netfilter.cc:216: error: forward declaration of ?struct ipt_standard_target? fea/data_plane/firewall/firewall_get_netfilter.cc:274: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:275: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:281: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:282: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:283: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:284: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:292: error: invalid application of ?sizeof? to incomplete type ?ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:292: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:296: error: invalid use of incomplete type ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:214: error: forward declaration of ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:297: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:301: error: invalid use of incomplete type ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:214: error: forward declaration of ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:302: error: invalid use of incomplete type ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:300: error: forward declaration of ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:303: error: invalid use of incomplete type ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:300: error: forward declaration of ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:304: error: invalid use of incomplete type ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:300: error: forward declaration of ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:305: error: invalid use of incomplete type ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:300: error: forward declaration of ?struct ipt_tcp? fea/data_plane/firewall/firewall_get_netfilter.cc:311: error: invalid use of incomplete type ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:214: error: forward declaration of ?struct ipt_entry_match? fea/data_plane/firewall/firewall_get_netfilter.cc:312: error: invalid use of incomplete type ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:310: error: forward declaration of ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:313: error: invalid use of incomplete type ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:310: error: forward declaration of ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:314: error: invalid use of incomplete type ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:310: error: forward declaration of ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:315: error: invalid use of incomplete type ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:310: error: forward declaration of ?struct ipt_udp? fea/data_plane/firewall/firewall_get_netfilter.cc:326: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:327: error: invalid use of incomplete type ?struct ipt_entry? fea/data_plane/firewall/firewall_get_netfilter.cc:213: error: forward declaration of ?struct ipt_entry? scons: *** [obj/i686-pc-linux-gnu/fea/data_plane/firewall/firewall_get_netfilter.os] Error 1 scons: building terminated because of errors. //----------------------------------------------------------------------------- Anybody know how to solve the problem? By the way, i'm using Ubuntu 10.04 with kernel version 2.6.32-21. Thanks a lot! --yan From greearb at candelatech.com Tue Jul 5 10:33:51 2011 From: greearb at candelatech.com (Ben Greear) Date: Tue, 05 Jul 2011 10:33:51 -0700 Subject: [Xorp-users] error when compiling xorp1.8.3 In-Reply-To: <4E127E36.1010905@bupt.edu.cn> References: <4E127E36.1010905@bupt.edu.cn> Message-ID: <4E134AFF.70604@candelatech.com> On 07/04/2011 08:00 PM, ?? wrote: > Hi,everyone, > I tried to compile xorp 1.8.3,but i failed,the error messages sre as below: > Anybody know how to solve the problem? By the way, i'm using Ubuntu > 10.04 with kernel version 2.6.32-21. Thanks a lot! Did you make any changes to the /usr/include/linux* files? Normally that is required before firewall code will compile. Thanks, Ben > > --yan > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com From amarnath at copperheadsystems.com Mon Jul 11 23:51:07 2011 From: amarnath at copperheadsystems.com (amarnath at copperheadsystems.com) Date: Tue, 12 Jul 2011 00:51:07 -0600 Subject: [Xorp-users] Re : Multicast Problem. Message-ID: <937c64b696e0dbd392c3678104768edc.squirrel@mail.copperheadsystems.com> Hi All, I am using below topology to test multicast,but mcast traffic is not forwarded Host1----192.168.100.0/24----XORP-1.6----193.168.100.0/24---Host2 > IGMP is enabled globally and per interface in XORP. > IGMPv2 report to join 225.1.1.1 group is sent from Host1, that is getting learned in xorp. > Now i am sending mcast traffic from Host2 to the group 225.1.1.1 but it is not forwarded to Host1. I am using the reference test setup and configuration file as mentioned in the below link http://wifihack.net/blog/2009/07/igmpv3-multicasting-linux-mrouter-with-xorp-how-to-on-ubuntu/ Thanks in advance. Regards, Amarnath. From greearb at candelatech.com Tue Jul 12 09:43:15 2011 From: greearb at candelatech.com (Ben Greear) Date: Tue, 12 Jul 2011 09:43:15 -0700 Subject: [Xorp-users] Re : Multicast Problem. In-Reply-To: <937c64b696e0dbd392c3678104768edc.squirrel@mail.copperheadsystems.com> References: <937c64b696e0dbd392c3678104768edc.squirrel@mail.copperheadsystems.com> Message-ID: <4E1C79A3.6090804@candelatech.com> On 07/11/2011 11:51 PM, amarnath at copperheadsystems.com wrote: > Hi All, > I am using below topology to test multicast,but mcast traffic is not > forwarded > > Host1----192.168.100.0/24----XORP-1.6----193.168.100.0/24---Host2 > >> IGMP is enabled globally and per interface in XORP. > >> IGMPv2 report to join 225.1.1.1 group is sent from Host1, that is > getting learned in xorp. > >> Now i am sending mcast traffic from Host2 to the group 225.1.1.1 but it > is not forwarded to Host1. > > I am using the reference test setup and configuration file as mentioned in > the below link > http://wifihack.net/blog/2009/07/igmpv3-multicasting-linux-mrouter-with-xorp-how-to-on-ubuntu/ Did you double-check that your TTL is set to > 1 in your mcast generator? Also, you might try a more recent xorp..though usually the problem is configuration of xorp or TTL issues... Thanks, Ben > > Thanks in advance. > > Regards, > Amarnath. > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users -- Ben Greear Candela Technologies Inc http://www.candelatech.com