Search results

  1. T

    Registering Libraries on Windows

    I was wondering if anyone had any known resources on how/why Windows deals with registering and subsequently loading DLLs. For example, on Linux there a library search path whereas Windows somehow uses the registry to find and load dlls. (Atleast from what I can tell) I haven't really found...
  2. T

    Trying to learn C/C++... need a project

    I'm trying to learn C and/or C++ because I've been programming in languages that take care of the dirty work for me (bounds checking, garbage collection, etc) and I think the experience would be beneficial. Generally when I've wanted to learn a new language I've had a project I wanted to write...
  3. T

    [solved] C# WebClient object and catching exceptions with asynchronous methods

    Finally figured it out. The asynchronous methods don't throw the exception but pass them along with the EventArgs object to the DownloadComplete event. (Someone correct me if I'm still wrong on that)
  4. T

    [solved] C# WebClient object and catching exceptions with asynchronous methods

    I'm using the C# WebClient object and if I run the method 'DownloadFileAsync' and the remote file does not exist (AKA, I get an http 404 from the server) a WebException is not thrown. However, all of the synchronous calls do raise the exception. The only way I can tell if the server return a...
  5. T

    Syntax and efficiency question

    Thanks everyone for your replies and mike for demonstration. The question was more out of pure curiosity and trying to expand my own knowledge. The code is in Python if it makes any difference.
  6. T

    Syntax and efficiency question

    Quick question. Is it anymore efficient, in terms of execution speed, to write a line of code like answer = sanitizeInput(raw_input(wrapText(questionStr), lineWidth)).upper() versus breaking it up into multiple lines to something like this maybe answer =...
  7. T

    SSH Brute Forcing and Reporting It

    I'll keep what you said in mind. I'm not really the argumentative type anyways. :p Upon further investigation that company appears to be a service provider/co-location company so who knows who actually owns the actual ip address. No reverse dns on it either. Thanks for the quick replies
  8. T

    SSH Brute Forcing and Reporting It

    I was skimming through my logs and found a host that was trying to brute force log into our SSH server at work. They never made it in successfully. I looked the IP up at whois.domaintools.com and found that it belongs to a company in my country (U.S). "Mzima Networks Inc" to be exact... Can...
  9. T

    n00b gettinginto linux

    UT2004 with the DVD wasn't too bad. I did it from the terminal though if that kind of thing scares you
  10. T

    Anyone got this to work?

    I've installed vmware-tools numerous times but they been on mostly Debian based systems. I've installed them on RHEL5 and I dont remember having the problems you stated. You could try running the script that tar.gz file instead of the rpm.
  11. T

    /etc .. what the heck does it mean?

    I've left all the data for my servers in /var
  12. T

    Active Directory DNS and excluding adapters

    I have a couple workstations in our network that have additional network adapters that VMware Workstation creates. Is there anyway to have these be excluded from the dynamic dns that AD does?
  13. T

    Layer 3 Catalyst and vlan routing help

    NOTE: Quick note for anyone who uses this thread for a solution. You may need to run "no ip redirects" or else your user's routing tables will be full of useless routes to internet hosts Actually the secondary address would work better in my case. That way I wont have to worry about...
  14. T

    what do you use your Multi-Proc or Core for?

    VMware Workstation along with Visual Studio, Eclipse, etc. And then from time to time I'll play some Crysis :p Running on Vista 64bit and Debian Etch x64
  15. T

    Layer 3 Catalyst and vlan routing help

    Thanks for your help guys. This where I'm at right now I added the static route for the 192 network on the pix. The pix routes the traffic to the vlan199 interface. I also added the default route on the switch which goes to the pix. I can ping the pix successfully from vlan192 which is good. I...
  16. T

    Layer 3 Catalyst and vlan routing help

    Our network looks like this from top to bottom. I left our outside addresses out, just know the pix is doing pat.. (if it matters) (Gateway Router) <--> (Pix 515 - 199.0.9.1) <--> (Cat 3550 vlans 1 & 2) <--> non-managed switches vlan1 virtual interface address is 192.168.200.1 vlan2 virtual...
  17. T

    Layer 3 Catalyst and vlan routing help

    I still have to route if I'm connected? If so, how should i set up the route? I tried a static earlier and got this catalyst3550(config)#ip route 192.168.200.0 255.255.255.0 192.168.200.1 %Invalid next hop address (it's this router)
  18. T

    Layer 3 Catalyst and vlan routing help

    I'm in the process of trying to move our companies network over from a public address range (199.0.9.x/24) which we dont own to a private range (192.168.200.x/24). I have a catalyst 3550 that I want to do the routing with. I have two vlans set up, one for the old subnet and one for the new...
  19. T

    Catalyst Etherchannels help

    I'm trying to set up Etherchannels for our Proliant DL380s with LACP. Using HP's networking configurator I set the two interfaces to a team with the type as "Automatic (Recommended)". Here are my options Automatic (Recommended) 802.3ad Dynamic with Fault Tolerance Switch-assisted Load...
  20. T

    Purchased SSL/TSL certificate question

    I'm looking at purchasing a certificate for my postfix mail server but I havent seen anything about a TLS certificate or an smtp certificate. I have seen web server certificates though. Will a "web server" certificate work as well? This is the page I'm looking at...
  21. T

    TLS smtp question

    Am I correct in saying that a smtp server will only try TLS encryption if the server on the other end advertises a "250-STARTTLS" upon EHLO? The issue I'm having is getting TLS to work to this company we regularly send mail to. I sent him our CA certficate (we self sign) and he said he...
  22. T

    Postfix and forcibly bouncing certain mail

    At work we have a Postfix/Bind/MailScanner server which is our email gateway. Bind is used for local caching and OpenDNS is our forwarder. If a user is sending an email and types the domain name wrong, Bind will get the IP of OpenDNS's "unknown domain" page.So instead of the mail instantly...
  23. T

    Javascript form post help

    Is it possible to send post data along with javascript? Heres what I'm needing... At work we have a KB that uses POST for its search page. I want to be able to click a link that takes the text out of say "Textbox1", then use that text as part of the post to this site. The goal is to enter the...
  24. T

    Postfix 220 response issues

    Ya know I didn't even think about checking that. Talked to firewall guy and that fixed it. Thanks!!!
  25. T

    Postfix 220 response issues

    My problem is that if the server on the other end is not on my private network, postfix announces itself as "220 **************************************************". The server also cannot use ESMTP functions (ie EHLO). I originally made this post on linuxquestions.org but I'm not getting much...
  26. T

    Exchange 2007 OWA - Not working

    Do you have any other Web applications running on that IIS server? If so, all apps must be 64bit. (IIS will only run in either full 32bit mode or full 64bit mode) For example, when I installed the vmware server web console it broke my OWA because it forced IIS back into 32bit mode.
  27. T

    Firewall GUI? Blocking an application from accessing the internet.

    You know you could just add the line the was presented earlier to the iptables script that firestarter creates. If you don't want to get hands on with your system then maybe Linux isn't for you. Unwillingness to enter commands with the CLI does not make Linux less secure, it makes YOUR box less...
  28. T

    Desperate Need Help With Java Program

    I'm sorry to hear about your son. Question, does this need to be a "visual" robot, for instance, a robot like a shape drawn on a form that "moves" OR is this suppose to be a robot where you click a button a some text shows up on screen that says "Hi im rob robot". (I know terrible example)...
  29. T

    sql query help

    The only thing would be nicer about the current query is say for example on the data above, do not return the row that has the ids of 112 & 114 because I already know they are duplicates based off of the first two records (ids 111,112 & 111,114) Originally my plan was to just buck up and go...
  30. T

    sql query help

    Thanks for the help from both of you. This is the query i have for the time being SELECT T1.id, T2.id, T1.caption, T2.caption ,T1.folder, T2.folder, T1.block, T2.block, T1.place_id, T2.place_id FROM records T1, records T2 WHERE T1.folder = T2.folder AND T1.block = T2.block AND T1.place_id...
  31. T

    sql query help

    I'm not sure how to do this with a sql query. I have a table that contains "duplicate" records. (I quote duplicate because they are not true duplicates) Heres the issue, i have a table that looks like this... +----+--------+-------+----------+-------------+ | id | folder | block |...
  32. T

    Adding LDAP address book to outlook programmatically

    I'm scouring the internet for any code samples on this. I only found one article and it dealt with adding a bunch of registry entries which seems like a kind of hack-ish way of doing it. Does anyone know how to do this with CDO or MAPI classes? I'd preferably like to do this in a .Net language
  33. T

    So I rewrote a PHP script into a java class...

    I'm starting to work on this project again. Before I dive in, did anyone ever take a look at the code and see anything blatantly wrong?
  34. T

    How much is Vista at your Univ.?

    Not sure yet. XP Pro is about 80 bucks here. (Illinois State)
  35. T

    So I rewrote a PHP script into a java class...

    Because it shouldn't be that substantial. Its not that I'm surprised the Java version is slower either because like I said I haven't profiled it or anything. I just didn't think it would execute that much slower than its php counterpart.
  36. T

    So I rewrote a PHP script into a java class...

    Heres my Java Import class import java.io.BufferedReader; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import...
  37. T

    So I rewrote a PHP script into a java class...

    Wow I thought the thread was dead. Sorry about that. I never posted code because I never got a chance to adequately trace/profile the java code which I felt was unfair. Heres all the associated classes... But before you flame, there are parts of my Java code that I know are really inefficient...
  38. T

    So I rewrote a PHP script into a java class...

    and the Java version is slower..... MUCH slower. The php version running on our webserver (p4 3ghz, 1 gig ram, gentoo linux, apache) runs in about 11 seconds compared to the java version on my machine (amd64 3500+, 2gig ram, winXP) which can take upwards of a minute. I'm running the Java class...
  39. T

    When do you think linux will get Dx10?

    DirectX has a smaller, simpler API. Plus DirectX is geared towards game development as opposed to OpenGL which is strictly a graphics layer as the name suggests. DirectX has libraries for input, sound, decompression, etc. When writing a game using OpenGL you'll have to use other libraries for...
Back
Top