-
Notifications
You must be signed in to change notification settings - Fork 18
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
Remote Connect #15
Comments
yes, but you'll need to change the regex for inspircd. |
On HOPM i'm using this : connregex = "\\\* REMOTE?CONNECT: Client connecting [^:]: ([^!]+)!([^@]+)@([^ ]+) \(([0-9\.]+)\) \[.\]"; It need to be set in antissh.py it should be in antissh.conf |
you should probably verify the HOPM regex actually works. at any rate, there's some reasons why it's in .py: i don't know what damage the configparser will do to it. |
This below works for remote and normal connects in inspircd IP_REGEX = re.compile(r'Client connecting.*(([0-9a-f.:]+))') |
@Cronus89 i think is wrong : DEBUG:asyncirc.IRCProtocol::flash..com NOTICE antissh : CONNECT: Client connecting on port 6667 (class main): [email protected] (94.167.107.33) [http://www.mibbit.com] |
I pulled that directly out of my working/running bot. I think github screwed with it, try below
|
I'm testing your bot, i've set it +s cC , does it support remote connect too ?
DEBUG:asyncirc.IRCProtocol::*********** NOTICE antissh :*** CONNECT: Client connecting on port 7667 (class main): [email protected] (5.170.72.110) [00 x Italia|LightIRC]
DEBUG:asyncirc.IRCProtocol::*********** NOTICE antissh :*** REMOTECONNECT: Client connecting at rmote.server.com: [email protected] (151.34.65.18) [http://www.mibbit.com]
The text was updated successfully, but these errors were encountered: