Hi Marc!
Am 13.04.2008 um 19:38 schrieb Marc Freimann:
I can´t reach ngircd from the internet when I use pf at freebsd. All other services working fine without problems. With command "tcpdump -i pflog0" I received the following errormessage: 10:46:11.913489 IP pD96FFF32.dip.t-dialin.net.7238 > test.ircd: tcp 24 [bad hdr length 0 - too short, < 20]
I tested the connection with 3 different irc clients at 2 different internet connection with the same result.
Are the realy differents between "normal" packets (for example http or ssh and irc packets about size?
No, there should be no differences. I'm not familiar with FreeBSD pf, but most probably your setup isn't working as intended.
When I start ngircd by restart freebsd (rc.conf: ngircd_enable=YES) I always received the errormessage: Can´t change working directory to "/nonexistent": No such file or directory". At this situation, the ChrootDir parameter is not active in ngircd.conf.
ngIRCd changes its working directory to the one of the user it is configured to running with. See parameter "ServerUID" in ngircd.conf. The default is "nobody", and it looks like /nonexistent is configured as its home dirctory on FreeBSD 7 -- which does not exist.
What can I do ?
- change the home directory of the user "nobody", - or better: create/use an other user for running ngIRCd an set ServerUID.
When I activate Chrootdir /var/empty (defaultsetting) the irc server don´t work. (fatal error)
What can I do ?
A chroot directory must be prepared to run daemons: the configration file, shared libraries, and eventually more must be reachable inside the chroot base directory.
What is the best nickserv for ngircd ? Is there a howto about implement this nickserv to ngircd
ngIRCd doesn't support a special services interface, so as far as I know, the are none.
Regards Alex