[zorp-hu] subversion
Gabor E. Tusnady
tusi at enzim.hu
2006. Már. 8., Sze, 13:30:27 CET
On Wed, 2006-03-08 at 13:17 +0100, Deim Ágoston wrote:
> emlékeim szerint volt, a pylibeket nézd meg. De nem én vagyok a hivatalos
> közeg. De a protokoll fejléceket kell engedélyezni. RFC-ben le is van írva
> mi kell neki, de RFC nélkül is láthatod - mondjuk ethereal-lel -, hogy mit
> akart csinálni.
>
# ls /usr/share/zorp/pylib/Zorp/
Addon.py Core.pyc Http.pyc Pssl.py Stream.py
AnyPy.py Dispatch.py Listener.py Receiver.py Stream.pyc
Attach.py Dispatch.pyc Listener.pyc Receiver.pyc Telnet.py
Attach.pyc Domain.py Matcher.py Router.py Telnet.pyc
Auth.py Domain.pyc Matcher.pyc Router.pyc Whois.py
Auth.pyc Finger.py NAT.py Service.py Zone.py
Cache.py Ftp.py NAT.pyc Service.pyc Zone.pyc
Cache.pyc Ftp.pyc Plug.py Session.py Zorp.py
Chainer.py Globals.py Plug.pyc Session.pyc Zorp.pyc
Chainer.pyc Globals.pyc Proxy.py SockAddr.py __init__.py
Core.py Http.py Proxy.pyc SockAddr.pyc __init__.pyc
Az ethereal jo otlet, mellekeltem a kimenetelet. En csak annyit latok,
hogy "Method PROPFIND denied by policy". Azaz nem jo a configom.
tusi
--------- következő rész ---------
No. Time Source Destination Protocol Info
1 0.000000 172.16.7.7 192.168.0.4 TCP 43582 > http [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=1991153202 TSER=0 WS=2
Frame 1 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 0, Ack: 0, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 0 (relative sequence number)
Header length: 40 bytes
Flags: 0x0002 (SYN)
Window size: 5840
Checksum: 0xee22 [correct]
Options: (20 bytes)
No. Time Source Destination Protocol Info
2 0.000065 192.168.0.4 172.16.7.7 TCP http > 43582 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=101546476 TSER=1991153202 WS=0
Frame 2 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 0, Ack: 1, Len: 0
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 0 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 40 bytes
Flags: 0x0012 (SYN, ACK)
Window size: 5792
Checksum: 0x05e3 [correct]
Options: (20 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
3 0.000091 172.16.7.7 192.168.0.4 TCP 43582 > http [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=1991153202 TSER=101546476
Frame 3 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 1, Ack: 1, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 1 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 5840 (scaled)
Checksum: 0x4594 [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
4 0.000149 172.16.7.7 192.168.0.4 TCP [TCP segment of a reassembled PDU]
Frame 4 (318 bytes on wire, 318 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 1, Ack: 1, Len: 252
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 1 (relative sequence number)
Next sequence number: 253 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x0018 (PSH, ACK)
Window size: 5840 (scaled)
Checksum: 0xa54c [correct]
Options: (12 bytes)
Reassembled PDU in frame: 5
TCP segment data (252 bytes)
No. Time Source Destination Protocol Info
5 0.000185 172.16.7.7 192.168.0.4 HTTP PROPFIND /svn/topdb HTTP/1.1
Frame 5 (366 bytes on wire, 366 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 253, Ack: 1, Len: 300
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 253 (relative sequence number)
Next sequence number: 553 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x0018 (PSH, ACK)
Window size: 5840 (scaled)
Checksum: 0xdee1 [correct]
Options: (12 bytes)
TCP segment data (300 bytes)
Reassembled TCP Segments (552 bytes): #4(252), #5(300)
Hypertext Transfer Protocol
PROPFIND /svn/topdb HTTP/1.1\r\n
Host: w2.enzim.hu\r\n
User-Agent: SVN/1.1.4 (r13838) neon/0.24.7\r\n
Keep-Alive: \r\n
Connection: TE, Keep-Alive\r\n
TE: trailers\r\n
Content-Length: 300\r\n
Content-Type: text/xml\r\n
Depth: 0\r\n
Accept-Encoding: gzip\r\n
Accept-Encoding: gzip\r\n
\r\n
eXtensible Markup Language
No. Time Source Destination Protocol Info
6 0.000344 192.168.0.4 172.16.7.7 TCP http > 43582 [ACK] Seq=1 Ack=253 Win=6432 Len=0 TSV=101546476 TSER=1991153202
Frame 6 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 1, Ack: 253, Len: 0
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 1 (relative sequence number)
Acknowledgement number: 253 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 6432
Checksum: 0x312c [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
7 0.000354 192.168.0.4 172.16.7.7 TCP http > 43582 [ACK] Seq=1 Ack=553 Win=7504 Len=0 TSV=101546476 TSER=1991153202
Frame 7 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 1, Ack: 553, Len: 0
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 1 (relative sequence number)
Acknowledgement number: 553 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 7504
Checksum: 0x2bd0 [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
8 0.001994 192.168.0.4 172.16.7.7 TCP [TCP segment of a reassembled PDU]
Frame 8 (98 bytes on wire, 98 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 1, Ack: 553, Len: 32
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 1 (relative sequence number)
Next sequence number: 33 (relative sequence number)
Acknowledgement number: 553 (relative ack number)
Header length: 32 bytes
Flags: 0x0018 (PSH, ACK)
Window size: 7504
Checksum: 0x9a7f [correct]
Options: (12 bytes)
Reassembled PDU in frame: 10
TCP segment data (32 bytes)
No. Time Source Destination Protocol Info
9 0.002008 172.16.7.7 192.168.0.4 TCP 43582 > http [ACK] Seq=553 Ack=33 Win=5840 Len=0 TSV=1991153204 TSER=101546476
Frame 9 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 553, Ack: 33, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 553 (relative sequence number)
Acknowledgement number: 33 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 5840 (scaled)
Checksum: 0x434a [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
10 0.002128 192.168.0.4 172.16.7.7 HTTP HTTP/1.0 500 Error encountered
Frame 10 (112 bytes on wire, 112 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 33, Ack: 553, Len: 46
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 33 (relative sequence number)
Next sequence number: 79 (relative sequence number)
Acknowledgement number: 553 (relative ack number)
Header length: 32 bytes
Flags: 0x0018 (PSH, ACK)
Window size: 7504
Checksum: 0x6bb6 [correct]
Options: (12 bytes)
TCP segment data (46 bytes)
Reassembled TCP Segments (78 bytes): #8(32), #10(46)
Hypertext Transfer Protocol
HTTP/1.0 500 Error encountered\r\n
Connection: close\r\n
Content-Type: text/html\r\n
\r\n
No. Time Source Destination Protocol Info
11 0.002140 172.16.7.7 192.168.0.4 TCP 43582 > http [ACK] Seq=553 Ack=79 Win=5840 Len=0 TSV=1991153204 TSER=101546476
Frame 11 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 553, Ack: 79, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 553 (relative sequence number)
Acknowledgement number: 79 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 5840 (scaled)
Checksum: 0x431c [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
12 0.002340 192.168.0.4 172.16.7.7 HTTP Continuation or non-HTTP traffic
Frame 12 (572 bytes on wire, 572 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 79, Ack: 553, Len: 506
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 79 (relative sequence number)
Next sequence number: 585 (relative sequence number)
Acknowledgement number: 553 (relative ack number)
Header length: 32 bytes
Flags: 0x0018 (PSH, ACK)
Window size: 7504
Checksum: 0x85ea [correct]
Options: (12 bytes)
Hypertext Transfer Protocol
Data (506 bytes)
0000 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 0a 3c 74 <html>.<head>.<t
0010 69 74 6c 65 3e 50 6f 6c 69 63 79 20 76 69 6f 6c itle>Policy viol
0020 61 74 69 6f 6e 3c 2f 74 69 74 6c 65 3e 0a 3c 2f ation</title>.</
0030 68 65 61 64 3e 0a 3c 62 6f 64 79 3e 0a 3c 70 3e head>.<body>.<p>
0040 59 6f 75 72 20 72 65 71 75 65 73 74 20 69 73 20 Your request is
0050 66 6f 72 62 69 64 64 65 6e 20 62 79 20 6c 6f 63 forbidden by loc
0060 61 6c 20 66 69 72 65 77 61 6c 6c 20 70 6f 6c 69 al firewall poli
0070 63 79 2e 3c 2f 70 3e 0a 0a 3c 70 3e 50 6f 73 73 cy.</p>..<p>Poss
0080 69 62 6c 65 20 72 65 61 73 6f 6e 73 3a 3c 2f 70 ible reasons:</p
0090 3e 0a 3c 75 6c 3e 0a 20 20 3c 6c 69 3e 54 68 65 >.<ul>. <li>The
00a0 20 55 52 4c 20 79 6f 75 20 61 72 65 20 74 72 79 URL you are try
00b0 69 6e 67 20 74 6f 20 64 6f 77 6e 6c 6f 61 64 20 ing to download
00c0 69 73 20 64 65 6e 69 65 64 0a 3c 2f 75 6c 3e 0a is denied.</ul>.
00d0 0a 3c 70 3e 50 6f 73 73 69 62 6c 65 20 73 6f 6c .<p>Possible sol
00e0 75 74 69 6f 6e 73 3a 3c 2f 70 3e 0a 3c 75 6c 3e utions:</p>.<ul>
00f0 0a 20 20 3c 6c 69 3e 43 6f 6e 74 61 63 74 20 79 . <li>Contact y
0100 6f 75 72 20 73 79 73 74 65 6d 20 61 64 6d 69 6e our system admin
0110 69 73 74 72 61 74 6f 72 20 66 6f 72 20 61 73 73 istrator for ass
0120 69 73 74 61 6e 63 65 0a 20 20 3c 6c 69 3e 43 6f istance. <li>Co
0130 6e 74 61 63 74 20 79 6f 75 72 20 5a 6f 72 70 20 ntact your Zorp
0140 73 75 70 70 6f 72 74 20 66 6f 72 20 61 73 73 69 support for assi
0150 73 74 61 6e 63 65 0a 3c 2f 75 6c 3e 0a 0a 3c 70 stance.</ul>..<p
0160 3e 41 64 64 69 74 69 6f 6e 61 6c 20 69 6e 66 6f >Additional info
0170 72 6d 61 74 69 6f 6e 3a 3c 2f 70 3e 0a 4d 65 74 rmation:</p>.Met
0180 68 6f 64 20 50 52 4f 50 46 49 4e 44 20 64 65 6e hod PROPFIND den
0190 69 65 64 20 62 79 20 70 6f 6c 69 63 79 0a 3c 68 ied by policy.<h
01a0 72 3e 0a 50 61 67 65 20 67 65 6e 65 72 61 74 65 r>.Page generate
01b0 64 20 62 79 20 5a 6f 72 70 2c 20 76 65 72 73 69 d by Zorp, versi
01c0 6f 6e 20 32 2e 30 2e 38 20 6f 6e 20 57 65 64 20 on 2.0.8 on Wed
01d0 4d 61 72 20 20 38 20 31 33 3a 32 35 3a 32 35 20 Mar 8 13:25:25
01e0 43 45 54 20 32 30 30 36 2e 0a 3c 2f 62 6f 64 79 CET 2006..</body
01f0 3e 0a 3c 2f 68 74 6d 6c 3e 0a >.</html>.
No. Time Source Destination Protocol Info
13 0.002353 172.16.7.7 192.168.0.4 TCP 43582 > http [ACK] Seq=553 Ack=585 Win=6912 Len=0 TSV=1991153204 TSER=101546476
Frame 13 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 553, Ack: 585, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 553 (relative sequence number)
Acknowledgement number: 585 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 6912 (scaled)
Checksum: 0x4016 [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
14 0.002341 192.168.0.4 172.16.7.7 TCP http > 43582 [FIN, ACK] Seq=585 Ack=553 Win=7504 Len=0 TSV=101546476 TSER=1991153204
Frame 14 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 585, Ack: 553, Len: 0
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 585 (relative sequence number)
Acknowledgement number: 553 (relative ack number)
Header length: 32 bytes
Flags: 0x0011 (FIN, ACK)
Window size: 7504
Checksum: 0x2985 [correct]
Options: (12 bytes)
No. Time Source Destination Protocol Info
15 0.002611 172.16.7.7 192.168.0.4 TCP 43582 > http [FIN, ACK] Seq=553 Ack=586 Win=6912 Len=0 TSV=1991153205 TSER=101546476
Frame 15 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: AsustekC_b5:44:48 (00:0c:6e:b5:44:48), Dst: Intel_fc:6e:8d (00:03:47:fc:6e:8d)
Internet Protocol, Src: 172.16.7.7 (172.16.7.7), Dst: 192.168.0.4 (192.168.0.4)
Transmission Control Protocol, Src Port: 43582 (43582), Dst Port: http (80), Seq: 553, Ack: 586, Len: 0
Source port: 43582 (43582)
Destination port: http (80)
Sequence number: 553 (relative sequence number)
Acknowledgement number: 586 (relative ack number)
Header length: 32 bytes
Flags: 0x0011 (FIN, ACK)
Window size: 6912 (scaled)
Checksum: 0x4013 [correct]
Options: (12 bytes)
SEQ/ACK analysis
No. Time Source Destination Protocol Info
16 0.002718 192.168.0.4 172.16.7.7 TCP http > 43582 [ACK] Seq=586 Ack=554 Win=7504 Len=0 TSV=101546477 TSER=1991153205
Frame 16 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Intel_fc:6e:8d (00:03:47:fc:6e:8d), Dst: AsustekC_b5:44:48 (00:0c:6e:b5:44:48)
Internet Protocol, Src: 192.168.0.4 (192.168.0.4), Dst: 172.16.7.7 (172.16.7.7)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43582 (43582), Seq: 586, Ack: 554, Len: 0
Source port: http (80)
Destination port: 43582 (43582)
Sequence number: 586 (relative sequence number)
Acknowledgement number: 554 (relative ack number)
Header length: 32 bytes
Flags: 0x0010 (ACK)
Window size: 7504
Checksum: 0x2982 [correct]
Options: (12 bytes)
SEQ/ACK analysis
További információk a(z) zorp-hu levelezőlistáról