Download Ipt Pkd - Ipt Pkd Description, Ipt Pkd Reviews
Contact
 


 

Download

 
Download Now
GPL (GNU General Public License)
Downloads till now: 6
 
 

Quick search

 



 

Rate this software

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

No. Votes

0

 

Linux

Antivirus, Encryption, Firewalls, Other Tools,

Windows

Mac

Mobile

Drivers

Scripts - DHTML

Scripts - DHTML (new)

Web Developer Blog

Web Developer Blog (new)

Scripts and Applications

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
XML

ipt pkd

 

Details

Last Update: 2008-07-26 03:28:43
Version: ipt_pkd 1.1
License/Program Type: GPL (GNU General Public License)
Publisher: Eric
Price:$0.00
Description:

ipt_pkd is an iptables extension implementing port knock detection. ipt_pkd provides 3 parts: the kernel module ipt_pkd, the iptables user space module libipt_pkd.so, and a user space client knock program. For the knock packet, it uses a UDP packet sent to a random port that contains a SHA-256 of a timestamp, small header, random bytes, and a shared key. ipt_pkd checks the time window of the packet and does the SHA-256 to verify the packet. The shared key is never sent.

Some examples:



Protecting ssh (port 22).

iptables -A INPUT -p udp -m pkd --key test -m recent --set --name PKD
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --rcheck --name PKD --seconds 60 --hitcount 1 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j DROP

These rules will drop any new ssh connection attempts unless a valid knock packet was seen for the incoming client ip in the last 60 seconds. You can use hitcount to control how many times you have to knock, though in the above rules you'd also need to change the --set to --update otherwise the hitcount wouldn't go over 1. You could also use it to control how long a session could be by adding a drop on all packets to --dport 22 and setting --seconds to be how long you wanted a session to last.

iptables -A INPUT -p udp -m pkd --key 0xAA0693aB -m recent --set --name PKD
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --rcheck --name PKD --seconds 60 --hitcount 1 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -m state --state ESTABLISHED,RELATED -m recent --name PKD --rcheck --seconds 600 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j DROP


libipt_pkd.c -- iptables user space portion, becomes libipt_pkd.so
pkd.c -- iptables kernel portion, becomes ipt_pkd.ko
knock.c -- client knock program becomes knock
knock.py -- client knock in python
ipt_pkd.h -- common header

knock (c version) gets the host from the command line and asks for a password knock.py (python version) reads its information out of an ini file (default ~/.ipt_pkd.ini) and example ini file is included in the distribution.

To build you need your kernel headers for the kernel module, iptables-dev for the iptables user space portion, and libssl-dev for knock as it uses the sha256 library from openssl. Then just make; make install. For the make install you need to run as root.

libipt_pkd.so get installed in /lib/iptables, so if your iptables modules are in a different directory you'll need to move it.

The kernel module uses the kernel installer so who knows where it puts it. Also sometimes you have to manually run depmod -a afterward, if you see an error like, iptables: No chain/target/match by that name, then most likely depmod -a will fix it. On my system its been putting the module in /lib/modules//extra.

knock doesn't get put anywhere so put it whereever. I'm guessing if packaged it'll end up in /usr/bin or /usr/local/bin.

You might need to set the IPT_VERS in the Makefile manually. It tries to get it by running /sbin/iptables -V, which can fail if its in a different location on your system. I also don't know which iptables its compatible with. I tested it with 1.3.6 and 1.3.8 and it seemed to be fine with those versions.

Machines tested on:

VMWare client 32 bit running Ubuntu Fiesty 2.6.20-16 kernel and iptables 1.3.6
x86 32bit running Debian unstable 2.6.22-686 kernel and iptables 1.3.8
x86_64 64bit running Sidux unstable 2.6.23 (vanilla) kernel and iptables 1.3.8
Sparc 64bit running Debian unstable 2.6.22-2-sparc64 kernel and iptables 1.3.8

What's New in This Release:

· This release removes the source port from hash, which fixes NAT traversal problems. Please update, as 1.0 will effectively be broken for a lot of people.


Leave a comment




(optional)

What is 7-3?




0 comments


Add to

 Del.icio.us   Digg It   Furl   YahooMyWeb   Blinklist
 

