/srv/irclogs.ubuntu.com/2018/09/09/#ubuntu-server.txt

sarnoldLeMike: hah, figures :) still, now you know a new tool :D not all bad00:41
=== TxRaspPi is now known as TxRaspPI
xrandr_macHi.. I am trying to find some documentation on UFW as I am a little new to it. I am trying to understand what this line means: -A ufw-http-logdrop -m limit --limit 5/min --limit-burst 10 -j LOG --log-prefix "[UFW HTTP DROP] "19:00
xrandr_macSpecifically what the --limit and --limit-burst does. I understand --limit is limiting something, but the 5/min... what is that doing along with the limit burst?19:01
tomreynxrandr_mac: this is for rate limiting by ip address. see iptables-extensions(8) and search for: ^   limit19:21
xrandr_macOk thanks19:21
xrandr_macThat cleared it up19:26
* xrandr_mac offers tomreyn a beer for his troubles :)19:26
tomreynno troubles here ;) thanks, though19:29
xrandr_macWas wondering why I kept being locked out of my website lol19:30
JanCxrandr_mac: it's intended to be used with things like SSH or VPNs21:07
xrandr_macJanC, wanted to prevent DDOS attacks21:09
JanCyou can probably do that with a custom iptables rule similar to the one created by UFW, but less trigger-happy  :)21:11
RoyKor use nftables if you're on the cutting edge ;)21:12
JanCisn't nftables replaced yet?   ;)21:12
JanCs/replaced/superseded/21:13
RoyKno21:13
RoyKifw was superseeded by ipchanges, which was superseeded by iptables, which as superseeded by nftables21:13
RoyKs/ifw/ipfw/21:13
RoyKand not ipchanges, ipchains21:14
RoyKinteresting how my fingers just write on automatically21:15
xrandr_maclol21:21
xrandr_macI think for now I am going to just disable that rule...21:21
JanCRoyK: there is now also something called bpfilter which is based on eBPF, but it's still a WiP   :)21:24
RoyKoh - didn't know that21:28
RoyKJanC: seems rather cutting edge - probably take a wee while to stabilise21:38
JanC:)21:41
havenstanceanyone have any idea why a Standard Lamp stack containing MySQL instead of MariaDB on Ubuntu Server 18.01.1 LTS would be lagging when trying to view the page?21:47
havenstancenvm google-fu found the answer, I'll be migrating this to MariaDB21:54
trippeh_RoyK: very cutting edge indeed - I dont think they have any actual functionality yet.22:57
trippeh_basically an experiment at this stage.22:58
trippeh_also nftables might move over to the same infra IIRC. today nftables uses something similar to but not BPF22:59
RoyKtrippeh_: I don't know BPF, but I read nftables uses a miniature vm with a micro-OS23:12
RoyKnot even an OS, really23:12
RoyKseparate instruction set etc23:12
trippeh_yes, like BPF.23:13
RoyKperhaps nftables will disappear like upstart, then…23:14
trippeh_or just become another frontend23:15
RoyKBPF certainly looks promising, though23:35
RoyKhttps://cilium.io/blog/2018/04/17/why-is-the-kernel-community-replacing-iptables/ The most recent development in the evolution of BPF is an exciting proposal to completely replace the kernel part of iptables with BPF in a way that is completely transparent to the user, i.e. existing iptables client binaries and libraries will continue to work.23:37
RoyKI've never worked with systems large enough to hit the bottleneck of iptables, though23:40
RoyKbut then - I don't have 20k Kubernetes services23:41
trippeh_I've experimented a bit with BPF - but not the bpfilter, as that is still not very useful23:45
trippeh_XDP is fun23:45
trippeh_the tracing stuff too23:47
RoyKso - perhaps nftables is just a pit stop?23:48
RoyKI don't really see the difference - I don't know the stuff under the hood23:49
RoyKbetween nftables and bpfilter, that is23:49
trippeh_I'd expect nftables to just become another frontend to bpfilter, with nicer syntax than iptables.23:49
trippeh_if bpfilter pans out that is. that we do not know.23:50
RoyKbut what about nftables? it too uses a completely different backend than iptables23:50
trippeh_althouth nftables have shown the bytecode approach to be viable.23:50
RoyKBPF - is that how freebsd has been doing firewalling the latest years, hence the "berkley" name?23:52
trippeh_nftables would be changed to emit BPF. like iptables would be23:52
trippeh_BPF var originally a filter for sockets, for tcpdump and the like. not really a firewall thing.23:53
trippeh_the BPF in linux is significantly extended23:53
RoyKjust wondered - uio.no built this service for sensitive data some years back, mainly for universities and colleges, but also others, in norway, and I know they used freebsd for the firewall, at least 5 years back23:54
RoyKthe rest is mostly linux23:55
trippeh_you're thinking about pf probably23:55
RoyKpossibly23:55
RoyKI just never saw the big deal with pf compared to iptables23:55
trippeh_pf has nothing to do with BPF23:56
RoyKok23:57
RoyKbtw, any idea why some would prefer pf to iptables?23:57
trippeh_many hate the iptables syntax. I dont mind it either23:57
RoyKI'm quite used to iptables23:57
RoyKworks23:58
RoyKthat obviously doesn't mean it's optimal23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!