Displaying 20 results from an estimated 2000 matches similar to: "iptables mark and u32 filter"
2003 May 22
1
list W2K shares
Hi all
I'am trying to list the shares of our W2K server and got this error
message.
$ smbclient -L cvl
added interface ip=192.168.100.1 bcast=255.255.255.255 nmask=0.0.0.0
session request to CVL failed (Called name not present)
Password:
Anonymous login successful
Domain=[CVL-SERVER-1] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed:
2016 Jan 19
2
how to flush user input before READ()
On Mon, 18 Jan 2016 16:09:17 -0200
"Ethy H. Brito" <ethy.brito at inexo.com.br> wrote:
> On Mon, 18 Jan 2016 09:38:52 -0800 (PST)
> Steve Edwards <asterisk.org at sedwards.com> wrote:
>
> > On Mon, 18 Jan 2016, Ethy H. Brito wrote:
> >
> > >> how to flush user input before READ()?
> >
> > How about a read() to a dummy variable
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
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
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
2005 Nov 11
3
passive FTP trafic control
Hi All
How to classify packets belonging to a FTP session?
Port 21 session is easy. but what about data transfers? Their port numbers
(both) are above 1024.
I was thinking about ip_conntrack_ftp. Something like:
iptables -A FORWARD -p tcp --sport 1024: --dport 1024: \
-m state --state ESTABLISHED,RELATED -j CLASSIFY --set-class X:Y
But what if I also have ip_conntrack_irc, for instance.
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
2005 Dec 05
0
Fwd: Re: inspecting what''s going in a class
Subject: Re: [LARTC] inspecting what''s going in a class
Date: Monday 05 December 2005 09:38
From: "Ethy H. Brito" <ethy.brito@inexo.com.br>
To: jasonb@edseek.com
On Mon, 5 Dec 2005 00:59:46 -0500
Jason Boxman <jasonb@edseek.com> wrote:
> > > Sadly not possible with tc-filter. But perhaps I could do this for tc
> > > with Vincent Perrier''s
2006 Jan 03
2
match mark problem still resists
Dear All
I am kinda frustrated with the lack of help some developers are dispensing to this
problem (read ignoring it).
A few days ago (december 22th) I reported a problem with ''tc filter match mark''
against 2.4 kernel series and got no answers that could lead me to any solution.
This is a steady problem that occurs in kernel 2.4 series and match mark (at
least for me).
I
2005 Dec 22
2
strange tc filter behavior
Hi All
I am fighting this for 3 days and could not find any reason it is not working
the way I want to (or I the way think it should).
Internet output interface = eth2 (htb qdisc)
Internet input interface = imq0 (eth2 attached - htb qdisc)
main class = imq0 1:1
sub1 = 1:ffff (default)
sub2 = 1:10 (src ports 1433/tcp or 1434/tcp or 81/tcp or 82/tcp)
sub3 = 1:11 (src and dst port 25/tcp )
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
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
1999 Apr 01
2
Swat password syncronization - HELP
Hi All
I've installed Samba 2.0.3 and coudn't put "unix passowrd sync" to
work.
I set:
passwd program = /usr/bin/passwd %u
passwd chat = *New*password:* %n\n *Re-enter*new*password:*
%n\n*changed.*
passwd chat debug = Yes
unix password sync = Yes
log level = 100
The password page says "The password for 'user' has been changed".
In fact it has been
2006 Oct 09
1
"x" permission interpretation under Windows
Hi
How does Windows interpret the 'x' attribute for the file's 'other' attribute
field?
If I give a *file* a 0775 permission Windows XP clients cannot see the file.
Not even the group members.
If I change this permission to 0774 the file becomes visible to everyone.
(smbclient sees the file either way).
This file in under a directory which has 2775 as permission and
2005 Dec 27
0
Yet another htb rules generator
Dears
I wrote a small program that converts a ASCII hierarchical HTB model (nice name, no!)
to those nasty bunch of tc statments.
It is a 0.0.0-prealpha code so be gentle! ;-)
This means a lots of buffer overflows and the like. I am not worried with these by now.
My concern is: is this a good idea? any future on that? is it a duplicated effort?
Would somebody tell me if it could be of some
2003 Jan 15
1
smbmnt and friends
Dear all
1) Could you happen to know why smbmnt, smbmount and smbumount are not
compiled whem I rum "make" from the source directory?
I found (for example) bin/testparms in the PROGS1 Makefile variable but
no reference to those little fellows.
2) How do I change the config directory to be /etc instead of
/usr/local/samba/lib? I tryed "./configure --sysconfdir=/etc" and it
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
2001 Mar 05
1
samba/ssl
Dear users/gurus
Last week I read a msg talking about this but I ignoreds it 'cause I did not
get this problem. Shame on me! Now the lightning stroke my head!
How to get rid of the SSL warnig bellow?
bash-2.01$ smbclient '\\0\' -U user
SSL: Error error setting CA cert locations: error:00000000::lib(0) :func(0) :
reason(0) trying default locations.
added interface ip=xxx.xxx.xxx.xxx
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All
I am trying a very simple set up: (a bit long message follows)
#Flush previous definitions
$TC qdisc del dev $VVNET root >&/dev/null
$TC qdisc del dev $INTERNET root >&/dev/null
$IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0
# Mothers off all disciplines
$TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1
$TC qdisc add dev
2007 May 20
3
dropped bytes in "tc -s class" output
Hi All
Is there any output that counts the number of dropped bytes (not packets)
just as in "Sent" in "tc -s class" output?
I have an HTB arrangement here I can see "dropped" in father/mother 1:0 qdisc
but NOT in each class (they are all zeroes).
These dropped are packets or bytes?
Why these "drops" do not show thenselves in its own class(es) under its