Re: hfaxd filling my logs with `-> Got a: 127.0.0.1[13] (how to stop this??)
Aidan Van Dyk <[email protected]> Fri, 27 Oct 2017 12:33:56 -0400
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Message-ID | <CAC_2qU9DUAxZ9VWTm=Z7g0xW-RV9tHQ1exFK1Sau+dh2sEkRtw@mail.gmail.com> |
Looks like one server is capturing "LOG_DEBUG" to system logs, and the other isn't. The "Got a: <ip/port>" is a LOG_DEBUG message on in the EPTR command. There are a smattering of LOG_DEBUG syslogs in the code, those could probably be removed. If you had hfaxd's ServerTracing set to something more chatty (such as 0x33) you would probably see who (network wise) had connected and issued the EPRT command. a. On 27 October 2017 at 00:09, David C. Rankin <[email protected] > wrote: > All, > > I have a bizarre issue with hfaxd. When it is started, every 20 seconds, > the > process kills itself and restarts and fills the log with 4-lines of text > about > "`-> Got a: 127.0.0.1[13]". > > (which prompts the question "Well, just what the hell did it get?") > > Here is a typical server startup (systemctl start hfaxd): > > Oct 26 22:54:30 phoinix systemd[1]: Starting Hyla FAX client-server... > Oct 26 22:54:30 phoinix systemd[1]: Started Hyla FAX client-server. > Oct 26 22:54:30 phoinix HylaFAX[26133]: Listening to 0.0.0.0:4559 > Oct 26 22:54:30 phoinix HylaFAX[26133]: HylaFAX INET Protocol Server: > restarted. > Oct 26 22:54:36 phoinix HylaFAX[26138]: `-> Got a: 127.0.0.1[13] > Oct 26 22:54:36 phoinix HylaFAX[26138]: `-> Got a: 36075[19] > Oct 26 22:54:36 phoinix HylaFAX[26138]: `-> Got a: 127.0.0.1[13] > Oct 26 22:54:36 phoinix HylaFAX[26138]: `-> Got a: 55637[19] > Oct 26 22:54:56 phoinix HylaFAX[26143]: `-> Got a: 127.0.0.1[13] > Oct 26 22:54:56 phoinix HylaFAX[26143]: `-> Got a: 45795[19] > Oct 26 22:54:56 phoinix HylaFAX[26143]: `-> Got a: 127.0.0.1[13] > Oct 26 22:54:56 phoinix HylaFAX[26143]: `-> Got a: 59829[19] > Oct 26 22:55:16 phoinix HylaFAX[26151]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:16 phoinix HylaFAX[26151]: `-> Got a: 57587[19] > Oct 26 22:55:16 phoinix HylaFAX[26151]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:16 phoinix HylaFAX[26151]: `-> Got a: 42495[19] > Oct 26 22:55:36 phoinix HylaFAX[26160]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:36 phoinix HylaFAX[26160]: `-> Got a: 41375[19] > Oct 26 22:55:36 phoinix HylaFAX[26160]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:36 phoinix HylaFAX[26160]: `-> Got a: 37991[19] > Oct 26 22:55:56 phoinix HylaFAX[26167]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:56 phoinix HylaFAX[26167]: `-> Got a: 54067[19] > Oct 26 22:55:56 phoinix HylaFAX[26167]: `-> Got a: 127.0.0.1[13] > Oct 26 22:55:56 phoinix HylaFAX[26167]: `-> Got a: 40943[19] > ... > (this goes on forever...) > > My /lib/fax/hfaxd.conf contains only the default 2 lines: > > LogFacility: daemon # syslog facility (want this 1st)) > ServerTracing: 0x001 # just server operation > > The funny thing is I have 2 hylafax servers at 2 different location, both > identically configured, both on Archlinux, both with USR Courier > v.everything > modems, both on ttyS0, and on one machine, I get no such filling of the > log. > In fact on the (good) machine, I never get any of those messages: > > # sc status hfaxd > ● hfaxd.service - Hyla FAX client-server > Loaded: loaded (/usr/lib/systemd/system/hfaxd.service; enabled; vendor > preset: disabled) > Active: active (running) since Mon 2017-10-23 01:25:17 CDT; 3 days ago > Process: 513 ExecStart=/usr/lib/fax/hfaxd -i hylafax (code=exited, > status=0/SUCCESS) > Main PID: 528 (hfaxd) > Tasks: 1 (limit: 4915) > CGroup: /system.slice/hfaxd.service > └─528 /usr/lib/fax/hfaxd -i hylafax > > Oct 23 01:25:17 valkyrie systemd[1]: Starting Hyla FAX client-server... > Oct 23 01:25:17 valkyrie HylaFAX[528]: Listening to 0.0.0.0:4559 > Oct 23 01:25:17 valkyrie HylaFAX[528]: HylaFAX INET Protocol Server: > restarted. > Oct 23 01:25:17 valkyrie systemd[1]: Started Hyla FAX client-server. > > (that's 3 days since the last kernel update and not a single "`-> Got a: > 127.0.0.1[13]" message) > > On the other machine (the bad one), I get those 4-lines every 20 seconds. > What could be causing hfaxd to think it is getting 'a'? (I know it isn't > getting 'a', but "`-> Got a: 127.0.0.1.." comes from somewhere) It just > seems > horribly wasteful for something to be continually restarting hfaxd and > filling > the logs with 17280+ lines of logs every day. > > What could be causing this? > > -- > David C. Rankin, J.D.,P.E. > > > ____________________ HylaFAX(tm) Users Mailing List _______________________ > To subscribe/unsubscribe, click http://lists.hylafax.org/cgi- > bin/lsg2.cgi > On UNIX: mail -s unsubscribe [email protected] < > /dev/null > *To learn about commercial HylaFAX(tm) support, mail [email protected].* > >