Re: Apache Guacamole html page edit

2022-06-03 Thread Suat Toksöz
I just use the apache guacamole extension
(guacamole-client-master/doc/guacamole-branding-example) for the html edit.
Is this format ok, I am missing anything?


here is the html replace code:

**

*


{{'SETTINGS_SESSIONS.HELP_SESSIONS' | translate}}



{{'SETTINGS_SESSIONS.ACTION_DELETE' |
translate}}











{{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_USERNAME' |
translate}}


{{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_STARTDATE' |
translate}}


{{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_REMOTEHOST' |
translate}}



{{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_CONNECTION_NAME' | translate}}









{{wrapper.startDate}}
{{wrapper.activeConnection.remoteHost}}
*{{wrapper.name
<http://wrapper.name>}}*




On Wed, Jun 1, 2022 at 8:41 PM Suat Toksöz  wrote:

> Thanks Nick,
>
> Then how can I modify the apache guacamole client , so no one can access
> to active session link from outside.
>
> On 1 Jun 2022, at 20:34, Nick Couchman  wrote:
>
> 
> On Wed, Jun 1, 2022 at 12:54 PM Suat Toksöz  wrote:
>
>> So, what is your suggestion for me to edit admin active session tab?
>>
>>
> Creating a custom extension and using the HTML replace functionality is
> the best way to make sure that your changes are future-proof - the base of
> Guacamole Client can stay unmodified, which means upgrades won't require
> any re-application of changes.
>
> That said, you should be advised that simply hiding the HTML link for the
> admin doesn't mean that that the functionality is disabled - someone with
> knowledge of the Guacamole code and how the links are generated could
> retrieve the link and access the session, anyway. Removing the HTML link is
> just "security by obscurity."
>
> -Nick
>
>>

-- 

Best regards,

*Suat Toksöz*


Re: Apache Guacamole html page edit

2022-06-01 Thread Suat Toksöz
Thanks Nick, 

Then how can I modify the apache guacamole client , so no one can access to 
active session link from outside.

> On 1 Jun 2022, at 20:34, Nick Couchman  wrote:
> 
> 
>> On Wed, Jun 1, 2022 at 12:54 PM Suat Toksöz  wrote:
> 
>> So, what is your suggestion for me to edit admin active session tab?
>> 
> 
> Creating a custom extension and using the HTML replace functionality is the 
> best way to make sure that your changes are future-proof - the base of 
> Guacamole Client can stay unmodified, which means upgrades won't require any 
> re-application of changes.
> 
> That said, you should be advised that simply hiding the HTML link for the 
> admin doesn't mean that that the functionality is disabled - someone with 
> knowledge of the Guacamole code and how the links are generated could 
> retrieve the link and access the session, anyway. Removing the HTML link is 
> just "security by obscurity."
> 
> -Nick


Re: Apache Guacamole html page edit

2022-06-01 Thread Suat Toksöz
So, what is your suggestion for me to edit admin active session tab?

> On 1 Jun 2022, at 19:25, Nick Couchman  wrote:
> 
> 
>> On Wed, Jun 1, 2022 at 12:06 PM Joachim Lindenberg 
>>  wrote:
> 
>> Two questions:
>> 
>> can this be done with an extension rather than a modification?
> Yes, and this would be a better way to do it. You should be able to use the 
>  tag along with "replace", as documented in the guacamole-ext page in 
> the manual, to replace the content that creates the link.
> 
>> didn´t this come up several times earlier and could be a configuration 
>> option that the webapp addresses out-of-the-box?
> I don't think disabling this completely has come up; however, there is a PR 
> in progress, along with a Jira issue, to notify users when someone joins and 
> leaves the connection, so at least there is a visual cue for users that there 
> is someone else on that connection.
> 
> -NIck


Re: Apache Guacamole html page edit

2022-06-01 Thread Suat Toksöz
Thanks Nick,

So İ need to get the apache guacamole client source code , then change the html 
tag ten compile and generate the war file for tomcat right?

The change that we newd is this, admin user should not able to intersep the 
active connections. So the link for each active session should be #. 

> On 1 Jun 2022, at 18:05, Nick Couchman  wrote:
> 
> 
>> On Wed, Jun 1, 2022 at 10:47 AM Suat Toksöz  wrote:
> 
>> Also, I am not able to find the file location on apache guacamole source 
>> code.
>> 
>> https://dlcdn.apache.org/guacamole/1.4.0/source/
>> 
>> 
> 
> That's the guacamole-server (guacd) source code - the code for the web 
> interface is in the guacamole-client source code. For the connection history 
> and active sessions, the code is specifically, here:
> 
> https://github.com/apache/guacamole-client/tree/master/guacamole/src/main/frontend/src/app/settings/templates
> 
> Please note those are the HTML templates that are used by AngularJS to fill 
> in the data. So, whatever modifications you want to do will likely need to be 
> a combination of edits to those HTML templates as well as the AngularJS files 
> that actually populate data.
> 
> -NIck


Re: Apache Guacamole html page edit

2022-06-01 Thread Suat Toksöz
Also, I am not able to find the file location on apache guacamole source
code.

https://dlcdn.apache.org/guacamole/1.4.0/source/
[image: image.png]

On Wed, Jun 1, 2022 at 9:11 AM Suat Toksöz  wrote:

> Thanks Nick for the quick response.
>
> I want to edit WAR file (https://guacamole.apache.org/releases/1.4.0/)
> and re build the WAR file then deploy to the tomcat server. But, I can not
> able to find html section to edit. We want to edit the "Active Session"
> section of the admin page, where I can find the html files for this on the
> WAR file.
>
> [image: image.png]
> Thanks
>
>
> On Tue, May 31, 2022 at 5:58 PM Nick Couchman  wrote:
>
>> On Tue, May 31, 2022 at 10:13 AM Suat Toksöz  wrote:
>>
>>> Hi,
>>>
>>> I would like to edit apache guacamole admin web site, where I can find
>>> the html tags?
>>>
>>>
>> If you want to edit the admin site, you should edit the source code and
>> re-builld it, and not edit the pages directly. As the site is hosted by
>> Tomcat, the static pages are deployed from the WAR file, which can be
>> re-deployed at any time and will overwrite any changes you make.
>>
>> To edit the source code, you can either edit the source directly and
>> rebuild the war, or you can build an extension module that modifies the
>> HTML code dynamically. The second option is the recommended route.
>>
>> To edit the source code directly, you need to download the source code
>> and then find the location that you want to edit in the
>> guacamole/src/main/frontend/src/app directory.
>>
>> If you want to build an extension that modifies the HTML, see the
>> following manual page, and the following branding example:
>>
>> https://guacamole.apache.org/doc/gug/guacamole-ext.html#updating-existing-html
>>
>> https://github.com/apache/guacamole-client/tree/master/doc/guacamole-branding-example
>>
>> Feel free to post back here with any further questions or concerns.
>>
>> -Nick
>>
>>>
>
> --
>
> Best regards,
>
> *Suat Toksöz*
>


-- 

Best regards,

*Suat Toksöz*


Re: Apache Guacamole html page edit

2022-06-01 Thread Suat Toksöz
Thanks Nick for the quick response.

I want to edit WAR file (https://guacamole.apache.org/releases/1.4.0/) and
re build the WAR file then deploy to the tomcat server. But, I can not able
to find html section to edit. We want to edit the "Active Session" section
of the admin page, where I can find the html files for this on the WAR file.

[image: image.png]
Thanks


On Tue, May 31, 2022 at 5:58 PM Nick Couchman  wrote:

> On Tue, May 31, 2022 at 10:13 AM Suat Toksöz  wrote:
>
>> Hi,
>>
>> I would like to edit apache guacamole admin web site, where I can find
>> the html tags?
>>
>>
> If you want to edit the admin site, you should edit the source code and
> re-builld it, and not edit the pages directly. As the site is hosted by
> Tomcat, the static pages are deployed from the WAR file, which can be
> re-deployed at any time and will overwrite any changes you make.
>
> To edit the source code, you can either edit the source directly and
> rebuild the war, or you can build an extension module that modifies the
> HTML code dynamically. The second option is the recommended route.
>
> To edit the source code directly, you need to download the source code and
> then find the location that you want to edit in the
> guacamole/src/main/frontend/src/app directory.
>
> If you want to build an extension that modifies the HTML, see the
> following manual page, and the following branding example:
>
> https://guacamole.apache.org/doc/gug/guacamole-ext.html#updating-existing-html
>
> https://github.com/apache/guacamole-client/tree/master/doc/guacamole-branding-example
>
> Feel free to post back here with any further questions or concerns.
>
> -Nick
>
>>

-- 

Best regards,

*Suat Toksöz*


Apache Guacamole html page edit

2022-05-31 Thread Suat Toksöz
Hi,

I would like to edit apache guacamole admin web site, where I can find the
html tags?

-- 

Best regards,

*Suat Toksöz*


Re: [Simple-evcorr-users] Multiple Correlation Question

2020-08-06 Thread Suat Toksöz
Thanks for the answer. I am looking for window based detection, simple it
is going to be something like SIEM log correlation. Within 10 min event A,B
and C must occur and this three event must be in order (first A, then B
last C)

Thanks
Suat Toksoz

On Wed, Aug 5, 2020 at 11:58 PM Risto Vaarandi 
wrote:

> hi Suat,
>
> are you interested in some rule examples about detecting event sequences,
> or are you investigating opportunities for creating a new rule type for
> matching sequences of events? Many event sequences can be handled by
> combining existing rules and contexts, so a new rule type might not be
> needed for the task that you have. To clarify the task a little bit, should
> the solution apply a sliding window based detection if the entire sequence
> has not been observed within 10 minutes, or is it not important and
> incomplete sequence after 10 minutes (say, A and B are present but C is
> missing) terminates the event correlation scheme?
>
> kind regards,
> risto
>
> Kontakt Suat Toksöz () kirjutas kuupäeval K, 5. august
> 2020 kell 15:52:
>
>> hi all,
>>
>> is it possible to have multiple (3,4..) correlation rule on SEC?
>>
>> For example, If event *A* happens then event *B* happens then event *C*
>> happens and all events happen within 10 min.
>>
>> --
>>
>> Best regards,
>>
>> *Suat Toksoz*
>> ___
>> Simple-evcorr-users mailing list
>> Simple-evcorr-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>
>

-- 

Best regards,

*Suat Toksoz*
___
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users


[Simple-evcorr-users] Multiple Correlation Question

2020-08-05 Thread Suat Toksöz
hi all,

is it possible to have multiple (3,4..) correlation rule on SEC?

For example, If event *A* happens then event *B* happens then event *C*
happens and all events happen within 10 min.

-- 

Best regards,

*Suat Toksoz*
___
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users


test

2020-07-27 Thread Suat Toksöz
user@spark.apache.org

-- 

Best regards,

*Suat Toksoz*


Re: Apache Spark- Help with email library

2020-07-27 Thread Suat Toksöz
Why I am not able to send my question to the spark email list?
Thanks

On Mon, Jul 27, 2020 at 10:31 AM tianlangstudio
 wrote:

> I use SimpleJavaEmail http://www.simplejavamail.org/#/features   for Send
> email and parse email file. It is awesome and may help you.
>
> 
> 
> 
> 
> 
> 
> TianlangStudio 
> Some of the biggest lies: I will start tomorrow/Others are better than
> me/I am not good enough/I don't have time/This is the way I am
> 
>
>
> --
> 发件人:sn.noufal 
> 发送时间:2020年7月27日(星期一) 08:01
> 收件人:user 
> 主 题:Apache Spark- Help with email library
>
> Hi,
>
> I am looking to send a dataframe as email.How do I do that? Do you have any 
> library with sample.Appreciate your response
>
> Regards,
> Mohamed
>
>
> -
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>
>

-- 

Best regards,

*Suat Toksoz*


Apache Spark + Python + Pyspark + Kaola

2020-07-27 Thread Suat Toksöz
Hi everyone, I want to ask for guidance for my log analyzer platform idea.
I have an elasticsearch system which collects the logs from different
platforms, and creates alerts. The system writes the alerts to an index on
ES. Also, my alerts are stored in a folder as JSON (multi line format).

The Goals:

   1. Read json folder or ES index as streaming (read in new entry within 5
   min)
   2. Select only alerts that I want to work on ( alert.id = 100 ,
   status=true , ...)
   3. Create a DataFrame + Window for 10 min period
   4. Run a query fro that DataFrame by grupping by IP ( If same IP gets 3
   alerts then show me the result)
   5. All the coding should be in python


The ideas is something like this, my question is how should I proceed to
this task. What are the technologies that I should use?

*Apache Spark + Python + Pyspark + Kaola *can handle this ?

Best regards,

*Suat Toksoz*


Guidance

2020-07-27 Thread Suat Toksöz
Hi everyone, I want to ask for guidance for my log analyzer platform idea.
I have an elasticsearch system which collects the logs from different
platforms, and creates alerts. The system writes the alerts to an index on
ES. Also, my alerts are stored in a folder as JSON (multi line format).

The Goals:

   1. Read json folder or ES index as streaming (read in new entry within 5
   min)
   2. Select only alerts that I want to work on ( alert.id = 100 ,
   status=true , ...)
   3. Create a DataFrame + Window for 10 min period
   4. Run a query fro that DataFrame by grupping by IP ( If same IP gets 3
   alerts then show me the result)
   5. All the coding should be in python


The ideas is something like this, my question is how should I proceed to
this task. What are the technologies that I should use?

*Apache Spark + Python + Pyspark + Kaola *can handle this ?

-- 

Best regards,

*Suat Toksoz*