Thursday, 2024-10-31

*** olani_ <olani_!~olani@81-225-149-133-no2814.tbcn.telia.com> has quit IRC (Ping timeout: 252 seconds)00:08
*** olani_ <olani_!~olani@134.238.54.91> has joined #oe00:09
*** olani_ <olani_!~olani@134.238.54.91> has quit IRC (Ping timeout: 252 seconds)00:13
*** m4t <m4t!~matt@2604:180:0:5d2::bad:beef> has quit IRC (Quit: m4t)00:25
*** hrw <hrw!~hrw@redhat/hrw> has quit IRC (Ping timeout: 252 seconds)00:43
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe00:54
*** florian <florian!~florian@dynamic-002-243-190-231.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)01:02
*** tgamblin_ <tgamblin_!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #oe01:10
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)01:11
*** dankm <dankm!~dan@user/dankm> has joined #oe01:12
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Ping timeout: 246 seconds)01:13
*** npcomp <npcomp!~user@user/npcomp> has quit IRC (Ping timeout: 244 seconds)01:14
*** npcomp <npcomp!~user@user/npcomp> has joined #oe01:27
*** m4t <m4t!~matt@2604:180:0:5d2::bad:beef> has joined #oe01:37
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)02:30
*** dankm <dankm!~dan@user/dankm> has joined #oe02:32
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-084-061-146-083.084.061.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection)03:07
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-084-061-146-083.084.061.pools.vodafone-ip.de> has joined #oe03:07
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe03:33
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)03:39
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe04:41
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Client Quit)04:43
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe07:32
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has joined #oe08:13
*** mckoan|away is now known as mckoan08:14
*** florian <florian!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has joined #oe08:18
*** kanavin <kanavin!~Alexander@2a02:2455:86a1:c500:cfe8:f434:3125:3cb3> has quit IRC (Remote host closed the connection)08:31
*** florian <florian!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has quit IRC (Ping timeout: 276 seconds)08:32
*** zeddii <zeddii!~zeddii@pool-174-112-62-108.cpe.net.cable.rogers.com> has quit IRC (Quit: ZNC 1.9.0+deb2build3 - https://znc.in)08:43
*** zeddii <zeddii!~zeddii@pool-174-112-62-108.cpe.net.cable.rogers.com> has joined #oe08:43
*** kanavin <kanavin!~Alexander@2a02:2455:86a1:c500:cfe8:f434:3125:3cb3> has joined #oe08:48
*** aduskett <aduskett!~adam@2a02:a211:a140:6480:f59d:d8b2:eb04:8d6f> has joined #oe08:51
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #oe09:19
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe09:44
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 260 seconds)11:42
*** florian_kc <florian_kc!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has joined #oe11:43
*** florian_kc <florian_kc!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has quit IRC (Read error: Connection reset by peer)11:55
*** tgamblin_ is now known as tgamblin12:13
mortWhat would y'all do for a super simple "deny all incoming connections" style firewall?14:02
*** Xagen <Xagen!~Xagen@4.14.206.69> has joined #oe14:11
JPEWmort: iptables maybe?14:17
morthm14:18
morteverything I've seen wrt iptables seemingly has the device boot without any form of firewall and then, in some init script, run iptables-restore to load firewall rules14:19
mortthat seems both error prone and fail-open14:19
JPEWmort: Ya, I'm not sure about that level of hardening. Maybe the kernel has some way of specifying default netfilter rules until userspace sets new ones?14:26
JPEWOr set them in initrd maybe?14:27
mortI thought everyone would want to make the firewall be on by default if they wanted a firewall14:35
mortmost people aren't modifying their initrd to enable firewall are they?14:35
JPEWmort: No. I suspect most people just make sure that the firewall is configured by iptables et. al. before any services start14:36
mortweird14:36
mortI guess I could make a systemd service which is required by basic.target or something14:37
JPEWmort: I would be kinda suprised if systemd didn't already have something that did that14:38
JPEWAnyway, unless you are configuring the firewall to do DROP or something, there's probably not much behavioral difference between the firewall being enabled and disabled is no services are running yet14:39
JPEW*if no services are running yet14:39
mortit's just weird to have a fail-open firewall14:39
JPEWMaybe ask some security folks... I'm not one of them :)14:40
JaMado you need it before networking is configured? and if you deny all before networking is configured, who will allow e.g. dhcp to work?14:41
mortDHCP isn't an incoming thing though, right?14:42
JaMabut I agree that there should be standard way how to configure the rules early (as you can configure static network with kernel params, then userspace loading iptables rules will be way later)14:42
mortI mean I know it's a UDP thing which makes it weird but isn't there typically some way to configure "incoming packets should be dropped unless they're a response to something we sent first"14:43
JaMaok then WoL should be enabled or configured somehow when the device is sleeping?14:44
JaMaincoming packets are "dangerous" only when something listens for them, I guess the assumtion is that nothing will listen for incomming packets before networking is configured and services are started14:46
mortwell they're also dangerous if there's a kernel bug, but I guess firewalls don't help with that14:47
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe14:51
mortI made a recipe which provides a systemd service which runs iptables-restore as I described above14:51
mortI still don't love it but meh it's fine14:52
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe15:26
*** reavertm_ <reavertm_!~reavertm@178.43.238.211.ipv4.supernova.orange.pl> has joined #oe15:33
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Ping timeout: 276 seconds)15:33
*** reavertm_ <reavertm_!~reavertm@178.43.238.211.ipv4.supernova.orange.pl> has quit IRC (Read error: Connection reset by peer)16:13
*** mckoan is now known as mckoan|away17:02
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)17:33
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 260 seconds)17:35
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:7039:bcbe:2df8:265> has joined #oe18:31
*** florian_kc <florian_kc!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has joined #oe18:41
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:42
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe18:44
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:50
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:6341:21de:f05d:ef5f> has joined #oe18:51
*** yocton <yocton!~quassel@163-172-29-20.rev.poneytelecom.eu> has quit IRC (Remote host closed the connection)19:07
*** yocton <yocton!~quassel@163-172-29-20.rev.poneytelecom.eu> has joined #oe19:08
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)19:19
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe19:20
*** leonanavi <leonanavi!~Leon@46.55.231.62> has joined #oe20:47
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)20:55
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:bb4f:ab20:af17:81fd> has joined #oe20:56
*** rber|res <rber|res!~rber|res@46.57.123.117.dsl.dyn.drei.com> has joined #oe20:56
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)21:01
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:d6ef:57c1:169c:f292> has joined #oe21:02
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)21:06
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe21:07
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)21:11
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe21:13
*** Xagen <Xagen!~Xagen@4.14.206.69> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)21:14
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)21:17
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe21:18
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has joined #oe21:54
*** brrrm <brrrm!~brrm@ip-078-043-203-234.um18.pools.vodafone-ip.de> has quit IRC (Ping timeout: 248 seconds)21:56
*** brrm <brrm!~brrm@2a02:8071:b700::1c89> has joined #oe21:57
*** leonanavi <leonanavi!~Leon@46.55.231.62> has quit IRC (Remote host closed the connection)22:04
*** leonanavi <leonanavi!~Leon@46.55.231.62> has joined #oe22:05
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Ping timeout: 248 seconds)22:07
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe22:07
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)22:12
*** florian_kc is now known as florian22:26
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)22:41
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe22:42
*** leonanavi <leonanavi!~Leon@46.55.231.62> has quit IRC (Remote host closed the connection)22:49
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)23:02
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)23:41
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe23:42

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