Recent Posts

Pages: 1 [2] 3 4 ... 10
11
News / RazWall Development Update 7-29-2025
« Last post by razwall on July 29, 2025, 11:17:36 AM »
I have consolidated the configs into a singe JSON format (razwall-master.json) and a queue file for pending changes (razall-queue.json). The queue will still allow for changes to be made without applying the settings. This will make backup and restore much easier. it will also make tracking down config errors and manual modifications and third party additions easier to work with.

The VLAN section is now functional. A VLAN can be created and attached to an interface which is then bridged to the selected physical interface. The new virtual interface can be assigned as a new zone which in turn will have its own rules and DHCP config.

12
News / Re: update 5/16/2025
« Last post by razwall on July 17, 2025, 09:37:57 AM »
I am working to pick all of these pieces apart so they can all be configured separately. Once this is working, I can build a new 'wizard' that will run independently of the main admin scripts rather than having them all mashed together while tracking all of the 'switches' they used. While I am doing this, I figured I might as well rewrite the configs to use a global JSON file format. This way the program is not trying to read 30 or 40 configs on login and track it across sessions using state files. I have pulled the thread on the sweater and it is unraveling.
13
News / Re: update 5/16/2025
« Last post by techdevel2 on July 06, 2025, 10:22:47 AM »
Hi,
I think so you are working with the netwizard module of endian cgi's. I have used pfsense/opnsense and their way of interface assignment is very good.  I think, redesign required in the network wizard for the dynamic zone incorporation or management. 
14
News / Re: Member Registration
« Last post by techdevel2 on July 06, 2025, 10:18:06 AM »
Hi,
Any update on your development work.
15
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.
16
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.
17
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!
18
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;
}
19
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.
20
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.
Pages: 1 [2] 3 4 ... 10