ipt pkd Version History

Product Date Added
ipt pkd ipt_pkd 1.1 2008-07-26 03:28:43


Related Software

Esomo
From category: Firewalls
updated on Wed, 21 May 2008 01:37:08 CDT - Server application for user internet access control and network security...
F-Prot GUI
From category: Security
F-Prot GUI 0.5 is security software developed by FRISK Software International. F-Prot GUI is a graphical user interface for great (and free for individual users) command line antivirus called F-Pro...
JSch
From category: Security
JSch is a pure Java implementation of SSH2....
Crypt
From category: Security
Crypt 0.1 is security software developed by Fredrik Lindroth. Crypt is a small C program that utilizes the crypt(3) function to include DES password checking/encryption in shell scripts. Usa...
DiscoverStation Awarded Software
From category: Firewalls
Userful&039;s DiscoverStation is the perfect solution to provide "indestructible" computer and Internet access. DiscoverStation&039;s unique design enables customers to deploy a secure, hardened and...
Keylogger Screen Capture Software Awarded Software
From category: Encryption
Key logging software runs in stealth mode and periodically at equal interval of time track all typed keystrokes. Software specially designed to capture window screenshot including online internet scre...
Advchk 1.02
From category: Security
Advchk 1.02 is security software developed by Stephan Schmieder. Advchk (Advisory Check) reads security advisories so you don&039;t have to. Advchk gathers security advisories using RSS fee...
Password Manager Daemon
From category: Security
Password Manager Daemon is a daemon that serves data to application via a socket....
Apso 0.1.0
From category: Security
Apso 0.1.0 is security software developed by J. Pellegrini. Apso project is a framework for adding secrecy to version control systems. Usually, version control systems support transfer of encrypted...
AVIRA Antivirus for Exim (Linux)
From category: Other-Tools
AVIRA Antivirus for Exim is a comprehensive antivirus solution for Linux mailservers, functioning at high speed and filtering against malicious contents by checking both incoming and outgoing emails....
crypt_blowfish
From category: Security
crypt_blowfish 1.0.2 is security software developed by Solar Designer. crypt_blowfish is a modern password hashing for your software and your servers. This is an implementation of a modern p...
BitDefender FE
From category: Security
BitDefender FE 1.1 is security software developed by Archipel Software. BitDefender FE is just a frontend for BitDefender Antivirus Console. What\'s New in This Release: This version was...
AVIRA Antivirus for Postfix (Linux)
From category: Other-Tools
AVIRA Antivirus for Postfix is a comprehensive antivirus solution for Linux mailservers, functioning at high speed and filtering against malicious contents by checking both incoming and outgoing email...
FlexiCrypt
From category: Security
FlexiCrypt 1.0 is security software developed by FlexiCrypt Team. FlexiCrypt is a universal cryptography toolkit for managing certificates and symmetric keys. FlexiCrypt can perform many kinds of e...
cosign
From category: Security
cosign 1.9.3 is security software developed by Regents of the University of Michigan. cosign is a Web single sign on system that allows users to authenticate once per session and access any protect...
 

Top Downloads

 
1. Canon PIXMA iP1000 Printer Driver
2. Canon PIXMA iP1200 Printer Driver
3. Canon PIXMA MP210 MP Drivers
4. Canon PIXMA iP1300 Printer Driver a
5. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
6. Canon PIXMA iP1300 Printer Driver c
7. Canon i-SENSYS LBP2900 Printer Driver R
8. Asus EZVcr II
9. Canon PIXMA MP160 MP Drivers xp64
10. Genius Eye 110 Webcam Driver
11. Canon PIXMA MP140 MP Drivers
12. Canon PIXMA iP1200 Printer Driver x64 d
13. JavaScript Page Preloader
14. LG GSA-2166D
15. Canon PIXMA iP1600 Printer Driver
16. Canon LaserShot LBP-1210 Printer Driver
17. Realtek RTL8139C(L)+/RTL8139D(L)/RTL8100(L)/RTL8130/RTL8139B(L) Driver
18. Canon PIXMA MP220 MP Drivers
19. Canon PIXMA MP150 MP Drivers 2kxp
20. Matsushita DVD-RAM UJ-842S

