Recent Posts

Pages: [1] 2 3 ... 8
1
News / Member Registration
« Last post by razwall on June 16, 2025, 07:48:27 PM »
Due to a completely rediculous amount of bot spam registrations, RazWall forum will be by invitation only. I will update the forum to allow users to send a limited number of invitations. More to follow on this change. In the mean time, new registrations are closed. I will be able to focus on development instead of cleaning up after bots.
2
News / update 5/16/2025
« Last post by razwall on May 16, 2025, 08:18:20 AM »
Still working on the 1.3 udpate. I am getting the basic network setup stuff operational in the web UI. I was having a lot trouble deciphering what Endian was doing loading but I think it's figured out. They are saving individual settings to flat config files, but load all settings up based on what page you select as a stateless session data, but all changes are written into a session cookie on the server as stateful. If the session cookie contains data, the prompt to apply changes is displayed. I am rewriting this so it's not so messy.
3
Dev Stuff / Re: Dynamic zone code dump
« Last post by razwall on May 01, 2025, 09:12:50 AM »
razwall-netwiz.cgi zone rewrite:

my $zone_settings = "${swroot}/zones/settings";

my @ALL_ZONES = &get_zones; # FETCH DYNAMIC ZONES - RAZWALL
#INITIAIZE ARRAY
my @eth_keys=('CONFIG_TYPE');

foreach $zone (@ALL_ZONES) {
push(@eth_keys, "$zone_ADDRESS");
push(@eth_keys, "$zone_NETMASK");
push(@eth_keys, "$zone_NETADDRESS");
push(@eth_keys, "$zone_BROADCAST");
push(@eth_keys, "$zone_CIDR");
push(@eth_keys, "$zone_DEV");
push(@eth_keys, "$zone_IPS");
}

I will add more once I have completed step 3 of the networks setup.. It's a train wreck!
4
Dev Stuff / Dynamic zone code dump
« Last post by razwall on May 01, 2025, 09:08:57 AM »
Zone based code rewritten in header.pl:

$swroot = '/razwall/config';
$zone_settings = "${swroot}/zones/settings";

# replace manual definition with dynamic zone data - RazWall:
#@zones = qw 'LAN DMZ LAN2 WAN';

%zonecolors;
%strings_zone;
%zone_ifaces;
@zones; # FETCH DYNAMIC ZONES - RAZWALL
@zones = &get_zones();

foreach $zone (@zones) {
open(ZF, "< $swroot/zones/$zone") or print "Unable to open zone file: $!\n";
@data = <ZF>;
close(ZF);

# @data sample:
# ZIFACE=eth0|eth1|eth2
# ZSTRING=LAN|PRETTY NAME|DUMB NAME
# ZCOLOR=green|red|blue|orange|yellow|... endless opportunitures
# ZTYPE=LAN|WAN|LOCAL
# ZDESC=Description of zone
# ZADDRESS=
# ZNETMASK=
# ZADDITIONAL=
# ZDHCP=off

foreach $kv (@data) {
($k,$v) = split(/=/, $kv);
${$k} = $v;
}
%zonecolors = ($zone => "$ZCOLOR");
%strings_zone = ($zone => "$ZSTRING");
%zone_ifaces = ($zone => "$ZIFACE");
%zone_type = ($zone => "$ZTYPE");
%zone_desc = ($zone => "$ZDESC");
%zone_address = ($zone => "$ZADDRESS");
%zone_netmask = ($zone => "$ZNETMASK");
%zone_additional = ($zone => "$ZADDITIONAL");
%zone_dhcp = ($zone => "$ZDHCP");
}

sub get_zones() { # ADDED FOR RAZWALL DYNAMIC ZONES
my $file = $zone_settings;
return read_config_file($file,'default');
}

sub read_config_file($$) {
    my $filename = shift;
    my $filename_default = shift;
    my @lines;
    if (! -e $filename) {
$filename = $filename_default;
    }
    open (FILE, "$filename");
    foreach my $line (<FILE>) {
    chomp($line);
    $line =~ s/[\r\n]//g;

    push(@lines, $line);
    }
    close (FILE);
    return @lines;
}

sub validzones() {
my @ret = ();
    my @zones = get_zones;

# USE NEW ZONE CONFIG PARAMS:
# %zonecolors = ($zone => "$ZCOLOR");
# %strings_zone = ($zone => "$ZSTRING");
# %zone_ifaces = ($zone => "$ZIFACE");
# %zone_type = ($zone => "$ZTYPE");

foreach $zone (@zones) {
if($zone_type{$zone} eq 'LAN') {
push(@ret, $zone);
next;
}
if( (!$zone_type{$zone} eq 'WAN') && (!$zone_type{$zone} eq 'LOCAL')) {
push(@ret, $zone);
next;
}
}
    return \@ret;
}
5
News / small web update
« Last post by razwall on April 30, 2025, 02:08:40 PM »
Touched up the homepage to reflect the new UI changes, added new screenshots.
6
News / Re: RazWall Alpha 1.3
« Last post by razwall on April 30, 2025, 12:45:30 PM »
adding a couple more screenshots of development in the first post on this thread.
7
News / Progress Report
« Last post by razwall on April 22, 2025, 04:46:42 PM »
Wrapping up a few features for 1.3 Alpha test and i will send out the ISO for testing in a few more days.

*New menu structure is generated and cached dynamically.
*New UI throughout both desktop and mobile
*New rule format is JSON instead of the old text/flat file system (This might move to a sqlite system down the road)
8
News / Re: RazWall Alpha 1.3
« Last post by razwall on April 22, 2025, 04:43:46 PM »
Added a few more screenshots from the firewall (DNAT) config pages i've been working on.
9
General Discussion / Re: RazWall will be an Endian Community Fork
« Last post by reki on April 19, 2025, 11:00:02 PM »
Got it.
First I'll try using 1.2 alpha not to check its functionality as a firewall, but to get a feel for how it works.
Thank you.
10
General Discussion / Re: RazWall will be an Endian Community Fork
« Last post by razwall on April 19, 2025, 10:16:33 PM »
Thanks for posting! RazWall is still in the development phase. I'm hoping to to have a new alpha version posted in the next few weeks. You are welcome to download the 1.2 alpha but it's not a functional firewall, just a test release of the deployment and package install mechanisms. I look forward to getting razwall out to as many people as possible. More involvement, faster development, better firewall.
Pages: [1] 2 3 ... 8