-
Notifications
You must be signed in to change notification settings - Fork 55
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
optionally allow WEBIRC blocks to spoof ident responses #344
base: main
Are you sure you want to change the base?
Conversation
Note that authproc does not check whether |
@@ -419,6 +419,7 @@ struct ListClient | |||
#define FLAGS_EXEMPTSHIDE 0x04000000 | |||
#define FLAGS_EXEMPTJUPE 0x08000000 | |||
#define FLAGS_IDENTIFIED 0x10000000 /* owns their current nick */ | |||
#define FLAGS_USER_SPOOFING 0x00000080 /* username has already been set, so ignore it in USER */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Collides with FLAGS_GOTID
@@ -500,7 +500,7 @@ register_local_user(struct Client *client_p, struct Client *source_p) | |||
} | |||
|
|||
/* dont replace username if its supposed to be spoofed --fl */ | |||
if(!IsConfDoSpoofIp(aconf) || !strchr(aconf->info.name, '@')) | |||
if(!IsUserSpoof(source_p)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above-mentioned collision means that this if is always true
No description provided.