Username: 
Password: 
Restrict session to IP 

Port binding problem  Go to the Training: Net Ports challenge

1 2
Global Rank: 104
Totalscore: 157827
Posts: 6
Thanks: 2
UpVotes: 2
Registered: 6y 135d
wasmaro`s Avatar



The User is Offline
Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi,

I can't bind to source (local) port 5 and any below 20 (1-19) -- "Connection timed out".
Maybe my ISP blocking these ports, because on my localhost (MyIP:5 -> MyIP:80) is working correctly.

So what can I do?
Global Rank: 380
Totalscore: 55899
Posts: 12
Thanks: 4
UpVotes: 5
Registered: 6y 49d
m0ngrel`s Avatar
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try using curl. Smile
Global Rank: 104
Totalscore: 157827
Posts: 6
Thanks: 2
UpVotes: 2
Registered: 6y 135d
wasmaro`s Avatar



The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
With curl also not working local port range: 1-19.
$ <censorship>
curl: (7) Failed to connect to www.wechall.net port 80: Connection timed out
Last edited by Gizmore - Sep 16, 2014 - 20:51:10
Global Rank: 229
Totalscore: 84553
Posts: 1332
Thanks: 1181
UpVotes: 694
Registered: 11y 36d




Last Seen: 1d 16h
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Censored and changed the challenge to port 42 Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 961
Totalscore: 22725
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 4y 77d
akaryuu`s Avatar


Last Seen: 1y 122d
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi Gizmore, I used curl and managed to get the right port on my side but I can read in the curl output that your script doesnt recognize my userid, in the top of the output I can see I am logged in with my userid but at the table that solves the challenge it prints the following:

</div>
<div class="cl"></div>
<div class="box">
<div class="box_t">Training: IP Ports</div>
<div class="box_c">Hello Guest,<br/>
<br/>
Welcome to another training challenge.<br/>
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>42</i>.<br/>
<br/>
Good Luck!<br/>
gizmore
</div>

I am quite sure I am not logged as a guest, I already passed my user, pass and even cookie as parameters of curl, may you point me in the right direction please?, thank you!!
Global Rank: 961
Totalscore: 22725
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 4y 77d
akaryuu`s Avatar


Last Seen: 1y 122d
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Nevermind, I was passing the cookie without its name, already done, thanks!
Global Rank: 13
Totalscore: 384222
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 4y 334d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
My ISP maybe block these ports.I tried as follows:
love0day@warchall ~ $ [CENSORED]
curl: (45) bind failed with errno 13: Permission denied
but love0day@warchall ~ $ [CENSORED]
will be ok.return like this:
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>4200</i>.<br/>
<br/>
So I know how to solve this chall,but I can't compete it.Can you change the port to 4200? thanks very much.
Last edited by dloser - Mar 25, 2016 - 15:35:43
Global Rank: 1
Totalscore: 717565
Posts: 377
Thanks: 402
UpVotes: 338
Registered: 9y 239d











The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
"Permission denied" is not an error that is the result of an ISP blocking stuff. So I'd say you actually don't really know how to solve it. ;)
Global Rank: 13
Totalscore: 384222
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 4y 334d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
but why I can control my local port to 4200 use that curl command ? 4200 and 42 do have some difference?
I have to login to love0day@warchall by SSH then execute that command to bypass the ISP's blocking.but I haven't the permission to use 42.
that is the bug of this chall.
Global Rank: 1
Totalscore: 717565
Posts: 377
Thanks: 402
UpVotes: 338
Registered: 9y 239d











The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try researching a bit. Then make sure your ISP is really blocking it.
1 2
Cube, Redknee, MeC, tunelko, silenttrack, qdxy, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89 have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 229145 times.