DownloadTube Editor Reviews

 
1. Opera Browser
Opera lets you synchronize every part of your life. Synch yo...
2. Aplus Video to iPod PSP 3GP Converter
Aplus Video to iPod PSP 3GP Converter - a powerful utility t...
3. Quick Timer PPC
Quick Timer PPC is an application for Pocket PC to control N...
4. UniDoc
UniDoc is a powerful and reliable software application that ...
5. Exif Pilot Lite
Exif Pilot Lite allows you to view EXIF, EXIF GPS and IPTC d...
6. SyncQuick Netwatch
SyncQuick Netwatch provide the ability to monitor multiple s...
7. GdImageBox OCX
GdImageBox OCX is an Image Viewer Control delivered as an Ac...
8. Magicbit DVD to MP4 Converter
Magicbit DVD to MP4 Converter helps you rip and convert DVDs...
9. Alldj DVD to PSP Ripper
Alldj DVD To PSP Ripper is a powerful solution for convertin...
10. Relay Timer
Relay Timer is a powerful tool for NCD ProXR relay controlle...

Software Reviews Full List



Recent Blog Posts

 
1. Sun Microsystems JavaFX 1.0 Could Be Present In Over 6 Billion Devices Connected To Internet
Java technology is integrated in 90 percent of desktops and ...
2. Google Reader Has An Improved Look And More Practical Functionality
After the recent introduction into Google Reader of Google T...
3. Free Web Based Design Tools: A Professional Environment for Image Processing
Over the Internet there are many online tools that allow des...
4. Opera 10 Alpha Obtained A Score of 100/100 For Acid3 Test
Opera Software ASA has made available for free download a ne...
5. Cloud – An Operating System That Boots Into A Browser
After the successful debut with gOS Linux in Wal-Mart comput...
6. The New Python 3.0: A Release Incompatible With 2.x Versions
Python is a well known programming language that allows the ...
7. Moonlight 1.0 Beta 1 Is Available For Free Download
Moonlight 1.0 Beta 1, the open source implementation of Micr...
8. All Popular Social Networks In One Place: Power.com
The concept of social networking is one of the attributes of...
9. The Distribution of PHP / MySQL Applications With Server2Go
Server2Go is a Windows based software that allows the distri...
10. Link Baiting: The Building Of One Way Links In A Natural Manner
One way links represent a direct link to a given website, bu...

Last 20 Scripts

 
1. JamUba AJAX Stock Script
JamUba AJAX Stock Script allows the user to embed a flexible
2. YouTube Video Script
YouTube Video Script runs on YouTube API and fetches million
3. Smooth Navigational Menu
Smooth Navigational Menu is a multi level, CSS list based me
4. JamUba ftpsync Script
JamUba ftpsync Script is a Perl utility to synchronize the h
5. Easy 2Checkout Integrator
Easy 2Checkout Integrator script provides a simple and easy
6. Wussa
Wussa is a script suitable for webmasters planning to create
7. WPJobAds
WPJobAds is a WordPress job board plugin that lets you sell
8. Wallpaper Website Creator
Wallpaper Website Creator is a PHP based script that helps y
9. Flex2 Advanced ColorPicker
Flex2 Advanced ColorPicker is a color picker component for F
10. Tree CheckBox
Tree CheckBox is a Flex3 component resulted from the customi
11. ResizeTool
ResizeTool is a simple and easy to use resize tool to be imp
12. Flickr Cube Viewer
Flickr Cube Viewer is a small utility based on Flex that all
13. Font Reader
Font Reader is an Actionscript 3 based true type font parser
14. iPod like Scroller
iPod like Scroller is a simple component which can simulate
15. AMFPHP
AMFPHP is a free open-source PHP implementation of the Actio
16. FlashFlickr PhotoGallery
FlashFlickr PhotoGallery is an image gallery made in Flex2/A
17. jQuery.popeye
jQuery.popeye script is an inline lightbox alternative.
18. prettyComments
prettyComments script provides a solution for comment boxes
19. prettyPopin
prettyPopin provides a nice way to display simple content or
20. MYRE Realty Manager
MYRE Realty Manager is a complete realty listing management