This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AC_CHECK_FUNC(res_mkquery, , | |
[AC_CHECK_LIB(bind, res_mkquery, , | |
[AC_CHECK_LIB(resolv, res_mkquery, , | |
[ saved_LIBS="$LIBS" | |
LIBS="$LIBS -lresolv" | |
AC_MSG_CHECKING(for res_mkquery in -lresolv again) | |
AC_LINK_IFELSE([[ | |
#include <resolv.h> | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% traceroute6 www.enst.fr | |
traceroute to vili.enst.fr (2001:660:330f:34::8) from 2001:4b98:dc0:41:216:3eff:fece:1902, 30 hops max, 16 byte packets | |
1 2001:4b98:dc0:41::248 (2001:4b98:dc0:41::248) 2.016 ms 0.513 ms 1.633 ms | |
2 p250-core1-d-ip6.paris.gandi.net (2001:4b98:1f::c1d1:237) 0.74 ms 0.588 ms 0.484 ms | |
3 p251-core2-d-ip6.paris.gandi.net (2001:4b98:1f::c1c2:246) 0.694 ms 0.604 ms 0.482 ms | |
4 20gigabitethernet1-3.core1.ams1.ipv6.he.net (2001:7f8:1::a500:6939:1) 18.014 ms 23.649 ms 25.547 ms | |
5 amsix.xcr1.amd.cw.net (2001:7f8:1::a500:1273:1) 62.511 ms 44.093 ms 44.057 ms | |
6 so-2-0-0-dcr1.bru.cw.net (2001:5000:0:128::2) 47.159 ms 47.088 ms 47.082 ms | |
7 xe-4-0-0-xcr2.bru.cw.net (2001:5000:0:16f::2) 46.899 ms 46.949 ms 47.001 ms | |
8 so-7-0-0-dcr1.par.cw.net (2001:5000:0:103::1) 49.572 ms 49.617 ms 49.557 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Done against OpenSSL 0.9.8g | |
--- apps/s_client.c.orig 2011-03-09 09:46:43.000000000 +0100 | |
+++ apps/s_client.c 2011-03-09 10:20:04.000000000 +0100 | |
@@ -924,7 +924,7 @@ | |
BIO_printf(bio_err, | |
"didn't found STARTTLS in server response," | |
" try anyway...\n"); | |
- BIO_printf(sbio,". STARTTLS\r\n"); | |
+ BIO_printf(sbio,". STARTTLS\r\n. NOOP\r\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ENDPOINT=https://seenthis.net/api/messages | |
TEMPLATE="<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom'><summary></summary></entry>" | |
DEST_ENCODING=UTF-8 | |
# TODO: it would be better to find it from the environment | |
MY_ENCODING=ISO-8859-1 | |
if [ "$1" != "" ]; then | |
echo "Usage: $0" >&2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script depends on the read builtin and its -t (timeout) | |
# option. It is not standard, we have to test it. | |
# http://www.cyberciti.biz/tips/how-do-i-find-out-what-shell-im-using.html | |
shell=$(ps hp $$|awk '{print $5}') | |
if [ $shell != "zsh" ] && [ $shell != "bash" ] && [ $shell != "ksh" ]; then | |
echo "Sorry, this script requires a shell with support of timeout in read. $shell is unknown to me." >&2 | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L'article | |
<http://www.indexel.net/actualites/microsoft-rachete-667-000-adresses-ipv4-a-prix-d-or-3321.html> | |
comporte plusieurs erreurs sérieuses : | |
« Microsoft a déboursé 7,5 millions d'euros » alors qu'il s'agissait | |
de dollars états-uniens. | |
« IPv6 rendra certaines applications - téléphonie IP, peer-to-peer, | |
sites web - plus rapides. » C'est absolument n'importe quoi. IPv6 ne | |
comporte aucune méthode magique qui accélèrerait le réseau. C'est une |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can't start Hardware abstraction layer - please ensure dbus is running failed! | |
mkdir: cannot create directory `/var/run/proftpd': No such file or directory | |
Starting ftp server: proftpd - notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': No such file or directory | |
- notice: unable to listen to local socket: Operation not permitted | |
- error: unable to stat() /var/log/proftpd: No such file or directory | |
- Fatal: SystemLog: unable to redirect logging to '/var/log/proftpd/proftpd.log': No such file or directory on line 90 of '/etc/proftpd/proftpd.conf' | |
failed! | |
Starting periodic command scheduler: crond/usr/sbin/cron: can't open or create /var/run/crond.pid: No such file or directory | |
failed! | |
Starting web server: apache2mkdir: cannot create directory `/var': File exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% date -u | |
Fri May 20 07:50:49 UTC 2011 | |
% ifconfig eth1 | |
eth1 Link encap:Ethernet HWaddr 00:1a:a0:ac:4a:0c | |
inet addr:192.134.6.69 Bcast:192.134.6.127 Mask:255.255.255.192 | |
inet6 addr: fe80::21a:a0ff:feac:4a0c/64 Scope:Link | |
inet6 addr: 2001:67c:2219:8::6:69/64 Scope:Global |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
En visant depuis la France un serveur aux États-Unis (en IPv4 parce qu'Orange n'a toujours pas IPv6) : | |
% traceroute www.ietf.org | |
traceroute to www.ietf.org (64.170.98.30), 30 hops max, 60 byte packets | |
1 10.164.17.9 (10.164.17.9) 93.264 ms 93.327 ms 93.308 ms | |
2 10.164.17.10 (10.164.17.10) 93.405 ms 93.388 ms 93.461 ms | |
3 mail.ietf.org (64.170.98.30) 94.960 ms 95.170 ms * | |
4 mail.ietf.org (64.170.98.30) 97.398 ms 97.370 ms 104.741 ms | |
5 mail.ietf.org (64.170.98.30) 51.097 ms 59.308 ms 51.053 ms | |
6 * mail.ietf.org (64.170.98.30) 53.214 ms 60.512 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From Free : | |
% traceroute6 2001:4958:10::1 | |
traceroute to 2001:4958:10::1 (2001:4958:10::1) from 2a01:e35:8bd9:8bb0:84d9:d84:92e7:3aae, port 33434, from port 54587, 30 hops max, 60 byte packets | |
1 2a01:e35:8bd9:8bb0::1 (2a01:e35:8bd9:8bb0::1) 6.481 ms 5.717 ms 6.406 ms | |
2 * * * | |
3 2a01:e00:2:d::1 (2a01:e00:2:d::1) 29.448 ms 27.561 ms 24.144 ms | |
4 if-ae15.548.tcore1.PVU-Paris.ipv6.as6453.net (2001:5a0:1a00::85) 39.973 ms 38.856 ms 37.975 ms | |
5 if-2-0-0.mcore3.MTT-Montreal.ipv6.as6453.net (2a01:3e0:ff80:100::12) 215.810 ms 146.196 ms 153.400 ms |