04-11-2011
The incoming packets only go out of the system if it is a router: any host with ipforwarding and two Ip devices.
Outgoing delay is by not writing/sending, just hold in a buffer, or by having plenty of socket buffer and the nyquist turned on/up.
Why would anyone want delay? Fuller packets? Leave the nyquist on and fill the buffer with enough to fill a packet, and you get full packets.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi.
I need to set up sendmail so that it can send mail to a mail relay.
I have never touched sendmail before so I am not sure how to do this. All incoming mail is directed to a different server - this is just to enable me to get mail out.
Running Solaris 8 on Sparc.
Many thanks,
... (6 Replies)
Discussion started by: warrend
6 Replies
2. IP Networking
I'd like to find out how to redirect Outbound packets.
So instead of having packets go to IP1 as they normally would, have them go to IP2 instead.
I believe this is possible using IPFW but I'm not sure. I've played with it, but haven't gotten too far.
Any ideas would be appreciated. (1 Reply)
Discussion started by: Seraph
1 Replies
3. AIX
Hi,
How do I make sure I copied all privileges from previous administrator account? What files/path should I modify to make mine the same.
Thanks in advance,
Itik (1 Reply)
Discussion started by: itik
1 Replies
4. IP Networking
Hi all,
Im having some issues with slow outgoing smtp I'm thinking maybe my internal ip is not on the whitelist?
How do I go about testing or checking this?
I did telnet into the port and it was not slow at all but when users send email using an email client or the webmail client it takes... (2 Replies)
Discussion started by: mcraul
2 Replies
5. Cybersecurity
Here's the problem: Some email-service providers (like
Google) have more than one server and distribute the load such that, e.g. the incoming mail server imap.gmail.com is assigned to more than one IP-address.
With stateful rules, the ipfw firewall correctly allows outgoing packages to one of... (1 Reply)
Discussion started by: steffen
1 Replies
6. UNIX for Dummies Questions & Answers
I have a Solaris 2.6 server running sendmail (Version 8.9.3p2). It actually receives email and runs the sendmail process. I need to configure it so that it continues to receive email, but disable its ability to send email out. My initial ideas was to just rename the mail and mailx binaries. But... (0 Replies)
Discussion started by: Rosko
0 Replies
7. Solaris
Hello all,
I have set up three vnics on a machine running OSOL:
LINK OVER SPEED MACADDRESS MACADDRTYPE VID
vnic1 e1000g0 1000 2:8:20:f6:c8:50 random 0
vnic2 e1000g0 1000 2:8:20:56:41:6a random ... (3 Replies)
Discussion started by: PatrickBaer
3 Replies
8. UNIX for Dummies Questions & Answers
I'm using Debian 5.0.4, exim4 and mutt.
I would like all outgoing mail sent by any/all users CC (not BCC) to a specified e-mail account.
(I do have it working for BCC using 'unseen'.)
I have spent hours of searching/reading/testing how and have not been able to find out how.
I have seen it... (0 Replies)
Discussion started by: mewbie
0 Replies
9. IP Networking
hello,
can anyone suggest how to delay the incoming packets ??
or how the packets are prossed inside the kernal and a way to make the packets wait a while??
it wud be vry helpful
regards
sameer (7 Replies)
Discussion started by: sameer kulkarni
7 Replies
10. Solaris
Hi Gurus;
I had 2 interface.
eth1 : 10.x.x.x
eth2 : 30.x.x.x
My default out is 10.x.x.x
Now, I need to connect to public SFTP Server
If I use sftp user@public IP.
I can not connect.
because my out is 10.x.x.x
But I telnet it:
telnet -z 30.x.x.x <public IP - sftp server>... (5 Replies)
Discussion started by: Mujakol
5 Replies
LEARN ABOUT FREEBSD
pcap_stats
PCAP_STATS(3) Library Functions Manual PCAP_STATS(3)
NAME
pcap_stats - get capture statistics
SYNOPSIS
#include <pcap/pcap.h>
int pcap_stats(pcap_t *p, struct pcap_stat *ps);
DESCRIPTION
pcap_stats() fills in the struct pcap_stat pointed to by its second argument. The values represent packet statistics from the start of the
run to the time of the call.
pcap_stats() is supported only on live captures, not on ``savefiles''; no statistics are stored in ``savefiles'', so no statistics are
available when reading from a ``savefile''.
A struct pcap_stat has the following members:
ps_recv
number of packets received;
ps_drop
number of packets dropped because there was no room in the operating system's buffer when they arrived, because packets
weren't being read fast enough;
ps_ifdrop
number of packets dropped by the network interface or its driver.
The statistics do not behave the same way on all platforms. ps_recv might count packets whether they passed any filter set with pcap_set-
filter(3) or not, or it might count only packets that pass the filter. It also might, or might not, count packets dropped because there
was no room in the operating system's buffer when they arrived. ps_drop is not available on all platforms; it is zero on platforms where
it's not available. If packet filtering is done in libpcap, rather than in the operating system, it would count packets that don't pass
the filter. Both ps_recv and ps_drop might, or might not, count packets not yet read from the operating system and thus not yet seen by
the application. ps_ifdrop might, or might not, be implemented; if it's zero, that might mean that no packets were dropped by the inter-
face, or it might mean that the statistic is unavailable, so it should not be treated as an indication that the interface did not drop any
packets.
RETURN VALUE
pcap_stats() returns 0 on success and returns -1 if there is an error or if p doesn't support packet statistics. If -1 is returned,
pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display the error text.
SEE ALSO
pcap(3), pcap_geterr(3)
7 September 2009 PCAP_STATS(3)