| 1 |
@sequence meta |
| 2 |
@title joko's sample notes - 2003-04 - Solutions |
| 3 |
@subtitle Solutions I |
| 4 |
@topic joko's Tasks |
| 5 |
@author joko@netfrag.org |
| 6 |
@document-mime-type text/plain |
| 7 |
@document-mime-type text/english text/german |
| 8 |
@document-mime-type text/vnd.twingle |
| 9 |
|
| 10 |
@sequence meta |
| 11 |
@document-history |
| 12 |
@cvs-info |
| 13 |
$Id: joko_2003-04.twingle,v 1.1 2003/04/05 01:27:20 joko Exp $ |
| 14 |
|
| 15 |
@sequence meta |
| 16 |
@x-transport |
| 17 |
@x-transport-from grasshopper.netfrag.org |
| 18 |
@x-transport-to quepasa.netfrag.org |
| 19 |
@x-transporter Microsoft Windows |
| 20 |
@x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)] |
| 21 |
@x-transporter-protocol cvs client-server protocol |
| 22 |
@x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f] |
| 23 |
@x-transporter-protocol ssh [OpenSSH Version 2] |
| 24 |
@x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f] |
| 25 |
@x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)] |
| 26 |
@x-transporter-protocol cvs client-server protocol |
| 27 |
@x-transporter Linux running on quepasa.netfrag.org [Linux version 2.4.18-29um (root@linux) (gcc version 2.95.3 20010315 (SuSE)) #1 Sun May 26 17:01:48 CEST 2002] |
| 28 |
@x-transporter-protocol ext3 |
| 29 |
@x-transporter Linux running on h1.service.netfrag.org [Linux version 2.4.10-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 Tue Sep 25 12:33:54 GMT 2001] |
| 30 |
@x-transporter-protocol ext3 |
| 31 |
#@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle] |
| 32 |
|
| 33 |
@sequence script |
| 34 |
@set o=@todo |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
@sequence block |
| 39 |
@injected |
| 40 |
@date 2003-04-05 00:23 |
| 41 |
@file [unknown] |
| 42 |
@x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3) |
| 43 |
@x-transporter Microsoft COM |
| 44 |
@x-transporter-protocol copy & paste negotiation |
| 45 |
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
| 46 |
|
| 47 |
|
| 48 |
i quepasa.netfrag.org |
| 49 |
#> apt-get install libapache-mod-dav |
| 50 |
Reading Package Lists... Done |
| 51 |
Building Dependency Tree... Done |
| 52 |
The following NEW packages will be installed: |
| 53 |
libapache-mod-dav |
| 54 |
0 packages upgraded, 1 newly installed, 0 to remove and 12 not upgraded. |
| 55 |
Need to get 80.0kB of archives. After unpacking 262kB will be used. |
| 56 |
Get:1 ftp://ftp.uni-erlangen.de stable/main libapache-mod-dav 1.0.3-3 [80.0kB] |
| 57 |
Fetched 80.0kB in 1s (50.7kB/s) |
| 58 |
Get:1 ftp://ftp.uni-erlangen.de stable/main libapache-mod-dav 1.0.3-3 [80.0kB] |
| 59 |
Fetched 80.0kB in 1s (50.7kB/s) |
| 60 |
Selecting previously deselected package libapache-mod-dav. |
| 61 |
(Reading database ... 35711 files and directories currently installed.) |
| 62 |
Unpacking libapache-mod-dav (from .../libapache-mod-dav_1.0.3-3_i386.deb) ... |
| 63 |
Setting up libapache-mod-dav (1.0.3-3) ... |
| 64 |
Finding DSO mods.............................................found. |
| 65 |
|
| 66 |
# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so |
| 67 |
# LoadModule env_module /usr/lib/apache/1.3/mod_env.so |
| 68 |
[...] |
| 69 |
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so |
| 70 |
# LoadModule sys_auth_module /usr/lib/apache/1.3/mod_auth_sys.so |
| 71 |
LoadModule dav_module /usr/lib/apache/1.3/libdav.so |
| 72 |
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so |
| 73 |
# LoadModule put_module /usr/lib/apache/1.3/mod_put.so |
| 74 |
LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so |
| 75 |
# LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so |
| 76 |
# LoadModule allowdev_module /usr/lib/apache/1.3/mod_allowdev.so |
| 77 |
[...] |
| 78 |
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so |
| 79 |
# LoadModule ldap_module /usr/lib/apache/1.3/mod_ldap.so |
| 80 |
# LoadModule python_module /usr/lib/apache/1.3/mod_python.so |
| 81 |
|
| 82 |
Pondering............................................. done. |
| 83 |
|
| 84 |
Save these changes to the configuration files? [Y/n] |
| 85 |
|
| 86 |
Rotated `/etc/apache/httpd.conf' at Tue Apr 1 20:41:04 CEST 2003. |
| 87 |
Restart Apache now? [Y/n] |
| 88 |
Stopping apache with apachectl ... done. |
| 89 |
Waiting for apache to terminate ... done. |
| 90 |
/usr/sbin/apachectl start: httpd (pid 560) already running |
| 91 |
|
| 92 |
Didn't / doesn't work since we are running the ssl-apache with this |
| 93 |
special password-providing mechanism jonen known something about. |
| 94 |
|
| 95 |
so: |
| 96 |
#> /etc/init.d/apache restart |
| 97 |
|
| 98 |
and (surprise!): |
| 99 |
apt deconfigured php4 in apache making all the php-source-files downloadable ;( -> bad thing!!! |
| 100 |
|
| 101 |
i quepasa.netfrag.org |
| 102 |
#> cd /data/libs/nfo |
| 103 |
#> cvs -q update |
| 104 |
[...] |
| 105 |
cvs update: skipping directory perl/libs/OEF/Why |
| 106 |
U perl/libs/Regexp/Group.pm |
| 107 |
cvs update: perl/libs/misc/HashExt.pm is no longer in the repository |
| 108 |
U perl/libs/org/netfrag/pkgTools.pm |
| 109 |
RCS file: /var/lib/cvs/nfo/perl/libs/org/netfrag/shortcuts.pm,v |
| 110 |
retrieving revision 1.3 |
| 111 |
retrieving revision 1.4 |
| 112 |
Merging differences between 1.3 and 1.4 into shortcuts.pm |
| 113 |
rcsmerge: warning: conflicts during merge |
| 114 |
cvs update: conflicts found in perl/libs/org/netfrag/shortcuts.pm |
| 115 |
C perl/libs/org/netfrag/shortcuts.pm |
| 116 |
#> nano perl/libs/org/netfrag/shortcuts.pm |
| 117 |
{ search for (CTRL+W) '<<<<' } |
| 118 |
#> mv perl/libs/org/netfrag/shortcuts.pm perl/libs/org/netfrag/shortcuts.pm.orig |
| 119 |
#> cvs -q update |
| 120 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/Data/Code: No such file or directory |
| 121 |
cvs update: skipping directory perl/libs/Data/Code |
| 122 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/Data/Compare: No such file or directory |
| 123 |
cvs update: skipping directory perl/libs/Data/Compare |
| 124 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/Data/Identifier: No such file or directory |
| 125 |
cvs update: skipping directory perl/libs/Data/Identifier |
| 126 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/Data/Transform: No such file or directory |
| 127 |
cvs update: skipping directory perl/libs/Data/Transform |
| 128 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/OEF/Notes: No such file or directory |
| 129 |
cvs update: skipping directory perl/libs/OEF/Notes |
| 130 |
cvs update: cannot open directory /var/lib/cvs/nfo/perl/libs/OEF/Why: No such file or directory |
| 131 |
cvs update: skipping directory perl/libs/OEF/Why |
| 132 |
cvs update: warning: perl/libs/org/netfrag/shortcuts.pm was lost |
| 133 |
U perl/libs/org/netfrag/shortcuts.pm |
| 134 |
#> cd perl |
| 135 |
#> cvs -q update -d |
| 136 |
#> rm -r libs/Data/Code |
| 137 |
#> rm -r libs/Data/Compare |
| 138 |
#> rm -r libs/Data/Identifier |
| 139 |
#> rm -r libs/Data/Transform |
| 140 |
#> rm -r libs/OEF/Notes |
| 141 |
#> rm -r libs/OEF/Why |
| 142 |
#> cd /data/libs/nfo |
| 143 |
#> cvs -q update -d php |
| 144 |
|
| 145 |
i Worte 2002 |
| 146 |
"Der Herr hat's gegeben, |
| 147 |
der Herr hat's genommen." |
| 148 |
[Leo Kirch, SPIEGEL 9/2002] |
| 149 |
|
| 150 |
m google::wolfowitz |
| 151 |
http://www.defenselink.mil/bios/depsecdef_bio.html |
| 152 |
http://www-gap.dcs.st-and.ac.uk/~history/Mathematicians/Wolfowitz.html |
| 153 |
http://www-gap.dcs.st-and.ac.uk/~history/BirthplaceMaps/Places/Warsaw.html |
| 154 |
http://www-gap.dcs.st-and.ac.uk/~history/Mathematicians/Wald.html |
| 155 |
http://www.defenselink.mil/news/Jan2003/t01232003_t0123cfr.html |
| 156 |
http://www.n-tv.de/3095889.html |
| 157 |
|
| 158 |
err quepasa.netfrag.org: dispatchmail stops working (updated netfrag.org/cvs) |
| 159 |
#> tail -f /var/lib/sendmail/dead.letter |
| 160 |
#> cd /data/opt/tools/dispatchmail/bin-tests |
| 161 |
#> ./build_dispatch /tmp |
| 162 |
Undefined subroutine &Mail::Audit::Dispatch::a2f called at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 230, <STDIN> line 16. |
| 163 |
|
| 164 |
o phpDocumentIndex & WEBDAV |
| 165 |
- http://www.webdav.org/mod_dav/faq/#02-00 |
| 166 |
- http://lwest.free.fr/doc/php/lib/index.php3?page=net_http_client&lang=en |
| 167 |
|
| 168 |
i search::poorly granularized security |
| 169 |
|
| 170 |
? Is there already a TUN/TAP Driver interface in CPAN? |
| 171 |
@link http://openvpn.sourceforge.net/tuntap.html |
| 172 |
|
| 173 |
? perl-binding for equinox desktop environment |
| 174 |
|
| 175 |
m google::Japanese Internment |
| 176 |
http://www.oz.net/~cyu/internment/main.html |
| 177 |
http://www.geocities.com/Athens/8420/ |
| 178 |
|
| 179 |
o shortcut for 'wget -m {WhatEver}' using 'rap'! |
| 180 |
|
| 181 |
m http://flag.blackened.net/daver/anarchism/nock/oets0.htm |
| 182 |
|
| 183 |
fm google::psychopolitics |
| 184 |
http://www.geocities.com/Heartland/7006/psychopolitics.html |
| 185 |
http://www.freezone.de/english/timetrack/data/psychopolitics/ |
| 186 |
http://www.toolan.com/hitler/index.html |
| 187 |
http://www.geocities.com/Area51/Shadowlands/6583/project106.html |
| 188 |
http://www.freezone.de/english/timetrack/data/psychopolitics/bowart_iw.htm |
| 189 |
http://www.geocities.com/Area51/Shadowlands/6583/mind.html |
| 190 |
http://www.geocities.com/Area51/Shadowlands/6583/project157.html |
| 191 |
http://www.geocities.com/Area51/Shadowlands/6583/project123.html |
| 192 |
|
| 193 |
i more on conspiracy ;-) |
| 194 |
http://www.rumormillnews.com/ |
| 195 |
http://www.ctrl.org/ |
| 196 |
|
| 197 |
i quepasa went down: |
| 198 |
output-dump from: |
| 199 |
#> sue service |
| 200 |
#> screen -r quepasa |
| 201 |
quepasa login: |
| 202 |
Login timed out after 60 seconds. |
| 203 |
quepasa login: |
| 204 |
Login timed out after 60 seconds. |
| 205 |
quepasa login: |
| 206 |
Login timed out after 60 seconds. |
| 207 |
quepasa login: |
| 208 |
BLOCKED TCP PACKET: IN= OUT=eth0 SRC=213.133.118.36 DST=212.72.64.178 LEN=40 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=TCP SPT=113 DPT=42481 WINDOW=0 RES=0x00 ACK RST URGP=0 |
| 209 |
BLOCKED TCP PACKET: IN= OUT=eth0 SRC=213.133.118.36 DST=212.72.64.178 LEN=40 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=TCP SPT=113 DPT=42481 WINDOW=0 RES=0x00 ACK RST URGP=0 |
| 210 |
|
| 211 |
Login timed out after 60 seconds. |
| 212 |
quepasa login: kernel BUG at page_alloc.c:213! |
| 213 |
kernel BUG at page_alloc.c:199! |
| 214 |
|
| 215 |
i some more links... |
| 216 |
http://www.tavinstitute.org/ |
| 217 |
http://www.tavi-port.org/NEWindex.htm |
| 218 |
|
| 219 |
o replace ' ' through _HTML_SPACE!!! |
| 220 |
- use everywhere, which uses the scope of phpHtmlLib |
| 221 |
- define in code which doesn't! |
| 222 |
|
| 223 |
x appended to env-var 'PATH' for amo@grasshopper: |
| 224 |
C:\home\amo\develop\netfrag.org\nfo\perl\scripts\twingle |
| 225 |
|