Displaying 20 results from an estimated 4000 matches similar to: "latest code"
2005 Dec 05
4
inspecting what''s going in a class
Well, things seem to be going really well with tbf, prio and sfq. But
I''m a nosey bugger. :-) I''d love to be able to audit what''s going
through each of the prio bands.
The super ideal solution would be to be able to attach tcpdump to each
band and see what''s going through it with the benefit of tcpdump''s
filtering so that I can examine and filter
2005 Apr 27
3
invalid argument
Hi All,
I cross compiled and run tc in arm platform.
When I tried executing it I got this error.
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu
64
RTNETLINK answers: Invalid argument
Is there something I''m missing here...
Thanks.
Grace
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
2005 Dec 16
2
tc filter match u8 problem??
Hi All
Can someone tell me what am I doing wrong?
These was suposed to catch icmp type 8. Why ''match u8'' does not work?
# tc filter add dev eth0 protocol ip parent 1: prio 2 \
u32 \
match u16 0x0800 0xffff at -2 \
match u8 8 0xff at 20 \
flowid 1:5
Illegal "match"
#
# tc filter add dev eth0 protocol ip parent 1: prio 2 \
u32 \
match
2005 Jun 22
4
tc on a PDA
hello,
i have a 5500 iPaq with familiar 0.8.2 on it and i don''t know how to
install a traffic shaper tool on it.
I installed iproute2 package i found on familiar site and for that i
have the tc and ip commands, but when trying to add a qdisc, as a
dummy example, i get the next answer:
> tc qdisc add dev wlan0 root cbq bandwidth 100Mbit avpkt 100
RTNETLINK answers: Invalid argument
2005 May 06
3
Broken filters?
Hi!
By iptables I set marking (-j MARK) just before -j IMQ.
There are only three marks. Exectly all of them are ditected to 1:20
Why I see 3 pkts in default 1:30?
How explain it?
### imq0: queueing disciplines
qdisc htb 1: r2q 10 default 30 direct_packets_stat 0
Sent 631429 bytes 1812 pkts (dropped 0, overlimits 20)
### imq0: traffic classes
class htb 1:20 root prio 0 rate 100Kbit ceil
2016 Jan 18
2
how to flush user input before READ()
On Mon, 18 Jan 2016, Ethy H. Brito wrote:
>> how to flush user input before READ()?
How about a read() to a dummy variable with a 1 second timeout to consume
the octothorpe and password?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
2015 Oct 20
4
asterisk core dumped after UBUNTU 14.04 dist-upgrade
Hi
I had a bad experience upgrading Ubuntu a few months ago.
Today I made a "dd" copy to another harddisk and tried to dist-upgrade.
I get "Illegal instruction (core dumped)" running "service asterisk debug" at
random places.
Any help will be appreciated to spot this problem.
I think it is worth to mention that the dadhi hardware is not present at the
copied
2015 Jan 30
2
SSL traffic on RTP instance without an SSL session
Hi All
We've been reading this in the CLI a lot lately:
Received SSL traffic on RTP instance '0x7fe7481faad8' without an SSL
session
How can we find details about this particular RTP instance?
"rtp set debug" needs an IP which is precisely what I want to know (and I don't)!
Cheers
Ethy
2015 Apr 28
2
Function IMPORT and Local channels
Hi all
These questions were asked back in 2009 at lists.digium.com and got unanswered:
- Has someone been successful in using IMPORT on a Local channel ?
- Is there a known limitation in doing so ?
I run into the same problem.
${IMPORT(Local/1234 at example-abcd;2,CALLERID(dstchannel))} returns nothing.
But I can read the dstchannel for it into the CDR.
Asterisk is 11.7.0~dfsg-1ubuntu1
2005 May 26
3
compile error while patching iproute2 with esfq
Hi!
I''m getting this error while I try to compile iproute2-2.6.11-050330:
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o q_esfq.o q_esfq.c
q_esfq.c: In function `esfq_parse_opt'':
q_esfq.c:45: error: structure has no member named `hash_kind''
q_esfq.c:45: error: `TCA_SFQ_HASH_CLASSIC''
2015 Nov 24
2
subscriber state before dial
Hi All
After a Dial() I get:
WARNING[7964][C-000075a8]: app_dial.c:2437 dial_exec_full: Unable to create
channel of type 'SIP' (cause 20 - Subscriber absent)
if the subscriber is not registered.
Is there a way from dialplan to know, *before* Dial(), if a destination
Subscriber is
a) not registered or
b) busy ?
I need to redirect a call to some other Subscriber if (s)he is not there
2007 Jun 11
7
shaping using source IP after NAT
Hi all
I am using a pass trhu router and I need to QoS some clients output by its
IP address. The problem is that QoS is due after NATing.
Is there some clever way of doing this besides MARKing every packet with
some IP hashing in POSTROUTING NAT table?
Regards
Ethy
2006 Jan 26
8
nat table remenbering nat''s
Dear All
Why NAT rules stays valid even if I flush nat anf table chains??
I have:
iptables -P FORWARD DROP
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -s SOME_IP -d SOME_BCP_5_IP --dport 1234 -j ACCEPT
iptables -i nat -A PREROUTING -s SOME_IP -d MY_INTERNET_IP \\
--dport 1234 -j DNAT --to-destination SOME_BCP_5_IP
The conection is
2005 Dec 19
3
match''ing packets by size
I visited yesican.chsoft.biz and the author proposes a way to match packets by
less than some size .
Here is the thing:
match u16 0x0000 0xffb0 at 2
With this match he says that packet with less than 80 bytes will match the rule.
Well, 0xffb0 translates to 1111 1111 1011 0000 (which is -80 BTW).
So, if I am correct any packet with bits 4 and/or 5 set (together with any of
the 4
2015 May 28
1
chan_sip.c: Hanging up call
On Thu, 28 May 2015 11:15:45 -0500
Scott Griepentrog <sgriepentrog at digium.com> wrote:
> The string "5a2600300339934f704528bb14ed05e9 at MyAsterisk:5060" is the unique
> identifier for the call in SIP known as the Call-ID. If you have a packet
> capture of the port 5060 SIP traffic, that identifier will be in each SIP
> message related to the call, which also
2006 Jul 12
3
unix password sync not working
Hi all
I trying to sync a samba password with Linux password. I did:
encrypt passwords = yes
; passwd program = /usr/bin/passwd %u
passwd program = /tmp/teste %u
update encrypted = no
unix password sync = yes
passwd chat debug = yes
passwd chat = *New*password* %n\n*Re-enter*new*password* %n\n*changed*
The problem is 'passwd program' is not even called.
I
2005 May 15
5
IPRoute2 vs Iptables
Hi all,
As I read into the forum, NATting (SNAT) is expensive, using iptables to
translate IP sucks the performance of the system. I just want to know if
IProute2 can handle NATting and if it handels NATting can it performed
faster than iptables?
thanks,
Wennie
2016 Jan 15
2
how to flush user input before READ()
Hi
how to flush user input before READ()?
I wrote a small script to ask for user password before granting access to
outside, but some telefones memorize the full user input, including "#".
So, when the user press redial, for instance 5556789#123, asterisk accepts the
number and the password "123" and gives access to the outside word to whomever
redials that terminal.
Any
2015 May 28
2
chan_sip.c: Hanging up call
Hi All
I have a few lines like this at asterisk/messages.
[May 25 15:22:42] WARNING[27725] chan_sip.c: Hanging up call
5a2600300339934f704528bb14ed05e9 at MyAsterisk:5060 - no reply to our critical
packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
Since we have hundreds of clients with hundreds of simultaneous calls, how is
it possible to know to which customer/IP
2015 Jul 15
2
how to return a transfered call to the transferrer?
Hi all
Any of you guys could point me in the right direction?
I need to make that a blind transfer to return to the transferrer when the transferee does not answer.
Scenario:
. Miss Jane Doe, our front desk attendant, picks up an external call to
Mr. Smith;
. Miss Doe flashes, dial Mr. Smith's extension and then hangup;
. Mr Smith's phone rings until timeout;
. At this point, how