]>
jfr.im git - irc/ircd-hybrid/libopm.git/log
dg [Thu, 15 Jan 2004 17:30:13 +0000 (17:30 +0000)]
And don't forget to add inet_aton back into socks5 as well..
dg [Thu, 15 Jan 2004 17:26:14 +0000 (17:26 +0000)]
Reintroduce inet_aton, which disappeared for some reason, here:
http://cvs.blitzed.org/libopm/src/proxy.c.diff?r1=1.13&r2=1.14
Thanks go to ezequiel at Alternativa.NET.AR for spotting this..
dgl [Wed, 26 Nov 2003 21:26:29 +0000 (21:26 +0000)]
libopm doesn't ignore sigpipe for us, bopm does this but bopchecker.pl
has never done it, haven't seen a problem before today though..
strtok [Fri, 27 Jun 2003 18:51:02 +0000 (18:51 +0000)]
Don't elements-- twice
andy [Sun, 22 Jun 2003 14:19:41 +0000 (14:19 +0000)]
Ignore libtool.
andy [Sun, 22 Jun 2003 14:18:49 +0000 (14:18 +0000)]
These shouldn't be in CVS.
andy [Sun, 22 Jun 2003 13:19:40 +0000 (13:19 +0000)]
Mostly pedantry.
andy [Sat, 21 Jun 2003 04:31:37 +0000 (04:31 +0000)]
Reopen logfiles on receipt of SIGUSR1.
An example contrib log rotation script which uses this.
andy [Sat, 21 Jun 2003 04:27:32 +0000 (04:27 +0000)]
Oops, missed one USE_VAR.
andy [Fri, 20 Jun 2003 04:55:14 +0000 (04:55 +0000)]
Fix a gcc3-ism.
andy [Fri, 20 Jun 2003 04:18:44 +0000 (04:18 +0000)]
LOTS of tidying up to compile with no warnings.
andy [Fri, 20 Jun 2003 04:12:35 +0000 (04:12 +0000)]
Tidy up fascist CFLAGS again.
strtok [Thu, 19 Jun 2003 23:18:52 +0000 (23:18 +0000)]
Oops, don't need OPM_NODE_T *p anymore...
strtok [Thu, 19 Jun 2003 23:13:20 +0000 (23:13 +0000)]
list_remove no longer searches for node in list
andy [Thu, 19 Jun 2003 16:34:45 +0000 (16:34 +0000)]
Tidy up the fascist CFLAGS and add an option for -Werror.
strtok [Mon, 16 Jun 2003 21:03:01 +0000 (21:03 +0000)]
Fixed mystery memory use, was an fd_use problem.
andy [Thu, 12 Jun 2003 05:51:14 +0000 (05:51 +0000)]
As per patch supplied by Christopher Bongaarts:
http://lists.blitzed.org/pipermail/bopm/2003-June/001282.html
Portability fixes for Sun Forte compiler:
- No C++ comments
- No inline
- Don't initialize values of an auto variable from members of a struct
passed via pointer
NOTE: I have not added in any of the firedns parts yet - we need to think
about that some more.
dgl [Mon, 2 Jun 2003 23:57:32 +0000 (23:57 +0000)]
gcc 3 prototype warning fixes.
dgl [Sun, 4 May 2003 02:54:49 +0000 (02:54 +0000)]
s// missing
andy [Tue, 8 Apr 2003 02:33:12 +0000 (02:33 +0000)]
Allow use of UNKNOWN as a protocol to be shorthand for all protocols.
andy [Tue, 8 Apr 2003 02:13:53 +0000 (02:13 +0000)]
Oops, forgot the $_
andy [Tue, 8 Apr 2003 02:10:55 +0000 (02:10 +0000)]
Updated ports and other config.
dgl [Wed, 2 Apr 2003 17:38:02 +0000 (17:38 +0000)]
remove debug print.. oops
dgl [Wed, 2 Apr 2003 17:37:11 +0000 (17:37 +0000)]
Add a default option, meaning default ports are not scanned when extra ports
are provided unless this option is set (different to previous behaviour).
andy [Wed, 12 Feb 2003 17:31:52 +0000 (17:31 +0000)]
Fix <check> typo, add a bit about fdstat.
dgl [Sat, 8 Feb 2003 22:41:30 +0000 (22:41 +0000)]
- Added perldoc style docs to OPM.pm, not really complete docs but used in
conjuction with libopm-api.txt they provide enough detail.
- Added opm_end and opm_endscan ($scan->end and $scan->endscan) to the perl
API.
- Typo fixed opm_scanend -> opm_endscan in libopm-api.txt.
strtok [Wed, 5 Feb 2003 20:47:17 +0000 (20:47 +0000)]
libopm.c: Extra checks for OPM_STATE_CLOSED to prevent multiple open proxy
callbacks on the same connection.
andy [Sun, 2 Feb 2003 22:59:23 +0000 (22:59 +0000)]
Remove goat/faldo. Regenerate autotools.
andy [Mon, 20 Jan 2003 02:31:10 +0000 (02:31 +0000)]
Needed by autotools.
andy [Mon, 20 Jan 2003 02:12:45 +0000 (02:12 +0000)]
Better socket libs check from Warren Young <redacted>.
Header reorganisation for benefit of some solaris machines..
dgl [Tue, 14 Jan 2003 23:31:20 +0000 (23:31 +0000)]
scan all protocols + extra scans by default
andy [Sat, 11 Jan 2003 06:18:42 +0000 (06:18 +0000)]
src/snprintf.[ch]:
Added Mark Martinec's replacement (v)snprintf from
http://www.ijs.si/software/snprintf/ for systems without (v)snprintf
(or with a broken one)
src/compat.c:
Renamed inet_aton to libopm_inet_aton to avoid clashes.
src/compat.h:
On systems without inet_aton, use libopm_inet_aton.
On systems without (or with broken) (v)snprintf, use
libopm_snprintf (from snprintf.c).
On systems without inet_pton, use libopm_inetpton (from inet.c).
src/inet.c:
For now made inetntoa() static, as it is used nowhere else but
this file.
Commented out inetntop() -- it doesn't seem to be used anywhere?
Removed bopm_gethostbyname() -- it wasn't used anywhere.
src/proxy.c:
No longer needs to include stdio.h.
src/test.c:
Needs to include compat.h and be linked with compat.o.
andy [Thu, 9 Jan 2003 17:30:18 +0000 (17:30 +0000)]
Chekc for working snprintf (but do nothing about it yet). This macro came
from http://www.gnu.org/software/ac-archive/ac_func_snprintf.html and is
copyright RĂ¼diger Kuhlmann <redacted>.
andy [Thu, 9 Jan 2003 15:08:15 +0000 (15:08 +0000)]
That needs to be inet_pton.
andy [Thu, 9 Jan 2003 14:16:41 +0000 (14:16 +0000)]
Add a clean target for docs/Makefile
andy [Thu, 9 Jan 2003 14:13:49 +0000 (14:13 +0000)]
link test programs with compat.o otherwise they won't compile if they need
stuff from it.
strtok [Wed, 8 Jan 2003 07:13:50 +0000 (07:13 +0000)]
Extra documentation concerning the functionality of opm_end and callbacks
strtok [Mon, 6 Jan 2003 21:02:07 +0000 (21:02 +0000)]
Updated ChangeLog
andy [Mon, 6 Jan 2003 20:40:27 +0000 (20:40 +0000)]
Forgot Makefile.in
andy [Mon, 6 Jan 2003 19:22:48 +0000 (19:22 +0000)]
More ports.
andy [Mon, 6 Jan 2003 12:49:01 +0000 (12:49 +0000)]
And ignore those.
andy [Mon, 6 Jan 2003 12:48:21 +0000 (12:48 +0000)]
Start of doxygen stuff.
andy [Sun, 5 Jan 2003 20:22:17 +0000 (20:22 +0000)]
Install opm_ headers, as requested by TimeMr14C and jv.
strtok [Sun, 5 Jan 2003 20:07:43 +0000 (20:07 +0000)]
Added ChangeLog
andy [Sat, 4 Jan 2003 04:49:21 +0000 (04:49 +0000)]
Updated for how we tend to be using this on Blitzed.
strtok [Fri, 3 Jan 2003 06:18:09 +0000 (06:18 +0000)]
memset sockaddr for bind()
dgl [Thu, 2 Jan 2003 01:14:47 +0000 (01:14 +0000)]
If protocols are provided only scan them, rather than doing everything + them.
Also actually accept , in the input, as it was documented before..
strtok [Sun, 22 Dec 2002 21:53:51 +0000 (21:53 +0000)]
Don't set fd close on exec
strtok [Sun, 22 Dec 2002 21:41:13 +0000 (21:41 +0000)]
Set FD closed on exec
andy [Mon, 16 Dec 2002 19:46:53 +0000 (19:46 +0000)]
Missed one instance of inetpton()
andy [Mon, 16 Dec 2002 17:53:13 +0000 (17:53 +0000)]
Add configure check for inet_pton.
Rename inetpton() in inet.c to inet_pton() and only use it if build host
does not have its own inet_pton().
strtok [Mon, 16 Dec 2002 01:22:11 +0000 (01:22 +0000)]
Put in ufds_size file descriptors instead of 1024
strtok [Mon, 16 Dec 2002 01:03:44 +0000 (01:03 +0000)]
Changed timeout to 0 seconds!
strtok [Sun, 15 Dec 2002 03:02:45 +0000 (03:02 +0000)]
libopm.c: Grow ufds (poll array) as needed, rather than hard coded 1024 limit
strtok [Wed, 11 Dec 2002 00:34:52 +0000 (00:34 +0000)]
Added opm_scanend and opm_end functions to API
strtok [Tue, 10 Dec 2002 00:44:57 +0000 (00:44 +0000)]
Added OPM_TYPE_STRINGLIST
Allow multiple entries for TARGET_STRING
strtok [Sat, 7 Dec 2002 05:28:33 +0000 (05:28 +0000)]
Removed inet.h from opm.h. There was no reason for this inclusion.
andy [Mon, 2 Dec 2002 21:35:14 +0000 (21:35 +0000)]
Update autotools.
andy [Mon, 2 Dec 2002 21:34:39 +0000 (21:34 +0000)]
*** empty log message ***
strtok [Tue, 12 Nov 2002 22:02:25 +0000 (22:02 +0000)]
Added data element to OPM_REMOTE_T
dgl [Sun, 10 Nov 2002 11:56:40 +0000 (11:56 +0000)]
AnalogX proxy
(http://www.analogx.com/contents/download/network/proxy.htm)
seems to use port 6588
strtok [Fri, 8 Nov 2002 02:56:03 +0000 (02:56 +0000)]
Added proper GPL to hybrid copyright
strtok [Thu, 7 Nov 2002 21:09:33 +0000 (21:09 +0000)]
Added (void **) cast to MyFree #define to avoid warning
strtok [Thu, 7 Nov 2002 20:19:06 +0000 (20:19 +0000)]
Added code to MyFree to NULL a pointer after freeing it
strtok [Thu, 7 Nov 2002 19:53:50 +0000 (19:53 +0000)]
Added != NULL check on MyFree as to avoid having to check for NULL BEFORE MyFree is called everytime
strtok [Thu, 7 Nov 2002 01:37:33 +0000 (01:37 +0000)]
Added SENDBUFLEN and READBUFLEN.
dgl [Thu, 7 Nov 2002 00:38:56 +0000 (00:38 +0000)]
Added some more http ports and put the adding code in a loop as
generally http post and http are the same ports.
dgl [Thu, 7 Nov 2002 00:31:36 +0000 (00:31 +0000)]
It does help if you test after changing from using a : to a space as the
seperator
----------------------------------------------------------------------
Enter Log. Lines beginning with `CVS:' are removed automatically
Committing in . CVS: CVS: Modified Files: CVS: bopchecker.pl
----------------------------------------------------------------------
dgl [Thu, 7 Nov 2002 00:26:06 +0000 (00:26 +0000)]
Make use of the opm_remote_addtype function by adding support for
scanning additional ports in bopchecker.pl
Changed names to be consistant with rest of libopm
Cisco -> ROUTER
POST -> HTTPPOST
and all uppercase names.
strtok [Wed, 6 Nov 2002 07:36:35 +0000 (07:36 +0000)]
Fixed memory leaks in config.c
strtok [Wed, 6 Nov 2002 07:12:20 +0000 (07:12 +0000)]
Fixed a bug where a freed conn was possibly used in the scan end code
strtok [Tue, 5 Nov 2002 23:03:55 +0000 (23:03 +0000)]
Added note about the void * argument to the callback functions in the API documentation
strtok [Tue, 5 Nov 2002 21:42:20 +0000 (21:42 +0000)]
Added opm_remote_addtype function
dgl [Sat, 2 Nov 2002 11:18:20 +0000 (11:18 +0000)]
10 seconds timeout isn't always quite enough..
dgl [Thu, 31 Oct 2002 20:07:15 +0000 (20:07 +0000)]
lowered fdlimit
strtok [Mon, 28 Oct 2002 06:34:13 +0000 (06:34 +0000)]
Removed TYPE_CUSTOM from perl module.
Added TYPE_HTTPPOST to perl module.
strtok [Mon, 28 Oct 2002 06:06:07 +0000 (06:06 +0000)]
Added dg's post proxy detection code. Tested on webcache.bt.net
strtok [Mon, 28 Oct 2002 05:49:39 +0000 (05:49 +0000)]
Added assert on calloc fail
strtok [Mon, 28 Oct 2002 01:20:22 +0000 (01:20 +0000)]
Cleaned up write_function/read_function and added read_function functionality.
strtok [Mon, 28 Oct 2002 01:13:33 +0000 (01:13 +0000)]
Removed libopm_addcustom and custom protocol support.
strtok [Sun, 27 Oct 2002 21:52:04 +0000 (21:52 +0000)]
Added comment for opm_active
strtok [Sun, 27 Oct 2002 21:45:16 +0000 (21:45 +0000)]
Fixed bug where on timeouts, libopm did a callback after freeing the conn struct! (found by dg)
dgl [Sun, 27 Oct 2002 20:07:49 +0000 (20:07 +0000)]
removed remote callbacks
strtok [Sun, 27 Oct 2002 19:20:18 +0000 (19:20 +0000)]
Removed remote struct callbacks, now only scanner-wide callbacks are
used.
dgl [Sun, 27 Oct 2002 15:35:12 +0000 (15:35 +0000)]
return textual versions of the protocols (and http post scanning in
bopchecker - when custom protocols work that is)
dgl [Sun, 27 Oct 2002 14:45:34 +0000 (14:45 +0000)]
ignore Makefile too
dgl [Sun, 27 Oct 2002 14:45:15 +0000 (14:45 +0000)]
port wrong around around
dgl [Sun, 27 Oct 2002 14:17:06 +0000 (14:17 +0000)]
OPM/bopchecker.pl:
Added bopchecker.pl script (if you don't want to install the module to
the whole system you can test it with):
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" bopchecker.pl
src/libopm.c:
OPM/OPM.xs:
Added opm_active to return number of active scans (so bopchecker can
exit when it has finished).
src/libopm.c:
Cleaned up read() code so it didn't rely on timeout when the tcp port is
closed.
dgl [Sat, 26 Oct 2002 19:10:06 +0000 (19:10 +0000)]
The opm perl module!
dgl [Sat, 26 Oct 2002 18:51:03 +0000 (18:51 +0000)]
patch to add data as param for callbacks..
strtok [Wed, 16 Oct 2002 01:19:15 +0000 (01:19 +0000)]
Added logic to libopm_proxy_custom that finished parsing if the target string is larger than 511
characters
strtok [Tue, 15 Oct 2002 20:00:37 +0000 (20:00 +0000)]
Initialize id and format to NULL in the built in protocol table
strtok [Tue, 15 Oct 2002 19:55:19 +0000 (19:55 +0000)]
Added custom protocol support
strtok [Sat, 12 Oct 2002 21:28:41 +0000 (21:28 +0000)]
Added default config settings
strtok [Tue, 24 Sep 2002 00:41:28 +0000 (00:41 +0000)]
Abort scans where there are no protocols defined (bug found by dg).
In check_queue use LIST_SIZE of the individual connections list instead of the global protocols
list when determining the projected file descriptor size
strtok [Sun, 22 Sep 2002 03:42:53 +0000 (03:42 +0000)]
Fixed 'opm_remote_free' section header
strtok [Sat, 21 Sep 2002 23:24:56 +0000 (23:24 +0000)]
Removed addr from OPM_REMOTE_T listing in api doc
strtok [Sat, 21 Sep 2002 23:10:39 +0000 (23:10 +0000)]
Added IPV4 Binding functionality
Added OPM_ERR_NOFD (CALLBACK_ERROR)
Added OPM_ERR_BIND (CALLBACK_ERROR)
strtok [Sat, 21 Sep 2002 22:33:18 +0000 (22:33 +0000)]
Moved OPM_REMOTE_T::addr to OPM_SCAN_T::addr
Added OPM_ERR_BADADDR on return of opm_scan if the IP is bad
strtok [Sat, 21 Sep 2002 06:59:19 +0000 (06:59 +0000)]
Added proxy types to API doc
Fixed > on email in API doc