Server Security: How To Prevent Socket Hijacking on WindowsJune 14th, 2006 You can forcibly bind to the same address and port to which there is an open server socket by using SO_REUSEADDR option (ServerSocket.setReuseAddress(boolean on) in Java). Such reuse can be exploited by malicious applications to disrupt the functioning of the original server application and worse.
Understanding Java: Simplified Hello World for Socket ProgrammingApril 15th, 2006 In my experience much of the complexities a newcomer faces in the Java world is understanding extraneous stuff like handling exceptions or formatting data etc. Today I was requested for the nth time (n -> infinity) how to write a simple socket client and server (actually debug one).
Java / J2EE Needs to Add Ease of Use (Redundant) MethodsApril 15th, 2006 Java / J2EE (Java EE) API development should now focus on adding ease of use methods to the API. Often such methods will be redundant.
How To: Open Client Socket in Java With TimeoutJune 6th, 2006 Often we need to create a (client) socket connection in java but we do not want to wait indefinitely for the connection to open. We need a way to timeout socket connections.
Java Firewall ProjectMay 23rd, 2006 I have been playing with the idea of a Java Firewall. So far I have implemented a fully functional port blocker using port hijacking.
How To Speedup Java Over 100%August 26th, 2007 Java is used either for long running server side applications / application servers or for running short scripts. Let's look at how you can speed-up both these type of applications.
Open Source Java Application Server Geronimo Passes Java 2 Enterprise Edition 1.4 CertificationOctober 19th, 2005 With its latest release of the software, Apache announced that Geronimo 1.0-M5 Java application server has passed all the compatibility tests and has gained official J2EE1.4 certification of the Java server software standard. Apache Geronimo 1.0-M5 is completely integrated with the Tomcat Web server and includes a developer preview of web management console submitted to Apache by IBM.
Free Java Source For DNS ServerJuly 21st, 2006 dnsjava is a popular implementation of DNS in Java. It supports all defined record types (including the DNSSEC types), and unknown types.
How to See Linux TCP/UDP Network and Socket informationSeptember 19th, 2009 After configuring services on the network in Linux system, it's important for you to keep tabs on the ports that are actually listening on the system's network interfaces. This is all more important because open ports are evidence of an intrusion.
How do I Enable Remote Access To MySQL Database?April 27th, 2009 Suppose you want to change and enable the remote access to MySQL DB on your linux server (Debian). By default, you don't get such privileges so you will have to work your way through this.
How To Connect To CVS Via Proxy ServerFebruary 10th, 2007 CVS is commonly used by open source project to provide access to their source code. Here is a simple way how you can connect to CVS server from behind a proxy server.
Shutdown Apache James Mail Server - Java UtilityFebruary 15th, 2006 Overview
A Java class to shutdown Apache James Mail Server via TCP/IP. It shuts down Apache James Mail Server by passing shutdown command via simulated telnet session.
How To Simulate Telnet Session in JavaFebruary 16th, 2006 Often we come across procedures which need to be performed by issuing commands in a telnet session. It is relatively easy to do it manually but is definitely not suitable for automation.
How to install / enable Java Plugin / Applets in Firefox on CentOS 5September 28th, 2009 CentOS comes with OpenJava JRE installed. However that doesn't provide the required libraries to run Java from browsers (read: applets).
Free CD With NetBeans IDE 5.0 , NetBeans Mobility Pack 5.0, NetBeans Profiler 5.0 and Sun Java System Application Server 8.2 Platform EditionApril 4th, 2006 Complete and submit a form ( permission to enroll you in the Sun Developer Network (SDN) ) to receive free NetBeans worldTour CD that includes the NetBeans IDE 5.0 , NetBeans Mobility Pack 5.0, NetBeans Profiler 5.0 and Sun Java System Application Server 8.2 Platform Edition. The NetBeans worldTour CD will be published and updated as major enhancements and new releases become available.
November 16th, 2007 at 4:22 pm
I tried this hijacking, but did not get it work.
Only IP address I could bind to was localhost.
All other IP’s throw java.net.BindException: Cannot assign requested address: JVM_Bind?
November 18th, 2007 at 6:54 am
Does your computer (on which you are running this program) have this IP address?
Can you ping it?
February 19th, 2009 at 8:03 am
when the connection was accept how to drop the packet ?
February 19th, 2009 at 8:44 am
How can I block the packets when socket is connected??