The Perceptus Forums

The Forums => SmoothWall Dynamic DNS Mod. => Topic started by: votum76 on April 01, 2004, 09:57:42 AM



Title: setportfw
Post by: votum76 on April 01, 2004, 09:57:42 AM
thanks to your comments in header.pl I was able to fix the newer version of header.pl unfortunately setportfw needs some work if you could tell me what you did to setuid.h I think I can get it working


Title: posted?
Post by: netmask on April 02, 2004, 05:46:41 AM
Have you already posted your header.pl, or will do just when setportfw is done?

Regards,
Mauricio Teixeira
(Maceio/AL/Brazil)


Title: Re: setportfw
Post by: Anonymous on April 02, 2004, 01:59:54 PM
Quote from: "votum76"
thanks to your comments in header.pl I was able to fix the newer version of header.pl unfortunately setportfw needs some work if you could tell me what you did to setuid.h I think I can get it working


Hi votum76,

(Working from memory,  still trying to shuffle data off a dying drive...)

I think the biggest change was redfining one of the constants that was used to validate IP addresses.  Instead of "IP_NUMBERS" being simply 0-9, I think i changed it to 0-9+A-Z somehow.

Hope this helps.


BTW, I'd love to get a copy of your updates when you've got it all working.  


Regards,

LC


Title: setportfw
Post by: leonard on April 02, 2004, 02:13:52 PM
I had quick browse of the source files I originally put up on the web. It looks like I left the original setuid.h file in the archive as "setuid.h~".

Here's the one line I think I changed:

#define IP_NUMBERS "./" NUMBERS

Became:

#define IP_NUMBERS "./" LETTERS_NUMBERS

It's not the prettiest hack, but it worked at the time.

Regards!

Leonard


Title: I think I have it
Post by: votum76 on April 05, 2004, 12:29:56 PM
Ok I made the changes and to the newer source and compiled it
I am trying it out now
on my smoothwall box with fixes2 installed
I made a ext2 disk image with winimage
if you want to try the files you can download it at
http://www.computer-heaven.net/Pictures/smoothwallhack.IMZ


Title: setportfw
Post by: Anonymous on April 05, 2004, 12:56:20 PM
Thanks for the link.  If I get time, and a machine to play with, I'll give this a test.

Do you mind if I put the files up on the web on my page?

LC


Title: files
Post by: votum76 on April 05, 2004, 01:55:06 PM
updated file because I forgot to include the crontab file that is needed
you are free to put the image on your site of course.
it seems to work so far will know for sure by tommorow.


Title: Works!
Post by: votum76 on April 07, 2004, 10:49:45 AM
my new image seems to work perfectly I would like to add the error checking back into the header.pl maybe I will fix that maybe not
one note: it seems the original version of the program which was made for the beta build really screwed up my smoothwall final with fixes 2 only by reinstalling smoothwall and then applying updates and then finally applying the files in my image did the process work.


Title: setportfw
Post by: leonard on April 09, 2004, 12:00:25 AM
Good to hear that it's working! Sometime this weekend I'll pop your file on the page.

I agree, it would be nice to put back some of the error checking - but I never got around to it.


Title: It's working!
Post by: netmask on April 10, 2004, 05:26:54 AM
The new mod is working fine with SmoothWall U2.

Thank you very much!

Regards,
Mauricio Teixeira
Maceio/AL/Brazil


Title: setportfw
Post by: gsgi on May 04, 2004, 07:58:27 PM
Help!  I have downloaded Smoothwall and installed it.

I downloaded the winimage fix for the smoothie v2 patches 1 & 2

I downloaded winimage.

I am stuck.

Thanks,

Greg


Title: setportfw
Post by: lc on May 08, 2004, 11:56:19 PM
Quote from: "gsgi"
Help!  I have downloaded Smoothwall and installed it.

I downloaded the winimage fix for the smoothie v2 patches 1 & 2

I downloaded winimage.

I am stuck.

Thanks,

Greg


Greg,

You're not going to get much help on any web forum when you describe your problem as "I am stuck".  What are stuck at?  Using winimage? Using the mod?