telepost | Simple Telegram posting Ruby gem | Bot library
kandi X-RAY | telepost Summary
kandi X-RAY | telepost Summary
Telepost is a simple gateway to Telegram, which can post messages and respond to primitive requests. First, get your token from @BotFather.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of telepost
telepost Key Features
telepost Examples and Code Snippets
$ gem install telepost
require 'telepost'
tp = Telepost.new('..token..')
Thread.start do
tp.run do |chat, msg|
tp.post(chat, 'Thanks for talking to me!')
end
end
tp.post(12345, 'How are you?', 'How are you doing?')
tp = Telepost.new('..toke
Community Discussions
Trending Discussions on telepost
QUESTION
I have this client trying to access the web page"https://trackntrace.telepost.gl", but fails due to ssl handshake error. I tried using wget , openssl and also from chrome browser.
I did a tcpdump on both the servers (I have access to both) , and found the server is sending a "server hello" for the "client hello" sent by the client, but the client seems to reject it midway, I mean I dont see the full packet sent by the server.
I am able to access it from my pc and some other servers as well. and also ssl check on "https://trackntrace.telepost.gl", using different websites like "ssllabs" , "sslchecker" fails saying "No ssl supported".
Any help or lead will be appreciated.
Part of tcp dump from client and server below
...ANSWER
Answered 2018-Oct-04 at 21:21According to the packet captures something is sending a RST claiming to be from the server (i.e. from port 443) to the client and a RST claming to be from the client to the server (i.e. to port 443). Also, the response from the server which contains the certificate is not forwarded to the client.
This suggests that there is some middlebox (like a firewall) in between client and server which does deep packet inspection and explicitly breaks the connection between client and server after having a look at the servers certificate. Given I have the same problems as you from my location my guess is that the middlebox is near the server and not near the client.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install telepost
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page