Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fire off just a SYN for TCP packets #1

Open
PaulMaddox opened this issue Jun 17, 2014 · 2 comments
Open

Fire off just a SYN for TCP packets #1

PaulMaddox opened this issue Jun 17, 2014 · 2 comments
Milestone

Comments

@PaulMaddox
Copy link
Member

At the moment, KnockSequence.java#166 attempts to open a full socket (read: full tcp handshake) with a 1000ms timeout to the knock destination for TCP packets, when all it actually needs to do is fire off a TCP SYN.

@PaulMaddox PaulMaddox added this to the 1.0.1 milestone Jun 17, 2014
@etiago
Copy link

etiago commented Aug 18, 2014

Here's a +1 for this to be added to the next milestone 👍 it actually doesn't work for me as is since my server's firewall is configured (purposefully) to drop all the ports by default. This seems to get in the way. It works with the knock client for OSX but not with this one.

@etiago
Copy link

etiago commented Aug 18, 2014

It seems it's not trivial to send a TCP SYN on Java. I've gone as far as finding the RockSaw library which allows you to open raw sockets in Java. This should do the trick I'd hope...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants