Re: [Ryu-devel] openflow controller with proxy server

2019-08-15 Thread Yusuke Iwase

Hi,

Please keep mailing list.

Hmmm... are you going to realize the implicit HTTP proxy behavior as a 
network side function? For example, when a client trying to connect to 
HTTP server, the packets will be "implicitly" redirected to the HTTP 
proxy, then some inspections or security checks will be applied, right? 
If so, (sorry I don't know further) you need to some tricks or functions 
before redirecting to the HTTP proxy, because there some differences on 
HTTP headers between with and without HTTP proxy settings on the client 
side.

e.g., Without HTTP proxy, a HTTP request should look like;
  GET /news/index.html HTTP/1.1
but with HTTP proxy, the request should look like;
  GET http://www.example.com/news/index.html HTTP/1.1

Just an idea, "transparent HTTP proxy" might be a hint for this 
situation, but I don't know a lot.

e.g.,
  client ---> transparent proxy ---> HTTP proxy ---> HTTP server

Regards,
Iwase


On 2019/08/15 2:49, filippos ser wrote:
Hello, my mistake. I have an HTTP proxy (Squid ) and in my server, I run 
a simple HTTP server(if your run python -m SimpleHTTPServer you get the 
server). In the folder where I run my server, I have for example an 
image. So, from hosts, I make get request ( I use wget ) to get the 
image. So, I want to redirect this request throw my HTTP proxy. I think 
the solution is to redirect the traffic from port 80 to port which the 
proxy run. I made some changes in my topology, the proxy run inside the 
switch. So, any ideas?


Στις Τετ, 14 Αυγ 2019 στις 7:28 π.μ., ο/η Yusuke Iwase 
mailto:iwase.yusu...@gmail.com>> έγραψε:


Hi,

First, please let me clarify your question. The "proxy" you
mentioned mean the HTTP proxy, right? If so, I this there are some
confusions in your situation. For instance, Squid HTTP proxy is an
application layer (layer 7) proxy for the HTTP(HTTPS) applications.
On the other hand, "ping" is an ICMP (layer 3) application to test
the IP reachablility and I guess these packets shouldn't go through
thw Squid proxy.

Pleases correct me if I have misunderstood.

Regards,
Iwase


2019年7月31日(水) 1:56 filippos ser mailto:serep...@gmail.com>>:

I have a topology which includes these nodes,
Switch(s), Host1(h1), Host2(H2), Controller(c) where I run Ryu
controller and Proxy Server(ps) where I run Squid.
I want when I ping from h1 to h2 this "request" go throw the ps,
in ps Squid listen in port 3128. I find this

,
where make port forwarding. Because I am new to SDN, my question
is, is this a valid way to achieve what I want?
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/ryu-devel




___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow controller with proxy server

2019-08-13 Thread Yusuke Iwase
Hi,

First, please let me clarify your question. The "proxy" you mentioned mean
the HTTP proxy, right? If so, I this there are some confusions in your
situation. For instance, Squid HTTP proxy is an application layer (layer 7)
proxy for the HTTP(HTTPS) applications. On the other hand, "ping" is an
ICMP (layer 3) application to test the IP reachablility and I guess these
packets shouldn't go through thw Squid proxy.

Pleases correct me if I have misunderstood.

Regards,
Iwase


2019年7月31日(水) 1:56 filippos ser :

> I have a topology which includes these nodes,
> Switch(s), Host1(h1), Host2(H2), Controller(c) where I run Ryu controller
> and Proxy Server(ps) where I run Squid.
> I want when I ping from h1 to h2 this "request" go throw the ps, in ps
> Squid listen in port 3128. I find this
> ,
> where make port forwarding. Because I am new to SDN, my question is, is
> this a valid way to achieve what I want?
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] openflow controller with proxy server

2019-07-30 Thread filippos ser
I have a topology which includes these nodes,
Switch(s), Host1(h1), Host2(H2), Controller(c) where I run Ryu controller
and Proxy Server(ps) where I run Squid.
I want when I ping from h1 to h2 this "request" go throw the ps, in ps
Squid listen in port 3128. I find this
,
where make port forwarding. Because I am new to SDN, my question is, is
this a valid way to achieve what I want?
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel