ich hoffe mir kann jemand weiterhelfen. Habe lanbge gegoogelt und nichts passendes gefunden.
Zu meinem Problem:
Ich habe eine FritzBox mit aktiviertem DynDNS-Updater und einem eigenen DynDNS-Service (php-Skript welches automatisch über $_SERVER['REMOTE_ADDR'] die IP im DNS-Server aktualisiert). Nur scheint der Apache 2.2 (Debian Lenny) nicht mit den Requests der FritzBox umgehen zu können.
Hier ein Auszug aus der access.log:
- Code: Select all
178.26.xxx.xxx - - [12/May/2011:13:30:50 +0200] "GET (null) HTTP/1.1" 400 1848 "-" "Fritz!Box DDNS"
und ein Auszug aus dem error.log
- Code: Select all
[Thu May 12 13:30:50 2011] [error] [client 178.26.xxx.xxx] Invalid URI in request GET (null) HTTP/1.1
Auffällig hier: statt GET / steht hier GET (null)
ich habe ein dump des netzwerkverkehrs mit tshark erstellt:
- Code: Select all
230.584924 178.26.xxx.xxx -> 178.63.xxx.xxx TCP dyna-access > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=342671 TSER=0 WS=3
[...]
230.584962 178.63.xxx.xxx -> 178.26.xxx.xxx TCP http > dyna-access [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=149629996 TSER=342671 WS=6
[...]
230.606972 178.26.xxx.xxx -> 178.63.xxx.xxx TCP dyna-access > http [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=342674 TSER=149629996
[...]
230.611421 178.26.xxx.xxx -> 178.63.xxx.xxx HTTP GET (null) HTTP/1.1
0000 00 0c 29 51 7f b1 00 50 56 c0 00 01 08 00 45 00 ..)Q...PV.....E.
0010 00 bd 12 f2 40 00 32 06 3e 58 b2 1a bd ed b2 3f ....@.2.>X.....?
0020 d4 a9 0c ee 00 50 b9 d1 28 80 a0 54 14 e3 80 18 .....P..(..T....
0030 02 da 6f 0e 00 00 01 01 08 0a 00 05 3a 92 08 eb ..o.........:...
0040 2c 2c 47 45 54 20 28 6e 75 6c 6c 29 20 48 54 54 ,,GET (null) HTT
0050 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 64 79 6e P/1.1..Host: dyn
0060 64 6e 73 2e 63 xx xx xx xx xx xx xx xx 65 63 75 dns.xxxxxxx-xxxx
0070 xx xx 2e 64 65 0d 0a 41 75 74 68 6f 72 69 7a 61 xx.de..Authoriza
0080 74 69 6f 6e 3a 20 42 61 73 69 63 20 64 58 4e 6c tion: Basic dXNl
0090 63 6a 70 77 59 58 4e 7a 0d 0a 55 73 65 72 2d 41 cjpwYXNz..User-A
00a0 67 65 6e 74 3a 20 46 72 69 74 7a 21 42 6f 78 20 gent: Fritz!Box
00b0 44 44 4e 53 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e DDNS..Connection
00c0 3a 20 63 6c 6f 73 65 0d 0a 0d 0a : close....
230.611449 178.63.xxx.xxx -> 178.26.xxx.xxx TCP http > dyna-access [ACK] Seq=1 Ack=138 Win=6912 Len=0 TSV=149630002 TSER=342674
[...]
230.611993 178.63.xxx.xxx -> 178.26.xxx.xxx HTTP HTTP/1.1 400 Bad Request (text/html)
0000 00 50 56 c0 00 01 00 0c 29 51 7f b1 08 00 45 00 .PV.....)Q....E.
0010 05 dc 38 d2 40 00 40 06 05 59 b2 3f d4 a9 b2 1a ..8.@.@..Y.?....
0020 bd ed 00 50 0c ee a0 54 14 e3 b9 d1 29 09 80 10 ...P...T....)...
0030 00 6c fc bf 00 00 01 01 08 0a 08 eb 2c 32 00 05 .l..........,2..
0040 3a 92 48 54 54 50 2f 31 2e 31 20 34 30 30 20 42 :.HTTP/1.1 400 B
0050 61 64 20 52 65 71 75 65 73 74 0d 0a 44 61 74 65 ad Request..Date
0060 3a 20 54 68 75 2c 20 31 32 20 4d 61 79 20 32 30 : Thu, 12 May 20
0070 31 31 20 31 31 3a 34 31 3a 35 39 20 47 4d 54 0d 11 11:41:59 GMT.
0080 0a 53 65 72 76 65 72 3a 20 41 70 61 63 68 65 2f .Server: Apache/
0090 32 2e 32 2e 39 20 28 44 65 62 69 61 6e 29 20 44 2.2.9 (Debian) D
00a0 41 56 2f 32 20 53 56 4e 2f 31 2e 35 2e 31 20 50 AV/2 SVN/1.5.1 P
00b0 48 50 2f 35 2e 32 2e 36 2d 31 2b 6c 65 6e 6e 79 HP/5.2.6-1+lenny
00c0 31 30 20 77 69 74 68 20 53 75 68 6f 73 69 6e 2d 10 with Suhosin-
00d0 50 61 74 63 68 20 6d 6f 64 5f 72 75 62 79 2f 31 Patch mod_ruby/1
00e0 2e 32 2e 36 20 52 75 62 79 2f 31 2e 38 2e 37 28 .2.6 Ruby/1.8.7(
00f0 32 30 30 38 2d 30 38 2d 31 31 29 20 6d 6f 64 5f 2008-08-11) mod_
0100 73 73 6c 2f 32 2e 32 2e 39 20 4f 70 65 6e 53 53 ssl/2.2.9 OpenSS
0110 4c 2f 30 2e 39 2e 38 67 0d 0a 4c 61 73 74 2d 4d L/0.9.8g..Last-M
0120 6f 64 69 66 69 65 64 3a 20 4d 6f 6e 2c 20 30 32 odified: Mon, 02
0130 20 4d 61 79 20 32 30 31 31 20 31 30 3a 32 30 3a May 2011 10:20:
0140 30 33 20 47 4d 54 0d 0a 45 54 61 67 3a 20 22 32 03 GMT..ETag: "2
0150 63 38 30 62 65 2d 37 33 38 2d 34 61 32 34 38 35 c80be-738-4a2485
0160 64 64 64 62 61 63 30 22 0d 0a 41 63 63 65 70 74 dddbac0"..Accept
0170 2d 52 61 6e 67 65 73 3a 20 62 79 74 65 73 0d 0a -Ranges: bytes..
0180 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length:
0190 31 38 34 38 0d 0a 56 61 72 79 3a 20 41 63 63 65 1848..Vary: Acce
01a0 70 74 2d 45 6e 63 6f 64 69 6e 67 0d 0a 43 6f 6e pt-Encoding..Con
01b0 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f 73 65 0d 0a nection: close..
01c0 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 Content-Type: te
01d0 78 74 2f 68 74 6d 6c 0d 0a 0d 0a 3c 21 44 4f 43 xt/html....<!DOC
01e0 54 59 50 45 20 68 74 6d 6c 20 50 55 42 4c 49 43 TYPE html PUBLIC
01f0 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 "-//W3C//DTD XH
0200 54 4d 4c 20 31 2e 30 20 54 72 61 6e 73 69 74 69 TML 1.0 Transiti
0210 6f 6e 61 6c 2f 2f 45 4e 22 0a 20 20 20 22 68 74 onal//EN". "ht
0220 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f tp://www.w3.org/
0230 54 52 2f 78 68 74 6d 6c 31 2f 44 54 44 2f 78 68 TR/xhtml1/DTD/xh
0240 74 6d 6c 31 2d 74 72 61 6e 73 69 74 69 6f 6e 61 tml1-transitiona
0250 6c 2e 64 74 64 22 3e 0a 3c 68 74 6d 6c 20 78 6d l.dtd">.<html xm
0260 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e lns="http://www.
0270 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d w3.org/1999/xhtm
0280 6c 22 20 78 6d 6c 3a 6c 61 6e 67 3d 22 65 6e 22 l" xml:lang="en"
0290 20 6c 61 6e 67 3d 22 65 6e 22 3e 0a 3c 68 65 61 lang="en">.<hea
02a0 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 46 45 d>. <title>FE
02b0 48 4c 45 52 20 34 30 30 20 2d 20 55 6e 67 c3 bc HLER 400 - Ung..
02c0 6c 74 69 67 65 20 41 6e 66 6f 72 64 65 72 75 6e ltige Anforderun
02d0 67 21 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c g!</title>. <
02e0 6d 65 74 61 20 68 74 74 70 2d 65 71 75 69 76 3d meta http-equiv=
02f0 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 20 63 "Content-Type" c
0300 6f 6e 74 65 6e 74 3d 22 74 65 78 74 2f 68 74 6d ontent="text/htm
0310 6c 3b 20 63 68 61 72 73 65 74 3d 75 74 66 2d 38 l; charset=utf-8
0320 22 20 2f 3e 0a 20 20 20 20 3c 6d 65 74 61 20 6e " />. <meta n
0330 61 6d 65 3d 22 72 6f 62 6f 74 73 22 20 63 6f 6e ame="robots" con
0340 74 65 6e 74 3d 22 6e 6f 69 6e 64 65 78 22 20 2f tent="noindex" /
0350 3e 0a 20 20 20 20 3c 73 74 79 6c 65 20 74 79 70 >. <style typ
0360 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 3c 21 2d e="text/css"><!-
0370 2d 0a 20 20 20 20 62 6f 64 79 20 7b 0a 20 20 20 -. body {.
0380 20 20 20 20 20 63 6f 6c 6f 72 3a 20 23 34 34 34 color: #444
0390 34 34 34 3b 0a 20 20 20 20 20 20 20 20 62 61 63 444;. bac
03a0 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 kground-color: #
03b0 45 45 45 45 45 45 3b 0a 20 20 20 20 20 20 20 20 EEEEEE;.
03c0 66 6f 6e 74 2d 66 61 6d 69 6c 79 3a 20 27 54 72 font-family: 'Tr
03d0 65 62 75 63 68 65 74 20 4d 53 27 2c 20 73 61 6e ebuchet MS', san
03e0 73 2d 73 65 72 69 66 3b 0a 20 20 20 20 20 20 20 s-serif;.
03f0 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 38 30 25 3b font-size: 80%;
0400 0a 20 20 20 20 7d 0a 20 20 20 20 68 31 20 7b 7d . }. h1 {}
0410 0a 20 20 20 20 68 32 20 7b 20 66 6f 6e 74 2d 73 . h2 { font-s
0420 69 7a 65 3a 20 31 2e 32 65 6d 3b 20 7d 0a 20 20 ize: 1.2em; }.
0430 20 20 23 70 61 67 65 7b 0a 20 20 20 20 20 20 20 #page{.
0440 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f background-colo
0450 72 3a 20 23 46 46 46 46 46 46 3b 0a 20 20 20 20 r: #FFFFFF;.
0460 20 20 20 20 77 69 64 74 68 3a 20 36 30 25 3b 0a width: 60%;.
0470 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 margin:
0480 32 34 70 78 20 61 75 74 6f 3b 0a 20 20 20 20 20 24px auto;.
0490 20 20 20 70 61 64 64 69 6e 67 3a 20 31 32 70 78 padding: 12px
04a0 3b 0a 20 20 20 20 7d 0a 20 20 20 20 23 68 65 61 ;. }. #hea
04b0 64 65 72 20 7b 0a 20 20 20 20 20 20 20 20 70 61 der {. pa
04c0 64 64 69 6e 67 3a 20 36 70 78 20 3b 0a 20 20 20 dding: 6px ;.
04d0 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a text-align:
04e0 20 63 65 6e 74 65 72 3b 0a 20 20 20 20 7d 0a 20 center;. }.
04f0 20 20 20 2e 73 74 61 74 75 73 33 78 78 20 7b 20 .status3xx {
0500 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 background-color
0510 3a 20 23 34 37 35 30 37 36 3b 20 63 6f 6c 6f 72 : #475076; color
0520 3a 20 23 46 46 46 46 46 46 3b 20 7d 0a 20 20 20 : #FFFFFF; }.
0530 20 2e 73 74 61 74 75 73 34 78 78 20 7b 20 62 61 .status4xx { ba
0540 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 ckground-color:
0550 23 43 35 35 30 34 32 3b 20 63 6f 6c 6f 72 3a 20 #C55042; color:
0560 23 46 46 46 46 46 46 3b 20 7d 0a 20 20 20 20 2e #FFFFFF; }. .
0570 73 74 61 74 75 73 35 78 78 20 7b 20 62 61 63 6b status5xx { back
0580 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 46 ground-color: #F
0590 32 45 38 31 41 3b 20 63 6f 6c 6f 72 3a 20 23 30 2E81A; color: #0
05a0 30 30 30 30 30 3b 20 7d 0a 20 20 20 20 23 63 6f 00000; }. #co
05b0 6e 74 65 6e 74 20 7b 0a 20 20 20 20 20 20 20 20 ntent {.
05c0 70 61 64 64 69 6e 67 3a 20 34 70 78 20 30 20 32 padding: 4px 0 2
05d0 34 70 78 20 30 3b 0a 20 20 20 20 7d 0a 20 20 20 4px 0;. }.
05e0 20 23 66 6f 6f 74 65 72 20 7b #footer {
230.612089 178.63.xxx.xxx -> 178.26.xxx.xxx HTTP Continuation or non-HTTP traffic
0000 00 50 56 c0 00 01 00 0c 29 51 7f b1 08 00 45 00 .PV.....)Q....E.
0010 03 5d 38 d3 40 00 40 06 07 d7 b2 3f d4 a9 b2 1a .]8.@.@....?....
0020 bd ed 00 50 0c ee a0 54 1a 8b b9 d1 29 09 80 18 ...P...T....)...
0030 00 6c fa 40 00 00 01 01 08 0a 08 eb 2c 32 00 05 .l.@........,2..
0040 3a 92 0a 20 20 20 20 20 20 20 20 63 6f 6c 6f 72 :.. color
0050 3a 20 23 36 36 36 36 36 36 3b 0a 20 20 20 20 20 : #666666;.
0060 20 20 20 62 61 63 6b 67 72 6f 75 6e 64 3a 20 23 background: #
0070 66 39 66 39 66 39 3b 0a 20 20 20 20 20 20 20 20 f9f9f9;.
0080 70 61 64 64 69 6e 67 3a 20 31 30 70 78 20 32 30 padding: 10px 20
0090 70 78 3b 0a 20 20 20 20 20 20 20 20 62 6f 72 64 px;. bord
00a0 65 72 2d 74 6f 70 3a 20 35 70 78 20 23 65 66 65 er-top: 5px #efe
00b0 66 65 66 20 73 6f 6c 69 64 3b 0a 20 20 20 20 20 fef solid;.
00c0 20 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 30 2e font-size: 0.
00d0 38 65 6d 3b 0a 20 20 20 20 20 20 20 20 74 65 78 8em;. tex
00e0 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72 3b t-align: center;
00f0 0a 20 20 20 20 7d 0a 20 20 20 20 23 66 6f 6f 74 . }. #foot
0100 65 72 20 61 20 7b 0a 20 20 20 20 20 20 20 20 63 er a {. c
0110 6f 6c 6f 72 3a 20 23 39 39 39 39 39 39 3b 0a 20 olor: #999999;.
0120 20 20 20 7d 0a 20 20 20 20 2d 2d 3e 3c 2f 73 74 }. --></st
0130 79 6c 65 3e 0a 3c 2f 68 65 61 64 3e 0a 3c 62 6f yle>.</head>.<bo
0140 64 79 3e 0a 20 20 20 20 3c 64 69 76 20 69 64 3d dy>. <div id=
0150 22 70 61 67 65 22 3e 0a 20 20 20 20 20 20 20 20 "page">.
0160 3c 64 69 76 20 69 64 3d 22 68 65 61 64 65 72 22 <div id="header"
0170 20 63 6c 61 73 73 3d 22 73 74 61 74 75 73 34 78 class="status4x
0180 78 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 x">.
0190 3c 68 31 3e 46 45 48 4c 45 52 20 34 30 30 20 2d <h1>FEHLER 400 -
01a0 20 55 6e 67 c3 bc 6c 74 69 67 65 20 41 6e 66 6f Ung..ltige Anfo
01b0 72 64 65 72 75 6e 67 21 3c 2f 68 31 3e 0a 20 20 rderung!</h1>.
01c0 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 </div>.
01d0 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 63 6f <div id="co
01e0 6e 74 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 ntent">.
01f0 20 20 20 20 3c 68 32 3e 46 6f 6c 67 65 6e 64 65 <h2>Folgende
0200 72 20 46 65 68 6c 65 72 20 69 73 74 20 61 75 66 r Fehler ist auf
0210 67 65 74 72 65 74 65 6e 3a 3c 2f 68 32 3e 0a 20 getreten:</h2>.
0220 20 20 20 20 20 20 20 20 20 20 20 3c 70 3e 53 69 <p>Si
0230 65 20 76 65 72 77 65 6e 64 65 6e 20 65 69 6e 65 e verwenden eine
0240 20 75 6e 67 c3 bc 6c 74 69 67 65 20 41 6e 66 6f ung..ltige Anfo
0250 72 64 65 72 75 6e 67 2e 3c 2f 70 3e 0a 20 20 20 rderung.</p>.
0260 20 20 20 20 20 20 20 09 3c 70 3e 42 65 69 20 50 .<p>Bei P
0270 72 6f 62 6c 65 6d 65 6e 20 77 65 6e 64 65 6e 20 roblemen wenden
0280 53 69 65 20 73 69 63 68 20 62 69 74 74 65 20 61 Sie sich bitte a
0290 6e 20 64 65 6e 20 3c 21 2d 2d 57 45 42 4d 41 53 n den <!--WEBMAS
02a0 54 45 52 2f 2f 2d 2d 3e 57 65 62 6d 61 73 74 65 TER//-->Webmaste
02b0 72 3c 21 2d 2d 57 45 42 4d 41 53 54 45 52 2f 2f r<!--WEBMASTER//
02c0 2d 2d 3e 2e 3c 2f 70 3e 0a 20 20 20 20 20 20 20 -->.</p>.
02d0 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 </div>.
02e0 3c 64 69 76 20 69 64 3d 22 66 6f 6f 74 65 72 22 <div id="footer"
02f0 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 70 >. <p
0300 3e 50 6f 77 65 72 65 64 20 62 79 20 3c 61 20 68 >Powered by <a h
0310 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e ref="http://www.
0320 69 73 70 63 6f 6e 66 69 67 2e 6f 72 67 22 3e 49 ispconfig.org">I
0330 53 50 43 6f 6e 66 69 67 3c 2f 61 3e 3c 2f 70 3e SPConfig</a></p>
0340 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a . </div>.
0350 20 20 20 20 3c 2f 64 69 76 3e 0a 3c 2f 62 6f 64 </div>.</bod
0360 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a y>.</html>.
Die FritzBox versucht also ein Basic-Auth und übergibt User:Passwort base64-Kodiert. Ist dann GET (null) zulässig? Der Apache verwirft die Anfrage auch, wenn ich in einer .htaccess Datei Basic Auth aktiviere und den User/Passwort wie ihn die Fritzbox mitschickt konfiguriere.
Hat hier jemand eine Idee, um mich mir die richtige Richtung aufzuzeigen?
Vielen Dank schonmal!
LG, Stephan