NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matthew51

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: Insert without a form
« on: April 26, 2023, 10:42:39 AM »
I just did something very similar to what you are describing. My solution was to put my browse inside a from and add a lookup field to the from. I also included an "Add" button as I wanted my users to be able to type in the correct information too.

It should also be possible to include a button on your form that will call your lookup browse and add the record. I haven't done this myself but look at the "LookupAbility  Routine" inside your lookup browse to get an idea of what to set to put it in lookup mode. Once the lookup has happened your primary key should be in a session value.

Matthew

2
Web Server - Ask For Help / Re: Remove file name from File Upload
« on: January 11, 2023, 08:23:44 PM »
So I starting thinking CSS might have the option to affect the first tag of a given type. Turns out it does, I added ' bw-hide-file' to Entry Div Class and the following to Custom.css:
Code: [Select]
.bw-hide-file .nt-upload-table td:first-of-type {
display:none;
}

It works perfectly so far, though I need to test a few more devices to be sure.

Matthew

3
Web Server - Ask For Help / Re: (Nettalk) Webserver security?
« on: January 10, 2023, 06:28:12 PM »
To my knowledge no one has published a security report. It would only be of limited use as it doesn't prove that you didn't introduce vulnerabilities. The best option is to have an internet security firm test your server.

Their are also free services that will have a bot check your server, though these aren't as good. https://www.immuniweb.com/websec/ is one of the better ones.

You can also look over https://listings.pcisecuritystandards.org/documents/SAQ_D_v3_Merchant.pdf. It's a checklist created by the credit card industry for web servers handling highly sensitive information. If you can check all, or even most of those boxes you're in a very good position.

Matthew

4
Web Server - Ask For Help / Remove file name from File Upload
« on: January 10, 2023, 05:43:10 PM »
I have a file upload set to use the camera on a phone. The file name given to these pictures are meaningless, and in the case of my phone overly large (see attachment). So large that the browser is destroying the format of the form trying to display it.

I would like to ether remove/hide the file name, or change it to 'Picture 1', 'Picture 2' etc. I'll then add a browse to show then the pictures that have been uploaded. I can't even figure out where in the code this table is created, or how to add my own css to it.

Thank you
Matthew

5
Web Server - Ask For Help / Re: Load balancing
« on: January 04, 2023, 06:06:01 PM »
The theory is quite simple. Capture every change to session data and broadcast that to every other server so they can make the same changes. A separate monitoring program manages the health of each server and collects diagnostics data. The web folder is just a windows mapped drive for now. I want to move the shared folder to S3 storage as I need to use a hack to get the share working with a windows service.

In practice it's a few thousand lines of code and several month of work to get this far.

While the code is very efficient it does have an n2 problem if you get too many servers.

6
Web Server - Ask For Help / Re: Load balancing
« on: January 03, 2023, 01:54:31 PM »
Greetings everyone

I'm a little late to this party. Christmas is a busy time for me. I had also not planned on announcing this as I'm still working out a few kinks as well as adding features.

I do have a working sessions sharing, load balanced set up. It's currently designed to work on Amazon's AWS. You can see it running at https://cloud.posal.com. The server group sees over 100,000 requests per day, with pdf reports being in the 100s. It is split between 2-3 servers depending on the time of day.
Login:  TryPosal
Password:  posal123

As I said I'm still working out some kinks. Individual servers go unhealthy, and need to be restarted more often then I would like. Approximately one a month the whole server group will become unhealthy. I fell like the later is because one of my users is unintentionally DoS me by spamming large requests.

Things I'm still working on, or would like to add:
Better diagnostics and reporting on server health
Automatically changing the group size by more then 1
Changing group size based on load (currently only by schedule)
Creating a new AWS server from an image (currently uses cold spares)
Server requesting that they are temperately removed from the group when handling intensive requests (like multi page reports)

As I'm a contractor and this has taken a lot of work to even get this far I will need to charge for my work. I hadn't decided how much, though anyone helping with the testing phase will get a discount.

If you're interested contact me at https://www.bisware.ca/contact

7
The NetId is stored in the registry once it is created, and created (using random values) if it is not there. So on the VM you use as the "source" for your clones, you should remove these registry items.

HKEY_LOCAL_MACHINE\Software\CapeSoft\NetTalk\GUID

This worked, though I found it under HKEY_CURRENT_USER. I'll have to add that to the list of things to check when making a new template.

Thank You Matthew

8
Just checking to make sure this didn't get forgotten. Did I explain everything clear enough?

Thank Matthew

9
NT 12.39

I'm using Amazon web services that disables all notwork broadcasts, even if the VMs are on the same subnet. I get around this by getting a list of IP addresses from the amazon api and calling NetAutoRemote for each of them.

This works fine when I manually create new VM from scratch. However I'd like to create an image of one VM and use that to create others that are already set up and configured. When I try this the NetClients get confused and can't tell each other apart. I tried having amazon change the computer name in windows when a VM is created to give them a unique NetName, but that didn't work. It looks like they are all getting the same NetID. I can't see how the NetID is created as that is happening inside the DLL, so I don't know what if anything I need to change to make the NetIDs unique.

