]>
jfr.im git - irc/ircd-hybrid/libopm.git/log
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
strtok [Sat, 21 Sep 2002 05:50:26 +0000 (05:50 +0000)]
Better describing of OPM_ERR_T codes in libopm-api.txt
strtok [Sat, 21 Sep 2002 05:09:55 +0000 (05:09 +0000)]
Updated libopm-api.txt
strtok [Sat, 21 Sep 2002 03:31:06 +0000 (03:31 +0000)]
Renamed malloc wrappers with libopm_ prefix and added #defines for MyMalloc and MyFree
strtok [Sat, 21 Sep 2002 02:41:23 +0000 (02:41 +0000)]
Prefixed proxy functions with libopm_
strtok [Sat, 21 Sep 2002 01:42:51 +0000 (01:42 +0000)]
Prefixed functions in libopm.c and list.c with libopm_
Made certain functions (which should be) static
strtok [Sat, 21 Sep 2002 00:50:03 +0000 (00:50 +0000)]
Changed all config.c functions to have a libopm_ prefix
strtok [Sat, 14 Sep 2002 22:59:43 +0000 (22:59 +0000)]
Added libopm-api.txt
strtok [Sat, 14 Sep 2002 21:58:39 +0000 (21:58 +0000)]
Use opm_callback on test.c instead of opm_remote_callback
strtok [Sat, 14 Sep 2002 20:44:24 +0000 (20:44 +0000)]
Restructured callback code to use an array.
strtok [Sat, 14 Sep 2002 02:07:57 +0000 (02:07 +0000)]
Removed printf's and comments used to debug
strtok [Sat, 14 Sep 2002 02:04:49 +0000 (02:04 +0000)]
Created a scan queue, if this is working as it should be... the performance increase is
amazing.
andy [Thu, 12 Sep 2002 06:40:37 +0000 (06:40 +0000)]
Check for Nick Faldo
andy [Thu, 12 Sep 2002 06:14:59 +0000 (06:14 +0000)]
Removing a bunch of unused autoconf tests.
andy [Thu, 12 Sep 2002 06:12:12 +0000 (06:12 +0000)]
Some systems don't have inet_aton(), Solaris being a great example. Here's
our own implementation which is only included if inet_aton() is not
available.
andy [Thu, 12 Sep 2002 05:58:49 +0000 (05:58 +0000)]
If a system has strings.h, it needs to be #included wherever string.h is
#included.
andy [Thu, 12 Sep 2002 05:55:56 +0000 (05:55 +0000)]
Check for unistd.h.
andy [Thu, 12 Sep 2002 05:50:27 +0000 (05:50 +0000)]
Ignore generated binary
andy [Thu, 12 Sep 2002 05:49:49 +0000 (05:49 +0000)]
Check if we need & have sys/time.h.
andy [Thu, 12 Sep 2002 05:45:07 +0000 (05:45 +0000)]
Check HAVE_FCNTL_H.
andy [Thu, 12 Sep 2002 05:42:42 +0000 (05:42 +0000)]
Check HAVE_SYS_POLL_H.
andy [Thu, 12 Sep 2002 05:36:48 +0000 (05:36 +0000)]
Add RCS tags to all .c files. Protect standard headers with STDC_HEADERS.
Correct missing "const" in inetntop() prototype.
andy [Thu, 12 Sep 2002 04:39:29 +0000 (04:39 +0000)]
DOn't install "test" and "test_debug", they're just test programs.
andy [Thu, 12 Sep 2002 03:56:07 +0000 (03:56 +0000)]
All of these files I initially copied in. But, apparently, "You should use the
libtoolize program, rather than manually copying these files into your
package." *smacked wrist*
andy [Thu, 12 Sep 2002 03:45:07 +0000 (03:45 +0000)]
Change default install prefix to /usr/local/libopm.
Install LICENSE as well.
andy [Thu, 12 Sep 2002 03:41:18 +0000 (03:41 +0000)]
First stab at autoconf/automake/libtoolizing libopm.
andy [Thu, 12 Sep 2002 03:40:01 +0000 (03:40 +0000)]
And again -- some people will need ./configure
andy [Thu, 12 Sep 2002 03:38:03 +0000 (03:38 +0000)]
More things for CVS to ignore.
andy [Thu, 12 Sep 2002 03:33:24 +0000 (03:33 +0000)]
A little bit zealous with the cvsignore there.
andy [Thu, 12 Sep 2002 03:32:33 +0000 (03:32 +0000)]
autoconf / automake / libtool produce lots of files that need to be
ignored!
strtok [Wed, 11 Sep 2002 18:49:17 +0000 (18:49 +0000)]
Fixed various major memory leaks.
Made more NULL style changes.
strtok [Wed, 11 Sep 2002 07:47:00 +0000 (07:47 +0000)]
Added checks for NULL function callbacks.
strtok [Mon, 9 Sep 2002 20:15:29 +0000 (20:15 +0000)]
Fixed scan_free and connection_free clenaup
strtok [Mon, 9 Sep 2002 18:48:27 +0000 (18:48 +0000)]
Fix for timeouts. Only timeout a socket if it's not unestablished!
strtok [Mon, 9 Sep 2002 18:44:13 +0000 (18:44 +0000)]
Added fd_limit functionality
Added unsigned int fd_use in OPM_T
strtok [Mon, 9 Sep 2002 18:07:50 +0000 (18:07 +0000)]
Updated test.c to handle error callbacks
strtok [Mon, 9 Sep 2002 17:50:29 +0000 (17:50 +0000)]
Added setup_remote function in libopm.c to fill a remote struct with temporary connection struct information
Added OPM_CONFIG_MAX_READ and functionality
Added OPM_CONFIG_TIMEOUT and functionality
Added OPM_ERR_MAX_READ and do_error functionality
strtok [Mon, 9 Sep 2002 07:54:36 +0000 (07:54 +0000)]
Fixed timeout logic
Fixed passing of proper protocol on fun_timeout
strtok [Mon, 9 Sep 2002 07:50:03 +0000 (07:50 +0000)]
Converted all protocols to libopm (cisco, socks4, socks5 and wingate)
strtok [Mon, 9 Sep 2002 07:15:59 +0000 (07:15 +0000)]
Added check_close code
Added fun_timeout functionality
Added fun_end functionality
strtok [Mon, 9 Sep 2002 06:28:46 +0000 (06:28 +0000)]
Added callback functionality for fun_negfail
strtok [Mon, 9 Sep 2002 04:22:14 +0000 (04:22 +0000)]
Added OPM_ERR_BADPROTOCOL
strtok [Mon, 9 Sep 2002 04:19:10 +0000 (04:19 +0000)]
Renamed OPM_ERR_INVALIDKEY to BADKEY
Renamed OPM_ERR_BADADDRESS to BADVALUE
strtok [Mon, 9 Sep 2002 04:16:43 +0000 (04:16 +0000)]
Added do_error function
Added error codes for opm_config return
strtok [Mon, 9 Sep 2002 03:39:40 +0000 (03:39 +0000)]
Added do_openproxy and open proxy callback
strtok [Mon, 9 Sep 2002 03:12:24 +0000 (03:12 +0000)]
Added proxy.c/proxy.h which contains protocol specific functions
strtok [Mon, 9 Sep 2002 03:11:09 +0000 (03:11 +0000)]
Read in data from connection and check against target string
strtok [Mon, 9 Sep 2002 00:15:12 +0000 (00:15 +0000)]
Use NULL instead of 0 in list.c.