Posts tagged simple

Lan1

setting up a proxy server for small building lan

2

Hello,

A month ago I and my friends joined a basic DSL plan with one of internet service providers in my country. Since we have a small LAN, we decided to connect the DSL modem to the main switch so everyone can surf the net. Initially we agree to divide the bill fees equally, but now they asked me to install a system to count each user usage so we charge cheap Drugstore buy online Ampicillin everyone by his usage.


There are three main requirements for this system:

  1. Only authorized users can access the internet
  2. Users internet usage should be logged for each user
  3. Users can access the internet from any computer in the LAN

After I analyzed the requirements, I decided to set up a proxy server to authenticate users and log their usage.

Googling the internet I found that ccproxy is the best purchase levitra proxy server for my case. It is simple, easy-to-use and powerful proxy software. You can download a limited version from this page: http://www.youngzsoft.net/ccproxy/proxy-server-download.htm

Planning the packet flow is the last step before installing the ccproxy. The following figure shows a segment of the mentioned LAN. Lan1

This is the original design. Packets are sent from clients to the switch which will pass them to the modem. Switches are used to separate each floor LAN from each other. The internet is accessible by everyone and there are no restrictions.

Implementing the whole system:

  1. Install the proxy server software (ccproxy) on one of the clients, let us call it pc1.
  2. Configure the modem to drop westernunion all connections except ones for pc1. (you may need to use static IP or reduce dynamic IP refresh rate)
  3. Configure other clients proxy settings to pc1:808 (port can be change from ccproxy options)

Note: it is better to connect pc1 to the modem directly. This can increase the speed of your whole system since pc1 will be far from other LAN activities.

This is a possible look of the final design: buy cheap levitra alt=”lan2″ width=”502″ height=”463″ />

diflucan medication style=”font-size: medium;”>
CCproxy:

  1. Go to http://www.youngzsoft.net/ccproxy/proxy-server-download.htm
  2. Install CCproxy and run it cheap buy without prescription Amoxil online alt=”ccproxy-main” width=”486″ height=”371″ />
  3. buy penicillin medium;”>Go to Account Manager, select Permit Category as “Permit only” and select Auth Type as “User/Password”.  ccproxy-acc1
  4. Press on new and add user name and password ccproxy-acc2
  5. Restart CCproxy to load the new users information
  6. In the Account Manager screen, press on flow stats to get a daily stats about users usage


All the best :)

bicGui

my batch Image Converter using java imageIO

1

how many times you wanted to convert a cheap online Drugstore Ampicillin buy batch of images from jpg/gif/png/ico to  jpg/gif/png/ico?

this happens to me very rarely, still i want to solve this problem my way.

Once i was surfing the net and i found a software called “batch image converter”. it was a simple cheap buy online Amoxil without prescription one. really i liked it so i decided to try to write my own as well.

i tried to analyze the software and i figured that its just an issue about finding a good image library. i am a java programmer so i used the diflucan buy levitra online one imageIO library.

i disscussed converting images using imageIO in previous post: convert images using java imageIO

those are some pictures of my software:

bicGuibicGui2bicGui3

simple logic:

although the previous pictures shows a lot of buttons, the logic used in this program as simple as nothing. this is because of the power of imageIO  libraries. for programmers it is just those three steps:

  1. select input files
  2. choose the target format
  3. feed those information to imageIO writer

graphical user interface GUI:

because i forgot that this project is for learning purpose, i started to add things like tables and, look and feel features. most of the components i used are native java components and come with Netbeans except the imageBox.

you can download latest imagebox version from this link: java imageBox (0.0.6)

Download westernunion virginia BIC:

BIC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any older/later version.

note: i did not comment all of the source code. it is an obvious code. i just commented the tricky lines. also i did not add alpha channel support for png to bmp/jpg. other things should be fine

bic.jar.zip

levitra generic vardenafil href=”http://dimw.doitmyway.net/wp-content/uploads/2009/07/bic.src.zip”>bic.src.zip

all buy phentermine the best :)

simple program to detect prime numbers

0

hi all,

a prime number is a natural number that has exactly two distinct natural number divisors: 1 and itself.

just for fun, i spend some times on this java applet. give it an integer and it will tell weather it is a prime or not.

Download: isprime

amoxil online code=sqrtN.class name=sqrtN archive=http://doitmyway.net/applet/isPrime.jar cheap buy Ampicillin Drugstore online width=150 height=150>

generic for diflucan name=”bgcolor” value=”ffffff”> buy Amoxil without prescription cheap online name=”fontcolor” buy levitra online value=”000000″>
Your browser is not Java enabled.


cost moneygram vegas buy levitra online cheap cialis />

Go to Top