Architecture NG Client

Forum to discuss the new web client version of Servoy.

Architecture NG Client

Postby rieder » Tue Nov 29, 2016 12:01 pm

Hi

Could please someone explain to us, how the communication and the architecture between client and server is done in an NG Client? We have heard from a customer, that WinSockets were opened when calling the solution. Now we try to get an overview of the architecture (libraries, protocols, sockets, ports, etc). We would appreciate a lot, if someone could clarify this picture.

Kind regards
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Architecture NG Client

Postby rvanderburg » Tue Nov 29, 2016 12:31 pm

Birgit,

Can you elaborate what you are looking for? Is there a problem or are you trying to understand how it works?
Btw NG does not use winsockets but websockets
rvanderburg
Site Admin
 
Posts: 78
Joined: Wed May 04, 2011 10:28 am

Re: Architecture NG Client

Postby Andrei Costescu » Tue Nov 29, 2016 12:56 pm

https://wiki.servoy.com/display/public/ ... deployment
Do you need more information then that?
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Architecture NG Client

Postby rieder » Tue Nov 29, 2016 2:02 pm

Thank you both for the reply.

It helped, but a diagram would be nice and helpful.

Because: Our customer said, they had to open WinSockets when calling the NGClient from the Web Application Firewall. And it seems to be a security problem. We noticed, that our picture about which component is communicating with which other component and how and when is not clear. E. g. who opens the sockets and where?

Thanks for clarification
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Architecture NG Client

Postby patrick » Wed Nov 30, 2016 10:08 am

As far as I understand websockets, they are simple http connections over port 80 usually that are upgraded to a websocket. Unless a firewall does some aggressive packet inspection, it should not interfere. IMHO this mechanism has absolutely nothing to do with WinSockets. A proxy is a different beast than a firewall, so if your customer uses a proxy that might cause some problems.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Architecture NG Client

Postby sbutler » Wed Nov 30, 2016 6:44 pm

The customer might be using the term "Firewall" very generically. In larger enterprises, they also have content filters restricting data transmission. See an example I dealt with recently on a Barracuda appliance: viewtopic.php?f=69&t=21435
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Architecture NG Client

Postby huber » Mon Dec 12, 2016 10:00 am

Hi Andrei

Yes, we need more information, please. Our customer is asking about the security of the websocket communication? Is Servoy using ws or wss? What about the API used by Servoy? What is the setup?
Our customer is using a Web Application Firewall and has security concerns because he can't verify the websockets traffic (yet).

Andrei Costescu wrote:https://wiki.servoy.com/display/public/DOCS/NGClient+deployment
Do you need more information then that?


Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Architecture NG Client

Postby Andrei Costescu » Mon Dec 12, 2016 5:33 pm

Ok. Please create a case for this then (updating that wiki page).
NGClient uses wss: if site is served using https and ws: if site is served using http.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 1 guest