Username: 
Password: 
Restrict session to IP 

Port binding problem  Go to the Training: Net Ports challenge

1 2
Global Rank: 103
Totalscore: 157680
Posts: 6
Thanks: 2
UpVotes: 2
Registered: 6y 74d
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: 377
Totalscore: 55871
Posts: 12
Thanks: 4
UpVotes: 5
Registered: 5y 353d
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: 103
Totalscore: 157680
Posts: 6
Thanks: 2
UpVotes: 2
Registered: 6y 74d
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: 84652
Posts: 1327
Thanks: 1175
UpVotes: 681
Registered: 10y 340d




Last Seen: 12h 40m
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: 953
Totalscore: 22723
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 4y 16d
akaryuu`s Avatar


Last Seen: 1y 61d
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: 953
Totalscore: 22723
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 4y 16d
akaryuu`s Avatar


Last Seen: 1y 61d
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: 384034
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 4y 273d






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: 714192
Posts: 363
Thanks: 384
UpVotes: 321
Registered: 9y 178d











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: 384034
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 4y 273d






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: 714192
Posts: 363
Thanks: 384
UpVotes: 321
Registered: 9y 178d











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.
2 people are watching the thread at the moment.
This thread has been viewed 223632 times.