Recent Posts

Pages: 1 [2] 3 4 ... 7
11
News / Re: RazWall 1.0 Console Demo Screenshot
« Last post by razwall on March 28, 2025, 02:37:02 PM »
A few more screenshots..
12
News / Changes coming down the pipe
« Last post by razwall on March 27, 2025, 04:56:22 PM »
I just committed over 5000 changes to github. I have built a new ISO and running a test install. If this "works" I will upload to SF, even if still its broken, but accessible. fingers crossed..
13
News / Re: Broken modules
« Last post by razwall on March 27, 2025, 02:02:59 PM »
i am going to take a difference approach and try stripping way only the interface modules in the ISO. Previously, I started with no modules and built up only the minimum but I suspect i broke something when i did this. So.. maybe a backwards (or forwards?) approach might be easier than trying to troubleshoot exactly what is missing, leaving me with a very generic error. I already spent most of yesterday trying to capture the the error in the code but I seem to get nothing. Even with manually adding output headers and building a custom simplified version of the modules I am getting the same error. It's definitely a mystery... So rather than fight the uphill battle, I will start with everything, less the X interface stuff, and test the ISO. If this works out, I can begin removing things until i find the culprit. I know some of you are patiently waiting for me to release something that works enough to begin testing and developing, so i apologize for my slowness.. I am only one man, but through this project I hope to create an army!
14
News / Broken modules
« Last post by razwall on March 26, 2025, 02:03:33 PM »
Hello and sorry for the delay. After rebuilding with modules included I am stuck on a dreaded "End of script output before headers" error. The error tells me only that its not out putting data before it completes execution. Without a line number, i am forced to step through the code and create a stop error at every junction point until I locate the issue. This means hundreds of lines of code to soft through... Again sorry for the delay. i promise I am still working on this, it's just been a real show stopper trying get an install working "out of the box".
15
News / Re: SourceForge
« Last post by razwall on March 17, 2025, 02:24:35 PM »
Nice try! Get off my account! lol

I am aware of the module problem. 3ndian was self-hosting modules for their own needs.
I might have to include a built module in the slackware/razwall package. I will have to find a source and build it on slackware, then just add it to the razwall the package.
16
News / Re: SourceForge
« Last post by p3rlphr33k on March 17, 2025, 02:17:58 PM »
Downloaded the ISO ran git clone of the current repo and copied the build package to the root. Some of the Perl modules were not loaded on install. tried CPAN to install modules but ran into issues with missing make and gc. used slackpkg to install both of these and viola! Things started to work I was able to install a few of the missing Perl modules noted the Apache error log using CPAN but still had issues installing a few of the older modules that do not seem to be supported such as Net::WebSocket::Server. Where can I get this and probably other missing modules?
17
General Discussion / Re: RazWall will be an Endian Community Fork
« Last post by razwall on March 17, 2025, 09:49:05 AM »
Welcome! Thanks for posting. Perl is similar to C in syntax and take a little bit to get used to. yes, the CGI modules is no longer supported but there are ways around this. For example, I use a small script that emulates some of the basic functions of CGI.pm with the same function calls:

Here is the simple CGI.pm file I use as a replacement. Just put it in the cgi-bin folder and include the local path.
Example:
...
#!/usr/bin/perl
use lib './';
use CGI;
...

Here is the CGI.pm:
...
package CGI;
use strict;
use warnings;
use Carp;
use URI::Escape;

our $VERSION  = '1.0';
our @EXPORT_OK = qw(header cookie param);

# Constructor: creates a new CGI object and parses the input.
sub new {
    my ($class, %args) = @_;
    my $self = bless {}, $class;
    $self->_parse_input();
    return $self;
}

# Internal: parse input parameters from QUERY_STRING or STDIN (for POST)
sub _parse_input {
    my ($self) = @_;
    my %params;
    my $data = '';

    # Determine request method
    if (exists $ENV{REQUEST_METHOD} && uc($ENV{REQUEST_METHOD}) eq 'POST') {
        if (defined $ENV{CONTENT_LENGTH} && $ENV{CONTENT_LENGTH} > 0) {
            read(STDIN, $data, $ENV{CONTENT_LENGTH});
        }
    }
    else {
        $data = $ENV{QUERY_STRING} || '';
    }

    # Parse the query string (or POST data)
    foreach my $pair (split /&/, $data) {
        my ($name, $value) = split /=/, $pair, 2;
        $name  = uri_unescape($name);
        $value = defined $value ? uri_unescape($value) : '';
        push @{ $params{$name} }, $value;
    }
    $self->{params} = \%params;
}

# Returns a list of parameter names if called without arguments.
# With a parameter name, returns its value (or list of values in list context).
sub param {
    my ($self, @args) = @_;

    # Allow non-object calls by creating a new object
    unless (ref $self) {
        $self = CGI->new();
    }

    if (@args) {
        my $name = $args[0];
        my $values = $self->{params}{$name} || [];
        return wantarray ? @$values : $values->[0];
    }
    else {
        return keys %{ $self->{params} };
    }
}

