I have not had any replies from bridges@torproject.org this week, and we've received a few complaints on help@rt.torproject.org as well. Can someone please figure out what's wrong?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Is there any way to estimate when this stopped working? From the logs, I can tell that BridgeDB processed email requests at least until Jan 15 06:07:31.
If it stopped working after that, or if we aren't sure, we should let someone with admin rights (weasel or phobos) check whether or not emails are forwarded from whatever MTA to BridgeDB. To me, it currently looks like mails aren't arriving for processing in BridgeDB.
Feb 10 07:50:38 [INFO] Got a completed email; deciding whether to reply.Feb 10 07:50:38 [INFO] Got a bad dkim header ('invalid (public key: DNSquery timeout for gamma._domainkey.gmail.com)') on an incoming mail;rejecting it.
Looks like our dkim proxy is failing to do a dkim step, and declaring the email invalid.
Where does our dkim proxy live? I heard a rumor it was on gettor? I think kaner runs that?
But it has a really bad success rate. All the "invalid"s there are timeouts, btw.
Running the query from the command line doesn't look slow at all:
dnsel2:/var/log# time dig +short TXT gamma._domainkey.gmail.com"k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIhyR3oItOy22ZOaBrIVe9m/iME3RqOJeasANSpg2YTHTYV+Xtp4xwf5gTjCmHQEMOs0qYu0FYiNQPQogJ2t0Mfx9zNu06rfRBDjiIU9tpx2T+NGlWZ8qhbiLo5By8apJavLyqTLavyPSrvsx0B3YzC63T4Age2CDqZYA+OwSMWQIDAQAB"real 0m0.047suser 0m0.000ssys 0m0.020s
Why is it only slow when the query is called from dkimproxy? Why did that timeout problem start to occur all of a sudden anyway? It did work for quite a while, then started getting problems, without anyone changing the setup (to my knowledge).
Fun fact: I don't see any DNS requests for domainkey hosts when I run:
tcpdump -n -i eth0 udp port 53 | grep domainkey
Unless I do a manual request from the command line like so:
dig +short TXT s1024._domainkey.yahoo.cn
or
cat /tmp/testmail.txt | dkimproxy-verify
As arma concluded, it may be that dkimproxy only thinks it does a DNS requests. Maybe it starts those requests with a timeout of 0? Someone with better perl-foo than myself should maybe take a look at /usr/share/perl5/Mail/DKIM/DNS.pm?
I don't know what to day, but changing the request timeout from 10 to 60 seconds in /usr/share/perl5/Mail/DKIM/DNS.pm helped. Now all requests get through. And no, they don't take longer than small parts of a second each. I'm confused. But it works now. BridgeDB sends out bridge addresses again.