<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>http://www.lumacaonline.org/kiwi/index.php?action=history&amp;feed=atom&amp;title=Port_Knocking</id>
	<title>Port Knocking - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="http://www.lumacaonline.org/kiwi/index.php?action=history&amp;feed=atom&amp;title=Port_Knocking"/>
	<link rel="alternate" type="text/html" href="http://www.lumacaonline.org/kiwi/index.php?title=Port_Knocking&amp;action=history"/>
	<updated>2026-05-16T01:08:32Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://www.lumacaonline.org/kiwi/index.php?title=Port_Knocking&amp;diff=31&amp;oldid=prev</id>
		<title>Award: Creata pagina con &quot;== Installazione ==   apt-get install knockd che contiene il server ed il client  ==Demone== editare il file di configurazione di knockd  Nota: le regole di iptables nel file...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.lumacaonline.org/kiwi/index.php?title=Port_Knocking&amp;diff=31&amp;oldid=prev"/>
		<updated>2017-08-16T22:36:12Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;quot;== Installazione ==   apt-get install knockd che contiene il server ed il client  ==Demone== editare il file di configurazione di knockd  Nota: le regole di iptables nel file...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installazione ==&lt;br /&gt;
&lt;br /&gt;
 apt-get install knockd&lt;br /&gt;
che contiene il server ed il client&lt;br /&gt;
&lt;br /&gt;
==Demone==&lt;br /&gt;
editare il file di configurazione di knockd&lt;br /&gt;
&lt;br /&gt;
Nota:&lt;br /&gt;
le regole di iptables nel file di configurazione di knockd, NON devono essere presenti&lt;br /&gt;
nelle regole caricate da iptables all'avvio&lt;br /&gt;
&lt;br /&gt;
/etc/knockd.conf&lt;br /&gt;
&lt;br /&gt;
 [options]&lt;br /&gt;
    UseSyslog&lt;br /&gt;
 [SSH]&lt;br /&gt;
    sequence = 1111:tcp,2222:udp,3333:tcp,4444:tcp&lt;br /&gt;
    tcpflags = syn&lt;br /&gt;
    seq_timeout = 15&lt;br /&gt;
    start_command = /sbin/iptables -I INPUT 1 -s %IP% -p tcp --dport 22 -j ACCEPT&lt;br /&gt;
    cmd_timeout = 10&lt;br /&gt;
    stop_command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
Abilitare il demone&lt;br /&gt;
&lt;br /&gt;
 nano /etc/defaulst/knockd&lt;br /&gt;
&lt;br /&gt;
ed impostare&lt;br /&gt;
&lt;br /&gt;
 START_KNOCKD=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Client ==&lt;br /&gt;
&lt;br /&gt;
 knock -v &amp;lt;ip_server&amp;gt; 1111:tcp 2222:udp 3333:tcp 4444:tcp &amp;amp;&amp;amp; ssh  user@&amp;lt;ip_server&amp;gt;&lt;br /&gt;
&lt;br /&gt;
alternativamente si  puo' utilizzare anche nmap:&lt;br /&gt;
&lt;br /&gt;
 $&amp;gt; for x in 9000 8000 7000; do nmap -Pn --host_timeout 201 --max-retries 0 -p $x &amp;lt;server_ip_address&amp;gt;; done&lt;/div&gt;</summary>
		<author><name>Award</name></author>
	</entry>
</feed>