Linux PowerPC Server Software

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

Netfilter with "conntrack" is a great solution for a desktop firewall. For example:

Code: Select all

iptables -F
iptables -t filter -A INPUT -j DROP
iptables -t filter -I INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
Basically, all network connections are blocked from the outside except our system has established the connections.

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

Netfilter (nf_tables) with "conntrack" on Fienix:

Image

NOTE: Fienix uses the nftables framework by default.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

BIND DNS server with DNSSEC:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

Connection state matching (CONFIG_NETFILTER_XT_MATCH_STATE)

Allows you to match packets based on their relationship to a tracked connection (ie. previous packets). For example for a desktop firewall.

Code: Select all

iptables -F
iptables -t filter -A INPUT -j DROP
iptables -t filter -I INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Basically, all network connections are blocked from the outside except our system has established the connections.

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

vsftpd FTP server on ubuntu MATE 16.04.6 LTS PowerPC:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

openSUSE Tumbleweed PPC64 with the Pure-FTPd:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

openSUSE Tumbleweed PPC64 with iptables and Pure-FTPd:

Image

Passive mode: The FTP client opens the connection to the FTP server via the server port 21. The server tells the client the server port (1024 - 5000).
Last edited by xeno74 on Thu Jul 30, 2020 10:16 am, edited 3 times in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

openSUSE Tumbleweed PPC64 with iptables and Pure-FTPd in the NAT mode:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

Limit matching with iptables:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6311
Joined: Fri Mar 23, 2012 7:58 am

Re: Linux PowerPC Server Software

Post by xeno74 »

Code: Select all

iptables -A INPUT -m tcp -p tcp --dport 22 -m state 
--state ESTABLISHED,RELATED -j ACCEPT 

iptables -A INPUT -m tcp -p tcp --dport 22 -m state 
--state NEW -m limit --limit 3/hour --limit-burst 3 -j ACCEPT 

iptables -A INPUT -m tcp -p tcp --dport 22 -j DROP
Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply