Archive for the ‘Internet’ Category

NTLM authentication proxies

continuing from the last post. If your network is all Windows based, then using the tricks mentioned in the previous post are of no use to you. That’s because Windows servers use NTLM authentication. It’s different from normal authentication, in the sense of a user, you won’t be able to use Linux happily on a network with that kind of authentication scheme. You need to keep an eye on how to use this tip to your benefits.

You need this to create your very own NTLM workaround proxy server. It’s called NTLM Authorization Proxy Server.

Setps for those-who-don’t-know-and-want-to-learn

  1. Download the NTLMAPS script.
  2. Download python.
  3. Unzip the NTLMAPS zip file and install python.
  4. Configure(edit and save) the server.cfg (read below).
  5. Double click on runserver.bat

voila, you see a console!

Configuring the server.cfg

You will need to modify these variables in the config file named “server.cfg” according to your network needs

LISTEN_PORT:5865

PARENT_PROXY:your_parentproxy

PARENT_PROXY_PORT:8080

NT_DOMAIN:your_domain

USER:username_to_use

PASSWORD:your_nt_password

And these variables if you need, normally they won’t require a change, but you might need to.

LM_PART:1

NT_PART:0

SCR_DEBUG:0

ALLOW_EXTERNAL_CLIENTS:0

FRIENDLY_IPS:

For me the configuration looks like

LISTEN_PORT:4000

PARENT_PROXY:10.100.56.45

PARENT_PROXY_PORT:3128

NT_DOMAIN:your_domain

USER:200301001

PASSWORD:

LM_PART:1

NT_PART:0

SCR_DEBUG:0

ALLOW_EXTERNAL_CLIENTS:0

FRIENDLY_IPS:10.100.90.90 10.100.96.69

Note, if you don’t fill in the password, it will automatically ask when you run the “runserver.bat” file.

So now it’s all done, tell me if you use it successfully, or failed at it miserably!


DarK is a Sony Vaio user who cannot learn enough about networks. He hates his laptop and loves it at the same time. You can catch him on twitter at http://twitter.com/abhishekchhajer

Share this post :

How to make your Linux applications use proxy

Hi,

If you are frustrated by Linux and your college’s network, which is windows based or sysadmins can help you with windows only, and sysadmins for a request call, replies as “use Windows”. If you are in a university then I am sure they use that damned( or good) software called as proxy (squid proxy to be specific). And you are a linux newbie then, here are some quick tips for you.

TIP # 1

You want your download manager (wget), updates by apt or aptitude to use a http proxy, you can type

export http_proxy=http://user:password@proxy:port/

or

export http_proxy=http://proxy:port/

Things to note here are

  • Type the command as it is, don’t leave unnecessary spaces.
  • Username/password is the username and password you use to access the proxy, that is the same password which you type when you access internet using a web-browser. If you don’t use one, then use the second version of the command
  • Proxy and port are the values that are the same as used in your web-browser, or you can ask check them out with your sysadmin, or anyone who has a working internet on the same network.

After you do this you can use apt or aptitude and it will use the http proxy you specified!


TIP # 2
For GNOME users : GNOME allows users to specify a proxy from a GUI, which you can find in

Preferences –> Network Proxy

It also allows you to specify username/password, by clicking on “Details”


TIP # 3
Using socks proxy with evolution (the e-mail client)You need a package named tsocks

sudo apt-get install tsocks

for Ubuntu users

or you can download it from here, http://tsocks.sourceforge.net

then just type

tsocks evolution

you might want to read the man page for configurations too.

So, that’s it. I hope it makes your life a little easier with Linux on network. Tell us about your experiences of using Linux behind proxies. Remember google search is your best resource!

DarK is a Linux newbie who is frustrated by network admins across India. His recent project is installing Linux-from-scratch. He is the How to’s master here!

Share this post :

Configuring IMAP access in GMail

Here is the link.

PS: IMAP access is available on iPhone too!

Enjoy!

Get your desktop E-Mail client ready for free IMAP for GMail – What does GMail IMAP change


OK, I have it enabled now. Free IMAP for GMail. But first for those who don’t know what IMAP is, go to this link . How is IMAP any different from POP3, or wait what I am talking about. I have this small FAQ for newbies.

Q. What is POP3/IMAP?

A. To simplify this, they are mail accessing protocols which are used by your Desktop E-mail Client.

Q. What is a protocol?

A. From wikipedia “A Protocol is a set of guidelines or rules that help in governing an operation on the internet and communications over it” . Simply put it’s a way to communicate over internet.

Q. What is a desktop e-mail client.

A. An e-mail client is a computer program used to manage e-mail. Few examples are

Linux : Mozilla Thunderbird, Evolution, KMail, Pine, Mutt (pine and mutt are console based)

Windows : Mozilla Thunderbird, Outlook Express (not free), Microsoft Outlook (comes as a part of Windows), Windows Mail (comes in windows Vista)

PS : This is by no means the whole list of E-mail Client available. This is just the list of client I have used in the past, and in the order of my liking.

Q. What is an E-Mail?

A. Seriously man, stop reading this! 😛 Anyways. Read this for information about E-Mail

Ok, so now we are out of the viscious cycle of jargons, lets come to the point. GMail has added IMAP service to their currently 4.4GB E-mail inbox. How does this matter to you. Well if you have a E-mail account with services like Yahoo or Hotmail, I can say IMAP wins over almost every service they have to offer.

Q. How? ( You can say to me, you dumb ##$##@$, that BIG editor gave Yahoo a better score than GMail!)

A. How does IMAP change your life. Well in simple terms, you might never need to open the web browser for any of your emailing needs. Is that big? Well lets add this to the list, unlike POP3, you can use multiple E-Mail clients at the same time on the same account. It means you can receive the same e-mail on your PDA, Laptop, Desktop and if you mark it as read on one of them, it will be marked read in all of them, it keeps everything in sync. You will love this feature if you have a history of using POP3 and the mails once downloaded and read are again marked unread once you shift to some other computer.

Q. I still don’t get it, how does it makes GMail any better?

A. Well any standard IMAP client can be configured to

  • Run in system tray, without take any place in the tasks list
  • Check one or more, e-mail accounts simultaneously
  • Check the accounts after a fixed interval, again and again and again, so that you don’t have to
  • Notify in case you get a mail

Q. Still doesn’t makes any sense to me!

A. Using and e-mail service with IMAP access (like GMail) and a desktop client you can send/receive your e-mail (with attachments) from your desktop without using a browser, and you will be notified of new mails automatically.

Q. Why is your english so bad!

A. I am working on it 😦

Q. So I what do I do now?

A. I’ll suggest create an account on GMail and see it working first hand.

This what IMAP changes for me and many other GMail users, although Google might have big plans with this offering !!!

Subscribe FREE to MSDN Magazine & Dr. Dobb’s Journal! Only for developers in India!

MSDN brings you digital editions of two premium international magazines followed by developers worldwide, absolutely free. (Actual cost is $60 and $30 annually).

What more, we also get to win XBOX 360, or Portable Music players.

While MSDN magazine offers valuable content on Microsoft development technologies besides solutions to real world problems you face every day, Dr. Dobb’s Journal covers all essential tools, languages and platforms along with the latest technology updates.

Hurry! Grab the offer with both hands!

🙂

-Fr0z3n