[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MacGate Revival
On Tuesday, May 28, 2013 6:55:08 AM UTC-5, Steven Hirsch wrote:
> On 05/28/2013 06:59 AM, Miles Lott wrote:
>
>
>
> (BIG snip...)
>
>
>
> >> 0030 60 12 08 84 e7 41 00 00 02 04 02 21 `....A.. ...!
>
> >
>
> > Now working on the startup portion of the software where it scans for
>
> > existing ip addresses. Previously it found none but now it finds the two
>
> > for a2server (ipddp0 and eth0) and the one from the IIGS, which had
>
> > registered on the last run. Unfortunately, it segfaults when doing a
>
> > memcpy of the ip address. I guess I need to post this somewhere:
>
> >
>
> > https://sourceforge.net/p/macgated/wiki/Home/
>
> >
>
> > If anyone would like to participate...
>
>
>
> No promises, but I will try to find time to take a look.
>
>
>
> Have you run this under a debugger?
>
>
>
> Steve
There is a script in there to run gdb. Since I am currently working on the startup scanner, it dies in that function with not much more information. I know it is happening at the memcpy function when trying to copy an element (ip address) from the struct returned from an nbp_lookup. This attempts to setup routes for already registered IPADDRESS and IPGATEWAY.