Matti Aarnio
4005767273
initial bits on incoming client traffic accounting (and uplink, too)
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@250 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-26 12:31:42 +00:00
Matti Aarnio
dc2862d23d
initial bits on incoming client traffic accounting (and uplink, too)
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@249 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-26 12:30:54 +00:00
Matti Aarnio
adfee3b7a1
Uplink connection address resolving failure is a non-fatal thing.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@248 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-26 10:25:44 +00:00
Heikki Hannikainen
6f166f642e
Just a cleanup, extra ;
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@247 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 18:20:48 +00:00
Heikki Hannikainen
b669fcb879
Removed *_load() functions completely, they're dangerous if given out,
...
someone will enable them anyway.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@246 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 18:06:54 +00:00
Matti Aarnio
89c05b3bef
port specific accounter cleanup
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@245 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 15:34:50 +00:00
Matti Aarnio
f6b6da2b7f
log sanity cleanup
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@244 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 15:20:35 +00:00
Matti Aarnio
5808168138
removed debugging log messages
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@243 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 15:12:34 +00:00
Matti Aarnio
12563910cf
fixes on sockaddr presentation; now v6 service port reports v4mapped addresses as if they are v4.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@242 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 15:10:56 +00:00
Matti Aarnio
99e01ca3a9
fix addrinfo passing on listen/udp-client -socket creation
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@241 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 13:17:56 +00:00
Matti Aarnio
c564a14094
missing t-filter type-char W
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@240 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 13:01:39 +00:00
Matti Aarnio
7d615e287d
Multiple UDP "client" sockets supported, one for each listening TCP socket.
...
Listening TCP port specific usage accounters, and places for byte/record
accounters (not yet used.)
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@239 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-25 10:45:55 +00:00
Matti Aarnio
4084bf5d23
More on support of UDP client protocol
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@238 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-24 20:08:33 +00:00
Matti Aarnio
12df35afe2
Support also UDP client protocol
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@237 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-24 18:04:21 +00:00
Matti Aarnio
2995f6ffaa
UDP support on test tool
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@236 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-24 03:57:02 +00:00
Matti Aarnio
b2561d6d0f
UDP client support, sort of. Reference documentation on it is unclear...
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@235 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-24 03:44:09 +00:00
Matti Aarnio
b1c885b9d8
#if developer stuff out of product
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@234 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-23 21:38:23 +00:00
Matti Aarnio
54cd900807
Dump and restore historydb, wx-db, and entrycall-db upon shutdown, and upon startup respectively.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@233 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-23 18:31:50 +00:00
Heikki Hannikainen
31c12cbdec
More testing packets
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@232 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-23 00:18:42 +00:00
Heikki Hannikainen
6e0cf83335
Added the Ham::APRS::IS module for testing. It's heavily cleaned up
...
from the tools/* scripts, documented, and reports errors more nicely.
Includes a connection retry logic (needed when the software takes
some time to start up). Added a login test, too.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@231 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-23 00:11:58 +00:00
Heikki Hannikainen
393d63c876
Moved test perl modules to tests/libperl
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@230 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 18:18:10 +00:00
Matti Aarnio
c41f38222f
gauges on entrycall and wx databases, comment cleanup
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@229 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:30:54 +00:00
Heikki Hannikainen
7c66279474
Changed runproduct to use an OO interface, allowing multiple copies to be run
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@228 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:30:29 +00:00
Heikki Hannikainen
40a8a9e162
More basic aprsc config
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@227 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:29:58 +00:00
Heikki Hannikainen
f5b4f783ba
+ javaaprssrvr config file
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@226 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:29:43 +00:00
Matti Aarnio
8e0053539e
Explitely flag INPORT functionality on a port, alike UPLINK
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@225 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 17:27:53 +00:00
Matti Aarnio
01f5b9d3f7
uplink simulator separated from normal processing, cleaner controls
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@224 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 15:15:00 +00:00
Matti Aarnio
7d861f9106
Use pthread's own rwlock, if available
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@223 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:42:18 +00:00
Heikki Hannikainen
d88cb613d5
Disable uplink by default
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@222 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:23:53 +00:00
Heikki Hannikainen
2cbd724d77
Disable uplink and remove myhostname
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@221 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:12:17 +00:00
Heikki Hannikainen
0e81f59e7c
Don't overwrite myadmin/myemal with "undefined-something"
...
when reading config - only replace the existing values
if new values were successfully read from configuration file.
Set new_mycall to NULL after freeing it to avoid double-free,
so that we won't crash on the second reconfiguration.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@220 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:08:20 +00:00
Heikki Hannikainen
b4309a525e
Removed unnecessary myhostname config directive.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@219 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 14:02:34 +00:00
Heikki Hannikainen
cc46050c61
Tune logging at startup/shutdown/reconfigure.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@218 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 12:45:14 +00:00
Heikki Hannikainen
de6950fe1e
Do not restart threads if the number of workers has not changed.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@217 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 12:44:30 +00:00
Matti Aarnio
c5f340f1b4
minor fixes on internal APRS::IS module
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@216 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:53:29 +00:00
Heikki Hannikainen
6ce9dfa388
Some initial work for a test suite.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@215 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:36:43 +00:00
Heikki Hannikainen
80a20cbfdf
Remove references to hemserv, replace with aprsc
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@214 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:34:57 +00:00
Heikki Hannikainen
c056d92b26
Quit with error 1 if pid file write fails.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@213 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:34:35 +00:00
Heikki Hannikainen
9010a8deee
Don't shout at the user in the log file (FileLimit), and give a hint about what's the problem.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@212 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 10:28:50 +00:00
Matti Aarnio
be9ea9d8bd
q//i and t/w filter infrastructure support.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@211 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 05:32:40 +00:00
Matti Aarnio
181abd575c
Some notes on used key hashing algorithm
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@210 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 04:59:36 +00:00
Heikki Hannikainen
7d0a884e6f
Fixed APRS parsing logic back to the correct FAP behaviour (don't go
...
to the "When all else fails" path unless the packet was really not
detected by the first character). Added DEBUG_LOG() macro for logging
when DEBUG_PARSE_APRS is defined.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@209 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-22 00:24:27 +00:00
Heikki Hannikainen
04dfb2f6af
Implemented APRS item packet parsing.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@208 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 23:49:29 +00:00
Heikki Hannikainen
8516648f51
Parse APRS objects. Fixed latitude range check to check
...
for lat < -90.0 || lat > 90.0 instead of lat < 90 || lat > 90...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@207 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 23:25:44 +00:00
Heikki Hannikainen
29a01e8696
Hey, really do point qconst_start inside pb->data instead of the original ibuf.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@206 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 17:42:36 +00:00
Heikki Hannikainen
7237ce7f88
Point pb->qconst_start where it belongs - to the q in the Q construct.
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@205 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 17:29:34 +00:00
Matti Aarnio
24ccaefda9
memcmp usage optimization didn't succeed, use simple source code
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@204 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 16:47:37 +00:00
Matti Aarnio
21e864f277
filter_entrycall database, q-filter, regular calling of the filter_entrycall_cleanup
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@203 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 14:54:20 +00:00
Matti Aarnio
ce661273be
dupecheck_cleanup routine, whitespace indentin
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@202 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 14:50:52 +00:00
Matti Aarnio
7254b3cda5
Keyhash usage streamlining, historydb_cleanup routine
...
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@201 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2008-03-21 14:39:04 +00:00