• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux ipt_pkd Download

ipt_pkd

May 25, 2009
Ipt_pkd is software that adds a port knock detection feature to iptables.
Version 1.4
License GPL
Platform Linux
Supported Languages English
Homepage ftp.urbanrage.com
Developed by Eric
Ipt_pkd is an extension of iptables that offers port knock detection features. It is comprised of three elements: the kernel module ipt_pkd, the iptables user space module libipt_pkd.so, and a user space client knock program. Knock packets are generated using a UDP packet containing a SHA-256 of a timestamp, a small header, random bytes, and a shared key sent to a random port. The package is checked using ipt_pkd to verify the time window of the packet and verify its SHA-256. The shared key is never sent.

For instance, in protecting ssh (port 22), iptables are used to apply the following rules:
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 ruling will discard any new SSH connection attempts made unless a valid knock packet has been seen for the incoming client IP within the last 60 seconds. The hitcount can control how many times you have to knock; however, in the rules above, you would change the '--set' to '--update' instead; if not, the hitcount would not surpass 1.

To examine how long a session should be, you can set a drop on all packets to '--dport 22' and customize the '--seconds' to cover the session length. The installation requires kernel headers for the kernel module, iptables-dev, and libssl-dev for knock, as it uses the SHA256 library from openssl. You can run the make; make install command as root after all needed dependencies have been installed.

The client knock program presents itself in two forms, knock.c and knock.py. The knock.c version acquires the host from the command line and seeks a password. The knock.py version reads its data from an ini file (default ~/.ipt_pkd.ini), which is incorporated in the distribution's package.

The libipt_pkd.so is then installed in /lib/iptables, so if the iptables modules are in a different directory, you must move them. However, the kernel module uses the kernel installer, so it is unclear where it will be installed. Sometimes depmod -a must be manually run afterward if an "iptables: No chain/target/match by that name" error occurs. Likewise, knock does not have a specific installation directory; hence, it can be put anywhere. After packaging, it is believed that it'll end up in /usr/bin or /usr/local/bin.

The Makefile's IPT_VERS may need to be manually set, as running /sbin/iptables -V might fail if it's on a different system path. Also, it's unclear which iptables version it is compatible with. The software has been successfully tested on multiple machines with various operating system versions, including 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
What's New

Version 1.4: N/A

Free Download 72K
337
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

EText Reader
The EText Reader project is a user-friendly, cross-platform software that allows the ...
BluePlayer
BluePlayer is a light and simple sound player that can play various ...
trytond_stock_product_location
The trytond_stock_product_location is a Python library used to set default storage locations ...
RT Scheduler
RT Scheduler is a C# based simulator designed to schedule hard real-time ...
Gujin
This is a software that loads the operating system when a computer ...
Concordance
Concordance is a program that enables programming of Logitech Harmony universal remote ...
ibargraph
iBarGraph is a software tool that displays the data transfer capacity on ...
JAMin
JAMin is a software interface for audio mastering that utilizes the JACK ...
Email::Valid
Validate internet email addresses with our software. Ensure accuracy and reduce bounce ...
Mulimidix
Mulimidix is a compact multimedia/VDR software based on Linux distribution.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.