• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for open source gateway  RSS feed

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,


I am looking for open source gateway written in Java. It is better a light-weighted and easy-to-configure gateway, which could be used in J2EE/J2SE/J2ME applications.


Thanks in advance,
George
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you explain what you mean by "gateway" here? That's not really a standard term for any kind of software; the only agreed-upon computer meaning for the word that I'm aware of is as a term for a specific role that a router can play in networking.
 
George Lin
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest,


Originally posted by Ernest Friedman-Hill:
Can you explain what you mean by "gateway" here? That's not really a standard term for any kind of software; the only agreed-upon computer meaning for the word that I'm aware of is as a term for a specific role that a router can play in networking.


I am looking for a gateway software (like sygate) which acts like a router, which can do NAT and which can make several computers share the same external IP address. Could you help?


regards,
George
[ May 09, 2005: Message edited by: George Lin ]
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, OK, then I did know what you were talking about!

I'm not entirely sure that Java's standard network libraries contain the low-level building blocks needed to do this. You could definitely implement DHCP in Java, because it just uses plain UDP packets; but you couldn't do arbitrary NAT work because you don't have low-level packet access.

Thinking about it, you might be able to do limited NAT for TCP and UDP streams only, and then only for client-initiated transactions on specific, well-known ports. But in any case, this would certainly be a limited and unusual implementation of NAT, quite inferior to any implementation written in C.

Which is a very long way of saying I'm not aware of one, and I'm not sure you'll find one.
 
George Lin
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest,


Originally posted by Ernest Friedman-Hill:
Ah, OK, then I did know what you were talking about!

I'm not entirely sure that Java's standard network libraries contain the low-level building blocks needed to do this. You could definitely implement DHCP in Java, because it just uses plain UDP packets; but you couldn't do arbitrary NAT work because you don't have low-level packet access.

Thinking about it, you might be able to do limited NAT for TCP and UDP streams only, and then only for client-initiated transactions on specific, well-known ports. But in any case, this would certainly be a limited and unusual implementation of NAT, quite inferior to any implementation written in C.

Which is a very long way of saying I'm not aware of one, and I'm not sure you'll find one.


Your reply is very helpful! I only want to get a Java open source gateway with limited functions, and I think "limited NAT for TCP and UDP streams only, and then only for client-initiated transactions on specific, well-known ports" is enough for my requirements. Do you know any open source projects which can meet my requirements?


regards,
George
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I'm not, sorry -- which is why I ended my last message with "Which is a very long way of saying I'm not aware of one, and I'm not sure you'll find one."
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!