On Tue, 9 Oct 2001, Mark Ivanov wrote:

> Hello
> 
> ����� ������� ��������� �������� ������ ?
> 
> ��������
> 
> ���������� wccp v2 �� �������
> 
> ������ ip_gre.c 

����� ������� ���������?

�����-�� tcpdumpom �������������� ip-������?

> # modprobe ip_gre
> 
> # iptunnel 
> gre0: gre/ip  remote any  local any  ttl inherit  nopmtudisc
> 
> # ifconfig gre0 10.0.0.1 netmask 255.255.255.255 up
> 
> # /sbin/ipchains -F                                                                  
>                                                 
> # /sbin/ipchains -X                                                                  
>                                                 
> # /sbin/ipchains -A input -j ACCEPT -i lo                                            
>                                                 
> # /sbin/ipchains -A input -j ACCEPT -p tcp -d x.x.x.z 80                             
>                                           
> # /sbin/ipchains -A input -j ACCEPT -p tcp -d x.x.x.z 3128                           
>                                           
> # /sbin/ipchains -A input -i gre0 -p tcp -d 0.0.0.0/0 80 -j REDIRECT 3128
> 
> # cat oops.cfg
> ....
>  group local {
>   networks x.x.x/24 192.168/16 10/8 127/8;
>   ...
>   redir_mods transpatent;
>  }
> 
>  module transparent {
>   myport 80
>  }
>  mpodule wccp2 {
>   service-group port 80
>          router x.x.x.x
>  }
>  
> #sh ip wccp 
> Global WCCP information:
>     Router information:
>         Router Identifier:                   x.x.x.x
>         Protocol Version:                    2.0
> 
>     Service Identifier: web-cache
>         Number of Cache Engines:             1
>         Number of routers:                   1
>         Total Packets Redirected:            0
>         Redirect access-list:                180
>         Total Packets Denied Redirect:       12
>         Total Packets Unassigned:            67
>         Group access-list:                   -none-
>         Total Messages Denied to Group:      0
>         Total Authentication failures:       0
> 
> #sh ip wccp web-cache d
> WCCP Cache-Engine information:
>         IP Address:            x.x.x.y
>         Protocol Version:      2.0
>         State:                 Usable
>         Initial Hash Info:     00000000000000000000000000000000
>                                00000000000000000000000000000000
>         Assigned Hash Info:    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>                                FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>         Hash Allotment:        256 (100.00%)
>         Packets Redirected:    12
>         Connect Time:          00:01:02
> 
> 
> # tcpdump -x -n ip proto 47                               
> User level filter, protocol ALL, datagram packet socket
> tcpdump: listening on all devices
> 14:15:02.921021 eth0 < gre-proto-0x883E (gre encap)
>                          4500 004c 0006 0000 ff2f 9464 c385 d00a
>                          c385 d002 0000 883e 0000 0080 4500 0030
>                          c339 4000 7f06 ed56 c0a8 c822 c257 0015
>                          060b 0050 4687 03bb 0000 0000 7002 4000
>                          a74a 0000 0204 05b4 0101 0402
> 14:15:05.903578 eth0 < gre-proto-0x883E (gre encap)
>                          4500 004c 0007 0000 ff2f 9463 c385 d00a
>                          c385 d002 0000 883e 0000 0080 4500 0030
>                          c358 4000 7f06 ed37 c0a8 c822 c257 0015
>                          060b 0050 4687 03bb 0000 0000 7002 4000
>                          a74a 0000 0204 05b4 0101 0402
> 14:15:11.911558 eth0 < gre-proto-0x883E (gre encap)
>                          4500 004c 0008 0000 ff2f 9462 c385 d00a
>                          c385 d002 0000 883e 0000 0080 4500 0030
>                          c380 4000 7f06 ed0f c0a8 c822 c257 0015
>                          060b 0050 4687 03bb 0000 0000 7002 4000
>                          a74a 0000 0204 05b4 0101 0402
> 14:15:23.958662 eth0 < gre-proto-0x883E (gre encap)
>                          4500 004c 0009 0000 ff2f 9461 c385 d00a
>                          c385 d002 0000 883e 0000 0080 4500 0030
>                          c384 4000 7f06 ed0b c0a8 c822 c257 0015
>                          0615 0050 46db d55c 0000 0000 7002 4000
>                          d54a 0000 0204 05b4 0101 0402
> ....
> 
> �� ��������.
> � access.log �����.
> 
> Best Regards
> Mark N Ivanov
> chief of NOC
> M1Bit ltd.
> 
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://lists.paco.net/oops-rus/
> 

Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/

Дати відповідь електронним листом