# Generates and returns an HTTP header string.
# Accepts named parameters similar to the original CGI header function.
# For example:
#  print CGI::header(-type=>'text/html', -charset=>'utf-8', -cookie=>$cookie);
sub header {
    my %params = @_;
    my $status  = $params{-status};
    my $type    = $params{-type}    || 'text/html';
    my $charset = $params{-charset} ? "; charset=" . $params{-charset} : '';
    my $cookie  = '';

    # Process cookies if provided
    if ($params{-cookie}) {
        my @cookies;
        if (ref $params{-cookie} eq 'ARRAY') {
            @cookies = @{$params{-cookie}};
        }
        else {
            @cookies = ($params{-cookie});
        }
        $cookie = join("\n", map { "Set-Cookie: $_" } @cookies) . "\n";
    }

    my $header = '';
    $header .= "Status: $status\n" if $status;
    $header .= "Content-Type: $type$charset\n";
    $header .= $cookie;
    $header .= "\n";
    return $header;
}

# Creates a cookie string when parameters are provided.
# When called without arguments, returns a hash of cookies from HTTP_COOKIE.
# Example usage:
#  my $cookie = CGI::cookie(-name=>'session', -value=>'ABC123', -path=>'/');
sub cookie {
    my %params = @_;
    if (%params) {
        my $name  = $params{-name}  or croak "Cookie name (-name) is required";
        my $value = defined $params{-value} ? $params{-value} : '';
        my $cookie = "$name=" . uri_escape($value);
        $cookie .= "; expires=" . $params{-expires} if $params{-expires};
        $cookie .= "; path="    . $params{-path}    if $params{-path};
        $cookie .= "; domain="  . $params{-domain}  if $params{-domain};
        $cookie .= "; secure"                    if $params{-secure};
        return $cookie;
    }
    else {
        # No parameters provided: return current cookies as a hash
        my %cookies;
        if ($ENV{HTTP_COOKIE}) {
            foreach my $pair (split /; ?/, $ENV{HTTP_COOKIE}) {
                my ($k, $v) = split /=/, $pair, 2;
                $cookies{$k} = $v;
            }
        }
        return %cookies;
    }
}

1;

...
18
General Discussion / Re: RazWall will be an Endian Community Fork
« Last post by evaristo on March 17, 2025, 06:18:13 AM »
Eu gostaria muito de trabalhar neste projeto, mas confesso que não sou bom em desenvolvimento. Mas estou estudando a linguagem perl que é uma das principais linguagens de desenvolvimento do endian. Estou trabalhando em um servidor aqui pra criar algumas interfaces grafica de administração de firewall e proxy, mas estou apanhando um pouco dessa programação em cgi porque o cgi.pm já está descontinuado e nao funciona muito bem, então pensei e passar o codigo html no proprio cgi, mas que acaba sendo um trabalho de formiginha e não rende muito meu trabalho devido a falta de conhecimento na parte de html, css e java script. Mas continuo nos estudos aqui pra desenvolver isso, e me disponho a colaborar com o projeto RazWall. :D
19
Dev Stuff / Re: Required packages
« Last post by razwall on March 14, 2025, 01:09:20 PM »
New ISO Packages:
ISOROOT://razwall64/r/
aaa_base
aaa_glibc-solibs
aaa_libraries
aaa_terminfo
acl
attr
bash
bin
coreutils
cpio
cracklib
dbus
dcron
devs
dialog
e2fsprogs
elogind
etc
eudev
file
findutils
gawk
glibc-zoneinfo
grep
guile
gzip
hostname
kernel-generic
kernel-huge
kernel-modules
kmod
less
libgudev
libpwquality
lilo
logrotate
mkinitrd
nvi
openssl-solibs
os-prober
pam
pkgtools
procps-ng
sed
shadow
sharutils
sysklogd
syslinux
sysvinit
sysvinit-scripts
tar
tree
util-linux
which
xz
bzip2
mariadb
nano
screen
slackpkg
sqlite
autoconf
autoconf-archive
automake
binutils
cmake
gcc
git
perl
subversion
apr
apr-util
glib
glib-networking
glib2
glibc
glibc-i18n
glibc-profile
icu4c
libnl
libnl3
libproxy
libsigc++
libsigc++3
libpcap
libssh
libssh2
libunistring
libuv
libxml2
libxslt
libyaml
lmdb
mhash
ncurses
bind
bootp
bridge-utils
bsd-finger
ca-certificates
curl
cyrus-sasl
dhcp
dhcpcd
ebtables
ethtool
htdig
httpd
icmpinfo
iftop
inetd
iproute2
iptables
iptraf-ng
iputils
krb5
libmnl
libnetfilter_acct
libnetfilter_conntrack
libnetfilter_cthelper
libnetfilter_cttimeout
libnetfilter_log
libnetfilter_queue
libnfnetlink
libnftnl
net-tools
network-scripts
nftables
nghttp2
ntp
openssh
openssl
openvpn
ppp
rp-pppoe
traceroute
ulogd
vlan
wget
wget2
whois
razwall
20
How-To / Default Web Credentials
« Last post by razwall on March 14, 2025, 01:04:16 PM »
Username: admin
password: razwall
Pages: 1 [2] 3 4 ... 7