libera/#devuan/ Monday, 2023-01-30

snorkWould anyone know what kind of timeline I may have to migrate firewalls from iptables to nft?  Is dropping support for iptables/ip6tables/ipset strictly a Debian question or is it something Devuan could hold on to after Debian has dumped it?01:11
snorkWould Devuan even care to extend iptables support after Debian has dumped it?01:12
gnarfacesnork: stick around, it's a good question, though i suspect we'll be tied to debian's decision that's not always the case02:26
rrqis debian dumping iptables? or merely not using it in the default installations?02:34
brocashelmhttps://wiki.debian.org/iptables02:59
brocashelmi see nftables has been the default since buster/beowulf, but iftables is still on my repo (unstable)02:59
rrqit's unclear hether they talk about what you install or what is available03:01
brocashelmall i'm getting from these pages is "stop using iptables and start using nftables because we said so"03:02
brocashelmi'm not too familiar with iptables, but i see it is installed on my systems. not having any issues that i'm aware of? what does nftables have to offer?03:02
rrqI understand it to be 2 discussions; firstly whether the backend is over netfilter socket or via ioctl, and secondly whether the rule syntax is the traditional or the strange (guess which I like :))03:04
rrqthe actual installed "rules" in the kernel are the same and have the same potential, and it's a question how to manipulate them03:05
rrqwhichever end user syntax you use, you will end up gaining knowledge about, and end up preferring03:08
snorkWhen I do "which iptables" on Chimaera I get "/usr/sbin/iptables" which is a link to "/etc/alternatives/iptables" which is a link to "/usr/sbin/iptables-nft" which is a link to "xtables-nft-multi" which is not an absolute path but does exist in my path at "/usr/sbin/xtables-nft-multi" -- which is a ridiculous mess but I am seriously not making this up.03:09
snorkSomeone may be able to confirm on a Beowulf machine, but I believe we are already using nftables in some way even if we are using iptables commands.03:10
rrqyes, both iptables and nftables use the netfilter backend03:10
snorkI also am under the impression that some day those links will dry up and iptables will be a thing of the past.  Unfortunately nft has some pretty severe limitations when dealing with large sets.03:11
gnarfacei'm not sure but that's what i thought, i thought the backend had been nftables for a while already, and it's actually just a question about migrating to the newer command syntax (which is largely similar but just different enough to break all your scripts)03:11
gnarfaceif devuan doesn't keep iptables somehow, i'm probably gonna have to deal with this all too eventually03:12
gnarfacebut so far i haven't seen any material value in the new stuff03:12
snorkActually gnarface the syntax is quite different with nft, though there are conversion utilities that can migrate simple rulesets.03:12
snork"haven't seen any material value in the new stuff" <-- very much so!03:13
onefangMy issue is that I'll have to switch from shorewall to something else, coz apparently shorewall isn't moving off iptables.03:39
onefangI haven't found a suitable something else yet, and thinking I might just end up scripting nftables directly, but then have to port my scripts- when they next change how it all works.  lol03:41
snorkonefang, I thought Shorewall was a sirt of router-os-distro... AND I thought it was BSD-based.  I was double wrong. LAWL03:44
snorkDo you happen to use any large sets in your Shorewall system(s)?03:45
onefangYep.  Mostly just "drop this IP coz they tried to hack my servers, and doesn't look like a disposable IP".  BUt I'm also experimenting with getting fail2ban to not fail to ban quite so much so that this sort of thing is more automated.03:47
onefangFail2ban annoys me in that NONE of their built in rules manage to ever match things that actually happen to me, so I have to write my own.03:48
snorkHeh, I kind of went the other way on that one.  I have never used any of the rules that comes with fail2ban. :-)03:48
* rrq haven't learnt how nft might use ipset for IP set controls03:49
snorkI have an ipset that consists of: China, Hong Kong, Russia, Ukraine, Vietnam, Brasil, Alibaba, Bing, CloudWM, Digital Ocean, Serverion, smallwankers (a manual list I manage), and tor exit nodes.03:52
snorkI don't see a way to reproduce that kind of ipset, and keep it updated, using nftables.03:52
rrqyuk! https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_ipset_to_nftables03:54
snorkYeah rrq it is a hot mess. :-(03:54
onefangShorewall is popular, someone might fork it when needed.03:55
XenguyI liked Shorewall, but eventually got lazy and just went with 'ufw'03:56
snorkUnfortunately the more I read about nftables the more I find myself thinking "How is this better?".  AND I feel like Debian will decide for me when I should stop using iptables.03:57
onefangTo answer your original question, if Debian changes over completely, and Devuan wants to not, then we'll need people to maintain our own kernels.  Hard job.03:58
snorkonefang, I imagine that is also a split Devuan is not considering.03:59
rrqno; it's the same kernel - the same backend.. it's a matter of having iptables package(s) availabel in the repository03:59
snorkI even looked at a couple of BSDs to see what they have but IPF, IPFW and PF are their own hot mess. :-(04:00
XenguyStrategically, I think Devuan wants to deviate as little as possible from Debian, truth be told04:00
rrqwhether or not a debian installation end up using nftables by default, it's not an issue as long as iptables remain in the repository as an alternative04:01
XenguyUnless an army of enthusiastic developers suddenly appear over the horizon04:01
snorkrrq, would it really be as minor as maintaining iptables?  Don't get we wrong, I don't think it would be trivial... but it isn't maintaining a separate kernel.04:01
rrqand I haven't got pointed on anything saying iptables is no longer supported as alternative04:01
Xenguyiptables lives, so far04:02
rrqcurrently there are (at least) iptables and nftables as alternatives for operating the netfilter "subsystem" in the kernel04:02
onefangAh they are just different wrappers around the kernel, not in the kernel itself?04:03
* Xenguy has not investigated nftables, of course ...04:03
snorkI have been given the impression that iptables is going to be dropped at some point... but that it is a staged creep.  Right now iptables sort of exists in the legacy command availability but that nftables is ultimately what I (running Chimaera) am currently using whether I know it or not.  Next will be dumping the legacy commands.04:03
XenguyNo idea if iptables will be discontinued04:04
XenguyIt's not the future, that's for sure04:04
snorkI have seen some folks make claims that iptables will be around a long time but without any source to back up the claim.04:04
onefangDid they drop whatever it was that iptables replaced?  and the one before that, ...04:04
XenguyNews would come from the kernel crew?04:04
XenguyHuh, what *was* before that?04:05
XenguyTime flies04:05
onefangI lost track.04:05
XenguyI think I did too04:05
XenguyThankfully we can look all this shite up, unless we're feeling too lazy04:06
rrqsome people think of debian in terms of its defauult installation, and not as a huge repository of packages04:06
snorkI can't seem to find anything "before iptables".  I can find that iptables seemed to start existing in 1998... could there have been a half decade of no firewall?04:07
brocashelmstill plenty of packages missing for some reason, even from stable (whereas unstable/testing/oldstable/oldoldstable might have them)04:08
onefangI'm still pissed off at Debian for removing JPEG 2000 support from everything.  Coz I have lots of those, coz OpenSim uses them.04:11
snorkSide note: Wikipedia [not a primary source] says that ipchains pre-dates iptables but does not provide a specific date.  It also appears to be a netfilter product.04:18
* snork totally palms his forehead when he sees the name ipchains.04:18
onefangSounds painful.04:25
fluffywolfipchains was standard when I started using linux.04:40
fluffywolfiptables didn't exist yet.04:41
fluffywolfcompatability with ipchains lasted a _long_ time; I'd imagine the same will happen with iptables when it's deprecated.04:42
AlexLikeRockfluffywolf,  you are soooo old! XDDDD04:45
fluffywolf...04:47
fluffywolffuck off?04:47
snorkfluffywolf, the thing is... I think we have been living in that time of compatability since late 2011 when nftables was added to the Linux kernel.  How long is long?  I don't seem to be able to find a way to put a Windows progress meter on that timeline. :-(04:58
* fluffywolf knows pretty much nothing about nftables04:59
onefangWindows progress meters often run backwards.04:59
fluffywolflol04:59
snorkWell I was hoping for specifically a Windows proigress meter because it would get close to the end and just kind of stay there a while.04:59
fluffywolfso does the download progress bar on firefox on android, which is idiocy I still can't believe, yet keeps existing after updates...04:59
fluffywolfthe percentage it shows is correct, but the position of the bar seems essentially random.04:59
snorkThe part that worries me is that we have been spoiled through a dozen years of compatability by the legacy command utilities that hide the fact that we are really using nftables now.05:01
fluffywolfspeaking of which, do 6.* kernels nicely compile on chimaera?  I've been meaning to try, but too many projects.05:02
onefangThere's two choices, ask Debian how long they'll hold onto iptables, or find someone to keep a hold of it for Devuan.05:02
onefangI'm running 6.* backported kernel on chimeara.05:03
fluffywolfoh, it's in backports now?  wasn't last I checked.05:03
onefang6.0.0-0.deb11.6-rt-amd64 #1 SMP PREEMPT_RT Debian 6.0.12-1~bpo11+1 (2022-12-19)05:03
onefangHas been backported for some time.05:04
onefangAs for being old, well some of us are Veteran Unix Admins.  I've earned my greybeard.05:10
drbecoHey guys. I was looking for distros without systemd today, and I bumped into an article (that I do not have the link now, it was a quick read) that Debian is (now?) easy to remove systemd. I think this is not correct. Do you guys know something about it?05:11
fluffywolfif that were true, onefang would have a lot more spare time.  :P05:13
drbecolol05:14
snorkWhy people continue to devalue age/experience I don't know.05:14
snorkdrbeco, I feel like I had read something similar not-too-long ago but feel like that is a backpeddling move rather than a spirit of software freedom.  My three cents™05:15
onefangIn order to make Devuan, we have stripped systemd out of Debian, which also required us to remove systemd dependencies from some packages, and outright ban some packages coz they are to tied into systemd.  Some packages we added to to avoid systemd dependencies.05:18
onefangAnd some of those "to"s should be "too".  lol05:18
drbecoIf it was that easy, right onefang ....05:20
gnarfacedoes anyone happen to know if "update-initramfs" magically bundles and loads any modules currently loaded when you run it?05:21
gnarfacei'm trying to figure out why the zram module is loading at boot on one system but not another, when i'm not calling it from /etc/modules in either05:22
drbecoIt was a sad sad move at the time. I regret not entering the discussion at the time. I was afraid my english would not fit into that heated conversation (or stone-throwing, I should say)05:22
drbecoI would argue just one thing, that I regret not saying, and today i need to spit out (january 2023)... The ones that wanted systemd should have created a new distro, not Devuan.05:23
drbecoI don't understand how/why we lost that battle till this day.05:23
drbecoIt was clear to me that that piece of crapware was being imposed against the will of a lot of users05:24
drbecoSorry about that. I guess I was with this in my throat till today. I was (am still, for one single server) a long term user of Debian05:25
fluffywolfI used debian for a very, very long time.05:25
drbecoI tried Devuan in the early days, it didn't worked at the time (too early versions, some bugs, etc). I kept following Devuan to see the improvements05:25
drbecoToday I have 1 Devuan, 1 Debian and 4 Slackwares around me.05:26
brocashelmi never really used debian until lmde and devuan came along05:27
brocashelmbeowulf imo was the turning point05:28
rrqgnarface: check /etc/initramfs-tools/modules05:29
drbecoIn 1998 I started with Slackware, first distro. It took me some many years, usualy sets of 4 or 5 years hopping from distro to distro, to make a final choice for Debian. I experienced the Red Hat move to commercial, the Suse move to Microsoft, and the Gnome/Unity fiasco in Ubuntu... All deal breakers05:29
drbecoand finally the systemd deal breaker for Debian05:30
gnarfacerrq: yea, i did and it's not in there either. no way it could have grabbed it on its own though?05:30
drbeco(and others olders that I can't recall exactly the order...)05:30
rrqgnarface: some people might have edited /usr/share/initramfs-tools/modules05:31
fluffywolfI started with...  hamm?  slink?  I don't remember.  mid-late '90s, my 33mhz 486 was nice and shiny...05:32
drbecoAt the time of the systemd imposition, I was wondering if the maintainers of Debian would gladly move to Slackware. But Devuan was created, I guess for many reasons (apt and deb package being one, and Patrick Volkerding hard to deal with management being other). Of course the maintainers would prefer a fork with all the environment alike05:33
drbecoI don't remember hamm or slink, fluffywolf05:33
fluffywolfI seem to remember upgrading to slink at some point...05:34
drbecoI used some rpm based (notably opensuse and before that conectiva that was bought by mandrake to become mandriva)05:34
* fluffywolf doesn't remember well that far back05:34
fluffywolfheh05:34
drbecobut it was only in 2001 when I finally removed dual boot! It was under the opensuse era! What a great feeling, what a courage at the time.05:35
gnarfacerrq: good tip but that's not it either05:36
fluffywolfI kept doing dual-boot with dos and then windows, and kept never booting it...05:36
rrqhmm, then it must be the initramfs-tools scripts doing it05:36
drbecothat is the way to go! When you feel confident you are not using it anymore, it is time to remove it for good and use the full HD05:37
fluffywolfI haven't had a dual-boot box in a long time now.  heh.05:37
fluffywolfwine runs the one windows application I use routinely.05:38
drbecoduring dualboot time, I remember linux could read windows partition but not the other way around. Then the ntfs of the windows became my "HOME", so I could use the HD anyways05:38
drbecowhich one is that?05:38
fluffywolfalthough I want to do more with CAD soon, which might mean a working windows install.05:38
fluffywolfalldata05:38
drbeconever used05:38
fluffywolf(automotive service software)05:38
drbecoI had trouble using matlab during the phd. But then I got this version for linux that worked as a charm. It was the only one I remember I used.05:39
drbecowinamp became amarok05:39
fluffywolfit's a >100GB blob of service info.  enter year, make, model, pulls up specs and repair procedures.05:39
drbecoOh, I remember missing the EUDORA email client! That was sooo coool! The sounds, it was amazing. Do you remember Eudora?05:40
fluffywolfyep, but I never used it much.05:41
fluffywolfanyway, stop making me feel old.  :P05:41
snorkfluffywolf, is that strictly lookup or does it connect to cars [with ODB2 for example]?05:42
onefangThink you have wandered off into #devuan-offtopic now.05:42
drbeco:)05:42
snorkI mean OBD2... I'm just wondering how well wine can manage the connection.05:43
drbecohttps://tedium.co/2017/09/28/eudora-email-history/05:43
fluffywolfsnork:  it's strictly lookup.  it's mostly scans of factory service manuals and a bunch of indexing.05:44
fluffywolffor odb2, I have an original snap-on MODIS...  which runs windows.  heh.05:44
fluffywolfobd205:45
fluffywolfor the windows-like shit that is CE.05:45
onefangWin-CE was well named.05:46
snorkOkay, that statement took me too long to "get".  I'm goin' to bed. :-)05:47
snorkThanks folks!05:47
fluffywolflol05:47
fluffywolf'night!05:47
fluffywolfonefang:  how do I make my compactflash wifi card work on it?  :P05:48
* fluffywolf hasn't figured out drivers05:48
onefangThis is why we have #devuan-offtopic, so I don't have to trawl through a few pages of off topic chatter to figure out "it" might mean Kernel 6.*?05:50
fluffywolfI was joking you must have experience with CE, since you knew the well-named joke, and thus could figure out how to make drivers on it work...05:52
* fluffywolf didn't actually expect onefang was a win-ce expert05:52
onefangMy programming and admin career spans 4 decades, and covers a LOT of ground.  But nope, not a win-ce expert.  I have been paid in the past to work with Microsoft stuff, just not that particular one.05:53
fluffywolfyou're way too sane to have been a ce expert.  :P06:00
fluffywolfbbl06:10
gnarfacerrq: the plot thickens! i just realized i'm not even using intramfs on either of these machines07:38
gnarfacerrq: ah! nevermind, i just remembered i had to actually write the init.d script for the one that's working and i forgot to copy it over07:40
Guest48Hello, I tried to register to the forums, but keep getting "Unfortunately it looks like your request is spam." May I receive some help with that?13:45
buZzoh right, there's a forum13:45
buZzGuest48: have you read https://dev1galaxy.org/viewtopic.php?pid=1736#p173613:46
buZz> How to make sure that you aren't accidentally classified as spam13:46
buZzand > What to do if your registration attempt is classified as spam13:46
Guest48I haven't yet13:46
buZzso you didnt read13:46
Guest48Will do it now, thx13:46
buZzits literally on the register page > What to do if your registration attempt is classified as spam13:46
buZzeh What to do if your registration attempt is classified as spam13:46
buZzdangit13:46
buZznevermind13:46
devuserLooking for best how to:  For Compiling Devuan from scratch so I can take out kernel code not needed.17:36
devuserhttps://www.devuan.org/  - does not seem to have any help.17:38
clemens3if you find something i am also interested, or for debian as well..18:07
u-amarsh04after getting the git kernel source, the packages required by build-essential and whatever else is needed, running "make -j5 menuconfig bindeb-pkg" from /usr/src/linux works18:33
u-amarsh04that at least gets you the kernel18:34
brocashelmjust found out non-free-firmware is a thing in debian/devuan now22:49
brocashelmso i added it to my sources.list22:49
devuserThank you so much USER: [ u-amarsh04  ] Very helpful....22:54
rwpbrocashelm, Hasn't the non-free repository suite always been a thing?  Hasn't it always been needed for various reasons?  Debian decided recently to add non-free drivers to the installer image though.22:59
golinuxYEA! Back on IRC!23:01
brocashelmrwp: i meant the addition of non-free-firmware (e.g. main contrib non-free non-free-firmware)23:02
brocashelmalthough i think that's only for testing/unstable right now?23:02
rwp"non-free-firmware"?  (eyes wide)  That's a thing now?23:03
brocashelmyup23:03
brocashelmhttps://dev1galaxy.org/viewtopic.php?id=551223:03
rwpHmm...  I guess I should research through debian-* lists and figure out why this happened...  Thanks for the heads-up about it123:05
onefangCertain things like video cards and WiFi needs non free firmware, coz the company making the hardware hasn't released the source, and eitheer no one has reverse engineered it to write an open source version, or they did but it doesn't work as well.23:05
rwpYou are preaching to the choir onefang!  But why did they move it from non-free to a new directory non-free-firmware?  That's the question.23:07
rwpAlso onefang I am trying to debug down through apt-cacher-ng mirror failure that eventually happened again to me today.  Tedious!23:08
brocashelmi guess this is something to prepare for come the release of daedalus23:08
brocashelmafaik, it hasn't entered chimaera23:08
brocashelmso you still get the same three23:08
rwpMaybe it was a compromise.  To allow required blobs in without allowing other non-free software in?  I don't know.  Just guessing.23:09
rwp(I have a strong opinion that blobs are different from non-free software and should be treated like hardware not software.)23:10
brocashelmi guess we'll see. i have downgraded all of my ceres packages to daedalus and kept local deb files for anything i use that's not on daedalus23:10
* onefang wishes I could apt upgrade my video card's hardware.23:10
brocashelmi was on ceres for three years straight since switching to devuan, so now i will take a break from shiny new shit syndrome and stay on daedalus while it's stabilizing23:12
brocashelmkinda surprised about the fourth addition, nonetheless23:12
Jjp137ah there's a notice about the non-free-firmware component on the top here: https://wiki.debian.org/Firmware23:39
gnarfacewill the non-free firmware all be moved to "non-free-firmware" or will it merely be duplicated there?23:48
fsmithred_gnarface, so far, I still see firmware-linux-free and firmware-amd-graphics in sid non-free23:52
fsmithred_quick skimming of the debian wiki page, I don't see an answer. They do say things are changing rapidly as the implement the new repo.23:54
rolfhOn devuan when adding non-free-firmware apt works flawlessly, but I can't find the firmware-amd-graphics, apt list does not show this package. The merge isn't prepared for such a change ...23:58
rolfhValid for Daedalus = testing.23:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!