Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: anope hardcodes ipaddres  (Read 3531 times)

0 Members and 1 Guest are viewing this topic.

hardwarewizard

  • Anope User
  • Offline Offline
  • Posts: 22
anope hardcodes ipaddres
« on: November 27, 2010, 05:30:40 PM »

why does anope hardcode my ipaddress in its core file???
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: anope hardcodes ipaddres
« Reply #1 on: November 27, 2010, 05:34:23 PM »

explain...
Logged

hardwarewizard

  • Anope User
  • Offline Offline
  • Posts: 22
Re: anope hardcodes ipaddres
« Reply #2 on: November 27, 2010, 05:38:22 PM »

when i grep for my ip address the core file gets a match.

i was just wondering why it would be hardcoded.
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: anope hardcodes ipaddres
« Reply #3 on: November 27, 2010, 05:50:52 PM »

I assume you mean an actual core.blah file, this is created when a program ends unexpectedly, eg, crashes and is used for debugging, so the IP address would be stored there as part of that info.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: anope hardcodes ipaddres
« Reply #4 on: November 28, 2010, 12:42:25 PM »

As would anything else Anope currently holds in memory. It's basically a dump of the currently used memory, including function calls and such to allow debugging the reason why it crashed.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up