We can use NETWORK FILE SYSTEM protocol , NFS , to share file in linux distributions.
we just have to follow some easy steps and then we are done, the nfs client machine is the one that can use a shared mount point of another machine. The machine that shares or exports its one or more directory to the client machine is called the nfs server. So if directory 'shared' is in the nfs server and some directory 'abc' in the client machine is mounted to access it using nfs, we can access the contents of the directory 'shared' from the client machine as all content of that directory will be available on directory 'abc'.
There I found very useful and easy steps:
http://www.ubuntugeek.com/nfs-server-and-client-configuration-in-ubuntu.html
So, /etc/exports file is to be modified in the server machine to define which directory is to be shared, who can access it, to what extent and with what type of permission ( add entry for directory 'shared').
/etc/fstab file is to be edited for new entry in the client one to define which directory is to be considered as a mount point ( add entry for directory 'abc' ).
Apr 16, 2009
Mount using NFS in Ubuntu
Jan 26, 2009
Reverse Proxy and Forward Proxy Server
Proxy servers:
A proxy server is a machine which acts as an intermediary between the computers of a local area network (sometimes using protocols other than TCP/IP) and the Internet.
Most of the time the proxy server is used for the web, and when it is, it's an HTTP proxy. However, there can be proxy servers for every application protocol (FTP, etc.).
The basic operating principle of a proxy server is quite simple: It is server which acts as a "proxy" for an application by making a request on the Internet in its stead. This way, whenever a user connects to the Internet using a client application configured to use a proxy server, the application will first connect to the proxy server and give it its request. The proxy server then connects to the server which the client application wants to connect to and sends that server the request. Next, the server gives its reply to the proxy, which then finally sends it to the application client.
A proxy server that resides at the Web site and all incoming requests to the Web server are routed to the reverse proxy. A reverse proxy adds a layer of security by hiding the details of the Web servers from the clients. The reverse proxy can be located in a comparatively less secure area and the Web servers can reside behind a secure firewall. It can also serve some other utilities, like encryption, compression and image caching on behalf of the actual web server. It can store dynamic pages generated by the web server and forward these to slower clients time to time. If any change is made to the web server like the URLs are modified, the port numbers are changed or new firewalls are deployed, then we don’t need to publish the new urls, only reconfiguring the reverse proxy will do, the clients can access the same urls without getting any 404 message. Those requests for the old urls will be translated to newer ones by the proxy and forwarded to the web servers hiding the changes to the clients.

We can consider this general scenario: suppose our application runs on port 8080 on tomcat, now-
* External requests are initiated on port 80.
* Firewall/Nat forwards the request to proxy server.
* Proxy server examines the requested URL and redirects it to web server.
* The server gives reply to the proxy which sends it back to the client.
And then we change the tomcat port to 8081 , but we do not need to publish the modified new urls, we just reconfigure our proxy server to forward those requests to 8081 and we are done!
A reverse proxy is sometimes called SERVER ACCELERATOR because its caching function can improve the performance overall.
It also makes the internal network more secure as it hides the details to external clients.
It can also perform load-balancing by distributing requests to several similar servers.
When we talk about proxy servers we generally mean the forward proxy, that's why the other one is called reverse proxy :),the proxy servers are used to hide the details of the clients from the servers and are thus known as "forward proxies." Several client machines are connected to a proxy and they send their requests to the proxy.
If we configure our network’s DNS for internal use only, then a user inside the private network can access the network properly, but external users won’t. So proxy forwarding is needed to access resource inside the network.
The proxy server has two network interfaces and two IP addresses. The IP address on the outgoing side of the proxy is the one the Internet sees, and all the IP addresses of the client machines are hidden from the outside network.
Read the Full Post...
Nov 2, 2008
Security Holes in Wireless Sensor Network
It's now a major challenge in the development of wireless network ans yes, I am talking about security. May be the industry is not paying much attention as they are paying for cost effectiveness and energy efficiency, but we cannot deny its affect.I found a good explanatory article about it on IEEE computer society magazine:
Denial-of-Service in Wireless Sensor Networks: Attacks and Defenses
If the network follows cluster head based routing protocol, then it will be sufficient to break the network simply by breaking the cluster heads by broadcasting jamming signals with same frequency but with more power.The opponent can find the cluster heads by determining the Voronoi Diagram of the network node topology and then make any possible attack on those nodes. But if the nodes can identify which packets are sent from its own network and which are not , then the opponent might disable the nodes, but not make them receive wrong information ans the nodes will not respond to the malicious packets.
0
comments so far , post a new one
Reactions:


