-good{value} flag definition will cause you problems
Posted: Mon Nov 03, 2003 2:57 am
Howdy!
I just installed 1.7g2 server for the first time and found the cool HTML form which lets you interactively build a bzfs.conf file. It allows you to generate a configuration file with a value defined for number of good flags that you want to start.
I made this mistake.
I had it put in -good{75}, specifically the line had:
+f good{75} +f ST{5} +f SW{5}
The server would star, it would register with the server list and you could try to connect to it but every time you would try, it would immediatly return an error saying that there was a problem connecting to the server.
By trial and error I found that by changing this back to just:
+f good +f ST{5} +f SW{5}
all the problems went away.
I think the code needs to check for anything defined after "+f good", report it as invalid and that it is being ignored or it should report it as an invalid option and exit immediatly. One or the other.
I just installed 1.7g2 server for the first time and found the cool HTML form which lets you interactively build a bzfs.conf file. It allows you to generate a configuration file with a value defined for number of good flags that you want to start.
I made this mistake.
I had it put in -good{75}, specifically the line had:
+f good{75} +f ST{5} +f SW{5}
The server would star, it would register with the server list and you could try to connect to it but every time you would try, it would immediatly return an error saying that there was a problem connecting to the server.
By trial and error I found that by changing this back to just:
+f good +f ST{5} +f SW{5}
all the problems went away.
I think the code needs to check for anything defined after "+f good", report it as invalid and that it is being ignored or it should report it as an invalid option and exit immediatly. One or the other.