These scripts are written to help you harden your Linux server.
The firewall.sh
script supports up to 3 interfaces :
# | |
# Makefile.linux - Copyright (c) 2024 - Olivier Poncet | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
This is a very simple and generic implementation of the russian multiplication method for the Z80 CPU, designed to deal with 16-bits multiplications.
The file mul.cc
contains a generic C++ implementation of the russian algorithm with some unit tests.
The file mul.asm
contains a hand-written (not tested) implementation of the algorithm in Z80 assembly, based on the C++ version.