?

Log in

No account? Create an account

- Тисипи айпи! - Айпи тисипи! - Общество дровосеков Бердичева по изучению Мишны

Jun. 30th, 2010

01:22 am - - Тисипи айпи! - Айпи тисипи!

Previous Entry Share Next Entry


С подачи Аввы попробовал: вписываем в /etc/services строчку "zero 0/tcp"
и говорим "telnet google.com zero". В отличие от "telnet google.com 0", отлупа по причине зарезервированности порта 0 не происходит. А что происходит?

Comments:

[User Picture]
From:avva
Date:June 30th, 2010 09:09 am (UTC)
(Link)
Пакеты идут ТУДА. Где их Постель прочитает.
(Reply) (Thread)
[User Picture]
From:dvv
Date:June 30th, 2010 03:37 pm (UTC)
(Link)
Обхохочешься.
(Reply) (Parent) (Thread)
[User Picture]
From:dvv
Date:June 30th, 2010 03:35 pm (UTC)
(Link)
Whatchu talkin 'bout?
# telnet google.com 0
Trying 209.85.157.105...
telnet: connect to address 209.85.157.105: Cannot assign requested address
Trying 209.85.157.147...
telnet: connect to address 209.85.157.147: Cannot assign requested address
Trying 209.85.157.99...
telnet: connect to address 209.85.157.99: Cannot assign requested address
Trying 209.85.157.103...
telnet: connect to address 209.85.157.103: Cannot assign requested address
Trying 209.85.157.104...
telnet: connect to address 209.85.157.104: Cannot assign requested address
Trying 209.85.157.106...
telnet: connect to address 209.85.157.106: Cannot assign requested address
Trying 2001:4860:8008::67...
telnet: connect to address 2001:4860:8008::67: Cannot assign requested address
Trying 2001:4860:8008::68...
telnet: connect to address 2001:4860:8008::68: Cannot assign requested address
Trying 2001:4860:8008::69...
telnet: connect to address 2001:4860:8008::69: Cannot assign requested address
Trying 2001:4860:8008::6a...
telnet: connect to address 2001:4860:8008::6a: Cannot assign requested address
Trying 2001:4860:8008::93...
telnet: connect to address 2001:4860:8008::93: Cannot assign requested address
Trying 2001:4860:8008::63...
telnet: Unable to connect to remote host: Cannot assign requested address
# telnet google.com zero
Trying 209.85.157.104...
telnet: connect to address 209.85.157.104: Cannot assign requested address
Trying 209.85.157.106...
telnet: connect to address 209.85.157.106: Cannot assign requested address
Trying 209.85.157.147...
telnet: connect to address 209.85.157.147: Cannot assign requested address
Trying 209.85.157.99...
telnet: connect to address 209.85.157.99: Cannot assign requested address
Trying 209.85.157.103...
telnet: connect to address 209.85.157.103: Cannot assign requested address
Trying 209.85.157.105...
telnet: connect to address 209.85.157.105: Cannot assign requested address
Trying 2001:4860:8008::63...
telnet: connect to address 2001:4860:8008::63: Cannot assign requested address
Trying 2001:4860:8008::67...
telnet: connect to address 2001:4860:8008::67: Cannot assign requested address
Trying 2001:4860:8008::68...
telnet: connect to address 2001:4860:8008::68: Cannot assign requested address
Trying 2001:4860:8008::69...
telnet: connect to address 2001:4860:8008::69: Cannot assign requested address
Trying 2001:4860:8008::6a...
telnet: connect to address 2001:4860:8008::6a: Cannot assign requested address
Trying 2001:4860:8008::93...
telnet: Unable to connect to remote host: Cannot assign requested address
#
(Reply) (Thread)
[User Picture]
From:spamsink
Date:June 30th, 2010 04:12 pm (UTC)
(Link)
Mне telnet google.com 0 говорит "port 0 out of range".

(Reply) (Parent) (Thread)
[User Picture]
From:dvv
Date:June 30th, 2010 04:22 pm (UTC)
(Link)
Мой telnet лучше твоего telnet'а.

Что же касается пакетов, то если таки слать в сторону Гугля SYN с нулевым портом, то он, судя по всему, обычным образом глушится на файерволе:
12:21:02.967350 IP busybee.dvv.org.12345 > yu-in-f147.1e100.net.zero: S 721764788:721764788(0) win 1024 
12:21:03.121969 IP busybee.dvv.org.12345 > yu-in-f147.1e100.net.zero: S 721699253:721699253(0) win 3072 

и ничего в ответ.
(Reply) (Parent) (Thread)