Userfriendly

Author Topic: Logging  (Read 2945 times)

Offline abaldish

  • First timer
  • *
  • Posts: 8
    • View Profile
Logging
« on: January 28, 2006, 08:41:50 pm »
Is there a way to enable logging for the ircd, I have been getting attacked by bots from everywhere, and using sqline's but notice they still are trying to connect. but have no way of seeing the ip's these are coming from to file a complaint with the ISP for the address's. Looked via all the conf files and template and can't find where to start the log for the connections trying to get on. any help?

Offline TheOtherCat

  • First timer
  • *
  • Posts: 2
    • View Profile
Re: Logging
« Reply #1 on: January 28, 2006, 09:08:58 pm »
I'm also interested in logging, in my case I'd like to log every DCC transfer on the server.

Offline ShadowMaster

  • Chief Codemonkey
  • Administrator
  • ********
  • Posts: 3136
    • View Profile
    • http://www.shadow-realm.org/
Re: Logging
« Reply #2 on: January 29, 2006, 02:47:11 am »
Logging is one of the things improved in the upcoming release 3.0.2. If you are feeling confident you can grab the latest 3.0 branch SVN copy using the instructions on the main site. I can however not remember if the connection logging occurs before or after the bans are checked, so you might have to modify the code slightly.

The problem with logging before bans are checked is that it uses resources, and as such anyone hammering the server can actually bring the server more or less to its knees, especially if it is done badly.

An alternative approach would be to use a third party module to Anope, Neostats or IRC Defender to do the matching after the connection is complete and then have it place the ban on IP.

I'll need to give the logging a little bit of thought however and it might appear as a feature in the next version as its fairly trivial to do.

As for logging DCC transfers thats not really possible. The only thing that can be logged is the initial requests as they are the only thing that pass over the server itself, the rest is direct client to client (DCC). There is also the privacy issue to consider since the DCC request is actually private messages between clients, and as such im afraid i can't be of any help or condone such logging.
Search before posting - No support by PM or IM

Offline BarkerJr

  • Here a lot
  • ***
  • Posts: 97
    • View Profile
    • Hollimyer IRC Network
Re: Logging
« Reply #3 on: January 29, 2006, 03:39:16 am »
Wow, no kidding.  I would not want to be in the position of being seopena'd for logs of all f the DCC transfers on my network.

Offline erich

  • Needs to get out more
  • ****
  • Posts: 132
    • View Profile
Re: Logging
« Reply #4 on: January 30, 2006, 11:14:17 am »
Wow, no kidding.  I would not want to be in the position of being seopena'd for logs of all f the DCC transfers on my network.

Only really a problem with XDCC friendly networks I think.
Network Founder @ After-All.org
http://www.After-All.org

Offline BarkerJr

  • Here a lot
  • ***
  • Posts: 97
    • View Profile
    • Hollimyer IRC Network
Re: Logging
« Reply #5 on: February 04, 2006, 04:23:40 pm »
I would disagree.  I send files to friends that I'd rather keep private, too.

Offline erich

  • Needs to get out more
  • ****
  • Posts: 132
    • View Profile
Re: Logging
« Reply #6 on: February 10, 2006, 11:28:26 am »
yea, but that surely doesn't happen 1000 times a day like for XDCC networks.
Network Founder @ After-All.org
http://www.After-All.org

 

anything