Article View: bit.listserv.openbsd-pf
Article #60Suggestion for a new feature, port code
From: Johan Söderberg
Date: Mon, 28 Feb 2011 17:07
Date: Mon, 28 Feb 2011 17:07
22 lines
1827 bytes
1827 bytes
A ridiculously simple idea. Protect your port, say ssh, by adding a code to access it. Ok, that's nothing new, but maybe how it's done. For a client to connect to a service, it need to unlock the port with a code. The code is made of predefined blocked ports, that makes pf trigger. If the first code port is triggered, IP address enters a state with timestamp. If the next port that the address triggers, matches the next code port within a timeframe, let it enter new state, else lose state. When all code ports have been triggered in the right order, allow address to pass. Sure it's not safe from MITM, but it protects from scans, and allows you to connect from dynamic IP addresses. There are 65536 ports, that gives you 65536^n possible combinations where n is the number of ports in your code. So you probably won't need more than 2-3 ports in your code. Say what you think! And if you like my brain fart, would you want to implement it? Kind regards, Johan S�derberg
Technical Details
Message-ID:
<AANLkTi=WMDi8P+tP4jX9tPGX-BD9CjFugKv9=XacUwxM@mail.gmail.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrnShow Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,aafa9bd10f63de1e,start X-Google-NewGroupId: yes X-Google-Attributes: gidbffa70e3,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn From: johan.s.umea@gmail.com (Johan Söderberg) Newsgroups: bit.listserv.openbsd-pf Subject: Suggestion for a new feature, port code Date: 28 Feb 2011 09:07:56 -0800 Organization: None Lines: 23 Message-ID: <AANLkTi=WMDi8P+tP4jX9tPGX-BD9CjFugKv9=XacUwxM@mail.gmail.com> NNTP-Posting-Host: localhost.newsguy.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 28 Feb 2011 17:07:56 GMT