Rob Mangiafico wrote:
+peer_size = sizeof(peer);
+if(getpeername(sockd, (struct sockaddr *) &peer, &peer_size) < 0) {
+ perror("getpeername()");
+ mprintf("@Can't get socket peer name.\n");
+ return -1;
+}
+
+server.sin_addr.s_addr = peer.sin_addr.s_addr;
+
Comment
> > +peer_size = sizeof(peer);
> > +if(getpeername(sockd, (struct sockaddr *) &peer, &peer_size) < 0) {
> > + perror("getpeername()");
> > + mprintf("@Can't get socket peer name.\n");
> > + return -1;
> > +}
> > +
> > +server.sin_addr.s_addr = peer.sin_addr.s_addr;
On Fri, 23 Jul 2004, Paul Bijnens wrote:
> +peer_size = sizeof(peer);
> +if(getpeername(sockd, (struct sockaddr *) &peer, &peer_size) < 0) {
> + perror("getpeername()");
> + mprintf("@Can't get socket peer name.\n");
> + return -1;
> +}
> +
> +server.sin_addr.s_ad
In clamdscan/client.c this was changed in 0.75:
@@ -129,6 +131,15 @@
server.sin_family = AF_INET;
server.sin_port = htons(port);
+peer_size = sizeof(peer);
+if(getpeername(sockd, (struct sockaddr *) &peer, &peer_size) < 0) {
+ perror("getpeername()");
+ mprintf("@Can'
Tomasz Kojm wrote:
On Mon, 21 Jun 2004 14:04:23 -0600
Dan Egli <[EMAIL PROTECTED]> wrote:
Phil Ershler wrote:
It was when I composed this message. I just couldn't get connected
to a network until this morning. I was really quite serious. If you
want to make a contribution, contact the the Clamav t
On Mon, 21 Jun 2004 14:04:23 -0600
Dan Egli <[EMAIL PROTECTED]> wrote:
> Phil Ershler wrote:
> > It was when I composed this message. I just couldn't get connected
> > to a network until this morning. I was really quite serious. If you
> > want to make a contribution, contact the the Clamav team.
Dan Egli wrote:
Phil Ershler wrote:
It was when I composed this message. I just couldn't get connected to
a network until this morning. I was really quite serious. If you want
to make a contribution, contact the the Clamav team.
Phil
I would if I could code in C. I cann't do C to save my life.
Phil Ershler wrote:
It was when I composed this message. I just couldn't get connected to a
network until this morning. I was really quite serious. If you want to
make a contribution, contact the the Clamav team.
Phil
I would if I could code in C. I cann't do C to save my life. It has
always be
It was when I composed this message. I just couldn't get connected to a
network until this morning. I was really quite serious. If you want to
make a contribution, contact the the Clamav team.
Phil
On Jun 21, 2004, at 1:35 PM, Dan Egli wrote:
Philip Ershler wrote:
If you don't like the software,
Philip Ershler wrote:
If you don't like the software, and are unhappy about how much you paid
for it, contact the Clamav team and ask for a job.
Just my 2 cents.
Phil
First, it was just a suggestion!
Second, Fix your clock! It's not 11 pm Sunday!
--
-- Dan
---
If you don't like the software, and are unhappy about how much you paid
for it, contact the Clamav team and ask for a job.
Just my 2 cents.
Phil
On Jun 20, 2004, at 10:25 PM, Dan Egli wrote:
Fajar A. Nugraha wrote:
Dan Egli wrote:
[EMAIL PROTECTED] root]# clamdscan $PWD
/root: Can't access the fi
> >>
> > ERROR is not a file name :)
> > It's the scanning result : ERROR, which is not OK.
> >
>
> so redo the message. It looks like a file name.
>
> change /root: Can't access the file ERROR
> to
> ERROR: cannot access the file /root
>
> Simple!
>
> Or even:
>
> scanning /root: Can't ac
Fajar A. Nugraha wrote:
Dan Egli wrote:
[EMAIL PROTECTED] root]# clamdscan $PWD
/root: Can't access the file ERROR
Ok, clamd was running as clamav (I never know what daemons maintain
the 0 uid and which ones call set_uid()). But my above question
stands. Where is this ERROR file coming from?
E
Dan Egli wrote:
[EMAIL PROTECTED] root]# clamdscan $PWD
/root: Can't access the file ERROR
Ok, clamd was running as clamav (I never know what daemons maintain
the 0 uid and which ones call set_uid()). But my above question
stands. Where is this ERROR file coming from?
ERROR is not a file name
Jeremy Kitchen wrote:
On Saturday 19 June 2004 12:14 pm, Dan Egli wrote:
but I cannot scan a DIR either.
[EMAIL PROTECTED] root]# clamdscan $PWD
/root: Can't access the file ERROR
$5 says your clamd is not running as root. therefore, it doesn't (hopefully)
have access to read root's home direct
On Saturday 19 June 2004 12:14 pm, Dan Egli wrote:
> but I cannot scan a DIR either.
>
> [EMAIL PROTECTED] root]# clamdscan $PWD
> /root: Can't access the file ERROR
$5 says your clamd is not running as root. therefore, it doesn't (hopefully)
have access to read root's home directory.
-Jeremy
Steven Stern wrote:
On Sun, 20 Jun 2004 10:42:26 -0600, Dan Egli <[EMAIL PROTECTED]>
wrote:
But Mr. Stern was
saying Working-As-Designed and I'm just saying Working-As-Designed makes
no sense. If it's a bug then ok, it's a bug. I can understand that and
forgive quite easily.
"As designed" may
On Sun, 20 Jun 2004 10:42:26 -0600, Dan Egli <[EMAIL PROTECTED]>
wrote:
> But Mr. Stern was
>saying Working-As-Designed and I'm just saying Working-As-Designed makes
>no sense. If it's a bug then ok, it's a bug. I can understand that and
>forgive quite easily.
"As designed" may not be the way
Jeff Smelser wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 19 June 2004 12:14 pm, Dan Egli wrote:
Can someone kindly explain why on earth you would write a scanner that
only scans ONE FILE? The whole point of clamdscan is it's supposed to be
faster than clamscan because it let's
## Steven Stern ([EMAIL PROTECTED]):
> The same thing happens in 0.73. Reading the man page, it seems that it is a
> WAD.
> clamdscan [options] [file/directory]
> clamdscan scans one file or one directory tree
> clamscan works on multiple files.
Have a look at the source :)
- clamav-0.73/clamsca
On Sat, Jun 19, 2004 at 11:14:35AM -0600, Dan Egli said:
> but I cannot scan a DIR either.
>
> [EMAIL PROTECTED] root]# clamdscan $PWD
> /root: Can't access the file ERROR
>
> --- SCAN SUMMARY ---
> Infected files: 0
> Time: 0.001 sec (0 m 0 s)
>
>
> Can someone kindly explain w
Dan Egli wrote:
Steven Stern wrote:
On Sat, 19 Jun 2004 10:09:48 -0600, Dan Egli
<[EMAIL PROTECTED]>
wrote:
I've encountered this bug a few times:
[EMAIL PROTECTED] test]# touch file1
[EMAIL PROTECTED] test]# touch file2
[EMAIL PROTECTED] test]# touch file3
[EMAIL PROTECTED] test]# ls
file1 fil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 19 June 2004 12:14 pm, Dan Egli wrote:
> Can someone kindly explain why on earth you would write a scanner that
> only scans ONE FILE? The whole point of clamdscan is it's supposed to be
> faster than clamscan because it let's the daemon d
Steven Stern wrote:
On Sat, 19 Jun 2004 10:09:48 -0600, Dan Egli <[EMAIL PROTECTED]>
wrote:
I've encountered this bug a few times:
[EMAIL PROTECTED] test]# touch file1
[EMAIL PROTECTED] test]# touch file2
[EMAIL PROTECTED] test]# touch file3
[EMAIL PROTECTED] test]# ls
file1 file2 file3
[EMAIL P
On Sat, 19 Jun 2004 10:09:48 -0600, Dan Egli <[EMAIL PROTECTED]>
wrote:
>I've encountered this bug a few times:
>
>[EMAIL PROTECTED] test]# touch file1
>[EMAIL PROTECTED] test]# touch file2
>[EMAIL PROTECTED] test]# touch file3
>[EMAIL PROTECTED] test]# ls
>file1 file2 file3
>[EMAIL PROTECTED] t
I've encountered this bug a few times:
[EMAIL PROTECTED] test]# touch file1
[EMAIL PROTECTED] test]# touch file2
[EMAIL PROTECTED] test]# touch file3
[EMAIL PROTECTED] test]# ls
file1 file2 file3
[EMAIL PROTECTED] test]# clamdscan file1 file2 file3
ERROR: Can't access file file1 file2 file3
fi
26 matches
Mail list logo