Page MenuHomePhabricator

grin (Peter Gervai)
Being

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Feb 23 2015, 12:25 PM (478 w, 1 d)
Availability
Available
IRC Nick
grin
LDAP User
Grin
MediaWiki User
Grin [ Global Accounts ]

Google me.

(Blurb: huwp founder, osm contributor, dmoz/hu section founder; doing all kinds of weird stuff with email, linux, perl, various networkng equipments and stuff. Talking/writing too much. https://en.wikipedia.org/wiki/Peter_Gervai )

Recent Activity

Dec 11 2023

grin added a comment to T349333: VRTS issue with incoming forwards from a Chapter address.

@Krd are mail moved into Junk and Probably-Spam marked somehow to be searchable by original Queue? (Preferably by stored search.)
(My problem space was that agents handle a few queues while Junk is mixed together from all of them, and agents probably do not want to sort out the spam for everybody. Is it slightly unrelated to the specific ticket though, so just mentioning.)

Dec 11 2023, 7:42 AM · collaboration-services, Znuny

Dec 9 2023

grin added a comment to T349333: VRTS issue with incoming forwards from a Chapter address.

There seem to be some general confusion about SPF here.
What Platonides said is almost right: SPF controls which server may originate a specific sender address using a specific domain. When SPF dictates that a sender can only arrive from 1.2.3.0/24 then any server trying to connect in using that sender(-domain) will get a failed SPF check.
Any server forwarding mail for whatever reason (this includes simple forwarders, aliased email, aliased role/group email, and some kinds of mailing lists) will fail this check, since they use the "original" sender but deliver the mail using their own IP.

Dec 9 2023, 3:44 PM · collaboration-services, Znuny

Jun 5 2023

grin created T338147: Commons structured data deletion get confused by split history.
Jun 5 2023, 1:31 PM · WikibaseMediaInfo, Structured-Data-Backlog, MediaWiki-Page-deletion, StructuredDataOnCommons

Jan 19 2023

grin awarded T326058: Continue using skin if &useskin= is set a Like token.
Jan 19 2023, 10:12 AM · patch-welcome, MediaWiki-User-Interface

May 30 2022

grin created T309492: Postorius (held and) reported full headers get mangled somewhere in the system.
May 30 2022, 8:00 AM · SRE, Wikimedia-Mailing-lists
grin added a comment to T244241: Allow list admins to train spam filters.

Old mailman was able to forward spam to an email address (supposedly the admin), and I have been using it on my old lists to forward spam to my spam-learning email address. I do not see this in Postorius, but it would be a generic solution.

May 30 2022, 7:51 AM · Wikimedia-Mailing-lists, SRE

May 9 2022

grin added a comment to T307873: [mitigated] Google returning 503 error when delivering to mx1001 and mx2001.

My suggestions:

May 9 2022, 3:46 PM · SRE, Infrastructure-Foundations, Mail

Jul 13 2021

grin created T286578: Mediawiki upgrade.php forgot to populate slot_roles.
Jul 13 2021, 5:18 PM · Patch-Needs-Improvement, Platform Team Workboards (Clinic Duty Team), MediaWiki-Installer

Mar 30 2021

grin created T278835: Hungarian Wikipedia search is broken: search slash + name instead (subpage?).
Mar 30 2021, 2:46 PM · Local-Wiki-Template-And-Gadget-Issues

Mar 5 2021

grin added a comment to T276523: Pages with large galleries on uk.wikipedia.org (9000+ files) timeout instead of failing for explicit complexity limits.

this page should be split up on ukwiki.

Mar 5 2021, 2:48 PM · MediaWiki-Parser, Parsoid
grin added a comment to T276523: Pages with large galleries on uk.wikipedia.org (9000+ files) timeout instead of failing for explicit complexity limits.

I have tried to notify a local admin: https://uk.wikipedia.org/wiki/%D0%9E%D0%B1%D0%B3%D0%BE%D0%B2%D0%BE%D1%80%D0%B5%D0%BD%D0%BD%D1%8F_%D0%BA%D0%BE%D1%80%D0%B8%D1%81%D1%82%D1%83%D0%B2%D0%B0%D1%87%D0%B0:Andriy.v#Deletion_of_some_extreme_sized_pages
This does not resolve the problem on mediawiki side, obviosuly.

Mar 5 2021, 2:47 PM · MediaWiki-Parser, Parsoid
grin updated subscribers of T276523: Pages with large galleries on uk.wikipedia.org (9000+ files) timeout instead of failing for explicit complexity limits.
Mar 5 2021, 8:34 AM · MediaWiki-Parser, Parsoid
grin created T276523: Pages with large galleries on uk.wikipedia.org (9000+ files) timeout instead of failing for explicit complexity limits.
Mar 5 2021, 8:31 AM · MediaWiki-Parser, Parsoid

Mar 1 2021

grin created T276060: Please detach/unlink newly created LDAP from my WM account.
Mar 1 2021, 11:01 AM · LDAP, cloud-services-team (Kanban)

Feb 22 2021

grin added a comment to T275294: ((OTRS)) Community Edition 6 is end-of-life; no FOSS replacement provided.

As a sidenote: I have checked a lot of alternatives in the past and have had a second round when otrs ag pulled the plug but found no real replacement. Some offers were dead simple : way too simple for real use. Some were tailored for very specific needs (usually tied with computer code management). Some had horrible source code (which, when mixed with php usually leads to really bad things). RT got lot of facelift in the recent years but I am still not convinced of that UI.
Generally I see two problems:

Feb 22 2021, 4:04 PM · User-notice-archive, SRE, Security, Znuny
grin added a comment to T138915: OTRS database is "too large".

We are using FS storage since the beginning, and it usually goes well without large problems. So far I remember only one problem which was present in OTRSv4: attachments with bad encoding sometimes were saved uing a name which was not translated back to the original well.

Feb 22 2021, 4:02 PM · collaboration-services, vrts, database-backups, DBA, Znuny

May 18 2020

grin added a comment to T249750: Install BBB on the cloud.

I have briefly looked at the packages and they don't seem to have impossible dependencies (apart from java8 but it's still available) and I may try to move it over to a debian, but it's not done yet.

