AW: [DISCUSS] Start Implementing turnkey-examples?

2021-02-17 Thread Christofer Dutz
Hi  Ben,

that's why I said that we filter only the PLC4X related packets. I've seen 
several PCAPs in the past in our jira which were full recordings and generally 
provided more insights than the user probably wanted.

So for example for KNX it would be any traffic with a port (source or target) 
of 3671 and a source or target of the target Ip of the connection.

But in general: Yes we need to be careful and it should definitely not 
"call-home" ... the user should be required to manually upload results.

Chris



-Ursprüngliche Nachricht-
Von: Ben Hutcheson  
Gesendet: Mittwoch, 17. Februar 2021 10:45
An: dev@plc4x.apache.org
Betreff: Re: [DISCUSS] Start Implementing turnkey-examples?

+1 for having pre-built binaries. I think it is a great way to expand 
+the
number of people we can reach (There's a lot of cool stuff in PLC4X). Also 
having links on the website to download would be handy.

I'd try and avoid jars for this only because it isn't a normal format people 
would expect to see. I think there's a maven plugin that creates a zip with 
helper scripts for windows for java. Definitely exe's would be my choice.

Also need to be careful about collecting information from the user, I'm no way 
an expert on this but some concerns.
- How do we handle the data when we have it? store it on github? Who do we 
share it with? GDPR scares me.
- How do we get the user to understand what is in the package that they are 
sending? How do we know they are ok with this?



On Wed, Feb 17, 2021 at 3:48 AM Christofer Dutz 
wrote:

> Right now I think it only makes sense for Auto-Discovery and Browse.
> Problem is that otherwise it will already be too complicated to run 
> :-/
>
> But generally, yes: For java we could simply use fat-jars for download.
> Thinking about it ... I could probably simply attach the compiled "exe"
> files to the maven build and have them hosted by our nexus. This way 
> we don't need to find a place to deploy them manually.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Lukas Ott 
> Gesendet: Mittwoch, 17. Februar 2021 08:59
> An: dev@plc4x.apache.org
> Betreff: Re: [DISCUSS] Start Implementing turnkey-examples?
>
> +1 for that - as we could use this approach also for other Drivers
>
> Am Mi., 17. Feb. 2021 um 08:48 Uhr schrieb Christofer Dutz <
> christofer.d...@c-ware.de>:
>
> > Hi all,
> >
> > you probably noticed, I started a call for help on soncial media to 
> > test the latest auto-discovery for KNX in Go.
> > Turns out that I have heard back exactly 0 times.
> >
> > I did ask the one or the other, why they didn't respond and it seems 
> > "checkout our repo and then run this command" seems to high of a barrier.
> >
> > So I started thinking: Probably for Linux folks this isn't a huge 
> > barrier as they are used to getting their hands dirty.
> > Windows people are used to downloading an installer or an Exe and 
> > running that.
> >
> > This got me thinking: Wouldn't it be good to start creating Go 
> > Windows Exe files which use what we want to test (Especially 
> > regarding auto-discovery and browsing).
> > But in addition to this, I would like to make the Exes automatically 
> > capture the traffic (filtered to only the packets that are of
> > interest) and to prepare feedback packages consisting of 
> > log-information
> and a pcap file.
> > Cause I am a bit worried that "Could you create a wireshark capture 
> > of the traffic" is too complicated too :-/
> >
> > We could then start a "Help us by testing these on your systems" 
> > page where they can download the Exe files.
> >
> > What do you think?
> >
> >
> > Chris
> >
>


Re: [DISCUSS] Start Implementing turnkey-examples?

2021-02-17 Thread Ben Hutcheson
+1 for having pre-built binaries. I think it is a great way to expand the
number of people we can reach (There's a lot of cool stuff in PLC4X). Also
having links on the website to download would be handy.

I'd try and avoid jars for this only because it isn't a normal format
people would expect to see. I think there's a maven plugin that creates a
zip with helper scripts for windows for java. Definitely exe's would be my
choice.

Also need to be careful about collecting information from the user, I'm no
way an expert on this but some concerns.
- How do we handle the data when we have it? store it on github? Who do we
share it with? GDPR scares me.
- How do we get the user to understand what is in the package that they are
sending? How do we know they are ok with this?



On Wed, Feb 17, 2021 at 3:48 AM Christofer Dutz 
wrote:

> Right now I think it only makes sense for Auto-Discovery and Browse.
> Problem is that otherwise it will already be too complicated to run :-/
>
> But generally, yes: For java we could simply use fat-jars for download.
> Thinking about it ... I could probably simply attach the compiled "exe"
> files to the maven build and have them hosted by our nexus. This way
> we don't need to find a place to deploy them manually.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Lukas Ott 
> Gesendet: Mittwoch, 17. Februar 2021 08:59
> An: dev@plc4x.apache.org
> Betreff: Re: [DISCUSS] Start Implementing turnkey-examples?
>
> +1 for that - as we could use this approach also for other Drivers
>
> Am Mi., 17. Feb. 2021 um 08:48 Uhr schrieb Christofer Dutz <
> christofer.d...@c-ware.de>:
>
> > Hi all,
> >
> > you probably noticed, I started a call for help on soncial media to
> > test the latest auto-discovery for KNX in Go.
> > Turns out that I have heard back exactly 0 times.
> >
> > I did ask the one or the other, why they didn't respond and it seems
> > "checkout our repo and then run this command" seems to high of a barrier.
> >
> > So I started thinking: Probably for Linux folks this isn't a huge
> > barrier as they are used to getting their hands dirty.
> > Windows people are used to downloading an installer or an Exe and
> > running that.
> >
> > This got me thinking: Wouldn't it be good to start creating Go Windows
> > Exe files which use what we want to test (Especially regarding
> > auto-discovery and browsing).
> > But in addition to this, I would like to make the Exes automatically
> > capture the traffic (filtered to only the packets that are of
> > interest) and to prepare feedback packages consisting of log-information
> and a pcap file.
> > Cause I am a bit worried that "Could you create a wireshark capture of
> > the traffic" is too complicated too :-/
> >
> > We could then start a "Help us by testing these on your systems" page
> > where they can download the Exe files.
> >
> > What do you think?
> >
> >
> > Chris
> >
>


AW: [DISCUSS] Start Implementing turnkey-examples?

2021-02-17 Thread Christofer Dutz
Right now I think it only makes sense for Auto-Discovery and Browse.
Problem is that otherwise it will already be too complicated to run :-/

But generally, yes: For java we could simply use fat-jars for download.
Thinking about it ... I could probably simply attach the compiled "exe" 
files to the maven build and have them hosted by our nexus. This way
we don't need to find a place to deploy them manually.

Chris

-Ursprüngliche Nachricht-
Von: Lukas Ott  
Gesendet: Mittwoch, 17. Februar 2021 08:59
An: dev@plc4x.apache.org
Betreff: Re: [DISCUSS] Start Implementing turnkey-examples?

+1 for that - as we could use this approach also for other Drivers

Am Mi., 17. Feb. 2021 um 08:48 Uhr schrieb Christofer Dutz <
christofer.d...@c-ware.de>:

> Hi all,
>
> you probably noticed, I started a call for help on soncial media to 
> test the latest auto-discovery for KNX in Go.
> Turns out that I have heard back exactly 0 times.
>
> I did ask the one or the other, why they didn't respond and it seems 
> "checkout our repo and then run this command" seems to high of a barrier.
>
> So I started thinking: Probably for Linux folks this isn't a huge 
> barrier as they are used to getting their hands dirty.
> Windows people are used to downloading an installer or an Exe and 
> running that.
>
> This got me thinking: Wouldn't it be good to start creating Go Windows 
> Exe files which use what we want to test (Especially regarding 
> auto-discovery and browsing).
> But in addition to this, I would like to make the Exes automatically 
> capture the traffic (filtered to only the packets that are of 
> interest) and to prepare feedback packages consisting of log-information and 
> a pcap file.
> Cause I am a bit worried that "Could you create a wireshark capture of 
> the traffic" is too complicated too :-/
>
> We could then start a "Help us by testing these on your systems" page 
> where they can download the Exe files.
>
> What do you think?
>
>
> Chris
>


Re: [DISCUSS] Start Implementing turnkey-examples?

2021-02-16 Thread Lukas Ott
+1 for that - as we could use this approach also for other Drivers

Am Mi., 17. Feb. 2021 um 08:48 Uhr schrieb Christofer Dutz <
christofer.d...@c-ware.de>:

> Hi all,
>
> you probably noticed, I started a call for help on soncial media to test
> the latest auto-discovery for KNX in Go.
> Turns out that I have heard back exactly 0 times.
>
> I did ask the one or the other, why they didn't respond and it seems
> "checkout our repo and then run this command" seems to high of a barrier.
>
> So I started thinking: Probably for Linux folks this isn't a huge barrier
> as they are used to getting their hands dirty.
> Windows people are used to downloading an installer or an Exe and running
> that.
>
> This got me thinking: Wouldn't it be good to start creating Go Windows Exe
> files which use what we want to test (Especially regarding auto-discovery
> and browsing).
> But in addition to this, I would like to make the Exes automatically
> capture the traffic (filtered to only the packets that are of interest) and
> to prepare feedback packages consisting of log-information and a pcap file.
> Cause I am a bit worried that "Could you create a wireshark capture of the
> traffic" is too complicated too :-/
>
> We could then start a "Help us by testing these on your systems" page
> where they can download the Exe files.
>
> What do you think?
>
>
> Chris
>


[DISCUSS] Start Implementing turnkey-examples?

2021-02-16 Thread Christofer Dutz
Hi all,

you probably noticed, I started a call for help on soncial media to test the 
latest auto-discovery for KNX in Go.
Turns out that I have heard back exactly 0 times.

I did ask the one or the other, why they didn't respond and it seems "checkout 
our repo and then run this command" seems to high of a barrier.

So I started thinking: Probably for Linux folks this isn't a huge barrier as 
they are used to getting their hands dirty.
Windows people are used to downloading an installer or an Exe and running that.

This got me thinking: Wouldn't it be good to start creating Go Windows Exe 
files which use what we want to test (Especially regarding auto-discovery and 
browsing).
But in addition to this, I would like to make the Exes automatically capture 
the traffic (filtered to only the packets that are of interest) and to prepare 
feedback packages consisting of log-information and a pcap file.
Cause I am a bit worried that "Could you create a wireshark capture of the 
traffic" is too complicated too :-/

We could then start a "Help us by testing these on your systems" page where 
they can download the Exe files.

What do you think?


Chris