Pure Ruby Reverse Proxy

Hi Guys,

  As a part of a project for work I created a Reverse Proxy in pure

ruby, I’m thinking of ripping this part from the whole project and
put it in github under MIT or GPL3 for you guys to enjoy.

  The "ripping out" part will take me some time and effort (plus

making the code more understandable), so I want wondering how much
will you guys want me to do something like that ? does anybody
needs this ? if so please reply and I’ll start the job :slight_smile:

  Features:

  1) URL Rewrite

  2) User&Pass auth

  3) OTP Auth via LDAP Field or Random password SMS

  4) SSL front

  5) Can relay back to non-ssl and ssl based sites

  6) Added my other project

(https://github.com/bararchy/ruby-libinjection ) to scan and detect
SQL Injection attacks on the Proxy or sites behind it

  7) LDAP Integration for User&Pass

  Thanks,
···

I think it is a good project. You should do it :slight_smile:

···

On 02/05/15 07:16, Bar Hofesh wrote:

Hi Guys,

As a part of a project for work I created a Reverse Proxy in pure
ruby, I'm thinking of ripping this part from the whole project and put
it in github under MIT or GPL3 for you guys to enjoy.
The "ripping out" part will take me some time and effort (plus making
the code more understandable), so I want wondering how much will you
guys want me to do something like that ? does anybody needs this ? if
so please reply and I'll start the job :slight_smile:

Features:

1) URL Rewrite
2) User&Pass auth
3) OTP Auth via LDAP Field or Random password SMS
4) SSL front
5) Can relay back to non-ssl and ssl based sites
6) Added my other project
(https://github.com/bararchy/ruby-libinjection) to scan and detect SQL
Injection attacks on the Proxy or sites behind it
7) LDAP Integration for User&Pass

Thanks,

--

Hi Guys,

As a part of a project for work I created a Reverse Proxy in pure ruby, I'm
thinking of ripping this part from the whole project and put it in github
under MIT or GPL3 for you guys to enjoy.
The "ripping out" part will take me some time and effort (plus making the
code more understandable), so I want wondering how much will you guys want
me to do something like that ? does anybody needs this ? if so please reply
and I'll start the job :slight_smile:

Features:

1) URL Rewrite
2) User&Pass auth
3) OTP Auth via LDAP Field or Random password SMS
4) SSL front
5) Can relay back to non-ssl and ssl based sites
6) Added my other project (https://github.com/bararchy/ruby-libinjection) to
scan and detect SQL Injection attacks on the Proxy or sites behind it
7) LDAP Integration for User&Pass

Thanks,

--

···

On Sat, May 2, 2015 at 5:16 AM, Bar Hofesh <bar.hofesh@safe-t.com> wrote:
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Just curious what use case you see for this (as opposed to using
e.g. nginx or Apache httpd).

Would it possibly be Rack-based to take advantage of existing Rack
middleware? That would certainly be interesting.

···

On Sat, May 2, 2015 at 5:16 AM, Bar Hofesh <bar.hofesh@safe-t.com> wrote:

As a part of a project for work I created a Reverse Proxy in pure ruby, I'm
thinking of ripping this part from the whole project and put it in github

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

I think you should do it!

···

2015-05-02 9:16 GMT-03:00 Bar Hofesh <bar.hofesh@safe-t.com>:

Hi Guys,

As a part of a project for work I created a Reverse Proxy in pure ruby,
I'm thinking of ripping this part from the whole project and put it in
github under MIT or GPL3 for you guys to enjoy.
The "ripping out" part will take me some time and effort (plus making the
code more understandable), so I want wondering how much will you guys want
me to do something like that ? does anybody needs this ? if so please reply
and I'll start the job :slight_smile:

Features:

1) URL Rewrite
2) User&Pass auth
3) OTP Auth via LDAP Field or Random password SMS
4) SSL front
5) Can relay back to non-ssl and ssl based sites
6) Added my other project (https://github.com/bararchy/ruby-libinjection)
to scan and detect SQL Injection attacks on the Proxy or sites behind it
7) LDAP Integration for User&Pass

Thanks,

--

Yeah, that would be interesting!

Will it contain feature like extension stack (rack middleware???) for
being able to modify headers / body of the request? Will it even use
rack somehow?

02.05.2015 15:16, Bar Hofesh пишет:

···

Hi Guys,

As a part of a project for work I created a Reverse Proxy in pure
ruby, I'm thinking of ripping this part from the whole project and put
it in github under MIT or GPL3 for you guys to enjoy.
The "ripping out" part will take me some time and effort (plus making
the code more understandable), so I want wondering how much will you
guys want me to do something like that ? does anybody needs this ? if
so please reply and I'll start the job :slight_smile:

Features:

1) URL Rewrite
2) User&Pass auth
3) OTP Auth via LDAP Field or Random password SMS
4) SSL front
5) Can relay back to non-ssl and ssl based sites
6) Added my other project
(https://github.com/bararchy/ruby-libinjection) to scan and detect SQL
Injection attacks on the Proxy or sites behind it
7) LDAP Integration for User&Pass

Thanks,

--

Well,

  In my current project we needed a very light reverse proxy, which

