Home Ip Gateway - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

Home Ip Gateway

Description:

Out IP header manipulator. Private LAN. Sniffer. Packet port resolver. In IP header manipulator. ???? ???? ??????? - ?? ?????. Packet destination resolver ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 30
Provided by: Cn25
Category:

less

Transcript and Presenter's Notes

Title: Home Ip Gateway


1
Home Ip Gateway
  • ??? 2002
  • ?????? ??? ?????
  • ???? ????
  • ???? ??? ????

2
???? ???????
  • ???? ??????? ???? ????? ????? "Gateway" , ????
    ?-IP (Internet Protocol) ??? ???? ??? ??? ?????
    (?????? ??????) ???? ??? ??????? "?????".
  • ????? ????? ??????? ???? ???? ?????????? ??????
    ?????? NAT, Port distinguishing , ????. ????
    ?????? ?????, ????? ????? ??? ??????? ?????.

3
????? ??????
  • ?????? ???? ??? ????? ????? WindowsXP .
  • ?? ?????? ????? ????? ??????.
  • ????? ????? ?????? ????? ?????? ?????? ???????
    ???? ??? ?????? ,????? ???? ????? ??? ?????
    ???????? ????? ???? ??????.
  • ?? ??????? ????? ?????? ? "????" ????? ?????
    ????? ???? ??? ?"Gateway" ???? ????? ????? ???
    ????? IP ??????? ?????? ?"????".

4
????? ????????
  • ???? ?????, NAT, Port distinguishing , ????.
  • ????? ????? ??????? ????? ?????? ???????? ??
    ????? ??????.
  • ???? ?? ????????? ???? ,TCP ,UDP ,ICMP IP, ?????
    ?????.
  • ???? ?? ????? winsock2 ??? ?????? raw sockets
    ???? ??? ??????.

5
????? ???????? (????)
  • ????? ?????? ????? ?????? ????? ?????? ????? ???
    windowsXP ??? ???????? ?? ??????? ???????? ??
    ????? ??????.
  • ????? ?????? ?? hub.

6
?????????? ??????
  • ????? ????? ?? ????? ??????? ?? ?????? ?????.
  • ????? ????? ?? ????? ??????? ?? ?????? ????.
  • NAT ?????? ?????.
  • ??????? ?????? (??? ?????? ?).........

7
??????? ?????? ??????
  • ????? ????? ????? ??????
  • ????? ??? ???? ???? ??????? ????? ?????? ????
    ???????? ????? ?????? ????.
  • ????? ??????? ???? ??????? ????? ???? ????
    ??????? ??? ?????.
  • ???? ??? ????? ??????? ?????? ???? ???? ?????
    ????? ?????.

8
????? ????? ????? ?????? (???? ...)
  • ?? ?????? ????? ?????? ??? ???? ???? ?????.
  • ?? ?????? ????? ?? ???? ??? ???????? ???? ??????,
    ??? ??? ?????? ??? ??? ?????? ???, ???? ???? ????
    (P.C) ???????.
  • ?????? ?? ???? (????? ????????) ?????? ?????? ??
    ??????? ????.
  • ?????? ???? ????? ?????????? ????? ???? ???? ????
    ???????, ????? ??? ?????? ?????, ?????? ?? ??????
    ?? ???? ????? ?? ????????? ????? ????? ????? ??
    ?? ?????? ????.

9
??? ??????
  • ????? IP ???? ?? 32 ????? ????? ?? ???? ?? ????
    ?? ???? ?????? ?????? ????????. ?????? ? IP ????
    ????? ?????, ??? ????? ?? ????, ???? ????? ?? ?
    host ?????? ???? .
  • ??? ?????? ??????? (A,B,C,D) ??????? ???? ????
    ????? ??????? IP.

10
??? ?????? (????)
  • ???? ????? ????

11
??? ?????? NAT-
  • (network address translation server) NAT ????
    ????? ?? ????? IP ?? ???? ????? ???? ??????
    ?????? IP ???? ?????? ???? ????????.

12
?????? ?????
  • ????? ?????? ????? ??? ??????
  • ????? ????? ?? ???? ??????? ??? ????? ????? ?? ??
    ???? ???? ?????? ????? ?????? ????? ?????.
  • ????? ????????? "Gateway"
  • ????????? ???? ?? ????? ????? ?????? ????? ?????
    ???? ???????, ??????? ?? ? Gateway ???? ????????
    ????? ?? ?????? ???? ????????.
  • ???? ????? ?? ???? ? Gateway ????? ????? ????????
    ??? ???? ?? ????? ???? ????? ????? ?? ??????
    ????? ????? ?????? ???? ???????.

13
????? ??????
Comnet66 ???? ? gateway
Comnet67 ???? ? client