May 18 2020, 10:26 AM · Wikimedia Meet

May 17 2020

grin added a comment to T249750: Install BBB on the cloud.

Let me make some uncalled comments. :-)
I run BBB on the ancient ubuntu VM they want, as a separate system, and it runs fine (provided you firewall everything else). It performs much better than jitsi: rarely loses streams, rarely get stuck on video and can sustain 15-20 videostreams on a relatively small server (with lots of threads though: the VM has 18 cpu threads allowed). (As a sidenote it seems to be a client problem for jitsi.)

May 17 2020, 9:15 PM · Wikimedia Meet

Feb 7 2020

grin added a comment to T222458: Evaluate Element as recommended IRC client.
Feb 7 2020, 10:10 AM · User-Tgr, Matrix

Feb 6 2020

grin added a comment to T222458: Evaluate Element as recommended IRC client.

Well, there is room search if anyone wonders…. (it's just an example.)

Feb 6 2020, 9:42 PM · User-Tgr, Matrix

Aug 6 2019

grin added a comment to T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.

Hmm, the problem is possibly here:

Aug 6 2019, 7:02 PM · Infrastructure-Foundations, Mail
grin added a comment to T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.

You are wrong, it was rejected by, as I have mentioned several times, by mx1001.wikimedia.org [2620:0:861:3:208:80:154:76]. What you are seeing is the rejection based on the rejection of mx1001. The important part is:

Aug 6 2019, 6:50 PM · Infrastructure-Foundations, Mail
grin added a comment to T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.

It is still not fixed, but I have a recent sample.

Aug 6 2019, 6:16 PM · Infrastructure-Foundations, Mail

May 20 2019

grin added a comment to T186061: Evaluate Matrix / Element as the recommended chat system for Wikimedia.
  1. If one's running a real room then "power levels" ought to be used a bit differently to prevent problems later: one shall use "admin" as level 90, and "owner" as level 100, and there may be used a level between admin and normal to let people to invite others or to change the topic of the room. The main reason is that equivalent level users cannot change one another, so without the admin+ level admins cannot be demoted, either by request ("I have lost the client keys please remove me") or due to loss of trust.
May 20 2019, 3:47 PM · Matrix, User-Tgr, Developer-Advocacy

Oct 25 2018

grin created T207938: Make actual number of servers available (like in Grafana board).
Oct 25 2018, 11:00 AM · Observability-Metrics

Oct 24 2018

grin added a comment to T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.

Sorry for being unclear, it wasn't intentional. There was a report of missing mail sent from Wikipedia (wikipedia posted a notice to the user that an email has been sent and the email never have been arrived) and I started inspecting mailserver logs for unusual traffic from anything wikipedia related around the same timeframe.
If anyone really want to do anything about it I can spend time and testing on it [basically sending mail myself and correlate with logs], but not before, since unfortunately my time is a scarce resource.

Oct 24 2018, 2:21 PM · Infrastructure-Foundations, Mail
grin added a comment to T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.

Steps to reproduce: I can't tell you, since this is an incoming email. I have included possibly all the information required to look it up (except the specific timestamp, 2018-10-18 19:49:57 CET) in the mailserver logs, but obviously I do not have any further information on a mail I neither originated nor received. :-) It's from wikipedia, and judging by the sender it may have been generated from something on huwiki, so my educated guess was email-to-a-registered-user-from-the-website.

Oct 24 2018, 10:11 AM · Infrastructure-Foundations, Mail

Oct 22 2018

grin created T207650: Email sent from wikipedia UI seems to use nondeliverable sender: 550 Administrative prohibition.
Oct 22 2018, 11:34 AM · Infrastructure-Foundations, Mail

Jun 7 2018

grin added a comment to T193148: How does the GDPR affect Wikimedia sites and Wikibase instances?.

And the conclusion was …?

Jun 7 2018, 2:18 PM · WMF-Legal, Wikibase-UserGroup

Feb 1 2018

grin added a comment to T186193: clamav errors on mendelevium.

It's a clamd bug + a signature bug. The signature has been fixed the same day it's been fucked up, and clamd will be updated to fix the problem (which resulted dangling filehandles, out of file descriptors, not deleted tmp files and more). Should have been error-free if sigs were updated.

Feb 1 2018, 6:39 PM · Mail

Jan 5 2018

grin added a comment to T184230: Disavow emails from wikipedia.com.

Whoever uses it should be covered by the SPF anyway, that's the point.

Jan 5 2018, 7:49 AM · Infrastructure-Foundations, Patch-Needs-Improvement, SRE, Mail

Jul 21 2017

grin added a comment to T166291: Exim panics when spamd reaches maxchildren.

I know I am lazy so I still haven't decyphered the configs how you handle spamd, but a few notes in the dark:

  • you can use defer_ok to let messages through in case of spamd failure
spam = everybody/defer_ok
  • creating spamd instances are usually pretty cheap if you're using fast common bayes (like redis) and fast common whitelist (like postgres). I have usually four spamd containers around, 2 for everyday load (40%-40%) and the rest is for emergencies (10%-10%), which only get used when the main ones saturate. (I gave them plenty of mamory and let 50+ connection per instance.)
  • I observed no real difference between prefork or dynamic fork configs (unless your fork is expensive), so it's pointless to fiddle with it
  • exim max parallel deliveries strongly correlate to expected spamd parallel scans. if you let exim handle lots of connections you need spamd which can handle it as well.
Jul 21 2017, 11:56 AM · Infrastructure-Foundations, Mail, SRE

Jun 4 2017

grin created T166991: Add language support for hu.
Jun 4 2017, 5:51 PM · Bad-Words-Detection-System, revscoring, artificial-intelligence, Machine-Learning-Team

May 3 2017

grin added a comment to T117127: Add support for the Meek STV method in SecurePoll.

A bit of a latecomer but I would comment that by some (and this some seems to be more some than the meek supporters* ;-)) the Schulze STV (https://en.wikipedia.org/wiki/Schulze_STV) is considered pretty useful in the real life scenarios (and usually recommended over other multi-winner systems by geeks).

May 3 2017, 8:05 AM · Anti-Harassment, Elections, MediaWiki-extensions-SecurePoll

Apr 8 2017

grin added a comment to T160529: Sender email spoofing.

@Nemo_bis uh, these servers are basically idle. Any SPF checking may be okay, fork or otherwise.

Apr 8 2017, 9:51 PM · Infrastructure-Foundations, Security, SRE, Mail, Wikimedia-Mailing-lists

Apr 7 2017

grin added a comment to T133717: Letsencrypt all the prod things we can - planning.

Just as a sidenote: be aware that wildcards are only wildcard one level up, not any; *.wikimedia.org matches robh.wikimedia.org but not server01.robh.wikimedia.org (which became obvious on the OSM tileservers on labs).

Apr 7 2017, 8:13 PM · SRE, Traffic
grin added a comment to T160529: Sender email spoofing.

AFAIK, from the list members email server point of view, any SPF check will pass since it's checking WMF's mailman server.

Indeed, see example (from a gmail recipient address):

Received-SPF: pass (google.com: domain of wikiquote-l-bounces@lists.wikimedia.org designates 208.80.154.75 as permitted sender) client-ip=208.80.154.75;

Do we need to install spf-tools-perl and set CHECK_RCPT_SPF=true in https://phabricator.wikimedia.org/diffusion/OPUP/browse/production/modules/role/templates/exim/exim4.conf.mx.erb ?
https://wiki.debian.org/Exim#SPF_filtering

Apr 7 2017, 8:09 PM · Infrastructure-Foundations, Security, SRE, Mail, Wikimedia-Mailing-lists
grin added a comment to T160529: Sender email spoofing.

Dropping/autorejecting email with matching header
​X-Spam-Score: .+\+\+\+\+\+
(which is above spam scrote 5.00) probably helps a lot.

That's not something someone in my position can do since the email never goes through the legitimate (i.e. SPF authorised) server. It goes straight to WMF's server who send it out to list members. AFAIK, from the list members email server point of view, any SPF check will pass since it's checking WMF's mailman server.

Apr 7 2017, 8:03 PM · Infrastructure-Foundations, Security, SRE, Mail, Wikimedia-Mailing-lists

Apr 6 2017

grin added a comment to T160529: Sender email spoofing.

I'll also accept suggestion for what I can do on my end.

Dropping/autorejecting email with matching header
​X-Spam-Score: .+\+\+\+\+\+
(which is above spam scrote 5.00) probably helps a lot.

Apr 6 2017, 9:00 PM · Infrastructure-Foundations, Security, SRE, Mail, Wikimedia-Mailing-lists
grin added a comment to T160529: Sender email spoofing.

Am I right to guess that we don't do (strict or else) SPF checking while we definitely should? Exim can handle SPF just fine alone, as well as spamassassin.
It's also a bit weird that we let an email to go with the flow with 10+ spam points, but maybe there are hist[oe]rical reasons...

Apr 6 2017, 8:57 PM · Infrastructure-Foundations, Security, SRE, Mail, Wikimedia-Mailing-lists

Mar 29 2017

grin added a comment to T161256: multi-component wmflabs.org subdomains doesn't work under simple wildcard TLS cert.

I would expect some background check from you before answering. Let me do it then. HTTP/2 support by browser versions:

Some of these are pretty recent versions. I don't really agree your optimism about coverage.

I believe @MaxSem was referring to MediaWiki official level of support for various internet browsers (see https://www.mediawiki.org/wiki/Compatibility) rather than browsers support levels for HTTP/2 processing.

Mar 29 2017, 10:13 AM · cloud-services-team (Kanban), SRE, Traffic, Maps, Cloud-VPS, DNS

Mar 28 2017

grin added a comment to T161256: multi-component wmflabs.org subdomains doesn't work under simple wildcard TLS cert.

The only valid use for labs is WMF projects,

Mar 28 2017, 7:55 PM · cloud-services-team (Kanban), SRE, Traffic, Maps, Cloud-VPS, DNS

Mar 27 2017

grin added a comment to T161256: multi-component wmflabs.org subdomains doesn't work under simple wildcard TLS cert.

Now, in the time of HTTP/2.0 over TLS, there are modern pipelining techniques that render multiple domains not needed.

Just don't forget that we're talking about the Real World™, where Internet Exploder v5.0 is still reality. Not that I say I want to support that but SPDY/HTTP2 isn't that ubiquitous and older clients may well hit rate limits hard.
People with godmode flags may check how many requests are and are not using HTTP2, and help to make informed decisions.

Mar 27 2017, 9:29 AM · cloud-services-team (Kanban), SRE, Traffic, Maps, Cloud-VPS, DNS

Mar 23 2017

grin created T161256: multi-component wmflabs.org subdomains doesn't work under simple wildcard TLS cert.
Mar 23 2017, 9:28 PM · cloud-services-team (Kanban), SRE, Traffic, Maps, Cloud-VPS, DNS

Nov 18 2016

grin added a comment to T141815: Define tile usage policy.

Thanks for the reminder, I've got a word back from MQ, and they said, that in 2014 MapQuest served 380 million Open Tiles per day, 9.3 million Open geocodes per day, and 38 million Open reverse geocodes per day (these numbers were readily available).

Nov 18 2016, 2:39 PM · SRE, WMF-Legal, Maps-Sprint, Discovery-ARCHIVED, Maps
grin added a comment to T150421: Provide a sender email address alias for use in Special:Emailuser (aka 2-way email relay).

Whenever I had to do such a service it's getting done by a really simple mailforwarder. Every user have a hashed mailbox, say, u8ee7d5a0@private.wikipedia.org (and even the hash could be generated from the account name and not from the email, if one's worrying about deniability), do not even have to be created as it may be generated on the fly. Outbound email uses this sender, and all replies get processed and forwarded to the user's real email address. In theory I can do this for you if you have a spare CT/VM with access to user email addresses (or a copy of it) and have a net connection.

Nov 18 2016, 11:34 AM · Infrastructure-Foundations, Anti-Harassment, Privacy, Trust-and-Safety, Mail, MediaWiki-Email

Nov 17 2016

grin created T150966: Unhandled exception "syntax error, unexpected @, expecting $end" when search string contains @.
Nov 17 2016, 5:00 PM · Phabricator (2017-01-25)

Nov 8 2016

grin added a comment to T141815: Define tile usage policy.

Another sidenote: this decision should have a good visibility to the people planning server resources.
And I try to ask around MapQuest what traffic levels did they observe before throwing it in.

Nov 8 2016, 7:34 AM · SRE, WMF-Legal, Maps-Sprint, Discovery-ARCHIVED, Maps

Nov 7 2016

grin added a comment to T141815: Define tile usage policy.

@debt: as @BBlack pointed out in the start of this thread, we tend to have a fairly liberal view on who can reuse our content / services

Nov 7 2016, 6:40 PM · SRE, WMF-Legal, Maps-Sprint, Discovery-ARCHIVED, Maps

Oct 14 2016

grin added a comment to T146391: eeden ethernet outage.

The time the link went away has there been any VRRP change?

Oct 14 2016, 1:18 PM · SRE, ops-esams, netops, DNS, Traffic

Oct 7 2016

grin added a comment to T146968: OTRS spam classification methods and systems.

Now, I can't say anything definite given the relevant servers are operated by the WMF, so I suppose only they'd be able to provide perfectly up-to-date information,

Oct 7 2016, 2:23 PM · Znuny

Oct 6 2016

hoo awarded T146967: https://grafana.wikimedia.org/dashboard/db/wikidata-api doesn't fill since 7th sep a The World Burns token.
Oct 6 2016, 6:58 PM · User-Addshore, Patch-For-Review, WMDE-Analytics-Engineering, Wikidata, Grafana

Sep 29 2016

grin added a comment to T4508: "you are blocked - don't edit" message similar to "you have new messages".

Geez, that was 11 years ago. :-P

Sep 29 2016, 8:33 AM · MediaWiki-Blocks, OKR-Work
grin created T146968: OTRS spam classification methods and systems.
Sep 29 2016, 8:26 AM · Znuny
grin created T146967: https://grafana.wikimedia.org/dashboard/db/wikidata-api doesn't fill since 7th sep.
Sep 29 2016, 8:13 AM · User-Addshore, Patch-For-Review, WMDE-Analytics-Engineering, Wikidata, Grafana

Sep 27 2016

grin added a watcher for Znuny: grin.
Sep 27 2016, 10:50 AM
grin added a watcher for Mail: grin.
Sep 27 2016, 10:49 AM

Sep 23 2016

grin added a comment to T146391: eeden ethernet outage.

(testing lurking on phabricator made me see this ;-))
my 2'cents: since defgw was not pingable I'd check (apart from arp) irqs on the machine, I suspect you've checked that there was nothing in syslog saying stuck ethernet rings or device. if it was on v6 the gw may play tricks but it's usually doesn't happen on static v4 configs.
as a sidenote this also happen on cabling problems when only one wire is faulty (no link loss but loss of one direction), usually happens when someone's fiddling around. switch hardly can say anything useful, much more helpful would be the counters on the machine eth.
sorry for chiming in. :-)