This confusion even crosses Service Names, so I had to create a fire wall between my test VMs and the production ones.

Is their anything I can do to influence the NetID? And is that even the root of my problem?

Thanks
Matthew

10
Web Server - Ask For Help / Re: Min height no longer wooks for wizards
« on: January 11, 2022, 04:15:45 PM »
I tried to zip up the whole folder, but the forum wouldn't let me upload it. I tried a 15mb file and 4mb, nether worked.

11
Web Server - Ask For Help / Re: Min height no longer wooks for wizards
« on: January 11, 2022, 04:14:24 PM »
Hi Bruce

I modified example 1 to show off the problem. If you chance Forward Only on tab 2 to yes a large text field will be un-hidden and is overlapping with the buttons. I set the min height to 500 which is more then enough, but the size is still only 222.8 if Forward Only is 'No' then the form is created. I think 12.27 was the version I was on prior and it was working.

Thank you
Matthew

12
Web Server - Ask For Help / Min height no longer wooks for wizards
« on: January 06, 2022, 03:36:52 PM »
NT 12.33

The min height option looks like it no longer works for wizards. I have a wizard with a min height of 200, but the height gets set to 168.467 and elements are overlapping with the navigation buttons. Presumably this is done by java script. I used the inspector in Firefox to comment out the height and everything worked fine. Could it also be an option to let the browser determine the height?

Thank you
Matthew

13
Web Server - Ask For Help / Re: html textarea in a browse
« on: November 05, 2021, 01:37:15 PM »
Check "Allow xHTML in column" for the column you want. General tab Column subtab.

As for limiting the number of lines, you will have to do that with css. max-height should do the trick.

14
Web Server - Ask For Help / ThisWebServer.Acme.ImportAllPFX()
« on: November 01, 2021, 02:54:08 PM »
In NetAcme.MakePFX() I believe the -extfile and -config commands need to be removed from the openssl call. Nether are in the documentation for pkcs12, and create an error. Once I removed the commands everything looked to work properly and an FTP server I'm working with could use the pfx file.

15
FTP - Ask For Help / TLS connection to FileZilla server
« on: October 19, 2021, 02:30:06 PM »
NT: 12.26

NetTalk does not seem to be able to establish a TLS data connection. I modified the example to connect to my FTP server using both Ftp:ImplicitSSL and Ftp:ExplicitSSL, both with similar results. Ftp:ImplicitSSLControl does not look like it's supported by FileZilla anymore.

Code: [Select]
===== Control Connection Opened =====
220-FileZilla Server 1.0.1
220 Please visit https://filezilla-project.org/
>>USER UpdateBuilder
331 Please, specify the password.
>>PASS ****
230 Login successful.
>>SYST
215 UNIX emulated by FileZilla.
>>PBSZ 0
200 PBSZ=0
>>PROT P
200 Protection level set to P
>>PWD
257 "/" is current directory.
>>TYPE I
200 Type set to I
>>SIZE /Patch4.1.2.msp
213 10129408
>>PASV
227 Entering Passive Mode (216,171,235,114,234,212)
>>RETR /Patch4.1.2.msp
150 About to start data transfer.
===== Data Connection Opened =====
===== Data Connection Closed =====
===== Error: Error occured while receiving a file, not all data was received
===== Click Close to close window =====
425 Unable to build data connection: TLS session of data connection not resumed.
===== Error: Unknown Reply from FTP Server. Reply = 425[425 Unable to build data connection: TLS session of data connection not resumed.
] Command =
===== Click Close to close window =====

I also tried passive mode, but that timed out.

Code: [Select]
===== Control Connection Opened =====
220-FileZilla Server 1.0.1
220 Please visit https://filezilla-project.org/
>>USER UpdateBuilder
331 Please, specify the password.
>>PASS ****
230 Login successful.
>>SYST
215 UNIX emulated by FileZilla.
>>PBSZ 0
200 PBSZ=0
>>PROT P
200 Protection level set to P
>>PWD
257 "/" is current directory.
>>TYPE I
200 Type set to I
>>SIZE /Patch4.1.2.msp
213 10129408
>>PORT 192,168,50,227,9,212
200 PORT command successful.
>>RETR /Patch4.1.2.msp
150 Starting data transfer.
425 Unable to build data connection: ETIMEDOUT - Connection attempt timed out
===== Error: Unable to open data connection [425 Unable to build data connection: ETIMEDOUT - Connection attempt timed out
]
===== Click Close to close window =====

On a side note I have to set DontVerifyRemoteCertificateCommonName = TRUE for the data object when using both implicit and explicit, and for the data and control objects then using explicit. NetTalk look to be trying to verify the common name against the ip address on subsequent connections.

Also I censored the password, it is not ****

Pages: [1] 2 3 ... 10