Bug 129204 - security/fwbuilder 3.0.2 cores when adding an IPv6 network
Summary: security/fwbuilder 3.0.2 cores when adding an IPv6 network
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-26 11:10 UTC by Helmut Schneider
Modified: 2008-12-07 10:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Schneider 2008-11-26 11:10:02 UTC
When adding a new IPv6 network (Objects-Network-New Network IPv6) fwbuilder core dumps:

[root@BSDHelmut ~]# fwbuilder
terminate called after throwing an instance of 'libfwbuilder::FWException'
Abort trap: 6 (core dumped)
[root@BSDHelmut ~]#
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-26 11:34:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2008-11-26 19:44:30 UTC
State Changed
From-To: open->feedback

Asked submitter for more information.
Comment 3 Cy Schubert 2008-11-26 19:47:08 UTC
Hi Helmut,

Can you give me more information? I'm unable to reproduce your problem.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0
Comment 4 Helmut Schneider 2008-11-27 11:23:32 UTC
Hi,

> Can you give me more information? I'm unable to reproduce your problem.

sure. I'm running fwbuilder on FreeBSD-7.0 stable. There is no window 
manager so I run it via putty and XMing on Windows XP. Both FreeeBSD and XP 
are dual-stacked with IPv4 and IPv6.

I start a "clean" fwbuilder process, go to Network, objects, right click and 
point to "new network ipv6" and that's it. See also this lovely video at

http://www.charlieroot.de/fwbuilder/fwbuilder.htm

:)

AFAICS I can create any other network object, also new IPv6 Addresses and 
IPv4 networks.

Don't hesitate to ask for more information.

Helmut
Comment 5 Cy Schubert 2008-11-28 00:29:31 UTC
In message <3446B6F3173543A582E8DC19E701C008@vpe.de>, "Helmut Schneider" 
writes
:
> Hi,
> 
> > Can you give me more information? I'm unable to reproduce your problem.
> 
> sure. I'm running fwbuilder on FreeBSD-7.0 stable. There is no window 
> manager so I run it via putty and XMing on Windows XP. Both FreeeBSD and XP 
> are dual-stacked with IPv4 and IPv6.
> 
> I start a "clean" fwbuilder process, go to Network, objects, right click and 
> point to "new network ipv6" and that's it. See also this lovely video at
> 
> http://www.charlieroot.de/fwbuilder/fwbuilder.htm
> 
> :)
> 
> AFAICS I can create any other network object, also new IPv6 Addresses and 
> IPv4 networks.

I've been able to recreate the problem locally. I get a little more output.

cwsys$ fwbuilder
InetAddr::toString() Invalid bit length 0
terminate called after throwing an instance of 'libfwbuilder::FWException'
Abort trap: 6
cwsys$ 

I tried creating an IPv6 interface first but to no avail, the problem still 
exists.

I'll discuss this with Vadim Kurland, the developer of Fwbuilder, first 
before doing anything.

> 
> Don't hesitate to ask for more information.

If we need more information, I will make sure to ask.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0
Comment 6 Cy Schubert freebsd_committer freebsd_triage 2008-11-28 01:37:15 UTC
State Changed
From-To: feedback->analyzed

Found the problem. Will discuss with Vadim Kurland, author of Fwbuilder. This 
may be an implmentation difference between FreeBSD and some Linux 
distributions.
Comment 7 Cy Schubert freebsd_committer freebsd_triage 2008-11-28 23:17:20 UTC
State Changed
From-To: analyzed->feedback

Port has been updated. Submitter has been asked to update his ports tree 
and try it again. Thanks to Vadim Kurland for being so very responsive and 
fixing this in his software for us.
Comment 8 dfilter service freebsd_committer freebsd_triage 2008-11-28 23:25:49 UTC
cy          2008-11-28 23:25:36 UTC

  FreeBSD ports repository

  Modified files:
    security/libfwbuilder Makefile distinfo 
  Log:
  Update to 3.0.2 Build 676. This repairs PR 129204.
  
  PR:             129204
  
  Revision  Changes    Path
  1.51      +2 -0      ports/security/libfwbuilder/Makefile
  1.25      +3 -3      ports/security/libfwbuilder/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 dfilter service freebsd_committer freebsd_triage 2008-11-28 23:26:50 UTC
cy          2008-11-28 23:26:42 UTC

  FreeBSD ports repository

  Modified files:
    security/fwbuilder   Makefile distinfo 
  Log:
  Update to 3.0.2 Build 676. This repairs PR 129204.
  
  PR:             129204
  
  Revision  Changes    Path
  1.56      +2 -0      ports/security/fwbuilder/Makefile
  1.26      +3 -3      ports/security/fwbuilder/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 10 Cy Schubert 2008-11-28 23:31:14 UTC
Helmut,

Vadim has rolled a new Fwbuilder (thanks Vadim) and I've updated to port to use his new code. Would you please give it a try.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0
Comment 11 Helmut Schneider 2008-11-29 13:31:46 UTC
From: "Cy Schubert" <Cy.Schubert@komquats.com>

> Vadim has rolled a new Fwbuilder (thanks Vadim) and I've updated to port
> to use his new code. Would you please give it a try.

I can create IPv6 Network now, I can chose a name, a prefix and a comment, 
but the address is not saved but reset to "::" after selecting a different 
object. This btw. applies also to newly created IPv6 Addressed.

Right click Networks/Addresses, select "New Network/Address IPv6", put in an 
address (e.g. 2001:db8::1), apply, click e.g. "Hosts" and click back to your 
newly cereated object. The address is reset to "::".

Regards, Helmut
Comment 12 Helmut Schneider 2008-12-04 08:27:23 UTC
From: "Helmut Schneider" <jumper99@gmx.de>
> From: "Cy Schubert" <Cy.Schubert@komquats.com>
>
>> Vadim has rolled a new Fwbuilder (thanks Vadim) and I've updated to port
>> to use his new code. Would you please give it a try.
>
> I can create IPv6 Network now, I can chose a name, a prefix and a
> comment,  but the address is not saved but reset to "::" after selecting
> a different  object. This btw. applies also to newly created IPv6
> Addressed.
>
> Right click Networks/Addresses, select "New Network/Address IPv6", put
> in an  address (e.g. 2001:db8::1), apply, click e.g. "Hosts" and click
> back to your  newly cereated object. The address is reset to "::".


Appendix: This only applies to FreeBSD, using e.g. the Windows Version 
(3.0.2.676) it works fine. If I create the addresses on Windows and then put 
the fwb file back to FreeBSD the addresses are gone again.
Comment 13 Cy Schubert freebsd_committer freebsd_triage 2008-12-07 07:40:01 UTC
State Changed
From-To: feedback->closed

I believe Vadim and I have the IPv6 issues addressed. The latest port 
addresses this PR.
Comment 14 Helmut Schneider 2008-12-07 10:49:06 UTC
From: <cy@FreeBSD.org>
> I believe Vadim and I have the IPv6 issues addressed. The latest port
> addresses this PR.

Fixed, yes.

Thanks a lot for the quick responses and fixes, Helmut