Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

Bad protocol id in handshake

by TX007 on 2018/04/14 11:29:21 PM    
Hi,
Tixati try to connect to someone who is in the same swarm with me , but the connection fail with the error message "Bad protocol id in handshake" , this never happened to me with any peer in the past, what that message mean? It's a limitation from Tixati or a bug in the other peer client ?
by Dan911 on 2018/04/17 11:31:18 PM    
Has been reported before  https://forum.tixati.com/support/546   but not answered.

Looks like other torrent platforms have protocol extensions which aren't (yet) official and Tixati can't handle, or introduce bugs in their handshake, thus causing Tixati to fail.

It should end with updates; Either the O.S., Tixati, and/or the other client causing errors.
by TX007 on 2018/04/19 06:11:39 AM    
Thanks @Dan911
by Guest on 2024/02/26 07:01:48 PM    
Hi,

it's about standards and protocols of communications.

Scenario #1. - In global context of cyberwarfer between countries, either the client is customized - beware of malware, worms, bots and hackers - and don't have the correct certificate, correct version of security protocols or/and communication protocols to connect to your pc and Tixati drops the connection for security reasons as standards and protocols says,

or

Scenario #2. - The client that tries to connect to your PC hasn't the above mentioned protocols and standards updated in such way to meet your specific settings of your Tixati client and connect.


Note:
=====
Security protocols - handle secure communication - encrypt/decrypt handshakes, password, certificates -
                    this excludes any third party and unknown threats
                    Ex. of security protocols:  SSL/TLS (exist at least 3 versions and each has
                    different chiphers for encrypting), SSH, FTPS, SFTP, HTTPS, IPv6;

Communication protocols - handle the mode how each client device (PC, tablet, smartphone, router,
                         switch,etc.) connect and communicate in more compatile ways with all other
                         devices,  here are:
                         Ex.: DNS, DHCP, UDP, SSH, FTPS, SFTP, HTTP, HTTPS, IPv4, IPv6

As you can see some communication protocols are in both sides, this is happening because it use at
the begining of communication security protocols to secure the communication after that gives controls to the application level: Tixati, browser web, ftp client, etc.
by Guest on 2024/02/27 11:51:04 PM    
Hi,

About Protocols, Services and Standards.

Some of the standards are mantained by big organizations as IANA (Internet Assigned Numbers Authority) and IETF (Internet Engineering Task Force).

Short history:

From 1974 - DARPA agency experimented first use of TCP - Transmission Control Program - among first versions of TCP/IP Protocol linking some of major US Academic Institutions and their campus, this way the code of what we know as TCP/IP protocol, leaked in the wild.

The standard exist, is free and anyone with some networking and developing skills can modify it and is not prohibited BUT he/she must assure integrity, security, authenticity, compatibility and last but not least conectivity - lack of bugs in protocol or differences too big for devices to be compatible between them, hence failing to connect - talking about state wide platforms customized to help entire departments or groups to craft specific types of handshakes to target for specific types of users or devices .

In US and EU all governamental institution and their partners had already banned all software made in Russia, China or having some third party ties even remotely.

On unix systems exist 2 lists of numbers: 1.Protocols no matter what layer it is and 2.Services.


1.Protocols - you have all communication protocols used on the Internet numbered from 0 to 65.565 (not all are used, some are reserved for experiments, some reserved for future developing).

2.Services  - you have all services used on the Internet numbered from 0 to 65.565 (as above, not all used).

No matter the Operating System you have, you got those lists in it for Internet connection, without it you can't connect to any device via network card (wifi or wired).


Protocols few examples    Services, few examples:
(no matter the layer):              
1     #ICMP               - ping - verify network connection
53    #DNS                - Domain Name System - transforms ip in hostnames and viceversa
80    #HTTP               - HyperText Transfer Protocol - browser Ex.: Opera
8080  #SHTTP              - Secure HyperText Transfer Protocol - browser Ex.: Opera
443   #HTTPS              - HyperText Transfer Protocol Secure - browser Ex.: Opera
132   #SCTP               - Stream Control Transmission Protocol - sctp (Total Commander -Ftp module)
20    #FTP                - File Transfer Protocol (Data transfer) - (Total Commander -Ftp module)
21    #FTP                - File Transfer Protocol (Control) - (Total Commander -Ftp module)
25    #SMTP               - Simple Mail Transport Protocol  - any mail client as Outlook, Thunderbird Mail, etc.
587   #ESMTP              - Extended Simple Mail Transport Protocol - any mail client as Outlook, Thunderbird Mail, etc.
...
...
...
The Services are Applications or Operating System programs that listen to a port number - Ex.: a web browser will listen to 80, 8080, 443 ports, SYSTEM will listen to port 53 for DNS - incoming packets are encoded when sent from top to bottom layer by layer as in OSI Model, and at destination are decoded bottom to top, so that's why there are programs that listens for connection on certain ports.

CONCLUSION:

A certain coherence, hierarchy and compatibility between standards of networking protocols from one machine/device (PC, tablet, smartphone, router, switch, etc) to another until intended destination device, must be carefully mantained or no connection or  transfer will occur.

SO, "Bad protocol id in handshake" means that the protocols can't identify the other party type of client and version - it must be specified in frames that are sent over Internet automaticaly by client app - or for other security reasons as weak cipher or SSL/TLS version of protocol different, or other minor changes in client app, hence connection can't be established to transfer data.


Reference:

Wikipedia:

https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers
https://en.wikipedia.org/wiki/Lists_of_network_protocols
https://en.wikipedia.org/wiki/OSI_model
by TX007 on 2024/02/28 02:24:18 AM    
Thanks @Guest
by notaLamer on 2024/02/28 02:06:15 PM    
Excuse me my arrogance, but Guest must be working at a government job where writing such abstract texts is a daily obligation.
I assume someone is either blindly scanning the internet with a tool like nmap and sent you a random packet destined for another application or there's DHT poisoning to try and overwhelm a victim target with traffic from legitimate Bittorrent clients. The victim would respond with whatever protocol it's running and Tixati doesn't know how to handle this kind of garbage too* It's nothing big. Just unnecessary.

* I have seen many peers in list sourced from DHT with port 1. I think Tixati blocks this by default because in the real world there would be hardly any people who run BT clients from port 1. Other than this, DHT is trusted blindly by design. Anyone can publish info onto the DHT and that's how the decentralization works.
by TX007 on 2024/02/29 12:48:46 PM    
Thanks @notaLamer




This web site is powered by Super Simple Server