Raised This Month: $ Target: $400
 0% 

[Socket] Request over SSL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
johnally
Member
Join Date: May 2011
Location: Mauritius
Old 12-26-2015 , 12:20   [Socket] Request over SSL
Reply With Quote #1

Hi all,

I am currently trying to send some requests towards a web server running SSL. I am using the module "Winsock" by Bugsy and so far it performs very well if I send requests towards a web server not running SSL.

I tried every socket module I could find on alliedmodders but none actually support SSL.
Eventually, I tried dummy approaches as connecting to the SSL port directly (i.e 443) and tried to send my requests but as you'd guess, plain http requests do not go through even how much I pray to the socket god

Is there a way to do a GET/POST request towards a web server running SSL using amxmodx?

P.S If you are not sure, it does not matter! All I need is some pointers towards what to research exactly. So post a link that you think can be useful for anyone facing same dilemma

Thank you a lot!
__________________
No allowed!


Last edited by johnally; 12-26-2015 at 12:30.
johnally is offline
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 12-26-2015 , 20:27   Re: [Socket] Request over SSL
Reply With Quote #2

Quote:
Originally Posted by johnally View Post
Hi all,

I am currently trying to send some requests towards a web server running SSL. I am using the module "Winsock" by Bugsy and so far it performs very well if I send requests towards a web server not running SSL.

I tried every socket module I could find on alliedmodders but none actually support SSL.
Eventually, I tried dummy approaches as connecting to the SSL port directly (i.e 443) and tried to send my requests but as you'd guess, plain http requests do not go through even how much I pray to the socket god

Is there a way to do a GET/POST request towards a web server running SSL using amxmodx?

P.S If you are not sure, it does not matter! All I need is some pointers towards what to research exactly. So post a link that you think can be useful for anyone facing same dilemma

Thank you a lot!
Encrypting data for a SSL channel is only possible if an OpenSSL-like library is included in the module. As far as I know none of the socket modules for AMXX have that ability and with reason - sending and receiving data through SSL/TLS protocols is not so easy to implement.
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex is offline
johnally
Member
Join Date: May 2011
Location: Mauritius
Old 12-27-2015 , 00:01   Re: [Socket] Request over SSL
Reply With Quote #3

Indeed I would think so. I don't mind rolling my own module (sort-of an adaptation of another module but with SSL/TLS support. It will be a hell maybe but oh well)

I just wanted to be sure that, since amxmodx and metamod do not restrain only to alliedmodders, if there was a solution out there thought by someone.
__________________
No allowed!


Last edited by johnally; 12-27-2015 at 00:02.
johnally is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode