LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2005, 05:25 PM   #1
omg-ffs
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
psybnc & ident lookups


Hi all,

To sum up the problem: oident will not return the user of a psybnc account, but rather returns that of the system user who's running the psybnc.

Now if I set oisent d ro run as root with
Code:
/usr/local/sbin/oidentd -d
Then the ident look up works if I have this as my /etc/oidentd.conf file
Code:
default {
 default {
   allow spoof
   allow spoof_all
   allow spoof_privport
   allow random
   allow random_numeric
   allow numeric
   allow hide
 }
}
This conf file above is given on the main psybnc page. Clearly running oidentd as root isn't such a good idea.. So how can I allow the lookups to work whilst using this as start up command?
Code:
/usr/local/sbin/oidentd -d -u ident -g ident
The ident group & user does exist ofc..

Ideally, I would like to use this as my config file, so that 2 psybnc's on my system (user1 & user2) Can spoof the ident reply, but all other users are not allowed to, this is what I believe is right:
Code:
default {
        default {
                deny spoof
                deny spoof_all
                deny spoof_privport
                allow random_numeric
                allow numeric
                allow hide
        }
}

user root {
        default {
                force reply "UNKNOWN"
        }
}

user user1 {
        default {
                allow spoof
                allow spoof_all
                allow spoof_privport
                allow random
                allow random_numeric
                allow numeric
                allow hide
        }
}

user user2 {
        default {
                allow spoof
                allow spoof_all
                allow spoof_privport
                allow random
                allow random_numeric
                allow numeric
                allow hide
        }
}
Would anyone be kind enough to help this ? Firstly to get the correct ident replies when it is run as non-root, and then clarification if my 2nd conf file will do as I require?

Thanks for your help
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Lookups abhijeetudas Linux - Networking 1 10-18-2005 02:20 PM
Configuring ident for psyBNC connection with x-chat Hardw1re Linux - Networking 1 04-17-2004 01:49 AM
psyBNC from inetd wont find psybnc.conf marol Linux - General 0 02-29-2004 10:17 AM
Squid & ident lookups seanfitz Linux - Networking 0 11-20-2003 09:27 AM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 10:01 AM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration