Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 17:11:23 +0400
From:      "Alexander Mashtakov" <mastakov@cityline.ru>
To:        <freebsd-questions@FreeBSD.org>
Subject:   The PPP 
Message-ID:  <000201c01d84$23e6f100$9caf2ec3@pc-shura>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Best regards,
Alexander Mashtakov
Project Engineer
ALSTOM Automation GmbH
2-nd Spasonalivkovsky per., 4
117909, Moscow, Russia
Tel. (7 095) 230 03 34,  230 08 41
Fax (7 095) 238 52 41
Email: mastakov@cityline.ru

[-- Attachment #2 --]
HELP!
Как мне подключить Sun (sparc solaris 2.6) к провайдеру интернет? Всё делаю по книжке, 
всё перепробывал - ничего не получается. На физическом уровне канал ppp работает
устойчиво, но что-то напутано с маршрутизацией и я не вижу ничего кроме ближайшей
машины провайдера, с которой устанавливается модемная связь. Как мне сконфигурировать DNS?
Как использовать тот динамический IP адрес, который сообщает провайдер? Я ничего не соображаю
в этих TCP/IP и всяких маршрутизаторах, как и какие файлы мне изменить у себя, чтобы
связь заработала?
Вот файл /etc/hosts
127.0.0.1       localhost loghost       
192.168.0.1	BFU-Moskau # <- This is my machine
192.168.0.2	petrov     # <- That is another machine, connected 
                           #    via ethernet
196.45.175.0	ppp-provider # <- The PPP interface
                             # Is it right address?

Вот файл /etc/defaultrouter
ppp-provider

Вот файл /etc/nsswitch.conf
passwd:     files
group:      files
hosts:      files dns
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files	
bootparams: files
publickey:  files
netgroup:   files
automount:  files
aliases:    files
services:   files
sendmailvars:   files

Вот файл /etc/resolv.conf
nameserver 196.45.160.1
nameserver 196.45.160.34

Вот файл /etc/inet/gateways
norip ipdptp0

Вот файл /etc/inet/netmasks
192.168.0.0	255.255.255.0

Вот файл /etc/asppp.cf
ifconfig ipdptp0 plumb BFU-Moskau ppp-provider up
path
	inactivity_timeout 0     # No timeout
	debug_level 8
	interface ipdptp0	   
	peer_system_name ppp-provider	#See /etc/uucp/Systems
	will_do_authentication pap
	pap_id my_login
	pap_password my_password
	negotiate_address on

Вот файл /etc/uucp/Systems
ppp-provider Any ACUEC,t 38400 5252525 ogin:--ogin: my_login assword: my_password

Вот файл /etc/uucp/Devices
TCP,et - - Any TCP -
ACUEC cua/b - Any usrv32bis-ec

Вот файл /etc/uucp/Dialers
usrv32bis-ec =,-,  "" \dA\pTZ\r\c OK\r \EATDP\T\r\c CONNECT 

Теперь логи:
/var/adm/log/asppp.log
15:38:02 Link manager (2113) started 09/13/00
15:38:02 parse_config_file: Successful configuration
15:38:14 process_ipd_msg: ipdptp0 needs connection
conn(ppp-provider)
Trying entry from '/etc/uucp/Systems' - device type ACUEC,t.
Protocol = t
Device Type ACUEC wanted
Trying device entry 'cua/b' from '/etc/uucp/Devices'.
processdev: calling setdevcfg(ppp, ACUEC)
fd_mklock: ok
fixline(9, 38400)
gdial(usrv32bis-ec) called
Trying caller script 'usrv32bis-ec' from '/etc/uucp/Dialers'.
expect: ("")
got it
sendthem (DELAY
APAUSE
TZ^M<NO CR>)
expect: (OK^M)
ATZ^M^M^JOK^Mgot it
sendthem (ECHO CHECK ON
A^JATTDDPP55225522552255^M^M<NO CR>)
expect: (CONNECT)
^M^JCONNECTgot it
STTY crtscts,crtsxoff
getto ret 9
expect: (ogin:)
^M^J% login:got it
sendthem (my_login^M)
expect: (assword:)
  timeout expired!^M^J% Error in authentication.^M^J^M^Jlogin: my_login^M^JPassword:got it
sendthem (my_password^M)
call cleanup(0)
15:39:34 000001 ipdptp0 SEND PPP ASYNC 23 Octets LCP Config-Req  ID=00 LEN=18 MRU=1500 MAG#=14d52eae ProtFCOMP AddrCCOMP 
15:39:37 000002 ipdptp0 RECEIVE {Unescaped characters} PPP ASYNC 135 Octets {BAD FCS} {Unrecognized protocol:    d } 
15:39:37 000003 ipdptp0 RECEIVE PPP ASYNC 25 Octets LCP Config-Req  ID=96 LEN=20 ACCM=000a0000 MAG#=639b955d ProtFCOMP AddrCCOMP 
15:39:37 000004 ipdptp0 SEND PPP ASYNC 23 Octets LCP Config-Req  ID=01 LEN=18 MRU=1500 MAG#=14d52eae ProtFCOMP AddrCCOMP 
15:39:37 000005 ipdptp0 SEND PPP ASYNC 25 Octets LCP Config-ACK  ID=96 LEN=20 ACCM=000a0000 MAG#=639b955d ProtFCOMP AddrCCOMP 
15:39:37 000006 ipdptp0 RECEIVE PPP ASYNC 23 Octets LCP Config-ACK  ID=01 LEN=18 MRU=1500 MAG#=14d52eae ProtFCOMP AddrCCOMP 
15:39:37 000007 ipdptp0 SEND PPP ASYNC 21 Octets IP_NCP Config-Req  ID=02 LEN=16 VJCOMP MAXSID=15 Sid-comp-OK IPADDR=0.0.0.0 
15:39:37 000008 ipdptp0 RECEIVE PPP ASYNC 15 Octets IP_NCP Config-Req  ID=3e LEN=10 IPADDR=196.45.160.47 
15:39:37 000009 ipdptp0 SEND PPP ASYNC 15 Octets IP_NCP Config-ACK  ID=3e LEN=10 IPADDR=196.45.160.47 
15:39:37 000010 ipdptp0 RECEIVE PPP ASYNC 15 Octets IP_NCP Config-REJ  ID=02 LEN=10 VJCOMP MAXSID=15 Sid-comp-OK 
15:39:37 000011 ipdptp0 SEND PPP ASYNC 19 Octets IP_NCP Config-Req  ID=03 LEN=14 OLD_VJCOMP IPADDR=0.0.0.0 
15:39:37 000012 ipdptp0 RECEIVE PPP ASYNC 13 Octets IP_NCP Config-REJ  ID=03 LEN=8 OLD_VJCOMP 
15:39:37 000013 ipdptp0 SEND PPP ASYNC 15 Octets IP_NCP Config-Req  ID=04 LEN=10 IPADDR=0.0.0.0 
15:39:37 000014 ipdptp0 RECEIVE PPP ASYNC 15 Octets IP_NCP Config-NACK  ID=04 LEN=10 IPADDR=196.45.175.139 
15:39:37 000015 ipdptp0 SEND PPP ASYNC 15 Octets IP_NCP Config-Req  ID=05 LEN=10 IPADDR=196.45.175.139 
15:39:37 000016 ipdptp0 RECEIVE PPP ASYNC 15 Octets IP_NCP Config-ACK  ID=05 LEN=10 IPADDR=196.45.175.139 
15:39:37 start_ip: IP up on interface ipdptp0, timeout set for 0 seconds
15:39:39 000017 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=01 LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:39:39 000018 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=01 LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:39:49 000019 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=02 LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:39:49 000020 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=02 LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:39:59 000021 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=03 LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:39:59 000022 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=03 LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:40:09 000023 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=04 LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:40:09 000024 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=04 LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:40:19 000025 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=05 LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:40:19 000026 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=05 LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
.
.
.и.т.д.
.
.
.
15:49:39 000146 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=3d LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:49:49 000147 ipdptp0 RECEIVE PPP ASYNC 17 Octets LCP Echo-REQ  ID=3e LEN=12 MAG#=639b955d Req_info: 00 00 00 00 
15:49:49 000148 ipdptp0 SEND PPP ASYNC 17 Octets LCP Echo-REPLY  ID=3e LEN=12 MAG#=14d52eae Req_info: 00 00 00 00 
15:49:56 Link manager (2113) exited 09/13/00

Вот результат команды ifconfig -a
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
	inet 127.0.0.1 netmask ff000000 
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
	inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255
	ether 8:0:20:93:80:ea 
ipdptp0: flags=8d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
	inet 196.45.175.139 --> 196.45.160.47 netmask ffffff00 
	ether 0:0:0:0:0:0 

Вот результат команды netstat -r
Routing Table:
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ --------
196.45.160.47        196.45.175.139        UH       2      0  ipdptp0
192.168.0.0          BFU-Moskau            U        3      4  hme0
224.0.0.0            BFU-Moskau            U        3      0  hme0
default              ppp-provider          UG       0      0  
localhost            localhost             UH       0     28  lo0

Я пытался делать ping различных адресов, в частности
ping 196.45.160.34, а также я делал всякие ftp и telnet для проверки связи. 
Вот результат команды route monitor
got message of size 92
RTM_MISS: Lookup failed on this address: len 92, pid: 0, seq 0, errno 0, flags:<DONE>
locks:  inits: 
sockaddrs: <DST>
 196.45.160.34
got message of size 92
RTM_MISS: Lookup failed on this address: len 92, pid: 0, seq 0, errno 0, flags:<DONE>
locks:  inits: 
sockaddrs: <DST>
 196.45.160.34
.
.и.т.д.
.
.

Я пытался делать ping различных адресов, в частности
ping 196.45.160.47, а также я делал всякие ftp и telnet для проверки связи. 
Вот результат команды snoop -v -d ipdptp0
ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 1 arrived at 15:40:41.52
ETHER:  Packet size = 98 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 84 bytes
IP:   Identification = 48079
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 1 (ICMP)
IP:   Header checksum = e9c0
IP:   Source address = 196.45.175.139, 196.45.175.139
IP:   Destination address = 196.45.160.47, 196.45.160.47
IP:   No options
IP:   
ICMP:  ----- ICMP Header -----
ICMP:  
ICMP:  Type = 8 (Echo request)
ICMP:  Code = 0
ICMP:  Checksum = 64f4
ICMP:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 2 arrived at 15:40:41.72
ETHER:  Packet size = 98 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 84 bytes
IP:   Identification = 48079
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 1 (ICMP)
IP:   Header checksum = e9c0
IP:   Source address = 196.45.160.47, 196.45.160.47
IP:   Destination address = 196.45.175.139, 196.45.175.139
IP:   No options
IP:   
ICMP:  ----- ICMP Header -----
ICMP:  
ICMP:  Type = 0 (Echo reply)
ICMP:  Code = 0
ICMP:  Checksum = 6cf4
ICMP:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 3 arrived at 15:45:11.65
ETHER:  Packet size = 98 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 84 bytes
IP:   Identification = 48080
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 1 (ICMP)
IP:   Header checksum = e9bf
IP:   Source address = 196.45.175.139, 196.45.175.139
IP:   Destination address = 196.45.160.47, 196.45.160.47
IP:   No options
IP:   
ICMP:  ----- ICMP Header -----
ICMP:  
ICMP:  Type = 8 (Echo request)
ICMP:  Code = 0
ICMP:  Checksum = 45d5
ICMP:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 4 arrived at 15:45:11.84
ETHER:  Packet size = 98 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 84 bytes
IP:   Identification = 48080
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 1 (ICMP)
IP:   Header checksum = e9bf
IP:   Source address = 196.45.160.47, 196.45.160.47
IP:   Destination address = 196.45.175.139, 196.45.175.139
IP:   No options
IP:   
ICMP:  ----- ICMP Header -----
ICMP:  
ICMP:  Type = 0 (Echo reply)
ICMP:  Code = 0
ICMP:  Checksum = 4dd5
ICMP:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 5 arrived at 15:48:48.92
ETHER:  Packet size = 58 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 44 bytes
IP:   Identification = 48081
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 6 (TCP)
IP:   Header checksum = e9e1
IP:   Source address = 196.45.175.139, 196.45.175.139
IP:   Destination address = 196.45.160.47, 196.45.160.47
IP:   No options
IP:   
TCP:  ----- TCP Header -----
TCP:  
TCP:  Source port = 8174
TCP:  Destination port = 23 (TELNET)
TCP:  Sequence number = 303954121
TCP:  Acknowledgement number = 0
TCP:  Data offset = 24 bytes
TCP:  Flags = 0x02
TCP:        ..0. .... = No urgent pointer
TCP:        ...0 .... = No acknowledgement
TCP:        .... 0... = No push
TCP:        .... .0.. = No reset
TCP:        .... ..1. = Syn
TCP:        .... ...0 = No Fin
TCP:  Window = 8760
TCP:  Checksum = 0x74ea
TCP:  Urgent pointer = 0
TCP:  Options: (4 bytes)
TCP:    - Maximum segment size = 1460 bytes
TCP:  
TELNET:  ----- TELNET:   -----
TELNET:  
TELNET:  ""
TELNET:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 6 arrived at 15:48:49.14
ETHER:  Packet size = 54 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 40 bytes
IP:   Identification = 54637
IP:   Flags = 0x0
IP:         .0.. .... = may fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 6 (TCP)
IP:   Header checksum = 104a
IP:   Source address = 196.45.160.47, 196.45.160.47
IP:   Destination address = 196.45.175.139, 196.45.175.139
IP:   No options
IP:   
TCP:  ----- TCP Header -----
TCP:  
TCP:  Source port = 23
TCP:  Destination port = 8174 
TCP:  Sequence number = 0
TCP:  Acknowledgement number = 303954122
TCP:  Data offset = 20 bytes
TCP:  Flags = 0x14
TCP:        ..0. .... = No urgent pointer
TCP:        ...1 .... = Acknowledgement
TCP:        .... 0... = No push
TCP:        .... .1.. = Reset
TCP:        .... ..0. = No Syn
TCP:        .... ...0 = No Fin
TCP:  Window = 0
TCP:  Checksum = 0xaecb
TCP:  Urgent pointer = 0
TCP:  No options
TCP:  
TELNET:  ----- TELNET:   -----
TELNET:  
TELNET:  ""
TELNET:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 7 arrived at 15:49:3.55
ETHER:  Packet size = 58 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 44 bytes
IP:   Identification = 48082
IP:   Flags = 0x4
IP:         .1.. .... = do not fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 6 (TCP)
IP:   Header checksum = e9e0
IP:   Source address = 196.45.175.139, 196.45.175.139
IP:   Destination address = 196.45.160.47, 196.45.160.47
IP:   No options
IP:   
TCP:  ----- TCP Header -----
TCP:  
TCP:  Source port = 8179
TCP:  Destination port = 21 (FTP)
TCP:  Sequence number = 306102767
TCP:  Acknowledgement number = 0
TCP:  Data offset = 24 bytes
TCP:  Flags = 0x02
TCP:        ..0. .... = No urgent pointer
TCP:        ...0 .... = No acknowledgement
TCP:        .... 0... = No push
TCP:        .... .0.. = No reset
TCP:        .... ..1. = Syn
TCP:        .... ...0 = No Fin
TCP:  Window = 8760
TCP:  Checksum = 0xaba0
TCP:  Urgent pointer = 0
TCP:  Options: (4 bytes)
TCP:    - Maximum segment size = 1460 bytes
TCP:  
FTP:  ----- FTP:   -----
FTP:  
FTP:  ""
FTP:  

ETHER:  ----- Ether Header -----
ETHER:  
ETHER:  Packet 8 arrived at 15:49:3.70
ETHER:  Packet size = 54 bytes
ETHER:  Destination = 0:0:0:0:0:0, 
ETHER:  Source      = 0:0:0:0:0:0, 
ETHER:  Ethertype = 0800 (IP)
ETHER:  
IP:   ----- IP Header -----
IP:   
IP:   Version = 4
IP:   Header length = 20 bytes
IP:   Type of service = 0x00
IP:         xxx. .... = 0 (precedence)
IP:         ...0 .... = normal delay
IP:         .... 0... = normal throughput
IP:         .... .0.. = normal reliability
IP:   Total length = 40 bytes
IP:   Identification = 54739
IP:   Flags = 0x0
IP:         .0.. .... = may fragment
IP:         ..0. .... = last fragment
IP:   Fragment offset = 0 bytes
IP:   Time to live = 255 seconds/hops
IP:   Protocol = 6 (TCP)
IP:   Header checksum = 0fe4
IP:   Source address = 196.45.160.47, 196.45.160.47
IP:   Destination address = 196.45.175.139, 196.45.175.139
IP:   No options
IP:   
TCP:  ----- TCP Header -----
TCP:  
TCP:  Source port = 21
TCP:  Destination port = 8179 
TCP:  Sequence number = 0
TCP:  Acknowledgement number = 306102768
TCP:  Data offset = 20 bytes
TCP:  Flags = 0x14
TCP:        ..0. .... = No urgent pointer
TCP:        ...1 .... = Acknowledgement
TCP:        .... 0... = No push
TCP:        .... .1.. = Reset
TCP:        .... ..0. = No Syn
TCP:        .... ...0 = No Fin
TCP:  Window = 0
TCP:  Checksum = 0xe581
TCP:  Urgent pointer = 0
TCP:  No options
TCP:  
FTP:  ----- FTP:   -----
FTP:  
FTP:  ""
FTP:  

Вот директория /etc
total 436
lrwxrwxrwx   1 root     root          14 Sep  1 10:01 TIMEZONE -> ./default/init
drwxrwxr-x   2 adm      adm          512 Sep  1 10:04 acct
lrwxrwxrwx   1 root     root          14 Sep  1 10:01 aliases -> ./mail/aliases
-rwxr--r--   1 root     sys          419 Sep 13 11:14 asppp.cf
-rw-r--r--   1 root     bin           50 Sep  1 10:04 auto_home
-rw-r--r--   1 root     bin          117 Sep  1 10:34 auto_master
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 autopush -> ../sbin/autopush
lrwxrwxrwx   1 root     root          18 Sep  1 10:16 chroot -> ../usr/sbin/chroot
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 clri -> ../usr/sbin/clri
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 crash -> ../usr/sbin/crash
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 cron -> ../usr/sbin/cron
drwxr-xr-x   2 root     sys          512 Sep 13 15:11 cron.d
-r--r--r--   1 root     sys          446 Jul 16  1997 datemsk
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 dcopy -> ../usr/sbin/dcopy
drwxrwxr-x   2 root     sys          512 Sep 13 13:07 default
-rw-rw-r--   1 root     other         13 Sep 13 14:52 defaultrouter
-rw-rw-r--   1 root     other         14 Sep 13 14:52 defaultrouter%
-r--r--r--   1 root     root        2356 Sep  1 10:26 device.tab
-rw-r--r--   1 root     sys         4310 Sep  1 10:22 devlink.tab
drwxrwxr-x   2 root     sys          512 Sep  1 10:01 dfs
-r--r--r--   1 root     sys          396 Sep  1 10:26 dgroup.tab
drwxrwxr-x   2 root     sys          512 Sep  1 10:01 dhcp
drwxrwxr-x   4 root     sys          512 Sep  1 10:16 dmi
-rw-r--r--   1 root     sys         1164 Sep  1 10:22 driver_aliases
-rw-r--r--   1 root     sys          294 Sep  1 10:22 driver_classes
drwxr-xr-x   3 root     other        512 Sep  1 13:18 dt
-rw-rw-r--   1 root     sys          180 Sep 12 12:19 dumpdates
lrwxrwxrwx   1 root     root          14 Sep  1 10:01 ff -> ../usr/sbin/ff
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 fmthard -> ../usr/sbin/fmthard
drwxrwxr-x   2 root     sys          512 Sep  1 10:09 fn
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 format -> ../usr/sbin/format
-rw-r--r--   1 root     sys         8670 Sep  1 10:20 format.dat
drwxrwxr-x   6 root     sys          512 Sep  1 10:01 fs
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 fsck -> ../usr/sbin/fsck
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 fsdb -> ../usr/sbin/fsdb
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 fstyp -> ../usr/sbin/fstyp
lrwxrwxrwx   1 root     root          17 Sep  1 10:16 fuser -> ../usr/sbin/fuser
lrwxrwxrwx   1 root     other         15 Sep 13 14:42 gateways -> ./inet/gateways
lrwxrwxrwx   1 root     root          21 Sep  1 10:01 getty -> ../usr/lib/saf/ttymon
-rw-rw-r--   1 root     other        290 Sep  1 11:56 group
-rw-r--r--   1 root     sys          278 Sep  1 10:02 group.old
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 grpck -> ../usr/sbin/grpck
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 halt -> ../usr/sbin/halt
-rw-r--r--   1 root     root          11 Sep 13 13:05 hostname.hme0
-rw-r--r--   1 root     root         247 Sep 13 15:08 hosts
-rw-r--r--   1 root     other        217 Sep 13 12:35 hosts%
-rw-r--r--   1 root     root          18 Sep 13 10:40 hosts.equiv
-rw-r--r--   1 root     root           0 Sep  1 12:01 hosts.equiv.old
-rw-r--r--   1 root     root         248 Sep 13 10:39 hosts.old
drwxr-xr-x   2 root     sys          512 Sep 13 14:41 inet
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 inetd.conf -> ./inet/inetd.conf
lrwxrwxrwx   1 root     root          12 Sep  1 10:01 init -> ../sbin/init
drwxrwxr-x   2 root     sys         1024 Sep  1 17:13 init.d
prw-------   1 root     root           0 Sep 13 15:11 initpipe
-rw-rw-r--   1 root     sys         1047 Sep 13 13:05 inittab
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 install -> ../usr/sbin/install
-rw-r--r--   1 root     sys           40 Sep  1 13:52 ioctl.syscon
-rw-r--r--   1 root     sys          411 Sep  1 10:22 iu.ap
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 killall -> ../usr/sbin/killall
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 labelit -> ../usr/sbin/labelit
drwxrwxr-x   2 root     sys          512 Sep  1 11:14 lib
lrwxrwxrwx   1 root     root          16 Sep  1 10:16 link -> ../usr/sbin/link
lrwxrwxrwx   1 root     root          14 Sep  1 10:01 log -> ../var/adm/log
-rw-r--r--   1 root     sys         2019 Sep  1 12:07 logindevperm
drwxrwxr-x   9 lp       lp           512 Sep  1 10:26 lp
-r--r--r--   1 bin      bin        12095 Jul 16  1997 magic
drwxr-xr-x   2 root     mail         512 Sep  1 11:08 mail
-rw-r--r--   1 root     sys         3082 Sep  1 10:22 minor_perm
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 mkfs -> ../usr/sbin/mkfs
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 mknod -> ../usr/sbin/mknod
-rw-rw-rw-   1 root     root         330 Sep 13 15:14 mnttab
-rw-r--r--   1 root     sys           52 Jan  1  1970 motd
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 mount -> ../usr/sbin/mount
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 mountall -> ../sbin/mountall
lrwxrwxrwx   1 root     root          17 Sep  1 10:16 mvdir -> ../usr/sbin/mvdir
-rw-r--r--   1 root     sys         1160 Sep  1 10:22 name_to_major
-rw-r--r--   1 root     sys         2855 Jul 16  1997 name_to_sysnum
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 ncheck -> ../usr/sbin/ncheck
drwxr-xr-x   5 root     sys          512 Sep  1 10:01 net
-rw-r--r--   1 root     sys         1064 Sep  1 10:01 netconfig
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 netmasks -> ./inet/netmasks
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 networks -> ./inet/networks
-rw-r--r--   1 root     sys          781 Sep  1 10:01 nfssec.conf
-rw-r--r--   1 root     root          11 Sep 13 13:05 nodename
-rw-rw-r--   1 root     other          0 Sep 13 10:40 notrouter
-rw-r--r--   1 root     sys          773 Jan  1  1970 nscd.conf
-rw-r--r--   1 root     root         690 Sep 13 15:10 nsswitch.conf
-rw-r--r--   1 root     other        690 Sep 13 12:34 nsswitch.conf%
-rw-r--r--   1 root     sys          686 Jul 16  1997 nsswitch.files
-rw-r--r--   1 root     sys          907 Sep  1 13:47 nsswitch.nis
-rw-r--r--   1 root     sys         1193 Jul 16  1997 nsswitch.nisplus
drwxrwxr-x   3 root     bin          512 Sep  1 10:11 openwin
drwxrwxr-x   4 root     sys          512 Sep  1 14:31 opt
-r--------   1 root     other        305 Sep  1 12:11 oshadow
-rw-r--r--   1 root     sys          861 Sep  1 10:01 pam.conf
-rw-rw-r--   1 root     other        578 Sep 13 13:07 passwd
-rw-rw-r--   1 root     other        511 Sep  1 11:56 passwd.old
-r--r--r--   1 root     sys         3544 Sep 13 13:04 path_to_inst
-r--r--r--   1 root     sys         3544 Sep 13 13:04 path_to_inst.old
-rw-r--r--   1 root     sys          930 Sep 13 13:07 power.conf
-rw-r--r--   1 root     sys          190 Sep  1 10:14 printers.conf
-rw-r--r--   1 root     sys          700 Sep  1 10:02 profile
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 protocols -> ./inet/protocols
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 prtconf -> ../usr/sbin/prtconf
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 prtvtoc -> ../usr/sbin/prtvtoc
-rw-r--r--   1 bin      bin          622 Sep  1 10:12 publickey
lrwxrwxrwx   1 root     root          16 Sep  1 10:16 pwck -> ../usr/sbin/pwck
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc0 -> ../sbin/rc0
drwxrwxr-x   2 root     sys          512 Sep  1 12:07 rc0.d
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc1 -> ../sbin/rc1
drwxrwxr-x   2 root     sys          512 Sep  1 11:08 rc1.d
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc2 -> ../sbin/rc2
drwxrwxr-x   2 root     sys         1024 Sep  1 17:13 rc2.d
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc3 -> ../sbin/rc3
drwxrwxr-x   2 root     sys          512 Sep  1 12:07 rc3.d
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc5 -> ../sbin/rc5
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rc6 -> ../sbin/rc6
lrwxrwxrwx   1 root     root          11 Sep  1 10:01 rcS -> ../sbin/rcS
drwxrwxr-x   2 root     sys          512 Sep  1 10:13 rcS.d
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 reboot -> ../usr/sbin/reboot
-r--r--r--   1 root     sys          190 Apr 25  1998 release
-rw-r--r--   1 bin      bin         1969 Sep  1 10:14 remote
-rw-rw-r--   1 root     other         49 Sep 13 13:56 resolv.conf
-r--r--r--   1 root     other        351 Sep  1 10:14 rmmount.conf
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 rmt -> ../usr/sbin/rmt
-rw-r--r--   1 root     sys         1481 Sep  1 10:02 rpc
-rw-r--r--   1 root     sys          496 Jul 16  1997 rpld.conf
drwxr-xr-x   3 bin      bin          512 Sep 13 15:11 saf
drwxr-xr-x   6 root     sys          512 Sep  1 11:07 security
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 services -> ./inet/services
-r-xr--r--   1 root     other       2507 Sep 13 10:40 services.old
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 setmnt -> ../usr/sbin/setmnt
-r--r--r--   1 root     other        313 Sep 13 13:07 shadow
-rw-rw-rw-   1 root     other        279 Sep  1 11:56 shadow.old
lrwxrwxrwx   1 root     root          20 Sep  1 10:01 shutdown -> ../usr/sbin/shutdown
drwxr-xr-x   2 root     sys          512 Sep  1 10:01 skel
drwxrwxr-x   3 root     sys          512 Sep  1 10:16 snmp
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 sock2path -> ./inet/sock2path
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 sulogin -> ../sbin/sulogin
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 swap -> ../usr/sbin/swap
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 swapadd -> ../sbin/swapadd
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 sysdef -> ../usr/sbin/sysdef
-rw-r--r--   1 root     sys         1122 Sep  1 12:07 syslog.conf
-rw-r--r--   1 root     sys          981 Sep  1 10:01 syslog.conf.org
-rw-r--r--   1 root     root           4 Sep 13 15:11 syslog.pid
-r-xr--r--   1 root     root        2860 Sep  1 12:07 system
-rw-r--r--   1 root     other       1883 Sep  1 12:07 system.old
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 tar -> ../usr/sbin/tar
lrwxrwxrwx   1 root     root          12 Sep  1 10:01 telinit -> ../sbin/init
lrwxrwxrwx   1 root     root          24 Sep  1 10:16 termcap -> ../usr/share/lib/termcap
drwxrwxr-x   2 root     sys          512 Sep  1 10:01 tm
-rw-r--r--   1 root     sys         2303 Jul 16  1997 ttydefs
-rw-r--r--   1 root     sys         1408 Sep  1 10:02 ttysrch
lrwxrwxrwx   1 root     root          14 Sep  1 10:01 uadmin -> ../sbin/uadmin
lrwxrwxrwx   1 root     root          18 Sep  1 10:01 umount -> ../usr/sbin/umount
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 umountall -> ../sbin/umountall
lrwxrwxrwx   1 root     root          18 Sep  1 10:16 unlink -> ../usr/sbin/unlink
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 utmp -> ../var/adm/utmp
prw-------   1 root     root           0 Sep 13 15:12 utmppipe
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 utmpx -> ../var/adm/utmpx
drwxr-xr-x   2 uucp     uucp         512 Sep 13 11:29 uucp
-rw-rw-r--   1 root     other        455 Sep 13 13:02 vfstab
-rw-rw-r--   1 root     other        455 Sep 13 13:02 vfstab.orig
lrwxrwxrwx   1 root     root          19 Sep  1 10:01 volcopy -> ../usr/sbin/volcopy
-rw-r--r--   1 root     other        855 Sep  1 10:14 vold.conf
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 wall -> ../usr/sbin/wall
lrwxrwxrwx   1 root     root          17 Sep  1 10:01 whodo -> ../usr/sbin/whodo
lrwxrwxrwx   1 root     root          15 Sep  1 10:01 wtmp -> ../var/adm/wtmp
lrwxrwxrwx   1 root     root          16 Sep  1 10:01 wtmpx -> ../var/adm/wtmpx

вот директория /etc/inet
total 66
-rw-rw-r--   1 root     other         14 Sep 13 14:34 gateways
-r--r--r--   1 root     sys           52 Sep 13 13:05 hosts
-r--r--r--   1 root     sys           52 Sep 13 10:34 hosts.saved
-r--r--r--   1 root     sys         5060 Sep  1 10:06 inetd.conf
-r--r--r--   1 root     sys         5139 Sep 12 17:50 inetd.conf.min
-r--r--r--   1 root     sys         5060 Sep  1 10:06 inetd.conf.ori
-r--r--r--   1 root     sys           26 Sep 13 13:07 netmasks
-r--r--r--   1 root     sys          372 Sep  1 10:01 networks
-rw-r--r--   1 root     sys          283 Jul 16  1997 ntp.client
-rw-r--r--   1 root     sys            0 Sep 13 10:39 ntp.conf
-rw-r--r--   1 root     sys         2329 Jul 16  1997 ntp.server
-r--r--r--   1 root     sys          980 Sep  1 10:02 protocols
-r-xr--r--   1 root     root        2508 Sep 13 10:40 services
-r-xr--r--   1 root     root        2508 Sep 13 10:40 services.ori
-r--r--r--   1 root     sys          305 Sep  1 10:02 sock2path

вот директория /etc/uucp
total 64
-rw-r--r--   1 uucp     uucp         686 Sep  1 10:06 Config
-rw-r--r--   1 uucp     uucp        1199 Sep  1 10:06 Devconfig
-rw-r--r--   1 uucp     uucp        3760 Sep  1 11:27 Devices
-rw-r--r--   1 uucp     uucp         496 Sep  1 10:06 Dialcodes
-rw-r--r--   1 uucp     uucp       13288 Sep  1 11:31 Dialers
-rw-r--r--   1 uucp     uucp        2184 Sep  1 10:06 Grades
-rw-r--r--   1 uucp     uucp         741 Sep  1 10:06 Limits
-rw-------   1 uucp     uucp         285 Sep  1 10:06 Permissions
-rw-r--r--   1 uucp     uucp         364 Sep  1 10:06 Poll
-rw-r--r--   1 uucp     uucp        1764 Sep  1 10:06 Sysfiles
-rw-------   1 uucp     uucp         906 Sep 13 12:28 Systems
-rw-------   1 root     other        906 Sep 13 11:29 Systems%
lrwxrwxrwx   1 root     root          33 Sep  1 10:06 remote.unknown -> ../../usr/lib/uucp/remote.unknown

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c01d84$23e6f100$9caf2ec3>