WTF, git

Dear Lazyweb, why is git so fucking slow?

I don't actually expect anyone to be able answer this, but I need to scream into the void anyway.

I changed 2 lines in a 5 KB file and it took 20 seconds.

12:37:51 PM git commit...
+ git commit -a --allow-empty-message -m ''
[master 325c0d90d9e3]
1 file changed, 2 insertions(+), 2 deletions(-)
12:38:06 PM git commit done -- time elapsed: 15 seconds.

12:38:06 PM git push...
+ git push
Pushing to cerebrum.dnalounge.com:/cvsroot/dna.git
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 20 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 369 bytes | 369.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
To cerebrum.dnalounge.com:/cvsroot/dna.git
46bd9e724370..325c0d90d9e3 master -> master
updating local tracking ref 'refs/remotes/origin/master'
12:38:11 PM git push done -- time elapsed: 5 seconds.

Previously, previously, previously.

Tags: , , ,

Postfix

Dear Lazyweb,

How do I prevent postfix forgeries in "From:" rather than envelope?

Putting "dnalounge.com REJECT Forgery" in "sender_access" prevents inbound unauthenticated SMTP connections from forging my domain in the envelope, but doesn't reject messages like:

Return-Path: spammer@example.com
From: example@dnalounge.com
or
Return-Path: spammer@example.com
From: "example@dnalounge.com" <spammer@example.com>

Looking for a postfix solution, not a spamassassin solution.

Current settings:

smtpd_helo_restrictions =
        permit_mynetworks,
        reject_non_fqdn_helo_hostname,
        reject_invalid_helo_hostname,
        permit

smtpd_sender_restrictions =
        permit_mynetworks,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain,
        permit

smtpd_recipient_restrictions =
        reject_unauth_pipelining,
        reject_non_fqdn_recipient,
        reject_unknown_recipient_domain,
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        check_recipient_access hash:/etc/postfix/access,
        check_sender_access hash:/etc/postfix/sender_access,
        reject_rbl_client zen.spamhaus.org,
        permit

smtpd_relay_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination


Update: I have still not gotten an answer to this question that I understand or believe. Is the person below who said "you can only solve this by adding even more nonstandard complexity to master.cf" correct?

Previously.

Tags: , , , , ,

  • Previously