Perceptus Solutions Inc. | blog | Bingo Card Generator | Papaya Polls - Simple Surveys | Naque for Unique Names | Ivy DSL - internet for retailers | other

The Perceptus Forums
November 23, 2024, 02:13:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Perceptus Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: setportfw  (Read 40915 times)
votum76
Guest
« 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
Logged
netmask
Guest
« Reply #1 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)
Logged
Anonymous
Guest
« Reply #2 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
Logged
leonard
Administrator
Newbie
*****
Posts: 87


View Profile
« Reply #3 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
Logged
votum76
Guest
« Reply #4 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
Logged
Anonymous
Guest
« Reply #5 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
Logged
votum76
Guest
« Reply #6 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.
Logged
votum76
Guest
« Reply #7 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.
Logged
leonard
Administrator
Newbie
*****
Posts: 87


View Profile
« Reply #8 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.
Logged
netmask
Guest
« Reply #9 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
Logged
gsgi
Guest
« Reply #10 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
Logged
lc
Guest
« Reply #11 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?
Logged
Pages: [1]
  Print  
 
Jump to:  

Hosted by Perceptus Solutions Inc. Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC