Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - razwall

Pages: [1] 2 3 ... 5
1
Dev Stuff / Re: Dynamic zone code dump
« 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!

2
Dev Stuff / Dynamic zone code dump
« 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;
}

3
News / small web update
« on: April 30, 2025, 02:08:40 PM »
Touched up the homepage to reflect the new UI changes, added new screenshots.

4
News / Re: RazWall Alpha 1.3
« on: April 30, 2025, 12:45:30 PM »
adding a couple more screenshots of development in the first post on this thread.

5
News / Progress Report
« 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)

6
News / Re: RazWall Alpha 1.3
« on: April 22, 2025, 04:43:46 PM »
Added a few more screenshots from the firewall (DNAT) config pages i've been working on.

7
General Discussion / Re: RazWall will be an Endian Community Fork
« 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.

8
News / Re: RazWall Alpha 1.3
« on: April 14, 2025, 09:55:30 AM »
it's still a mess with the old 3ndian interface. The firewall is still not applied on startup so its not really functional. I hope to have more working components in the 1.3 release.

9
News / Re: RazWall Alpha 1.3
« on: April 10, 2025, 11:02:44 AM »
I will be adding some additional touches and finishing additional features to ensure things are more functional before releasing the ISO. I am hoping to have a working basic firewall with this release.

10
News / RazWall Alpha 1.3
« on: April 10, 2025, 10:47:45 AM »
As promised, here are a few pics of the 1.3 release (updated 4/30/2025)

11
General Discussion / Re: RazWall will be an Endian Community Fork
« on: April 08, 2025, 03:55:14 PM »
It just takes time to learn. Move at your own pace but keep challenging yourself. You will get there!

12
News / Major Overhaul coming down the pipe...
« on: April 08, 2025, 02:53:21 PM »
I have been working on this project like crazy the last few weeks. Modernizing, stripping things down to the core to make the UI more modern and user friendly. Here is a list of changes, I will post pics soon and release a new ISO with a week.

Changes:
New web UI
Dark/Light themes
Responsive/mobile friendly
Realtime data via secure websocket
Dynamic zones/vlans
Zones only limited to number of nics
Vlans are "unlimited" up to 802.1q sandards
DHCP scopes "unlimited" up to available lans/vlans/VPN subnets

13
News / Re: RazWall Alpha 1.2 ISO
« on: March 31, 2025, 08:07:28 AM »
I will rebuild the ISO today with a fix for the console bug.

14
News / RazWall Alpha 1.2 ISO
« on: March 28, 2025, 03:47:38 PM »
This will be online shortly. Download on our SF!

RazWall Aplha 1.2 ISO Release 3/28/2025

This ISO release includes the first RazWall Package. This is FAR from stable or usable but its a great test bed for anyone anxious to start working with this project since it contains everything I have worked on so far.

Default Console UI Login:

User: admin
Password: razwall


*A quick note: I have found a hug bug right after install.. The console does not not start.
To fix this:

CTL+ALT+F2 to get console 2

Login as root with the password you set during install.

run command: chmod +x /razwall/razi3

run command: reboot

After reboot, you should reach the UI Login on console 1

15
News / Re: RazWall 1.0 Console Demo Screenshot
« on: March 28, 2025, 02:41:10 PM »
more..

Pages: [1] 2 3 ... 5