14
???? ??????
15
???? ?????? (?????)
  • sniffer
  • ?????? ????? ?? ????? IP ?????? ?? ????
  • ? gateway ?? ????? ??????? ??? ????? ????????.
    ????? ?? ???? ????? ? raw-sockets ?? winsock2,
    ??? ?? ??? ????? ????? ?? ????? IP ??? ???? ????
    ???????? ??????? (TCP, UDP, ICMP ???'), ???? ????
    ????????? (?- port ).

16
packet_destination_resolver
17
  • packet_port_resolver
  • ????? ?? ???? ????? ??????? ?????? ????
    ???????, ?????? ?? ?? port ???? ??? ?? ????? ?
    port-?? ?????? ?? ??? ???? ????.
  • in_ip_header_manipulator
  • ????? ?? ???? ?? ?????? ??? ????? ????? ????
    ??? ??????. ???? ???? ???? ? destination address
    ? IP-Header ?????? ??? ?? ?????? ?????. ??? ??
    ???? checksum ??? ?? ?????? ?????? ?????.

18
  • sender
  • ????? ?? ???? ?? ?????? ???? ????? ? IP-
  • header, ?????? ??????? ??????.
  • ???? ?? ??? ????????? ?? IP-header, ????
  • checksum ????? ?? ?????? ????? ?????????
  • (UDP ?? TCP) ?????? ?? ?????? ?????.
  • ???? ??? ?????? ???? ?? ?????? ???????
  • ??? ????? ? raw-socket ?? winsock2.

19
????? ?????? ??? ????? ?????
  • ?? ??? ??????? ???? ??????? ?? ???? ?????? ?????
    ????? ??? ??? ???????? ???? ?????? ?? ??? ???????
    ????? ?????? ????? ??????.
  • ??? ????? ???? ?????? ?? ???? ?? (???? 5000)
    ???? ?????? ? registry ????? ????? ??????
    MaxUserPort.
  • ??? ????? ???? ?? ?? ???? ???? startup ???
    ????????? ????? (UDP,TCP) ?????? ????? ??, ?????
    ????? bind.

20
?????? ????????
  • ????? raw socket (?????,??????..)
  • ?????? ??? ????? ?? ??? ??? ??????
  • UDP checksum ????? ????? ?????? ?gateway ????
    ????? ??? ?? ? checksum. ????? ?? ??? ???? ?????
    ?? ????????? ??????.
  • Tcp checksum ????? ? UDP.
  • Tcp handshake ????? ?????? ????? ???? ???????
    TCP (RST ???? ? handshake).
  • (???? ????? debug ?????? ????? ????? ? hub
    ,????? ???? ?????? ??????? ? TCP ?????? ??????
    tcpdump ?? ??? ????? Linux )

21
??? ???????
  • ????????? server -client-UDP
  • ? client ???? ??????
  • ???? 25 ????????? ?? ? server. ??? ??????? ???
    ???? ????? ????? ???? ????? ??????.
  • ? client ???? RTT ??? ????? ????? ????? ??????
    (average RTT).

22
???????
23
??????? (????)
24
??????? (?????)
  • ????? ??????? ??????? ???? ? startup ?? ?????
    ????? ? 1 mega Ram ??? 1000 ?????? ?????? .
  • ????? ????? ????? ?????? ????? ?????? ???? ?????
    ?????? (???? ???? ?????).
  • ????? ?????? ?????? 2.6 mili sec ??? ?????.

25
?????
  • ????? ????? Home Ip Gateway ??? ????? IP ???????
    ????? .?"? ????? ?????? ?????.
  • ?????? ?????? ?????? ???? ?? ??? ????? ???????.
  • ?????? ????? ?????? ?????, ???? ??? ????? ??????
    ?????? RAM ????? ???? ???? ?????? ???????
    ???????? ????.
  • ???????? ????? ?? ????? ????? ?? ?????? ???
    ?????? ?????? ????? ???? ????? ???? ??????.

26
????? (????)
  • ????? ????? ??????? ????? ?????? ????? ????? ??
    ????????? ???? ???????.
  • ????? ?? ?????? Raw Sockets ??? WindowsXP.
    ??????? ???? ?????? ????? ???? ?????? ????? ??.
  • ????? ?????? ?? ?????? NAT.
  • ?????? ????????? ?? ?????? ???????? ?? ?????
    ??????.

27
????? ???????? ????
  • ????? TCP/UDP analyzer ??? ???? ???? ???? ???
    ?????? debug ?? ??????? TCP/UDP ?????? ?????
    WindowsXP.
  • ?????? ??? ??????? ??? ?????? ???? ????? ?????
    ?????? (NAT , ????? ??????) ????? ????? ?????
    ??????? ???? ????????.
  • ??? ????? ???? ???? ??? ?????.
  • ????? ????? ???? ?????????? .NET .
  • ????...

28
?????
  • ????? ??????? ??????
  • ????? ??? ??? ????? ?? ??????? ???? ??? ????????
    ????? ???????? ????????.
  • ??? ?????, ???? ????, ???? ??? ?? ???? ????
    ??????, ?? ?????? ??????.

29
  • ????? ???
Write a Comment
User Comments (0)
About PowerShow.com