- 14 Posts
- 16 Comments
Thanks everyone,
I figured out also the missing
./but meanwhile I got already 4 reply ! \Thanks so much !
Ideally running the .py
python foobar.pywill be ideal, otherwise an .appimageI think I will have to build it my self (the .appimage ) :)
I like light system and moreover I like the simplicity of .appimage
Unlike some systems such as Snap and Flatpak, AppImages work with very little support from the base distribution.
To run the app, an user simply needs to run this file — there’s no intermediate installation step.
source: https://www.booleanworld.com/creating-linux-apps-run-anywhere-appimage/
Thanks @fratermus@lemmy.sdf.org But graph-easy is text to graph. and I’m looking to draw ! so draw to ~graph(ASCII) but it’s a nice program too.
I’m not, I’m on MX Linux with SysVinit.
Thanks @Strit@lemmy.linuxuserspace.show , “Packaging” is not mandatory when creating a software, like it’s was written It could run as .py trough python executable. but here it seem not
Otherwise I’m ok with .appimage format/packing.
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Forward packets Wireguard to local subnet, with Nftables. [ solved ]English
1·1 year agoSOLVED
The following works !
I guess one of my others rules was blocking
table ip Tip { chain prerouting { type nat hook prerouting priority -100; policy accept; ip daddr 192.168.y.2 log prefix "forwarded " dnat to 192.168.y.3 } chain postrouting { type nat hook postrouting priority 100; policy accept; masquerade } chain INPUT { type filter hook input priority filter; policy accept; } chain FORWARD { type filter hook forward priority filter; policy accept; } chain OUTPUT { type filter hook output priority filter; policy accept; } }
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Forward packets Wireguard to local subnet, with Nftables. [ solved ]English
1·1 year agoHi, Thank to all of you.
I made a test environment with the following.
- Machine A: 192.168.Y.1
- Machine B: 192.168.Y.2
- Machine C: 192.168.Y.3
The goal is to send a ping A to B, B forward to C
So
ping -4c 1 192.168.y.2from A, should ping B fw CI’ve set the following rule in /etc/nftables.conf
table ip Tip { chain prerouting { type nat hook prerouting priority dstnat; policy accept; iif "eth0" ip protocol icmp dnat to 192.168.y.3 } chain postrouting { type nat hook postrouting priority 100; policy accept; ip saddr 192.168.y.3 masquerade } }but is not working :'(
I see B receive the package
preroute: IN=eth0 OUT= MAC=▒▒ SRC=192.168.y.1 DST=192.168.y.2 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=21398 DF PROTO=ICMP TYPE=8 CODE=0 ID=17950 SEQ=1but it seem C receive nothing…
Any ideas ?
As I want the system to be quite ( not sending data ) I was suspected the
outputhook to be the one. what are you suggesting ?
Obviously, but I’m anyway wondering why it doesn’t blocking like it should
I hope nftables do not let other pass like this…
SpongeB0B@programming.devOPto
Linux@lemmy.ml•boot on LUKS encrypted drive ( initramfs Vs initrd ) ?English
1·1 year agoThank you very much all, for your inputs !
I’ve did
root: file /boot/broadcom/initrd.gz initrd.gz: Zstandard compressed data .... root: unmkinitramfs /boot/broadcom/initrd.gz Extracted/ # data where extracted to Extracted/ # but I go few error like: # cpio: cannot link usr/sbin/vconfig to usr/sbin/watchdog: Operation not permittedtree -Fan -L 2 ExtractedExtracted// |-- conf/ | |-- arch.conf* | |-- conf.d/ | `-- initramfs.conf* |-- etc/ | |-- fstab* | |-- ld.so.cache* | |-- ld.so.conf* | |-- ld.so.conf.d/ | |-- modprobe.d/ | `-- udev/ |-- init* |-- run/ |-- scripts/ | |-- functions* | |-- init-bottom/ | |-- init-top/ | |-- local* | |-- local-bottom/ | |-- local-premount/ | `-- nfs* `-- usr/ |-- bin/ |-- lib/ `-- sbin/So it tend to confirm that even if the file is named initrd.gz it’s actually an
initramfsmethod… ( damn this is so misleading )So I guess I can follow preparing-linux from the guide and overwrite the initrd.gz ?
SpongeB0B@programming.devOPto
Linux@lemmy.ml•I cannot enable `HAVE_KPROBES_ON_FTRACE` - Kernel compileEnglish
0·1 year agoThanks @SteveTech@programming.dev
I suppose the file
linux/arch/Kconfigis the base the menuconfig to know which option is available ? right ?Thanks.
AppImage !
- Open format? Yes
- Free format? Yes
- Fully Contained Single Executable Support . Like an exe file for Windows systems Yes (the only one)
- App Size** The lowest** !
https://en.wikipedia.org/wiki/AppImage
Matrix
https://www.fosslinux.com/42410/snap-vs-flatpak-vs-appimage-know-the-differences-which-is-better.htm
https://phoenixnap.com/kb/flatpak-vs-snap-vs-appimage \
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Elevate privileges between Python program ( and Inter-process_communication )English
2·2 years agoThank you very much @taaz
So you say 2 but with
unix socketso it the same as my proposal number 3 ? no ?I’ll check
capabilities
SpongeB0B@programming.devOPto
Linux@lemmy.ml•Elevate privileges between Python program ( and Inter-process_communication )English
3·2 years agoindeed I need it to be scriptable.

Thank you @skami@sh.itjust.works
Xpra works ! tons of features, floss and Python 🐍 ! ❤