Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oidentd not giving different idents #754

Closed
ronilaukkarinen opened this issue Nov 20, 2016 · 8 comments · Fixed by #2273
Closed

Oidentd not giving different idents #754

ronilaukkarinen opened this issue Nov 20, 2016 · 8 comments · Fixed by #2273
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.

Comments

@ronilaukkarinen
Copy link
Contributor

ronilaukkarinen commented Nov 20, 2016

Hello. Been trying to ask for help with this via IRC since didn't find anything worth trying by googling, so decided to open an issue.

My problem is, I'm getting ident, but it's always rolle@pulina.fi which is exactly the same ident than my irssi connection has for example. It's always the same for all users that use lounge, even if the username is completely different. So every lounge webchat user has the same ident than me - that's obviously a problem.

/etc/oidentd.conf

# Configuration for oidentd
# see oidentd.conf(5)
#
default {
	default {
		deny spoof
		deny spoof_all
		deny spoof_privport
		allow random
		allow random_numeric
		allow numeric
		deny hide
	}
}
user root {
     default {
          force reply "UNKNOWN"
     }
}
user rolle {
        default {
                allow spoof
                allow spoof_all
                allow random
                allow hide
       }
}

~/.oidentd.conf

# Warning: file generated by The Lounge: changes will be overwritten!
to 104.207.136.203 lport undefined from undefined fport 6667 { reply "lounge-user" }
to 104.238.168.67 lport undefined from undefined fport 6667 { reply "Bulibuli" }
to 83.140.172.210 lport undefined from undefined fport 6667 { reply "pulisijasafti" }
to 83.140.172.211 lport undefined from undefined fport 6667 { reply "pulisijasafti" }
to 80.65.57.26 lport undefined from undefined fport 6667 { reply "rollefromlounge" }
to 45.32.162.3 lport undefined from undefined fport 6667 { reply "rolle_test" }
to 66.225.225.66 lport 47541 from 139.59.208.244 fport 6667 { reply "pulisafti" }
to 104.207.136.203 lport undefined from undefined fport 6667 { reply "lounge-user" }

Currenly running lounge with debugger on in separate screen session, on user rolle.

System: Ubuntu 14.04 LTS server (Digital Ocean VPS)
lounge: v2.1.0
node: v7.0.0

@xPaw xPaw added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Nov 20, 2016
@MAGICCC
Copy link

MAGICCC commented Dec 5, 2016

Will this get postponed until the next release or can we expect it earlier with some setting(file) where we can specify our ident when connecting to a network?

@ronilaukkarinen
Copy link
Contributor Author

I haven't been using our webchat at all because this bug is practically untolerable for public webchats, risk for trolls to misuse it. No rush and not trying to be rude here, but I'm with @MAGICCC; equally interested about the ETA.

@xPaw
Copy link
Member

xPaw commented Dec 6, 2016

ETA is "when it's done". This is an open source project where developers work on it in their free time.

@ronilaukkarinen
Copy link
Contributor Author

Don't know why I asked it since as open source advocate I hate hearing the question myself as well, already knew the answer. Thank you and sorry 😄

@ronilaukkarinen
Copy link
Contributor Author

This PR fixes identd, but I have irssi instance running fine on oidentd at the same time, so right now having to choose between irssi or lounge, both can't use the same port 113, obviously.

With latest release oidentd now saves ~/.oidentd.conf properly (earlier it has undefineds), but because irssi is running oidentd with one user, lounge for some reason still uses that same ident for all lounge connections for all users.

@astorije
Copy link
Member

@ronilaukkarinen, #804 was merged, did that fix your issue?

@ronilaukkarinen
Copy link
Contributor Author

Just tested it, still having the exactly the same identd rolle@pulina.fi in every lounge user which is the same than on my irssi.

rolle@pulina:~$ cat .oidentd.conf 
# Warning: file generated by The Lounge: changes will be overwritten!
to 91.217.189.21 lport 46677 from 139.59.208.244 fport 6667 { reply "rolletest" }

The nick rolletest is not part of the ident at all, however it's written in the ~/.oidentd.conf file. Any idea on how to fix this?

@xPaw
Copy link
Member

xPaw commented Sep 23, 2017

I am going to close this as we have not had any updates on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants