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 - useless

Pages: [1] 2 3 ... 6
1
Web Server - Ask For Help / Re: Multiple Hosting question
« on: October 31, 2012, 08:46:51 AM »
DNS only handles the routing to an IP address same goes for subdomains so Company1.domain.com can be routed to one Ip address and company2.domain.com can be routed to a different IP address. Firewalls and routers handle the port redirects.

So one option is to setup two separate servers each with their own IP address that maps to a subdomain in the DNS.
Another option is like Peter suggested, have a generic webpage where the users login and get shown their data. Option 2 is easiest if you dont know how to setup DNS.

2
Web Server - Ask For Help / Re: http://clarion.capesoft.com not working
« on: October 26, 2012, 06:17:02 AM »
Omni.Ja is part of firefox so possibly a bug in FF then.

https://developer.mozilla.org/en-US/docs/Mozilla/About_omni.ja_%28formerly_omni.jar%29

"The omni.ja file contains assorted application resources:

chrome.manifest
    The chrome manifest file.
/chrome/
    User interface files for the application
/chrome/localized.manifest
    Manifest of localized content; referenced by the main chrome manifest file.
/chrome/nonlocalized.manifest
    Manifest of non-localized content; referenced by the main chrome manifest file.
/components/
    XPCOM components the application relies upon.
/defaults/
    Default preference files.
/modules
    JavaScript code modules.
/res/
    Miscellaneous resource files. "

3
Web Server - Ask For Help / Re: http://clarion.capesoft.com not working
« on: October 26, 2012, 03:12:09 AM »
Separate error, I've just been getting this when I try to load the http://clarion.capesoft.com/ webpage from capesoft.com

XML Parsing Error: unexpected parser state
Location: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/omni.ja!/chrome/toolkit/content/global/netError.xhtml
Line Number 315, Column 58:        <div id="ed_netInterrupt">&netInterrupt.longDesc;</div>
---------------------------------------------------------^

Dont know if its important or not.

4
Web Server - Ask For Help / Re: http://clarion.capesoft.com not working
« on: October 23, 2012, 10:19:27 PM »
I can see whats going on now, in the top drop down list titled group, Office Inside is listed which is what I selected, the 2nd drop down was showing "share info" or "ask for help", I selected ask for help but couldnt see the two postings I made appear in the recent posts lists.

In the Group down down (top drop down), I should have selected accessories then in the 2nd drop down all the addons appear, but seeing OfficeInside and a few other addons in the top drop down threw me.

I've also got around the problem now so you can delete the posts if you like.

5
Web Server - Ask For Help / http://clarion.capesoft.com not working
« on: October 23, 2012, 02:59:54 AM »
I'm trying to post some messages on the forum and its not showing any of my forum posts. When posting I see two new drop downs, group and status, not all the accessories are listed in the groups drop down.

6
The problem was the old Nettalk 4 Dll had not copied across into the installer and thus not onto the machines, I suspected this when I was getting a wrong version for the FileExplorer today. Checked the installer and its not copied any of the 3rd party dll's across for some reason so need to investigate why. Should Nettalk throw a message if the wrong DLL is trying to be used, in this instance the NT 4.4.9 dll was the rogue dll.

Re:Critical Sections, thats where I was going wrong, each was called from the procedure and not singularly from the global embed point, but the IMMD is working nicely having put that in to use here now.

7
If you can trap an event of sorts upon the return, could you bolt in some Javascript calls to do the refresh for you?
http://www.quackit.com/javascript/javascript_refresh_page.cfm

8
Re Certs:
Using the webserver instructions for using SSL, I've pulled their cert from IIS, followed the instructions, made the 3 security files which now reside in the certificate folder, tried running the service again but still hangs at this simpleclientopen() in debug view. Tried it on one of their XP workstations, copied certs across etc, same problem.

The only security related difference with the my XP dev machine and theirs, is theirs is on a domain, mine is not, although TBH I was expecting it to work on their XP when I tested it a short while earlier and that was two the ISP smtp server as well as their local exchange server. Their workstations are using NT4 (iirc) in their >5yrs old desktop app to send emails to the local exchange server but the NT6 service cant send to the local exchange server.

At the moment I'm using the ABC free NT service because when I try the latest version of SelfService (3.37) it hangs when I try to stop the service and the disable selfservice template code is still missing although I have been modifying the template myself with the workaround I posted to get that bit of selfservice working. Is there anything in SelfService which might communicate something to Nettalk which the ABC free NT service wont? What I'm thinking here, is how does NT know its running as a service and not look in the Windows\System32 folder if anything in NT relies on the program path changing from where ever its installed eg program files\xyz to the program path of C:\windows\system32 when a program is run as service. In particular, I suspect (havent looked) the SSL stuff is loaded on the fly so if NT6 believes its running in C:\Windows\System32 could it be looking in this folder for the SSL dll's & certs folder possibly? These are only guesses mind.

Re Criticial Sections.

I had been calling them like so:
TypicalThreadedProcedureName  Procedure()

GlobalLocks    CriticialSection

  code

  GlobalLocks.Wait()
  do something to nonthreaded global Q
  GlobalLocks.Release()

If thats not right I need to go through the docs & code again, but examples I have seen in use in some other 3rdparty templates (not capesofts) are using the above approach so these templates might be wrong as well and will need changing.


Re 6.47
Hopefully the extra debugoutput will shed more light on the situ.




9
Ok have tested it on a win7 machine as well but get the same problem where it hangs on the error above. The server was 2003, I've got the security settings all switched off which can be seen in the debugoutput in debugview, AV & Firewall switched off still hangs, av firewall switched on but with a firewall rule still hangs.

I've copied the two extra dlls (Msvcr71.dll, Ssleay32.dll) into the installation software so its included in the program files but yet to do a certificate assuming the email send class needs exactly the same security setup as a web server?

I had to get rid of the global queues earlier, as a Q delete wrapped in a critical section was taking place at the same time another thread was looping through it. I thought CriticalSections are supposed to stop different threads from accessing a global object at the same time when all Q manipulation is wrapped in the CS? If a CS should stop different threads then I have a debug view log which shows a Delete removing two queue entries at the same time something I didnt think was possible.

Re " Since servers are also stricter when it comes to client apps etc it's probably that the program needs to be added manually, even if it's just being a client." I'm the network administrator here as well and whilst I have beefed up the security, I'm confident the security permissions & port access are all ok. I need to rule the cert out tomorrow and get it checked on a different XP workstation to see if the problem occurs on XP as well.

Re "6.47 is soon" is that in the next few weeks time scales or months?

10
PS. AV is switched off and I've tried sending this through the ISP's SMTP as well as through the local Exchange server.

11
My email service is hanging on the first thread that sends email ie using the NetEmailSend class, in debugview the last entry reads:
[NETDLL] [4] SimpleClientOpen() :SSL. Getting settings via SSLCertificateGroupPointer

Its working on my XP dev machine, but doesnt work on a domain server. Libeay32.dll & LibSSL32.dll are included in the program files, and as this is running as a service I copied these files into the windows\system32 folder as well still no joy.
I'm not actually using any security at this stage but appreciate the nettalk class might still want to loadlibrary(ex) these files. I also copied over Msvcr71.dll, Ssleay32.dll, as these are used in the webserver classes but not mentioned in the docs for the NetEmailSend class.

It hangs at the same place when running the service as a desktop app so not sure its a service path issue here but did it to tick it off the list.

I'm not actually using any security to send email at the moment, so what is happening at the "Getting settings via SSLCertificateGroupPointer", is this a missing file issue or something else?


12
Web Server - Ask For Help / Re: Compile errors
« on: October 16, 2012, 11:01:19 PM »
You might want to take a look at your other site. http://clarion.capesoft.com/Entries?Topic=FOOLCCXX

I have reported the SeflService example apps do not work and I cant get SelfService to work with GPFreporter reported a month ago http://clarion.capesoft.com/Entries?Topic=NWOKSLKL .

Ideally I would love to do Nettalk, with SelfService & GPFReporter then I can see whats hanging and GPFing in my apps, but the addons dont work together and I dont want to be paying for NT7 next month just to get them working.


13
Web Server - Ask For Help / Re: Bandwidth Throttling
« on: October 15, 2012, 07:49:14 AM »
Is every packet sent out by NT passing through this procedure assuming this is the parent.send method?
NetClient.Send       PROCEDURE                             ! Declare Procedure 4

I can see in the Sendstring method

self.RequestData.WebServer.Packet.ToIP = self.RequestData.FromIP

so I have my IP addresses, but looking through the classes it looks like Send() is called from various places not just from inside SendString, so I'm thinking the .Send method might be a better place to add a flow control and possible meter to log how much data each IP address gets.

Is there anything else added to the packet to increase its size after the .send method?

14
Web Server - Ask For Help / Re: Bandwidth Throttling
« on: October 14, 2012, 11:53:59 PM »
> you could have _some_ control by adding code to the .SendString method in the WebHandler.

What I'm thinking here (havent investigated or looked at any NT code in any more detail yet) is I know the packets can be no more than 16kb, so if I can identify packets destined to an IP address (and or sessionID) to cater for multiple users at an IP address and restrict those packets in some way that would be best but how should the restriction be applied?

If one or more threads are created to serve one IP address (likely) I could put the thread(s) to sleep after X number of packets/bytes have been transmitted possibly giving me bandwith control but is more complex to add up the total packets sent across multiple threads.

Or if the packets to be transmitted are queued up somewhere like a global handler and the packets can sorted/identified by IP address then restricting the packets before they get sent would enable me to do this as well.

For example lets say I want a 16kb/sec performance, I could add up the packet size of each packet sent and at the 16kb threshold put the thread to sleep for 1 sec - (time to transmit the said packets). That would be good enough for me. In mail server terms this is no different to creating a Tarpit for spammers. http://en.wikipedia.org/wiki/Tarpit_%28networking%29

Would this be possible in NT?


15
Web Server - Ask For Help / Re: Bandwidth Throttling
« on: October 12, 2012, 08:54:41 AM »
Earlier on I was getting a server is busy message on your other site http://clarion.capesoft.com/, is this something I can throw up in some circumstances from within NT, like if I wanted to block an IP address or bandwidth throttle for example?

Pages: [1] 2 3 ... 6