meant no webserver, this is why I created it in the first place,
it’s a standalone reverse proxy which you can use to intercept
traffic, manipulate data, scan the traffic for w\e etc… all
within ruby, without the need to use external software and
services.

  Thanks,
> > As a part of a project for work I created a Reverse Proxy in pure ruby, I'm
> > thinking of ripping this part from the whole project and put it in github
> 
> Just curious what use case you see for this (as opposed to using
> e.g. nginx or Apache httpd).
> Would it possibly be Rack-based to take advantage of existing Rack
> middleware? That would certainly be interesting.
···

On 05/04/2015 03:55 AM, Hassan Schroeder wrote:

On Sat, May 2, 2015 at 5:16 AM, Bar Hofesh bar.hofesh@safe-t.com wrote:

Hello everyone,
Would like some community advice.

I have used Twilio for one of my apps to receive phone calls here in South Africa and I really like how clear their documentation is, except they can't send & receive sms' here. Any suggestions are welcome

···

Sent from my BlackBerry®

-----Original Message-----
From: Vladimir Kochnev <hashtable@yandex.ru>
Sender: "ruby-talk" <ruby-talk-bounces@ruby-lang.org>Date: Thu, 14 May 2015 01:26:54
To: Ruby users<ruby-talk@ruby-lang.org>
Reply-To: Ruby users <ruby-talk@ruby-lang.org>
Subject: Re: Pure Ruby Reverse Proxy

Yeah, that would be interesting!

Will it contain feature like extension stack (rack middleware???) for
being able to modify headers / body of the request? Will it even use
rack somehow?

02.05.2015 15:16, Bar Hofesh пишет:

Hi Guys,

As a part of a project for work I created a Reverse Proxy in pure
ruby, I'm thinking of ripping this part from the whole project and put
it in github under MIT or GPL3 for you guys to enjoy.
The "ripping out" part will take me some time and effort (plus making
the code more understandable), so I want wondering how much will you
guys want me to do something like that ? does anybody needs this ? if
so please reply and I'll start the job :slight_smile:

Features:

1) URL Rewrite
2) User&Pass auth
3) OTP Auth via LDAP Field or Random password SMS
4) SSL front
5) Can relay back to non-ssl and ssl based sites
6) Added my other project
(https://github.com/bararchy/ruby-libinjection) to scan and detect SQL
Injection attacks on the Proxy or sites behind it
7) LDAP Integration for User&Pass

Thanks,

--

I think I would be interested. Only because it would help put more of our
stack into a language more of the team is comfortable working with. I'd be
concerned about performance though. We currently use Nginx and may be
switching to a reverse proxy in Go someone wrote internally.

···

------
Mehul Kar
@mehulkar

On Sun, May 3, 2015 at 10:10 PM, Bar Hofesh <bar.hofesh@safe-t.com> wrote:

Well,

In my current project we needed a very light reverse proxy, which meant no
webserver, this is why I created it in the first place, it's a standalone
reverse proxy which you can use to intercept traffic, manipulate data, scan
the traffic for w\e etc... all within ruby, without the need to use
external software and services.

Thanks,

On 05/04/2015 03:55 AM, Hassan Schroeder wrote:

On Sat, May 2, 2015 at 5:16 AM, Bar Hofesh <bar.hofesh@safe-t.com> <bar.hofesh@safe-t.com> wrote:

As a part of a project for work I created a Reverse Proxy in pure ruby, I'm
thinking of ripping this part from the whole project and put it in github

Just curious what use case you see for this (as opposed to using
e.g. nginx or Apache httpd).

Would it possibly be Rack-based to take advantage of existing Rack
middleware? That would certainly be interesting.

--

Because most f the work is Socket reads and
writes, those things happens at c level and the GIL isn’t
affected, I also ran the proxy in Rubinius and it looked stable,
maybe this can be a good choice :slight_smile:

  As I see interest, I'll start the work in the next days, I hope

you guys find it useful.

  Thanks,
    I think I would be interested. Only because it

would help put more of our stack into a language more of the
team is comfortable working with. I’d be concerned about
performance though. We currently use Nginx and may be switching
to a reverse proxy in Go someone wrote internally.


Mehul Kar

@mehulkar

Well,

            In my current project we needed a very light reverse

proxy, which meant no webserver, this is why I created
it in the first place, it’s a standalone reverse proxy
which you can use to intercept traffic, manipulate data,
scan the traffic for w\e etc… all within ruby, without
the need to use external software and services.

            Thanks,
> > > > As a part of a project for work I created a Reverse Proxy in pure ruby, I'm
> > > > thinking of ripping this part from the whole project and put it in github
> > > 
> > > Just curious what use case you see for this (as opposed to using
> > > e.g. nginx or Apache httpd).
> > > Would it possibly be Rack-based to take advantage of existing Rack
> > > middleware? That would certainly be interesting.
···

On 05/04/2015 08:58 AM, Mehul Kar wrote:

      On Sun, May 3, 2015 at 10:10 PM, Bar > Hofesh <bar.hofesh@safe-t.com> >           wrote:

On 05/04/2015 03:55 AM, Hassan Schroeder wrote:

On Sat, May 2, 2015 at 5:16 AM, Bar Hofesh bar.hofesh@safe-t.com wrote: