You'd be free to do whatever you want with it. I'll see I can find the source. I'm pretty sure there's a copy on my old powerbook. It was written for linux and openbsd and we used for an ad-hoc authentication method to manage a remote machine over the unsecure internet.
Never did any security auditing on the code, but I don't think there's anything wrong with it. There was one or two things that I'd like to have the time to implement, like privilege separation but that's all. But, as I said before, it is a ugly hack... :) On Thu, Nov 6, 2008 at 3:57 PM, Charlie Clark <[EMAIL PROTECTED]> wrote: > Hi Marcus, > > If you come across this program again would I be able to steal it off of > you, it will implement it as suggested before using pf state table tracking > but your program sounds very interesting and I would still like to see it. > > Thank you everyone for your answers. > > Thanks, > > Charlie > > Marcus Andree wrote: >> >> I've written a small program about 5 years ago. It was a daemon that >> implemented a >> service similar to "port knocking" but entirely in user level, >> calling pfctl by exec() >> system calls to insert/remove remote IP addresses in a pf table holding >> machines >> able to connect to the ssh daemon via port 22. >> >> It was a ugly hack but it worked for us. I shall have a backup copy >> somewhere on >> my powerbook at home... >> >> On Thu, Nov 6, 2008 at 3:33 PM, Charlie Clark <[EMAIL PROTECTED]> >> wrote: >> >>> >>> Hi, >>> >>> I have noticed that people constantly try to brute force sshd on my >>> openbsd >>> box, on my server I use fail2ban to prevent this and wondered if there is >>> a >>> similar solution for openbsd. >>> >>> Regards, >>> >>> -- >>> >>> Charlie Clark >>> Network Engineer >>> >>> Lemon Computing Ltd >>> Unit 9 >>> 26-28 Priests Bridge >>> London >>> SW14 8TA >>> UK >>> >>> Tel: +44 208 878 2138 >>> Fax: +44 208 878 2163 >>> Email: [EMAIL PROTECTED] >>> Site: http://www.lemon-computing.com/ >>> >>> Lemon Computing is a limited company registered in England & Wales under >>> Company No. 03697052 >>> >>> >>> >> >> > > > -- > > Charlie Clark > Network Engineer > > Lemon Computing Ltd > Unit 9 > 26-28 Priests Bridge > London > SW14 8TA > UK > > Tel: +44 208 878 2138 > Fax: +44 208 878 2163 > Email: [EMAIL PROTECTED] > Site: http://www.lemon-computing.com/ > > Lemon Computing is a limited company registered in England & Wales under > Company No. 03697052