31 May 2010
Nach ssh-copy-id nun die zweite. sssh-argv0. Die manpage ist ein wenig seltsam. Ich habs jedenfalls erst beim dritten lesen verstanden:
ssh-argv0 replaces the old ssh command-name as hostname handling.
If you link to this script with a hostname then executing the
link is equivalent to having executed ssh with that hostname as
an argument. All other arguments are passed to ssh and will be
processed normally.
Will heissen, dass ich einen Link auf dieses Programm zeigen lassen kann, und wenn ich den dann ausführe macht der ein ssh zu dem Rechner mit dem Namen des links… Auch nicht verständlicher als die Manpage. Beispiel:
chris@teZ7i:~$ ln -s /usr/bin/ssh-argv0 ~/bin/lab.colodeck.de
chris@teZ7i:~$ lab.colodeck.de -v
OpenSSH_5.5p1 Debian-3, OpenSSL 0.9.8n 24 Mar 2010
debug1: Reading configuration data /home/chris/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to lab.colodeck.de [213.128.138.200] port 22.
debug1: Connection established.
Klar ? Lustig !
Gibts noch mehr solche Perlen ?
29 May 2010
ich hab jetzt xmpp-pubsub. Mal sehen obs klappt. Da es dafür noch keinen client gibt, ist das zwar alles theoretisch, aber trotzdem lustig
20 May 2010
weils nervt:
function reverse {
ip=$(dig +short $1|tail -n 1)
echo "$1 has $ip"
host $ip
}
Das ganze nimmt das Argument, macht daraus eine IP, und aus der IP wieder einen Namen.
Ich bin mir nur noch nicht ganz schlüssig, ob ich statt host lieber ‘dig +x -short’ nehmen sollte.
Ich finds so jedenfalls schöner. Viel spass damit.
21 April 2010
Neulich beschwerte ich mich noch, dass es total scheisse sei, dass awesome
zur Konfiguration eine Programmiersprache benutzt. Heute habe ich mich drüber
gefreut. Man muss sich nur lange genug damit beschäftigen, dann merkt man nicht
mehr wie scheisse das eigentlich ist. Ich wollte nämlich, dass neue
Fenster nicht mehr in der linken Fensterspalte aufgehen, sondern in der rechten.
Das habe ich zurechtgefummelt:
client.add_signal("manage", function (c, startup)
if not awful.client.floating.get() then
awful.client.swap.bydirection ("right")
end
end
Ich könnte zwar jetzt nicht sagen, wie das zu lösen wäre,
wenn awesome eine normale Konfigurationsdatei benutzen würde,
sähe aber bestimmt schöner aus
20 April 2010
chris@teZ7i:~$ iperf -c lab.colodeck.de
------------------------------------------------------------
Client connecting to lab.colodeck.de, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.100 port 41435 connected with 213.128.138.200 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-11.2 sec 160 KBytes 117 Kbits/sec
… oder auch nicht …
15 April 2010
Vodafone scheint mein STARTTLS nicht absichtlich gefiltert zu haben. Jedenfalls schreiben die folgendes:
Problem war eine fehlerhafte Inspektion des Smtp-Traffics
auf der hannoveraner Firewall. Problem ist behoben.
Also alles wieder gut.
8 April 2010
fuck schit, nooo, that can’t be true:
Vodafone drops STARTTLS headers from my mailserver.
usually it looks like this:
chris@mail:~$ telnet mail.kluenter.de 25
Trying 213.128.138.199...
Connected to mail.kluenter.de.
Escape character is '^]'.
220 mail.kluenter.de
ehlo test
250-mail.kluenter.de
250-PIPELINING
250-SIZE 524288000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
but using vodafone 3G, it looks like this:
chris@teZ7i:~$ telnet mail.kluenter.de 25
Trying 213.128.138.199...
Connected to mail.kluenter.de.
Escape character is '^]'.
220 ****************
ehlo test
250-mail.kluenter.de
250-PIPELINING
250-SIZE 524288000
250-VRFY
250-ETRN
250-XXXXXXXA
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
My local mailserver refuses to talk to non-SSL Mailservers. If it would behave as any other mailserver, it would just not use SSL because it was not announced. It would have sent login-Data unencrypted !!!1!
Fucking shit man. Thats plain fucking mad !!!1!!!
I live in Germany. Not China. Will have to use my VPN now. Fuck.
Update: Others have the same problem:
http://forum.vodafone.ie/index.php?/topic/3055-weird-esmtp-filter/
Update2: Vodafone does not spy on the submission-Port. Thats what I am using now. Stupid bastards…
Update3: Vodafone fixed the problem.