Sep 23 2016, 5:58 AM · SRE, ops-esams, netops, DNS, Traffic

Sep 14 2016

grin added a comment to T144508: Point wikipedia.in to 205.147.101.160 instead of URL forward.
Sep 14 2016, 1:50 PM · Domains, WMF-Legal, DNS, SRE

Sep 9 2016

grin added a comment to T144508: Point wikipedia.in to 205.147.101.160 instead of URL forward.

I respectfully disagree with most of the points, but as it's been said before: I have noted that the topic should be considered complex in case of a decision should be reached.

Sep 9 2016, 7:06 AM · Domains, WMF-Legal, DNS, SRE

Sep 2 2016

grin added a comment to T144508: Point wikipedia.in to 205.147.101.160 instead of URL forward.

@BBlack thanks for the detailed reply. I try not to talk apart this task, so I try hard to be brief.

Sep 2 2016, 3:03 PM · Domains, WMF-Legal, DNS, SRE
grin added a comment to T144508: Point wikipedia.in to 205.147.101.160 instead of URL forward.
Sep 2 2016, 10:22 AM · Domains, WMF-Legal, DNS, SRE

Aug 26 2016

grin added a watcher for DNS: grin.
Aug 26 2016, 11:27 PM

Sep 30 2015

grin added a comment to T101051: Migrate AWB away from SourceForge?.

As a sidenote: migrating all the eggs of the whole world into one basket of github seem to be a bad long-term strategy. I'd say doing it independently should be preferred.

Sep 30 2015, 1:46 PM · AutoWikiBrowser