Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23151
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 28 Mar 2013 05:34:27 -0500 |
| Date | Thu, 28 Mar 2013 10:34:26 +0000 |
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: POST to secure server |
| References | <c3c53dbd-b60d-4a93-95ea-d6bf653037aa@googlegroups.com> <a181f60e-c8ce-4639-ab47-13e6f039547f@googlegroups.com> |
| In-Reply-To | <a181f60e-c8ce-4639-ab47-13e6f039547f@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Message-ID | <3oadnRxM9dkugcnMnZ2dnUVZ8k-dnZ2d@bt.com> (permalink) |
| Lines | 33 |
| X-Usenet-Provider | http://www.giganews.com |
| X-AuthenticatedUsername | NoAuthUser |
| X-Trace | sv3-dwQhndyf4EpZmvC8juHF+oYViVjD+FWC7Azejd67PwhYRC93UTryvWq28oNsfsCanzjVD92kcFsJCa4!BC08kg5LqY6w+e1o3KLruhBJ1m96JYRIbqJoZLmE9gpB/L9SdpYlB9V1rt1vphEKZhgtl1tBCtM= |
| X-Complaints-To | abuse@btinternet.com |
| X-DMCA-Complaints-To | abuse@btinternet.com |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2525 |
| Xref | csiph.com comp.lang.java.programmer:23151 |
Show key headers only | View raw
On 27/03/13 20:26, RVic wrote: > lipsa, Yes I do not know what silvio means -- not even sure why I would need to port forward it? Thank you. Think about it, what do you want to do. You want to access a port that is not available to the outside world, that's you, you are the outside world. There is a way, and it's by making a tunnel through the obstruction[s]. So you set up your tunnel by calling Jsch#connect, once you have a connection you effectively have a tunnel from you to the server, now you say, session.setPortForwardingL(8888, moonprod, <remote port>); This says, anything I send to port 8888 on my local machine I want to forward to port <remote port> on the remote machine. Now, if there is a servlet container on port remote:whatever and you POST to localhost:8080 the request will be forwarded *through the tunnel* to remote:whatever where your servlet is waiting. Bingo, you just hit your servlet by tunneling through the obstructions via the secure connection you set up via Jsch. Give it a go and report back and let us know how you got on. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
POST to secure server RVic <rvince99@hotmail.com> - 2013-03-26 04:46 -0700
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-26 13:43 +0000
Re: POST to secure server markspace <markspace@nospam.nospam> - 2013-03-26 09:51 -0700
Re: POST to secure server Roedy Green <see_website@mindprod.com.invalid> - 2013-03-26 19:00 -0700
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-27 05:34 -0700
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-27 13:07 +0000
Re: POST to secure server Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-27 20:11 -0300
Re: POST to secure server markspace <markspace@nospam.nospam> - 2013-03-27 19:38 -0700
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-28 08:49 +0000
Re: POST to secure server Silvio <silvio@internet.com> - 2013-03-28 10:17 +0100
Re: POST to secure server Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-28 06:19 -0300
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-28 09:54 +0000
Re: POST to secure server Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-03-28 20:51 -0300
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-27 06:24 -0700
Re: POST to secure server Silvio <silvio@internet.com> - 2013-03-27 14:37 +0100
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-27 06:45 -0700
Re: POST to secure server Silvio <silvio@internet.com> - 2013-03-27 15:08 +0100
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-27 08:39 -0700
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-27 17:30 +0000
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-27 13:26 -0700
Re: POST to secure server Silvio <silvio@internet.com> - 2013-03-28 10:05 +0100
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-28 10:34 +0000
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-03-28 05:02 -0700
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-28 12:22 +0000
Re: POST to secure server RVic <rvince99@hotmail.com> - 2013-04-02 07:07 -0700
Re: POST to secure server Silvio <silvio@internet.com> - 2013-04-02 22:39 +0200
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-03 10:39 +0100
Re: POST to secure server Joerg Meier <joergmmeier@arcor.de> - 2013-04-03 15:32 +0200
Re: POST to secure server lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-03 15:34 +0100
csiph-web