LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 06-04-2012, 06:03 AM   #1
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Rep: Reputation: Disabled
problem in knockd configuration in ubuntu 10.04


Hi all

Im configuration port knocking configuration in ubuntu server 10.04 DISTRO .i had blocked all the port in my ubuntu server .Im trying to knock the server from client to open the server port number 22.I followed the below link ,But when i try to hit the server from client it does int prompt for password.Can anyone help me in wat wrong in the configuration

Error


root@demo:~# service knockd restart
/etc/default/knockd: 19: logfile: not found
root@demo:~# cat /etc/default/knockd
################################################
#
# knockd's default file, for generic sys config
#
################################################

# control if we start knockd at init or not
# 1 = start
# anything else = don't start
#
# PLEASE EDIT /etc/knockd.conf BEFORE ENABLING
#START_KNOCKD=0

# command line options
KNOCKD_OPTS="-i eth1"


#[options]
logfile = /var/log/knockd.log

[SSH]
sequence = 7000,8000,9000
seq_timeout = 5
start_command = ufw allow from %IP% to any port 22
tcpflags = syn
cmd_timeout = 10
stop_command = ufw delete allow from %IP% to any port 22
root@demo:~#

Last edited by arun5002; 06-08-2012 at 10:52 AM.
 
Old 06-30-2012, 01:30 AM   #2
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Original Poster
Rep: Reputation: Disabled
Hi
Can anyone help me a good link for configuring ,port knocking in ubuntu 10.04 Lucid

Last edited by arun5002; 06-30-2012 at 01:31 AM.
 
Old 07-01-2012, 04:53 PM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,803

Rep: Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365
Quote:
Originally Posted by arun5002 View Post
Hi
Can anyone help me a good link for configuring ,port knocking in ubuntu 10.04 Lucid

Can anyone help me in wat wrong in the configuration
Don't bump your own threads...all you've done is remove it from the zero-reply list, and make it LESS visible. And as we've asked you before, spell out your words.

Did you read what you posted??? Specifically, this line???
Quote:
Originally Posted by arun5002
/etc/default/knockd: 19: logfile: not found
It's telling you that it can't find the log file you specified in the knockd configuration file. So create it...either use vi or type in "touch /path/to/file". Also, Google has MANY how-to's on configuring it, if you tried to look; some are even on the Ubuntu documentation site:
https://help.ubuntu.com/community/PortKnocking
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Knockd ryanoa Linux - Security 3 10-10-2006 06:03 PM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Linux - Networking 1 06-13-2006 08:05 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Ubuntu 0 06-13-2006 06:33 AM
knockd gong Linux - Security 1 07-03-2005 06:49 AM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration